chinwagsocial/app/models
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
..
concerns Account domain blocks (#2381) 2017-05-19 01:14:30 +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 Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
account_domain_block.rb Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
account_filter.rb Add filter to AccountFilter (#2968) 2017-05-17 03:00:34 +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 Fetch remote image using http.rb (#3114) 2017-05-18 15:43:10 +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 Fetch remote image using http.rb (#3114) 2017-05-18 15:43:10 +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 Account domain blocks (#2381) 2017-05-19 01:14:30 +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 Order by symbol value (#3077) 2017-05-16 03:35:17 +02:00
web.rb Add extended about page stub 2017-01-13 03:24:41 +01:00