Commit Graph

500 Commits (feature-async-refresh-context)

Author SHA1 Message Date
Claire 670e4655d1
Change dismissing a notification to clear existing filtered notifications for that account (#31329) 12 months ago
Claire 719cabe024
Fix logic of block/mute bypass for mentions from moderators (#31271) 12 months ago
Adam Niedzielski cd0ca4b994
Select correct self link when parsing Webfinger response (#31110) 1 year ago
Claire ced5e853c7
Fix duplicate `orderedItems` in user archive's `outbox.json` (#31099) 1 year ago
Matt Jankowski 47ea83d246
Reduce factory creation in `AP::ProcessStatusUpdateService` spec (#31051) 1 year ago
Matt Jankowski c5f8256801
Reduce extra factories in `FanOutOnWriteService` spec (#31053) 1 year ago
Matt Jankowski f5e90f3de3
Reduce extra round trips in `AP::SynchronizeFollowersService` spec (#31044) 1 year ago
Matt Jankowski 81877e7950
Reduce extra round trips in `AP::FetchRemoteStatusService` spec (#31045) 1 year ago
Emelia Smith aa88aca0ad
Add optional OAuth application to reports (#30539) 1 year ago
David Roetzel 35a437a03f
Destroy `NotificationRequest`s that are dismissed (#31008) 1 year ago
David Roetzel 2ea9336b68
Do not pass unknown encoding names to nokogiri. (#30987) 1 year ago
David Roetzel 967505ee9b
Add size limit for all PreviewCard URLs (#30973) 1 year ago
Matt Jankowski f1300ad284
Rename jobs/attachments rspec tag names (#29762) 1 year ago
David Roetzel 97eddb5906
Fix details extraction when no title exists. (#30933) 1 year ago
David Roetzel 016c1e4e78
Improve handling of encoding problems when creating link previews (#30929) 1 year ago
David Roetzel ff08d99d4d
Catch encoding errors when creating link previews. (#30853) 1 year ago
David Roetzel 42adb6eaee
Add size limit for link preview URLs (#30854) 1 year ago
David Roetzel 2cab1c7b09
Improve encoding detection for link cards (#30780) 1 year ago
Matt Jankowski f287462f76
Fix repeated Delete/Undo assertion in remove status service spec (#30715) 1 year ago
Claire bf56e982a9
Fix notifications from limited users being outright dropped (#30559) 1 year ago
Claire 1dfd516284
Fix duplicate `@context` attribute in user export (#30653) 1 year ago
Daniel M Brasil 77c2216e47
fix: Return HTTP 422 when scheduled status time is less than 5 minutes (#30584) 1 year ago
Matt Jankowski 04ebbe3077
Add `sidekiq_inline` to appeal service spec (#30562) 1 year ago
Claire 3ea4275ae3
Merge pull request from GHSA-5fq7-3p3j-9vrf 1 year ago
Matt Jankowski c61e356475
Add `Status::MEDIA_ATTACHMENTS_LIMIT` configuration constant (#30433) 1 year ago
Claire 91ca90e25b
Fix Idempotency-Key ignored when scheduling a post (#30084) 1 year ago
Matt Jankowski a15139bc02
Fix intermittent order based failure in `UpdateStatusService` spec (#30008) 1 year ago
Matt Jankowski f5d341382e
Add `any_args` to have_enqueued_sidekiq_job call (quiets deprecation) (#29999) 1 year ago
Matt Jankowski 11e0049b08
Use enum-generated scopes/queries for `BulkImport` (#29975) 1 year ago
Claire 8bece467f8
Change `have_enqueued_sidekiq_job` usage to always make argument expectations explicit (#29974) 1 year ago
Matt Jankowski 9ce2db4136
Combine double subject runs and DRY up change check in bulk import service spec (#29402) 1 year ago
Claire 9c24f2d6b1
Undo notification permissions on individual and domain blocks (#29570) 1 year ago
Claire 81a04ac25c
Improve specs for severed relationships (#29688) 1 year ago
Claire 05eda8d193
Remove severed relationship notifications for single account suspensions (#29700) 1 year ago
Claire 44bf7b8128
Add notifications of severed relationships (#27511) 1 year ago
Matt Jankowski e75b55a6d7
Extract target account on list method in bulk import row service spec (#29601) 1 year ago
Matt Jankowski 6262ceeb70
Fix `RSpec/DescribedClass` cop (#29472) 1 year ago
Matt Jankowski 469028b6d3
Remove unneeded `type: :service` from spec/services files (#29304) 1 year ago
Matt Jankowski 19f0590795
Add basic coverage for `TagSearchService` class (#29319) 1 year ago
Eugen Rochko 50b17f7e10
Add notification policies and notification requests (#29366) 1 year ago
Matt Jankowski b0064ddda7
Add basic coverage for `MoveService` class (#29301) 1 year ago
Matt Jankowski a6ed148769
Use heredoc on the `HTML` blocks in verify link spec (#29365) 1 year ago
Claire 9d8dfeb5fb
Fix processing of `Link` objects in `Image` objects (#29335) 1 year ago
Claire 5152dd869e
Fix link verifications when page size exceeds 1MB (#29358) 1 year ago
Matt Jankowski e9b0f0c314
Add basic coverage for `RemoveDomainsFromFollowersService` class (#29327) 1 year ago
Matt Jankowski 7c7dfe7de3
Add basic coverage for `RemoveFeaturedTagService` class (#29328) 1 year ago
Matt Jankowski 6342ddd698
Add basic coverage for `UnfavouriteService` class (#29329) 1 year ago
Matt Jankowski f70905f127
Add basic coverage for `UnmuteService` class (#29330) 1 year ago
Matt Jankowski a69fe534e3
Add basic coverage for `WebhookService` class (#29331) 1 year ago
Matt Jankowski d1602c017d
Add basic coverage for `ApproveAppealService` class (#29333) 1 year ago
Matt Jankowski ab2ef63a03
Add basic coverage for `VoteService` class (#29334) 1 year ago
Matt Jankowski 08342ad40c
Add basic coverage for `AfterUnallowDomainService` class (#29324) 1 year ago
Matt Jankowski 8f61e32569
Add basic coverage for `AppealService` class (#29322) 1 year ago
Matt Jankowski b73932461f
Add basic coverage for `CreateFeaturedTagService` class (#29321) 1 year ago
Matt Jankowski 5f19e7e799
Add basic coverage for `ProcessHashtagsService` class (#29320) 1 year ago
Matt Jankowski 64f9939e39
Use `capture_emails` helper to improve email assertions in specs (#29245) 1 year 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
1 year ago
Matt Jankowski 4b7f04e3ea
Reduce `RSpec/MultipleExpectations` in post_status_service spec (#29225) 1 year ago
Matt Jankowski fc4f823464
Avoid local block var assignment in ap/process_status_update_service spec (#29210) 1 year ago
Matt Jankowski 95da28d201
Add common `ThreadingHelper` module for specs (#29116) 1 year ago
Matt Jankowski 0df86d77fd
Reduce `RSpec/ExampleLength` in PostStatusService spec example (#29105) 1 year ago
Matt Jankowski 978fdc71ca
Reduce expectation count in example from `ProcessAccountService` spec (#29100) 1 year ago
Claire 1726085db5
Merge pull request from GHSA-3fjr-858r-92rw
* Fix insufficient origin validation

* Bump version to 4.3.0-alpha.1
1 year ago
Matt Jankowski 44f6d285af
Combine repeated subject in ap fetch remote actor service spec (#28953) 2 years ago
Matt Jankowski 239244e2ed
Combine repeated subject in ap fetch remote account service spec (#28952) 2 years ago
Matt Jankowski 7c9c6c7f80
Fix remaining `Rails/WhereExists` cop violations, regenerate todo (#28892) 2 years ago
Claire cf2a2ed71c
Fix processing of compacted single-item JSON-LD collections (#28816) 2 years ago
Matt Jankowski 3d82040b26
Reduced repeated setup in `UnallowDomainService` spec (#28785) 2 years ago
Matt Jankowski 6c5a2d51bc
Reduced repeated setup in `PurgeDomainService` spec (#28786) 2 years ago
Claire e621c1c44c
Fix registrations not checking MX records for email domain blocks requiring approval (#28608) 2 years ago
Matt Jankowski a2f02a0775
Disable `Rails/SkipsModelValidations` cop (#28712) 2 years 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>
2 years ago
Matt Jankowski 00341c70ff
Use Sidekiq `fake!` instead of `inline!` in specs (#25369) 2 years ago
Matt Jankowski 5dc634796a
Misc coverage improvements re: sidekiq/inline (#28651) 2 years ago
Matt Jankowski 832b92ac3e
Add attachment check to spec/service/suspend_account_service spec (#28619) 2 years ago
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains (#28468) 2 years ago
Matt Jankowski a4d49c236d
Fix `RSpec/LetSetup` cop in ap/fetch_featured_collection_service (#28461) 2 years ago
Matt Jankowski 9251779d75
Fix `RSpec/LetSetup` cop in spec/services (#28459) 2 years ago
Matt Jankowski efd16f3c2c
Clean up of `RSpec/LetSetup` within `spec/services/activitypub` (#28445) 2 years ago
Claire 6fed0fcbaa
Remove unneeded settings cleanup from specs (#28425) 2 years ago
Matt Jankowski db897eaa5a
Unwind `map` on single-item array in `spec/services/delete_account_service` spec (#28358) 2 years ago
Claire 89a496b42f
Fix status edits not always being streamed to mentioned users (#28324) 2 years ago
Matt Jankowski ed7b5c091b
Remove double subject call in `services/delete_account_service` spec (#28212) 2 years ago
Matt Jankowski be6bb1a10d
Remove double subject call in `services/suspend_account_service` spec (#28213) 2 years ago
Matt Jankowski 5517df61de
Remove double subject call in `services/activitypub/process_account_service` spec (#28214) 2 years ago
Matt Jankowski faffd81976
Remove double subject call in `services/unsuspend_account_service` spec (#28215) 2 years ago
Matt Jankowski bb0efe16e6
Remove `default_scope` from `MediaAttachment` class (#28043) 2 years ago
Matt Jankowski 6b46bf9953
Handle scenario when webfinger response `subject` is missing host value (#28088) 2 years ago
Matt Jankowski 973597c6f1
Consolidate configuration of `Sidekiq::Testing.fake!` setup (#28046) 2 years ago
Matt Jankowski b2c5b20ef2
Fix `RSpec/AnyInstance` cop (#27810) 2 years ago
Claire 07a4059901
Add support for invite codes in the registration API (#27805) 2 years ago
Eugen Rochko 0d14fcebae
Change link previews to keep original URL from the status (#27312) 2 years ago
Matt Jankowski 69d00e2721
Fix `RSpec/InstanceVariable` cop (#27766) 2 years ago
Matt Jankowski 45770c9306
Fix `Performance/MapMethodChain` cop (#27744) 2 years ago
Matt Jankowski 49e2772064
Fix `RSpec/MessageSpies` cop (#27751) 2 years ago
Matt Jankowski b06284c572
Fix `RSpec/HookArgument` cop (#27747) 2 years ago
Jeong Arm 8f998cd96a
Handle featured collections without items (#27581) 2 years ago
Matt Jankowski bcd0171e5e
Fix `Lint/UselessAssignment` cop (#27472) 2 years ago
Matt Jankowski f8afa0f614
Remove unused stub json ld context (#25454) 2 years ago
Claire 27e84c0691
Fix duplicate reports being sent when reporting some remote posts (#27355) 2 years ago