Hide blocking accounts from blocked users (#10442)
* Revert "Add indication that you have been blocked in web UI (#10420)" This reverts commit bd02ec6d. * Revert "Add `blocked_by` relationship to the REST API (#10373)" This reverts commit 9745de88. * Hide blocking accounts from search results * Filter blocking accouts from account followers * Filter blocking accouts from account's following accounts * Filter blocking accounts from “reblogged by” and “favourited by” lists * Remove blocking account from URL search * Return 410 on trying to fetch user data from a user who blocked us * Return 410 in /api/v1/account/statuses for suspended or blocking accounts * Fix status filtering when performing URL search * Restore some React improvements Restore some cleanup from bd02ec6d * Refactor by adding `without_blocking` scope
parent
67eb47e2
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- app/controllers/api/v1/accounts/follower_accounts_controller.rb 1 ajout, 1 suppression...ntrollers/api/v1/accounts/follower_accounts_controller.rb
- app/controllers/api/v1/accounts/following_accounts_controller.rb 1 ajout, 1 suppression...trollers/api/v1/accounts/following_accounts_controller.rb
- app/controllers/api/v1/accounts/statuses_controller.rb 10 ajouts, 0 suppressionapp/controllers/api/v1/accounts/statuses_controller.rb
- app/controllers/api/v1/accounts_controller.rb 5 ajouts, 0 suppressionapp/controllers/api/v1/accounts_controller.rb
- app/controllers/api/v1/statuses/favourited_by_accounts_controller.rb 1 ajout, 0 suppression...lers/api/v1/statuses/favourited_by_accounts_controller.rb
- app/controllers/api/v1/statuses/reblogged_by_accounts_controller.rb 1 ajout, 1 suppression...llers/api/v1/statuses/reblogged_by_accounts_controller.rb
- app/javascript/mastodon/features/account/components/header.js 1 ajout, 1 suppression...javascript/mastodon/features/account/components/header.js
- app/javascript/mastodon/features/account_timeline/index.js 6 ajouts, 16 suppressionsapp/javascript/mastodon/features/account_timeline/index.js
- app/javascript/mastodon/features/followers/index.js 3 ajouts, 5 suppressionsapp/javascript/mastodon/features/followers/index.js
- app/javascript/mastodon/features/following/index.js 3 ajouts, 5 suppressionsapp/javascript/mastodon/features/following/index.js
- app/javascript/styles/mastodon/stream_entries.scss 3 ajouts, 3 suppressionsapp/javascript/styles/mastodon/stream_entries.scss
- app/models/account.rb 1 ajout, 0 suppressionapp/models/account.rb
- app/presenters/account_relationships_presenter.rb 1 ajout, 5 suppressionsapp/presenters/account_relationships_presenter.rb
- app/serializers/rest/relationship_serializer.rb 1 ajout, 5 suppressionsapp/serializers/rest/relationship_serializer.rb
- app/services/account_search_service.rb 9 ajouts, 1 suppressionapp/services/account_search_service.rb
- app/services/search_service.rb 2 ajouts, 0 suppressionapp/services/search_service.rb
- spec/controllers/api/v1/accounts/follower_accounts_controller_spec.rb 27 ajouts, 2 suppressions...lers/api/v1/accounts/follower_accounts_controller_spec.rb
- spec/controllers/api/v1/accounts/following_accounts_controller_spec.rb 27 ajouts, 2 suppressions...ers/api/v1/accounts/following_accounts_controller_spec.rb
- spec/services/account_search_service_spec.rb 17 ajouts, 0 suppressionspec/services/account_search_service_spec.rb
- spec/services/search_service_spec.rb 16 ajouts, 14 suppressionsspec/services/search_service_spec.rb
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter