glitchier-soc/app/services
ThibG f1a3135809 Record account suspend/silence time and keep track of domain blocks (#10660)
* Record account suspend/silence time and keep track of domain blocks

* Also unblock users who were suspended/silenced before dates were recorded

* Add tests

* Keep track of suspending date for users suspended through the CLI

* Show accurate number of accounts that would be affected by unsuspending an instance

* Change migration to set silenced_at and suspended_at

* Revert "Also unblock users who were suspended/silenced before dates were recorded"

This reverts commit a015c65d2d1e28c7b7cfab8b3f8cd5fb48b8b71c.

* Switch from using suspended and silenced to suspended_at and silenced_at

* Add post-deployment migration script to remove `suspended` and `silenced` columns

* Use Account#silence! and Account#suspend! instead of updating the underlying property

* Add silenced_at and suspended_at migration to post-migration

* Change account fabricator to translate suspended and silenced attributes

* Minor fixes

* Make unblocking domains always retroactive
2019-05-14 19:05:02 +02:00
..
activitypub Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
concerns Optimize the process of following someone (#9220) 2018-11-08 21:05:42 +01:00
pubsubhubbub Remove redundant (#9503) 2018-12-12 05:54:34 +01:00
account_search_service.rb Improve blocked view of profiles (#10491) 2019-04-07 04:59:13 +02:00
after_block_domain_from_account_service.rb Reduce usage of LD signatures (#9659) 2018-12-30 09:48:59 +01:00
after_block_service.rb Add conversations API (#8832) 2018-10-07 23:44:58 +02:00
app_sign_up_service.rb Admission-based registrations mode (#10250) 2019-03-14 05:28:30 +01:00
authorize_follow_service.rb Reduce usage of LD signatures (#9659) 2018-12-30 09:48:59 +01:00
backup_service.rb Add favourites to archive takeout (#8351) 2018-08-22 19:33:10 +02:00
base_service.rb Remove unused AtomBuilderHelper (#1364) 2017-04-11 19:31:22 +02:00
batched_remove_status_service.rb Skip some methods in BatchedRemoveStatusService when account is nil (#10095) 2019-02-24 14:28:36 +01:00
block_domain_service.rb Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
block_service.rb Reject follow requests of blocked users (#10633) 2019-04-25 02:47:33 +02:00
bootstrap_timeline_service.rb Add autofollow option to invites (#7805) 2018-06-15 18:00:23 +02:00
fan_out_on_write_service.rb Accept the same payload in multiple inboxes and deliver (#9150) 2018-10-30 15:03:55 +01:00
favourite_service.rb Fix activity:interactions counter to count all interactions (#8037) 2018-07-16 18:35:43 +02:00
fetch_atom_service.rb Ignore JSON-LD profile in mime type comparison (#9179) 2018-11-22 12:49:07 +01:00
fetch_link_card_service.rb Treat meta[property] as a space-separated list (#10604) 2019-04-21 04:48:19 +02:00
fetch_oembed_service.rb Fix undefined method error in sidekiq (#9807) 2019-01-14 17:28:41 +01:00
fetch_remote_account_service.rb Improve federated ID validation (#8372) 2018-08-22 20:55:14 +02:00
fetch_remote_status_service.rb Change conditional to avoid nil into string error in sidekiq (#5987) 2017-12-12 15:11:13 +01:00
follow_service.rb Create Redisable#redis (#9633) 2019-02-02 19:11:38 +01:00
hashtag_query_service.rb Simplify hashtag query service, perf increase for 'any' tags (#9298) 2018-11-19 12:49:50 +01:00
import_service.rb Export and import show_reblogs together with following list (#10495) 2019-04-08 07:28:27 +02:00
mute_service.rb Add conversations API (#8832) 2018-10-07 23:44:58 +02:00
notify_service.rb Fix poll update handler calling method was that was not available (#10246) 2019-03-12 22:58:59 +01:00
post_status_service.rb Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
precompute_feed_service.rb Fix code style of regeneration-related code (#9843) 2019-01-18 01:02:51 +01:00
process_feed_service.rb Using double splat operator (#5859) 2017-12-06 11:41:57 +01:00
process_hashtags_service.rb Add featured hashtags to profiles (#9755) 2019-02-04 04:25:59 +01:00
process_interaction_service.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
process_mentions_service.rb Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
reblog_service.rb Add visibility param to reblog REST API (#9851) 2019-03-15 04:36:41 +01:00
reject_follow_service.rb Reduce usage of LD signatures (#9659) 2018-12-30 09:48:59 +01:00
remove_status_service.rb Avoid race condition when streaming deleted statuses (#10280) 2019-03-16 20:18:47 +01:00
report_service.rb Set and store report URIs (#10303) 2019-03-17 15:34:56 +01:00
resolve_account_service.rb Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
resolve_url_service.rb Make sure the poll is created before storing its id (#10142) 2019-03-04 00:39:06 +01:00
search_service.rb Improve blocked view of profiles (#10491) 2019-04-07 04:59:13 +02:00
send_interaction_service.rb Close http connection in perform method of Request class (#6889) 2018-03-24 12:49:54 +01:00
subscribe_service.rb Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
suspend_account_service.rb Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
unblock_domain_service.rb Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
unblock_service.rb Reduce usage of LD signatures (#9659) 2018-12-30 09:48:59 +01:00
unfavourite_service.rb Add handling of Linked Data Signatures in payloads (#4687) 2017-08-26 13:47:38 +02:00
unfollow_service.rb Reject existing Follow in addition to sending a Block (#9811) 2019-01-18 15:57:19 +01:00
unmute_service.rb Fix #231 - Muting 2017-03-02 18:49:32 +01:00
unsubscribe_service.rb Close http connection in perform method of Request class (#6889) 2018-03-24 12:49:54 +01:00
update_account_service.rb Error message for avatar image that's too large. #9204 (#9518) 2018-12-14 05:07:21 +01:00
update_remote_profile_service.rb Fix custom emoji handling in UpdateRemoteProfileService (OStatus) (#7501) 2018-05-15 16:03:34 +02:00
verify_link_service.rb Rescue SSL error in verify link service (#9914) 2019-01-24 15:38:18 +01:00
verify_salmon_service.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
vote_service.rb Fix vote-after-expiration not showing error, count vote as interaction (#10352) 2019-03-23 14:07:17 +01:00