mastodon/app/serializers/rest
Eugen Rochko f52c988e12
Add announcements (#12662)
* Add announcements

Fix #11006

* Add reactions to announcements

* Add admin UI for announcements

* Add unit tests

* Fix issues

- Add `with_dismissed` param to announcements API
- Fix end date not being formatted when time range is given
- Fix announcement delete causing reactions to send streaming updates
- Fix announcements container growing too wide and mascot too small
- Fix `all_day` being settable when no time range is given
- Change text "Update" to "Announcement"

* Fix scheduler unpublishing announcements before they are due

* Fix filter params not being passed to announcements filter
2020-01-23 22:00:13 +01:00
..
admin Add moderation API (#9387) 2019-06-20 02:52:34 +02:00
account_serializer.rb Fix IDN mentions not being processed, IDN domains not being rendered (#12715) 2019-12-30 19:20:43 +01:00
announcement_serializer.rb Add announcements (#12662) 2020-01-23 22:00:13 +01:00
application_serializer.rb Add vapid_key to the application entity in the REST API (#10058) 2019-02-16 05:27:05 +01:00
context_serializer.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
conversation_serializer.rb Add unread indicator to conversations (#9009) 2018-10-19 01:47:29 +02:00
credential_account_serializer.rb Change silences to always require approval on follow (#11975) 2019-09-27 21:13:51 +02:00
custom_emoji_serializer.rb Add categories for custom emojis (#11196) 2019-06-28 15:54:10 +02:00
featured_tag_serializer.rb Add featured tags API (#11778) 2019-09-09 10:50:33 +02:00
filter_serializer.rb Fix filter ID not being a string in REST API (#9303) 2018-11-19 10:37:57 +01:00
identity_proof_serializer.rb squashed identity proof updates (#10375) 2019-03-28 18:01:09 +01:00
instance_serializer.rb Add `short_description` and `approval_required` to `GET /api/v1/instance` (#11146) 2019-06-22 12:08:16 +02:00
list_serializer.rb Display list column (#5750) 2017-11-25 00:35:37 +01:00
marker_serializer.rb Add timeline read markers API (#11762) 2019-09-06 13:55:51 +02:00
media_attachment_serializer.rb Add blurhash (#10630) 2019-04-27 03:24:09 +02:00
notification_serializer.rb Support pushing and receiving updates to poll tallies (#10209) 2019-03-11 00:49:31 +01:00
poll_serializer.rb Add voters count support (#11917) 2019-09-29 22:58:01 +02:00
preferences_serializer.rb Add a preferences API so apps can share basic behaviours (#10109) 2019-03-15 02:39:20 +01:00
preview_card_serializer.rb Add embed_url to preview cards (#5775) 2017-12-07 03:37:43 +01:00
reaction_serializer.rb Add announcements (#12662) 2020-01-23 22:00:13 +01:00
relationship_serializer.rb Improve blocked view of profiles (#10491) 2019-04-07 04:59:13 +02:00
report_serializer.rb Change IDs to strings rather than numbers in API JSON output (#5019) 2017-09-20 14:53:48 +02:00
scheduled_status_serializer.rb Fix wrong param name in scheduled statuses and return params in API (#9725) 2019-01-06 12:03:27 +01:00
search_serializer.rb Remove deprecated `GET /api/v1/search` API (#11823) 2019-09-13 16:11:13 +02:00
status_serializer.rb Fix n+1 query for bookmarks on statuses (#12494) 2019-11-28 04:08:00 +01:00
tag_serializer.rb Track trending tags (#7638) 2018-05-27 21:45:30 +02:00
web_push_subscription_serializer.rb Fix `alerts` booleans not being typecast correctly in push subscription (#11343) 2019-07-21 18:10:07 +02:00