Commit Graph

810 Commits

Author SHA1 Message Date
Matt Jankowski 64f9939e39
Use `capture_emails` helper to improve email assertions in specs () 2024-02-19 15:57:47 +00:00
Matt Jankowski 1946e171e6
Reduce round trips in admin/disputes/appeals spec () 2024-02-16 13:46:28 +00:00
Matt Jankowski 3454fcbd71
Reduce round trips in auth/sessions spec () 2024-02-16 13:38:49 +00:00
Matt Jankowski a316c0e38d
Reduce round trips in disputes/appeals spec () 2024-02-16 13:01:15 +00:00
Matt Jankowski 1690fb39e6
Reduce `RSpec/MultipleExpectations` in instance_actors_controller spec () 2024-02-16 13:00:11 +00:00
Matt Jankowski da50217b88
Combine repeated requests in `admin/accounts` controller spec () 2024-02-07 10:59:32 +00:00
Matt Jankowski 2d6ab44556
Reduce request/response round-trips in ap/collections controller spec () 2024-02-06 13:10:00 +00:00
Matt Jankowski 4cf07ed78c
Add missing action logging to `api/v1/admin/reports#update` () 2024-02-06 11:34:11 +00:00
Matt Jankowski f91acba70a
Combine repeated requests in account controller concern spec () 2024-01-30 15:32:20 +00:00
Matt Jankowski ff8937aa2c
Move `api/v1/statuses/*` to request spec () 2024-01-26 17:45:54 +00:00
Matt Jankowski 5119fbc9b7
Move `api/v1/admin/trends/links/preview_card_providers` to request spec () 2024-01-26 17:41:39 +00:00
Matt Jankowski b6baab447d
Move `api/v2/admin/accounts` to request spec () 2024-01-26 17:41:13 +00:00
Matt Jankowski 7adcc0aae3
Move `api/v1/trends/*` to request specs () 2024-01-26 17:40:39 +00:00
Matt Jankowski 0b0ca6f3b8
Move `api/v1/timelines/list` to request spec () 2024-01-26 17:40:15 +00:00
Matt Jankowski 685eaa04d4
Combine double subject in admin/statuses controller shared example () 2024-01-26 16:30:30 +00:00
Matt Jankowski beb74fd71c
Combine double subjects in instance actors controller shared example () 2024-01-26 16:28:50 +00:00
Matt Jankowski beaef4b672
Combine double subjects in application controller shared example () 2024-01-26 16:23:12 +00:00
Matt Jankowski 2f8656334d
Combine double subjects in `admin/accounts` controller spec () 2024-01-26 16:21:31 +00:00
Matt Jankowski 9cc1817bb4
Fix intmermittent failure in `api/v1/accounts/statuses` controller spec () 2024-01-26 14:10:26 +00:00
Matt Jankowski a11a2fb052
Add error classes to api/base errors coverage () 2024-01-24 10:31:31 +00:00
Claire e2d9635074
Add notification email on invalid second authenticator () 2024-01-22 13:55:43 +00:00
Matt Jankowski 7ecf7f5403
Move controller->request specs for api/v1/statuses/* () 2024-01-22 11:58:54 +00:00
Claire 3593ee2e36
Add rate-limit of TOTP authentication attempts at controller level () 2024-01-19 12:19:49 +00:00
Matt Jankowski 329911b0a3
Migrate controller->request spec for api/v1/follow* () 2024-01-19 09:32:41 +00:00
Claire e621c1c44c
Fix registrations not checking MX records for email domain blocks requiring approval () 2024-01-15 17:10:57 +00:00
Matt Jankowski e72676e83a
Improve `api/v1/markers#create` performance against simultaneous requests () 2024-01-15 09:47:25 +00:00
Matt Jankowski a90696011e
Add coverage/bugfix for invalid appeal submission () 2024-01-12 09:21:00 +00:00
Matt Jankowski 32eeca9c7b
Refresh instance counts in spec (fixes intermittent failure) () 2024-01-12 09:10:37 +00:00
Matt Jankowski 185c806d69
Extract spec helper for verifing to/from public AP collection namespace () 2024-01-11 16:17:21 +00:00
Matt Jankowski 87097a227c
Clean up `settings/featured_tags/index` view () 2024-01-11 10:45:26 +00:00
Matt Jankowski 55802242ce
Refactor login activity partial (remove inline ruby) () 2024-01-11 10:36:27 +00:00
Claire d7e13e2483
Fix potential redirection loop of streaming endpoint () 2024-01-10 15:05:46 +00:00
Matt Jankowski 00341c70ff
Use Sidekiq `fake!` instead of `inline!` in specs () 2024-01-10 11:06:58 +00:00
Claire 6ad0fb5a77
Fix NULL MX handling and tighten DNS resolving specs () 2024-01-05 11:07:57 +00:00
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains () 2024-01-04 09:07:05 +00:00
Claire a2624ff739
Convert signature verification specs to request specs () 2023-12-22 18:56:22 +00:00
Matt Jankowski 513d35969e
Fix `RSpec/LetSetup` cop in auth controller specs () 2023-12-22 08:03:59 +00:00
Matt Jankowski cd64a5b2ec
Clean up of `RSpec/LetSetup` within `api/` () 2023-12-21 10:10:18 +00:00
Matt Jankowski f32d672d2f
Clean up of `RSpec/LetSetup` within `spec/controllers` () 2023-12-21 09:28:41 +00:00
Claire 6fed0fcbaa
Remove unneeded settings cleanup from specs () 2023-12-19 15:17:22 +00:00
Matt Jankowski b1dec09d20
Fix `Style/InverseMethods` cop () 2023-12-15 15:52:00 +00:00
Matt Jankowski ef9797a395
Un-nest contexts in `settings/2fa/webauthn` spec () 2023-12-14 10:46:43 +00:00
Matt Jankowski adbfd40a1b
Convert `api/v1/directories` controller spec to request spec () 2023-12-14 10:38:06 +00:00
Matt Jankowski 28e1a7a394
Improve spec coverage for `models/announcement` class () 2023-12-14 10:29:10 +00:00
Matt Jankowski 0e4233de9d
Controller spec to request spec: `api/v2/suggestions` () 2023-12-11 08:13:57 +00:00
Matt Jankowski 0c64092500
Controller spec to request spec: `api/v1/accounts/search` () 2023-12-11 08:13:28 +00:00
Matt Jankowski 16ede59d0a
Controller spec to request spec: `api/v1/featured_tags/suggestions` () 2023-12-11 08:00:41 +00:00
Matt Jankowski 809506bdd4
Controller spec to request spec: `api/v1/accounts/pins` () 2023-12-11 07:59:40 +00:00
Matt Jankowski 94cc707ab3
Controller spec to request spec: `api/v1/accounts/notes` () 2023-12-11 07:58:48 +00:00
Matt Jankowski e544b6df42
Controller spec to request spec: `api/v1/accounts/lookup` () 2023-12-11 07:57:33 +00:00