383 Commits (872145d1c2aec709770de10579d2a4f83c601f37)

Author SHA1 Message Date
Takeshi Umeda a90243a712 Fixed missing account in MoveDistributionWorker (#11906)
5 years ago
Eugen Rochko 3ed94dcc1a
Add account migration UI (#11846)
5 years ago
Eugen Rochko 38dc51b2d6
Fix Move handler queuing jobs that will fail if account is suspended (#11864)
5 years ago
abcang c21386cff5 Improve IP cleanup query (#11871)
5 years ago
Eugen Rochko e8703c281e
Fix web push subscriptions being deleted on rate limit or timeout (#11826)
5 years ago
Eugen Rochko c5d37f18cb
Change deletes to preserve soft-deleted statuses in unresolved reports (#11805)
5 years ago
Eugen Rochko 031ca25014
Add retry for failed media downloads and `tootctl media refresh` (#11775)
5 years ago
Eugen Rochko 8674814825
Change tootctl to use inline parallelization instead of Sidekiq (#11776)
5 years ago
Eugen Rochko 70ddef2654
Change trending hashtags to not disappear instantly after midnight (#11712)
5 years ago
Eugen Rochko 282ea17078
Add soft delete for statuses for instant deletes through API (#11623)
5 years ago
Eugen Rochko 97192d9a77
Fix remote and staff-removed statuses leaving media behind for a day (#11638)
5 years ago
ThibG bced70469a Add domain block notes (#11515)
5 years ago
mayaeh 0d80f686d8 Add `tootctl preview_cards remove` (#11320)
5 years ago
Eugen Rochko bd87e66679
Remove WebSub subscriptions (#11303)
5 years ago
Eugen Rochko b3f44aa186
Add periodic removal of older thumbnails for preview cards (#11304)
5 years ago
han@highemelry 402302776c Change the retry limit in error of web push notification (#11292)
5 years ago
Eugen Rochko 5d3feed191
Refactor fetching of remote resources (#11251)
5 years ago
Eugen Rochko 406b46395d
Fix URLs appearing twice in errors of ActivityPub::DeliveryWorker (#11231)
5 years ago
Eugen Rochko 23aeef52cc
Remove Salmon and PubSubHubbub (#11205)
5 years ago
Eugen Rochko bc60d794f8
Change ActivityPub::DeliveryWorker to not retry HTTP 501 errors (#11233)
5 years ago
Eugen Rochko 0d9ffe56fb
Add request pool to improve delivery performance (#10353)
5 years ago
Eugen Rochko f2b743e715
Refactor all ActivityPub deliveries to be serialized and signed through one concern (#10966)
5 years ago
ThibG 9efcca3c54 Retry ActivityPub inbox delivery on HTTP 401 and 408 errors (#10812)
5 years ago
ThibG b85f216cbc Do not retry processing ActivityPub jobs raising validation errors (#10614)
5 years ago
ThibG cb71c95e22 Export and import show_reblogs together with following list (#10495)
6 years ago
ThibG d4882aa64a Export and import `hide_notifications` alongside user mutes (#10335)
6 years ago
Eugen Rochko f1bc90ab50
Rename :poll to :preloadable_poll and :owned_poll to :poll on Status (#10401)
6 years ago
ThibG 6b0eda14a1 Avoid race condition when streaming deleted statuses (#10280)
6 years ago
Eugen Rochko 6841d8fc74
Fix wrong method used in PollExpirationNotifyWorker (#10265)
6 years ago
Eugen Rochko 9f5b55ad4f
Fix poll update handler calling method was that was not available (#10246)
6 years ago
ThibG 3a92885a86 Support pushing and receiving updates to poll tallies (#10209)
6 years ago
ThibG df5924a1db Do not error out on unsalvageable errors in FetchRepliesService (#10175)
6 years ago
ThibG 9d3c6f1849 Improved remote thread fetching (#10106)
6 years ago
Eugen Rochko dad339da6d
Filter incoming Create activities by relation to local activity (#10005)
6 years ago
ThibG 99c4b5b75a Move sending account Delete to anyone but the account's followers to the pull̀ queue (#10016)
6 years ago
Eugen Rochko d14c276e58
Add option to overwrite imported data (#9962)
6 years ago
ysksn bcfff65195 Create Redisable#redis (#9633)
6 years ago
Eugen Rochko 31e7940de5
Fix multiple workers for the same scheduled status being queueable (#9875)
6 years ago
Eugen Rochko 1cbdf8d218
Fix wrong param name in scheduled statuses and return params in API (#9725)
6 years ago
Eugen Rochko 8ad57a0426
Fix PublishScheduledStatusWorker being queued with no arguments (#9724)
6 years ago
Eugen Rochko a49d43d112
Add scheduled statuses (#9706)
6 years ago
Eugen Rochko b17b2f25ac
Follow new account before unfollowing the old one during move (#9719)
6 years ago
Eugen Rochko 66436d0895
Improve e-mail digest (#9689)
6 years ago
ThibG 1d4215be77 Restore ReplyDistributionWorker to allow existing jobs to be processed (#9676)
6 years ago
ThibG 6fb6a53938 Avoid duplicate work by merging ReplyDistributionWorker into DistributionWorker (#9660)
6 years ago
ThibG 290932602b Reduce usage of LD signatures (#9659)
6 years ago
Eugen Rochko 0f938ff29c
Add handler for Move activity (#9629)
6 years ago
Eugen Rochko 628da11e38
Do no retry web push workers if the server returns a 4xx response (#9434)
6 years ago
Eugen Rochko 6ddf0432e7
Improve account suspension speed and completeness (#9290)
6 years ago
Eugen Rochko 11955600ad
Skip deliveries to inboxes that have already been marked as unavailable (#9358)
6 years ago
Eugen Rochko 6d59dfa15d
Optimize the process of following someone (#9220)
6 years ago
Eugen Rochko d4cf963749
Allow inbox owner to view implicitly targeted ActivityPub payload (#9093)
6 years ago
Eugen Rochko ddd30f331c
Improve support for aspects/circles (#8950)
6 years ago
Eugen Rochko 7f9dd92a27
Track historical space stats in PgHero to determine PostgreSQL growth (#8906)
6 years ago
Eugen Rochko 774ac47373
Add conversations API (#8832)
6 years ago
Eugen Rochko a46ab86adf
Limit the number of people that can be followed from one account (#8807)
6 years ago
Eugen Rochko f4d549d300
Redesign forms, verify link ownership with rel="me" (#8703)
6 years ago
Eugen Rochko cabdbb7f9c
Add CLI task for rotating keys (#8466)
6 years ago
Eugen Rochko 93537c5560
Disable retries on all scheduled tasks (#8413)
6 years ago
Eugen Rochko 793eea2982
Add improved CLI interface for removing remote media (#8411)
6 years ago
ThibG f06fa09962 Revert to using Paperclip's filesystem storage, and fix dangling records in remove_remote (#8339)
6 years ago
Eugen Rochko d98de8ada7
Get rid of all batch order warnings (#8334)
6 years ago
Eugen Rochko 91c929a42c
Keep scheduler jobs unique until they're done (#8287)
6 years ago
Eugen Rochko 7e2678f7f6
Fix ActivityPub::UpdateDistributionWorker regression (#8039)
6 years ago
Eugen Rochko e55dce3176
Add federation relay support (#7998)
6 years ago
Eugen Rochko 10f51c9886
Fix domain hiding logic (#7765)
6 years ago
Eugen Rochko ad40bf5e0c
Speed up some rake tasks by moving execution to Sidekiq (#7678)
6 years ago
takayamaki 587da93152 checking http status code with range (#7544)
6 years ago
Eugen Rochko 97f02f2c08
Do not raise delivery failure on 4xx errors, increase stoplight threshold (#7541)
6 years ago
Eugen Rochko b4fb766b23
Add REST API for Web Push Notifications subscriptions (#7445)
6 years ago
ThibG a24605961a Fixes/do not override timestamps (#7336)
6 years ago
ThibG 581a5c9d29 Fixes/do not override timestamps (#7331)
6 years ago
Eugen Rochko d5fa4fbcd2
Revert "Do not override timestamps for incoming toots" (#7330)
6 years ago
ThibG bd36791832 Do not override timestamps for incoming toots (#7326)
6 years ago
Eugen Rochko 658cbc9425
Improve PostStatusService performance (#7317)
6 years ago
Eugen Rochko cb5b5cb5f7
Slightly reduce RAM usage (#7301)
6 years ago
Eugen Rochko 778562c223
Ensure SynchronizeFeaturedCollectionWorker is unique and clean up (#7043)
7 years ago
Eugen Rochko d4de2239b0
Add a circuit breaker for ActivityPub deliveries (#7053)
7 years ago
Eugen Rochko f1867a7388
Adjust privacy policy (#6666)
7 years ago
Akihiko Odaki 40e5d2303b Validate HTTP response length while receiving (#6891)
7 years ago
Akihiko Odaki 54b273bf99 Close http connection in perform method of Request class (#6889)
7 years ago
Eugen Rochko 9e3a6d6784
Log BackupWorker backtrace, delete Backup if retries exhausted (#6769)
7 years ago
Eugen Rochko 9110db41c5
Federate pinned statuses over ActivityPub (#6610)
7 years ago
Eugen Rochko 61ed133fea
Account archive download (#6460)
7 years ago
Akihiko Odaki 613e7c7521 Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
7 years ago
ThibG a0de3222dd Retry delivering toots over ActivityPub for about 2 days (#6298)
7 years ago
Eugen Rochko 7badad7797
Fix home regeneration (#6251)
7 years ago
Eugen Rochko ed867eca9d
Move e-mail digest task to sidekiq, reduce workload, improve hint (#6252)
7 years ago
ThibG 10f6793fd0 Fix PuSH workers (#6200)
7 years ago
Eugen Rochko d68868ca14
Lists redis clean-up (#5886)
7 years ago
Eugen Rochko 85e97ecab6
Fix too many forwards (#5854)
7 years ago
Eugen Rochko 24cafd73a2
Lists (#5703)
7 years ago
ThibG 2b1190065c Retry thread resolving (#5599)
7 years ago
Eugen Rochko 1032f3994f
Add ability to disable login and mark accounts as memorial (#5615)
7 years ago
aschmitz 554c2fd8af Clean up reblog tracking keys, related improvements (#5428)
7 years ago
Eugen Rochko 34118169ac Keep references to all reblogs of a status on home feed (#5419)
7 years ago
abcang 2eab41cd1a Close connection when succeeded posting (#5390)
7 years ago
Eugen Rochko 0717d9b3e6 Set snowflake IDs for backdated statuses (#5260)
7 years ago
unarist 5c8ca024ef Improve error handling on LinkCrawlWorker (#5250)
7 years ago
Eugen Rochko cdd5ef691b Use separate workers to process imports, retry failures (#5207)
7 years ago
ThibG f7c909e290 Retry ActivityPub delivery a few more times (#5014)
7 years ago
Eugen Rochko f4ca116ea8 After 7 days of repeated delivery failures, give up on inbox (#5131)
7 years ago
abcang 3d9b8847d2 Flush body when POST requests (#5128)
7 years ago
Eugen Rochko e528114c53 Follow-up to #4582 and #5027, removing dead code (#5101)
7 years ago
Daigo 3 Dango a0bbeafb04 Suppress backtrace when failed to communicate with a remote instance (#5076)
7 years ago
unarist 0698c610a6 Fix an error in ReplyDistributionWorker when replied status was deleted (#4974)
7 years ago
sdukhovni 67559361e8 Add scheduled worker to purge old user IPs (#4951)
7 years ago
abcang 1aad015bbb Revert unique retry job (#4937)
7 years ago
ThibG af00220d79 Fix refollowing (#4931)
7 years ago
ThibG f29918e707 [WiP] Whenever a remote keypair changes, unfollow them and re-subscribe to … (#4907)
7 years ago
Eugen Rochko 7d7844a47f Default follows for new users (#4871)
7 years ago
Eugen Rochko e7adbf572a Switch to static URIs, new URI format in both protocols for new statuses (#4815)
7 years ago
abcang be7ffa2d75 Do not execute the job with the same arguments as the retry job (#4814)
7 years ago
Eugen Rochko a187dcefa1 Instantly upgrade account to ActivityPub if we receive ActivityPub payload (#4766)
7 years ago
Eugen Rochko 7b8f262840 Forward ActivityPub creates that reply to local statuses (#4709)
7 years ago
Eugen Rochko 4c76402ba1 Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730)
7 years ago
Eugen Rochko 0397c58b61 Forward ActivityPub deletes to followers of rebloggers (#4706)
7 years ago
Eugen Rochko 00840f4f2e Add handling of Linked Data Signatures in payloads (#4687)
7 years ago
masarakki 649a20ab46 authorize-follow-requests-after-unlocking (#4658)
7 years ago
Eugen Rochko cf615abbf9 Add configuration to disable private status federation over PuSH (#4582)
7 years ago
Eugen Rochko f391a4673a Periodically remove expired PuSH subscribers (#4654)
7 years ago
Eugen Rochko 6e9eda5331 ActivityPub migration procedure (#4617)
7 years ago
Eugen Rochko 412ea87306 Improve ActivityPub/OStatus compatibility (#4632)
7 years ago
Eugen Rochko b7370ac8ba ActivityPub delivery (#4566)
7 years ago
Eugen Rochko 3d47154c20 Only PuSH-resubscribe to OStatus accounts (#4583)
7 years ago
Eugen Rochko dd7ef0dc41 Add ActivityPub inbox (#4216)
7 years ago
Yamagishi Kazutoshi 3e7a541e09 Change RuboCop rules to loose (#4464)
7 years ago
Eugen Rochko 4e2f2fab73 Fix guard clause in WebPushNotificationWorker (#4421)
7 years ago
Eugen Rochko 6e186b9c77 When PuSH subscribe attempts are exhausted, unsubscribe (#4422)
7 years ago
Clworld 994d948c39 Add callback_url/acct information for Sidekiq PuSH workers Exception. (#4281)
7 years ago
Sorin Davidoi 8b43d6bf9c fix(web_push_notification_worker): Guard against deleted notifications (#4379)
7 years ago
Eugen Rochko 467456f7a1 Move clean up of unconfirmed users to sidekiq-scheduler (#4336)
7 years ago
Eugen Rochko 1fcdaafa6f Fix webfinger retries (#4275)
7 years ago
Eugen Rochko a5a07da892 Correct OStatus inflection (Ostatus -> OStatus) (#4255)
7 years ago
Akihiko Odaki 89b988cab5 Introduce Ostatus name space (#4164)
7 years ago
Sorin Davidoi 8387b3928e fix(push-subscriptions): Refactor how Sidekiq jobs are handled (#4226)
7 years ago
Akihiko Odaki 7f35947d8e Improve a query in WebPushNotificationWorker (#4234)
7 years ago
Akihiko Odaki 68941d4dfa Use update method to update session in WebPushNotificationWorker (#4235)
7 years ago
ThibG 05cd37097c Optimize uri normalization (#4212)
7 years ago
Eugen Rochko cd9b2ab2f7 Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205)
7 years ago
Eugen Rochko 1618b68bfa HTTP signatures (#4146)
7 years ago
Sorin Davidoi 0c7c188c45 Web Push Notifications (#3243)
7 years ago
Eugen Rochko 34ccc058fa Limit total subscribe retries to 10, but space them out more (#4142)
7 years ago
Eugen Rochko 8b2cad5637 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090)
7 years ago
Eugen Rochko ed7dc1704d Bind web UI access tokens to sessions (#3940)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) e27f792c24 Some minor change and spec for Account (#3813)
7 years ago
Eugen Rochko f3be605286 Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
7 years ago
Eugen Rochko e17c2e5da5 Batched remove status service (#3735)
7 years ago
Eugen Rochko 4a618908e8 Account deletion (#3728)
7 years ago
takayamaki 3eedad2737 change sidekiq queueing to bulk push (#3536)
7 years ago
Matt Jankowski ec34ec63b1 Specs for cleanup workers (#3235)
7 years ago
Eugen Rochko ef900789bc Replace mastodon:media:clear and mastodon:feeds:clear rake tasks with (#3180)
7 years ago
Matt Jankowski d2e0edd721 Add spec coverage for regeneration worker (#3143)
7 years ago
Matt Jankowski db4119f971 Specs for precompute feed service (#3142)
7 years ago
Matt Jankowski 8ec8410651 After remote follow worker specs (#3098)
7 years ago
Eugen Rochko 657496b5a9 Do not cancel PuSH subscriptions after encountering "permanent" error… (#3046)
7 years ago
Matt Jankowski 0d70fe2659 Spec coverage and refactor for pubsub/delivery worker (#3021)
7 years ago
Matt Jankowski 08949cca41 Pubsub confirmation worker spec (#2974)
7 years ago
Matt Jankowski cc9a6a710f Spec feed insert worker (#2965)
7 years ago
Matt Jankowski d142544159 Spec coverage and refactor of digest mailer worker (#2961)
7 years ago
Eugen Rochko 3a38322a54 Add spec for Pubsubhubbub::DistributionWorker. PuSH-deliver public items (#2954)
7 years ago
haoyayoi 2fba94b36e add content-type in pubsubhubhub request header (#2943)
7 years ago
Eugen Rochko b8e166894b Fix Scheduler::SubscriptionsScheduler (#2834)
7 years ago
Eugen Rochko 81584779cb More robust PuSH subscription refreshes (#2799)
7 years ago
Eugen 17c591ffba Punycode URI normalization (#2370)
8 years ago
Eugen 501514960a Followers-only post federation (#2111)
8 years ago
Matt Jankowski c44a700252 Quick best practice cleanup of views/helpers (#1546)
8 years ago
Matt Jankowski 7f0a865b05 Allow import/export of mutes list (#1541)
8 years ago
Matt Jankowski 89e8e110c8 Imports controller errors (#1553)
8 years ago
Jantso Porali e30bbb1cb0 Fix for Import issue from URL (#1416)
8 years ago
Eugen 982fef811e Fix #1141, fix #1126 - Avatar/profile info fetching (#1215)
8 years ago
Eugen 6d6a429af8 Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124)
8 years ago
blackle 540d6efe88 Catch more errors in process_follows so it doesn't fail
8 years ago
Eugen Rochko 5442083b3c Split SalmonWorker into smaller parts, move profile updating into another job
8 years ago
Eugen Rochko 5b95be1c42 Replace calls to FeedManager#inline_render and #broadcast
8 years ago
Eugen c9ebd5d19f Fix wrong variable used in publish channel
8 years ago
Eugen 1b8c244dff Add proper message to PushUpdateWorker, use redis directly
8 years ago
Eugen 3d8b80e1cc Merge branch 'master' into broadcast-to-worker
8 years ago
Eugen Rochko 220bc48e8e Only render public payload once in FanOutOnWrite
8 years ago
Kurtis Rainbolt-Greene 22dcadedb4 We're going to want these nice helper methods, lets share them with a parent class that matches Rails 5 practices (application level abstraction)
8 years ago
Kurtis Rainbolt-Greene 9638894233 Moving in the inline render
8 years ago
Kurtis Rainbolt-Greene 220051b8b2 I don't actually think we need that.
8 years ago
Kurtis Rainbolt-Greene 0069c01285 Moving the queue_at into the worker
8 years ago
Kurtis Rainbolt-Greene 96ef933820 Replacing the broadcast method with the one defined in the feed manager
8 years ago
Kurtis Rainbolt-Greene 1e96ce378e By pushing this into a worker we can reduce the amount of time the feed manager using workers eat up a connection
8 years ago
Eugen Rochko bda37489ac Remove PuSH subscriptions when delivery is answered with a 4xx error
8 years ago
Eugen Rochko 6fd865c000 Spawn FeedInsertWorker to deliver status into personal feed
8 years ago
Eugen Rochko 82aaedec46 Reduce number of items in feeds, optimize regeneration worker slightly,
8 years ago
Eugen Rochko b21f7c28f6 Move OStatus processing back into default queue
8 years ago
Eugen Rochko b510a56c0c Only call regeneration worker after first login after a 14 day break
8 years ago
Eugen Rochko f722bd2387 Separate background jobs into different queues. ATTENTION: new queue "pull"
8 years ago
Eugen Rochko b7c1b12367 Make default admin UI page reports. Add admin UI for creating a domain block
8 years ago
Eugen Rochko e8875c6046 Import feature for following/blocking lists (addresses #62, #177, #201, #454)
8 years ago
Eugen Rochko 6b81d10030 Add digest e-mails
8 years ago
Eugen Rochko 40a4053732 Disable PuSH for blocked domains
8 years ago
Eugen Rochko 720ff55262 Adding more unit tests. Fixing Salmon slaps XML
8 years ago
Eugen Rochko db814543c0 Take out private toot distribution out of PuSH again
8 years ago
Eugen Rochko 446aad4ce2 Make PuSH only distribute to subscriptions that match follower domains
8 years ago
Eugen Rochko 00b5731ecb After FollowService, re-fetch remote account asynchronously, do nothing
8 years ago
Eugen Rochko 149887a0ff Make follow requests federate
8 years ago