Commit Graph

1398 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
Eugen Rochko ba06a2f104
Revert "Rails 7 update" ()
Matt Jankowski 50c2a03695
Rails 7 update ()
Matt Jankowski 683ba5ecb1
Fix rails `rewhere` deprecation warning in directories api controller ()
jsgoldstein 4581a528f7
Change account search to match by text when opted-in ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Claire 602c458ab6
Add finer permission requirements for managing webhooks ()
Claire ebfeaebedb
Fix /api/v1/conversations sometimes returning empty accounts ()
Claire ec91ea4457
Fix missing validation on `default_privacy` setting ()
Claire dd07393e75
Fix user settings not getting validated ()
Daniel M Brasil d9c6f70cc6
Fix `ArgumentError` in `/api/v1/admin/accounts/:id/action` ()
Claire ec59166844
Fix ArgumentError when loading newer Private Mentions ()
Renaud Chaput 1cb4514d0e
Add missing report category translation ()
Eugen Rochko 4c9406bdb0
Add time zone preference ()
Eugen Rochko 67d17ce194
Add `legal` as report category ()
Nick Schonning c66250abf1
Autofix Rubocop Regex Style rules ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Eugen Rochko 4eda233e09
Add webhook templating ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
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>
Claire 8884d1ece0
Add support for importing lists ()
Claire 2b45fecde1
Fix multiple N+1s in ConversationsController ()
Christian Schmidt 69057467cb
Translate CW, poll options and media descriptions ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire b6519ab3f5
Fix inconsistent naming of Instance.by_domain_and_subdomain ()
Claire 1d588d58f1
Improve various queries against account domains ()
Claire dfa5889fc0
Change Identity to not destroy associated User on destroy ()
Matt Jankowski 9f5deb310b
Fix Performance/MapCompact cop ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Emelia Smith 19f9098551
Allow reports with long comments from remote instances, but truncate ()
Claire bec6a1cad4
Add hCaptcha support ()
Claire 3ed3d54bf3
Fix reports not being closed when performing batch suspensions ()
Matt Jankowski 0b249ebdb0
Extract StatusSafeReblogInsert concern from Status ()
Nick Schonning da3bd913ae
Autofix Rubocop Style/HashSyntax ()
Matt Jankowski 2c6c398c60
Fix Performance/CollectionLiteralInLoop cop ()
Claire a2a22bad23
Fix various edge cases with local moves ()
Claire 1e75eb690d
Fix own posts not getting delivered to own lists ()
Matt Jankowski a0c9f2447e
Fix Performance/MethodObjectAsBlock cop ()
Matt Jankowski b5c4b47746
Fix Rails/ActiveRecordCallbacksOrder cop ()
Matt Jankowski 38b2974a83
Extract AccountSearch concern from Account ()
Matt Jankowski f1c1dd0118
Rename `with_lock` to `with_redis_lock` to avoid confusion with ActiveRecord's method ()
Matt Jankowski 5e060e1f44
Fix Performance/Sum cop ()
Claire 6693a4fe7c
Change lists to be able to include accounts with pending follow requests ()
Matt Jankowski 88d33f361f
Fix Lint/DuplicateBranch cop ()
Claire 32a030dd74
Rewrite import feature ()
Matt Jankowski d902a707a3
Fix Rails/CompactBlank cop ()
Matt Jankowski af824db398
Fix Rails/InverseOf cop ()
Nick Schonning 49fad26eca
Drop EOL Ruby 2.7 ()
Claire b0eba1a060
Minor clean up and optimization of the automatic post deletion code ()
Robert R George 4db8230194
Add trend management to admin API ()
Heitor de Melo Cardozo bc75e62ca6
Change moderation search an account using the username with @ ()
Claire f53d009778
Refactor `Status._insert_record` slightly and tighten the test around reblogs of discarded statuses ()
Kuba Suder aca2cd1528
fixed typo in a constant name ()
Claire 0e919397db
Fix unescaped user input in LDAP query ()
Nick Schonning cb2ce842b0
Autofix Rubocop Rails/IgnoredColumnsAssignment ()