bastodon/spec
Eugen Rochko 620d0d8029 Account domain blocks (#2381)
* 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

* Adding account domain blocks that filter notifications and public timelines

* Add tests for domain blocks in notifications, public timelines
Filter reblogs of blocked domains from home

* Add API for listing and creating account domain blocks

* API for creating/deleting domain blocks, tests for Status#ancestors
and Status#descendants, filter domain blocks from them

* Filter domains in streaming API

* Update account_domain_block_spec.rb
2017-05-19 01:14:30 +02:00
..
controllers Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
fabricators Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
features Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
fixtures Additional specs for URI handling (#2759) 2017-05-03 20:40:14 +02:00
helpers Ensure i18n matches options (#2358) 2017-04-23 19:09:52 +02:00
javascript Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
lib Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
mailers Misc spec coverage improvements (#2821) 2017-05-05 14:56:00 -04:00
models Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
presenters About page contact email (#1839) 2017-04-15 13:33:25 +02:00
requests Remove the react-rails gem (#2801) 2017-05-04 23:45:18 +02:00
routing Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
services Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
support/matchers/model add more tests to models 2017-04-05 00:29:56 +02:00
views Update rails to version 5.0.3 (#3054) 2017-05-14 16:30:14 +02:00
workers After remote follow worker specs (#3098) 2017-05-18 21:10:41 +02:00
rails_helper.rb Disable sidekiq logging in test mode (#2962) 2017-05-10 16:16:42 +02:00
spec_helper.rb Add more tests for AtomSerializer (#2096) 2017-04-18 22:30:17 +02:00