Commit Graph

429 Commits (0c443e87e67d4698f38c2818a79391c7524d9080)

Author SHA1 Message Date
sneakers-the-rat 0c443e87e6 add maximum page limit 2024-11-17 00:36:34 -08:00
sneakers-the-rat 148385ae5e apply changes from patches that couldnt be auto-applied 2024-11-17 00:36:34 -08:00
sneakers-the-rat 6b08b405b7 tests for the fetch all reply worker
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
2024-11-17 00:36:34 -08:00
sneakers-the-rat 887bccd622 Fix limit in fetch_replies_service to not always limit by 5 (which always caused us to only do one page). Rename some variables to make purpose clearer. Return the array of all fetched uris instead of just the number we got
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
2024-11-17 00:36:34 -08:00
sneakers-the-rat fe216c418d Working version of fetch all replies service with global maximum on fetching
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
2024-11-17 00:36:34 -08:00
sneakers-the-rat a694554cbc rm spurious imports and reformatting
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
2024-11-17 00:36:34 -08:00
sneakers-the-rat aa19644b80 Remove recursion, separate out into separate workers/services, add limit to global maximum statuses fetched (untested, this might not work yet)
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
2024-11-17 00:36:34 -08:00
sneakers-the-rat 75878c826d correct number of args to replies worker, recursive fetching is working
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
2024-11-17 00:36:34 -08:00
sneakers-the-rat ee00d205fd don't do it for every create, only do recursive reply expansion when requested from context endpoint, but async
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
2024-11-17 00:36:34 -08:00
Emelia Smith aeae152006
Prevent Web::Push notification delivery if notification is outside of TTL window (#32842) 2024-11-11 19:56:28 +00:00
Matt Jankowski 73f66af6eb
Update location of unused `MIN_SCHEDULE_OFFSET` constant (#31217) 2024-11-07 10:28:59 +00:00
David Roetzel 05f23df3b7
Add endpoint to remove web push subscription (#32626) 2024-10-23 08:02:31 +00:00
Claire 10ea6da09f
Fix language of push notifications (#32415) 2024-10-11 10:24:03 +00:00
Matt Jankowski 258dce1256
Add `OpenSSL::SSL::SSLError` to http connection errors wrapper (#32307) 2024-10-08 14:59:51 +00:00
Matt Jankowski e8ec6667bd
Extract wrapper constant for `HTTP::*` error classes (#32285) 2024-10-08 13:53:35 +00:00
Matt Jankowski 1f65a95421
Remove unneeded `reorder(nil)` conditions (#32200) 2024-10-02 12:26:16 +00:00
Matt Jankowski 4aa26eba53
Extract `WebPushRequest` from push notification worker and subscription (#32208) 2024-10-02 11:11:52 +00:00
Jeong Arm 66b2bc1c84
Ignore error if mentioned account was not processable (#29215)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-10-02 08:08:02 +00:00
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code (#31193) 2024-09-18 09:27:43 +00:00
Claire 53c183f899
Reload notifications when accepted notifications are merged (streaming only) (#31419) 2024-08-19 15:59:06 +00:00
Claire 2d589a5ed4
Fix incorrect activity matching in notification unfiltering worker (#31456) 2024-08-16 17:11:23 +00:00
Claire 7996a9543d
Change notification request acceptance to immediately delete the request (#31256) 2024-08-14 07:34:30 +00:00
Matt Jankowski 02df1b4e4a
Finish email allow/deny list naming migration (#30530) 2024-08-13 07:37:32 +00:00
Claire 670e4655d1
Change dismissing a notification to clear existing filtered notifications for that account (#31329) 2024-08-07 15:14:37 +00:00
Matt Jankowski e881a59671
Add `User.unconfirmed` scope, reduce factories in `scheduler/user_cleanup` spec (#31063) 2024-07-25 14:18:24 +00:00
Emelia Smith d20a5c3ec9
Fix: remove broken OAuth Application vacuuming & throttle OAuth Application registrations (#30316)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-05-29 14:00:05 +00:00
Matt Jankowski def6b686ff
Fix `Rails/WhereRange` cop (#30343) 2024-05-20 09:37:36 +00:00
Renaud Chaput 40639510f8
Retain unconfirmed users longer (1 week) (#30285) 2024-05-15 08:27:34 +00:00
Matt Jankowski edde54e991
Update stoplight to version 4.1.0 (#28366) 2024-04-02 15:47:40 +00:00
Eugen Rochko 50b17f7e10
Add notification policies and notification requests (#29366) 2024-03-07 14:53:37 +00:00
Claire a9496882fc
Fix auto-close email being sent to users with devops permissions instead of settings permissions (#29355) 2024-02-22 14:52:14 +00:00
Claire 2751acb6cd
Automatically switch from open to approved registrations in absence of moderators (#29318) 2024-02-21 17:45:06 +00:00
Matt Jankowski 7c9c6c7f80
Fix remaining `Rails/WhereExists` cop violations, regenerate todo (#28892) 2024-01-25 12:37:07 +00:00
Eugen Rochko 5b1eb09d54
Add annual reports for accounts (#28693) 2024-01-24 09:38:10 +00:00
Jeong Arm f0abba67db
Ignore RecordNotUnique errors in LinkCrawlWorker (#28748) 2024-01-16 08:35:54 +00:00
Eugen Rochko b5ac61b2c5
Change algorithm of follow recommendations (#28314)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-12-19 10:59:43 +00:00
Claire 963354978a
Add `Account#unavailable?` and `Account#permanently_unavailable?` aliases (#28053) 2023-11-30 15:43:26 +00:00
Claire 0337df3a42
Fix posts from threads received out-of-order sometimes not being inserted into timelines (#27653) 2023-11-02 14:58:37 +00:00
Jonathan de Jong 1cc512909c
Have `Follow` activities bypass availability (#27586)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-10-27 14:55:00 +00:00
Claire 379115e601
Add SELF_DESTRUCT env variable to process self-destructions in the background (#26439) 2023-10-23 15:46:21 +00:00
Claire 4e55001e65
Add a short-lived lock to trend refresh scheduler (#27253) 2023-10-03 12:21:32 +02:00
Claire 5e56f3db65
Change some worker lock TTLs (#27246) 2023-10-03 10:09:00 +02:00
Claire 1e2d4975cf
Fix import progress not updating on certain failures (#27247) 2023-10-02 16:20:04 +02:00
Claire cab4cbfa5c
Fix “Scoped order is ignored, it's forced to be batch order.” warnings (#26793) 2023-09-05 15:37:23 +02:00
Claire 16681e0f20
Add admin notifications for new Mastodon versions (#26582) 2023-09-01 17:47:07 +02:00
Claire 5c0a9aac3b
Revert to using primary database in IndexingScheduler (#26754) 2023-09-01 15:09:44 +02:00
Eugen Rochko e263db276f
Change indexing jobs to use database replica (#26692) 2023-08-27 22:38:01 +02:00
Eugen Rochko f8d2fea2e6
Change queue of job when opting into search from `default` to `pull` (#26688) 2023-08-27 18:58:20 +02:00
jsgoldstein 30c191aaa0
Add new public status index (#26344)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-24 16:40:04 +02:00
Claire 9ed0c91a37
Add auto-refresh of accounts we get new messages/edits of (#26510) 2023-08-21 16:09:26 +02:00