1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-04 01:38:55 +09:00
whippy-edition/spec/controllers
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
..
admin Remove redis clear from before in spec (#2795) 2017-05-04 20:53:39 +02:00
api Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
auth Auth sign out (#2511) 2017-05-02 23:37:58 +02:00
concerns Extract user tracking into concern (#2600) 2017-04-30 00:28:16 +02:00
oauth More controller specs (#2561) 2017-04-28 15:12:37 +02:00
settings Improve allowed language handling (#2897) 2017-05-08 03:32:52 +02:00
well_known Clean up well-known routes/controllers (#1649) 2017-04-13 13:09:07 +02:00
about_controller_spec.rb Clean up about page (#1282) 2017-04-09 14:47:25 +02:00
account_follow_controller_spec.rb More controller specs (#2561) 2017-04-28 15:12:37 +02:00
account_unfollow_controller_spec.rb More controller specs (#2561) 2017-04-28 15:12:37 +02:00
accounts_controller_spec.rb Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
authorize_follows_controller_spec.rb More controller specs (#2561) 2017-04-28 15:12:37 +02:00
follower_accounts_controller_spec.rb More controller specs (#2561) 2017-04-28 15:12:37 +02:00
following_accounts_controller_spec.rb More controller specs (#2561) 2017-04-28 15:12:37 +02:00
home_controller_spec.rb Fix OAuth authorization page and add a spec for it 2016-11-18 23:10:44 +01:00
media_controller_spec.rb More controller specs (#2561) 2017-04-28 15:12:37 +02:00
remote_follow_controller_spec.rb Fix #2027 - Accept own ID for remote follow with and without preceding @ (#2991) 2017-05-11 21:54:30 +02:00
statuses_controller_spec.rb More coverage yes more even more (#2627) 2017-04-30 00:25:38 +02:00
stream_entries_controller_spec.rb Simplify the way the embed view is created (#1590) 2017-04-12 16:12:42 +02:00
tags_controller_spec.rb Return missing page when tag does not exist (#2563) 2017-04-28 15:11:21 +02:00