Commit Graph

53 Commits (a02fc2e19d24c653e361e72e7a6139d9bdb0bf40)

Author SHA1 Message Date
Daniel Supernault 56b96359c3
Fix fetching by properly retrying certain error responses 6 days ago
Daniel Supernault dedfa67b70
Add FEP-8fcf followers collection synchronization
Sender: followers-only Create deliveries carry a signed
Collection-Synchronization header scoped to the authority of each inbox,
and the partial followers collection is served to authenticated instances
at /users/{username}/followers_synchronization.

Receiver: a signed Collection-Synchronization header whose digest differs
from our copy queues FollowersSyncPipeline, which fetches the partial
collection as the instance actor and reconciles followers, pending follow
requests and unknown follows.

Adds profiles.followers_url for the collectionId check.
1 week ago
Your Name 28b11b9b35 Larastan 2 1 week ago
Your Name 53b698ec48 Revert "StrictArrayParamDimFetchRector"
This reverts commit a28d3df4c4.
1 week ago
Your Name a28d3df4c4 StrictArrayParamDimFetchRector 1 week ago
Your Name c57e5d8ed7 adding type 1 week ago
Your Name 0dbd78ca8e Lint 1 week ago
Your Name 5ebc1af91e BATCH 1 1 week ago
Daniel Supernault 493b8de031
Add FeaturedCollections/Starter Kits support 1 week ago
Your Name 1905da723d Validate publicKey.id host on inbox actor ingest to prevent key_id poisoning 3 weeks ago
Shlee 56251cb05f
Update InboxValidator.php 3 weeks ago
Your Name c0cde2f682 refactor: move 52 legacy models from App\ to App\Models\
Move all Eloquent models from the app/ root directory to app/Models/
for consistency with modern Laravel conventions. The project already had
54 models in App\Models; this migrates the remaining 52 legacy models.

Changes:
- Move 52 model files from app/ to app/Models/
- Update namespace declarations in each model
- Update all ~1000 import references across the codebase
- Add Relation::morphMap() in AppServiceProvider for backward
  compatibility with existing polymorphic database records
- Add missing HasSnowflakePrimary imports for models that relied
  on same-namespace resolution
4 weeks ago
Your Name c807a8524c refactor: replace short facade aliases with fully-qualified imports
Convert all 273 short facade alias imports (e.g. 'use Cache;') to their
fully-qualified class names (e.g. 'use Illuminate\Support\Facades\Cache;')
across 193 files.

This resolves 643 PHPStan 'class.notFound' errors caused by the static
analyzer being unable to resolve global aliases, and aligns with modern
Laravel conventions. It also unblocks removing the aliases array from
config/app.php in a future change.

All 107 tests pass.
1 month ago
Daniel Supernault 5f397f9135
Update StoryController 1 month ago
Your Name 09aba28d88 fix 8 months ago
Daniel Supernault 53742fa699
Lint 9 months ago
Daniel Supernault 04bf75fb68
Revert inbox changes 11 months 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
11 months ago
Your Name 157eae101c InboxPipeline defensive checks 11 months ago
Daniel Supernault c7b304ef20
Update http client 3 years ago
Daniel Supernault 419c0fb0fb
Updaet InboxPipelines, improve handling of missing signature validation headers 4 years ago
Daniel Supernault 836f384fb8
Update federation logic 4 years ago
Daniel Supernault 06c10401c8
Update InboxPipeline 4 years ago
Daniel Supernault f62d2494a4
Update InboxPipeline, dispatch Follow/Accept Follow jobs to follow queue 4 years ago
Daniel Supernault e6c1604d43
Update InboxPipeline, add inbox job queue and separate http sig validation from activity handling 4 years ago
Daniel Supernault 3cfa8b69fb
Update InboxPipeline 4 years ago
Daniel Supernault d1b888b5a6
Update InboxPipeline, increase timeout from 60s to 300s 4 years ago
Daniel Supernault 1fac8d545c
Update InboxPipeline 4 years ago
Daniel Supernault 25bc08adb9
Update FederationController 4 years ago
Daniel Supernault bb12001992
Update InboxPipeline, bump request timeout from 5s to 60s 4 years ago
Daniel Supernault fefcbae911
Update federation logic 4 years ago
Daniel Supernault 99fb80bf5d
Update InboxPipeline, fix peertube attributedTo parsing 4 years ago
Daniel Supernault 4287f14bc5
Update InboxPipeline, fixes #3332 5 years ago
Daniel Supernault cd4f73bed9
Update inbox workers, fixes #3304 5 years ago
Daniel Supernault 20710f4d6e
Update InboxPipeline, fixes #3306 5 years ago
Daniel Supernault ddc768871b
Update federation pipeline, add locks 6 years ago
Daniel Supernault d1c5e9b867
Update InboxPipeline, fail earlier for invalid public keys. Fixes #2648 6 years ago
Daniel Supernault 36a722aa3c
Update InboxValidator 6 years ago
Daniel Supernault 56256cb037
Update InboxPipeline, add missing import 6 years ago
Daniel Supernault 4a4d8f0069
Update InboxWorker, fix race condition in account deletes 6 years ago
Daniel Supernault d5cd2ad4cb
Update InboxPipeline, increase timeout length 6 years ago
Daniel Supernault 4fbada5586
Update InboxPipeline 6 years ago
Daniel Supernault 2ab58fb723
Update InboxValidator, oof 6 years ago
Daniel Supernault 011e2c964c
Update InboxValidator 6 years ago
Daniel Supernault 938e721e91
Update InboxValidator 6 years ago
Daniel Supernault 3ec5102c24
Update FederationController, move signature validation to InboxValidator job 6 years ago
Ashley Hull 9c84df49ff typo 7 years ago
Daniel Supernault 3679332114
Update InboxValidator job 7 years ago
Daniel Supernault 0e7f2bd0be
Update InboxValidator job 7 years ago
Daniel Supernault 21f211d354
Update InboxValidator job 7 years ago