gotosocial/internal/api/client
Vyr Cossont fd837776e2
[feature] Implement Mastodon-compatible roles (#3136)
* Implement Mastodon-compatible roles

- `Account.role` should only be available through verify_credentials for checking current user's permissions
- `Account.role` now carries a Mastodon-compatible permissions bitmap and a marker for whether it should be shown to the public
- `Account.roles` added for *public* display roles (undocumented but stable since Mastodon 4.1)
- Web template now uses only public display roles (no user-visible change here, we already special-cased the `user` role)

* Handle verify_credentials case for default role

* Update JSON exact-match tests

* Address review comments

* Add blocks bit to admin permissions bitmap
2024-07-31 09:26:09 -07:00
..
accounts [feature] Implement Mastodon-compatible roles (#3136) 2024-07-31 09:26:09 -07:00
admin [feature] Implement Mastodon-compatible roles (#3136) 2024-07-31 09:26:09 -07:00
apps [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
blocks [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
bookmarks [chore] Swagger: add missing paging params to bookmarks list (#2759) 2024-03-15 11:43:24 +01:00
conversations [feature] Conversations API (#3013) 2024-07-23 20:44:31 +01:00
customemojis [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
exports [feature] Allow users to export data via the settings panel (#3140) 2024-07-31 15:03:34 +01:00
favourites [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00
featuredtags [feature] Implement following hashtags (#3141) 2024-07-29 19:26:31 +01:00
filters [chore] media pipeline improvements (#3110) 2024-07-17 15:26:33 +00:00
followedtags [feature] Implement following hashtags (#3141) 2024-07-29 19:26:31 +01:00
followrequests [chore/frontend] Use smaller webp images for logo and default avatars (#3119) 2024-07-20 14:02:22 +01:00
instance [feature] Implement Mastodon-compatible roles (#3136) 2024-07-31 09:26:09 -07:00
interactionpolicies [feature] Allow users to set default interaction policies per status visibility (#3108) 2024-07-17 16:46:52 +02:00
lists [chore] Swagger: correct names and formats for several array params (#2758) 2024-03-15 11:31:58 +01:00
markers [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
media [feature] use webp for thumbnails (#3116) 2024-07-19 17:28:43 +02:00
mutes [chore/frontend] Use smaller webp images for logo and default avatars (#3119) 2024-07-20 14:02:22 +01:00
notifications [bugfix] rename include_types[] to types[] (#3023) 2024-06-18 18:18:35 +02:00
polls [bugfix] Correct Swagger path for poll voting (#2996) 2024-06-12 11:16:46 +02:00
preferences [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
reports [chore/frontend] Use smaller webp images for logo and default avatars (#3119) 2024-07-20 14:02:22 +01:00
search [feature/frontend] Add player for audio files; use thumbnail for poster (#3099) 2024-07-15 10:47:57 +01:00
statuses [feature] Implement Mastodon-compatible roles (#3136) 2024-07-31 09:26:09 -07:00
streaming [feature] Implement filters_changed stream event (#2972) 2024-06-07 10:51:13 +02:00
tags [feature] Implement following hashtags (#3141) 2024-07-29 19:26:31 +01:00
timelines [bugfix] Avoid empty public/local timeline queries (#2784) 2024-03-25 16:20:45 +00:00
user [chore] Warn about email/password change when using OIDC (#2975) 2024-06-07 15:21:57 +01:00