Commit Graph

66 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
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 e5c577054b
Add Pinned Posts + WebUI profile fixes (#5914)
* translate notifications

* translate  profile

* fix translate privacy

* add missing keys

* pinned posts

* fix key  settings

* fix key

Co-Authored-By: daniel <danielsupernault@gmail.com>

* Update AccountImport, improve webp support

* Update GroupSettings, add missing avatar/header deletion

* Update i18n

* Update compiled assets

* Update 2025_03_19_022553_add_pinned_columns_statuses_table.php

* Fix pinned posts implementation

* Update docker readme, closes #5909

* Update post pinning, and dispatch Notification cache warming to a job, and fix reblogged state on some endpoints

* Refactor following check

* Fix ProfileFeed bookmark, likes and shares. Closes #5879

* Update PublicApiController, use pixelfed entities for /api/pixelfed/v1/accounts/id/statuses with bookmarked state

* Update changelog

* Update compiled assets

* Update i18n

---------

Co-authored-by: Felipe Mateus <eu@felipemateus.com>
8 months ago
Daniel Supernault 6ce513f8c3
Update user_filters, use config_cache 2 years ago
Daniel Supernault 9873913921
Update ApiV1Controller, fix account blocks.Closes #4304 3 years ago
Daniel Supernault f17ca9d904
Update HttpSignature 3 years ago
daniel e68ec03cea
Merge pull request #3890 from vanlueckn/feat-fix-sudo-mode-url-scheme
Fix wrong url scheme in sudo mode when using reverse proxy
3 years ago
Daniel Supernault 5b879f0156
Update mute/block logic with admin defined limits and improved filtering to skip deleted accounts 3 years ago
Daniel Supernault aaed2bf66e
Dispatch follow accept/reject pipeline jobs to follow queue 3 years ago
Nils van Lück 593420d84d Fix wrong url scheme in sudo mode when using reverse proxy 3 years ago
Daniel Supernault a231b3c556
Update AccountController, fix 2FA backup code bug 3 years ago
Daniel Supernault e97900a060
Update follower counts on follow_request approval 3 years ago
Daniel Supernault 4470981af7
Improve follow request flow, federate rejections and delete rejections from database to properly handle future follow requests from same actor 3 years ago
Daniel Supernault aded149fae
Update AccountController, include account entities in follow_requests.json endpoint 3 years ago
Daniel Supernault 68300c426c
Update AccountController 4 years ago
Daniel Supernault 4dc9365acb
Update AccountController, dispatch Accept Follow activity if applicable 4 years ago
Daniel Supernault fe7687851c
Update AccountController, refresh relationship after handling follow request 4 years ago
Daniel Supernault 6f1b02456f
Update AccountController, refresh RelationshipService on mute/blocks 4 years ago
Daniel Supernault 0e892bb3fd
Update AccountController 4 years ago
Daniel Supernault 37abcf3898
Update public timeline api, use cached sorted set and client side block/mute filtering 4 years ago
Daniel Supernault af7face4da
Add Network Timeline 5 years ago
Daniel Supernault 1fb7e2b2c9
Update AccountController, add mutes and blocks endpoint to pixelfed api 5 years ago
Daniel Supernault 4a14e970f0
Update Profile model, improve counter caching 5 years ago
Daniel Supernault d63569c120
Add Direct Messages 5 years ago
Daniel Supernault 2c440b4882
Update AccountController, prevent blocking admins 5 years ago
Daniel Supernault 6074c56838
Update AccountController 6 years ago
Daniel Supernault 483548e217
Update AccountController, add followRequestJson method 6 years ago
Daniel Supernault 0c82c97069
Added trusted devices to sudo mode 6 years ago
Daniel Supernault 6a16559132
Update DangerZone/Sudo middleware 6 years ago
Daniel Supernault 829c41e16f
Update password reset ttl, now expires after 24 hours 6 years ago
Daniel Supernault c369882b48
Update Redis namespace 6 years ago
Daniel Supernault 1d45e5655d
Update AccountController 6 years ago
Daniel Supernault 213fba725e
Update AccountController 6 years ago
Daniel Supernault 73bacf5b8d
Update AccountController 6 years ago
Daniel Supernault b41b724803
Update AccountController 7 years ago
Daniel Supernault a10e30aefd
Update AccountController 7 years ago
Daniel Supernault f0fd072086
Add Direct view/method 7 years ago
Daniel Supernault e4e6f10c90
Update AccountController 7 years ago
Daniel Supernault 0ff56bbe35
Update AccountController 7 years ago
Daniel Supernault 3a38c7386b
Update AccountController, allow 2FA backup codes 7 years ago
Daniel Supernault 20fa6fd8e7
Update AccountController 7 years ago
Daniel Supernault c40b4f5cfd
Update AccountController 7 years ago
Daniel Supernault 10cfb02a9e
Update AccountController. Fixes #582 7 years ago
Daniel Supernault da2777d52f
Update AccountController 7 years ago
Daniel Supernault 6e798f3f75
Update AccountController 7 years ago
Daniel Supernault 9154b3d630
Update AccountController 7 years ago
Daniel Supernault ef3edc185d
Update 2fa, logout user after two failed attempts 7 years ago
Daniel Supernault 614b951c5e
Update AccountController 7 years ago
Daniel Supernault 6d890aaf7f
Prepare 2FA 7 years ago
Daniel Supernault 599844b2fb
Update AccountController, fix #456 7 years ago