Commit Graph

17651 Commits (6b08b405b774f670689c8bc8e9dccefa73add5ff)

Author SHA1 Message Date
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 557b5e687f the most basic test you could imagine
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 4076c4c7d4 rm more spurious formatting
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 91dbd48994 rm zombie code in fetch_replies_service
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
2024-11-17 00:36:34 -08:00
sneakers-the-rat 3bb59d2715 rm redundant request to fetch replies worker in controller
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 8e6e3346e1 accept review comments https://github.com/NeuromatchAcademy/mastodon/pull/44\#discussion_r1766143286 and https://github.com/NeuromatchAcademy/mastodon/pull/44\#discussion_r1766148179
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
sneakers-the-rat 207d95e654 working (i think?) recursive fetch
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
2024-11-17 00:36:34 -08:00
jonny 78751251df committing all ugly with a bunch of logger calls in the middle but we are almost there baby
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
2024-11-17 00:36:34 -08:00
sneakers-the-rat dd5a5acd52 Initial draft of fetching all replies on context load
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
2024-11-17 00:36:34 -08:00
Matt Jankowski a1ac2a73ff
Remove remnants of embed views (#32419) 2024-11-16 20:48:10 +00:00
renovate[bot] 44d92fa4f6
Update dependency uuid to v11.0.3 (#32913)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 16:15:44 +00:00
Matt Jankowski 9d3fcc3546
Remove unused failure action in api/base controller spec (#32905) 2024-11-15 16:10:20 +00:00
Matt Jankowski 7bd7705f59
Combine shared-setup examples across `spec/controllers/auth/*` specs (#32906) 2024-11-15 16:07:26 +00:00
renovate[bot] 54a7c1898e
Update dependency uuid to v11 (#32676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 15:55:10 +00:00
Matt Jankowski 319109029d
Fix logic in "last used at per application" oauth token list (#32912) 2024-11-15 15:52:37 +00:00
Matt Jankowski 297ce9ef44
Move body class to shared partial for web app controller concern views (#31797) 2024-11-15 15:49:26 +00:00
Shlee 34d7c9edae
Rails 7+: primary_abstract_class recommendation (#32909) 2024-11-15 15:37:30 +00:00
Claire f1ef7b5b43
Fix uploading higher-than-wide GIF profile picture with libvips enabled (#32911) 2024-11-15 15:35:30 +00:00
Claire 0838cf1e05
Fix domain attribution field having autocorrect and autocapitalize enabled (#32903) 2024-11-15 13:37:45 +00:00
github-actions[bot] c546aa57cb
New Crowdin Translations (automated) (#32900)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-15 10:30:11 +00:00
Emelia Smith ddfb3d123b
Improve display of statuses in admin panel (#30813) 2024-11-15 09:38:01 +00:00
Claire 2de018256a
Fix filters not being correctly applied to boosted posts (#32895) 2024-11-14 19:42:43 +00:00
Matt Jankowski 766358e52b
Add coverage for malformed version cleanup in `SoftwareUpdateCheckService`, add helper query methods (#32876) 2024-11-14 14:03:57 +00:00
Matt Jankowski 62d65504f6
Add `DomainResource` class to wrap MX lookup/normalize (#32864) 2024-11-14 13:47:29 +00:00
Claire e8b6607ece
Fix titles being escaped twice (#32889) 2024-11-14 13:28:00 +00:00
Claire ec663eaba1
Fix Content Warning and filter states not applying to boosted posts properly (#32887) 2024-11-14 12:50:36 +00:00
github-actions[bot] aaebf142aa
New Crowdin Translations (automated) (#32884)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-14 09:39:33 +00:00
renovate[bot] 980970ddfd
Update dependency browser to v6.1.0 (#32878)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 09:15:49 +00:00
renovate[bot] 7fc8292ea5
Update dependency react-textarea-autosize to v8.5.5 (#32872)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 15:08:10 +00:00
Jaz-Michael King 03ecf5df3b
Adds a range of reserved usernames to reduce potential misuse by malicious actors (#32828) 2024-11-13 13:10:01 +00:00
Claire 8f5cbf5370
Fix list creation limit check (#32869) 2024-11-13 10:22:11 +00:00
Matt Jankowski 95d7120ce6
Misc gem version bumps (#32854) 2024-11-13 09:35:21 +00:00
github-actions[bot] baad795384
New Crowdin Translations (automated) (#32868)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-13 09:33:02 +00:00
Matt Jankowski a6d829e86f
Fix error in CLI EmailDomainBlocks when supplying `--with-dns-records` (#32863) 2024-11-13 08:39:58 +00:00
Emelia Smith 2bd56f726a
Add client_secret_expires_at to OAuth Applications (#30317) 2024-11-12 22:06:13 +00:00
Matt Jankowski ace4268308
Remove unused `api/v1/polls#create` route (#32860) 2024-11-12 17:27:23 +00:00
Matt Jankowski 884bbf7ae2
Prepare the way for banning a bunch of usernames (#32856) 2024-11-12 15:43:55 +00:00
Claire f5f6273d2b
Move `ALLOWED_PRIVATE_ADDRESSES` parsing to an initializer (#32850) 2024-11-12 13:00:52 +00:00
Eugen Rochko 32e5e1d3f1
Fix a few visual issues with annual reports in web UI (#32807) 2024-11-12 12:35:35 +00:00
renovate[bot] f8e96e761b
Update dependency strong_migrations to v2.1.0 (#32810)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 09:09:53 +00:00
Matt Jankowski 5d9dde3ec0
Add age/expiry duration constants to `BulkImport` class (#32839) 2024-11-12 08:57:06 +00:00
Matt Jankowski 897cb1803e
Run `bin/rails db:schema:dump` under Rails 7.2 (#32838) 2024-11-12 08:56:04 +00:00
Emelia Smith bf609090b1
Fix: prevent linking to pages which require extra permissions (#32843) 2024-11-12 08:55:17 +00:00
Claire e97f4b18ad
Update changelog and docker tags to v4.3.1 (#32849) 2024-11-12 08:54:18 +00:00