Commit Graph

6842 Commits

Author SHA1 Message Date
Sean King 572f28d7c9 Merge branch 'fix/merge-conflicts/report-notifications' into 'feat/report-notification'
Fixing merge conflicts and lint for report notifications MR

See merge request pleroma/pleroma-fe!1585
2022-08-07 06:38:56 +00: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
tusooa 610720f164 Merge branch 'renovate/vue-i18n-9.x' into 'develop'
Update dependency vue-i18n to v9.2.0

See merge request pleroma/pleroma-fe!1580
2022-08-04 18:29:19 +00: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
Pleroma Renovate Bot 82d63c3bb8 Update dependency vue-i18n to v9.2.0 2022-08-02 09:06:45 +00:00
Pleroma Renovate Bot 420e56fa4d Update babel monorepo to v7.18.10 2022-08-02 09:05:29 +00: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 3c9d6b0ff0 Merge branch 'renovate/vue-router-4.x' into 'develop'
Update dependency vue-router to v4.1.3

See merge request pleroma/pleroma-fe!1574
2022-08-01 11:47:41 +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
HJ d0a09480b3 Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1560
2022-08-01 11:46:31 +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 0cbfcb99a9 disable vue rule 2022-07-31 12:24:06 +03:00
Henry Jameson d083931ca8 update eslint stuff 2022-07-31 12:15:44 +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
tusooa 0b88c56aa6 Merge branch 'renovate/font-awesome' into 'develop'
Update Font Awesome to v6.1.2

See merge request pleroma/pleroma-fe!1570
2022-07-30 00:07:51 +00:00