Commit Graph

419 Commits (f1300ad284d8c7877a7406e253cf7558596d9837)

Author SHA1 Message Date
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 ()
Matt Jankowski e93a75f1a1
Rails 7.1 update ()
Claire 13688539bc
Fix processing LDSigned activities from actors with unknown public keys ()
Daniel M Brasil 7bc8f03162
Add test coverage for `Mastodon::CLI::Accounts#migrate` ()
Daniel M Brasil 091a21e1bc
Add test coverage for `Mastodon::CLI::Accounts#prune` ()
Claire b34a2b1b33
Fix errors in CLI specs ()
Matt Jankowski d54fec24e5
Add coverage for `CLI::PreviewCards#remove` command ()
Matt Jankowski fc9ab61448
Expand spec coverage of `CLI::Media` ()
Matt Jankowski f8afa0f614
Remove unused stub json ld context ()
Matt Jankowski 00e92b4038
Add coverage for `CLI::Statuses` command ()
Claire 299aa71c8f
Fix handling of `inLanguage` attribute in preview card processing ()
KMY(雪あすか) 45bdd60f3c
Fix when unfollow a tag, my post also disappears from the home timeline ()
Matt Jankowski 72cec47c13
Silence deprecation warning in CacheBuster spec ()
Claire ceb365c419
Fix boosts of local users being filtered in account timelines ()
Claire 94893cf24f
Merge pull request from GHSA-hcqf-fw2r-52g4
* Revert "Fix request URL normalisation for bare domain and 8-bit characters ()"

This reverts commit 8891d8945d.

* Revert "Do not normalize URL before fetching it ()"

This reverts commit fd284311e7.
Eugen Rochko 3a679844e4
Fix `account_id`, `max_id` and `min_id` params not working in search ()
Eugen Rochko ece1ff77d6
Add `in:library` syntax to search ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 16681e0f20
Add admin notifications for new Mastodon versions ()
Eugen Rochko e754083e8a
Fix unmatched quotes and prefixes causing search to fail ()
Claire e3825a13c1
Add PublicStatusesCheck to Elasticsearch index check on admin dashboard ()
jsgoldstein 30c191aaa0
Add new public status index ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Nick Schonning b970ed6098
Update rubocop and rubocop-rspec ()
Claire ac0eb0533e
Add Elasticsearch cluster health check and indexes mismatch check to dashboard ()
Renaud Chaput b95867ad1f
Allow setting a custom HTTP method in CacheBuster ()
Co-authored-by: Jorijn Schrijvershof <jorijn@jorijn.com>
Matt Jankowski d9a9323968
Avoid connecting to a running ES instance in ES search check spec ()
Christian Schmidt 8da99ffb0d
Add alt text for preview card thumbnails ()
Christian Schmidt 8891d8945d
Fix request URL normalisation for bare domain and 8-bit characters ()
Christian Schmidt fd284311e7
Do not normalize URL before fetching it ()
Claire 6c3c5bbbc3
Fix crash when processing Flag activity with no status ()
Claire 5b457961fc
Fix linting issue ()
Claire 144a406d33
Clean up unused application records ()
Claire 1e3b19230a
Add stricter protocol fields validation for accounts ()
Matt Jankowski 6c5a2233a8
Fix `RSpec/StubbedMock` cop ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 05f9e39b32
Fix `RSpec/VerifiedDoubles` cop ()
Claire c78280a8ce
Add translate="no" to outgoing mentions and links ()
Matt Jankowski e1c9d52e91
Reduce `sleep` time in request pool spec ()
Matt Jankowski 4c5aa0e470
Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop ()
Matt Jankowski b5675e265e
Add coverage for `CLI::Feeds` command ()
Matt Jankowski 07933db788
Add coverage for `CLI::Cache` command ()
Matt Jankowski 6c0e3f490a
Fix RSpec/MissingExampleGroupArgument cop ()
Matt Jankowski b74c3cd708
Fix `RSpec/DescribedClass` cop missed items ()
Matt Jankowski c42591356d
Fix `RSpec/DescribedClass` cop ()
Daniel M Brasil eb6f8181e1
Add test coverage for `Mastodon::CLI::Accounts#reset_relationships` ()
Eugen Rochko 4eda233e09
Add webhook templating ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski af135bddd0
Update `Admin::Metrics::Measure` classes for Rails 7 ()
Matt Jankowski 3b21c13dcc
Rails 7 compatibility fix for `Admin::Metrics::Dimension` classes ()
Daniel M Brasil 70cd2d6000
Add test coverage for `Mastodon::CLI::Accounts#cull` ()
Darius Kazemi bacb674921
Add exclusive lists ()
Co-authored-by: Liam Cooke <liam@liamcooke.com>
Co-authored-by: John Holdun <john@johnholdun.com>
Co-authored-by: Effy Elden <effy@effy.space>
Co-authored-by: Lina Reyne <git@lina.pizza>
Co-authored-by: Lina <20880695+necropolina@users.noreply.github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 5c87c66504
Add coverage for CLI::CanonicalEmailBlocks command ()
Daniel M Brasil 03a707f6a6
Add test coverage for `Mastodon::CLI::Accounts#merge` ()
Daniel M Brasil 2a353200ad
Add test coverage for `Mastodon::CLI::Accounts#rotate` ()
Daniel M Brasil f906e21a4f
Add test coverage for `Mastodon::CLI::Accounts#refresh` ()
Matt Jankowski f84037ae2b
Remove unused #hash_to_object method in SettingsHelper ()
Claire e9385e93e9
Add a confirmation screen when suspending a domain ()
Christian Schmidt 69057467cb
Translate CW, poll options and media descriptions ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Daniel M Brasil 3c41547f49
Add test coverage for `Mastodon::CLI::Accounts#backup` ()
Daniel M Brasil bf9a7ce8e8
Add test coverage for `Mastodon::CLI::Accounts#unfollow` ()
Daniel M Brasil dbc44be0ca
Add test coverage for `Mastodon::CLI::Accounts#follow` ()
Daniel M Brasil 3d253b9830
Add test coverage for `Mastodon::CLI::Accounts#approve` ()
Daniel M Brasil bbbcdc083f
Add test coverage for `Mastodon::CLI::Accounts#delete` ()
Daniel M Brasil bdc7548652
Add test coverage for `Mastodon::CLI::Accounts#modify` ()
Daniel M Brasil 11b8336418
Add test coverage for `Mastodon::CLI::Accounts#create` ()
Matt Jankowski 384345b0de
Add CLI Base class for command line code ()
Matt Jankowski 778e4a7bf7
Fix RSpec/ExpectInHook cop ()
Matt Jankowski b6b4ea4ca5
Move the mastodon/*_cli files to mastodon/cli/* ()
Emelia Smith 19f9098551
Allow reports with long comments from remote instances, but truncate ()
Matt Jankowski d34d94d08f
Add spec for migration warning module ()
Claire 9015c2d646
Change profile updates to be sent to recently-mentioned servers ()
Daniel M Brasil 9cbda99941
Add test coverage for `Mastodon::IpBlocksCLI` ()
Claire 6b0942d107
Change AccessTokensVacuum to also delete expired tokens ()
Daniel M Brasil c9210af3ee
Add test coverage for `Mastodon::SettingsCLI` ()
Matt Jankowski 710745e16b
Fix RSpec/ContextWording cop ()
Matt Jankowski 3df665fd23
Fix Lint/ConstantDefinitionInBlock cop ()
Matt Jankowski 570079f8ce
Fix Performance/TimesMap cop ()