mastodon/spec/fabricators
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
..
assets
access_token_fabricator.rb
accessible_access_token_fabricator.rb Introduce access token fabricators (#4401) 2017-07-27 15:16:07 +02:00
account_alias_fabricator.rb Add account migration UI (#11846) 2019-09-19 20:58:19 +02:00
account_domain_block_fabricator.rb Ensure unique identifiers in fabricated objects in tests (#3173) 2017-05-20 17:09:40 +02:00
account_fabricator.rb Bump faker from 1.9.6 to 2.1.0 and update faker api (#11489) 2019-08-06 15:33:03 +02:00
account_identity_proof_fabricator.rb
account_migration_fabricator.rb
account_moderation_note_fabricator.rb Add moderation note (#5240) 2017-10-07 20:26:43 +02:00
account_pin_fabricator.rb
account_stat_fabricator.rb Extract counters from accounts table to account_stats table (#9295) 2018-11-19 00:43:52 +01:00
account_tag_stat_fabricator.rb
account_warning_fabricator.rb Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
account_warning_preset_fabricator.rb
admin_action_log_fabricator.rb
announcement_fabricator.rb Add announcements (#12662) 2020-01-23 22:00:13 +01:00
announcement_mute_fabricator.rb Add announcements (#12662) 2020-01-23 22:00:13 +01:00
announcement_reaction_fabricator.rb Add announcements (#12662) 2020-01-23 22:00:13 +01:00
application_fabricator.rb
backup_fabricator.rb
block_fabricator.rb
bookmark_fabricator.rb
conversation_account_fabricator.rb
conversation_fabricator.rb
conversation_mute_fabricator.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
custom_emoji_category_fabricator.rb
custom_emoji_fabricator.rb
custom_filter_fabricator.rb
domain_allow_fabricator.rb
domain_block_fabricator.rb Cover Admin::DomainBlocksController more (#3329) 2017-06-25 21:42:36 +02:00
email_domain_block_fabricator.rb
favourite_fabricator.rb
featured_tag_fabricator.rb
follow_fabricator.rb
follow_request_fabricator.rb Remove redundant code in AtomSerializer and spec (#3528) 2017-06-03 20:51:08 +02:00
identity_fabricator.rb
import_fabricator.rb
invite_fabricator.rb
list_account_fabricator.rb
list_fabricator.rb Lint pass (#8876) 2018-10-04 12:36:53 +02:00
marker_fabricator.rb Add timeline read markers API (#11762) 2019-09-06 13:55:51 +02:00
media_attachment_fabricator.rb Fix media attachments without file being uploadable (#12562) 2020-01-23 21:40:03 +01:00
mention_fabricator.rb
mute_fabricator.rb
notification_fabricator.rb
poll_fabricator.rb Add polls (#10111) 2019-03-03 22:18:23 +01:00
poll_vote_fabricator.rb Add polls (#10111) 2019-03-03 22:18:23 +01:00
relay_fabricator.rb
report_fabricator.rb
report_note_fabricator.rb
scheduled_status_fabricator.rb Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
session_activation_fabricator.rb
setting_fabricator.rb
site_upload_fabricator.rb
status_fabricator.rb
status_pin_fabricator.rb
status_stat_fabricator.rb Move status counters to separate table, count replies (#8104) 2018-08-14 19:19:32 +02:00
tag_fabricator.rb
user_fabricator.rb
user_invite_request_fabricator.rb
web_push_subscription_fabricator.rb Ensure push subscription is immediately removed when application is revoked (#7548) 2018-05-19 21:05:08 +02:00
web_setting_fabricator.rb