gearheads
/
mastodon
Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/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 Fix #1165 - before_action was called before protect_from_forgery 2017-04-08 02:30:50 +02:00
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 Clean up about page (#1282) 2017-04-09 14:47:25 +02:00
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 Media controller specs (#2022) 2017-04-17 20:02:00 +02:00
remote_follow_controller.rb Coverage for remote follows (#2694) 2017-05-02 00:44:23 +02:00
statuses_controller.rb Prettier account and stream entry URLs 2017-03-22 19:55:14 +01:00
stream_entries_controller.rb Simplify the way the embed view is created (#1590) 2017-04-12 16:12:42 +02:00
tags_controller.rb Return missing page when tag does not exist (#2563) 2017-04-28 15:11:21 +02:00