Commit Graph

297 Commits (297ce9ef4474c80e10043db7cc61b4fc331c68c1)

Author SHA1 Message Date
Matt Jankowski c78dc23b49
Move account sensitize-related methods to concern ()
Matt Jankowski d033920b7e
Move account silence-related methods to concern ()
Matt Jankowski bde0f1239a
Add `InetContainer` with scopes of `containing` and `contained` ()
Matt Jankowski 41227aeb95
Update Rails to version 7.2.2 ()
Matt Jankowski b231c3c1bf
Drop support for ruby 3.1 ()
Matt Jankowski babee06794
Add coverage for `StatusTrend` and `PreviewCardTrend` models, add `locales` class method to `RankedTrend` ()
Matt Jankowski 258dce1256
Add `OpenSSL::SSL::SSLError` to http connection errors wrapper ()
Matt Jankowski e8ec6667bd
Extract wrapper constant for `HTTP::*` error classes ()
Matt Jankowski bfabd6a2b8
Move account suspension-related methods to concern ()
Matt Jankowski ec16ed37c3
Extract constants for header and avatar geometry ()
Matt Jankowski 04a939d640
Add `reviewed` and `unreviewed` scopes to `Reviewable` model concern ()
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code ()
David Roetzel c1b2c4fd9a
Strip protocol from attribution domains ()
Eugen Rochko e0c27a5047
Add ability to manage which websites can credit you in link previews ()
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>