Commit Graph

91 Commits (c68fb2e771d0e1bc5bb1e9eaaaa1e17fb5d3b71f)

Author SHA1 Message Date
dansup 40a5130430
Fix federation (#6346)
* Prepared new docker

* Docker setup improvements and fixes

* Update DOCKER_SETUP.md

* Update DOCKER_SETUP.md

* Update DOCKER_SETUP.md

* Update DOCKER_SETUP.md

* Update DOCKER_SETUP.md

* Update DOCKER_SETUP.md

* Update .dockerignore

* DB/Redis health check

* updated health checks

* updated install guide

* updated DOCKER_SETUP

* Updated DOCKER_SETUP

* Updated DOCKER_SETUP

* Update and rename DOCKER_SETUP.md to DOCKER_COMPOSE_SETUP.md

* RemoveUnreachableStatementRector

* Update GroupActivityPubService.php

* Larastan: Add @property

* Delete rector.php

* more properties

* 2fa_enabled needs to be refactored

* Fix AdminUser.php syntax error - remove invalid property declaration

* Update AdminUser.php

* update

* Upgrade predis from v2.0 to v3.2

- Update predis/predis from ^2.0 to ^3.2
- Predis v3.2.0 includes RESP3 support, improved pipeline abstractions
- No code changes required, configuration remains compatible
- Tested successfully with tinker

* Upgrade predis from v2.0 to v3.2

* Update

* Update .env.docker.example

* Update DOCKER_COMPOSE_SETUP.md

* Create ImageDriverManager.php

* Update image.php

* Update ImageResizePipeline.php

* Update StoryComposeController.php

* Update AvatarOptimize.php

* Update Image.php

* Update composer.json

* Update AvatarOptimize.php

* update lock

* Update composer.lock

* update

* update

* update

* Allow to set new image types in admin interface

* Update composer, fix deps

* Update composer

* Update DOCKER_COMPOSE_SETUP.md - Added troubleshooting (#6344)

* Staging (#6343)

* Prepared new docker

* Docker setup improvements and fixes

* Update DOCKER_SETUP.md

* Update DOCKER_SETUP.md

* Update DOCKER_SETUP.md

* Update DOCKER_SETUP.md

* Update DOCKER_SETUP.md

* Update DOCKER_SETUP.md

* Update .dockerignore

* DB/Redis health check

* updated health checks

* updated install guide

* updated DOCKER_SETUP

* Updated DOCKER_SETUP

* Updated DOCKER_SETUP

* Update and rename DOCKER_SETUP.md to DOCKER_COMPOSE_SETUP.md

* RemoveUnreachableStatementRector

* Update GroupActivityPubService.php

* Larastan: Add @property

* Delete rector.php

* more properties

* 2fa_enabled needs to be refactored

* Fix AdminUser.php syntax error - remove invalid property declaration

* Update AdminUser.php

* update

* Upgrade predis from v2.0 to v3.2

- Update predis/predis from ^2.0 to ^3.2
- Predis v3.2.0 includes RESP3 support, improved pipeline abstractions
- No code changes required, configuration remains compatible
- Tested successfully with tinker

* Upgrade predis from v2.0 to v3.2

* Update

* Update .env.docker.example

* Update DOCKER_COMPOSE_SETUP.md

* Create ImageDriverManager.php

* Update image.php

* Update ImageResizePipeline.php

* Update StoryComposeController.php

* Update AvatarOptimize.php

* Update Image.php

* Update composer.json

* Update AvatarOptimize.php

* update lock

* Update composer.lock

* update

* update

* update

* Allow to set new image types in admin interface

* Update composer, fix deps

* Update composer

---------

Co-authored-by: Shlee <github@shl.ee>
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Severin <savewish@icloud.com>

* Update DOCKER_COMPOSE_SETUP.md

* Update DOCKER_COMPOSE_SETUP.md

---------

Co-authored-by: dansup <danielsupernault@gmail.com>
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Severin <savewish@icloud.com>

* Regression - Fix federation - Update ActivityHandler.php (#6345)

* Update ActivityHandler.php

* Update ActivityHandler.php

* Revert inbox changes

* Fix InboxWorker

---------

Co-authored-by: Shlee <github@shl.ee>
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Severin <savewish@icloud.com>
1 month 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 months ago
Daniel Supernault 207bb36c89
Increase username length limit from 15 to 30 11 months ago
Daniel Supernault 4ca7c6c328
Add preliminary Authorize Interaction support 1 year ago
Daniel Supernault ad30498dbc
Lint 2 years ago
Daniel Supernault 24194f7d16
Update FederationController, add webfinger support for actor uri. Fixes #5068 2 years ago
Daniel Supernault 5071aaf408
Update activitpub setting, use config_cache() 2 years ago
Daniel Supernault fb0bb9a34f
Update Federation, use proper Content-Type headers for following/follower collections 2 years ago
Daniel Supernault dec061f5ae
Update FederationController, add proper statuses counts 2 years ago
Daniel Supernault 3204fb9669
Update FederationController, add proper following/follower counts 2 years ago
Daniel Supernault 9fcccca910
Update FederationController, fix double lock bug 3 years ago
Daniel Supernault 2865f59a79
Update FederationController 3 years ago
a e6e16d2cdd Fix: Use correct response type and remove Accept from http signature 3 years ago
Daniel Supernault 2180a2de3b
Update FederationController, improve inbox/sharedInbox delete handling 3 years ago
Daniel Supernault 8ba338640f
Update FederationController, add two new queues (follow, shared) to prioritize follow request handling 3 years ago
daniel 6157e7a501
Merge pull request #3932 from pixelfed/fix-content-type
fix typo: http -> https
3 years ago
a e380868b44 fix typo: http -> https 3 years ago
Daniel Supernault e08869cbfc
Update FederationController, fix outbox 3 years ago
a 6bf1bea325 Fix: Use correct Content-Type over ActivityPub
This was causing federation issues
3 years ago
Daniel Supernault 25bc08adb9
Update FederationController 3 years ago
Daniel Supernault 6e3c8097f1
Update FederationController, add instance actor profile to webfinger 3 years ago
Daniel Supernault 4423231ebb
Update FederationController 3 years ago
Daniel Supernault cb2392f351
Update FederationController 4 years ago
Daniel Supernault a0e15d89e2
Update FederationController, fix webfinger endpoint 4 years ago
Daniel Supernault 4ab99d66d1
Update FederationController 4 years ago
Daniel Supernault 745c35807c
Update FederationController, increase webfinger cache ttl from 12 hours to 14 days 4 years ago
Daniel Supernault 4505d1f0f9
Update FederationController, move well-known to api middleware and cache webfinger lookups 4 years ago
Daniel Supernault 7f4213924f
Update job queue, separate deletes into their own queue 5 years ago
Daniel Supernault 53134208fe
Update config() to config_cache() 5 years ago
Daniel Supernault deb6f1153f
Update FederationController, return 404 for invalid webfinger addresses. Fixes #2647 5 years ago
Daniel Supernault 2d11317ceb
Update webfinger util, fail on invalid webfinger url 5 years ago
Daniel Supernault 4733ca9fb9
Add shared inbox 5 years ago
Daniel Supernault d63569c120
Add Direct Messages 5 years ago
Daniel Supernault 33c0db3a9a
Update FederationController, fix typo 6 years ago
Daniel Supernault 0309f8a4e1
Update FederationController, remove old code 6 years ago
Daniel Supernault 29ce725c70
Update FederationController, dispatch inbox jobs now on high queue 6 years ago
Daniel Supernault 3ec5102c24
Update FederationController, move signature validation to InboxValidator job 6 years ago
Daniel Supernault 302ff874cb
Update webfinger logic, fixes #2180 6 years ago
Daniel Supernault c84cee5ae0
Update ActivityPub Outbox, fixes #2100 6 years ago
Ashley Hull 9c84df49ff typo 6 years ago
Daniel Supernault 279c57d9a5
Update FederationController 6 years ago
Daniel Supernault 47c132c622
Update controller 6 years ago
Daniel Supernault 53110b94fd
Update FederationController 6 years ago
Daniel Supernault b9acd64543
Update FederationController 6 years ago
Daniel Supernault 58fd2f4f65
Update FederationController, fix invalid nodeinfo schema 6 years ago
Daniel Supernault 02f002a02d
Update FederationController, fix nodeinfo stats 7 years ago
Daniel Supernault 8e7f4000b6
Update FederationController 7 years ago
Daniel Supernault 2bc7f9f7d0
Update FederationController 7 years ago
Daniel Supernault 93c9ce2ff4
Update FederationController 7 years ago
Daniel Supernault ff4a76dafc
Update FederationController, fix host meta 7 years ago