Commit Graph

2795 Commits

Author SHA1 Message Date
David Roetzel 4a6cf67c46
Add middleware to record queue time () 2025-03-14 13:52:04 +00:00
Matt Jankowski f71a855e2d
Add coverage for `standard` params on push subs create () 2025-03-12 14:29:19 +00:00
Claire 966b816382
Refactor `ActivityPub::FetchRepliesService` and `ActivityPub::FetchAllRepliesService` () 2025-03-12 11:52:38 +00:00
Claire 9db26db495
Refactor reply-fetching code and disable it by default () 2025-03-12 10:28:06 +00:00
Jonny Saunders 46e13dd81c
Add Fetch All Replies Part 1: Backend ()
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Co-authored-by: jonny <j@nny.fyi>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Kouhai <66407198+kouhaidev@users.noreply.github.com>
2025-03-12 09:03:01 +00:00
Claire 420ffdfb62
Add delay to profile updates to debounce them () 2025-03-11 16:17:17 +00:00
Matt Jankowski 6d5a1fbe1d
Assert on page contents while progressing through `new_statuses` system spec () 2025-03-11 14:00:51 +00:00
Matt Jankowski 325b55485e
Convert `admin/settings/branding` spec controller->request () 2025-03-11 13:32:39 +00:00
David Roetzel bedf808e02
Move feature flag test setup into config () 2025-03-11 13:29:17 +00:00
Matt Jankowski dc43699b77
Assert on page contents before reloading report for interface JS spec () 2025-03-11 09:14:16 +00:00
David Roetzel 26b5f45564
Make `Faker` generate unique TOS effective dates () 2025-03-10 09:33:37 +00:00
Matt Jankowski e1f278cdf2
Convert `admin/webhooks/secrets` spec controller->system () 2025-03-10 08:17:48 +00:00
Matt Jankowski 7169b270ae
Convert `admin/site_uploads` spec controller->system () 2025-03-10 08:17:02 +00:00
Eugen Rochko 2cabbae132
Add min. age to terms of service () 2025-03-07 11:50:52 +00:00
Matt Jankowski eaf1ea3155
Remove `admin_user` helper method from `SystemHelpers` module () 2025-03-07 08:31:47 +00:00
Matt Jankowski 551339401d
Use methods from `SystemHelpers` more consistently () 2025-03-07 08:02:55 +00:00
Claire 5a100bf38f
Add ability to email announcements to all users () 2025-03-06 14:05:27 +00:00
Matt Jankowski b021cfc91e
Convert `settings/sessions` spec controller->system () 2025-03-06 08:21:05 +00:00
David Roetzel 8cf27d0fbb
Add simple feature flag system ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2025-03-05 15:41:54 +00:00
Eugen Rochko cadda2f957
Add effective date to terms of service () 2025-03-05 09:01:33 +00:00
Matt Jankowski ce23342d72
Convert `admin/terms_of_service/*` spec controller->system () 2025-03-04 15:27:44 +00:00
Matt Jankowski d90d68bddf
Remove deprecated `mb_chars` method () 2025-03-03 16:50:57 +00:00
Emelia Smith 4960193ed0
Add API to delete media attachments that are not in use () 2025-02-28 13:41:42 +00:00
Claire e71fb450e0
Add optional `delete_media` parameter to `DELETE /api/v1/statuses/:id` () 2025-02-28 13:39:01 +00:00
Matt Jankowski b56e90d049
Convert `admin/relationships` spec controller->system () 2025-02-28 11:17:13 +00:00
Matt Jankowski 3aaa388ce4
Convert `admin/trends/*` spec controller->system () 2025-02-28 10:55:37 +00:00
Emelia Smith febcd0a76c
Expose status language via og:locale () 2025-02-28 10:53:39 +00:00
Jeremy Kescher 6b519cfefa
Merge commit from fork
* Fix domain blocks/rationales being visible to unapproved/unconfirmed users

* Fix domain blocks/rationales being visible to suspended users

Co-authored-by: Claire <claire.github-309c@sitedethib.com>

* Allow moved users to view domain blocks

* Add authorization specs for `/api/v1/instance/domain_blocks` spec

* Fix tests

* Fix incorrect test setup

---------

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2025-02-27 15:49:57 +01:00
Claire 06f879ce9b
Merge commit from fork
* Add rate-limit on `/auth/setup`

* Remove useless test
2025-02-27 15:44:35 +01:00
Claire 20531d1e07
Fix `GET /api/v2/notifications/:id` and `POST /api/v2/notifications/:id/dismiss` for ungrouped notifications () 2025-02-25 14:37:44 +00:00
Eugen Rochko 298ca53593
Add choice of law to terms of service generator () 2025-02-25 10:58:11 +00:00
Matt Jankowski db97197685
Remove `rails-controller-testing` gem () 2025-02-21 14:00:16 +00:00
Matt Jankowski 2a15bf4ede
Convert `admin/roles` controller spec to request/sytem specs () 2025-02-21 11:47:47 +00:00
Matt Jankowski d065d02d88
Improve example wording in 2FA/confirmations controller spec () 2025-02-21 07:31:06 +00:00
Matt Jankowski fbea3a64cc
Convert `statuses` spec controller->system/request () 2025-02-18 11:43:49 +00:00
Matt Jankowski ea53faeb3f
Convert `admin/users/roles` spec controller->system/request () 2025-02-17 09:25:25 +00:00
Matt Jankowski 8f1b41622b
Convert `settings/two_factor_authentication_methods` spec controller->system/request () 2025-02-13 10:50:04 +00:00
Matt Jankowski 62dc303d3c
Convert `settings/two_factor_authentication/recovery_codes` spec controller->system/request () 2025-02-13 08:02:01 +00:00
Claire 1248c4d1f4
Fix handling of duplicate mentions in incoming status `Update` () 2025-02-12 15:34:56 +00:00
Claire 6b52227fcc
Fix Mastodon listing updates older or equal to current version () 2025-02-12 14:27:42 +00:00
Matt Jankowski fb0856458b
Verify page content in `ChallengableConcern` spec () 2025-02-12 14:24:17 +00:00
Matt Jankowski 6df24b4bc2
Move signed out statuses controller spec examples to request spec () 2025-02-12 14:24:03 +00:00
Matt Jankowski b07cd11f4c
Convert `settings/migration/redirects` spec controller->system () 2025-02-12 14:06:35 +00:00
Matt Jankowski 506a70d0d8
Convert "http signatures" portion of statuses controller spec to request spec () 2025-02-12 08:33:25 +00:00
Matt Jankowski aa10e8f399
Verify page content in 2FA portion of `auth/sessions` controller spec () 2025-02-12 08:14:35 +00:00
Matt Jankowski 4c597d5e2c
Convert `settings/privacy` spec controller->system () 2025-02-12 08:13:01 +00:00
Matt Jankowski 4e58570f73
Use common `before` and contexts in admin/base controller spec () 2025-02-11 06:49:51 +00:00
Matt Jankowski 7d20c12913
Convert `settings/featured_tags` controller->request/system spec () 2025-02-11 06:45:34 +00:00
Matt Jankowski dd2cb77f1a
Remove unused "oversized" spec fixture PNG file () 2025-02-11 06:45:27 +00:00
Matt Jankowski 8c240ef042
Remove final remaining `assigns` usage in controller specs () 2025-02-10 07:33:36 +00:00