264 Commits (436419cc2fcace7926b6620cb4241ffaffaf4534)

Author SHA1 Message Date
Matt Jankowski b8b2470cf8
Fix `Style/SlicingWithRange` cop (#25923)
1 year ago
Matt Jankowski 658742b3cd
Fix `Lint/AmbiguousBlockAssociation` cop (#25921)
1 year ago
Matt Jankowski b786911c55
Fix `Lint/SendWithMixinArgument` cop (#25920)
1 year ago
Matt Jankowski 74806deb2c
Fix `RSpec/SubjectStub` cop (#25550)
1 year ago
Matt Jankowski c75df62ccc
Fix `RSpec/SubjectDeclaration` cop (#25312)
1 year ago
Nick Schonning 1d557305d2
Enable Rubocop Style/FrozenStringLiteralComment (#23793)
1 year ago
Nick Schonning 9e8bc56d5a
Enable Rubocop Style/Semicolon with config (#23652)
1 year ago
Kurtis Rainbolt-Greene e4cfe4b3db
First pass at multi-database for read replica using Rails native adapter (#25693)
1 year ago
Matt Jankowski 05f9e39b32
Fix `RSpec/VerifiedDoubles` cop (#25469)
1 year ago
Daniel M Brasil 0a0a1f1495
Migrate to request specs in `/api/v1/tags` (#25439)
1 year ago
Matt Jankowski 4c5aa0e470
Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop (#24698)
1 year ago
Matt Jankowski 31d5bc89d1
Speed improvement for `AccountsStatusesCleanupScheduler` spec (#25406)
1 year ago
Nick Schonning 72590e601a
Update Rubocop 1.52.1 (#25376)
1 year ago
Matt Jankowski 62c996b52d
Reduce `RSpec/MultipleExpectations` cop max to 8 (#25313)
1 year ago
Matt Jankowski b85c387c5c
Remove reference to deleted statsd config file (#25336)
1 year ago
Matt Jankowski 6c0e3f490a
Fix RSpec/MissingExampleGroupArgument cop (#25310)
1 year ago
Nick Schonning c66250abf1
Autofix Rubocop Regex Style rules (#23690)
1 year ago
Matt Jankowski c42591356d
Fix `RSpec/DescribedClass` cop (#25104)
1 year ago
Renaud Chaput b7d995cb00
Disable some metrics cops (#25215)
1 year ago
Matt Jankowski 1baf40077b
Fix FormatStringToken cop in CLI (#25122)
1 year ago
Matt Jankowski 80c7de9984
Fix Rails/WhereExists cop in CLI (#25123)
1 year ago
Matt Jankowski 0f2c16ac4b
Fix RSpec/NoExpectationExample cop (#25103)
1 year ago
Matt Jankowski d2e5430d4a
Fix RSpec/ExpectChange cop (#25101)
1 year ago
Matt Jankowski b896b16cb3
Fix RSpec/PredicateMatcher cop (#25102)
2 years ago
Matt Jankowski 778e4a7bf7
Fix RSpec/ExpectInHook cop (#25100)
2 years ago
Matt Jankowski b6b4ea4ca5
Move the mastodon/*_cli files to mastodon/cli/* (#24139)
2 years ago
Matt Jankowski 541f64b2bb
Fix Rails/Exit cop (#24743)
2 years ago
Matt Jankowski e387175fc9
Fix RSpec/RepeatedExample cop (#24849)
2 years ago
Matt Jankowski 9f5deb310b
Fix Performance/MapCompact cop (#24797)
2 years ago
Matt Jankowski 0664704cd9
Fix Performance/StartWith cop (#24818)
2 years ago
Matt Jankowski 325d5f0183
Regenerate rubocop-todo (#24846)
2 years ago
Nick Schonning c0b9664a31
Autofix Rubocop spacing in config (#25022)
2 years ago
Nick Schonning cee4369cf5
Autofix Rubocop Lint/AmbiguousOperatorPrecedence (#25002)
2 years ago
Matt Jankowski 2c2d924942
Fix RSpec/RepeatedExampleGroupDescription cop (#24850)
2 years ago
Matt Jankowski bf3ebeb42f
Fix RSpec/SharedContext cop (#24847)
2 years ago
Matt Jankowski a610a02d4f
Fix RSpec/ScatteredSetup cop (#24848)
2 years ago
Matt Jankowski 0b249ebdb0
Extract StatusSafeReblogInsert concern from Status (#24821)
2 years ago
Nick Schonning 569b39256b
Bump rubocop-rails 2.19.1 with update .rubocop_todo.yml (#24469)
2 years ago
Nick Schonning e1ebcc007d
Regenerate rubocop-todo (#24834)
2 years ago
Nick Schonning ff3b7069cf
Autofix Rubocop Style/ConcatArrayLiterals (#23755)
2 years ago
Nick Schonning da3bd913ae
Autofix Rubocop Style/HashSyntax (#23754)
2 years ago
Nick Schonning d5a185d721
Autofix Rubocop Style/CaseLikeIf (#23756)
2 years ago
Nick Schonning 1fe04f740a
Enable Rubocop Rails/FilePath (#23854)
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 cf18cc2891
Fix RSpec/MultipleSubjects cop (#24738)
2 years ago
Matt Jankowski 2c6c398c60
Fix Performance/CollectionLiteralInLoop cop (#24819)
2 years ago
Matt Jankowski d9a958fcf7
Fix Performance/RedundantMerge cop (#24817)
2 years ago
Matt Jankowski 3df665fd23
Fix Lint/ConstantDefinitionInBlock cop (#24763)
2 years ago
Matt Jankowski a0c9f2447e
Fix Performance/MethodObjectAsBlock cop (#24798)
2 years ago
Matt Jankowski 97385f27bd
Fix Performance/RedundantEqualityComparisonBlock cop (#24799)
2 years ago
Matt Jankowski 668a19a2f3
Fix Performance/DeletePrefix cop (#24796)
2 years ago
Matt Jankowski 05e3abe9d9
Fix Lint/EmptyClass cop (#24795)
2 years ago
Matt Jankowski 24491abf6d
Fix Rails/DeprecatedActiveModelErrorsMethods cop (#24742)
2 years ago
Matt Jankowski b5c4b47746
Fix Rails/ActiveRecordCallbacksOrder cop (#24689)
2 years ago
Matt Jankowski 38b2974a83
Extract AccountSearch concern from Account (#24716)
2 years ago
Matt Jankowski f1c1dd0118
Rename `with_lock` to `with_redis_lock` to avoid confusion with ActiveRecord's method (#24741)
2 years ago
Matt Jankowski 570079f8ce
Fix Performance/TimesMap cop (#24789)
2 years ago
Matt Jankowski bae694108a
Fix Performance/Count cop (#24793)
2 years ago
Matt Jankowski 5e060e1f44
Fix Performance/Sum cop (#24788)
2 years ago
Matt Jankowski 88d33f361f
Fix Lint/DuplicateBranch cop (#24766)
2 years ago
Claire 32a030dd74
Rewrite import feature (#21054)
2 years ago
Matt Jankowski c53fe9b753
Fix RSpec/BeforeAfterAll cop (#24737)
2 years ago
Matt Jankowski d902a707a3
Fix Rails/CompactBlank cop (#24690)
2 years ago
Matt Jankowski d00e45a7d3
Fix Rails/I18nLocaleAssignment cop (#24693)
2 years ago
Matt Jankowski af824db398
Fix Rails/InverseOf cop (#24732)
2 years ago
Matt Jankowski 2e43461100
Fix Rails/Output cop (#24687)
2 years ago
Matt Jankowski 5a2aa06a51
Fix Rails/Present cop (#24688)
2 years ago
Matt Jankowski bdc74086e6
Fix Rails/ContentTag cop (#24691)
2 years ago
Matt Jankowski 6e226f5a32
Fix Rails/ActionOrder cop (#24692)
2 years ago
Matt Jankowski 60ac9e8634
Fix Rails/SquishedSQLHeredocs cop (#24694)
2 years ago
Matt Jankowski 8dcfb6e0ea
Fix Rails/HttpPositionalArguments cop (#24699)
2 years ago
Matt Jankowski 4cfe52635c
Add pending spec for User.those_who_can (#24724)
2 years ago
Nick Schonning 49fad26eca
Drop EOL Ruby 2.7 (#24237)
2 years ago
Nick Schonning 5841f1af8c
Autofix Rubocop RSpec/MatchArray (#24675)
2 years ago
Nick Schonning a3393d0d07
Autofix Rubocop RSpec/MatchArray (#24050)
2 years ago
Nick Schonning 90beba57d8
Autofix Rubocop Rails/ResponseParsedBody (#24051)
2 years ago
Matt Jankowski 0a5f0a8b20
Remove instance variables from helper usage (#24203)
2 years ago
Nick Schonning 4687967176
Autofix Rubocop Style/NumericLiterals (#24468)
2 years ago
Eugen Rochko e98c86050a
Refactor `Cache-Control` and `Vary` definitions (#24347)
2 years ago
Nick Schonning cb2ce842b0
Autofix Rubocop Rails/IgnoredColumnsAssignment (#23761)
2 years ago
Nick Schonning 500d6f93be
Autofix Rubocop Style/IdenticalConditionalBranches (#24322)
2 years ago
Nick Schonning 83fc97285b
Enable Rubocop Metrics/BlockLength with Excludes (#24260)
2 years ago
Eugen Rochko a9b5598c97
Change user settings to be stored in a more optimal way (#23630)
2 years ago
Nick Schonning 503022d6f9
Exclude files for Rubocop Metrics/ClassLength (#24213)
2 years ago
Matt Jankowski 7bef11630d
Remove references to non-existent actions (#24183)
2 years ago
Vyr Cossont 94cbd808b5
Webhooks for local status.create, status.update, account.update (#24133)
2 years ago
Nick Schonning b22b4bac03
Include config/ and update all rubcop deps (#23963)
2 years ago
Nick Schonning 681dcd3fa3
Ignore additional Style/OptionalBooleanParameter (#24138)
2 years ago
Matt Jankowski edc7ca5920
Roll back unintentionally activated rubocop rules (#24132)
2 years ago
Christian Schmidt bd047acc35
Replace `Status#translatable?` with language matrix in separate endpoint (#24037)
2 years ago
Nick Schonning aa947a143b
Regen rubocop-todo without Max shadowing (#24076)
2 years ago
Nick Schonning 25d36b6edd
Autofix Rubocop Style/RedundantArgument (#23798)
2 years ago
Nick Schonning a38f67c1c3
Autofix Rubocop Style/PreferredHashMethods (#23851)
2 years ago
Nick Schonning e762a14c0a
Enable Rubocop Performance/DeleteSuffix (#24077)
2 years ago
Nick Schonning 3ea0856f70
Enable RSpec/FilePath (#23965)
2 years ago
Matt Jankowski 688287c59d
Coverage improvement round-out following up previous work (#23987)
2 years ago
Matt Jankowski 56bddfbfa3
Serializers spec coverage (#24017)
2 years ago
Claire aa98c8fbeb
Disable Style/SymbolArray (#23921)
2 years ago
Nick Schonning 56489cdc4f
Autofix Rubocop Style/HashConversion (#23852)
2 years ago
Matt Jankowski 730bb3e211
Remove unused HTML Validator (#23866)
2 years ago
Nick Schonning 19614ba247
Rename ActivityPub Serializer Specs (#23844)
2 years ago
Nick Schonning 6bd7003799
Fix mispelled spec filenames (#23834)
2 years ago
Nick Schonning 4ff44be134
Autofix Rubocop Rails/Blank (#23765)
2 years ago
Nick Schonning 8fd3fc404d
Autofix Rubocop Rails/RootPathnameMethods (#23760)
2 years ago
Nick Schonning 0cfdd1a401
Enable Rubocop Style/StringConcatenation defaults (#23792)
2 years ago
Nick Schonning 434770f580
Autofix Rubocop Rails/FindById (#23762)
2 years ago
Nick Schonning 35d032500b
Autofix Rubocop Security/IoMethods (#23757)
2 years ago
Nick Schonning 9909b4b653
Autofix Rubocop Rails/WhereEquals (#23759)
2 years ago
Nick Schonning 59c8d43d94
Autofix Rubocop Style/RescueStandardError (#23745)
2 years ago
Nick Schonning 2c3c734bcc
Autofix Rubocop Style/SymbolProc (#23742)
2 years ago
Nick Schonning af4c95100c
Autofix Rubocop Style/FormatString (#23743)
2 years ago
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules (#23679)
2 years ago
Nick Schonning d2dcb6c45a
Autofix Rubocop Style/UnpackFirst (#23741)
2 years ago
Nick Schonning 5116347eb7
Autofix Rubocop RSpec/BeEq (#23740)
2 years ago
Nick Schonning bf785df9fe
Audofix Rubocop Style/WordArray (#23739)
2 years ago
Nick Schonning 4552685f6b
Autofix Rubocop RSpec/LeadingSubject (#23670)
2 years ago
Nick Schonning 4ea1e0fceb
Enable Rubocop RSpec/ExpectActual (#23720)
2 years ago
Nick Schonning 38a1d8bb85
Autofix Rubocop RSpec/ImplicitSubject (#23721)
2 years ago
Nick Schonning 63e6353886
Autofix Rubocop Rails/EnumHash (#23737)
2 years ago
Nick Schonning f0e1b12c10
Autofix Rubocop Style/ExplicitBlockArgument (#23704)
2 years ago
Nick Schonning 5179c47087
Autofix Rubocops RSpec/ScatteredLet (#23725)
2 years ago
Nick Schonning aef0051fd0
Enable Rubocop HTTP status rules (#23717)
2 years ago
Nick Schonning bd1d57c230
Autofix Rubocop RSpec/EmptyLineAfterSubject (#23719)
2 years ago
Nick Schonning dbc6d7b276
Autofix Rubocop Lint/UnusedBlockArgument (#23712)
2 years ago
Nick Schonning 65ba0d92ef
Enable Rubocop RSpec/NotToNot (#23723)
2 years ago
Nick Schonning a2fdb388eb
Autofix Rubocop RSpec/ReturnFromStub (#23724)
2 years ago
Nick Schonning 21bf326356
Autofix Rubocop Rails/Pluck (#23730)
2 years ago
Nick Schonning 597767a9f7
Autofix Rubocop Rails/RedundantForeignKey (#23731)
2 years ago
Nick Schonning 8ef09813a2
Autofix Rubocop Style/EmptyMethod (#23732)
2 years ago
Nick Schonning e0e63b73ee
Autofix Rubocop RSpec/EmptyLineAfterHook (#23718)
2 years ago
Nick Schonning 81ad6c2e39
Autofix Rubocop Style/StringLiterals (#23695)
2 years ago
Nick Schonning ac3561098e
Autofix Rubocop RSpec/LetBeforeExamples (#23671)
2 years ago
Nick Schonning 1a02101100
Autofix Rubocop Style/EmptyLambdaParameter (#23705)
2 years ago
Nick Schonning 3680e032b4
Autofix Rubocop RSpec/EmptyLineAfterFinalLet (#23707)
2 years ago
Nick Schonning 2177daeae9
Autofix Rubocop Style/RedundantBegin (#23703)
2 years ago
Nick Schonning 167709f6b0
Autofix Rubocop Style/BlockDelimiters (#23706)
2 years ago
Nick Schonning c0d7c855b3
Autofix Rubocop RSpec/Capybara/FeatureMethods (#23708)
2 years ago
Nick Schonning 08289a38fa
Autofix Rubocop Style/TrailingCommaInArrayLiteral (#23692)
2 years ago
Nick Schonning 5069769cbe
Autofix Rubocop Style/TrailingCommaInHashLiteral (#23693)
2 years ago
Nick Schonning b4cbfff3eb
Autofix Rubocop RSpec/ExcessiveDocstringSpacing (#23666)
2 years ago
Nick Schonning c38bd17657
Autofix Rubocop Style/TrailingCommaInArguments (#23694)
2 years ago
Nick Schonning ab7816a414
Autofix Rubocop Style/Lambda (#23696)
2 years ago
Nick Schonning e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier (#23697)
2 years ago
Nick Schonning 8aee4de034
Autofix Rubocop Style/PerlBackrefs (#23649)
2 years ago
Nick Schonning a6f77aa28a
Autofix Rubocop Lint/AmbiguousOperatorPrecedence (#23681)
2 years ago
Nick Schonning e2567df860
Enable Lint/RedundantCopDisableDirective (#23687)
2 years ago
Nick Schonning d65b2c1924
Apply Rubocop Style/RedundantConstantBase (#23463)
2 years ago
Nick Schonning a7db0b41cd
Autofix Rubocop Lint/ParenthesesAsGroupedExpression (#23682)
2 years ago
Nick Schonning e5cf23cf3a
Enable Rubocop RSpec/HooksBeforeExamples (#23668)
2 years ago