Optimize the process of following someone (#9220)
* Eliminate extra accounts select query from FollowService * Optimistically update follow state in web UI and hide loading bar Fix #6205 * Asynchronize NotifyService in FollowService And fix failing test * Skip Webfinger resolve routine when called from FollowService if possible If an account is ActivityPub, then webfinger re-resolving is not necessary when called from FollowService. Improve options of ResolveAccountService
parent
9cfd6104
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- app/controllers/api/v1/accounts_controller.rb 1 ajout, 1 suppressionapp/controllers/api/v1/accounts_controller.rb
- app/javascript/mastodon/actions/accounts.js 14 ajouts, 4 suppressionsapp/javascript/mastodon/actions/accounts.js
- app/javascript/mastodon/reducers/relationships.js 12 ajouts, 0 suppressionapp/javascript/mastodon/reducers/relationships.js
- app/services/concerns/author_extractor.rb 1 ajout, 1 suppressionapp/services/concerns/author_extractor.rb
- app/services/follow_service.rb 4 ajouts, 4 suppressionsapp/services/follow_service.rb
- app/services/process_mentions_service.rb 1 ajout, 1 suppressionapp/services/process_mentions_service.rb
- app/services/resolve_account_service.rb 21 ajouts, 11 suppressionsapp/services/resolve_account_service.rb
- app/workers/local_notification_worker.rb 10 ajouts, 3 suppressionsapp/workers/local_notification_worker.rb
- spec/controllers/authorize_interactions_controller_spec.rb 3 ajouts, 1 suppressionspec/controllers/authorize_interactions_controller_spec.rb
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter