1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/spec/services
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
..
pubsubhubbub Specs for pubsub subscribe service (#2951) 2017-05-09 20:48:30 +02:00
account_search_service_spec.rb Optimize account search (#2421) 2017-04-25 04:44:43 +02:00
after_block_service_spec.rb Optimize MuteService and AfterBlockService (#2836) 2017-05-06 16:31:07 +02:00
authorize_follow_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML 2017-02-12 17:30:15 +01:00
block_domain_service_spec.rb Domain block service cleanup (#2490) 2017-04-26 20:09:01 +02:00
block_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML 2017-02-12 17:30:15 +01:00
fan_out_on_write_service_spec.rb Quick attempt to get pull requests passing 2017-04-04 12:14:44 -07:00
favourite_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML 2017-02-12 17:30:15 +01:00
fetch_atom_service_spec.rb Fix #54 - Fetch remote accounts by URL from mentions 2016-09-26 16:44:40 +02:00
fetch_link_card_service_spec.rb Fix #2572 - Resolve preview cards for remote statuses as well as local ones (#3088) 2017-05-17 00:41:15 +02:00
fetch_remote_account_service_spec.rb Fix #54 - Fetch remote accounts by URL from mentions 2016-09-26 16:44:40 +02:00
fetch_remote_resource_service_spec.rb Add specs (and refactor) of FetchRemoteResourceService and SearchService (#2812) 2017-05-05 17:26:04 +02:00
fetch_remote_status_service_spec.rb Fix #54 - Fetch remote accounts by URL from mentions 2016-09-26 16:44:40 +02:00
follow_remote_account_service_spec.rb Additional specs for URI handling (#2759) 2017-05-03 20:40:14 +02:00
follow_service_spec.rb More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
mute_service_spec.rb Optimize MuteService and AfterBlockService (#2836) 2017-05-06 16:31:07 +02:00
notify_service_spec.rb Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
post_status_service_spec.rb Fix #2402 - Add Idempotency-Key header to PostStatusService that prevents (#2419) 2017-04-25 15:04:49 +02:00
precompute_feed_service_spec.rb Adding more test stubs 2016-03-19 12:13:47 +01:00
process_feed_service_spec.rb Fix #2572 - Resolve preview cards for remote statuses as well as local ones (#3088) 2017-05-17 00:41:15 +02:00
process_interaction_service_spec.rb Additional specs for URI handling (#2759) 2017-05-03 20:40:14 +02:00
process_mentions_service_spec.rb Fixing some bugs, adding pending test examples 2016-03-05 12:50:59 +01:00
reblog_service_spec.rb Removing external hub completely, fix #333 fixing digit-only hashtags, 2016-12-18 12:24:37 +01:00
reject_follow_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML 2017-02-12 17:30:15 +01:00
search_service_spec.rb Add specs (and refactor) of FetchRemoteResourceService and SearchService (#2812) 2017-05-05 17:26:04 +02:00
send_interaction_service_spec.rb Fixing some bugs, adding pending test examples 2016-03-05 12:50:59 +01:00
subscribe_service_spec.rb Services specs for subscribe and unsubscribe (#2928) 2017-05-09 00:45:02 +02:00
suspend_account_service_spec.rb Delete records in smaller transaction (#2802) 2017-05-04 23:44:39 +02:00
unblock_domain_service_spec.rb Unblock domain service specs/refactor (#2867) 2017-05-07 14:44:28 +02:00
unblock_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML 2017-02-12 17:30:15 +01:00
unfollow_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML 2017-02-12 17:30:15 +01:00
unmute_service_spec.rb Mute button progress so far. WIP, doesn't entirely work correctly. 2017-03-01 22:31:21 -06:00
unsubscribe_service_spec.rb Services specs for subscribe and unsubscribe (#2928) 2017-05-09 00:45:02 +02:00
update_remote_profile_service_spec.rb Set correct attachment type for rejected media (#2599) 2017-04-29 00:18:32 +02:00