Commit Graph

97 Commits (e8b6607ece43e6fcda99e76f8db0ad40d54b50b6)

Author SHA1 Message Date
Matt Jankowski e4e07b1c34
Reduce factory usage across `spec/services` area ()
André Menrath 556837f156
Fix the summary of converted object types to be treated as HTML ()
Eugen Rochko e0c27a5047
Add ability to manage which websites can credit you in link previews ()
Adam Niedzielski cd0ca4b994
Select correct self link when parsing Webfinger response ()
Matt Jankowski 47ea83d246
Reduce factory creation in `AP::ProcessStatusUpdateService` spec ()
Matt Jankowski f5e90f3de3
Reduce extra round trips in `AP::SynchronizeFollowersService` spec ()
Matt Jankowski 81877e7950
Reduce extra round trips in `AP::FetchRemoteStatusService` spec ()
Matt Jankowski f1300ad284
Rename jobs/attachments rspec tag names ()
Matt Jankowski 469028b6d3
Remove unneeded `type: :service` from spec/services files ()
Claire 9d8dfeb5fb
Fix processing of `Link` objects in `Image` objects ()
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
Matt Jankowski fc4f823464
Avoid local block var assignment in ap/process_status_update_service spec ()
Matt Jankowski 978fdc71ca
Reduce expectation count in example from `ProcessAccountService` spec ()
Claire 1726085db5
Merge pull request from GHSA-3fjr-858r-92rw
* Fix insufficient origin validation

* Bump version to 4.3.0-alpha.1
Matt Jankowski 44f6d285af
Combine repeated subject in ap fetch remote actor service spec ()
Matt Jankowski 239244e2ed
Combine repeated subject in ap fetch remote account service spec ()
Matt Jankowski 7c9c6c7f80
Fix remaining `Rails/WhereExists` cop violations, regenerate todo ()
Claire cf2a2ed71c
Fix processing of compacted single-item JSON-LD collections ()
Matt Jankowski 00341c70ff
Use Sidekiq `fake!` instead of `inline!` in specs ()
Matt Jankowski a4d49c236d
Fix `RSpec/LetSetup` cop in ap/fetch_featured_collection_service ()
Matt Jankowski efd16f3c2c
Clean up of `RSpec/LetSetup` within `spec/services/activitypub` ()
Matt Jankowski 5517df61de
Remove double subject call in `services/activitypub/process_account_service` spec ()
Matt Jankowski bb0efe16e6
Remove `default_scope` from `MediaAttachment` class ()
Matt Jankowski b2c5b20ef2
Fix `RSpec/AnyInstance` cop ()
Matt Jankowski 49e2772064
Fix `RSpec/MessageSpies` cop ()
Jeong Arm 8f998cd96a
Handle featured collections without items ()
Claire 6273416292
Fix post edits not being forwarded as expected ()
Matt Jankowski 2d9808f648
Reformat large key values in service specs ()
Matt Jankowski 6c5a2233a8
Fix `RSpec/StubbedMock` cop ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 658742b3cd
Fix `Lint/AmbiguousBlockAssociation` cop ()
Matt Jankowski c75df62ccc
Fix `RSpec/SubjectDeclaration` cop ()
Matt Jankowski 4c5aa0e470
Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop ()
Matt Jankowski c42591356d
Fix `RSpec/DescribedClass` cop ()
Nick Schonning 99e2e9b81f
Fix minor typos in comments and spec names ()
Matt Jankowski a610a02d4f
Fix RSpec/ScatteredSetup cop ()
Matt Jankowski 710745e16b
Fix RSpec/ContextWording cop ()
Nick Schonning a3393d0d07
Autofix Rubocop RSpec/MatchArray ()
Nick Schonning 84cc805cae
Enable Style/FrozenStringLiteralComment for specs ()
Nick Schonning 5116347eb7
Autofix Rubocop RSpec/BeEq ()
Nick Schonning bf785df9fe
Audofix Rubocop Style/WordArray ()
Nick Schonning 4552685f6b
Autofix Rubocop RSpec/LeadingSubject ()
Nick Schonning 5179c47087
Autofix Rubocops RSpec/ScatteredLet ()
Nick Schonning 65ba0d92ef
Enable Rubocop RSpec/NotToNot ()
Nick Schonning 81ad6c2e39
Autofix Rubocop Style/StringLiterals ()
Nick Schonning 08289a38fa
Autofix Rubocop Style/TrailingCommaInArrayLiteral ()
Nick Schonning 5069769cbe
Autofix Rubocop Style/TrailingCommaInHashLiteral ()
Nick Schonning 634368c491
Autofix Rubocop Lint/SymbolConversion ()
Nick Schonning 669f6d2c0a
Run rubocop formatting except line length ()
Nick Schonning 37914c8757
Autofix Rubocop Style/MethodCallWithoutArgsParentheses ()
Claire 0c9eac80d8
Fix unbounded recursion in post discovery ()
* Add a limit to how many posts can get fetched as a result of a single request

* Add tests

* Always pass `request_id` when processing `Announce` activities

---------

Co-authored-by: nametoolong <nametoolong@users.noreply.github.com>