Commit Graph

252 Commits (0b853678a45df06f5b9453217a9bf72f23ee322d)

Author SHA1 Message Date
Matt Jankowski 89c9a4502d
Fix `Rails/WhereExists` cop in account/interactions concern ()
Claire 98b5f85f10
Rename and refactor `User#confirm!` to `User#mark_email_as_confirmed!` ()
Michael Stanclift 195b89d336
Fix .opus file uploads being misidentified by Paperclip ()
Matt Jankowski 128c5b7db3
Fix `Performance/StringIdentifierArgument` cop ()
Eugen Rochko b5ac61b2c5
Change algorithm of follow recommendations ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 7d9b209fe8
Fix call to inefficient `delete_matched` cache method in domain blocks ()
Matt Jankowski 1820bad646
Fix `Performance/StringIdentifierArgument` cop ()
Claire dcc24db793
Fix N+1s because of association preloaders not actually getting called ()
Matt Jankowski 5631f139c1
Fix `Lint/SymbolConversion` cop ()
Matt Jankowski f70f39dd04
Add explicit `dependent: nil` to associations ()
Matt Jankowski 440b80b2e7
Model concerns organization into module namespaces ()
Claire 3a24754229
Change GIF max matrix size error to explicitly mention GIF files ()
Matt Jankowski d2aacea8da
Reduce `.times` usage in AccountSearch spec, use constant for default limit ()
Eugen Rochko 0d14fcebae
Change link previews to keep original URL from the status ()
Matt Jankowski e93a75f1a1
Rails 7.1 update ()
Essem bd810391d6
Properly remove tIME chunk from PNG uploads ()
Claire cab4cbfa5c
Fix “Scoped order is ignored, it's forced to be batch order.” warnings ()
Claire 9e77ab7db2
Change private statuses index to index without crutches ()
Claire 0cce7fb617
Fix incorrect call to `PublicStatusesIndex.import` ()
Eugen Rochko 5694e24bbf
Fix unnecessary condition causing seqscan when indexing ()
jsgoldstein 30c191aaa0
Add new public status index ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Eugen Rochko 4d01d1a1ee
Remove 16:9 cropping from web UI ()
Matt Jankowski ce43ed144c
Rails 7.0 update ()
Claire 94fbac77e7
Fix processing of media files with unusual names ()
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 ()
jsgoldstein 4581a528f7
Change account search to match by text when opted-in ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Matt Jankowski 0b249ebdb0
Extract StatusSafeReblogInsert concern from Status ()
Claire 1e75eb690d
Fix own posts not getting delivered to own lists ()
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 ()
Claire 6693a4fe7c
Change lists to be able to include accounts with pending follow requests ()
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 0e919397db
Fix unescaped user input in LDAP query ()
Eugen Rochko a9b5598c97
Change user settings to be stored in a more optimal way ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Eugen Rochko 9bda933740
Change media upload limits and remove client-side resizing ()
Takeshi Umeda 38c84f57b6
Refactoring relations_map ()
Claire 6b16b77ab0
Fix external authentication not running onboarding code for new users ()
Nick Schonning d2dcb6c45a
Autofix Rubocop Style/UnpackFirst ()
Nick Schonning 2177daeae9
Autofix Rubocop Style/RedundantBegin ()
Nick Schonning ab7816a414
Autofix Rubocop Style/Lambda ()
Nick Schonning e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier ()
Nick Schonning 669f6d2c0a
Run rubocop formatting except line length ()
Nick Schonning 8c1b65c7dd
Apply Rubocop Style/RedundantAssignment ()
Nick Schonning ed570050c6
Autofix Rails/EagerEvaluationLogMessage ()
* Autofix Rails/EagerEvaluationLogMessage

* Update spec for debug block syntax
Claire d1387579b9
Fix situations in which instance actor can be set to a Mastodon-incompatible name ()
* Validate internal actor

* Use “internal.actor” by default for the server actor username

* Fix instance actor username on the fly if it includes ':'

* Change actor name from internal.actor to mastodon.internal