Commit Graph

27 Commits (6d0f93dc9e2e3726084a0e93de870f40ee418d28)

Author SHA1 Message Date
Your Name 6d0f93dc9e Rename 2fa columns to mfa to fix PHP variable naming
- Rename database columns: 2fa_* -> mfa_*
- Update all PHP code references to use mfa_* fields
- Maintain API backward compatibility (still returns two_factor_enabled)
- Keep all route URLs unchanged
- Add migration to rename columns in users table
6 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 10eb1a8acb
Update ComposeController, prioritize followed users and follower_count first 4 months ago
Daniel Supernault ae6dd4e3a2
Update pipeline dispatch, replace dispatchSync with dispatch 3 years ago
Daniel Supernault b1f95a7213
Bump laravel, v9 => v10 3 years ago
Daniel Supernault 2b1ce0d33f
Update DeleteAccountPipeline 3 years ago
Daniel Supernault 492b92140a
Update DeleteAccountPipeline 3 years ago
Daniel Supernault 2e7b77a4c4
Update DeleteAccountPipeline 3 years ago
Daniel Supernault 1cdc0fe8ed
Update delete pipelines 3 years ago
Daniel Supernault f46b01af51
Update FollowerService, use redis sorted sets for following relations 3 years ago
Daniel Supernault 356cc2774a
Update FollowerService, use redis sorted sets for follower relations 3 years ago
Daniel Supernault 23e2998f94
Update DeleteAccountPipeline, handle flysystem v3 changes by checking files exist before attempting to delete 3 years ago
Daniel Supernault 6eabe07ca3
Update DeleteAccountPipeline, dispatch on low queue 3 years ago
Daniel Supernault 2533bd51a9
Update DeleteAccountPipeline, fix typo 4 years ago
Daniel Supernault 4870cc3b5d
Update DeleteAccountPipeline, improve coverage 4 years ago
Daniel Supernault a9edd93fb5
Update DeleteAccountPipeline, fix perf issues 4 years ago
Daniel Supernault 63eceb8236
Update delete handler 5 years ago
Daniel Supernault b3078f274f
Update DeleteAccountPipeline, add AccountInterstitial and DirectMessage purging 5 years ago
Daniel Supernault f400c632f0
Update DeleteAccountPipeline, fixes #2016 6 years ago
Daniel Supernault 578d2f353d
Update DeleteAccountPipeline 6 years ago
Daniel Supernault 76c480bf85
Update DeleteAccountPipeline to delete StatusHashtags 6 years ago
Daniel Supernault a641db0764
Update avatar deletion 7 years ago
Daniel Supernault fae385989e
Update DeleteAccountPipeline 7 years ago
Daniel Supernault 2378376595
Update DeleteAccountPipeline 7 years ago
Daniel Supernault 868a83cb65
Update DeleteAccountPipeline job, add db transactions to prevent race conditions 7 years ago
Daniel Supernault b5cc7b12bc
Update DeleteAccountJob 7 years ago
Daniel Supernault 13a5b0e12d
Add WIP account delete job 7 years ago