You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec/services
Surinna Curtis 031a5a8f92 Optional notification muting (#5087)
* Add a hide_notifications column to mutes

* Add muting_notifications? and a notifications argument to mute!

* block notifications in notify_service from hard muted accounts

* Add specs for how mute! interacts with muting_notifications?

* specs testing that hide_notifications in mutes actually hides notifications

* Add support for muting notifications in MuteService

* API support for muting notifications (and specs)

* Less gross passing of notifications flag

* Break out a separate mute modal with a hide-notifications checkbox.

* Convert profile header mute to use mute modal

* Satisfy eslint.

* specs for MuteService notifications params

* add trailing newlines to files for Pork :)

* Put the label for the hide notifications checkbox in a label element.

* Add a /api/v1/mutes/details route that just returns the array of mutes.

* Define a serializer for /api/v1/mutes/details

* Add more specs for the /api/v1/mutes/details endpoint

* Expose whether a mute hides notifications in the api/v1/relationships endpoint

* Show whether muted users' notifications are muted in account lists

* Allow modifying the hide_notifications of a mute with the /api/v1/accounts/:id/mute endpoint

* make the hide/unhide notifications buttons work

* satisfy eslint

* In probably dead code, replace a dispatch of muteAccount that was skipping the modal with launching the mute modal.

* fix a missing import

* add an explanatory comment to AccountInteractions

* Refactor handling of default params for muting to make code cleaner

* minor code style fixes oops

* Fixed a typo that was breaking the account mute API endpoint

* Apply white-space: nowrap to account relationships icons

* Fix code style issues

* Remove superfluous blank line

* Rename /api/v1/mutes/details -> /api/v2/mutes

* Don't serialize "account" in MuteSerializer

Doing so is somewhat unnecessary since it's always the current user's account.

* Fix wrong variable name in api/v2/mutes

* Use Toggle in place of checkbox in the mute modal.

* Make the Toggle in the mute modal look better

* Code style changes in specs and removed an extra space

* Code review suggestions from akihikodaki

Also fixed a syntax error in tests for AccountInteractions.

* Make AddHideNotificationsToMute Concurrent

It's not clear how much this will benefit instances in practice, as the
number of mutes tends to be pretty small, but this should prevent any
blocking migrations nonetheless.

* Fix up migration things

* Remove /api/v2/mutes
7 years ago
..
activitypub Set snowflake IDs for backdated statuses (#5260) 7 years ago
pubsubhubbub
account_search_service_spec.rb
after_block_service_spec.rb
authorize_follow_service_spec.rb Introduce OStatus::TagManager (#5008) 7 years ago
batched_remove_status_service_spec.rb Non-Serial ("Snowflake") IDs (#4801) 7 years ago
block_domain_from_account_service_spec.rb
block_domain_service_spec.rb
block_service_spec.rb Introduce OStatus::TagManager (#5008) 7 years ago
bootstrap_timeline_service_spec.rb Default follows for new users (#4871) 7 years ago
fan_out_on_write_service_spec.rb
favourite_service_spec.rb Introduce OStatus::TagManager (#5008) 7 years ago
fetch_atom_service_spec.rb
fetch_link_card_service_spec.rb Enable to recognize most kinds of characters as URL paths (#4941) 7 years ago
fetch_remote_account_service_spec.rb
fetch_remote_resource_service_spec.rb Fix regression in FetchRemoteResourceService (#5217) 7 years ago
fetch_remote_status_service_spec.rb
follow_service_spec.rb Introduce OStatus::TagManager (#5008) 7 years ago
mute_service_spec.rb Optional notification muting (#5087) 7 years ago
notify_service_spec.rb Optional notification muting (#5087) 7 years ago
post_status_service_spec.rb Fix filterable_languages method of SettingsHelper (#4966) 7 years ago
precompute_feed_service_spec.rb Non-Serial ("Snowflake") IDs (#4801) 7 years ago
process_feed_service_spec.rb Hook up URL-based resource look-up to ActivityPub (#4589) 8 years ago
process_interaction_service_spec.rb
process_mentions_service_spec.rb
reblog_service_spec.rb Retoot count increases without reason (#5363) 7 years ago
reject_follow_service_spec.rb Introduce OStatus::TagManager (#5008) 7 years ago
remove_status_service_spec.rb Introduce OStatus::TagManager (#5008) 7 years ago
resolve_remote_account_service_spec.rb Fix an error when actor json couldn't be fetched in ResolveRemoteAccountService (#4979) 7 years ago
search_service_spec.rb
send_interaction_service_spec.rb
subscribe_service_spec.rb
suspend_account_service_spec.rb
unblock_domain_service_spec.rb
unblock_service_spec.rb Introduce OStatus::TagManager (#5008) 7 years ago
unfollow_service_spec.rb Introduce OStatus::TagManager (#5008) 7 years ago
unmute_service_spec.rb
unsubscribe_service_spec.rb Fix errors preventing UnsubscribeService from working (#4866) 7 years ago
update_remote_profile_service_spec.rb