Commit Graph

267 Commits (55e2c827bdc7f96fc746ce43ea303f9e25805099)

Author SHA1 Message Date
Claire 37ca59815c
Remove setting for unfollow confirmation modal, and make it unconditional ()
Claire d71d26a3c9
Reattribute notification-related records if possible when merging accounts ()
Matt Jankowski 77897cd24c
Use existing `SeveredRelationship.about_local_account` scope in more places ()
Claire 44bf7b8128
Add notifications of severed relationships ()
Matt Jankowski 62e266fbd6
Add `BrowserDetection` model concern ()
Matt Jankowski 838b0bdf2d
Remove unused `Account::Interactions#endorsed?` method ()
Matt Jankowski 0bc17a3d48
Use enum-generated `public_visibility` scope on Status ()
Matt Jankowski d4ed7e466c
Extract `by_domain_length` scope in `DomainNormalizable` concern ()
Jeong Arm 4a6ddbc9c0
Normalize idna domain before account unblock domain ()
Eugen Rochko 50b17f7e10
Add notification policies and notification requests ()
Matt Jankowski 8429d07454
Add `RankedTrend` concern for trends classes ()
Matt Jankowski 245064bb98
Move "everyone" role and "instance actor" account magic number IDs to constants ()
Claire b31af34c97
Merge pull request from GHSA-vm39-j3vx-pch3
* Prevent different identities from a same SSO provider from accessing a same account

* Lock auth provider changes behind `ALLOW_UNSAFE_AUTH_PROVIDER_REATTACH=true`

* Rename methods to avoid confusion between OAuth and OmniAuth
Emelia Smith e8b66a0525
Ignore legacy moderator and admin columns on User model ()
Matt Jankowski 86500e3312
Extract scenic view model common methods to concern ()
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 ()