Если в посте на Discourse есть встроенные изображения, то при федерации поста они теряются. Было бы здорово, если бы их можно было прикреплять к федерированным постам. Бонусные баллы, если также федеративно передаётся описание alt.
1 лайк
angus
(Angus McLeod)
07.Май.2025 06:04:20
2
Эта функция станет частью плагина после слияния этого PR
main ← angusmcleod:add_media_support
merged 06:44PM - 07 May 25 UTC
@pmusaraj This adds support for image attachments in the simplest way possible. … This is the first step in adding media support.
Next steps after this are:
- Potentially improve the attachment - post - upload relationship. This likely will be needed for outgoing support.
- Improve image feature support, e.g. Mastodon's [focalPoint](https://docs.joinmastodon.org/spec/activitypub/#focalPoint)), [blurhash](https://docs.joinmastodon.org/spec/activitypub/#blurhash), and width/height attributes.
- Add more tests, e.g. integration (end to end).
Notes:
- Some platforms use `Document` attachment types for images (instead of `Image`).
- Attachments can be added to Objects other than Notes or Articles (e.g. [Mastodon uses it for certain profile attributes](https://docs.joinmastodon.org/spec/activitypub/#PropertyValue)), and we may want to support other types of attachments in the future (hence the need for a ploymorphic association).
4 лайка
Jagster
(Jakke Flemming)
07.Май.2025 06:28:26
3
Отлично! Очень нужно. Спасибо!
(А теперь начинается непрерывное нажатие F5 и ожидание изменения статуса )
pmusaraj
(Penar Musaraj)
07.Май.2025 18:44:50
5
Это уже слито, извините за задержку.
3 лайка