mastodon/spec
Emelia Smith 68eaa804c9
Merge pull request from GHSA-7w3c-p9j8-mq3x
* Ensure destruction of OAuth Applications notifies streaming

Due to doorkeeper using a dependent: delete_all relationship, the destroy of an OAuth Application bypassed the existing AccessTokenExtension callbacks for announcing destructing of access tokens.

* Ensure password resets revoke access to Streaming API

* Improve performance of deleting OAuth tokens

---------

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-02-14 15:15:34 +01:00
..
chewy Add new public status index (#26344) 2023-08-24 16:40:04 +02:00
config/initializers/rack Fix `RSpec/SpecFilePathFormat` cops (#27730) 2023-11-06 16:25:40 +00:00
controllers Combine repeated requests in `admin/accounts` controller spec (#29119) 2024-02-07 10:59:32 +00:00
fabrication Restore console behavior in `test` env (#26401) 2023-08-09 11:26:56 +02:00
fabricators Move followable_by coverage to suggestions (#28697) 2024-01-12 09:11:34 +00:00
features Extract helper method for repeated form fill in admin/domain_blocks feature spec (#29128) 2024-02-08 10:02:53 +00:00
fixtures Add end-to-end test for OCR in media uploads (#29148) 2024-02-08 19:13:44 +00:00
generators Fix flaky tests related to file creation (#28248) 2023-12-06 22:22:25 +00:00
helpers Remove unneeded settings cleanup from specs (#28425) 2023-12-19 15:17:22 +00:00
lib Add `context` and `before` to lengthy tag manager spec examples (#29129) 2024-02-08 10:03:04 +00:00
locales Replace i18n view spec with helper spec (#24966) 2023-05-15 17:25:04 +02:00
mailers Add notification email on invalid second authenticator (#28822) 2024-01-22 13:55:43 +00:00
models Merge pull request from GHSA-7w3c-p9j8-mq3x 2024-02-14 15:15:34 +01:00
policies Rename and refactor `User#confirm!` to `User#mark_email_as_confirmed!` (#28735) 2024-01-15 18:04:58 +00:00
presenters Remove unneeded settings cleanup from specs (#28425) 2023-12-19 15:17:22 +00:00
requests Disable administrative doorkeeper routes (#29187) 2024-02-13 18:11:47 +00:00
routing Enable Style/FrozenStringLiteralComment for specs (#23790) 2023-02-22 09:55:31 +09:00
search/models/concerns/account Use Sidekiq `fake!` instead of `inline!` in specs (#25369) 2024-01-10 11:06:58 +00:00
serializers Change `source` attribute of `Suggestion` entity in `/api/v2/suggestions` back to a string (#29108) 2024-02-06 17:10:17 +00:00
services Add common `ThreadingHelper` module for specs (#29116) 2024-02-07 14:53:29 +00:00
support Add common `ThreadingHelper` module for specs (#29116) 2024-02-07 14:53:29 +00:00
system Add end-to-end test for OCR in media uploads (#29148) 2024-02-08 19:13:44 +00:00
validators Add common stub setup for resolv dns in email mx validator spec (#29140) 2024-02-08 14:26:45 +00:00
views Fix `RSpec/MetadataStyle` cop in spec/ (#27729) 2023-11-06 14:28:20 +00:00
workers Disable `Rails/SkipsModelValidations` cop (#28712) 2024-01-15 13:46:47 +00:00
rails_helper.rb Add common `ThreadingHelper` module for specs (#29116) 2024-02-07 14:53:29 +00:00
spec_helper.rb Disable simplecov `enable_coverage_for_eval` option, move to standalone file (#27869) 2023-11-15 23:09:31 +00:00