256 Commits (1bfa9149ee64f86ca62031ed4d84b70f2a9e86e8)

Author SHA1 Message Date
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)
8 years ago
Eugen Rochko f3be605286 Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
8 years ago
Eugen Rochko e17c2e5da5 Batched remove status service (#3735)
8 years ago
Eugen Rochko 4a618908e8 Account deletion (#3728)
8 years ago
takayamaki 3eedad2737 change sidekiq queueing to bulk push (#3536)
8 years ago
Matt Jankowski ec34ec63b1 Specs for cleanup workers (#3235)
8 years ago
Eugen Rochko ef900789bc Replace mastodon:media:clear and mastodon:feeds:clear rake tasks with (#3180)
8 years ago
Matt Jankowski d2e0edd721 Add spec coverage for regeneration worker (#3143)
8 years ago
Matt Jankowski db4119f971 Specs for precompute feed service (#3142)
8 years ago
Matt Jankowski 8ec8410651 After remote follow worker specs (#3098)
8 years ago
Eugen Rochko 657496b5a9 Do not cancel PuSH subscriptions after encountering "permanent" error… (#3046)
8 years ago
Matt Jankowski 0d70fe2659 Spec coverage and refactor for pubsub/delivery worker (#3021)
8 years ago
Matt Jankowski 08949cca41 Pubsub confirmation worker spec (#2974)
8 years ago
Matt Jankowski cc9a6a710f Spec feed insert worker (#2965)
8 years ago
Matt Jankowski d142544159 Spec coverage and refactor of digest mailer worker (#2961)
8 years ago
Eugen Rochko 3a38322a54 Add spec for Pubsubhubbub::DistributionWorker. PuSH-deliver public items (#2954)
8 years ago
haoyayoi 2fba94b36e add content-type in pubsubhubhub request header (#2943)
8 years ago
Eugen Rochko b8e166894b Fix Scheduler::SubscriptionsScheduler (#2834)
8 years ago
Eugen Rochko 81584779cb More robust PuSH subscription refreshes (#2799)
8 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
Eugen Rochko 19b9e1e2c3 Preheat status cache
8 years ago
Eugen Rochko 3f075c7794 API for apps to register for push notifications
8 years ago
Eugen Rochko 8a880a3d46 Make blocks create entries and unfollows instantly, but do the clean up
8 years ago
Eugen Rochko cca82bf0a2 Move merging/unmerging of timelines into background. Move blocking into
8 years ago
Eugen Rochko f0de621e76 Fix #463 - Fetch and display previews of URLs using OpenGraph tags
8 years ago
Eugen Rochko 6c28886317 Improve background jobs params and error handling
8 years ago
Eugen Rochko 86be6d48c9 Fix accidental distribution of hidden stream entries to PuSH subscribers
8 years ago
Eugen Rochko 49834a6e7f Add API for retrieving blocked accounts
8 years ago
Eugen Rochko 4c6809f6ab Adding some rescues to workers, e.g. don't fail removal job when status can't be found in the first place (already removed)
8 years ago
Eugen Rochko 0542773bca Make unfavouriting async to prevent timeout errors from leaving orphaned records behind
8 years ago
Eugen Rochko 6de079a5af Removing external hub completely, fix #333 fixing digit-only hashtags,
8 years ago
Eugen Rochko 668013265c Restoring old async behaviour of thread resolving as it proved to be more robust
8 years ago
Eugen Rochko f90133d2ad Thread resolving no longer needs to be separate from ProcessFeedService,
8 years ago
Eugen Rochko f406e01fcf Add filters for suspended accounts
8 years ago
Eugen Rochko 58b3f4fd67 Fix #329 - avatar errors no longer prevent remote accounts from being saved
8 years ago
Eugen Rochko 4a2347da41 Track successful PuSH deliveries
8 years ago
Eugen Rochko 93a90cd9c3 Delete statuses asynchronously but provide instant feedback in the API
8 years ago
Eugen Rochko cc70f28f19 Adding rack timeout of 30sec, PuSH jobs moved to push queue so they
8 years ago
Eugen Rochko 4e351baf88 Fix URLs in inline-rendered XML
8 years ago
Eugen Rochko 3ba6531611 Fix setting of confirmed=true on successful confirmation
8 years ago
Eugen Rochko 50638174c8 More logging to ConfirmationWorker
8 years ago
Eugen Rochko 4eba76711b Adding backtracing to Salmon/Processing workers
8 years ago
Eugen Rochko 2d2c81765b Adding embedded PuSH server
8 years ago
Eugen Rochko 45c7ee39b3 Remove unneeded indices, improve error handling in background workers, don't needlessly reload reblogged status, send Devise e-mails asynchronously
8 years ago
Eugen Rochko 7dea6a23f7 Move Salmon processing to background as well as PuSH
8 years ago
Eugen Rochko fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko a91c3ef6ce Delegate processing of incoming PuSH data to background workers
8 years ago