Commit Graph

371 Commits (5e1752ce3f21a06287d0a0821c02835c06227441)

Author SHA1 Message Date
Claire 4658263b4a
Fix re-activated accounts being deleted by AccountDeletionWorker ()
Emelia Smith 3a91603b15
Prevent UserCleanupScheduler from overwhelming streaming ()
Eugen Rochko 4eda233e09
Add webhook templating ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Nick Schonning 99e2e9b81f
Fix minor typos in comments and spec names ()
Claire c3c7d59072
Fix infinite loop in AccountsStatusesCleanupScheduler ()
Claire a2a22bad23
Fix various edge cases with local moves ()
Claire c98b012583
Change Move handler to also move list memberships ()
Claire 8b636a29c6
Improve automatic post cleanup worker performances ()
Matt Jankowski f1c1dd0118
Rename `with_lock` to `with_redis_lock` to avoid confusion with ActiveRecord's method ()
Claire 32a030dd74
Rewrite import feature ()
Claire 5dc3173ef8
Fix AccountsStatusesCleanupScheduler not spreading deletes across accounts correctly ()
Claire 501d6197c4
Change automatic post deletion thresholds and load detection ()
Vyr Cossont d5ad8b6422
Fix Redis client and type errors introduced in ()
Vyr Cossont 7646ad8a2b
IndexingScheduler: fetch and import in batches ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Christian Schmidt eb38e9df31
Requeue expiration notification ()
Vyr Cossont 94cbd808b5
Webhooks for local status.create, status.update, account.update ()
Claire 1d0ad558ff
Change sidekiq-bulk's batch size from 10,000 to 1,000 jobs in one Redis call ()
Jean byroot Boussier 922837dc96
Upgrade to latest redis-rb 4.x and fix deprecations ()
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
Nick Schonning b00f945d92
Remove implied StandardError rescue ()
Claire 050f1669c6
Fix original account being unfollowed on migration before the follow request could be sent ()
Claire ddde4e0d95
Change `ActivityPub::DeliveryWorker` retries to be spread out more ()
Claire 20b80c62ff
Change auto-deletion throttling constants to better scale with server size ()
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules ()
Nick Schonning 21bf326356
Autofix Rubocop Rails/Pluck ()
Nick Schonning 2177daeae9
Autofix Rubocop Style/RedundantBegin ()
Nick Schonning a6f77aa28a
Autofix Rubocop Lint/AmbiguousOperatorPrecedence ()
Claire 0c9eac80d8
Fix unbounded recursion in post discovery ()
* Add a limit to how many posts can get fetched as a result of a single request

* Add tests

* Always pass `request_id` when processing `Announce` activities

---------

Co-authored-by: nametoolong <nametoolong@users.noreply.github.com>
Nick Schonning cec005068f
Apply Rubocop Performance/RedundantBlockCall ()
Nick Schonning ed570050c6
Autofix Rails/EagerEvaluationLogMessage ()
* Autofix Rails/EagerEvaluationLogMessage

* Update spec for debug block syntax
Claire 9edefc779f
Fix `UserCleanupScheduler` crash when an unconfirmed account has a moderation note ()
* Fix `UserCleanupScheduler` crash when an unconfirmed account has a moderation note

* Add tests
luzpaz 596923da4a
Fix typos in source documentation ()
Fixed 2 source comment/documentation typos
Eugen Rochko f8e8e622e5
Change incoming activity processing to happen in `ingress` queue ()
Claire 5333447be0
Change account deletion requests to spread out over time ()
Eugen Rochko e98833748e
Fix being able to spoof link verification ()
- Change verification to happen in `default` queue
- Change verification worker to only be queued if there's something to do
- Add `link` tags from metadata fields to page header of profiles
Claire 5925a31b78
Fix followers count not being updated when migrating follows ()
Fixes 
Eugen Rochko d0c9ac3919
Fix indexing scheduler trying to index when Elasticsearch is disabled ()
Fix 
Eugen Rochko 5f9e47be34
Add caching for payload serialization during fan-out ()
Claire 6804228fdf
Fix N+1 on mentions in PushUpdateWorker ()
Claire 03d9618595
Fix UserCleanupScheduler crash when an unconfirmed account has a moderation note ()
Fixes 
Eugen Rochko bf0ab3e0fa
Fix vacuum scheduler missing lock, locks never expiring ()
Remove vacuuming of orphaned preview cards
Takeshi Umeda 74ead7d106
Change featured tag updates to add/remove activity ()
* Change featured tag updates to add/remove activity

* Fix to check for the existence of feature tag

* Rename service and worker

* Merge AddHashtagSerializer with AddSerializer

* Undo removal of sidekiq_options
Takeshi Umeda b0e3f0312c
Add synchronization of remote featured tags ()
* Add LIMIT of featured tag to instance API response

* Add featured_tags_collection_url to Account

* Add synchronization of remote featured tags

* Deliver update activity when updating featured tag

* Remove featured_tags_collection_url

* Revert "Add featured_tags_collection_url to Account"

This reverts commit cff349fc27.

* Add hashtag sync from featured collections

* Fix tag name normalize

* Add target option to fetch featured collection

* Refactor fetch_featured_tags_collection_service

* Add LIMIT of featured tag to v1/instance API response
Eugen Rochko 5c9abdeff1
Add retention policy for cached content and media ()
Claire 8cf7006d4e
Refactor ActivityPub handling to prepare for non-Account actors ()
* Move ActivityPub::FetchRemoteAccountService to ActivityPub::FetchRemoteActorService

ActivityPub::FetchRemoteAccountService is kept as a wrapper for when the actor is
specifically required to be an Account

* Refactor SignatureVerification to allow non-Account actors

* fixup! Move ActivityPub::FetchRemoteAccountService to ActivityPub::FetchRemoteActorService

* Refactor ActivityPub::FetchRemoteKeyService to potentially return non-Account actors

* Refactor inbound ActivityPub payload processing to accept non-Account actors

* Refactor inbound ActivityPub processing to accept activities relayed through non-Account

* Refactor how Account key URIs are built

* Refactor Request and drop unused key_id_format parameter

* Rename ActivityPub::Dereferencer `signature_account` to `signature_actor`
Eugen Rochko 50948b46aa
Add ability to filter followed accounts' posts by language ()
Eugen Rochko 0b3e4fd5de
Remove digest e-mails ()
* Remove digest e-mails

* Remove digest-related code
Eugen Rochko c3f0621a59
Add ability to follow hashtags ()
Jeremy Kescher 25e076505e
ip_cleanup_scheduler: Make IP and session retention configurable ()
Eugen Rochko a2871cd747
Add administrative webhooks ()
* Add administrative webhooks

* Fix error when webhook is deleted before delivery worker runs
Jeong Arm fed7380e9f
Prevent use locale with empty string ()
Somehow user's locale could be an empty string, And empty string itself
are treated as true value.