Commit Graph

283 Commits (1fed11cfa77c12135c68d5eff8c0d8760605b2b2)

Author SHA1 Message Date
Matt Jankowski 7c26e5e4a1
Add `Reviewable` model concern ()
David Roetzel 388d5473e1
Refactor (ruby) redis configuration ()
Claire ad52b04a1c
Add setting to disable hover cards ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Eugen Rochko 5f15a892fa
Add support for libvips in addition to ImageMagick ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 4a77e477ee
Consolidate account scopes for `LOWER` (index using) username/domain queries ()
Matt Jankowski 9b5055d34d
Fix `Style/SuperArguments` cop ()
Matt Jankowski def6b686ff
Fix `Rails/WhereRange` cop ()
Claire 2fe1b8d169
Add API to get multiple accounts and statuses ()
Co-authored-by: noellabo <noel.yoshiba@gmail.com>
Râu Cao 9aa31be8d3
Fix local account search on LDAP login being case-sensitive ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 88882fbbee
Move Rails/HABTM cop out of todo ()
Matt Jankowski 1e7d5d2957
Update `devise-two-factor` to version 5.0.0 ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 6fed108703
Use Rails `upsert` to generate update_count! query in Counters concern ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski caad1e2628
Add scope `Status.distributable_visibility` ()
Matt Jankowski 285f63c02e
Use composable query in `User.active` scope ()
Claire babbf6017d
Remove caching in `cache_collection` ()
Matt Jankowski c0fe8a9f13
Extract shared callback behaviour to `CustomFilterCache` concern ()
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` ()