Display Quote posts in the api features list to allow external clients to enable compatibility with it. #496

Merged
floatingghost merged 3 commits from :foxing-patch-1 into develop 2023-03-09 20:40:28 +00:00
Contributor

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.

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.
foxing added 3 commits 2023-03-09 19:56:25 +00:00
revert ab3fd8951b
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
23075f3adf
revert Update 'lib/pleroma/web/mastodon_api/views/instance_view.ex'

that seems to match what others have used, thanks!

that seems to match what others have used, thanks!
floatingghost merged commit 964a855319 into develop 2023-03-09 20:40:28 +00:00
floatingghost deleted branch foxing-patch-1 2023-03-09 20:40:29 +00:00
Sign in to join this conversation.
No description provided.