Commit Graph

392 Commits (0877f6fda417d27e7e6b9bd1d888dec1b97a7792)

Author SHA1 Message Date
Claire 1726085db5
Merge pull request from GHSA-3fjr-858r-92rw
* Fix insufficient origin validation

* Bump version to 4.3.0-alpha.1
Matt Jankowski 5fbdb2055b
Combine repeated `subject` in `cli/accounts` spec shared example ()
Matt Jankowski 1a30a517d6
Combine repeated subjects in link details extractor spec ()
Matt Jankowski 0e0a94f483
Handle CLI failure exit status at the top-level script ()
Claire 087415d0fe
Add tests for processing statuses using bearcap URIs ()
Matt Jankowski 9a475ea8b3
Finish up the CLI spec area pattern adoption for `CLI::Accounts#refresh` specs ()
MitarashiDango 2c05b8a60d
Fix Undo Announce activity is not sent, when not followed by the reblogged post author ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 00341c70ff
Use Sidekiq `fake!` instead of `inline!` in specs ()
Matt Jankowski 742d8d30e2
Add coverage for `--days` option to CLI `media refresh` command ()
Claire 157fc69954
Make request_pool_spec tests more robust ()
Claire 5f4643b895
Add `PAPERCLIP_ROOT_URL` to Content-Security-Policy when used ()
Matt Jankowski 964a0ecf37
Add sleep statement to nudge thread scheduler in request pool spec ()
Matt Jankowski f92d8c654d
Standardize on Thor methods in CLI classes ()
Matt Jankowski 5c769de096
Add spec coverage for `CLI::Media#remove_orphans` command ()
Matt Jankowski 74a0d81e90
Add coverage for CLI `self-destruct` command ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 2bf84b93d4
Fix media attachment order of remote posts ()
Matt Jankowski c99f88e1a8
Clean up of `RSpec/LetSetup` within `spec/lib` ()
Matt Jankowski 2463b53363
More duplicates in cli maintenance spec, misc bug fixes ()
Matt Jankowski 961d65aba6
Add coverage to CLI Maintenance for duplicate users on `confirmation_token` and `reset_password_token` values ()
Matt Jankowski c7c727994a
Add spec for `CLI::Maintenance#fix_duplicates` ()
Matt Jankowski 8a3d8c6c14
Remove the `stub_stdout` wrapper around CLI specs ()
Matt Jankowski b5a1013ae3
Combine `CLI::...` spec example subjects ()
Matt Jankowski a3cbb4b2f1
Add spec for `CLI::Search#deploy` command ()
Matt Jankowski 8de86eabbf
Add spec for `CLI::Domains#crawl` command ()
Matt Jankowski 8d8ae05a18
Add spec coverage for `CLI::Media#lookup` command ()
Matt Jankowski ad34d33bfd
Formalize some patterns in cli specs ()
Claire 658ad7a6ca
Fix flaky tests related to file creation ()
Matt Jankowski 0e8ba19113
Add spec coverage for `CLI::Emoji` class ()
Matt Jankowski b3b009e6aa
Add spec coverage for `CLI::EmailDomainBlocks` commands ()
Matt Jankowski 9603198982
Add spec coverage for `CLI::Domains#purge` command ()
Matt Jankowski 1bf2230fd1
Add spec coverage for `CLI::Upgrade#storage_schema` command ()
Matt Jankowski 1564799952
Add spec coverage for media CLI `refresh` command ()
Matt Jankowski 7753e5f715
Add shared example for CLI command specs ()
Matt Jankowski 92fa9b109f
Add spec coverage for media CLI usage command ()
Claire 85662a5a57
Change `img-src` and `media-src` CSP directives to not include `https:` ()
Matt Jankowski 973597c6f1
Consolidate configuration of `Sidekiq::Testing.fake!` setup ()
Claire c260a68f54
Clean up some `Mastodon::CLI::Accounts` tests ()
Matt Jankowski 1fabf20a88
Reduce `.times` usage in `lib/mastodon/cli/accounts` spec ()
Matt Jankowski b2c5b20ef2
Fix `RSpec/AnyInstance` cop ()
Matt Jankowski 4329616c53
Ignore block result of `send` method and remove `rubocop:disable` in deepl spec ()
Matt Jankowski ee57bb4b44
Account statuses filter spec speedup ()
Matt Jankowski 370802ce48
Add coverage for `CLI::Maintenance#fix_duplicates` command ()
Matt Jankowski 49e2772064
Fix `RSpec/MessageSpies` cop ()
Matt Jankowski cfa14ec6d1
Fix `Lint/EmptyBlock` cop ()
Matt Jankowski d6f50839e1
Fix `RSpec/SpecFilePathFormat` cops ()
Matt Jankowski fe26f33e0a
Fix `Rails/RedundantActiveRecordAllMethod` cop ()
Matt Jankowski 949f5eb860
Fix `RSpec/MetadataStyle` cop in spec/ ()
Claire c0989b78f8
Fix incoming status creation date not being restricted to standard ISO8601 ()
Claire 0337df3a42
Fix posts from threads received out-of-order sometimes not being inserted into timelines ()
Matt Jankowski eae5c7334a
Extract class from CSP configuration/initialization ()