This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/spec/controllers/api/v1
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
..
accounts Hide blocked users from more places (#12733) 2019-12-31 00:55:32 +01:00
admin Add moderation API (#9387) 2019-06-20 02:52:34 +02:00
announcements Add announcements (#12662) 2020-01-23 22:00:13 +01:00
apps
instances
lists
polls Add polls (#10111) 2019-03-03 22:18:23 +01:00
push
statuses Hide blocked users from more places (#12733) 2019-12-31 00:55:32 +01:00
timelines Remove deprecated REST API `GET /api/v1/timelines/direct` (#11212) 2019-07-05 02:14:56 +02:00
accounts_controller_spec.rb
announcements_controller_spec.rb Add announcements (#12662) 2020-01-23 22:00:13 +01:00
apps_controller_spec.rb
blocks_controller_spec.rb
bookmarks_controller_spec.rb Support min_id-based pagination for bookmarks (#12381) 2019-11-17 17:09:41 +01:00
conversations_controller_spec.rb
custom_emojis_controller_spec.rb
domain_blocks_controller_spec.rb
endorsements_controller_spec.rb
favourites_controller_spec.rb
filters_controller_spec.rb Add polls (#10111) 2019-03-03 22:18:23 +01:00
follow_requests_controller_spec.rb Add updated relationship to follow request API responses (#11800) 2019-09-10 20:56:42 +02:00
instances_controller_spec.rb
lists_controller_spec.rb
markers_controller_spec.rb Add timeline read markers API (#11762) 2019-09-06 13:55:51 +02:00
media_controller_spec.rb
mutes_controller_spec.rb
notifications_controller_spec.rb Add `account_id` param to `GET /api/v1/notifications` (#10796) 2019-05-21 13:28:49 +02:00
polls_controller_spec.rb Fix poll API not requiring authentication on non-public polls (#10960) 2019-06-04 20:10:26 +02:00
reports_controller_spec.rb
statuses_controller_spec.rb Remove deprecated REST API `GET /api/v1/statuses/:id/card` (#11213) 2019-07-05 02:15:24 +02:00
streaming_controller_spec.rb
suggestions_controller_spec.rb
trends_controller_spec.rb Add announcements (#12662) 2020-01-23 22:00:13 +01:00