chuckya/app/models
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
..
concerns Fix #1426 - Trim long usernames in public follower/following lists (#2993) 2017-05-11 23:14:00 +02:00
form Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled (#1278) 2017-04-08 22:20:08 +02:00
web annotate models (#2697) 2017-05-02 02:14:47 +02:00
account.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
account_filter.rb Admin accounts controller cleanup (#1664) 2017-04-13 13:04:23 +02:00
application_record.rb Fix rubocop issues, introduce usage of frozen literal to improve performance 2016-11-15 16:56:29 +01:00
block.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
conversation.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
conversation_mute.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
domain_block.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
export.rb Settings export refactor (#1646) 2017-04-13 13:02:02 +02:00
favourite.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
feed.rb Only call regeneration worker after first login after a 14 day break 2017-04-04 02:00:10 +02:00
follow.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
follow_request.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
import.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
media_attachment.rb Fixes unknown mime type (#2822) 2017-05-05 21:32:14 +02:00
mention.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
mute.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
notification.rb Fixes slow query in notifications api (#2851) 2017-05-06 21:55:40 +02:00
preview_card.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
remote_follow.rb Fix #2027 - Accept own ID for remote follow with and without preceding @ (#2991) 2017-05-11 21:54:30 +02:00
report.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
report_filter.rb Admin reports with accounts (#2092) 2017-04-18 19:36:18 +02:00
setting.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
status.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
stream_entry.rb Add conversation model, <ostatus:conversation /> (#3016) 2017-05-12 19:09:21 +02:00
subscription.rb Misc spec coverage improvements (#2821) 2017-05-05 14:56:00 -04:00
tag.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
user.rb Improve allowed language handling (#2897) 2017-05-08 03:32:52 +02:00
web.rb Add extended about page stub 2017-01-13 03:24:41 +01:00