Commit Graph

359 Commits (stable-4.4)

Author SHA1 Message Date
Matt Jankowski b4a950c2fc Remove unused scopes in `Account` model (#35276) 3 weeks ago
Matt Jankowski f852da50f6
Add `User#email_domain` method to extract domain from email address (#35159) 1 month ago
Matt Jankowski b08ccaa5b3
Extract `Account::Mappings` concern from "interactions" (#35119) 1 month ago
David Roetzel a5a2c6dc7e
Add support for FASP data sharing (#34415) 2 months ago
Claire 59e189ad3c
Add support for paginating partial collections in `SynchronizeFollowersService` (#34277) 4 months ago
Matt Jankowski 68c9f91ccb
Treat non-null but blank account domain as local (#33576) 6 months ago
Matt Jankowski f98972e4eb
Use `with_options` for Account `if: :local?` validation group (#33529) 7 months ago
Matt Jankowski 9b8d1fb6d1
Add `Account#actor_type_application?` query method (#33525) 7 months ago
Matt Jankowski f22a2aab40
Add `Account#remote?` query method (#33508) 7 months ago
Tim Rogers 3bdfa3eb4c
Added validator for extra profile field values with empty name (#33421) 7 months ago
Matt Jankowski c78dc23b49
Move account sensitize-related methods to concern (#28865) 9 months ago
Matt Jankowski d033920b7e
Move account silence-related methods to concern (#28866) 9 months ago
Matt Jankowski 2f906ed55a
Constants for account refresh (#32420) 9 months ago
Matt Jankowski bfabd6a2b8
Move account suspension-related methods to concern (#28351) 10 months ago
Claire 0c872beed4
Merge commit from fork
This should not change the set of words matched by `USERNAME_RE` but does
change the one matched by `MENTION_RE`. Indeed, the previous regexp allowed
a domain part to start with `.` or `-`, which the new regexp does not allow.
10 months ago
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code (#31193) 10 months ago
Claire ba81e4e019
Fix inability to locally suspend remotely-suspended accounts in moderation interface (#31899) 11 months ago
Eugen Rochko e0c27a5047
Add ability to manage which websites can credit you in link previews (#31819) 11 months ago
Matt Jankowski 5b995143f1
Use `with_options` for shared Account validation option value (#31827) 11 months ago
Matt Jankowski be77a1098b
Extract `Account::AUTOMATED_ACTOR_TYPES` for "bot" actor_type values (#31772) 11 months ago
Matt Jankowski 7c26e5e4a1
Add `Reviewable` model concern (#31152) 11 months ago
Matt Jankowski 2f0d0fc127
Add coverage for `CLI::Accounts#fix_duplications` task (#30639) 11 months ago
Edward Moulsdale d4f135bc6d
Fix in memoriam accounts appearing in follow recommendations (#31474)
Co-authored-by: Utkarsh Wankar <46633523+kernal053@users.noreply.github.com>
11 months ago
Adam Niedzielski 337a7fcf30
Fix ß bug in regexp for mentions and tags (#31122) 1 year ago
Matt Jankowski 4a77e477ee
Consolidate account scopes for `LOWER` (index using) username/domain queries (#30451) 1 year ago
Matt Jankowski bbf1b603e0
Remove unused `Account.popular` scope (#30068) 1 year ago
Matt Jankowski 2123281f7c
Move `Account` limits to constants (#30087) 1 year ago
Matt Jankowski 13bbde2246
Use existing `DEFAULT_FIELDS_SIZE` constant to limit `Account#fields` (#29911) 1 year ago
Matt Jankowski cf76380c91
Add `AccountStat.by_recent_status`, use in `Account` (#29704) 1 year ago
Matt Jankowski 14aa7f1e15
Use `Account.activitypub` generated scope (#28157) 1 year ago
Matt Jankowski c09b8a7164
Add `Account.without_internal` scope (#29559)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski 245064bb98
Move "everyone" role and "instance actor" account magic number IDs to constants (#29260) 1 year ago
Wolfgang Fournès cfadb87077
Update enum syntax to use the new Rails 7.0 style (#29217) 1 year ago
Matt Jankowski 18004bf227
Add `Account.matches_uri_prefix` scope and use in activitypub/followers_synchronizations controller (#28820) 2 years ago
Matt Jankowski 1480573c83
Add `Account.auditable` scope, fix N+1 in admin/action_logs#index (#28812) 2 years ago
Matt Jankowski d0b3bc23d7
Remove unused `matches_domain` scopes on Account, DomainAllow, DomainBlock (#28803) 2 years ago
Matt Jankowski a90c134850
Move followable by logic to suggestion class (#28710) 2 years ago
Matt Jankowski cd4b4d4734
Replace unused `by_recent_sign_in` scope (#28616) 2 years ago
Matt Jankowski 9322396e58
Use normalizes to prepare `Account#username` value (#28646) 2 years ago
Matt Jankowski 1820bad646
Fix `Performance/StringIdentifierArgument` cop (#28399) 2 years ago
Matt Jankowski 440b80b2e7
Model concerns organization into module namespaces (#28149) 2 years ago
Claire 963354978a
Add `Account#unavailable?` and `Account#permanently_unavailable?` aliases (#28053) 2 years ago
Claire 340c390849
Fix crash when filtering for “dormant” relationships (#27306) 2 years ago
Matt Jankowski c676bc91e9
Dont match mention in url query string (#25656)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire 81caafbe84
Fix performances of profile directory (#26842) 2 years ago
Claire 355e3fb529
Simplify `Account.by_recent_status` and `Account.by_recent_sign_in` scopes (#26840) 2 years ago
jsgoldstein 30c191aaa0
Add new public status index (#26344)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire 9ed0c91a37
Add auto-refresh of accounts we get new messages/edits of (#26510) 2 years ago
Claire cc4560d95b
Change “privacy and reach” settings so that unchecking boxes always increase privacy and checking them always increase reach (#26508) 2 years ago
Claire 90ec88d58b
Add support for `indexable` attribute on remote actors (#26485)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago