Commit Graph

914 Commits (main)

Author SHA1 Message Date
Emelia Smith c88ba523ee
Fix sort order of moderation notes on Reports and Accounts (#31528) 4 months ago
Matt Jankowski 6b6a80b407
Remove `body_as_json` in favor of built-in `response.parsed_body` for JSON response specs (#31749) 4 months ago
Matt Jankowski 7efe0bde9d
Add `have_http_link_header` matcher and set header values as strings (#31010) 4 months ago
Matt Jankowski e820cc30b8
Convert invites controller spec to system/request specs (#31755) 4 months ago
Matt Jankowski e1b5f3fc6f
Use `response.parsed_body` for html response checks (#31750) 4 months ago
Matt Jankowski f1003b2560
Enable "zero monkey patching" mode in RSpec (#31614) 4 months ago
Matt Jankowski e1fa456c7c
Add `have_cacheable_headers` matcher for responses (#31727) 4 months ago
Matt Jankowski 928390c2ba
Convert `admin/settings` controller specs to system specs (#31548) 4 months ago
Matt Jankowski 5b595b8a5a
Remove usage of `assigns` in controller specs (#30195) 4 months ago
Matt Jankowski 219458d7d4
Convert `tags` controller spec to system and request specs (#31708) 4 months ago
Matt Jankowski 1ee1c329cc
Convert `admin/announcements` controller spec to system spec (#31655) 5 months ago
Matt Jankowski 02585d8789
Convert `media` controller spec to request spec (#31634) 5 months ago
Matt Jankowski b9269c8d38
Convert `admin/reset` controller spec to system spec (#31643) 5 months ago
Matt Jankowski 0ef636f72d
Convert `shares` controller spec to system spec (#31619) 5 months ago
Matt Jankowski 00586d27cb
Convert `instance_actor` controller spec to request spec (#31621) 5 months ago
Matt Jankowski 3959f36d19
Add checks about response body content to admin/dash spec (#30716) 5 months ago
Matt Jankowski 48f4e5444d
Convert `media_proxy` controller spec to request spec (#31600) 5 months ago
Matt Jankowski a7f8417795
Convert "CSV export" settings controller specs to request specs (#31601) 5 months ago
Matt Jankowski 38a3466741
Convert `api/oembed` controller spec to request spec (#31605) 5 months ago
Matt Jankowski c09d232ee3
Convert `api/web/settings` controller spec to request spec (#31606) 5 months ago
Matt Jankowski 4c2534d12e
Convert "static page" controller specs to system specs (#31599) 5 months ago
Matt Jankowski dbe0ee8a81
Convert `emojis` controller spec to request spec (#31597)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
5 months ago
Matt Jankowski 5172d84946
Convert `manifest` controller spec to request spec (#31596) 5 months ago
Matt Jankowski 36ccdcc9e1
Convert "custom css" controller spec to request spec (#31595) 5 months ago
Matt Jankowski 641ae6a2cf
Convert health check endpoint controller spec to request spec (#31565) 5 months ago
Emelia Smith c40e481169
Implement UI for Admin Search of Hashtags (#30880) 6 months ago
David Roetzel dd53792714
Move UI tests from controller to system spec (#31158) 6 months ago
Emelia Smith 693d9b03ed
Enable OAuth PKCE Extension (#31129) 6 months ago
Emelia Smith bb2e5a4b58
Add audit logs to Admin::InstancesController (#27386) 6 months ago
Matt Jankowski 2616fde9e6
Use change-requiring records in admin/reports controller spec (#31052) 6 months ago
Matt Jankowski 76c2c5c748
Reduce extra round trips in `activitypub` controller specs (#31041) 6 months ago
Matt Jankowski 73d53827ea
Add change assertion to invites destroy spec (#31004) 6 months ago
Matt Jankowski f1300ad284
Rename jobs/attachments rspec tag names (#29762) 6 months ago
Claire 395f17ca17
Merge pull request from GHSA-vp5r-5pgw-jwqx
* Fix streaming sessions not being closed when revoking access to an app

* Add tests for GHSA-7w3c-p9j8-mq3x
6 months ago
Emelia Smith 30ae5952d2
Fix: Ensure "With Media" is highlighted from Admin Accounts page (#30812) 7 months ago
Claire 8827cd597e
Fix `/admin/accounts/:account_id/statuses/:id` for edited posts with media attachments (#30819) 7 months ago
Matt Jankowski edf6d64eeb
Use correct params in `settings/preferences/appearance` spec (#30379) 7 months ago
Claire 32223863a5
Add coverage to `/admin/accounts/:id` (#30386) 8 months ago
Matt Jankowski 65e82211cd
Rename `cache_*` methods to `preload_*` in controller concern (#30209) 8 months ago
Emelia Smith 5fd56512de
Improve Report Notes and Account Moderation Notes (#30288) 8 months ago
Claire babbf6017d
Remove caching in `cache_collection` (#29862) 9 months ago
Matt Jankowski f9100743ec
Add `Api::ErrorHandling` concern for api/base controller (#29574) 10 months ago
Matt Jankowski 71e5f0f48c
Add coverage for suspended instance actor scenario (#29571) 10 months ago
Matt Jankowski 46e902f1f3
Merge `api/v1/accounts/credentials` controller spec into existing request spec (#29006) 10 months ago
Matt Jankowski 71eecbfa1f
Move `api/v2/filters/*` to request spec (#28956) 10 months ago
Matt Jankowski a38e424185
Use unchanging github links in docs/comments (#29545) 10 months ago
Eugen Rochko 50b17f7e10
Add notification policies and notification requests (#29366) 10 months ago
Matt Jankowski 18945f62e0
Convert more API specs from controller->request style (#29004) 11 months ago
Matt Jankowski eb1b8f69de
Allow pagination `Link` headers on API accounts/statuses when pinned true (#29442) 11 months ago
Matt Jankowski 6675bf574a
Extract `parsed_uri_query_values` helper in ap/replies controller spec (#29410) 11 months ago
Matt Jankowski 8f3c91fc3c
Add `change` block expectation to `admin/invites#deactivate_all` spec (#29412) 11 months ago
Matt Jankowski 9e78129e6e
Use "cacheable response" shared example in more places (#29419) 11 months ago
Damien Mathieu 1540f42522
Better tests for auth/registrations#update (#29303) 11 months ago
Wolfgang Fournès d51c3ac087
Add a missing spec to `SessionsController#webauthn_options` (#29277) 11 months ago
Matt Jankowski 64f9939e39
Use `capture_emails` helper to improve email assertions in specs (#29245) 11 months ago
Matt Jankowski 1946e171e6
Reduce round trips in admin/disputes/appeals spec (#29234) 11 months ago
Matt Jankowski 3454fcbd71
Reduce round trips in auth/sessions spec (#29233) 11 months ago
Matt Jankowski a316c0e38d
Reduce round trips in disputes/appeals spec (#29232) 11 months ago
Matt Jankowski 1690fb39e6
Reduce `RSpec/MultipleExpectations` in instance_actors_controller spec (#29229) 11 months ago
Matt Jankowski da50217b88
Combine repeated requests in `admin/accounts` controller spec (#29119) 11 months ago
Matt Jankowski 2d6ab44556
Reduce request/response round-trips in ap/collections controller spec (#29102) 11 months ago
Matt Jankowski 4cf07ed78c
Add missing action logging to `api/v1/admin/reports#update` (#29044) 11 months ago
Matt Jankowski f91acba70a
Combine repeated requests in account controller concern spec (#28957) 12 months ago
Matt Jankowski ff8937aa2c
Move `api/v1/statuses/*` to request spec (#28954) 12 months ago
Matt Jankowski 5119fbc9b7
Move `api/v1/admin/trends/links/preview_card_providers` to request spec (#28951) 12 months ago
Matt Jankowski b6baab447d
Move `api/v2/admin/accounts` to request spec (#28950) 12 months ago
Matt Jankowski 7adcc0aae3
Move `api/v1/trends/*` to request specs (#28949) 12 months ago
Matt Jankowski 0b0ca6f3b8
Move `api/v1/timelines/list` to request spec (#28948) 12 months ago
Matt Jankowski 685eaa04d4
Combine double subject in admin/statuses controller shared example (#28940) 12 months ago
Matt Jankowski beb74fd71c
Combine double subjects in instance actors controller shared example (#28939) 12 months ago
Matt Jankowski beaef4b672
Combine double subjects in application controller shared example (#28938) 12 months ago
Matt Jankowski 2f8656334d
Combine double subjects in `admin/accounts` controller spec (#28936) 12 months ago
Matt Jankowski 9cc1817bb4
Fix intmermittent failure in `api/v1/accounts/statuses` controller spec (#28931) 12 months ago
Matt Jankowski a11a2fb052
Add error classes to api/base errors coverage (#28864) 12 months ago
Claire e2d9635074
Add notification email on invalid second authenticator (#28822) 12 months ago
Matt Jankowski 7ecf7f5403
Move controller->request specs for api/v1/statuses/* (#28818) 12 months ago
Claire 3593ee2e36
Add rate-limit of TOTP authentication attempts at controller level (#28801) 12 months ago
Matt Jankowski 329911b0a3
Migrate controller->request spec for api/v1/follow* (#28811) 12 months ago
Claire e621c1c44c
Fix registrations not checking MX records for email domain blocks requiring approval (#28608) 1 year ago
Matt Jankowski e72676e83a
Improve `api/v1/markers#create` performance against simultaneous requests (#28718) 1 year ago
Matt Jankowski a90696011e
Add coverage/bugfix for invalid appeal submission (#28703) 1 year ago
Matt Jankowski 32eeca9c7b
Refresh instance counts in spec (fixes intermittent failure) (#28698) 1 year ago
Matt Jankowski 185c806d69
Extract spec helper for verifing to/from public AP collection namespace (#28472) 1 year ago
Matt Jankowski 87097a227c
Clean up `settings/featured_tags/index` view (#28688) 1 year ago
Matt Jankowski 55802242ce
Refactor login activity partial (remove inline ruby) (#28687) 1 year ago
Claire d7e13e2483
Fix potential redirection loop of streaming endpoint (#28665) 1 year ago
Matt Jankowski 00341c70ff
Use Sidekiq `fake!` instead of `inline!` in specs (#25369) 1 year ago
Claire 6ad0fb5a77
Fix NULL MX handling and tighten DNS resolving specs (#28607) 1 year ago
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains (#28468) 1 year ago
Claire a2624ff739
Convert signature verification specs to request specs (#28443) 1 year ago
Matt Jankowski 513d35969e
Fix `RSpec/LetSetup` cop in auth controller specs (#28464) 1 year ago
Matt Jankowski cd64a5b2ec
Clean up of `RSpec/LetSetup` within `api/` (#28448) 1 year ago
Matt Jankowski f32d672d2f
Clean up of `RSpec/LetSetup` within `spec/controllers` (#28446) 1 year ago
Claire 6fed0fcbaa
Remove unneeded settings cleanup from specs (#28425) 1 year ago
Matt Jankowski b1dec09d20
Fix `Style/InverseMethods` cop (#28377) 1 year ago
Matt Jankowski ef9797a395
Un-nest contexts in `settings/2fa/webauthn` spec (#28359) 1 year ago
Matt Jankowski adbfd40a1b
Convert `api/v1/directories` controller spec to request spec (#28356) 1 year ago
Matt Jankowski 28e1a7a394
Improve spec coverage for `models/announcement` class (#28350) 1 year ago
Matt Jankowski 0e4233de9d
Controller spec to request spec: `api/v2/suggestions` (#28297) 1 year ago
Matt Jankowski 0c64092500
Controller spec to request spec: `api/v1/accounts/search` (#28299) 1 year ago