Commit graph

4565 commits

Author SHA1 Message Date
Sam Therapy 440c2c15b6
PWA time
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-12 15:00:59 +02:00
Zero a6a77233c8
Restore "Keep picker open"
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-31 16:14:59 +01:00
yan cf92ca25e3
Reformat code with standardjs
Reformat code with standardjs as the majority of files seem to follow
that.
2023-01-31 16:14:48 +01:00
yan 23a3b1a8b3
Improve emoji picker performance
A simple virtual scroller is now used for the emoji grid. This avoids
loading all emoji images at once, saving network bandwidth and
reducing load on the server, while also putting less work on the
browser's DOM and layout engine.
2023-01-31 16:14:25 +01:00
Sam Therapy f30b28032d
Revert "Add virtual scrolling to emoji picker"
Use the newer one instead
This reverts commit 61fa33739d.
2023-01-30 21:21:25 +01:00
eris 8d391fd3d3
Add indicator if user blocks you
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-27 15:49:31 +01:00
Zero 93ea1f0659
Implement loading more statuses when searching
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-01-24 23:07:51 +01:00
Sam Therapy 4241b67771
nothing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-24 23:07:45 +01:00
Sam Therapy 61fa33739d
Add virtual scrolling to emoji picker
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-24 22:32:52 +01:00
Sam Therapy b29f9c4e88
fix user relationship url
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-20 22:52:49 +01:00
FloatingGhost 74b1e66dc3 don't crash out if notification status is null
7ff17ab722
2022-12-20 15:37:01 -05:00
Zero 99214ce111 Allow to click external reacts (seem to work for misskey) 2022-12-18 22:06:06 -05:00
Zero 010675cb80 Use /v1/ URLs (Akkoma change) 2022-12-15 17:38:50 -05:00
Zero 4176ef4996 Steal just the updated emoji picker from Akkoma's pleroma-fe 2022-12-10 08:49:00 -05:00
Zero 72efb7d0e9 Fix picker not staying open for reacts (also thanks samme) 2022-12-01 17:34:19 -05:00
Zero cc09f0bcb9 Fix broken picker for react menu (thanks samme) 2022-12-01 17:30:12 -05:00
floatingghost 655adfdbd8 Reuse the emoji picker for reactions (#7)
Fixes #6

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: http://akkoma.dev/AkkomaGang/pleroma-fe/pulls/7
2022-12-01 16:40:04 -05:00
Zero 8cff52ac32 Revert "Add a super basic keep reaction open button"
This reverts commit d8ec9f596d.
2022-12-01 16:40:04 -05:00
Zero 8d3d8de7a3 Better CSS for reacts 2022-12-01 16:40:04 -05:00
FloatingGhost a6a5f03966 make emoji reactions in notifications bar wider 2022-12-01 15:21:29 -05:00
Sol Fisher Romanoff 83fa4ad4a7 Highlight emoji reactions picked by yourself 2022-12-01 15:21:28 -05:00
FloatingGhost 0ab60d63ef fix "who reacted" emoji display
fixes #80
2022-12-01 15:21:28 -05:00
eris 788691b296 Better formatting for emoji react notifications 2022-12-01 15:21:28 -05:00
FloatingGhost fc7cdb1e69 fix css 2022-12-01 14:23:03 -05:00
FloatingGhost 44047458e4 add custom emoji display 2022-12-01 14:22:14 -05:00
Sol Fisher Romanoff c27845169d Add emoji name as title tag 2022-12-01 14:18:49 -05:00
sadposter 378ac642d4 fix width 2022-12-01 14:17:55 -05:00
FloatingGhost 23b60e9263 fix emoji sizing 2022-12-01 14:17:12 -05:00
FloatingGhost e1785d2d91 force width 2022-12-01 14:15:23 -05:00
FloatingGhost 3cc6a0b252 allow custom reactions 2022-12-01 14:15:03 -05:00
FloatingGhost 710891d1f3 allow customs 2022-12-01 14:13:57 -05:00
Zero 69671446e5 Add more default reacts 2022-02-23 16:00:03 -05:00
Sam Therapy d8ec9f596d Add a super basic keep reaction open button
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-02-19 19:02:39 -05:00
Zero df8bf08f46 Revert "entity_normalizer: Escape name when parsing user"
This reverts commit e32ae82441.
2022-02-19 18:16:11 -05:00
Sam Therapy 2d43adb6e5 Change default emoji reacts Why
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-02-19 17:44:18 -05:00
Tusooa Zhu 58cd2fb994 Fix Follow button missing on follow list 2022-02-05 16:08:34 -05:00
Zero e32ae82441 entity_normalizer: Escape name when parsing user
In January 2020 Pleroma backend stopped escaping HTML in display names
and passed that responsibility on frontends, compliant with Mastodon's
version of Mastodon API [1]. Pleroma-FE was subsequently modified to
escape the display name [2], however only in the "name_html" field. This
was fine however, since that's what the code rendering display names used.

However, 2 months ago an MR [3] refactoring the way the frontend does emoji
and mention rendering was merged. One of the things it did was moving away
from doing emoji rendering in the entity normalizer and use the unescaped
'user.name' in the rendering code, resulting in HTML injection being
possible again.

This patch escapes 'user.name' as well, as far as I can tell there is no
actual use for an unescaped display name in frontend code, especially
when it comes from MastoAPI, where it is not supposed to be HTML.

d36b45ad43
2022-01-26 20:07:11 -05:00
Zero 0f5e601db2 Revert "Fix sidebar scroll height"
This reverts commit fbd9ee03c4.
2022-01-26 18:26:55 -05:00
Zero 9c827c9834 Revert "Add timeline menu toggle to nav panel"
This reverts commit 98cb9abac7.
2022-01-26 15:54:29 -05:00
Zero 7622b1230f Simple policy reasons for instance specific policies
a20f1794d0
2022-01-26 09:45:48 -05:00
Ilja 84ce0046f9 Improve the user card for deactivated users 2022-01-25 15:49:18 -05:00
Zero fbd9ee03c4 Fix sidebar scroll height 2022-01-25 15:14:23 -05:00
Zero 387958c7f1 Remove annoying error messages lole 2022-01-25 15:14:02 -05:00
Zero 51cb9b5c8f Change some default strings 2022-01-25 15:13:31 -05:00
Zero 16772d75f7 Add puniko's third column w/ compatibility for right sidebar 2022-01-25 15:12:40 -05:00
Ilja 241d520795 Allow canceling a follow request
When a follow request is sent, but not (yet) accepted, the behaviour is now to cancel the request instead of re sending.

The reason is double
* You couldn't cancel a follow request if you change your mind and the request wasn't answered yet
* Instances don't always correctly process a new follow request when the following is already happening. If something went wrong (e;g. the target server thinks you're following, but your instance thinks you're not yet), it's better to first sent an unfollow. This is the behaviour that Mastodon and most probably most other clients have. Therefore this flow is more tested and expected by other instances.
2022-01-25 15:11:19 -05:00
Henry Jameson 2ce47e8cf0 fix ext profile bug 2022-01-25 15:03:31 -05:00
Shpuld Shpludson 425919a0d2 Merge branch 'fix-themes-select' into 'develop'
Fix theme select not working

See merge request pleroma/pleroma-fe!1393
2021-07-19 18:33:19 +00:00
HJ ba961b784f Apply 1 suggestion(s) to 1 file(s) 2021-07-19 17:10:13 +00:00
Shpuld Shpludson 891611816c Merge branch 'editProfile' into 'develop'
Minor change: Add edit profile button onto self user card

See merge request pleroma/pleroma-fe!1398
2021-07-19 16:35:28 +00:00