Commit Graph

388 Commits (f00ba02653ef4e654571e8942b404fcd925662b1)

Author SHA1 Message Date
Claire 1726085db5
Merge pull request from GHSA-3fjr-858r-92rw
* Fix insufficient origin validation

* Bump version to 4.3.0-alpha.1
2024-02-01 15:56:46 +01:00
Matt Jankowski 44f6d285af
Combine repeated subject in ap fetch remote actor service spec () 2024-01-26 17:44:12 +00:00
Matt Jankowski 239244e2ed
Combine repeated subject in ap fetch remote account service spec () 2024-01-26 17:43:08 +00:00
Matt Jankowski 7c9c6c7f80
Fix remaining `Rails/WhereExists` cop violations, regenerate todo () 2024-01-25 12:37:07 +00:00
Claire cf2a2ed71c
Fix processing of compacted single-item JSON-LD collections () 2024-01-19 12:43:10 +00:00
Matt Jankowski 3d82040b26
Reduced repeated setup in `UnallowDomainService` spec () 2024-01-18 10:11:10 +00:00
Matt Jankowski 6c5a2d51bc
Reduced repeated setup in `PurgeDomainService` spec () 2024-01-18 10:07:49 +00:00
Claire e621c1c44c
Fix registrations not checking MX records for email domain blocks requiring approval () 2024-01-15 17:10:57 +00:00
Matt Jankowski a2f02a0775
Disable `Rails/SkipsModelValidations` cop () 2024-01-15 13:46:47 +00:00
MitarashiDango 2c05b8a60d
Fix Undo Announce activity is not sent, when not followed by the reblogged post author ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-12 15:58:28 +00:00
Matt Jankowski 00341c70ff
Use Sidekiq `fake!` instead of `inline!` in specs () 2024-01-10 11:06:58 +00:00
Matt Jankowski 5dc634796a
Misc coverage improvements re: sidekiq/inline () 2024-01-09 09:40:08 +00:00
Matt Jankowski 832b92ac3e
Add attachment check to spec/service/suspend_account_service spec () 2024-01-08 11:05:10 +00:00
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains () 2024-01-04 09:07:05 +00:00
Matt Jankowski a4d49c236d
Fix `RSpec/LetSetup` cop in ap/fetch_featured_collection_service () 2023-12-22 12:57:29 +00:00
Matt Jankowski 9251779d75
Fix `RSpec/LetSetup` cop in spec/services () 2023-12-21 14:23:53 +00:00
Matt Jankowski efd16f3c2c
Clean up of `RSpec/LetSetup` within `spec/services/activitypub` () 2023-12-21 11:20:12 +00:00
Claire 6fed0fcbaa
Remove unneeded settings cleanup from specs () 2023-12-19 15:17:22 +00:00
Matt Jankowski db897eaa5a
Unwind `map` on single-item array in `spec/services/delete_account_service` spec () 2023-12-14 14:07:54 +00:00
Claire 89a496b42f
Fix status edits not always being streamed to mentioned users () 2023-12-12 10:39:21 +00:00
Matt Jankowski ed7b5c091b
Remove double subject call in `services/delete_account_service` spec () 2023-12-06 08:51:09 +00:00
Matt Jankowski be6bb1a10d
Remove double subject call in `services/suspend_account_service` spec () 2023-12-06 08:45:19 +00:00
Matt Jankowski 5517df61de
Remove double subject call in `services/activitypub/process_account_service` spec () 2023-12-06 08:44:51 +00:00
Matt Jankowski faffd81976
Remove double subject call in `services/unsuspend_account_service` spec () 2023-12-06 08:44:07 +00:00
Matt Jankowski bb0efe16e6
Remove `default_scope` from `MediaAttachment` class () 2023-11-30 13:30:35 +00:00
Matt Jankowski 6b46bf9953
Handle scenario when webfinger response `subject` is missing host value () 2023-11-28 18:37:54 +00:00
Matt Jankowski 973597c6f1
Consolidate configuration of `Sidekiq::Testing.fake!` setup () 2023-11-23 09:43:43 +00:00
Matt Jankowski b2c5b20ef2
Fix `RSpec/AnyInstance` cop () 2023-11-14 14:52:59 +00:00
Claire 07a4059901
Add support for invite codes in the registration API () 2023-11-13 13:27:00 +00:00
Eugen Rochko 0d14fcebae
Change link previews to keep original URL from the status () 2023-11-13 09:58:28 +00:00
Matt Jankowski 69d00e2721
Fix `RSpec/InstanceVariable` cop () 2023-11-08 15:42:30 +00:00
Matt Jankowski 45770c9306
Fix `Performance/MapMethodChain` cop () 2023-11-07 13:01:09 +00:00
Matt Jankowski 49e2772064
Fix `RSpec/MessageSpies` cop () 2023-11-07 09:46:28 +00:00
Matt Jankowski b06284c572
Fix `RSpec/HookArgument` cop () 2023-11-07 09:10:36 +00:00
Jeong Arm 8f998cd96a
Handle featured collections without items () 2023-10-27 02:36:22 +00:00
Matt Jankowski bcd0171e5e
Fix `Lint/UselessAssignment` cop () 2023-10-19 16:55:06 +02:00
Matt Jankowski f8afa0f614
Remove unused stub json ld context () 2023-10-16 15:38:27 +02:00
Claire 27e84c0691
Fix duplicate reports being sent when reporting some remote posts () 2023-10-10 16:00:50 +02:00
Claire 6273416292
Fix post edits not being forwarded as expected () 2023-09-15 19:54:32 +02:00
Claire 16681e0f20
Add admin notifications for new Mastodon versions () 2023-09-01 17:47:07 +02:00
Eugen Rochko 2304cc6456
Fix bad search type heuristic () 2023-08-28 17:08:37 +02:00
Nick Schonning b970ed6098
Update rubocop and rubocop-rspec () 2023-08-22 09:31:40 +02:00
Claire 30c64bf616
Fix list import concurrently creating lists of the same name () 2023-08-07 17:59:20 +02:00
Emelia Smith e258b4cb64
Refactor: replace whitelist_mode mentions with limited_federation_mode () 2023-08-02 19:32:48 +02:00
Matt Jankowski 6f1fa1364f
Fix `RSpec/EmptyExampleGroup` cop () 2023-07-28 23:15:33 +02:00
Christian Schmidt f96e4b3047
Use original URL in preview if it redirects to 4xx page () 2023-07-28 23:02:08 +02:00
Matt Jankowski 2d9808f648
Reformat large key values in service specs () 2023-07-26 09:45:50 +02:00
Matt Jankowski 7d62e3b198
Reformat large text arg in `FetchLinkCardService` spec () 2023-07-26 09:44:51 +02:00
Claire 1e3b19230a
Add stricter protocol fields validation for accounts () 2023-07-20 18:23:48 +02:00
Matt Jankowski 1cceb62afd
Fix `Lint/Void` cop () 2023-07-20 17:31:34 +02:00