Commit Graph

6053 Commits

Author SHA1 Message Date
HJ
f956b0ca37 Merge branch 'tusooa/1159-debounce-wordfilter' into 'develop'
Debounce mute word setting

Closes #1159

See merge request pleroma/pleroma-fe!1758
2023-01-15 12:37:12 +00:00
HJ
df632652fa Merge branch 'tusooa/1079-bdi' into 'develop'
Use bdi to isolate repeater name

Closes #1079

See merge request pleroma/pleroma-fe!1757
2023-01-15 12:36:57 +00:00
tusooa
10af092800
Add status authors from search results to store 2023-01-15 00:08:59 -05:00
tusooa
a58a6d3c35
Fix notification attachment icon overflow 2023-01-14 23:20:28 -05:00
tusooa
fa3b07352b
Debounce mute word setting 2023-01-14 22:43:18 -05:00
tusooa
8acbc31a20
Use bdi to isolate repeater name 2023-01-14 22:36:21 -05:00
tusooa
c69878cee7
Display better error message for unauthenticated timelines 2023-01-14 22:17:21 -05:00
tusooa
274d384572
Make modal easier to close if there is only one image 2023-01-14 10:19:08 -05:00
tusooa
a28032fa58
Disable no-shorthand for certain props for better readability 2023-01-13 00:37:42 -05:00
flxy
d21ce77670 Use splice instead of delete 2023-01-12 09:45:10 +01:00
flxy
d81fdafacb Pick a better query selector 2023-01-11 14:12:29 +01:00
flxy
aea9f92d39 Adjust query selector to actually get the popover now 2023-01-11 13:52:49 +01:00
HJ
5dc6cbd487 Merge branch 'tusooa/1234-emoji-regression' into 'develop'
Fix emoji picker off-by-1 error

Closes #1234

See merge request pleroma/pleroma-fe!1747
2023-01-09 21:11:39 +00:00
tusooa
7dc2277453
Use stylelint 2023-01-09 13:02:16 -05:00
tusooa
6d0b3d4d0a
Stop propogation for all top-bar buttons 2023-01-06 13:35:39 -05:00
tusooa
76019d1e03
Fix emoji picker off-by-1 error 2023-01-06 13:14:38 -05:00
tusooa
47af5419b1
Clean up code 2023-01-02 14:01:56 -05:00
tusooa
081a416103
Calculate display count from width 2023-01-02 13:42:09 -05:00
tusooa
6cc3b239f6
Load emoji row by row 2023-01-02 13:25:59 -05:00
tusooa
314a4474f6
Fix header indicator 2023-01-02 12:40:03 -05:00
tusooa
afd7f5fabe
Use virtual scrolling for emoji picker 2023-01-02 11:49:48 -05:00
tusooa
78081836df
Remove lozad code 2023-01-02 11:48:34 -05:00
Ihor Andreew
cf2b44acfd Translated using Weblate (Ukrainian)
Currently translated at 90.4% (834 of 922 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2023-01-02 16:28:12 +00:00
Dmytro Poltavchenko
1120eb3694 Translated using Weblate (Ukrainian)
Currently translated at 87.9% (811 of 922 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2023-01-02 16:28:12 +00:00
HJ
b9b4181f17 Merge branch 'from/develop/tusooa/1221-quote-style' into 'develop'
Improve quote style

Closes #1221

See merge request pleroma/pleroma-fe!1697
2023-01-02 16:28:05 +00:00
HJ
b5d4c43bc2 Merge branch 'tusooa/announcements-priv' into 'develop'
Make announcements available to all with privileges

See merge request pleroma/pleroma-fe!1716
2023-01-02 16:27:32 +00:00
HJ
4361e15377 Merge branch 'tusooa/backup-state' into 'develop'
Display detailed backup state

See merge request pleroma/pleroma-fe!1715
2023-01-02 16:27:01 +00:00
HJ
3e4a8186a8 Merge branch 'tusooa/list-add' into 'develop'
Fix list membership actions

See merge request pleroma/pleroma-fe!1733
2023-01-02 16:25:09 +00:00
tusooa
876e51603a
Include unpacked emojis in emoji picker 2022-12-31 12:29:33 -05:00
tusooa
5e98ee05e4
Fix list membership actions 2022-12-30 16:26:50 -05:00
Tirifto
a1520b172a Translated using Weblate (Esperanto)
Currently translated at 98.0% (904 of 922 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2022-12-29 20:07:13 +00:00
Dmytro Poltavchenko
010fdd8c24 Translated using Weblate (Ukrainian)
Currently translated at 87.8% (810 of 922 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2022-12-29 20:07:13 +00:00
Dmytro Poltavchenko
de8c97f3a0 Translated using Weblate (Ukrainian)
Currently translated at 87.8% (810 of 922 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2022-12-29 20:07:12 +00:00
tusooa
01807446a8
Make notification settings work 2022-12-27 13:46:50 -05:00
tusooa
b65a89c822
Make announcements available to all with privileges 2022-12-24 12:17:09 -05:00
tusooa
78690cdf51
Display detailed backup state 2022-12-24 11:58:33 -05:00
tusooa
7e2ae2ba95
Optimize UI 2022-12-23 23:02:21 -05:00
Tusooa Zhu
52eef2eed1
Add English translations for multiple interface languages 2022-12-23 22:46:17 -05:00
Tusooa Zhu
b7e9373965
Add support for multiple interface languages 2022-12-23 22:45:55 -05:00
HJ
eae62e2eb8 Merge branch 'fix-excessive-reregistrations' into 'develop'
Fix rogue nested watcher triggering notifications registering too often

Closes #1159

See merge request pleroma/pleroma-fe!1708
2022-12-22 13:15:46 +00:00
HJ
e009510c52 Merge branch 'from/develop/tusooa/user-note' into 'develop'
User note

See merge request pleroma/pleroma-fe!1612
2022-12-22 13:14:30 +00:00
HJ
515dcfd339 Merge branch 'expand-notifications' into 'develop'
add icon to allow expand collapsed (status-related) notifications

Closes #1224

See merge request pleroma/pleroma-fe!1701
2022-12-22 10:48:01 +00:00
Henry Jameson
8a594e2f98 more aria 2022-12-22 12:31:49 +02:00
tusooa
9f30ccc26b Apply 1 suggestion(s) to 1 file(s) 2022-12-22 10:28:24 +00:00
Tusooa Zhu
2e25120192
Make notes editable only on user profile 2022-12-21 23:18:40 -05:00
Tusooa Zhu
a35fa29a6b
Use textarea for note input 2022-12-21 23:18:14 -05:00
Tusooa Zhu
9ab3f27f72
Test if server supports note 2022-12-21 23:18:12 -05:00
Tusooa Zhu
9f51517ecd
Make API requests to edit note 2022-12-21 23:17:39 -05:00
Tusooa Zhu
1101305ffb
Add ui for note editing 2022-12-21 23:16:00 -05:00
Henry Jameson
3cba358743 fix nested properties watcher being triggered far too often 2022-12-21 23:45:35 +02:00
Alexander Tumin
48be4e9cb6 Fix notifications/interactions null dereference 2022-12-21 23:59:38 +03:00
Henry Jameson
5bde89297c a11y 2022-12-21 22:58:41 +02:00
HJ
830b0008a2 Merge branch 'fix-passwords-same' into 'develop'
fix passwords not being detected as same

Closes #1228

See merge request pleroma/pleroma-fe!1706
2022-12-21 20:46:40 +00:00
Henry Jameson
a1e7e7782f fix passwords not being detected as same 2022-12-21 22:41:17 +02:00
Xnuk Shuman
2fc0927b7a
more resistant code for color parsing error 2022-12-20 21:38:08 +09:00
Henry Jameson
efdcfedfbe add icon to allow expand collapsed (status-related) notifications 2022-12-19 22:20:15 +02:00
tusooa
d2f97bf833
Improve quote style 2022-12-14 19:26:34 -05:00
Henry Jameson
d6c8821d37 fix private mode & timelines dropdown 2022-12-15 00:53:32 +02:00
Tirifto
50a02a603d Translated using Weblate (Esperanto)
Currently translated at 96.7% (885 of 915 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2022-12-14 13:35:04 +00:00
Xnuk Shuman
3c00bf1b46 Translated using Weblate (Korean)
Currently translated at 99.5% (911 of 915 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ko/
2022-12-14 13:35:04 +00:00
Xnuk Shuman
160a7e4b01 Translated using Weblate (French)
Currently translated at 97.3% (891 of 915 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/fr/
2022-12-14 13:35:04 +00:00
Xnuk Shuman
65b87d9ae7 Translated using Weblate (Korean)
Currently translated at 98.6% (883 of 895 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ko/
2022-12-14 13:35:04 +00:00
Haelwenn
4f99ff4b98 Translated using Weblate (French)
Currently translated at 99.5% (891 of 895 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/fr/
2022-12-14 13:35:04 +00:00
Ahmad Dakhlallah
78ac44eed8 Translated using Weblate (Arabic)
Currently translated at 15.0% (135 of 895 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2022-12-14 13:35:04 +00:00
Xnuk Shuman
2a219bdb36 Translated using Weblate (Korean)
Currently translated at 98.3% (880 of 895 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ko/
2022-12-14 13:35:04 +00:00
Xnuk Shuman
fb87f46f31 Translated using Weblate (Korean)
Currently translated at 97.7% (875 of 895 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ko/
2022-12-14 13:35:04 +00:00
Tirifto
a756108ddb Translated using Weblate (Esperanto)
Currently translated at 97.6% (866 of 887 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/eo/
2022-12-14 13:35:04 +00:00
Tirifto
ccc01f7358 Translated using Weblate (Esperanto)
Currently translated at 93.9% (833 of 887 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/eo/
2022-12-14 13:35:04 +00:00
Tirifto
b106ca15ce Translated using Weblate (Esperanto)
Currently translated at 91.3% (800 of 876 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/eo/
2022-12-14 13:35:04 +00:00
Dmytro Poltavchenko
4fd00c9256 Translated using Weblate (Ukrainian)
Currently translated at 87.0% (732 of 841 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/uk/
2022-12-14 13:35:04 +00:00
Fristi
065112e985 Translated using Weblate (Dutch)
Currently translated at 100.0% (805 of 805 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/nl/
2022-12-14 13:35:04 +00:00
tusooa
d9dbd7064b Merge branch 'xnuk-develop-patch-08175' into 'develop'
Untranslated text "Users" in mute settings

See merge request pleroma/pleroma-fe!1691
2022-12-09 02:43:54 +00:00
Xnuk Shuman
4f66220812
Fix not to show "Save changes" button in "Delete account" section 2022-12-08 06:25:21 +09:00
Xnuk Shuman
b28565e2d6
Untranslated text "Users" in mute settings 2022-12-08 06:20:57 +09:00
HJ
00f4e20492 Merge branch 'from/develop/tusooa/announcements' into 'develop'
Announcements

See merge request pleroma/pleroma-fe!1466
2022-12-05 15:34:59 +00:00
HJ
e41edd1bbf Merge branch 'from/develop/tusooa/fix-fetchTimeline' into 'develop'
Fix fetchTimeline error

See merge request pleroma/pleroma-fe!1688
2022-11-29 14:56:11 +00:00
Henry Jameson
74813864fc fix tests 2022-11-27 00:11:54 +02:00
Henry Jameson
7fed35a627 fun restrained 2022-11-26 23:38:06 +02:00
tusooa
4b252ea8d3
Fix fetchTimeline error 2022-11-24 23:12:08 -05:00
tusooa
f3a245f899
Fix announcements not showing on nav panel 2022-11-24 18:48:22 -05:00
Tusooa Zhu
a3aabf0d2a
Lint 2022-11-24 18:40:04 -05:00
Tusooa Zhu
1fc0a8b332
Fix announcements lint 2022-11-24 18:39:46 -05:00
tusooa
d74d5a8ce2
Detect backend support for announcements 2022-11-24 18:39:42 -05:00
Tusooa Zhu
fa69034020
Prevent announcement buttons from being too wide 2022-11-24 18:30:07 -05:00
Tusooa Zhu
54318d31fe
Fix announcement buttons style on narrow screens 2022-11-24 18:30:00 -05:00
Tusooa Zhu
f3d97cf917
Improve readability in fetchAnnouncements() 2022-11-24 18:29:52 -05:00
Tusooa Zhu
23a9a46580
Add English translation for announcement published time 2022-11-24 18:29:40 -05:00
Tusooa Zhu
68ef7e4e65
Add published time for announcements 2022-11-24 18:29:31 -05:00
Tusooa Zhu
7a73f2fcd2
Fix announcement content not showing properly 2022-11-24 18:27:58 -05:00
Tusooa Zhu
dd5cc08a3e
Port away from Vue2 Vue.set() 2022-11-24 18:27:44 -05:00
Tusooa Zhu
5f633bbfa3
Change name for the announcement being edited to editedAnnouncement 2022-11-24 18:27:15 -05:00
Tusooa Zhu
eac0008002
Readablify unreadAnnouncementCount 2022-11-24 18:27:15 -05:00
Tusooa Zhu
d6dd394cd9
Do not count unread announcements for guests 2022-11-24 18:27:14 -05:00
Tusooa Zhu
8cb7f7d6d2
Start fetching announcements on page load 2022-11-24 18:27:14 -05:00
Tusooa Zhu
b4a7e58bec
Show badges for unread announcements 2022-11-24 18:27:14 -05:00
Tusooa Zhu
fe1d01ec9a
Add English translation for inactive announcement message 2022-11-24 18:27:14 -05:00
Tusooa Zhu
458ce54143
Mark inactive and active announcements for admin 2022-11-24 18:27:14 -05:00
Tusooa Zhu
1972e57ceb
Add English translations for editing announcements 2022-11-24 18:27:14 -05:00
Tusooa Zhu
89c49b6fb4
Allow editing announcements 2022-11-24 18:27:14 -05:00
Tusooa Zhu
0e51e824a2
Add English translation for announcement dates 2022-11-24 18:27:14 -05:00
Tusooa Zhu
04fbb6d93d
Show announcement dates 2022-11-24 18:27:14 -05:00
Tusooa Zhu
ce84557190
Add English translation for posting announcement metadata 2022-11-24 18:27:14 -05:00
Tusooa Zhu
56e6d86f88
Allow posting announcements with other metadata 2022-11-24 18:27:14 -05:00
Tusooa Zhu
db5c0c3502
Add English translation for deleting announcements 2022-11-24 18:27:14 -05:00
Tusooa Zhu
e877fedb0e
Implement deleting announcement 2022-11-24 18:27:14 -05:00
Tusooa Zhu
efb76dcb03
Add English translations for posting announcements 2022-11-24 18:27:14 -05:00
Tusooa Zhu
e494e74643
Implement posting announcements 2022-11-24 18:27:13 -05:00
Tusooa Zhu
e5b49ae34b
Add English translations for announcements 2022-11-24 18:27:13 -05:00
Tusooa Zhu
95750509b1
Fetch real data from backend 2022-11-24 18:27:13 -05:00
Tusooa Zhu
e067783a30
Add announcement display with placeholder messages 2022-11-24 18:26:46 -05:00
tusooa
045a222183 Merge branch 'better-defaults-user-popovers' into 'develop'
Better defaults for user popovers

See merge request pleroma/pleroma-fe!1685
2022-11-24 23:23:03 +00:00
Henry Jameson
1512431973 fix leaky journal by running uniq on addToCollection entries 2022-11-24 22:31:38 +02:00
Henry Jameson
3c0e7882b1 lint 2022-11-21 22:17:33 +02:00
HJ
d1885d45e7 Merge branch 'search-pagination' into 'develop'
Implement loading more statuses when searching

See merge request pleroma/pleroma-fe!1410
2022-11-21 19:48:24 +00:00
Henry Jameson
96d45617e2 make better defaults for user popovers, closer to OG behavior 2022-11-21 21:44:03 +02:00
HJ
72a5eaf40a Merge branch 'emoji-popovers' into 'develop'
use Popover for Emoji picker + suggestor

See merge request pleroma/pleroma-fe!1648
2022-11-21 19:36:15 +00:00
HJ
896cbf89f6 Merge branch 'minor-fixes-batch' into 'develop'
Minor fixes batch

Closes #1192, #1193, and #1196

See merge request pleroma/pleroma-fe!1651
2022-11-21 19:35:49 +00:00
HJ
513b81a23b Merge branch 'from/develop/tusooa/remote-xact' into 'develop'
Remote interaction with posts: frontend part

See merge request pleroma/pleroma-fe!1419
2022-11-21 19:34:19 +00:00
HJ
8a87d82b7b Merge branch 'fine_grained_moderation_privileges' into 'develop'
Add privileges

Closes #1177

See merge request pleroma/pleroma-fe!1583
2022-11-21 19:23:41 +00:00
tusooa
b28cdf2cbd Apply 1 suggestion(s) to 1 file(s) 2022-11-09 19:32:49 +00:00
tusooa
b718c0c77d
Use feed role for notifs and timelines 2022-11-08 10:34:38 -05:00
tusooa
17aa503106
Make notification panel a list of articles 2022-11-08 00:43:33 -05:00
tusooa
a34bea75a8
Handle properly 2-col and 3-col desktop notifications 2022-11-08 00:37:22 -05:00
tusooa
771933183b
Make user panel and notification <aside> 2022-11-08 00:23:08 -05:00
tusooa
d41e7a4c6d
Make timeline a list of articles 2022-11-07 13:53:56 -05:00
tusooa
038b45e64a
Add labels to mobile navs 2022-11-07 13:39:48 -05:00
tusooa
f715de43f2
Add labels for timeline header 2022-11-07 13:22:40 -05:00
tusooa
f0ba0e6855
Use <main> for main content 2022-11-07 12:49:41 -05:00
tusooa
f8956a37b2
Add title to mobile post button 2022-11-07 12:43:45 -05:00
Henry Jameson
c1be65332f always focus search when opening emoji picker 2022-11-01 23:25:34 +02:00
Henry Jameson
a1e49ae999 fix theme tab color indicators 2022-11-01 23:21:50 +02:00
Henry Jameson
e80bf50a36 lint 2022-11-01 23:05:17 +02:00
Henry Jameson
3aadad3013 show counter in show new button on mobile 2022-11-01 22:26:04 +02:00
Henry Jameson
87a78aae57 add new search to reaction picker and make hardcoded set... better 2022-10-17 22:45:38 +03:00
Henry Jameson
3bdff6e6ee use better color slot for selected pins #1193 2022-10-17 22:13:49 +03:00
Henry Jameson
8f55cae515 fix picked emoji not being highlighted #1196 + updated its CSS structure 2022-10-17 22:11:07 +03:00
Henry Jameson
eba5d3f4d7 fix staff panel #1192 2022-10-17 22:10:57 +03:00
Henry Jameson
373fb077a8 use new color slot for badges 2022-10-17 21:50:49 +03:00
Henry Jameson
1435b65e36 add titles to mobile buttons 2022-10-17 21:50:37 +03:00
Henry Jameson
11f9a7ba27 update popover styles when caret updates 2022-10-17 21:23:25 +03:00
Henry Jameson
4a1ffced44 fix unit tests 2022-10-10 22:04:49 +03:00
Henry Jameson
faca1b31e3 better autocomplete handling, fix leak 2022-10-10 20:26:32 +03:00
Henry Jameson
692342a77f focus search input when opening emoji picker 2022-10-10 20:11:04 +03:00
Henry Jameson
d2fabe1a71 use anchor for picker 2022-10-10 00:37:59 +03:00
Henry Jameson
8fa1f0b50d move keepOpen to picker 2022-10-10 00:33:58 +03:00
Henry Jameson
296a6fa4e3 some shitty initial implementation of emoji picker with popover 2022-10-09 23:42:36 +03:00
Henry Jameson
518fcf856a fix blinking popup 2022-10-09 23:09:31 +03:00
Henry Jameson
2469415809 fix css 2022-10-09 23:02:42 +03:00
Henry Jameson
05640e4cc1 cleanup 2022-10-09 23:02:39 +03:00
Henry Jameson
3dd9f6f68c moved popovers space outside app because otherwise it causes weird
issues A LOT
2022-10-09 23:01:49 +03:00
Henry Jameson
4631b1b9f7 suggestor popover 2022-10-09 22:09:50 +03:00
Henry Jameson
8b957fb85e fix chevrons alignment 2022-10-09 19:04:45 +03:00
Henry Jameson
cf9957c733 fix alert dot 2022-10-09 19:00:25 +03:00
Henry Jameson
5fa533fbb7 Merge remote-tracking branch 'origin/develop' into scrolltotop
* origin/develop: (89 commits)
  Update dependency @vuelidate/validators to v2.0.0
  Remove lolex package
  Remove diff package
  Pin dependencies
  Update dependency sass to v1.55.0
  Make suggestor suggest according to cldr annotations
  Make chunks named
  Use import() for emoji.json
  Add regional indicators
  Support filtering by keywords from cldr
  Display localized unicode emoji names
  Load unicode emoji annotations
  Extract language list to its own file
  using the half-shit approach since proper approach is full-shit
  Make unicode emoji phrases match with _
  Use console.info
  Fix non-square emojis being truncated
  Fix emoji picker lint
  Fix emoji picker lint
  Tweak efficiency when changing filter keywords in emoji picker
  ...
2022-10-09 18:51:42 +03:00
Henry Jameson
0331e42ee8 move definitions for timeline header buttons to Panel.scss, now called
rightside buttons
2022-10-09 18:50:13 +03:00
Henry Jameson
ce6ce4b6cd minor improvements 2022-09-29 11:52:48 +03:00
Henry Jameson
a4e0eeea7a fix buttons overlapping 2022-09-29 11:49:19 +03:00
Henry Jameson
66014fcfcb port changes to notifications 2022-09-28 21:34:53 +03:00
Henry Jameson
7519c7f5d5 cleanup 2022-09-28 21:34:41 +03:00
Henry Jameson
d3b5ba4864 added scrolltotop for mobile notifications 2022-09-28 21:34:33 +03:00
Henry Jameson
1c459028cc fix scrollerref not setting properly 2022-09-28 21:23:27 +03:00
Henry Jameson
8c4de692f4 apply same for scrolltop button 2022-09-28 21:17:44 +03:00
Henry Jameson
c041d7aa9b refactor css for timeline buttons, make it a bit easier to tap them 2022-09-28 21:16:05 +03:00
Ilja
131d310703 Only show Reports tab in Interactions when privileged to see reports 2022-09-24 16:00:10 +02:00
Ilja
5541d0ec29 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into fine_grained_moderation_privileges 2022-09-24 15:56:27 +02:00
HJ
03b61f0a9c Merge branch 'from/develop/tusooa/grouped-emoji-picker' into 'develop'
Group emojis into packs in emoji picker

See merge request pleroma/pleroma-fe!1408
2022-09-22 08:11:25 +00:00
Tusooa Zhu
a7f836a64e
Make suggestor suggest according to cldr annotations 2022-09-21 23:16:33 -04:00
Tusooa Zhu
a758e18dce
Make chunks named 2022-09-20 23:13:07 -04:00
Tusooa Zhu
6fab7b9e3f
Use import() for emoji.json 2022-09-20 22:03:31 -04:00
Tusooa Zhu
cc58b9b93d
Add regional indicators 2022-09-20 21:50:40 -04:00
Tusooa Zhu
980241c1ac
Support filtering by keywords from cldr 2022-09-20 21:06:57 -04:00
Tusooa Zhu
a73f9731f5
Display localized unicode emoji names 2022-09-20 20:44:52 -04:00
Tusooa Zhu
1c3bdda14c
Load unicode emoji annotations 2022-09-20 20:15:32 -04:00
Tusooa Zhu
d5411c9f88
Extract language list to its own file 2022-09-20 19:27:26 -04:00
tusooa
aa9cae8c71 Merge branch 'add/remove-from-followers' into 'develop'
Added support for removing users from followers

See merge request pleroma/pleroma-fe!1640
2022-09-20 18:58:32 +00:00
Henry Jameson
fa1d9f3fb4 using the half-shit approach since proper approach is full-shit 2022-09-20 00:24:08 +03:00
Tusooa Zhu
0445d7c882
Make unicode emoji phrases match with _ 2022-09-18 13:19:55 -04:00
HJ
8bd27165f3
Fix non-square emojis being truncated 2022-09-18 13:19:55 -04:00
Tusooa Zhu
6e2b87f5af
Fix emoji picker lint 2022-09-18 13:19:55 -04:00
Tusooa Zhu
58b01db9e1
Fix emoji picker lint 2022-09-18 13:19:54 -04:00
Tusooa Zhu
5d6f3a5c8b
Tweak efficiency when changing filter keywords in emoji picker 2022-09-18 13:19:54 -04:00
Tusooa Zhu
09bcb6a5b1
Use trimmed keyword for filtering emojis 2022-09-18 13:19:54 -04:00
Tusooa Zhu
0fd0d6c4c2
Limit the width of unsupported multichar emojis 2022-09-18 13:19:54 -04:00
Tusooa Zhu
e01c76c7e9
Make emoji picker work with vue3 2022-09-18 13:19:54 -04:00
Tusooa Zhu
96564609f8
Make StillImage react to src changes 2022-09-18 13:19:54 -04:00
Tusooa Zhu
fbbeb33f48
Lint 2022-09-18 13:19:54 -04:00
Tusooa Zhu
a29ac5b9a4
Add English translation for unicode emoji group names 2022-09-18 13:19:53 -04:00
Tusooa Zhu
02de0ed825
Add icons for unicode emoji groups 2022-09-18 13:19:53 -04:00
Tusooa Zhu
8f4f02683f
Make emoji picker use grouped unicode emojis 2022-09-18 13:19:53 -04:00
Tusooa Zhu
38861fc6cc
Scroll active tab header into view in emoji picker 2022-09-18 13:19:53 -04:00
Tusooa Zhu
d9e428ebab
Clean up emoji picker css 2022-09-18 13:19:53 -04:00
Tusooa Zhu
b77259a9a0
Use StillImage to render emojis in emoji picker 2022-09-18 13:19:52 -04:00
Tusooa Zhu
c93da0b865
Fix error on emoji picker first load
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu
d648a6f8dc
Group emojis only by pack and remove pack: prefix
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu
3156f046b4
Lint
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu
06a636db37
Lazy-load emoji picker in post form
When clicking the reply button, we used to load the whole emoji picker.
This causes a considerable delay even if the user is not going to use
the emoji picker. Now the content of the emoji picker is loaded only
after the user has explicitly opened the emoji picker.

Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu
9aeffd7634
Fix sticker picker heading tab
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu
d00ebc14f1
Fix vertical scrollbar of emoji picker header
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu
5ab51613b7
Use StillImage for emoji group header
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu
031a01be79
Remove useless class disabled in emoji picker
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu
f1d6e6afce
Clean up unused variables
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu
23edc4f7e2
Fix scrol->highlight behaviour
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu
8777b6eadd
Clean up legacy code in emoji picker
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu
c70cdbb873
Use lozad for lazy image loading
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu
90f757cc6d
Lint 2022-09-18 13:19:51 -04:00
Tusooa Zhu
123913f34f
Optimise emoji picker loading process 2022-09-18 13:19:50 -04:00
Tusooa Zhu
99a368dbb3
Load emoji properly on first showing 2022-09-18 13:19:50 -04:00
Tusooa Zhu
ba1b006e05
Load visible emoji groups when scrolling 2022-09-18 13:19:50 -04:00
Tusooa Zhu
992d57ef69
Display all emoji groups on emoji picker header 2022-09-18 13:19:50 -04:00
Tusooa Zhu
ff2242e85d
Fix load more emoji action 2022-09-18 13:19:50 -04:00
Tusooa Zhu
69b3102fb2
Group custom emojis by pack in emoji picker 2022-09-18 13:19:40 -04:00
Sean King
3c707608ce
Change "Remove this follower" to "Remove Follower" and add a button to remove a follower in the followers tab for the logged in user 2022-09-17 11:36:34 -06:00
Sean King
12d8d1711b
Added support for removing users from followers 2022-09-15 22:02:58 -06:00
HJ
d8730cad60 Merge branch 'apology-fixes' into 'develop'
add a mask to load shape to flow text around quicker

Closes #1183

See merge request pleroma/pleroma-fe!1618
2022-09-14 15:11:18 +00:00
tusooa
2bea5d8128 Merge branch 'add/edit-status' into 'develop'
Add edit status functionality

See merge request pleroma/pleroma-fe!1537
2022-09-11 18:08:00 +00:00
Tusooa Zhu
12b0561992
Fix follow request count 2022-09-07 20:00:41 -04:00
Henry Jameson
2ab51a4ccb fix veryfaint not applying 2022-08-31 01:19:18 +03:00
Henry Jameson
73abae1b3e lint 2022-08-31 00:58:03 +03:00
Henry Jameson
98f97ff9a9 lint 2022-08-31 00:57:02 +03:00
Henry Jameson
8ecb67230c make custom router-link for nav-entry to un-nest the interactive elements 2022-08-31 00:48:38 +03:00
Henry Jameson
3ffe62acdc make "up to date" icon even more faint to distinguish it from actual
interactive elements
2022-08-30 23:55:35 +03:00
Henry Jameson
887fac5add Merge remote-tracking branch 'origin/develop' into scrolltotop
* origin/develop: (59 commits)
  a11y
  Use dedicated indicator for non-ascii domain names
  add a favorites "timeline" shortcut
  refactor navigation-entry and use them in other nav items
  Update dependency sinon-chai to v3
  Update dependency semver to v7
  Update dependency vue-router to v4.1.5
  Update dependency eslint to v8.23.0
  Update dependency vue-template-compiler to v2.7.10
  Update dependency @vue/babel-helper-vue-jsx-merge-props to v1.4.0
  Update dependency eslint-plugin-promise to v6.0.1
  fix lists edit page
  change ugly checkbox to a list element that doesn't look too much out of place
  a11y
  squeeze/stretch pinned items as long as there's enough space for it, hide items that won't fitc
  Remove isparta
  lint
  fix being unable to edit timeline pins on mobile
  aria
  fix mobile side drawer causing issues
  ...
2022-08-30 23:54:16 +03:00
tusooa
8b25febe36 Merge branch 'navigation-update' into 'develop'
Navigation update + preferences storage (and some minor fixes)

See merge request pleroma/pleroma-fe!1592
2022-08-30 00:14:30 +00:00
Henry Jameson
dbb6f22442 a11y 2022-08-30 02:36:41 +03:00
Tusooa Zhu
0a79a74773
Use dedicated indicator for non-ascii domain names 2022-08-29 18:46:41 -04:00
Henry Jameson
ec320e8fb6 add a favorites "timeline" shortcut 2022-08-30 00:53:20 +03:00
Henry Jameson
768b3ea14f refactor navigation-entry and use them in other nav items 2022-08-30 00:15:42 +03:00
Henry Jameson
af734afe36 lint 2022-08-24 22:46:41 +03:00
Henry Jameson
f31bec7ef8 only mark as read if closed intentionally 2022-08-24 22:42:58 +03:00
Henry Jameson
09a4d963d4 fix notifications 2022-08-24 22:37:07 +03:00
Henry Jameson
986c453702 use a bit more compact layout on mobile 2022-08-24 22:31:48 +03:00
Henry Jameson
4e339d9be3 Merge remote-tracking branch 'origin/develop' into scrolltotop
* origin/develop: (47 commits)
  Update dependency eslint-plugin-vue to v9.4.0
  Update dependency opn to v5
  fix notices being under the navbar, also change offset to use variable
  fix modals not having proper z index
  reduce indexes to be below 9999 so that develop error messages appear above
  Fix react & extra buttons not styled on tab-focus
  Fix popover not popping up
  Fix styling on Safari
  Use :focus-visible instead of :focus for focus markers
  Optimize Reply badge position
  Add badges to status interacting buttons
  Update dependency nightwatch to v2
  Update dependency eslint-plugin-n to v15.2.5
  Update dependency mocha to v10
  Update dependency karma-coverage to v2
  Update dependency sass to v1.54.5
  Update dependency karma-firefox-launcher to v2
  Update dependency vue-template-compiler to v2.7.9
  Pin dependencies
  Refresh yarn.lock
  ...
2022-08-24 22:01:00 +03:00
Henry Jameson
ea3ce55929 fix lists edit page 2022-08-24 20:33:04 +03:00
Henry Jameson
8c48a56a89 change ugly checkbox to a list element that doesn't look too much out of place 2022-08-24 20:24:21 +03:00
Henry Jameson
cf714c2756 a11y 2022-08-24 20:24:08 +03:00
Henry Jameson
8dceffa8d7 squeeze/stretch pinned items as long as there's enough space for it,
hide items that won't fitc
2022-08-24 19:57:57 +03:00
Henry Jameson
dc5992f990 lint 2022-08-23 22:18:33 +03:00
Henry Jameson
d3454ca7de fix being unable to edit timeline pins on mobile 2022-08-23 22:16:51 +03:00
Henry Jameson
f44ae0ce6b aria 2022-08-23 22:15:46 +03:00
Henry Jameson
666015c9fa fix mobile side drawer causing issues 2022-08-23 22:10:21 +03:00
Henry Jameson
cd7380efe7 Merge remote-tracking branch 'origin/develop' into navigation-update
* origin/develop:
  Update dependency opn to v5
  fix notices being under the navbar, also change offset to use variable
  fix modals not having proper z index
  reduce indexes to be below 9999 so that develop error messages appear above
  Do not allow to find by name in findUser()
  Use lookup endpoint to obtain users by nickname
  Use $ for id UserProfile routes
  Allow opening profile: multiChoiceProprties record, anonymous access
  Allow opening profile when clicking an avatar inside of user popover
2022-08-23 21:52:17 +03:00
Henry Jameson
bd7356376e fix links not being active by default 2022-08-23 15:36:54 +03:00
Henry Jameson
63f35509a7 improve submenu and improve icon buttons hover effects 2022-08-23 13:26:05 +03:00
Sean King
ee58e3868c
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into add/edit-status 2022-08-22 19:08:58 -06:00
Henry Jameson
6e1639cc1e fetch text height only after mask has been loaded 2022-08-23 02:06:54 +03:00
Henry Jameson
420f29b6a4 add a mask to load shape to flow text around quicker 2022-08-23 02:01:56 +03:00
HJ
cb6b96b9ba Merge branch 'zindexes-fix' into 'develop'
Fix various issues related to z-indexes

See merge request pleroma/pleroma-fe!1617
2022-08-22 22:58:57 +00:00
Henry Jameson
1a24f8b4c1 fix notices being under the navbar, also change offset to use variable 2022-08-23 01:49:22 +03:00
Henry Jameson
ef4ea49653 fix modals not having proper z index 2022-08-23 01:46:59 +03:00
Henry Jameson
0f51b00540 reduce indexes to be below 9999 so that develop error messages appear above 2022-08-23 01:30:17 +03:00
HJ
272b748f26 Merge branch 'develop' into 'allow-opening-profile-in-user-popover'
# Conflicts:
#   src/components/settings_modal/tabs/general_tab.vue
2022-08-22 22:29:13 +00:00
HJ
88a3cf8705 Merge branch 'from/develop/tusooa/user-profile-routes' into 'develop'
Stop generating /:nickname user profile routes

See merge request pleroma/pleroma-fe!1589
2022-08-22 21:56:55 +00:00
Henry Jameson
fa41f6cf96 add an underline to the selected pin to improve accesibility 2022-08-23 00:50:38 +03:00
Henry Jameson
7b6745bb84 Merge remote-tracking branch 'origin/develop' into navigation-update
* origin/develop: (49 commits)
  Fix react & extra buttons not styled on tab-focus
  Fix popover not popping up
  Fix styling on Safari
  Use :focus-visible instead of :focus for focus markers
  Optimize Reply badge position
  Add badges to status interacting buttons
  Update dependency nightwatch to v2
  Update dependency eslint-plugin-n to v15.2.5
  Update dependency mocha to v10
  Update dependency karma-coverage to v2
  Update dependency sass to v1.54.5
  Update dependency karma-firefox-launcher to v2
  Update dependency vue-template-compiler to v2.7.9
  Pin dependencies
  Refresh yarn.lock
  Allow column width configuration: allow stretching navbar with columns
  Remove legacy code for chunksSortMode
  Add FIXME comment about html-webpack-plugin-after-emit
  Use exact webpack version in package.json
  Reintroduce css minimizer
  ...
2022-08-23 00:35:25 +03:00
HJ
8e97a40c70 Merge branch 'allow-application-width-configuration' into 'develop'
Allow application width configuration

See merge request pleroma/pleroma-fe!1533
2022-08-22 21:32:31 +00:00
Tusooa Zhu
cd536157ee Fix react & extra buttons not styled on tab-focus 2022-08-22 20:28:52 +00:00
Tusooa Zhu
5676b5cfc9 Fix popover not popping up
Sometimes the "focus-marker" gets clicked. In this situation,
it will trigger an open, and then a close, because the original
focus-marker was removed from the dom, so $el.contains() no
longer thinks the marker is part of the trigger! We replaced the
v-if with v-show to resolve this problem.
2022-08-22 20:28:52 +00:00
Tusooa Zhu
11672bc490 Fix styling on Safari 2022-08-22 20:28:52 +00:00
Tusooa Zhu
97951fccfd Use :focus-visible instead of :focus for focus markers
In this way, after the user clicked with a pointer and moved that
pointer away, the focus marker will no longer show a focused style.

As Safari remains the only major browser engine that does not support
:focus-visible, a fallback to :focus is used if there is no browser
support for :focus-visible.

https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible
2022-08-22 20:28:52 +00:00
Tusooa Zhu
378ed3682e Optimize Reply badge position 2022-08-22 20:28:52 +00:00
Tusooa Zhu
b2e4827741 Add badges to status interacting buttons
Now, the following badges will be added:
0: (+) sign to reply, favourite, repeat, react and extra buttons
1: (-) sign to unfavourite and unrepeat
2: (x) sign to close reply form, close react popover, and close extra buttons popover
3: Check mark to favourited and repeated statuses

https://git.pleroma.social/pleroma/pleroma-fe/-/issues/1092
2022-08-22 20:28:52 +00:00
Henry Jameson
e9ad922eeb oops 2022-08-17 21:34:56 +03:00
Henry Jameson
711a610727 fix routes and tests 2022-08-17 21:25:02 +03:00
Henry Jameson
b440982220 fix lists not having pins in edit mode 2022-08-17 21:14:10 +03:00
Henry Jameson
f12198c2b3 fix edit mode checkbox showing up for anon users 2022-08-17 21:13:39 +03:00
Henry Jameson
efc6b6b703 add "scroll to top" button to timelines and notifications 2022-08-17 20:49:20 +03:00
Henry Jameson
faefd05c03 create new list UI 2022-08-17 20:21:10 +03:00
Alexander Tumin
a29835375a Allow column width configuration: allow stretching navbar with columns 2022-08-17 09:49:52 +03:00
Henry Jameson
b4f4b370d4 forgot to actually add add/remove methods, lel. remove some consolelogs 2022-08-17 00:58:05 +03:00
Henry Jameson
77dcbe641c lint 2022-08-17 00:49:07 +03:00
Henry Jameson
d074aefb4f List edit UI overhaul 2022-08-17 00:48:10 +03:00
Henry Jameson
821a09109c fix list tests 2022-08-16 20:00:29 +03:00
Henry Jameson
04acf069d1 ignore invalid journal entries 2022-08-16 19:33:34 +03:00
Henry Jameson
840ce06397 proper journal trimming + remove some old workaround to my local bad data 2022-08-16 19:24:45 +03:00
Tusooa Zhu
aa97335b20
Make webpack 5 work 2022-08-15 18:01:33 -04:00
Henry Jameson
8d6e5c1e69 whoops, forgot the most important bit 2022-08-15 23:33:07 +03:00
Henry Jameson
bbd99dc3cf fix 2022-08-15 23:31:05 +03:00
Henry Jameson
50f5afbce1 add and remove users to/from lists from their profile 2022-08-15 23:19:33 +03:00
Henry Jameson
14292d7ed1 edit mode 2022-08-15 21:56:07 +03:00
Henry Jameson
96090ea98f fix anon user issues 2022-08-15 21:03:27 +03:00
Henry Jameson
ebe095bd76 fix prod build again + fetch lists (and follow request) on login,
stop fetching on logout, don't start fetching in components
2022-08-15 20:44:21 +03:00
Henry Jameson
50924aab5c fix prod build 2022-08-15 20:34:45 +03:00
Henry Jameson
80600137d1 lint 2022-08-12 01:27:09 +03:00
Henry Jameson
7d13f38d88 limit amount of pins on desktop to 6 (for now) 2022-08-12 01:26:19 +03:00
Henry Jameson
f54fcda887 band-aid to prevent misclics on logout 2022-08-12 01:22:00 +03:00
Henry Jameson
8d3d8fffab fixes, clear cache on logout 2022-08-12 01:19:19 +03:00
Henry Jameson
c3e7eadddf let mobile users customize top bar as well 2022-08-12 01:00:41 +03:00
Henry Jameson
0123872b56 fixes + fixes for anon users 2022-08-12 00:50:08 +03:00
Henry Jameson
3a16a59f37 navigation refactored, used in mobile nav as well 2022-08-11 21:56:30 +03:00
Henry Jameson
9e453372b3 show pinned lists between timelines and rest 2022-08-11 21:08:53 +03:00
Henry Jameson
77127e2a58 you can now pin lists 2022-08-11 21:00:27 +03:00
Henry Jameson
04f8c2d29d it works more or less well now 2022-08-11 18:06:28 +03:00
Alexander Tumin
258b5e6be2 Column width configuration: do not act on defaults, bound with on minmax --miniColumn 2022-08-11 16:38:24 +03:00
HJ
017061a46c refactor 2022-08-11 16:38:24 +03:00
Alexander Tumin
3e7e31d4a9 Allow column width configuration
Group column configuration in settings
Column width configuration: do not act on defaults
2022-08-11 16:38:24 +03:00
Henry Jameson
6df9913354 ability to pin items in navigation menu, initial draft version 2022-08-11 14:30:58 +03:00
Henry Jameson
732733f115 add a todo for future 2022-08-11 02:23:58 +03:00
Henry Jameson
72e238ceb3 server side storage support for collections + fixes 2022-08-11 01:07:51 +03:00
Henry Jameson
8a67fe93c2 update link in update notification to be a better one 2022-08-11 01:07:26 +03:00
Tusooa Zhu
ab4a75bdd9
Do not allow to find by name in findUser() 2022-08-10 12:17:18 -04:00
Tusooa Zhu
09f9640be1
Use lookup endpoint to obtain users by nickname 2022-08-09 22:11:55 -04:00
Tusooa Zhu
2afe1539d9
Use $ for id UserProfile routes 2022-08-09 21:49:40 -04:00
Henry Jameson
894a506382 fixes 2022-08-10 02:59:08 +03:00
Henry Jameson
2c0eb29b28 more prefs storage work + move dontShowUpdateNotifs to prefs 2022-08-10 02:37:09 +03:00
Henry Jameson
aa41cedd93 initial prefs storage work 2022-08-10 02:19:07 +03:00
HJ
750696643f Merge branch 'feat/report-notification' into 'develop'
#949 Feat/report notification

See merge request pleroma/pleroma-fe!1322
2022-08-09 21:56:15 +00:00
HJ
7773e7de64 Merge branch 'lists-implementation' into 'develop'
Add lists support

See merge request pleroma/pleroma-fe!1584
2022-08-09 21:46:55 +00:00
HJ
2867c69629 Merge branch 'fix-chat-scroll' into 'develop'
fix chat scroll acting unwise

Closes #1178

See merge request pleroma/pleroma-fe!1587
2022-08-09 21:31:18 +00:00
Alexander Tumin
a403f93b47 Allow opening profile: multiChoiceProprties record, anonymous access 2022-08-09 10:48:48 +03:00
Henry Jameson
a4f40bf346 fix chat scroll acting unwise 2022-08-09 01:44:44 +03:00
Alexander Tumin
4803fb07c8 Allow opening profile when clicking an avatar inside of user popover 2022-08-08 23:50:38 +03:00
Sean King
325930eecb
Fix merge conflicts 2022-08-08 07:32:38 -06:00
Henry Jameson
55791f3824 move pleroma-tan just a tiny bit lower 2022-08-08 14:21:06 +03:00
Henry Jameson
e147dbfb82 art credit 2022-08-08 14:20:01 +03:00
Henry Jameson
0832228e45 lint 2022-08-08 12:18:06 +03:00
Henry Jameson
3f7cf52f53 proper animation 2022-08-08 12:17:32 +03:00
Henry Jameson
95f03a56ab don't let function access this 2022-08-08 02:18:29 +03:00
Henry Jameson
502d76ebcd lint 2022-08-08 02:14:43 +03:00
Henry Jameson
f63ee29fac proper links and fix user detection 2022-08-08 02:14:09 +03:00
Henry Jameson
fcf62a13ed don't show to anons, make it possible to disable notification instance-wide 2022-08-08 02:01:07 +03:00
Henry Jameson
59d160a6dd Merge remote-tracking branch 'origin/develop' into been-awhile
* origin/develop:
  lint
  fix bugs
  Apply 1 suggestion(s) to 1 file(s)
  change icons
  Update dependency vue-i18n to v9.2.0
  made quick settings into their own component, added quick view settings, added both to conversation view
2022-08-08 01:48:38 +03:00
HJ
4bfad25f01 Apply 2 suggestion(s) to 1 file(s) 2022-08-07 17:38:36 +00:00
Sean King
470654d275
Update fallback privileges for moderators to include reports_manage_reports 2022-08-07 01:20:49 -06:00
Sean King
6a2f427072
Fix lint stuff 2022-08-06 22:15:34 -06:00
Sean King
dc9951d400
Fix merge conflicts 2022-08-06 22:02:21 -06:00
Ilja
56d1232588 Show moderation drop down menu and items based on privileges
There's a seperator between certain blocks of items. I show/hide the seperator together with the block under it.
When a block with a seperator is at the top, the seperator doesn't show, keeping a consistent look with seperators only between blocks.

I also hide granting roles for deactivated accounts because that doesn't make much sense to me.

For the rest the items are hidden when you're not privileged. When there's no privileges that show items, the menu isn't shown either.
2022-08-06 22:33:38 +02:00
Alexander Tumin
891fbf996d Lists implementation: make route naming consistent 2022-08-06 21:39:36 +03:00
Alexander Tumin
b5eba5974c Lists implementation: tests, linter fix 2022-08-06 18:28:49 +03:00
Alexander Tumin
171f6f0894 Lists implementation 2022-08-06 17:56:54 +03:00
Ilja
6c9768b8e2 Option to delete a post is shown when privileged with messages_delete 2022-08-06 14:00:29 +02:00
Ilja
0d714f07ec Add priviliges
We can now check what priviliges someone has besides only the role.
On older back-ends, privileges aren't provided, so we have a fall-back to list the privileges corresponding to what mods/admins are allowed on older BE's.
2022-08-06 12:01:13 +02:00
marcin mikołajczak
6649baaac9 Merge remote-tracking branch 'pleroma/develop' into birthdays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-05 11:53:44 +02:00
Hélène
fbc3f783d1 Apply 2 suggestion(s) to 1 file(s) 2022-08-05 08:16:47 +00:00
Henry Jameson
09f3783647 lint 2022-08-04 23:44:56 +03:00
Henry Jameson
44d6d36ed1 fix bugs 2022-08-04 23:32:06 +03:00
HJ
2802e47ac9 Apply 1 suggestion(s) to 1 file(s) 2022-08-04 19:34:29 +00:00
Henry Jameson
8c59bad3c2 unit test + some refactoring 2022-08-04 22:09:42 +03:00
Henry Jameson
9c00610d00 refactoring 2022-08-04 17:20:11 +03:00
Henry Jameson
6c0a6ff8b0 shadow 2022-08-04 02:15:35 +03:00
Henry Jameson
8b56db177b debug handlers for now 2022-08-04 02:12:04 +03:00
Henry Jameson
dbfca224d8 server-side storage for flags 2022-08-04 01:56:52 +03:00
Sean King
04e62df377
Allow for template inside Timeago component that shows unless the time string is 'just now' 2022-08-02 23:19:25 -06:00
Henry Jameson
4903069481 change icons 2022-08-02 23:54:06 +03:00
Sean King
b70d50407c
Refresh the relative time object for a Timeago component if the time changes 2022-08-01 21:25:08 -06:00
Sean King
232cc72df8
Fix lint errors and warnings 2022-08-01 18:45:52 -06:00
Sean King
081aa0fd05
Fix merge conflicts 2022-08-01 18:17:09 -06:00
Henry Jameson
5b7c653874 initial scratch 2022-08-02 00:37:48 +03:00
Henry Jameson
f4276f7241 made quick settings into their own component, added quick view settings,
added both to conversation view
2022-08-01 23:20:27 +03:00
HJ
3fc9673a7d Merge branch 'from/develop/tusooa/1172-reg-indicator' into 'develop'
Add optional/required indicator for registration fields

Closes #1172

See merge request pleroma/pleroma-fe!1543
2022-08-01 11:48:52 +00:00
HJ
8e7f3ea074 Merge branch 'eslint-update' into 'develop'
update ESLint

See merge request pleroma/pleroma-fe!1576
2022-08-01 11:46:57 +00:00
Weblate
71d9bbb56b Merge remote-tracking branch 'origin/develop' into develop 2022-07-31 23:00:53 +00:00
HJ
33ad712852 Merge branch 'disjointed-popovers' into 'develop'
Disjointed popovers

See merge request pleroma/pleroma-fe!1540
2022-07-31 17:57:32 +00:00
Henry Jameson
bd5d5c9df7 "deal" with async promise executor, should be fine in these specific cases 2022-07-31 13:18:11 +03:00
Henry Jameson
ee066c4436 fix filesizeformat const/let stuff 2022-07-31 12:39:34 +03:00
Henry Jameson
b44df37c1b "fix" the sort function potentially not always outputting results 2022-07-31 12:39:02 +03:00
Henry Jameson
fc18673030 deal with no-prototype-builtins 2022-07-31 12:36:02 +03:00
Henry Jameson
fddb531ed2 --fix 2022-07-31 12:35:48 +03:00
Henry Jameson
1cf7af3374 Merge branch 'disjointed-popovers' into eslint-update
* disjointed-popovers: (56 commits)
  fix typo
  fix errors in console
  pinned no longer needed
  popover stack
  add stay-on-click prop to solve case of clicking user avatar in status popover
  fix settings tooltips
  vertical nudge for popovers, especially for overlay-centers ones
  make user popover options expert
  use same sizing for timeline dropdown as in the main nav
  fix avatar not zooming in profile page
  fix spacing in mentionsline
  add popovers to chats
  fix avatar not closing, add option to put popovers next to avatar instead of over it
  fix the incorrect rounding in nav list
  re-unfuck the timeline popover
  Revert "unify styling of timelines dropdown with other dropdown menus"
  close on avatar click again, add zooming as option
  fix basicusercard
  make hover popovers less annoying to close
  move tooltips setting
  ...
2022-07-31 11:44:15 +03:00
Henry Jameson
36aae1635a fix typo 2022-07-31 11:30:52 +03:00
Henry Jameson
6fc62a771a fix errors in console 2022-07-31 01:48:22 +03:00
Henry Jameson
8ab30545b2 pinned no longer needed 2022-07-31 01:45:38 +03:00
Henry Jameson
6f696874bb popover stack 2022-07-31 01:41:00 +03:00
Henry Jameson
d5bc825616 add stay-on-click prop to solve case of clicking user avatar in status popover 2022-07-31 00:05:26 +03:00
Henry Jameson
03e6c6b993 fix settings tooltips 2022-07-30 23:36:40 +03:00
Henry Jameson
5c553bb1eb vertical nudge for popovers, especially for overlay-centers ones 2022-07-30 23:34:07 +03:00
Henry Jameson
3d9b3a7352 make user popover options expert 2022-07-27 20:25:30 +03:00
Henry Jameson
00ded9523f use same sizing for timeline dropdown as in the main nav 2022-07-27 19:10:12 +03:00
Henry Jameson
c5919228ab fix avatar not zooming in profile page 2022-07-27 19:08:20 +03:00
Tusooa Zhu
1a63f439e3
Fix poll duration i18n 2022-07-24 23:32:58 -04:00
Yating Zhan
e0aeab04b8 Translated using Weblate (Chinese (Simplified))
Currently translated at 95.3% (766 of 803 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/zh_Hans/
2022-07-24 08:04:10 +00:00
tusooa
1678d5aa21 Translated using Weblate (Chinese (Simplified))
Currently translated at 95.3% (766 of 803 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/zh_Hans/
2022-07-24 08:04:10 +00:00
Haelwenn
e55e4f9cef Translated using Weblate (French)
Currently translated at 100.0% (803 of 803 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/fr/
2022-07-24 08:04:10 +00:00
Haelwenn
0d60cf9dd3 Translated using Weblate (French)
Currently translated at 100.0% (803 of 803 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/fr/
2022-07-24 08:04:10 +00:00
Yating Zhan
a739670300 Translated using Weblate (Chinese (Simplified))
Currently translated at 85.5% (687 of 803 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/zh_Hans/
2022-07-24 08:04:10 +00:00
Haelwenn
d317eb3760 Translated using Weblate (French)
Currently translated at 100.0% (803 of 803 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/fr/
2022-07-24 08:04:10 +00:00
Haelwenn
acc26d71fd Translated using Weblate (French)
Currently translated at 99.8% (802 of 803 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/fr/
2022-07-24 08:04:10 +00:00
Henry Jameson
19a7335ee7 fix spacing in mentionsline 2022-07-20 12:59:38 +03:00
Henry Jameson
f6d0d3efba add popovers to chats 2022-07-20 12:54:51 +03:00
Henry Jameson
2c3c2bb5b0 fix avatar not closing, add option to put popovers next to avatar
instead of over it
2022-07-19 19:33:48 +03:00
Ilja
18d69f93d3 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into feat/report-notification 2022-07-18 12:42:40 +02:00
Tusooa Zhu
48c474ed3a
Fix non-8bit string export problem 2022-07-16 11:15:08 -04:00
Tusooa Zhu
b09912d2f9
Make search say No more results when there are current results 2022-07-15 20:26:05 -04:00
Tusooa Zhu
b11ac22192
Fix search() not honouring type param 2022-07-15 20:22:39 -04:00
Sean King
75216c5feb
Remove guard for raw_html 2022-07-10 21:07:47 -06:00
Tusooa Zhu
8a0f659a86
Add optional/required indicator for registration fields 2022-07-10 22:46:53 -04:00
Sean King
63519c325f Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into add/edit-status 2022-07-10 20:06:18 -06:00
Sean King
65b0b69f10 Merge branch 'from/edit-status/tusooa/indicator' into 'add/edit-status'
Edited indicator on status

See merge request seanking/pleroma-fe!4
2022-07-11 01:36:01 +00:00
Sean King
e764fbe8b6 Merge branch 'from/edit-status/tusooa/1' into 'add/edit-status'
Handle explicit mention changes in status updates

See merge request seanking/pleroma-fe!3
2022-07-11 01:33:18 +00:00
Tusooa Zhu
5cd18be47b
Enable anonymous users to interact with statuses remotely 2022-07-01 13:03:45 -04:00
Henry Jameson
54ab1ed741 fix the incorrect rounding in nav list 2022-06-29 21:40:54 +03:00
Henry Jameson
14f48ed4ab re-unfuck the timeline popover 2022-06-29 21:40:44 +03:00
Henry Jameson
feb8a17b90 Revert "unify styling of timelines dropdown with other dropdown menus"
This reverts commit 898b326f6c.
2022-06-29 21:12:56 +03:00
Henry Jameson
d232fa3dc3 close on avatar click again, add zooming as option 2022-06-27 19:52:40 +03:00
Henry Jameson
700df11e9a fix basicusercard 2022-06-27 19:26:52 +03:00
Henry Jameson
cb135645f9 make hover popovers less annoying to close 2022-06-27 19:16:33 +03:00
Henry Jameson
9c9dc2053b move tooltips setting 2022-06-27 19:12:16 +03:00
Henry Jameson
898b326f6c unify styling of timelines dropdown with other dropdown menus 2022-06-27 19:10:18 +03:00
Henry Jameson
e59e10e077 put modals on top of navbar 2022-06-27 19:03:06 +03:00
Henry Jameson
4dc4a91224 Merge remote-tracking branch 'origin/develop' into disjointed-popovers
* origin/develop:
  add SK (Slovak) translation
  ReactButton: Workaround for android composition mode
  EmojiPicker: Workaround to search immediately on mobile
  Fix top bar input text colour
  Show underlay for mobile
  Fix tests
  Add English translations for correctly i18nized time units
  Delegate relativeTime plural rules to vue-i18n
  restore notifications page, fix z-index issues
  Make lint happy
  Add English translations for backup UI
  Add backup UI
  Add English translation for list aliases error
  Log errors when listing aliases
  Add changelog
  Add Engilsh translation for migration
  Add frontend ui for aliases and migration
  Change translation key
  Explain better what delete does in moderation menu
2022-06-27 14:49:31 +03:00
Henry Jameson
6be625b058 use nextrick with status popover updates 2022-06-27 14:28:51 +03:00
Henry Jameson
81bf18a311 fix invisible old popover, cleanup, add selection indicator in mentionlinks 2022-06-27 14:26:47 +03:00
Sean King
29ff63d1b4
Refactor to delete the properties for originalStatus in showStatusHistory in a better way 2022-06-26 18:10:30 -06:00
Sean King
6f4b57e845
Use a better way to clone the original status 2022-06-26 17:41:21 -06:00
Sean King
8c7f4ab481
Use watch to change localDescription 2022-06-26 13:25:36 -06:00
Tusooa Zhu
acd53957e0
Do not show edited indicator in history items 2022-06-22 16:14:19 -04:00
Tusooa Zhu
58d58f3d3d
Add English translation for last edited at indicator 2022-06-22 16:07:49 -04:00
Tusooa Zhu
ed8bc61022
Add last edited at indicator in status 2022-06-22 16:07:46 -04:00
Sean King
08c9aa4bf3
Use <p> elements instead of <br> for notice on edit status form 2022-06-21 18:00:24 -06:00
Sean King
f56298adbd
Add ability to detect whether backend supports editing 2022-06-21 17:44:04 -06:00
Henry Jameson
a0ddfa499f update status popover when its content changes (only status reference) 2022-06-22 00:34:22 +03:00
Henry Jameson
872db65fd8 slight z-index refactor and attempt at organizing it 2022-06-22 00:30:10 +03:00
Henry Jameson
93293db038 fix popovers not scrolling in mobile notifications 2022-06-21 15:57:42 +03:00
Henry Jameson
57d156f14a fix spacings again 2022-06-21 15:52:53 +03:00
Sean King
fa5d35523d
Add ability to view status history for edited statuses 2022-06-20 22:52:08 -06:00
Henry Jameson
b7b6432e14 fix mentionsline extramentions lack of space 2022-06-21 01:32:31 +03:00
Henry Jameson
e6ed00ea1c don't show bookmark button for anon visitors 2022-06-21 01:24:50 +03:00
Henry Jameson
3d4d694b49 don't stop propagation on settings modal open 2022-06-21 01:07:32 +03:00
Henry Jameson
78ced0c901 proper horizontal limit 2022-06-21 01:05:42 +03:00
Henry Jameson
af98bc2973 don't use async component for user popover to fix the incorrect initial
position.
for some reason same doesn't work with status popover...
2022-06-21 01:03:20 +03:00
Henry Jameson
aca8cf64db move media modal to the topmost layer 2022-06-21 00:14:09 +03:00
Henry Jameson
01e56a3e10 Merge remote-tracking branch 'origin/disjointed-popovers' into disjointed-popovers
* origin/disjointed-popovers:
  popover controls for user-card
  unify user popovers into a separate component
2022-06-20 23:57:44 +03:00
Henry Jameson
cb89646c56 optimization: only process resize/scroll events when popup is open 2022-06-20 23:55:39 +03:00
HJ
56501e95c4 Merge branch 'from/develop/tusooa/migration-ui' into 'develop'
Add ui for account migration

See merge request pleroma/pleroma-fe!1414
2022-06-19 20:35:58 +00:00
HJ
0e65253360 Merge branch 'improve_delete_user_confirmation_message' into 'develop'
Explain better what delete does in moderation menu

See merge request pleroma/pleroma-fe!1453
2022-06-19 20:32:27 +00:00
HJ
5ad7dc7835 Merge branch 'from/develop/tusooa/backup-ui' into 'develop'
Add ui for backup

See merge request pleroma/pleroma-fe!1520
2022-06-19 20:31:19 +00:00
HJ
b4006bf4f0 Merge branch 'translation-sk' into 'develop'
add SK (Slovak) translation

See merge request pleroma/pleroma-fe!1517
2022-06-19 20:29:25 +00:00
k2s
c1ee78756c add SK (Slovak) translation 2022-06-19 20:29:24 +00:00
HJ
da022e722e Merge branch 'from/develop/tusooa/unit-pl' into 'develop'
Use vue-i18n to determine plural forms of time units

Closes #1164

See merge request pleroma/pleroma-fe!1535
2022-06-19 20:28:29 +00:00
HJ
2b10fe06fa Merge branch 'from/develop/tusooa/show-underlay-mobile' into 'develop'
Show underlay for mobile

See merge request pleroma/pleroma-fe!1536
2022-06-19 20:26:55 +00:00
HJ
4452a14c77 Merge branch 'from/develop/tusooa/topbar-input-text' into 'develop'
Fix top bar input text colour

See merge request pleroma/pleroma-fe!1538
2022-06-19 20:26:24 +00:00
Henry Jameson
60571685c2 popover controls for user-card 2022-06-16 17:06:16 +03:00
Henry Jameson
d84cda7009 unify user popovers into a separate component 2022-06-16 16:48:10 +03:00
Henry Jameson
770d12f7ad limit width of popover to slightly lesser than screen width 2022-06-15 04:03:18 +03:00
Henry Jameson
b343599e6f don't hide on clicks in popover's content 2022-06-15 04:02:05 +03:00
Henry Jameson
30c4a66518 use user popovers in notifications as well 2022-06-15 04:01:46 +03:00
Henry Jameson
d3b5d27f29 properly center user popovers 2022-06-15 03:50:57 +03:00
Henry Jameson
7c633aa952 user popovers WIP 2022-06-13 13:45:04 +03:00
Henry Jameson
97e4a3d8e5 fix popovers in modals 2022-06-13 01:36:41 +03:00
Henry Jameson
85de0927fa recalculate position on scrolls 2022-06-13 01:30:20 +03:00
Sean King
1b796691b0
Change message on unsupported edit features 2022-06-12 10:16:56 -06:00
Henry Jameson
8979548ed8 remove duplicate buttons on post buttons 2022-06-12 16:32:32 +03:00
Henry Jameson
55adcd822e fix animations, replace ugly old mentionlink tooltips with new usercard ones 2022-06-12 16:31:56 +03:00
Henry Jameson
61d63b0e61 fix popovers so that all of them have shadows 2022-06-12 15:23:43 +03:00
Henry Jameson
ce00954e7c turns out it is needed still + some code cleanup 2022-06-12 15:21:09 +03:00
Lain Soykaf
67a9452e11 ReactButton: Workaround for android composition mode 2022-06-12 13:48:21 +02:00
Lain Soykaf
9c8738ff22 EmojiPicker: Workaround to search immediately on mobile
See https://github.com/vuejs/vue/pull/9814
2022-06-12 13:38:12 +02:00
Sean King
21c590f83f
Clarification on unsupported edit features warning 2022-06-11 23:51:13 -06:00
Sean King
87fa7b82fb
Add warning for editing statuses 2022-06-11 20:40:53 -06:00
Sean King
8dac3932fe
Only refetch status on highlight if streaming is not enabled 2022-06-11 20:10:16 -06:00
Sean King
6e42409b8a
Fetch status when highlighting it 2022-06-11 19:30:29 -06:00