Commit Graph

5633 Commits

Author SHA1 Message Date
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
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