Commit Graph

113 Commits (c60d4ecc82ce3dd2f2a00eaccf5231f03f24c31d)

Author SHA1 Message Date
David Roetzel c1b2c4fd9a
Strip protocol from attribution domains ()
Claire ba81e4e019
Fix inability to locally suspend remotely-suspended accounts in moderation interface ()
Eugen Rochko e0c27a5047
Add ability to manage which websites can credit you in link previews ()
Matt Jankowski ba9fd1c32e
Add coverage for `Account#prepare_contents` callback ()
Matt Jankowski 14af5b47ac
Add coverage for model normalizations ()
Matt Jankowski 7c26e5e4a1
Add `Reviewable` model concern ()
Matt Jankowski 67faaf5557
Simplify account model username presence validation spec ()
Adam Niedzielski 337a7fcf30
Fix ß bug in regexp for mentions and tags ()
Matt Jankowski 6e4305de69
Fix spec descriptions around configurable limit values ()
kyori19 3a00f89aa1
Respect `Account::DISPLAY_NAME_LENGTH_LIMIT` in account spec correctly ()
Matt Jankowski 91ef4a6fc5
Add assertion about key columns to account key generate spec ()
Matt Jankowski 92b3004bf3
Reference constants from account validation specs ()
Matt Jankowski 6262ceeb70
Fix `RSpec/DescribedClass` cop ()
Matt Jankowski c09b8a7164
Add `Account.without_internal` scope ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 245064bb98
Move "everyone" role and "instance actor" account magic number IDs to constants ()
Matt Jankowski 95da28d201
Add common `ThreadingHelper` module for specs ()
Matt Jankowski 18004bf227
Add `Account.matches_uri_prefix` scope and use in activitypub/followers_synchronizations controller ()
Matt Jankowski 1480573c83
Add `Account.auditable` scope, fix N+1 in admin/action_logs#index ()
Matt Jankowski 07e10e3747
Combine assertions about same setup in `Account#suspend!` spec ()
Matt Jankowski cd37048439
Move followable_by coverage to suggestions ()
Matt Jankowski 8b26614fa7
Combine results include check in spec/models/account ()
Matt Jankowski 0a7cff53c2
Add coverage for `Account.followable_by` scope ()
Matt Jankowski c753b1ad35
Clean up of `RSpec/LetSetup` within `spec/models` ()
Matt Jankowski 440b80b2e7
Model concerns organization into module namespaces ()
Matt Jankowski d2aacea8da
Reduce `.times` usage in AccountSearch spec, use constant for default limit ()
Matt Jankowski b2c5b20ef2
Fix `RSpec/AnyInstance` cop ()
Matt Jankowski bcd0171e5e
Fix `Lint/UselessAssignment` cop ()
Matt Jankowski a1b27d8b61
Fix `Naming/VariableNumber` cop ()
Matt Jankowski c676bc91e9
Dont match mention in url query string ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 1e3b19230a
Add stricter protocol fields validation for accounts ()
Matt Jankowski c75df62ccc
Fix `RSpec/SubjectDeclaration` cop ()
Matt Jankowski 6c0e3f490a
Fix RSpec/MissingExampleGroupArgument cop ()
Matt Jankowski c42591356d
Fix `RSpec/DescribedClass` cop ()
Nick Schonning 99e2e9b81f
Fix minor typos in comments and spec names ()
Matt Jankowski c97b611b6b
Fix RSpec/InferredSpecType cop ()
Matt Jankowski 710745e16b
Fix RSpec/ContextWording cop ()
Matt Jankowski 570079f8ce
Fix Performance/TimesMap cop ()
Matt Jankowski 274d561430
Enable local account key generation spec ()
Nick Schonning a3393d0d07
Autofix Rubocop RSpec/MatchArray ()
Matt Jankowski cd99fa8ceb
Fabricator specs ()
Nick Schonning 84cc805cae
Enable Style/FrozenStringLiteralComment for specs ()
Nick Schonning 5116347eb7
Autofix Rubocop RSpec/BeEq ()
Nick Schonning bf785df9fe
Audofix Rubocop Style/WordArray ()
Nick Schonning 4552685f6b
Autofix Rubocop RSpec/LeadingSubject ()
Nick Schonning 65ba0d92ef
Enable Rubocop RSpec/NotToNot ()
Nick Schonning 81ad6c2e39
Autofix Rubocop Style/StringLiterals ()
Nick Schonning 3680e032b4
Autofix Rubocop RSpec/EmptyLineAfterFinalLet ()
Claire 70415714f1
Add follow request banner on account header ()
* Add requested_by to relationship maps

* Display whether an account has requested to follow you on their profile
Jeong Arm d412147d02
Save avatar or header correctly even if other one fails ()
* Save avatar or header correctly if other one fails

* Fix test
luzpaz 6ba52306f9
Fix typos ()
Found via `codespell -q 3 -S ./yarn.lock,./CHANGELOG.md,./AUTHORS.md,./config/locales,./app/javascript/mastodon/locales -L ba,followings,keypair,medias,pattens,pixelx,rememberable,ro,te`