Commit graph

6519 commits

Author SHA1 Message Date
Ilja
650d195f44 Merge branch 'add/report-users-mod-privilege' into 'fine_grained_moderation_privileges'
Add report manage reports privilege for fallback mods into fine grained FE MR

See merge request ilja/pleroma-fe!1
2022-08-08 18:36:05 +00:00
Sean King
470654d275
Update fallback privileges for moderators to include reports_manage_reports 2022-08-07 01:20:49 -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
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
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
Pleroma Renovate Bot
82d63c3bb8 Update dependency vue-i18n to v9.2.0 2022-08-02 09:06:45 +00: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
Pleroma Renovate Bot
9c21a0f7e3 Update dependency vue-router to v4.1.3 2022-07-28 09:08:03 +00:00
Pleroma Renovate Bot
5c362e9256 Update Font Awesome to v6.1.2 2022-07-28 09:07:22 +00:00
tusooa
ba722f3f3d Merge branch 'from/develop/tusooa/fix-poll-duration-i18n' into 'develop'
Fix poll duration i18n

See merge request pleroma/pleroma-fe!1565
2022-07-27 22:38:41 +00: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
05d46747a7 Merge branch 'renovate/chromedriver-103.x' into 'develop'
Update dependency chromedriver to v103

See merge request pleroma/pleroma-fe!1572
2022-07-27 15:35:35 +00:00
Pleroma Renovate Bot
6a41ab284a Update dependency chromedriver to v103 2022-07-27 09:08:26 +00:00
tusooa
f2384dae3d Merge branch 'renovate/body-scroll-lock-3.x' into 'develop'
Update dependency body-scroll-lock to v3

See merge request pleroma/pleroma-fe!1566
2022-07-26 21:07:16 +00:00
tusooa
78d3c376af Merge branch 'renovate/vue-monorepo' into 'develop'
Update vue monorepo

See merge request pleroma/pleroma-fe!1497
2022-07-26 17:09:07 +00:00
Pleroma Renovate Bot
72a382f3ed Update dependency body-scroll-lock to v3 2022-07-25 09:09:02 +00:00
Pleroma Renovate Bot
568cefd4ab Update vue monorepo 2022-07-25 09:08:08 +00:00
Tusooa Zhu
1a63f439e3
Fix poll duration i18n 2022-07-24 23:32:58 -04:00
tusooa
075d48b7f7 Merge branch 'renovate/vuelidate-validators-2.x' into 'develop'
Update dependency @vuelidate/validators to v2.0.0-alpha.31

See merge request pleroma/pleroma-fe!1562
2022-07-25 00:35:31 +00:00
tusooa
3d980e144b Merge branch 'renovate/vue-test-utils-2.x' into 'develop'
Update dependency @vue/test-utils to v2.0.2

See merge request pleroma/pleroma-fe!1529
2022-07-25 00:28:08 +00:00
tusooa
956d8d03a2 Merge branch 'renovate/sass-1.x' into 'develop'
Update dependency sass to v1.54.0

See merge request pleroma/pleroma-fe!1563
2022-07-25 00:27:21 +00:00
Pleroma Renovate Bot
2b7471d646 Update dependency sass to v1.54.0 2022-07-24 09:07:11 +00:00
Pleroma Renovate Bot
0679a49683 Update dependency @vuelidate/validators to v2.0.0-alpha.31 2022-07-24 09:06:30 +00:00
Pleroma Renovate Bot
46dfd1be63 Update dependency @vue/test-utils to v2.0.2 2022-07-24 09:06:20 +00: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