This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app
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
..
assets/stylesheets Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
controllers Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
helpers Add filter to AccountFilter (#2968) 2017-05-17 03:00:34 +02:00
javascript refactor: Import from react-router/lib (#3117) 2017-05-18 19:14:03 +02:00
lib Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
mailers Remove unnecessary .keep files (#2976) 2017-05-11 01:45:42 +02:00
models Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
presenters Bump version, improve how version is stored for better commit history (#2526) 2017-04-27 15:22:19 +02:00
services Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
validators Stricter whitelist rules (#2213) 2017-04-26 01:22:51 +02:00
views Fix character counter not updating for bio (#3101) 2017-05-18 00:38:18 +02:00
workers After remote follow worker specs (#3098) 2017-05-18 21:10:41 +02:00