Commit Graph

477 Commits (main)

Author SHA1 Message Date
Claire 3ea4275ae3
Merge pull request from GHSA-5fq7-3p3j-9vrf 8 months ago
Matt Jankowski c61e356475
Add `Status::MEDIA_ATTACHMENTS_LIMIT` configuration constant (#30433) 8 months ago
Claire 91ca90e25b
Fix Idempotency-Key ignored when scheduling a post (#30084) 9 months ago
Matt Jankowski a15139bc02
Fix intermittent order based failure in `UpdateStatusService` spec (#30008) 9 months ago
Matt Jankowski f5d341382e
Add `any_args` to have_enqueued_sidekiq_job call (quiets deprecation) (#29999) 9 months ago
Matt Jankowski 11e0049b08
Use enum-generated scopes/queries for `BulkImport` (#29975) 9 months ago
Claire 8bece467f8
Change `have_enqueued_sidekiq_job` usage to always make argument expectations explicit (#29974) 9 months ago
Matt Jankowski 9ce2db4136
Combine double subject runs and DRY up change check in bulk import service spec (#29402) 9 months ago
Claire 9c24f2d6b1
Undo notification permissions on individual and domain blocks (#29570) 10 months ago
Claire 81a04ac25c
Improve specs for severed relationships (#29688) 10 months ago
Claire 05eda8d193
Remove severed relationship notifications for single account suspensions (#29700) 10 months ago
Claire 44bf7b8128
Add notifications of severed relationships (#27511) 10 months ago
Matt Jankowski e75b55a6d7
Extract target account on list method in bulk import row service spec (#29601) 10 months ago
Matt Jankowski 6262ceeb70
Fix `RSpec/DescribedClass` cop (#29472) 10 months ago
Matt Jankowski 469028b6d3
Remove unneeded `type: :service` from spec/services files (#29304) 10 months ago
Matt Jankowski 19f0590795
Add basic coverage for `TagSearchService` class (#29319) 10 months ago
Eugen Rochko 50b17f7e10
Add notification policies and notification requests (#29366) 10 months ago
Matt Jankowski b0064ddda7
Add basic coverage for `MoveService` class (#29301) 11 months ago
Matt Jankowski a6ed148769
Use heredoc on the `HTML` blocks in verify link spec (#29365) 11 months ago
Claire 9d8dfeb5fb
Fix processing of `Link` objects in `Image` objects (#29335) 11 months ago
Claire 5152dd869e
Fix link verifications when page size exceeds 1MB (#29358) 11 months ago
Matt Jankowski e9b0f0c314
Add basic coverage for `RemoveDomainsFromFollowersService` class (#29327) 11 months ago
Matt Jankowski 7c7dfe7de3
Add basic coverage for `RemoveFeaturedTagService` class (#29328) 11 months ago
Matt Jankowski 6342ddd698
Add basic coverage for `UnfavouriteService` class (#29329) 11 months ago
Matt Jankowski f70905f127
Add basic coverage for `UnmuteService` class (#29330) 11 months ago
Matt Jankowski a69fe534e3
Add basic coverage for `WebhookService` class (#29331) 11 months ago
Matt Jankowski d1602c017d
Add basic coverage for `ApproveAppealService` class (#29333) 11 months ago
Matt Jankowski ab2ef63a03
Add basic coverage for `VoteService` class (#29334) 11 months ago
Matt Jankowski 08342ad40c
Add basic coverage for `AfterUnallowDomainService` class (#29324) 11 months ago
Matt Jankowski 8f61e32569
Add basic coverage for `AppealService` class (#29322) 11 months ago
Matt Jankowski b73932461f
Add basic coverage for `CreateFeaturedTagService` class (#29321) 11 months ago
Matt Jankowski 5f19e7e799
Add basic coverage for `ProcessHashtagsService` class (#29320) 11 months ago
Matt Jankowski 64f9939e39
Use `capture_emails` helper to improve email assertions in specs (#29245) 11 months ago
Claire 9fee5e8526
Merge pull request from GHSA-jhrq-qvrm-qr36
* Fix insufficient Content-Type checking of fetched ActivityStreams objects

* Allow JSON-LD documents with multiple profiles
11 months ago
Matt Jankowski 4b7f04e3ea
Reduce `RSpec/MultipleExpectations` in post_status_service spec (#29225) 11 months ago
Matt Jankowski fc4f823464
Avoid local block var assignment in ap/process_status_update_service spec (#29210) 11 months ago
Matt Jankowski 95da28d201
Add common `ThreadingHelper` module for specs (#29116) 11 months ago
Matt Jankowski 0df86d77fd
Reduce `RSpec/ExampleLength` in PostStatusService spec example (#29105) 11 months ago
Matt Jankowski 978fdc71ca
Reduce expectation count in example from `ProcessAccountService` spec (#29100) 11 months ago
Claire 1726085db5
Merge pull request from GHSA-3fjr-858r-92rw
* Fix insufficient origin validation

* Bump version to 4.3.0-alpha.1
12 months ago
Matt Jankowski 44f6d285af
Combine repeated subject in ap fetch remote actor service spec (#28953) 12 months ago
Matt Jankowski 239244e2ed
Combine repeated subject in ap fetch remote account service spec (#28952) 12 months ago
Matt Jankowski 7c9c6c7f80
Fix remaining `Rails/WhereExists` cop violations, regenerate todo (#28892) 12 months ago
Claire cf2a2ed71c
Fix processing of compacted single-item JSON-LD collections (#28816) 12 months ago
Matt Jankowski 3d82040b26
Reduced repeated setup in `UnallowDomainService` spec (#28785) 12 months ago
Matt Jankowski 6c5a2d51bc
Reduced repeated setup in `PurgeDomainService` spec (#28786) 12 months ago
Claire e621c1c44c
Fix registrations not checking MX records for email domain blocks requiring approval (#28608) 1 year ago
Matt Jankowski a2f02a0775
Disable `Rails/SkipsModelValidations` cop (#28712) 1 year ago
MitarashiDango 2c05b8a60d
Fix Undo Announce activity is not sent, when not followed by the reblogged post author (#18482)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski 00341c70ff
Use Sidekiq `fake!` instead of `inline!` in specs (#25369) 1 year ago
Matt Jankowski 5dc634796a
Misc coverage improvements re: sidekiq/inline (#28651) 1 year ago
Matt Jankowski 832b92ac3e
Add attachment check to spec/service/suspend_account_service spec (#28619) 1 year ago
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains (#28468) 1 year ago
Matt Jankowski a4d49c236d
Fix `RSpec/LetSetup` cop in ap/fetch_featured_collection_service (#28461) 1 year ago
Matt Jankowski 9251779d75
Fix `RSpec/LetSetup` cop in spec/services (#28459) 1 year ago
Matt Jankowski efd16f3c2c
Clean up of `RSpec/LetSetup` within `spec/services/activitypub` (#28445) 1 year ago
Claire 6fed0fcbaa
Remove unneeded settings cleanup from specs (#28425) 1 year ago
Matt Jankowski db897eaa5a
Unwind `map` on single-item array in `spec/services/delete_account_service` spec (#28358) 1 year ago
Claire 89a496b42f
Fix status edits not always being streamed to mentioned users (#28324) 1 year ago
Matt Jankowski ed7b5c091b
Remove double subject call in `services/delete_account_service` spec (#28212) 1 year ago
Matt Jankowski be6bb1a10d
Remove double subject call in `services/suspend_account_service` spec (#28213) 1 year ago
Matt Jankowski 5517df61de
Remove double subject call in `services/activitypub/process_account_service` spec (#28214) 1 year ago
Matt Jankowski faffd81976
Remove double subject call in `services/unsuspend_account_service` spec (#28215) 1 year ago
Matt Jankowski bb0efe16e6
Remove `default_scope` from `MediaAttachment` class (#28043) 1 year ago
Matt Jankowski 6b46bf9953
Handle scenario when webfinger response `subject` is missing host value (#28088) 1 year ago
Matt Jankowski 973597c6f1
Consolidate configuration of `Sidekiq::Testing.fake!` setup (#28046) 1 year ago
Matt Jankowski b2c5b20ef2
Fix `RSpec/AnyInstance` cop (#27810) 1 year ago
Claire 07a4059901
Add support for invite codes in the registration API (#27805) 1 year ago
Eugen Rochko 0d14fcebae
Change link previews to keep original URL from the status (#27312) 1 year ago
Matt Jankowski 69d00e2721
Fix `RSpec/InstanceVariable` cop (#27766) 1 year ago
Matt Jankowski 45770c9306
Fix `Performance/MapMethodChain` cop (#27744) 1 year ago
Matt Jankowski 49e2772064
Fix `RSpec/MessageSpies` cop (#27751) 1 year ago
Matt Jankowski b06284c572
Fix `RSpec/HookArgument` cop (#27747) 1 year ago
Jeong Arm 8f998cd96a
Handle featured collections without items (#27581) 1 year ago
Matt Jankowski bcd0171e5e
Fix `Lint/UselessAssignment` cop (#27472) 1 year ago
Matt Jankowski f8afa0f614
Remove unused stub json ld context (#25454) 1 year ago
Claire 27e84c0691
Fix duplicate reports being sent when reporting some remote posts (#27355) 1 year ago
Claire 6273416292
Fix post edits not being forwarded as expected (#26936) 1 year ago
Claire 16681e0f20
Add admin notifications for new Mastodon versions (#26582) 1 year ago
Eugen Rochko 2304cc6456
Fix bad search type heuristic (#26673) 1 year ago
Nick Schonning b970ed6098
Update rubocop and rubocop-rspec (#26329) 1 year ago
Claire 30c64bf616
Fix list import concurrently creating lists of the same name (#26372) 1 year ago
Emelia Smith e258b4cb64
Refactor: replace whitelist_mode mentions with limited_federation_mode (#26252) 1 year ago
Matt Jankowski 6f1fa1364f
Fix `RSpec/EmptyExampleGroup` cop (#24735) 1 year ago
Christian Schmidt f96e4b3047
Use original URL in preview if it redirects to 4xx page (#26200) 1 year ago
Matt Jankowski 2d9808f648
Reformat large key values in service specs (#26181) 1 year ago
Matt Jankowski 7d62e3b198
Reformat large text arg in `FetchLinkCardService` spec (#26183) 1 year ago
Claire 1e3b19230a
Add stricter protocol fields validation for accounts (#25937) 2 years ago
Matt Jankowski 1cceb62afd
Fix `Lint/Void` cop (#25922) 2 years ago
Claire f18618d7f9
Fix some incorrect tests (#26035) 2 years ago
Matt Jankowski 6c5a2233a8
Fix `RSpec/StubbedMock` cop (#25552)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski 658742b3cd
Fix `Lint/AmbiguousBlockAssociation` cop (#25921) 2 years ago
Matt Jankowski 74806deb2c
Fix `RSpec/SubjectStub` cop (#25550)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski c75df62ccc
Fix `RSpec/SubjectDeclaration` cop (#25312) 2 years ago
jsgoldstein 99be47f8b9
Change searching with # to include account index (#25638) 2 years ago
Claire c27b82a437
Add `forward_to_domains` parameter to `POST /api/v1/reports` (#25866) 2 years ago
Eugen Rochko 93e8a15415
Add forwarding of reported replies to servers being replied to (#25341) 2 years ago
Daniel M Brasil 383c00819c
Fix `/api/v2/search` not working with following query param (#25681) 2 years ago
Claire a209d1e683
Fix ResolveURLService not resolving local URLs for remote content (#25637) 2 years ago
jsgoldstein 4581a528f7
Change account search to match by text when opted-in (#25599)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago