341 Commits (2a98aad36db07789933df2731be0424ed6950d5e)

Author SHA1 Message Date
Eugen Rochko 6936271536 Improve e-mail digest (#9689)
6 years ago
ThibG e29480083a Restore ReplyDistributionWorker to allow existing jobs to be processed (#9676)
6 years ago
ThibG 0244534700 Avoid duplicate work by merging ReplyDistributionWorker into DistributionWorker (#9660)
6 years ago
ThibG bdc44c3558 Reduce usage of LD signatures (#9659)
6 years ago
Eugen Rochko 4e3131f02f Add handler for Move activity (#9629)
6 years ago
Eugen Rochko 26140838c4 Do no retry web push workers if the server returns a 4xx response (#9434)
6 years ago
Eugen Rochko 626a544d08 Improve account suspension speed and completeness (#9290)
6 years ago
Eugen Rochko 12ee020187 Skip deliveries to inboxes that have already been marked as unavailable (#9358)
6 years ago
Eugen Rochko 5f613d55e6 Optimize the process of following someone (#9220)
6 years ago
Eugen Rochko b110105a53 Allow inbox owner to view implicitly targeted ActivityPub payload (#9093)
6 years ago
Eugen Rochko 654520ec8c Improve support for aspects/circles (#8950)
6 years ago
Eugen Rochko ad0f37e924 Track historical space stats in PgHero to determine PostgreSQL growth (#8906)
6 years ago
Eugen Rochko c9b5168ebd Add conversations API (#8832)
6 years ago
Eugen Rochko 48c2ab8cf5 Limit the number of people that can be followed from one account (#8807)
6 years ago
Eugen Rochko d3105031f8 Redesign forms, verify link ownership with rel="me" (#8703)
6 years ago
Eugen Rochko 1d319c531e Add CLI task for rotating keys (#8466)
6 years ago
Eugen Rochko fddae332aa Disable retries on all scheduled tasks (#8413)
6 years ago
Eugen Rochko e6e845f74d Add improved CLI interface for removing remote media (#8411)
6 years ago
ThibG 97f2dc6761 Revert to using Paperclip's filesystem storage, and fix dangling records in remove_remote (#8339)
6 years ago
Eugen Rochko fe88a4f42c Get rid of all batch order warnings (#8334)
6 years ago
Eugen Rochko a03de03ba2 Keep scheduler jobs unique until they're done (#8287)
6 years ago
Eugen Rochko 77d8396217 Fix ActivityPub::UpdateDistributionWorker regression (#8039)
6 years ago
Eugen Rochko 171c20ce72 Add federation relay support (#7998)
6 years ago
Eugen Rochko b051d74029 Fix domain hiding logic (#7765)
6 years ago
Eugen Rochko 49a0a3a8a2 Speed up some rake tasks by moving execution to Sidekiq (#7678)
6 years ago
takayamaki 1f83fdff89 checking http status code with range (#7544)
6 years ago
Eugen Rochko c3fbb857a0 Do not raise delivery failure on 4xx errors, increase stoplight threshold (#7541)
6 years ago
Eugen Rochko e86a4fe36b Add REST API for Web Push Notifications subscriptions (#7445)
6 years ago
ThibG f2ecedaab5 Fixes/do not override timestamps (#7336)
6 years ago
ThibG 9c1e1005f4 Fixes/do not override timestamps (#7331)
6 years ago
Eugen Rochko 9bd3723f06 Revert "Do not override timestamps for incoming toots" (#7330)
6 years ago
ThibG b6f4e83c93 Do not override timestamps for incoming toots (#7326)
6 years ago
Eugen Rochko ba4e838b7f Improve PostStatusService performance (#7317)
6 years ago
Eugen Rochko ca1c696dbd Slightly reduce RAM usage (#7301)
6 years ago
Eugen Rochko 1343b9f329 Ensure SynchronizeFeaturedCollectionWorker is unique and clean up (#7043)
7 years ago
Eugen Rochko a814aa8e4d Add a circuit breaker for ActivityPub deliveries (#7053)
7 years ago
Eugen Rochko e54b79a777 Adjust privacy policy (#6666)
7 years ago
Akihiko Odaki acece7a2e6 Validate HTTP response length while receiving (#6891)
7 years ago
Akihiko Odaki 11c19f6cc9 Close http connection in perform method of Request class (#6889)
7 years ago
Eugen Rochko 3a29705806 Log BackupWorker backtrace, delete Backup if retries exhausted (#6769)
7 years ago
Eugen Rochko b1f8dfd3cf Federate pinned statuses over ActivityPub (#6610)
7 years ago
Eugen Rochko f6884555d7 Account archive download (#6460)
7 years ago
Akihiko Odaki b5162e2aff Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
7 years ago
ThibG 30df8fc679 Retry delivering toots over ActivityPub for about 2 days (#6298)
7 years ago
Eugen Rochko 9cfbbbce1f Fix home regeneration (#6251)
7 years ago
Eugen Rochko 67ee638c28 Move e-mail digest task to sidekiq, reduce workload, improve hint (#6252)
7 years ago
ThibG 0a8dd8fdd3 Fix PuSH workers (#6200)
7 years ago
Eugen Rochko ff4c28a305 Lists redis clean-up (#5886)
7 years ago
Eugen Rochko 2421fd745a Fix too many forwards (#5854)
7 years ago
Eugen Rochko e149067561 Lists (#5703)
7 years ago
ThibG df882d5a59 Retry thread resolving (#5599)
7 years ago
Eugen Rochko 7f1a0241c1 Add ability to disable login and mark accounts as memorial (#5615)
7 years ago
aschmitz 4dbdda6b89 Clean up reblog tracking keys, related improvements (#5428)
7 years ago
Eugen Rochko 7571d79c8d Keep references to all reblogs of a status on home feed (#5419)
7 years ago
abcang 7c1f3173bb Close connection when succeeded posting (#5390)
7 years ago
Eugen Rochko 007fce8c10 Set snowflake IDs for backdated statuses (#5260)
7 years ago
unarist 4acb1c73dd Improve error handling on LinkCrawlWorker (#5250)
7 years ago
Eugen Rochko 1bf2afddcf Use separate workers to process imports, retry failures (#5207)
7 years ago
ThibG ba3e2a0c38 Retry ActivityPub delivery a few more times (#5014)
7 years ago
Eugen Rochko cb8ecac1ce After 7 days of repeated delivery failures, give up on inbox (#5131)
7 years ago
abcang 292f489301 Flush body when POST requests (#5128)
7 years ago
Eugen Rochko 10a2b3dd4c Follow-up to #4582 and #5027, removing dead code (#5101)
7 years ago
Daigo 3 Dango e7624bfaae Suppress backtrace when failed to communicate with a remote instance (#5076)
7 years ago
unarist 5ae5cb40b1 Fix an error in ReplyDistributionWorker when replied status was deleted (#4974)
7 years ago
sdukhovni 1fb5e3b009 Add scheduled worker to purge old user IPs (#4951)
7 years ago
abcang 579a7c2654 Revert unique retry job (#4937)
7 years ago
ThibG aaac0c5556 Fix refollowing (#4931)
7 years ago
ThibG 284c777b19 [WiP] Whenever a remote keypair changes, unfollow them and re-subscribe to … (#4907)
7 years ago
Eugen Rochko 6628ea4a82 Default follows for new users (#4871)
7 years ago
Eugen Rochko 73c613dcfc Switch to static URIs, new URI format in both protocols for new statuses (#4815)
7 years ago
abcang 892aeb7ffe Do not execute the job with the same arguments as the retry job (#4814)
7 years ago
Eugen Rochko 8b4bddf1c9 Instantly upgrade account to ActivityPub if we receive ActivityPub payload (#4766)
7 years ago
Eugen Rochko ca76d11434 Forward ActivityPub creates that reply to local statuses (#4709)
7 years ago
Eugen Rochko 3135d20283 Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730)
7 years ago
Eugen Rochko c423a3463b Forward ActivityPub deletes to followers of rebloggers (#4706)
7 years ago
Eugen Rochko 5147147da9 Add handling of Linked Data Signatures in payloads (#4687)
7 years ago
masarakki d8f136cb8b authorize-follow-requests-after-unlocking (#4658)
7 years ago
Eugen Rochko cab7fa158a Add configuration to disable private status federation over PuSH (#4582)
7 years ago
Eugen Rochko 0268b334ae Periodically remove expired PuSH subscribers (#4654)
7 years ago
Eugen Rochko 1a19358b24 ActivityPub migration procedure (#4617)
7 years ago
Eugen Rochko aee1db8fa1 Improve ActivityPub/OStatus compatibility (#4632)
7 years ago
Eugen Rochko 5516767c75 ActivityPub delivery (#4566)
7 years ago
Eugen Rochko b33ac4a307 Only PuSH-resubscribe to OStatus accounts (#4583)
7 years ago
Eugen Rochko f18739fd60 Add ActivityPub inbox (#4216)
7 years ago
Yamagishi Kazutoshi f95fca19d4 Change RuboCop rules to loose (#4464)
7 years ago
Eugen Rochko 64a6609d3e Fix guard clause in WebPushNotificationWorker (#4421)
7 years ago
Eugen Rochko a8631a9aac When PuSH subscribe attempts are exhausted, unsubscribe (#4422)
7 years ago
Clworld 0c86b36cac Add callback_url/acct information for Sidekiq PuSH workers Exception. (#4281)
7 years ago
Sorin Davidoi eb30328beb fix(web_push_notification_worker): Guard against deleted notifications (#4379)
7 years ago
Eugen Rochko 97dda48f70 Move clean up of unconfirmed users to sidekiq-scheduler (#4336)
7 years ago
Eugen Rochko 75ab767791 Fix webfinger retries (#4275)
7 years ago
Eugen Rochko 3852032953 Correct OStatus inflection (Ostatus -> OStatus) (#4255)
7 years ago
Akihiko Odaki b0f97d9a87 Introduce Ostatus name space (#4164)
7 years ago
Sorin Davidoi 3d4ae604b8 fix(push-subscriptions): Refactor how Sidekiq jobs are handled (#4226)
7 years ago
Akihiko Odaki 6eff4496e3 Improve a query in WebPushNotificationWorker (#4234)
7 years ago
Akihiko Odaki 71a02eb2d9 Use update method to update session in WebPushNotificationWorker (#4235)
7 years ago
ThibG 9c1791c546 Optimize uri normalization (#4212)
7 years ago
Eugen Rochko c6e46f7421 Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205)
7 years ago
Eugen Rochko c5fa4aba91 HTTP signatures (#4146)
7 years ago
Sorin Davidoi ecab38fd66 Web Push Notifications (#3243)
7 years ago
Eugen Rochko af4835f176 Limit total subscribe retries to 10, but space them out more (#4142)
7 years ago
Eugen Rochko 20e15ecfb3 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090)
7 years ago
Eugen Rochko ad531f90b1 Bind web UI access tokens to sessions (#3940)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 561ca10d86 Some minor change and spec for Account (#3813)
7 years ago
Eugen Rochko 8bed91d94c Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
7 years ago
Eugen Rochko 6f8f401ea1 Batched remove status service (#3735)
7 years ago
Eugen Rochko 1c7e2ddd65 Account deletion (#3728)
7 years ago
takayamaki aa6740c21b change sidekiq queueing to bulk push (#3536)
7 years ago
Matt Jankowski 0eb8b00cc9 Specs for cleanup workers (#3235)
7 years ago
Eugen Rochko b51beb6486 Replace mastodon:media:clear and mastodon:feeds:clear rake tasks with (#3180)
7 years ago
Matt Jankowski c8f8629c7e Add spec coverage for regeneration worker (#3143)
7 years ago
Matt Jankowski 4423ed3557 Specs for precompute feed service (#3142)
7 years ago
Matt Jankowski b3f0e6f7b9 After remote follow worker specs (#3098)
7 years ago
Eugen Rochko 83b444ddab Do not cancel PuSH subscriptions after encountering "permanent" error… (#3046)
7 years ago
Matt Jankowski dc59643e73 Spec coverage and refactor for pubsub/delivery worker (#3021)
7 years ago
Matt Jankowski 60fa69399c Pubsub confirmation worker spec (#2974)
7 years ago
Matt Jankowski cd8fc8031f Spec feed insert worker (#2965)
7 years ago
Matt Jankowski cd3630e3d1 Spec coverage and refactor of digest mailer worker (#2961)
7 years ago
Eugen Rochko 221898cc90 Add spec for Pubsubhubbub::DistributionWorker. PuSH-deliver public items (#2954)
7 years ago
haoyayoi a5ad348182 add content-type in pubsubhubhub request header (#2943)
7 years ago
Eugen Rochko 78b890cc81 Fix Scheduler::SubscriptionsScheduler (#2834)
7 years ago
Eugen Rochko c32e312061 More robust PuSH subscription refreshes (#2799)
7 years ago
Eugen 87f7a3922c Punycode URI normalization (#2370)
8 years ago
Eugen f89e26bdd5 Followers-only post federation (#2111)
8 years ago
Matt Jankowski d1ebb63c54 Quick best practice cleanup of views/helpers (#1546)
8 years ago
Matt Jankowski bf7306636e Allow import/export of mutes list (#1541)
8 years ago
Matt Jankowski db979ebcee Imports controller errors (#1553)
8 years ago
Jantso Porali 4def9924d7 Fix for Import issue from URL (#1416)
8 years ago
Eugen 697e4da6cb Fix #1141, fix #1126 - Avatar/profile info fetching (#1215)
8 years ago
Eugen 24c77e57b2 Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124)
8 years ago
blackle 70f485a9e7 Catch more errors in process_follows so it doesn't fail
8 years ago
Eugen Rochko cd68e54a7d Split SalmonWorker into smaller parts, move profile updating into another job
8 years ago
Eugen Rochko 5189ce9cd1 Replace calls to FeedManager#inline_render and #broadcast
8 years ago
Eugen 54329947ab Fix wrong variable used in publish channel
8 years ago
Eugen b9ddfff8f6 Add proper message to PushUpdateWorker, use redis directly
8 years ago
Eugen d67e1fe44d Merge branch 'master' into broadcast-to-worker
8 years ago
Eugen Rochko 8f38353c4d Only render public payload once in FanOutOnWrite
8 years ago
Kurtis Rainbolt-Greene 192f855952 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 bea03b4553 Moving in the inline render
8 years ago
Kurtis Rainbolt-Greene dd66bce930 I don't actually think we need that.
8 years ago
Kurtis Rainbolt-Greene 7d887cea4b Moving the queue_at into the worker
8 years ago
Kurtis Rainbolt-Greene 4f2985cddc Replacing the broadcast method with the one defined in the feed manager
8 years ago
Kurtis Rainbolt-Greene de1bb4bd56 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 d2b7daf6bb Remove PuSH subscriptions when delivery is answered with a 4xx error
8 years ago
Eugen Rochko fa2a1af90a Spawn FeedInsertWorker to deliver status into personal feed
8 years ago
Eugen Rochko e60c473917 Reduce number of items in feeds, optimize regeneration worker slightly,
8 years ago
Eugen Rochko 1484df2db5 Move OStatus processing back into default queue
8 years ago
Eugen Rochko 7a56845060 Only call regeneration worker after first login after a 14 day break
8 years ago
Eugen Rochko 8eca42b265 Separate background jobs into different queues. ATTENTION: new queue "pull"
8 years ago
Eugen Rochko 6ebe31e716 Make default admin UI page reports. Add admin UI for creating a domain block
8 years ago
Eugen Rochko 244da78105 Import feature for following/blocking lists (addresses #62, #177, #201, #454)
8 years ago
Eugen Rochko 0cb5a2a0a7 Add digest e-mails
8 years ago
Eugen Rochko 94a6dfab3a Disable PuSH for blocked domains
8 years ago
Eugen Rochko 8550d32165 Adding more unit tests. Fixing Salmon slaps XML
8 years ago
Eugen Rochko 79f3ee31df Take out private toot distribution out of PuSH again
8 years ago
Eugen Rochko ffd58aad9d Make PuSH only distribute to subscriptions that match follower domains
8 years ago
Eugen Rochko 1e66536797 After FollowService, re-fetch remote account asynchronously, do nothing
8 years ago
Eugen Rochko 59c8c2b28a Make follow requests federate
8 years ago
Eugen Rochko efa4065029 Preheat status cache
8 years ago
Eugen Rochko 9327d05bf7 API for apps to register for push notifications
8 years ago
Eugen Rochko ea8b548ee9 Make blocks create entries and unfollows instantly, but do the clean up
8 years ago
Eugen Rochko 98660a76d9 Move merging/unmerging of timelines into background. Move blocking into
8 years ago
Eugen Rochko f748a91ec7 Fix #463 - Fetch and display previews of URLs using OpenGraph tags
8 years ago
Eugen Rochko a893746e5a Improve background jobs params and error handling
8 years ago
Eugen Rochko 0471207cc3 Fix accidental distribution of hidden stream entries to PuSH subscribers
8 years ago
Eugen Rochko 2bc6e7c96e Add API for retrieving blocked accounts
8 years ago
Eugen Rochko 0f4c9d1124 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 b2945b025f Make unfavouriting async to prevent timeout errors from leaving orphaned records behind
8 years ago
Eugen Rochko 9d4f96f440 Removing external hub completely, fix #333 fixing digit-only hashtags,
8 years ago
Eugen Rochko b7c2c5d81d Restoring old async behaviour of thread resolving as it proved to be more robust
8 years ago
Eugen Rochko fb36684678 Thread resolving no longer needs to be separate from ProcessFeedService,
8 years ago
Eugen Rochko 7752662f97 Add filters for suspended accounts
8 years ago
Eugen Rochko 211049ae59 Fix #329 - avatar errors no longer prevent remote accounts from being saved
8 years ago
Eugen Rochko a692318382 Track successful PuSH deliveries
8 years ago
Eugen Rochko d26b8f3cce Delete statuses asynchronously but provide instant feedback in the API
8 years ago
Eugen Rochko 3c1c2b0e06 Adding rack timeout of 30sec, PuSH jobs moved to push queue so they
8 years ago
Eugen Rochko 79075e1303 Fix URLs in inline-rendered XML
8 years ago
Eugen Rochko 02da8fdcbe Fix setting of confirmed=true on successful confirmation
8 years ago
Eugen Rochko bf7c9e826d More logging to ConfirmationWorker
8 years ago
Eugen Rochko 0cc5410e03 Adding backtracing to Salmon/Processing workers
8 years ago
Eugen Rochko b5ad0eb4ea Adding embedded PuSH server
8 years ago
Eugen Rochko f07b0dc82f 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 fbaddca49e Move Salmon processing to background as well as PuSH
8 years ago
Eugen Rochko e71b152d89 Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko a7332acba3 Delegate processing of incoming PuSH data to background workers
8 years ago
Eugen Rochko f1d2c46ded Improve feed regeneration
8 years ago
Eugen Rochko 3319473b2c Move PubSubHubbub pinging to a background worker
8 years ago
Eugen Rochko 927333f4f8 Improve code style
8 years ago
Eugen Rochko 4bec613897 Fix #24 - Thread resolving for remote statuses
8 years ago
Eugen Rochko 85b00d19b8 Moving Salmon notifications to background processing, fixing mini-profiler
9 years ago
Eugen Rochko 8eeec389c1 Add link to github project to footer, move FanOutOnWriteService calls to
9 years ago