1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-22 10:38:14 +09:00
mastodon/app/controllers/api/v1
Eugen Rochko 7bb8b0b2fc
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
..
accounts Non-Serial ("Snowflake") IDs (#4801) 2017-10-04 09:56:37 +02:00
apps Fix #5104 - GET /api/v1/apps/verify_credentials to confirm app works (#5112) 2017-09-30 22:05:42 +02:00
statuses Pinned statuses (#4675) 2017-08-25 01:41:18 +02:00
timelines Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
accounts_controller.rb Fix error when following locked accounts (#4896) 2017-09-11 23:50:37 +02:00
apps_controller.rb Fix #5104 - GET /api/v1/apps/verify_credentials to confirm app works (#5112) 2017-09-30 22:05:42 +02:00
blocks_controller.rb Fix pagination in Api::V1::BlocksController (#5285) 2017-10-09 17:30:31 +02:00
custom_emojis_controller.rb Improve admin UI for custom emojis, add copy/disable/enable (#5231) 2017-10-05 23:42:05 +02:00
domain_blocks_controller.rb Clean up for api/base controller (#3629) 2017-06-07 20:09:25 +02:00
favourites_controller.rb Merge queries in Api::V1::FavouritesController (#4359) 2017-07-25 16:01:03 +02:00
follow_requests_controller.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
follows_controller.rb Fix POST /api/v1/follows error when already following (#4878) 2017-09-10 15:09:06 +02:00
instances_controller.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
media_controller.rb Add ability to specify alternative text for media attachments (#5123) 2017-09-28 15:31:31 +02:00
mutes_controller.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
notifications_controller.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
reports_controller.rb Add moderator role and add pundit policies for admin actions (#5635) 2017-11-11 20:23:33 +01:00
search_controller.rb Fix #3462 - Require authentication for search API (#4155) 2017-07-11 17:08:26 +02:00
statuses_controller.rb Make PreviewCard records reuseable between statuses (#4642) 2017-09-01 16:20:16 +02:00
streaming_controller.rb Clean up for api/base controller (#3629) 2017-06-07 20:09:25 +02:00