gearheads
/
mastodon
Archived
2
0
Fork 0
Commit Graph

7 Commits (35dff48edf19a344cbf192b510033ba6785c367b)

Author SHA1 Message Date
ThibG c43f4cd3bb
Fix not being able to unfavorite toots one has lost access to ()
Fixes 
2020-11-21 06:18:09 +01:00
Eugen Rochko 0ae5c6312f
Remove useless `respond_to` calls () 2020-03-06 01:29:38 +01:00
Eugen Rochko 0c28a505dd
Fix leak of arbitrary statuses through unfavourite action in REST API () 2020-02-27 12:32:54 +01:00
Eugen Rochko 1f6ed4f86a
Add more granular OAuth scopes ()
* Add more granular OAuth scopes

* Add human-readable descriptions of the new scopes

* Ensure new scopes look good on the app UI

* Add tests

* Group scopes in screen and color-code dangerous ones

* Fix wrong extra scope
2018-07-05 18:31:35 +02:00
unarist 1896a154f5 Fix response of unreblog/unfavourite APIs ()
Both APIs process asynchronously, so reblogged/favourited fields in the response should be set to `false` manually.
2017-07-14 20:44:53 +02:00
Eugen Rochko 8b2cad5637 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl () 2017-07-07 04:02:06 +02:00
Matt Jankowski 2925372ff4 Move create/destroy actions for api/v1/statuses to namespace ()
Each of mute, favourite, reblog has been updated to:

- Have a separate controller with just a create and destroy action
- Preserve historical route names to not break the API
- Mild refactoring to break up long methods
2017-06-10 09:39:26 +02:00