Commit Graph

535 Commits (1ed48c5df2ec2bdef3ed5b4ab50b274c2d261cf6)

Author SHA1 Message Date
Daniel Supernault 1ed48c5df2
Update ActivityPub inbox, properly handle eloquent deletions to trigger observer events 3 days ago
Daniel Supernault 590e9b2434
Update ActivityPub inbox, properly handle eloquent deletions to trigger observer events 3 days ago
Daniel Supernault efd351900d
Fix InboxWorker 3 days ago
dansup eae2dafcac
Merge branch 'staging' into intervention-laravel-clean 3 days ago
Shlee d3ecf22895
Update Image.php 4 days ago
Shlee b579d93cad
Create ImageDriverManager.php 4 days ago
Your Name 45a9a3b472 RemoveUnreachableStatementRector 5 days ago
dansup 792ca361c1
Merge pull request #6322 from grossermensch/patch-2
Fix error for DMs without attachment
6 days ago
dansup 7881b09c2f
Merge pull request #6304 from pixelfed/classV2
Larastan: Fix Missing classes 2 - Medium risk
6 days ago
dansup f9d430d6e6
Merge pull request #6299 from pixelfed/classNotFoundV1
Larastan: Fix Missing classes - Low risk
6 days ago
dansup 6df58e67f2
Merge pull request #6290 from pixelfed/emptyv1
Larastan: 'empty() always exists and is not falsy' errors - Low risk
6 days ago
Severin 2b2de5f89c
Fix error when receiving DM without attachments
Fix undefined array key error when processing ActivityPub objects without attachments.
1 week ago
Your Name 15cc07e602 Fix all class.notFound PHPStan issues - 31 fixes 2 weeks ago
Your Name ca6c875bbb Fix PHPStan class.notFound issues 2 weeks ago
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
2 weeks ago
Shlee c541f5172f
Larastan: Update Classifier.php - UnnecessaryVarAnnotation 2 weeks ago
dansup 225e835015
Staging (#6264)
* StatusPipeline defensive checks

* HomeFeedPipeline defensive checks

* DeletePipeline defensive checks

* InboxPipeline defensive checks

* MediaPipeline defensive checks

* PushNotificationPipeline defensive checks

* LikePipeline defensive checks

* FollowPipeline defensive checks

* ImageOptimizePipeline defensive checks

* Misc pipelines defensive checks

* Update CommentPipeline.php

* Update FollowPushNotifyPipeline.php

* Update LikePushNotifyPipeline.php

* Update FollowPushNotifyPipeline.php

* Update MentionPushNotifyPipeline.php

* Update MoveSendUndoFollowPipeline.php

* Update RemoteFollowPipeline.php

* Update FollowPushNotifyPipeline.php

* Update LikePushNotifyPipeline.php

* Update MentionPushNotifyPipeline.php

* Update Site/Config.php - config_cache only has 1 arg. No fallback.

* Update Bouncer.php - Called 'count' on Laravel collection, but could have been retrieved as a query.            🪪  larastan.noUnnecessaryCollectionCall

* Update Status.php - Missing use App\Models\Conversation;

* Larastan: Update UndoSharePipeline.php (Undefined variable: $status)

* Update ResilientMediaStorageService.php

* Update ImageS3UploadPipeline.php

* Larastan: Update Profile.php missing "use App\Avatar;"

* Larastan: Update MediaStorageService.php

* Larastan: Update MediaPathService.php

* Update MediaPathService.php

* Update MediaStorageService.php

* Update ImageS3UploadPipeline.php

* Larastan: Update AddUserDomainBlock.php

```
 ------ ------------------------------------------------------------- 
  Line   Console/Commands/AddUserDomainBlock.php                      
 ------ ------------------------------------------------------------- 
  37     Variable $domain in empty() always exists and is not falsy.  
         🪪  empty.variable                                           
 ------ ------------------------------------------------------------- 
```

* Larastan: Update CatchUnoptimizedMedia.php

```
 ------ ------------------------------------------------------------------------------------------------- 
  Line   Console/Commands/CatchUnoptimizedMedia.php                                                       
 ------ ------------------------------------------------------------------------------------------------- 
  31     Constructor of class App\Console\Commands\CatchUnoptimizedMedia has an unused parameter $media.  
         🪪  constructor.unusedParameter                                                                  
 ------ ------------------------------------------------------------------------------------------------- 
```

* Update DeleteUserDomainBlock.php

* Update StatusHashtag.php

* Update FixLikes.php

* Update User.php

* Update Installer.php

* Update SeedFollows.php

* Update DiscoverCategory.php

* Update FollowRequest.php

* Update Follower.php

* Update AccountController.php

* Update CustomFilterKeyword.php

* Update FederationController.php

* Update Inbox.php

* Update HttpSignature.php

---------

Co-authored-by: Your Name <you@example.com>
Co-authored-by: Shlee <github@shl.ee>
2 weeks ago
dansup 7288acfa35
Merge pull request #6263 from pixelfed/shleeable-patch-26
Larastan: Update HttpSignature.php
2 weeks ago
Shlee b2e2e7f2fd
Update HttpSignature.php 2 weeks ago
Shlee b7442c3209
Update Inbox.php 2 weeks ago
dansup 3fbeb53eeb
Merge pull request #6240 from pixelfed/shleeable-patch-2
larastan: Update Bouncer.php - Called 'count' on Laravel collection, but could have been retrieved as a query. (noUnnecessaryCollectionCall)
2 weeks ago
Shlee 3b8f13784b
Update Bouncer.php - Called 'count' on Laravel collection, but could have been retrieved as a query. 🪪 larastan.noUnnecessaryCollectionCall 2 weeks ago
Shlee 4f0f2f5d65
Update Site/Config.php - config_cache only has 1 arg. No fallback. 2 weeks ago
Daniel Supernault 2e719bd008
Update media storage pipeline, improve support for non-local filesystems 2 months ago
Daniel Supernault 3686c92122
Update Status storage, add SanitizerService to fix spacing in html stripped content 2 months ago
Daniel Supernault ab8d0ff46c
Update AP Inbox, handle Story View with the new StoryIndexService markSeen method 3 months ago
Daniel Supernault bb16c95b1f
Update HttpSignatures, auto generate instance actor if missing 6 months ago
daniel 2b4bccdfb1
Merge pull request #5972 from intentionally-left-nil/fix-id-domain-mismatch
Fix id domain mismatch
6 months ago
Daniel Supernault 4e938a8ffa
Fix heic, avif, webp support and add libvips driver 6 months ago
Daniel Supernault 86bb81d1a9
Fix typo 6 months ago
Daniel Supernault 5c7064063d
Typo 6 months ago
Daniel Supernault cb80c65995
Fix tests 6 months ago
Daniel Supernault ab9c13fe0d
New supported formats, Preserve ICC Color Profiles, libvips support
Update image pipeline to handle avif, heic and webp and preserve ICC color profiles and added libvips support.
6 months 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
6 months ago
Daniel Supernault c72fa05299
Update LandingService and Config util to properly support the legal_notice setting 7 months ago
Samy Elshamy 448511713d Added parameter 'show_legal_notice_link' => (bool) config_cache('instance.has_legal_notice'), 8 months ago
Daniel Supernault b54d90d405
Lint 8 months ago
Daniel Supernault 5525369fec
Update Inbox handler, improve Undo Follow logic 8 months ago
Daniel Supernault fbe76e37f3
Update Inbox handler, add Reject Follow support 8 months ago
Daniel Supernault 3725c689e4
Update Inbox, improve Accept Follower handling 8 months ago
Daniel Supernault 75e7a678ce
Update ActivityPub helpers 8 months ago
Daniel Supernault 1a9a0da37d
Update Image.php 9 months ago
Daniel Supernault 16b7968469
Update nodeinfo 10 months 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
10 months ago
Daniel Supernault 22eae69fd5
Update AP Helpers, fix comment bug 10 months ago
Daniel Supernault 92d8df9116
Update AP helpers 11 months ago
Daniel Supernault d373887615
Update Helpers 11 months ago
Daniel Supernault cf2012c3af
Update Helpers.php 11 months ago
Daniel Supernault 823d756781
Update Helpers.php 11 months ago
Daniel Supernault 12b400707f
Refactor ActivityPub helpers 11 months ago