Commit Graph

1533 Commits (6b6586f5d099a9089c8bf9dc7d7406a86c0a48eb)

Author SHA1 Message Date
Matt Jankowski 6b6586f5d0
Add `CustomFilterKeyword#to_regex` method ()
Matt Jankowski 38f7f8b909
Tidy up association declaration in `Instance` model ()
Matt Jankowski 7a1f087659
Add `created_before` and `updated_before` scopes to `MediaAttachment` ()
Matt Jankowski 9d413cbaf8
Fix `Rails/WhereExists` cop in app/models ()
Matt Jankowski 599bc69503
Simplify `AccountSummary.filtered` query generation ()
Eugen Rochko 5b1eb09d54
Add annual reports for accounts ()
Matt Jankowski c0e8e457ab
Eager loading fixes for `api/` controllers ()
Matt Jankowski b0207d7757
Add coverage for `Tag.recently_used` scope ()
Matt Jankowski 18004bf227
Add `Account.matches_uri_prefix` scope and use in activitypub/followers_synchronizations controller ()
Matt Jankowski 5fc4ae7c5f
Move privacy policy into markdown file ()
Matt Jankowski 1480573c83
Add `Account.auditable` scope, fix N+1 in admin/action_logs#index ()
Matt Jankowski f866413e72
Extract shared tagged statuses method in `FeaturedTag` ()
Matt Jankowski d0b3bc23d7
Remove unused `matches_domain` scopes on Account, DomainAllow, DomainBlock ()
Matt Jankowski 0b853678a4
Add coverage for `api/v1/peers/search` endpoint and extract controller query to Instance scope ()
Matt Jankowski 9fb9ef418a
Fix `Rails/WhereExists` cop in User model ()
Matt Jankowski aaa6f2e930
Group common `class_name` options in associations ()
Matt Jankowski da31792ac7
Fix `Rails/WhereExists` cop in FeaturedTag model ()
Matt Jankowski 89c9a4502d
Fix `Rails/WhereExists` cop in account/interactions concern ()
Matt Jankowski 1b0cb3b54d
Announcement reactions query spec improvement and refactor ()
Claire 98b5f85f10
Rename and refactor `User#confirm!` to `User#mark_email_as_confirmed!` ()
Claire e621c1c44c
Fix registrations not checking MX records for email domain blocks requiring approval ()
Matt Jankowski a2f02a0775
Disable `Rails/SkipsModelValidations` cop ()
Claire 8cb4825c8b
Fix sign-up restrictions based on email addresses not being enforced ()
Matt Jankowski a90c134850
Move followable by logic to suggestion class ()
Matt Jankowski 543d7890fd
Use normalizes to prepare `User` values ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 10203bd57a
Clean up `Setting` model and remove dead code ()
Jean Boussier 1781849884
Inline what remains of the rails-settings-cached gem ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski cd4b4d4734
Replace unused `by_recent_sign_in` scope ()
Matt Jankowski e677eb164c
Remove unused `Announcement#time_range?` ()
Matt Jankowski 3e43cd095c
Remove unused scope `Announcement.without_muted` ()
Matt Jankowski 9322396e58
Use normalizes to prepare `Account#username` value ()
Matt Jankowski cd58e37b25
Remove unused `DomainBlock#affected_accounts_count` method ()
Matt Jankowski 4ccba94489
Remove unused `*_silenced_accounts` scopes on Status ()
Matt Jankowski c52a593a30
Remove unused scope `User.emailable` ()
Matt Jankowski e827c4692c
Use Arel `matches` method in CustomEmoji search ()
Matt Jankowski 1bc5a52139
Extract SQL heredoc method for Announcement scopes ()
Matt Jankowski aa6d07dbd9
Use normalizes to prepare CustomEmoji `domain` value ()
Matt Jankowski 202951e6d9
Use Arel `in_order_of` method to generate CASE for `DomainBlock.by_severity` ()
Matt Jankowski 57f49c8191
Use Arel `nulls_first` method in ordering CustomEmojiFilter scope ()
Jean Boussier 5a6d533c53
Enable Rails 7.1 Marshalling format ()
Matt Jankowski 12bed81187
Add validation specs to `CustomFilter` model ()
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains ()
Michael Stanclift 195b89d336
Fix .opus file uploads being misidentified by Paperclip ()
Claire fcfdeadc04
Fix random `NoMethodError` errors on cached `CustomFilter` objects ()
Matt Jankowski ba5f659bb3
Use shorter attribute query methods in `Announcement` ()
Matt Jankowski 128c5b7db3
Fix `Performance/StringIdentifierArgument` cop ()
Claire 2bf84b93d4
Fix media attachment order of remote posts ()
Claire d29b1cca2e
Fix `friends_of_friends` sometimes suggesting already-followed accounts ()
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 ()