513 Commits (263d601c2538d5af5d5fb8ff1d95034a55c38005)

Author SHA1 Message Date
ThibG d4882aa64a Export and import `hide_notifications` alongside user mutes (#10335)
6 years ago
Thibaut Girka 050efbc126 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko f1bc90ab50
Rename :poll to :preloadable_poll and :owned_poll to :poll on Status (#10401)
6 years ago
Thibaut Girka 4aa6aba6ee Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
ThibG 6b0eda14a1 Avoid race condition when streaming deleted statuses (#10280)
6 years ago
Thibaut Girka 07eb31eeac Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 6841d8fc74
Fix wrong method used in PollExpirationNotifyWorker (#10265)
6 years ago
Thibaut Girka 02062aab55 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 9f5b55ad4f
Fix poll update handler calling method was that was not available (#10246)
6 years ago
Thibaut Girka 7d026aa079 Do not leak instance-local polls to remote followers
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)
7 years ago
Eugen Rochko ad40bf5e0c
Speed up some rake tasks by moving execution to Sidekiq (#7678)
7 years ago
takayamaki 587da93152 checking http status code with range (#7544)
7 years ago
Eugen Rochko 97f02f2c08
Do not raise delivery failure on 4xx errors, increase stoplight threshold (#7541)
7 years ago
Eugen Rochko b4fb766b23
Add REST API for Web Push Notifications subscriptions (#7445)
7 years ago
ThibG a24605961a Fixes/do not override timestamps (#7336)
7 years ago
ThibG 581a5c9d29 Fixes/do not override timestamps (#7331)
7 years ago
Eugen Rochko d5fa4fbcd2
Revert "Do not override timestamps for incoming toots" (#7330)
7 years ago
ThibG bd36791832 Do not override timestamps for incoming toots (#7326)
7 years ago
Eugen Rochko 658cbc9425
Improve PostStatusService performance (#7317)
7 years ago
Eugen Rochko cb5b5cb5f7
Slightly reduce RAM usage (#7301)
7 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)
8 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
Eugen Rochko bb4d1eb2e8 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