Commit Graph

64 Commits (1ed48c5df2ec2bdef3ed5b4ab50b274c2d261cf6)

Author SHA1 Message Date
Your Name 4b14819923 Larastan: Add @property 4 days 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
Daniel Supernault dc7973de62
Update Profile model, add aliases relation 2 years ago
Daniel Supernault 2cbf1acec3
Update profile 2 years ago
Daniel Supernault ab9a8ba314
Update Profile 2 years ago
Daniel Supernault b1f95a7213
Bump laravel, v9 => v10 3 years ago
Daniel Supernault 28bf8649b3
Update Profile model, fix avatar url path generation. Fixes #4041, Fixes #4031, Fixes #3523 3 years ago
Daniel Supernault 620ee826d1
Update profile model, improve avatarUrl fallback 3 years ago
Daniel Supernault 989e42497a
Update Profile, fix avatarUrl paths. Fixes #3559 #3634 3 years ago
Daniel Supernault 672f7c8ce0
Fix remote avatar urls when not using cloud storage 3 years ago
Daniel Supernault a73b2f0002
Update Profile model 4 years ago
Daniel Supernault 505261dab1
Refactor AP profileFetch logic to fix race conditions and improve updating fields and avatars 4 years ago
Daniel Supernault a64aef6726
Update Profile model, cast last_status_at as timestamp 4 years ago
Daniel Supernault 32995064ec
Update Profile model 4 years ago
Daniel Supernault ee9f079551
Update Profile, fix following count bug 4 years ago
Daniel Supernault e5aea490b1
Refactor snowflake id generation to improve randomness 4 years ago
Daniel Supernault ca5d964f5f
Update Profile model 4 years ago
Daniel Supernault 5916f8c76a
Update Profile model, fix getAudienceInbox method 4 years ago
Daniel Supernault 22257cc2a7
Update FollowerService, cache audience 4 years ago
Daniel Supernault 5ac9d0e8f2
Update Embeds. Fix Profile + Status embeds, remove following count and improve cache invalidation and hidden follower counts 5 years ago
Daniel Supernault ea8e426174
Update Profile model, use cdn_url for avatars 5 years ago
Daniel Supernault 6dcd472be6
Update Profile, fix status count 5 years ago
Daniel Supernault f6528c8470
Update avatars, use jpeg default 5 years ago
Daniel Supernault d06bec9cd9
Update Profile, fix follower counter bug 5 years ago
Daniel Supernault 4a14e970f0
Update Profile model, improve counter caching 5 years ago
Daniel Supernault 6969bb5bb4
Update Profile model, cast timestamp for last_fetched_at 6 years ago
Daniel Supernault 0eae9f8b78
Update Profile model, use change_count for version 6 years ago
Daniel Supernault a34f38633c
Update Profile model, add reported relationship 6 years ago
Daniel Supernault 7faa9d8e61
Add S3 + Stories 6 years ago
Daniel Supernault 396848b20b
Update Media, Profile models, fix S3 urls 6 years ago
Daniel Supernault a5a5224d0d
Update Profile model, add hasFollowRequestById method 6 years ago
Daniel Supernault 64926762f2
Update Profile model, add collections relation 6 years ago
Daniel Supernault 62dbf81a5b
Update Profile model to use snowflake ids 6 years ago
Daniel Supernault 506208f545
Update account settings, add hashtags to relationships 6 years ago
Daniel Supernault abec5e4861
Update Profile model 7 years ago
Daniel Supernault 377394f0f2
Update AccountTransformer, cache status count 7 years ago
Daniel Supernault 339a0a3882
Update NotificationService 7 years ago
Daniel Supernault 0c300ceeee
Update Profile model 7 years ago
Daniel Supernault 4739c25fe0
Update Cache, prepare for laravel 5.8 7 years ago
Daniel Supernault dd42ad7558
Update Profile model, add circles relation 7 years ago
Daniel Supernault dc2a3da72d
Update Profile Model 7 years ago
Daniel Supernault 1cba67b781
Update Profile model 7 years ago
Daniel Supernault 825fcd6fe4
Update Profile model 7 years ago
Daniel Supernault 908740b46f
Update Profile model 7 years ago
Daniel Supernault 8420a839d9
Update Profile model 7 years ago
Daniel Supernault bd685cf6f2
Update Profile model, fix avatar caching bug 7 years ago
Daniel Supernault 2982182b3d
Update Profile model 7 years ago
Daniel Supernault 63ca2a209d
Update Profile model, add new AP methods 7 years ago
Daniel Supernault 199ce76d79
Update Profile model 7 years ago
daniel b8abbdd90f Apply fixes from StyleCI 7 years ago