Commit Graph

457 Commits (603b245cc62acba0d8f71ad4c31d2f1676e90190)

Author SHA1 Message Date
Matt Jankowski 973597c6f1
Consolidate configuration of `Sidekiq::Testing.fake!` setup ()
Eugen Rochko cdc57c74b7
Fix unsupported time zone or locale preventing sign-up ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 371f355719
Reduce `.times` usage in `AccountStatusesCleanupPolicy` ()
Matt Jankowski d2aacea8da
Reduce `.times` usage in AccountSearch spec, use constant for default limit ()
Matt Jankowski 00c6ebd86f
Reduce `.times` usage in `StatusPin` and add `PIN_LIMIT` constant in validator ()
Matt Jankowski b2c5b20ef2
Fix `RSpec/AnyInstance` cop ()
Matt Jankowski b7807f3d84
Use `normalizes` to prepare `Webhook#events` value ()
Matt Jankowski 63c9102f8a
Fix `RSpec/MessageChain` cop ()
Matt Jankowski 69d00e2721
Fix `RSpec/InstanceVariable` cop ()
Matt Jankowski ce91d14d48
Fix `Style/WordArray` cop ()
Matt Jankowski 49e2772064
Fix `RSpec/MessageSpies` cop ()
Matt Jankowski cfa14ec6d1
Fix `Lint/EmptyBlock` cop ()
Matt Jankowski b06284c572
Fix `RSpec/HookArgument` cop ()
Matt Jankowski 949f5eb860
Fix `RSpec/MetadataStyle` cop in spec/ ()
Claire 93e4cdc31b
Fix hashtag matching pattern matching some URLs ()
Claire bcae744275
Fix some link anchors being recognized as hashtags ()
Matt Jankowski b0213472df
Validate allowed schemes on preview card URLs ()
Matt Jankowski bcd0171e5e
Fix `Lint/UselessAssignment` cop ()
Matt Jankowski a1b27d8b61
Fix `Naming/VariableNumber` cop ()
Victor Lee c4bddc9855
Add spec for poll model ()
Co-authored-by: Nick Schonning <nschonni@gmail.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 340c390849
Fix crash when filtering for “dormant” relationships ()
Matt Jankowski c676bc91e9
Dont match mention in url query string ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire ceb365c419
Fix boosts of local users being filtered in account timelines ()
Claire 1f99d86287
Fix blocked domain appears from account feed ()
Co-authored-by: Jeong Arm <kjwonmail@gmail.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Christian Schmidt ea31929776
Fix invalid Content-Type header for WebP images ()
Claire 16681e0f20
Add admin notifications for new Mastodon versions ()
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 ()
Matt Jankowski c363978782
Spec media attachment speedups ()
Christian Schmidt f2257069b2
Fix AVIF attachments ()
Matt Jankowski 6f1fa1364f
Fix `RSpec/EmptyExampleGroup` cop ()
Claire 1e3b19230a
Add stricter protocol fields validation for accounts ()
Matt Jankowski c75df62ccc
Fix `RSpec/SubjectDeclaration` cop ()
Claire dc8f1fbd97
Merge pull request from GHSA-9928-3cp5-93fm
* Fix attachments getting processed despite failing content-type validation

* Add a restrictive ImageMagick security policy tailored for Mastodon

* Fix misdetection of MP3 files with large cover art

* Reject unprocessable audio/video files instead of keeping them unchanged
Matt Jankowski 05f9e39b32
Fix `RSpec/VerifiedDoubles` cop ()
Claire dd07393e75
Fix user settings not getting validated ()
Matt Jankowski 4c5aa0e470
Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop ()
Daniel M Brasil d9c6f70cc6
Fix `ArgumentError` in `/api/v1/admin/accounts/:id/action` ()
Matt Jankowski ae9f5379d1
Reduce factory data created in spec/models/trends/statuses spec ()
Matt Jankowski 62c996b52d
Reduce `RSpec/MultipleExpectations` cop max to 8 ()
Matt Jankowski c94bb9ba9a
Disable paperclip processing in specs ()
Matt Jankowski 6c0e3f490a
Fix RSpec/MissingExampleGroupArgument cop ()
Matt Jankowski c42591356d
Fix `RSpec/DescribedClass` cop ()
Matt Jankowski b22bfae4f9
Add coverage for `DomainBlock#public_domain` method ()
Claire 8884d1ece0
Add support for importing lists ()
Matt Jankowski d2e5430d4a
Fix RSpec/ExpectChange cop ()
Matt Jankowski b896b16cb3
Fix RSpec/PredicateMatcher cop ()
Emelia Smith 19f9098551
Allow reports with long comments from remote instances, but truncate ()
Nick Schonning 99e2e9b81f
Fix minor typos in comments and spec names ()
Claire 3ed3d54bf3
Fix reports not being closed when performing batch suspensions ()