Commit Graph

1604 Commits (a9816f051d3a83763b5a07423da2684fa2d05ca9)

Author SHA1 Message Date
Matt Jankowski bbf1b603e0
Remove unused `Account.popular` scope (#30068) 9 months ago
Matt Jankowski 2123281f7c
Move `Account` limits to constants (#30087) 9 months ago
Matt Jankowski f0c9cbaf3b
Use `EXPIRATION_DURATIONS` constant in `CustomFilter` class (#30088) 9 months ago
Claire e845594878
Fix moderator account being exposed in account moderation notification (#30082) 9 months ago
Claire 4ef0b48b95
Add in-app notifications for moderation actions/warnings (#30065) 9 months ago
Matt Jankowski f4a53f3fb4
Extract constants for column size length validation limits (#30045) 9 months ago
Matt Jankowski 11e0049b08
Use enum-generated scopes/queries for `BulkImport` (#29975) 9 months ago
Matt Jankowski 650c548c31
Add `not_featured_by` scope to Tag (#28815) 10 months ago
Claire fc89ecc6ca
Change `/api/v1/announcements` to return regular `Status` entities (#26736) 10 months ago
Matt Jankowski 6fed108703
Use Rails `upsert` to generate update_count! query in Counters concern (#28738)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
10 months ago
Matt Jankowski caad1e2628
Add scope `Status.distributable_visibility` (#29950) 10 months ago
Matt Jankowski 6b33d3f81b
Add `CustomFilter.unexpired` scope (#29896) 10 months ago
Matt Jankowski 3159c0a547
Add scope `Status.list_eligible_visibility` (#29951) 10 months ago
Matt Jankowski 13bbde2246
Use existing `DEFAULT_FIELDS_SIZE` constant to limit `Account#fields` (#29911) 10 months ago
Matt Jankowski 285f63c02e
Use composable query in `User.active` scope (#29775) 10 months ago
Claire babbf6017d
Remove caching in `cache_collection` (#29862) 10 months ago
Matt Jankowski c0fe8a9f13
Extract shared callback behaviour to `CustomFilterCache` concern (#29695) 10 months ago
Claire 38b9d31f63
Improve email address validation (#29838) 10 months ago
Matt Jankowski f56309f5f0
Add `by_latest_used` scope, move admin area recent IPs to partial (#29497) 10 months ago
Matt Jankowski b016f03637
Pull out constant from `AccountWarning.recent` scope (#29767) 10 months ago
Matt Jankowski 1d0a43f6a3
Use composable query in `Status.not_domain_blocked_by_account` scope (#29766) 10 months ago
Matt Jankowski 32938dadd7
Add `not_allowed` scope for `PreviewCardTrend` (#29599) 10 months ago
Matt Jankowski cf76380c91
Add `AccountStat.by_recent_status`, use in `Account` (#29704) 10 months ago
Emelia Smith eb926b7e60
Ensure case-insensitive fields are converted to lowercase in user imports (#29740) 10 months ago
Emelia Smith a3e8b78250
Ensure case-insensitive fields are converted to lowercase in Admin Imports (#29739) 10 months ago
Claire 37ca59815c
Remove setting for unfollow confirmation modal, and make it unconditional (#29373) 10 months ago
Claire 58376eedda
Remove obsolete `admin` and `moderator` columns from `users` table (#29718) 10 months ago
Claire d71d26a3c9
Reattribute notification-related records if possible when merging accounts (#29694) 10 months ago
Claire dfa43707eb
Change `AccountRelationshipSeveranceEvent` model to store lost followers and following counts separately (#29714) 10 months ago
Matt Jankowski 8c1d29df7e
Use `has_many through` instead of `delegate` for ARSE<>SR (#29672) 10 months ago
Matt Jankowski 77897cd24c
Use existing `SeveredRelationship.about_local_account` scope in more places (#29673) 10 months ago
Matt Jankowski cdd168f5d3
Update `enum` away from deprecated (#29678) 10 months ago
Claire f4d753aedf
Fix error in severed relationship event serializer (#29670) 10 months ago
Claire 98a2bb8be2
Fix issue with severed relationships notifications (#29668) 10 months ago
Claire 954b470fbc
Fix error when attempting to delete posts that triggered a notification request (#29666) 10 months ago
Claire d4449cc682
Fix account_relationship_severance_events unique indexes (#29665) 10 months ago
Claire 44bf7b8128
Add notifications of severed relationships (#27511) 10 months ago
Claire 8a1423a474
Allow unblocking email addresses from any matching account (#29305) 10 months ago
Matt Jankowski 62e266fbd6
Add `BrowserDetection` model concern (#29513) 10 months ago
Claire d5063072c3
Revert friends-of-friends follow recommendation query to using a CTE (#29619) 11 months ago
Matt Jankowski 838b0bdf2d
Remove unused `Account::Interactions#endorsed?` method (#29463) 11 months ago
Matt Jankowski 6c3e718b86
Remove setting of `sensitive` value (default false, not null) in Status model (#29589) 11 months ago
Matt Jankowski 14aa7f1e15
Use `Account.activitypub` generated scope (#28157) 11 months ago
Matt Jankowski 0bc17a3d48
Use enum-generated `public_visibility` scope on Status (#28156) 11 months ago
Matt Jankowski 19cbadfbd6
Use enum-generated scope for `IpBlock` in CLI (#28144) 11 months ago
Matt Jankowski c09b8a7164
Add `Account.without_internal` scope (#29559)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
11 months ago
Claire b43eaa4517
Refactor notification filtering behavior definition (#29567) 11 months ago
Matt Jankowski 01b624c4a0
Use `normalizes` on `CustomFilter#context` value (#27602) 11 months ago
Matt Jankowski d4ed7e466c
Extract `by_domain_length` scope in `DomainNormalizable` concern (#29517) 11 months ago
Matt Jankowski 216cea1e27
Fix incorrect frequency value in `FriendsOfFriendsSource` data (#29550) 11 months ago