Commit Graph

1508 Commits (09ab073f0cc5a8963c6d34fb76d3af84e0c0f40e)

Author SHA1 Message Date
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 ()
Matt Jankowski 1820bad646
Fix `Performance/StringIdentifierArgument` cop ()
Matt Jankowski 0e5b8fc46b
Fix `Style/RedundantReturn` cop ()
Matt Jankowski b1dec09d20
Fix `Style/InverseMethods` cop ()
Claire dcc24db793
Fix N+1s because of association preloaders not actually getting called ()
Matt Jankowski 3918dc68c7
Use composite primary key for `PreviewCardsStatus` model ()
Matt Jankowski 5631f139c1
Fix `Lint/SymbolConversion` cop ()
Matt Jankowski d83d01eb1e
Fix `Lint/RedundantSafeNavigation` cop ()
Matt Jankowski f70f39dd04
Add explicit `dependent: nil` to associations ()
Matt Jankowski 440b80b2e7
Model concerns organization into module namespaces ()
Claire 963354978a
Add `Account#unavailable?` and `Account#permanently_unavailable?` aliases ()
Matt Jankowski bb0efe16e6
Remove `default_scope` from `MediaAttachment` class ()
Matt Jankowski e48ecd2929
Remove `default_scope` from `Admin::ActionLog` ()
Matt Jankowski 186895fc88
Refactor, lint fix, and bug fix on admin/roles/form partial ()
Claire 3a24754229
Change GIF max matrix size error to explicitly mention GIF files ()
Matt Jankowski 4be12791e6
Remove `default_scope` from `StatusEdit` class ()
Eugen Rochko cdc57c74b7
Fix unsupported time zone or locale preventing sign-up ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski d2aacea8da
Reduce `.times` usage in AccountSearch spec, use constant for default limit ()
ppnplus 2b038b4f89
Added Thai diacritics and tone marks in HASHTAG_INVALID_CHARS_RE ()
Matt Jankowski b7807f3d84
Use `normalizes` to prepare `Webhook#events` value ()
Eugen Rochko 0d14fcebae
Change link previews to keep original URL from the status ()
Matt Jankowski 45770c9306
Fix `Performance/MapMethodChain` cop ()
Matt Jankowski bbad5b6456
Remove false positive cop detection ()
Claire 6c52f8286b
Fix posts from force-sensitized accounts being able to trend ()
Claire 93e4cdc31b
Fix hashtag matching pattern matching some URLs ()
Matt Jankowski 12550a6a28
Use `Rails.env.local?` shorthand method to check env ()