Eugen Rochko
e164d6a687
Add customizable user roles ( #18641 )
...
* Add customizable user roles
* Various fixes and improvements
* Add migration for old settings and fix tootctl role management
2022-07-05 02:41:40 +02:00
Claire
e806b2325e
Fix empty batch statuses selection causing a 500 error ( #17532 )
...
* Fix empty batch statuses selection causing a 500 error
* Simplify current_params
2022-02-12 19:52:17 +01:00
Eugen Rochko
2fb76550a9
Add notifications for statuses deleted by moderators ( #17204 )
2022-01-17 09:41:33 +01:00
Jeong Arm
5ac17e3a77
Fix admin statuses order( #16937 ) ( #16969 )
...
* Fix #16937
* Add test for statuses order
2021-11-26 22:12:27 +01:00
Jeong Arm
33110dee93
Fix statuses order in account's statuses admin page ( #16937 )
2021-11-04 15:49:35 +01:00
abcang
dec6f34546
Further improve the media attached status query for accounts ( #16106 )
2021-04-26 18:57:46 +02:00
abcang
fa2d62e6e2
Improve media attached status query ( #16105 )
2021-04-25 06:34:48 +02:00
Eugen Rochko
48534762cf
Fix slow distinct queries where grouped queries are faster ( #15287 )
...
About 2x speed-up on inboxes query
2020-12-07 12:08:30 +01:00
ThibG
631a91cbc0
Add quick links to the admin interface in the WebUI ( #8545 )
...
* Allow to show a specific status in the admin interface
* Let the front-end know the current account is a moderator
* Add admin links to status and account menus
If the current logged-in user is an admin, add quick links to the admin
interface in account and toot dropdown menu. Suggestion by @ashkitten
* Use @statuses.first instead of @statuses[0]
2019-01-04 13:10:43 +01:00
ThibG
8cc34321d5
Do not error out when performing admin actions on no statuses ( #8220 )
...
Fixes the other issue with #8168
2018-08-16 20:02:52 +02:00
Eugen Rochko
0dcca6b6e8
Improve admin UI for accounts ( #7360 )
...
* Improve design of account statuses admin UI (consistent with reports)
* Make account moderation notes look consistent with report notes
* i18n-tasks remove-unused
* Fix code style issues
* Fix tests
2018-05-05 23:06:29 +02:00
Alda Marteau-Hardi
17f77e51f2
Prevent admins and moderators eavesdropping in private and direct toots ( #7067 )
...
Fix #6986
2018-04-07 21:33:01 +02:00
Eugen Rochko
efc97d404c
Add logging of admin actions ( #5757 )
...
* Add logging of admin actions
* Update brakeman whitelist
* Log creates, updates and destroys with history of changes
* i18n: Update Polish translation (#5782 )
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
* Split admin navigation into moderation and administration
* Redesign audit log page
* 🇵🇱 (#5795 )
* Add color coding to audit log
* Change dismiss->resolve, log all outcomes of report as resolve
* Update terminology (e-mail blacklist) (#5796 )
* Update terminology (e-mail blacklist)
imho looks better
* Update en.yml
* Fix code style issues
* i18n-tasks normalize
2017-11-24 02:05:53 +01:00
Eugen Rochko
97178b6d86
Add moderator role and add pundit policies for admin actions ( #5635 )
...
* Add moderator role and add pundit policies for admin actions
* Add rake task for turning user into mod and revoking it again
* Fix handling of unauthorized exception
* Deliver new report e-mails to staff, not just admins
* Add promote/demote to admin UI, hide some actions conditionally
* Fix unused i18n
2017-11-11 20:23:33 +01:00
HIKARU KOBORI
771060a993
Fix typo in admin/status_controller.rb ( #4679 )
2017-08-24 04:03:52 +02:00
abcang
e3251e74c1
Improve admin page ( #4121 )
...
* Improve admin page
* Fix test
* Add spec
* Improve select style
2017-07-18 16:38:22 +02:00