You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/serializers/activitypub
Eugen Rochko 4ec1771165 Add ability to specify alternative text for media attachments (#5123)
* Fix #117 - Add ability to specify alternative text for media attachments

- POST /api/v1/media accepts `description` straight away
- PUT /api/v1/media/:id to update `description` (only for unattached ones)
- Serialized as `name` of Document object in ActivityPub
- Uploads form adjusted for better performance and description input

* Add tests

* Change undo button blend mode to difference
7 years ago
..
accept_follow_serializer.rb
activity_serializer.rb
actor_serializer.rb
block_serializer.rb
collection_serializer.rb
delete_serializer.rb
follow_serializer.rb
like_serializer.rb
note_serializer.rb Add ability to specify alternative text for media attachments (#5123) 7 years ago
public_key_serializer.rb
reject_follow_serializer.rb
undo_announce_serializer.rb
undo_block_serializer.rb
undo_follow_serializer.rb
undo_like_serializer.rb
update_serializer.rb