akkoma/lib/pleroma/web/mastodon_api/views
foxing 964a855319
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Display Quote posts in the api features list to allow external clients to enable compatibility with it. (#496)
Expose quote posting in the api as a feature.

Copies what the quote post PR for pleroma does to allow external clients to enable and disable features based on the feature-set of the instance.

As far as I am aware, akkoma doesn't allow you to disable quote posting, so this doesn't need anything fancy and it's just a hard on switch.

I tried to get one for the bubble tl to work also, but I'm not quite sure how to do it so that it switches off the feature when the bubble tl is disabled. I would argue that it could and ideally should be done as well though.

I also discovered a pretty tame bug in the testing of it, that deleting the DB entry for the bubble tl does not stop the bubble TL from actually working and it will continue to display the panel on the about page, I'll just leave it as a note here.

Reviewed-on: #496
Co-authored-by: foxing <foxing@noreply.akkoma>
Co-committed-by: foxing <foxing@noreply.akkoma>
2023-03-09 20:40:28 +00:00
..
account_view.ex paginate follow requests (#460) 2023-02-04 20:51:17 +00:00
announcement_view.ex Merge branch 'from/upstream-develop/tusooa/server-announcements' into 'develop' (#85) 2022-07-18 13:08:36 +00:00
app_view.ex [#2510] Improved support for app-bound OAuth tokens. Auth-related refactoring. 2021-02-11 15:02:50 +03:00
conversation_view.ex Migrate Pleroma.Web to phoenix 1.6 formats 2023-01-02 03:29:02 +00:00
custom_emoji_view.ex Deprecate Pleroma.Web.base_url/0 2021-05-31 16:48:03 -05:00
filter_view.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
follow_request_view.ex Create real Views for all Controllers 2021-05-29 12:15:57 -05:00
instance_view.ex Display Quote posts in the api features list to allow external clients to enable compatibility with it. (#496) 2023-03-09 20:40:28 +00:00
list_view.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
marker_view.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
media_view.ex Create real Views for all Controllers 2021-05-29 12:15:57 -05:00
notification_view.ex Migrate Pleroma.Web to phoenix 1.6 formats 2023-01-02 03:29:02 +00:00
poll_view.ex fix count of poll voters 2022-11-08 13:50:04 +00:00
report_view.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
scheduled_activity_view.ex expires_in in scheduled status params 2021-02-18 14:59:22 +03:00
status_view.ex Reblog content should be "" 2023-03-02 11:04:27 +00:00
subscription_view.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
suggestion_view.ex v2 Suggestions: rudimentary API response 2021-11-26 14:34:10 -06:00
tag_view.ex Migrate Pleroma.Web to phoenix 1.6 formats 2023-01-02 03:29:02 +00:00
timeline_view.ex Create real Views for all Controllers 2021-05-29 12:15:57 -05:00