Commit graph

5608 commits

Author SHA1 Message Date
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
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
c02e757528
sodd lock
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-27 15:43:58 +01:00
Zero
53516bea57
Update ESLint to a newer version 2023-01-27 15:41:55 +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
4241b67771
nothing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-24 23:07:45 +01:00
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
c64a627438
add CI stuff + yarn 2
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-20 22:53:31 +01:00
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
8f99ca066a annoying shit 2022-12-15 17:43:40 -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
2745aabcb4 Merge branch 'custom_reacts' into stable (edwin squirty) 2022-12-01 17:54:36 -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
6170aa3ee7 Update package versions
Vue2 to the latest version manually and the rest with `yarn upgrade`
2022-11-30 15:13:08 -05:00
Zero
afb388b73b Add Unicode 15.0 emojis to the FE 2022-11-29 09:45:17 -05:00
Zero
6729ab8cf1 Add every Unicode 14.0 emoji to the FE 2022-02-24 15:23:52 -05:00
Zero
69671446e5 Add more default reacts 2022-02-23 16:00:03 -05:00
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
2d43adb6e5 Change default emoji reacts Why
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-02-19 17:44:18 -05:00
Zero
402f3a61fe Add emoji.json generated from Pleroma's emoji-test.txt 2022-02-19 17:40:33 -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
2f215b8d2e oh nyo 2022-01-26 18:19:54 -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