Stefano Pigozzi

Results 141 comments of Stefano Pigozzi

Seems like the reason why attachments aren't working is that the `mediaAttachments` configuration key is undefined on my instance. Maybe it's just an https://github.com/cheeaun/phanpy/labels/akkoma thing?

I guess no mime types are provided because Akkoma accepts anything as post attachment?

Oh, it's documented behaviour! https://akkoma.dev/AkkomaGang/akkoma/src/commit/3bb31117e65079d710e5129eb70c946d4ffe99ff/docs/docs/development/API/differences_in_mastoapi_responses.md#media-attachments

Now working on adding an error message if an attachment is rejected because of its mime type... ![A Phanpy alert: "Your instance does not allow attachments of type 'image/png'."](https://github.com/user-attachments/assets/60bcb9fa-b1c2-4d4d-bf64-74e16b034e7a)

Could use a "Default content type" option in the settings menu, as one already exists in Akkoma.

Seems like a list of supported post `content_types` is returned in `/instance` at `.pleroma.metadata.post_formats`. Maybe it might be worth populating the list from there?

This should now work with any Mastodon API implementation! I've tried it only on Mastodon Glitch Edition / Chuckya Edition, since that's the only other software I have accounts on...

This needs a bit more testing I think, reverting to draft.