Commit Graph

345 Commits (6df58e67f20cb29df92ca58fa9f95c8caa6afab1)

Author SHA1 Message Date
Your Name 72e840345e Fix PHPStan 'empty() always exists and is not falsy' errors
- Remove redundant empty() checks where variables are guaranteed to exist and be non-falsy
- Replace empty() with simple null/false checks where appropriate
- Maintain original logic while fixing static analysis issues
- Affected files:
  - app/Http/Controllers/GroupController.php
  - app/Http/Controllers/ProfileAliasController.php
  - app/Jobs/ImageOptimizePipeline/ImageUpdate.php
  - app/Jobs/InboxPipeline/DeleteWorker.php
  - app/Jobs/InboxPipeline/InboxValidator.php
  - app/Jobs/InboxPipeline/InboxWorker.php
  - app/Jobs/ProfilePipeline/HandleUpdateActivity.php
  - app/Rules/ExpoPushTokenRule.php
  - app/Services/AutospamService.php
  - app/Services/CollectionService.php
  - app/Services/NotificationAppGatewayService.php
  - app/Services/WebfingerService.php
  - app/Util/ActivityPub/Helpers.php
11 months ago
dansup 7288acfa35
Merge pull request #6263 from pixelfed/shleeable-patch-26
Larastan: Update HttpSignature.php
11 months ago
Shlee b2e2e7f2fd
Update HttpSignature.php 11 months ago
Shlee b7442c3209
Update Inbox.php 11 months ago
Daniel Supernault 3686c92122
Update Status storage, add SanitizerService to fix spacing in html stripped content 1 year ago
Daniel Supernault ab8d0ff46c
Update AP Inbox, handle Story View with the new StoryIndexService markSeen method 1 year ago
Daniel Supernault bb16c95b1f
Update HttpSignatures, auto generate instance actor if missing 1 year ago
daniel 2b4bccdfb1
Merge pull request #5972 from intentionally-left-nil/fix-id-domain-mismatch
Fix id domain mismatch
1 year ago
Daniel Supernault cb80c65995
Fix tests 1 year ago
Anil Kulkarni e3b7f1d7cd
For an ActivityStream object, such as a note, the code currently validates
the domain of the object id, matches the domain of the object url.
However, the current implementation of threads has objects where the id is
threads.net/ap/... and the url is www.threads.com/...
The AS spec does not guarantee any particular relationship between the
id and url. The only requirement is that the id is globally unique.
Additionally, mastodon also does not appear to require the domains to
match
1 year ago
Daniel Supernault b54d90d405
Lint 2 years ago
Daniel Supernault 5525369fec
Update Inbox handler, improve Undo Follow logic 2 years ago
Daniel Supernault fbe76e37f3
Update Inbox handler, add Reject Follow support 2 years ago
Daniel Supernault 3725c689e4
Update Inbox, improve Accept Follower handling 2 years ago
Daniel Supernault 75e7a678ce
Update ActivityPub helpers 2 years ago
Anil Kulkarni d97383c0f6
Fix the local column for statuses to not include remote shares (#5513)
* Fix the local column for statuses to not include remote shares

* Chunk the migration
2 years ago
Daniel Supernault 22eae69fd5
Update AP Helpers, fix comment bug 2 years ago
Daniel Supernault 92d8df9116
Update AP helpers 2 years ago
Daniel Supernault d373887615
Update Helpers 2 years ago
Daniel Supernault cf2012c3af
Update Helpers.php 2 years ago
Daniel Supernault 823d756781
Update Helpers.php 2 years ago
Daniel Supernault 12b400707f
Refactor ActivityPub helpers 2 years ago
Daniel Supernault 85124aa642
Fix rendered caption 2 years ago
Daniel Supernault 8c39ef449a
Update Helpers.php 2 years ago
Daniel Supernault 1d2f76c8e5
Postgres fixes 2 years ago
Daniel Supernault 51bbb85bb0
Update Helpers.php 2 years ago
Daniel Supernault 9eeb7b6741
Update Status caption logic, stop storing duplicate html caption in db and defer to cached StatusService rendering 2 years ago
Daniel Supernault 79d73c508c
Update Inbox 2 years ago
Daniel Supernault cf38a508ca
Lint 2 years ago
Daniel Supernault 960f3849f2
Update AP helpers, reject statuses with invalid dates 2 years ago
Daniel Supernault 03ad41e2c4
Update AP Helpers 2 years ago
Daniel Supernault cc897bc427
Update AP Inbox 2 years ago
Daniel Supernault 312386bf98
Update DiscoverActor, fix formatting 2 years ago
Daniel Supernault f1497655ba
Update AP helpers, fix Moved account support 2 years ago
Daniel Supernault 6d565b81fd
Update Inbox 2 years ago
Daniel Supernault db84ae90f1
Update Inbox 2 years ago
Daniel Supernault dfdb7531f0
Update ProcessMovePipeline and Inbox 2 years ago
Daniel Supernault 59645f683e
Update AP Inbox, fix Move activity processing 2 years ago
Daniel Supernault 8a362c12a9
Update Inbox, add delay to move handler to allow for remote cache invalidation 2 years ago
Daniel Supernault 6615408023
Update AP inbox 2 years ago
Daniel Supernault 5558535aea
Update Move pipeline, add debug logging 2 years ago
Daniel Supernault c76fb7ec34
Update AP Inbox 2 years ago
Daniel Supernault a55238d2e5
Update AP Inbox 2 years ago
Daniel Supernault 3e88b7c890
Update AP Inbox 2 years ago
Daniel Supernault 909a6c725b
Add ActivityPub Move validator 2 years ago
Daniel Supernault 42424028b0
Update AP helpers, add forceBanCheck param to validateUrl method 2 years ago
Daniel Supernault d4cf918120
Update HttpSignature, add signRaw method and improve error checking 2 years ago
Daniel Supernault 8fea821504
Update AP helpers 2 years ago
Daniel Supernault d723e207fd
Update Helpers.php 2 years ago
Daniel Supernault 5071aaf408
Update activitpub setting, use config_cache() 3 years ago