mastodon/spec/fabricators
Eugen Rochko d0dd9eb5b5 Feature conversations muting (#3017)
* Add <ostatus:conversation /> tag to Atom input/output

Only uses ref attribute (not href) because href would be
the alternate link that's always included also.

Creates new conversation for every non-reply status. Carries
over conversation for every reply. Keeps remote URIs verbatim,
generates local URIs on the fly like the rest of them.

* Conversation muting - prevents notifications that reference a conversation
(including replies, favourites, reblogs) from being created. API endpoints
/api/v1/statuses/:id/mute and /api/v1/statuses/:id/unmute

Currently no way to tell when a status/conversation is muted, so the web UI
only has a "disable notifications" button, doesn't work as a toggle

* Display "Dismiss notifications" on all statuses in notifications column, not just own

* Add "muted" as a boolean attribute on statuses JSON

For now always false on contained reblogs, since it's only relevant for
statuses returned from the notifications endpoint, which are not nested

Remove "Disable notifications" from detailed status view, since it's
only relevant in the notifications column

* Up max class length

* Remove pending test for conversation mute

* Add tests, clean up

* Rename to "mute conversation" and "unmute conversation"

* Raise validation error when trying to mute/unmute status without conversation
2017-05-15 03:04:13 +02:00
..
account_fabricator.rb Refresh webfinger (#1323) 2017-04-15 03:16:05 +02:00
application_fabricator.rb Fix tests, add applications to eager loading/cache for statuses, fix 2017-01-15 14:01:33 +01:00
block_fabricator.rb add more tests to models 2017-04-05 00:29:56 +02:00
conversation_fabricator.rb Add conversation model, <ostatus:conversation /> (#3016) 2017-05-12 19:09:21 +02:00
conversation_mute_fabricator.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
domain_block_fabricator.rb API for apps to register for push notifications 2017-01-29 01:30:32 +01:00
favourite_fabricator.rb Delete records in smaller transaction (#2802) 2017-05-04 23:44:39 +02:00
follow_fabricator.rb add more tests to models 2017-04-05 00:29:56 +02:00
follow_request_fabricator.rb add more tests to models 2017-04-05 00:29:56 +02:00
import_fabricator.rb Import feature for following/blocking lists (addresses #62, #177, #201, #454) 2017-03-30 19:42:33 +02:00
media_attachment_fabricator.rb Add specs for media attachment validations 2017-04-07 12:50:43 -04:00
mention_fabricator.rb add more tests to models 2017-04-05 00:29:56 +02:00
mute_fabricator.rb More status specs (#2564) 2017-04-28 15:10:41 +02:00
notification_fabricator.rb Fixes slow query in notifications api (#2851) 2017-05-06 21:55:40 +02:00
preview_card_fabricator.rb Fix #463 - Fetch and display previews of URLs using OpenGraph tags 2017-01-20 01:00:14 +01:00
report_fabricator.rb Admin reports controller improvements (#1714) 2017-04-14 11:10:28 +02:00
status_fabricator.rb Add specs for PostStatusService 2017-04-07 14:21:16 -04:00
subscription_fabricator.rb Spec coverage and refactor for pubsub/delivery worker (#3021) 2017-05-12 20:35:36 +02:00
tag_fabricator.rb Adding hashtag model 2016-11-04 19:12:59 +01:00
user_fabricator.rb add more tests to models 2017-04-05 00:29:56 +02:00
web_setting_fabricator.rb Persist UI settings, add missing localizations for German 2017-01-09 14:00:55 +01:00