Commit Graph

124 Commits (6356870dae9159afceac2bc3b4a3f1bfc702d5be)

Author SHA1 Message Date
Matt Jankowski f98972e4eb
Use `with_options` for Account `if: :local?` validation group (#33529) 2 months ago
Matt Jankowski 9b8d1fb6d1
Add `Account#actor_type_application?` query method (#33525) 2 months ago
Matt Jankowski ce1501c3a7
Add "Account::Search" shared example for use in `Account` spec (#33507) 2 months ago
Matt Jankowski f22a2aab40
Add `Account#remote?` query method (#33508) 2 months ago
Matt Jankowski efcd4ea5de
Reference value constants from specs (#33479) 2 months ago
zunda f16fbc069a
Use configured limit for number of profile fields (#33463) 2 months ago
Tim Rogers 3bdfa3eb4c
Added validator for extra profile field values with empty name (#33421) 2 months ago
Matt Jankowski d033920b7e
Move account silence-related methods to concern (#28866) 4 months ago
Matt Jankowski 2e3bbb6861
Move account suspension related coverage to concern spec (#32432) 5 months ago
Matt Jankowski dea6c454fd
Contribute more coverage for `Account` model (#32474) 5 months ago
Matt Jankowski 2f906ed55a
Constants for account refresh (#32420) 5 months ago
David Roetzel c1b2c4fd9a
Strip protocol from attribution domains (#31900) 6 months ago
Claire ba81e4e019
Fix inability to locally suspend remotely-suspended accounts in moderation interface (#31899) 6 months ago
Eugen Rochko e0c27a5047
Add ability to manage which websites can credit you in link previews (#31819) 6 months ago
Matt Jankowski ba9fd1c32e
Add coverage for `Account#prepare_contents` callback (#31748) 6 months ago
Matt Jankowski 14af5b47ac
Add coverage for model normalizations (#31734) 7 months ago
Matt Jankowski 7c26e5e4a1
Add `Reviewable` model concern (#31152) 7 months ago
Matt Jankowski 67faaf5557
Simplify account model username presence validation spec (#31013) 7 months ago
Adam Niedzielski 337a7fcf30
Fix ß bug in regexp for mentions and tags (#31122) 8 months ago
Matt Jankowski 6e4305de69
Fix spec descriptions around configurable limit values (#31079) 8 months ago
kyori19 3a00f89aa1
Respect `Account::DISPLAY_NAME_LENGTH_LIMIT` in account spec correctly (#31075) 8 months ago
Matt Jankowski 91ef4a6fc5
Add assertion about key columns to account key generate spec (#30635) 8 months ago
Matt Jankowski 92b3004bf3
Reference constants from account validation specs (#30634) 9 months ago
Matt Jankowski 6262ceeb70
Fix `RSpec/DescribedClass` cop (#29472) 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
Matt Jankowski 95da28d201
Add common `ThreadingHelper` module for specs (#29116) 1 year ago
Matt Jankowski 18004bf227
Add `Account.matches_uri_prefix` scope and use in activitypub/followers_synchronizations controller (#28820) 1 year ago
Matt Jankowski 1480573c83
Add `Account.auditable` scope, fix N+1 in admin/action_logs#index (#28812) 1 year ago
Matt Jankowski 07e10e3747
Combine assertions about same setup in `Account#suspend!` spec (#28787) 1 year ago
Matt Jankowski cd37048439
Move followable_by coverage to suggestions (#28697) 1 year ago
Matt Jankowski 8b26614fa7
Combine results include check in spec/models/account (#28471) 1 year ago
Matt Jankowski 0a7cff53c2
Add coverage for `Account.followable_by` scope (#28689) 1 year ago
Matt Jankowski c753b1ad35
Clean up of `RSpec/LetSetup` within `spec/models` (#28444) 1 year ago
Matt Jankowski 440b80b2e7
Model concerns organization into module namespaces (#28149) 1 year ago
Matt Jankowski d2aacea8da
Reduce `.times` usage in AccountSearch spec, use constant for default limit (#27946) 1 year ago
Matt Jankowski b2c5b20ef2
Fix `RSpec/AnyInstance` cop (#27810) 1 year ago
Matt Jankowski bcd0171e5e
Fix `Lint/UselessAssignment` cop (#27472) 1 year ago
Matt Jankowski a1b27d8b61
Fix `Naming/VariableNumber` cop (#27447) 1 year ago
Matt Jankowski c676bc91e9
Dont match mention in url query string (#25656)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Claire 1e3b19230a
Add stricter protocol fields validation for accounts (#25937) 2 years ago
Matt Jankowski c75df62ccc
Fix `RSpec/SubjectDeclaration` cop (#25312) 2 years ago
Matt Jankowski 6c0e3f490a
Fix RSpec/MissingExampleGroupArgument cop (#25310) 2 years ago
Matt Jankowski c42591356d
Fix `RSpec/DescribedClass` cop (#25104) 2 years ago
Nick Schonning 99e2e9b81f
Fix minor typos in comments and spec names (#21831) 2 years ago
Matt Jankowski c97b611b6b
Fix RSpec/InferredSpecType cop (#24736) 2 years ago
Matt Jankowski 710745e16b
Fix RSpec/ContextWording cop (#24739) 2 years ago
Matt Jankowski 570079f8ce
Fix Performance/TimesMap cop (#24789) 2 years ago
Matt Jankowski 274d561430
Enable local account key generation spec (#24728) 2 years ago
Nick Schonning a3393d0d07
Autofix Rubocop RSpec/MatchArray (#24050) 2 years ago