This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/controllers
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
..
admin Refactor domain_blocks_controller (#2843) 2017-05-06 17:03:34 +02:00
api Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
auth Auth sign out (#2511) 2017-05-02 23:37:58 +02:00
concerns Remove unnecessary keep file. (#2902) 2017-05-08 15:01:19 +02:00
oauth
settings Filter on allowed user language preferences (#2361) 2017-05-01 17:42:13 +02:00
well_known Downgrade rubocop 0.48.1 => 0.46.0 (#2628) 2017-04-30 00:23:45 +02:00
about_controller.rb
account_follow_controller.rb Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
account_unfollow_controller.rb Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
accounts_controller.rb Change ActivityPub paging to match spec. Clean up ActivityPub outbox changes. (#2410) 2017-04-25 15:06:06 +02:00
api_controller.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
application_controller.rb Error responses cleanup (#2692) 2017-05-01 22:24:36 +02:00
authorize_follows_controller.rb Downgrade rubocop 0.48.1 => 0.46.0 (#2628) 2017-04-30 00:23:45 +02:00
follower_accounts_controller.rb Optimize follower_accounts and following_accounts (#2820) 2017-05-06 04:03:07 +02:00
following_accounts_controller.rb Optimize follower_accounts and following_accounts (#2820) 2017-05-06 04:03:07 +02:00
home_controller.rb Fix Doorkeeper error (#2534) 2017-04-27 18:04:28 +02:00
media_controller.rb
remote_follow_controller.rb Coverage for remote follows (#2694) 2017-05-02 00:44:23 +02:00
statuses_controller.rb
stream_entries_controller.rb
tags_controller.rb Return missing page when tag does not exist (#2563) 2017-04-28 15:11:21 +02:00