Commit graph

483 commits

Author SHA1 Message Date
Matt Jankowski 07e10e3747
Combine assertions about same setup in Account#suspend! spec () 2024-01-18 09:36:59 +00:00
Matt Jankowski 1b0cb3b54d
Announcement reactions query spec improvement and refactor () 2024-01-17 09:18:13 +00:00
Claire 98b5f85f10
Rename and refactor User#confirm! to User#mark_email_as_confirmed! () 2024-01-15 18:04:58 +00:00
Matt Jankowski cd37048439
Move followable_by coverage to suggestions () 2024-01-12 09:11:34 +00:00
Matt Jankowski 8b26614fa7
Combine results include check in spec/models/account () 2024-01-11 16:17:45 +00:00
Matt Jankowski 0a7cff53c2
Add coverage for Account.followable_by scope () 2024-01-11 09:30:29 +00:00
Matt Jankowski 543d7890fd
Use normalizes to prepare User values ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-10 13:36:06 +00:00
Matt Jankowski 00341c70ff
Use Sidekiq fake! instead of inline! in specs () 2024-01-10 11:06:58 +00:00
Claire 10203bd57a
Clean up Setting model and remove dead code () 2024-01-09 14:01:53 +00:00
Jean Boussier 1781849884
Inline what remains of the rails-settings-cached gem ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-09 11:50:21 +00:00
Matt Jankowski 5dc634796a
Misc coverage improvements re: sidekiq/inline () 2024-01-09 09:40:08 +00:00
Matt Jankowski e677eb164c
Remove unused Announcement#time_range? () 2024-01-08 15:26:30 +00:00
Matt Jankowski 3e43cd095c
Remove unused scope Announcement.without_muted () 2024-01-08 15:26:14 +00:00
Matt Jankowski aa6d07dbd9
Use normalizes to prepare CustomEmoji domain value () 2024-01-08 11:20:59 +00:00
Matt Jankowski 12bed81187
Add validation specs to CustomFilter model () 2024-01-05 15:13:59 +00:00
Matt Jankowski bb8077e784
Fix RSpec/LetSetup cop in models/account_status_cleanup_policy () 2023-12-22 15:29:50 +00:00
Matt Jankowski e6e217fedd
Clean up tagged_with_* Status specs, fix RSpec/LetSetup cop () 2023-12-22 08:32:27 +00:00
Matt Jankowski c753b1ad35
Clean up of RSpec/LetSetup within spec/models () 2023-12-21 09:18:38 +00:00
Claire 6fed0fcbaa
Remove unneeded settings cleanup from specs () 2023-12-19 15:17:22 +00:00
Matt Jankowski af366f65ee
Add spec coverage for models/form/custom_emoji_batch class () 2023-12-18 12:41:37 +00:00
Matt Jankowski 1820bad646
Fix Performance/StringIdentifierArgument cop () 2023-12-18 10:26:09 +00:00
Matt Jankowski 28e1a7a394
Improve spec coverage for models/announcement class () 2023-12-14 10:29:10 +00:00
Matt Jankowski 89a8e6e622
Remove 2x double subject call in models/form/account_batch spec () 2023-12-04 15:41:43 +00:00
Matt Jankowski 5631f139c1
Fix Lint/SymbolConversion cop () 2023-12-01 15:53:35 +00:00
Matt Jankowski 440b80b2e7
Model concerns organization into module namespaces () 2023-12-01 11:00:41 +00:00
Matt Jankowski e48ecd2929
Remove default_scope from Admin::ActionLog () 2023-11-29 10:39:59 +00:00
Matt Jankowski 973597c6f1
Consolidate configuration of Sidekiq::Testing.fake! setup () 2023-11-23 09:43:43 +00:00
Eugen Rochko cdc57c74b7
Fix unsupported time zone or locale preventing sign-up ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-11-22 11:38:07 +00:00
Matt Jankowski 371f355719
Reduce .times usage in AccountStatusesCleanupPolicy () 2023-11-20 09:08:54 +00:00
Matt Jankowski d2aacea8da
Reduce .times usage in AccountSearch spec, use constant for default limit () 2023-11-20 09:08:22 +00:00
Matt Jankowski 00c6ebd86f
Reduce .times usage in StatusPin and add PIN_LIMIT constant in validator () 2023-11-20 09:07:25 +00:00
Matt Jankowski b2c5b20ef2
Fix RSpec/AnyInstance cop () 2023-11-14 14:52:59 +00:00
Matt Jankowski b7807f3d84
Use normalizes to prepare Webhook#events value () 2023-11-13 22:47:44 +00:00
Matt Jankowski 63c9102f8a
Fix RSpec/MessageChain cop () 2023-11-09 12:57:23 +00:00
Matt Jankowski 69d00e2721
Fix RSpec/InstanceVariable cop () 2023-11-08 15:42:30 +00:00
Matt Jankowski ce91d14d48
Fix Style/WordArray cop () 2023-11-08 13:03:44 +00:00
Matt Jankowski 49e2772064
Fix RSpec/MessageSpies cop () 2023-11-07 09:46:28 +00:00
Matt Jankowski cfa14ec6d1
Fix Lint/EmptyBlock cop () 2023-11-07 09:11:04 +00:00
Matt Jankowski b06284c572
Fix RSpec/HookArgument cop () 2023-11-07 09:10:36 +00:00
Matt Jankowski 949f5eb860
Fix RSpec/MetadataStyle cop in spec/ () 2023-11-06 14:28:20 +00:00
Claire 93e4cdc31b
Fix hashtag matching pattern matching some URLs () 2023-10-27 14:04:51 +00:00
Claire bcae744275
Fix some link anchors being recognized as hashtags () 2023-10-23 14:19:38 +02:00
Matt Jankowski b0213472df
Validate allowed schemes on preview card URLs () 2023-10-23 09:50:02 +02:00
Matt Jankowski bcd0171e5e
Fix Lint/UselessAssignment cop () 2023-10-19 16:55:06 +02:00
Matt Jankowski a1b27d8b61
Fix Naming/VariableNumber cop () 2023-10-18 14:26:22 +02:00
Victor Lee c4bddc9855
Add spec for poll model ()
Co-authored-by: Nick Schonning <nschonni@gmail.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-10-17 14:56:24 +02:00
Claire 340c390849
Fix crash when filtering for “dormant” relationships () 2023-10-06 12:58:16 +02:00
Matt Jankowski c676bc91e9
Dont match mention in url query string ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-10-03 17:01:45 +02:00
Claire ceb365c419
Fix boosts of local users being filtered in account timelines () 2023-10-03 12:21:42 +02:00
Claire 1f99d86287
Fix blocked domain appears from account feed ()
Co-authored-by: Jeong Arm <kjwonmail@gmail.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-09-06 21:04:48 +02:00