Commit Graph

424 Commits (5e1752ce3f21a06287d0a0821c02835c06227441)

Author SHA1 Message Date
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 ()
Matt Jankowski c97b611b6b
Fix RSpec/InferredSpecType cop ()
Matt Jankowski 710745e16b
Fix RSpec/ContextWording cop ()
Claire 1e75eb690d
Fix own posts not getting delivered to own lists ()
Matt Jankowski 3df665fd23
Fix Lint/ConstantDefinitionInBlock cop ()
Matt Jankowski a0c9f2447e
Fix Performance/MethodObjectAsBlock cop ()
Matt Jankowski 570079f8ce
Fix Performance/TimesMap cop ()
Claire 6693a4fe7c
Change lists to be able to include accounts with pending follow requests ()
Claire 32a030dd74
Rewrite import feature ()
Matt Jankowski 274d561430
Enable local account key generation spec ()
Matt Jankowski 4cfe52635c
Add pending spec for User.those_who_can ()
Nick Schonning 5841f1af8c
Autofix Rubocop RSpec/MatchArray ()
Nick Schonning a3393d0d07
Autofix Rubocop RSpec/MatchArray ()
Heitor de Melo Cardozo bc75e62ca6
Change moderation search an account using the username with @ ()
Christian Schmidt b4f38edf74
Wrong type for user setting when default is defined by lambda ()
Eugen Rochko a9b5598c97
Change user settings to be stored in a more optimal way ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Christian Schmidt bd047acc35
Replace `Status#translatable?` with language matrix in separate endpoint ()
Matt Jankowski 688287c59d
Coverage improvement round-out following up previous work ()
Matt Jankowski 506b16cf59
Pending example models minimal coverage ()
Matt Jankowski cd99fa8ceb
Fabricator specs ()
Matt Jankowski c40d5e5a8f
Misc coverage improvements for validators ()
Matt Jankowski f9c2213ae5
Models specs coverage ()
Christian Schmidt 5a8c651e8f
Only offer translation for supported languages ()
Matt Jankowski af578e8ce0
Fix deprecation warning about merging conditions ()
Matt Jankowski 4bb39ac3c3
Fix single-record invalid condition on PollVote ()
Nick Schonning 84cc805cae
Enable Style/FrozenStringLiteralComment for specs ()
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules ()
Nick Schonning 5116347eb7
Autofix Rubocop RSpec/BeEq ()
Nick Schonning bf785df9fe
Audofix Rubocop Style/WordArray ()
Nick Schonning 4552685f6b
Autofix Rubocop RSpec/LeadingSubject ()
Nick Schonning 38a1d8bb85
Autofix Rubocop RSpec/ImplicitSubject ()
Nick Schonning bd1d57c230
Autofix Rubocop RSpec/EmptyLineAfterSubject ()
Nick Schonning 65ba0d92ef
Enable Rubocop RSpec/NotToNot ()
Nick Schonning 81ad6c2e39
Autofix Rubocop Style/StringLiterals ()