catstodon/app/views
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
..
about Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
accounts Fix og:url. (#3031) 2017-05-13 15:56:42 +02:00
activitypub Change ActivityPub paging to match spec. Clean up ActivityPub outbox changes. (#2410) 2017-04-25 15:06:06 +02:00
admin Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
api Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
application Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
auth Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
authorize_follows Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
errors Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
follower_accounts Optimize follower_accounts and following_accounts (#2820) 2017-05-06 04:03:07 +02:00
following_accounts Optimize follower_accounts and following_accounts (#2820) 2017-05-06 04:03:07 +02:00
home Prevent selection of unacceptable Content-Type files (#2910) 2017-05-08 16:49:53 +02:00
kaminari Pagination improvements (#1445) 2017-04-11 01:11:41 +02:00
layouts Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
notification_mailer Simplify renders in views (#2084) 2017-04-18 17:15:30 +02:00
oauth Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
remote_follow Fix remote follow (#2547) 2017-04-28 00:16:44 +02:00
settings feat(count): Just yml count syntax to provide different rule for 1 (#2685) 2017-05-13 17:13:17 +02:00
shared Add link for domain in land strip (#2306) 2017-04-23 21:45:03 +02:00
stream_entries Revert HTML CW changes (#3020) 2017-05-13 04:03:43 +02:00
tags Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
user_mailer i18n mailer files for Occitan language (#2924) 2017-05-08 23:15:03 +02:00
well_known Add ActivityPub Actor id to WebFinger JSON. (#2522) 2017-04-27 12:02:41 +02:00