Commit Graph

15 Commits (163cd9f589a485e6191c7ba8b3fa8f666deb80c8)

Author SHA1 Message Date
Daniel Supernault e67182c9b3
Update WebfingerService 1 week 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
Daniel Supernault 33dce75f2c
Pint app/ 4 weeks 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
Daniel Supernault c1f2dfb013
Update WebfingerService, apply banned domains to webfinger logic 1 year ago
Daniel Supernault f8145a78cf
Add Profile Migrations 3 years ago
Daniel Supernault 26b5b42b86
Update WebfingerService 4 years ago
a 9471fa0078 more semantically correct webfinger (use rel=self, allow type=ld+json) 4 years ago
Daniel Supernault 9d31f73bfa
Fix SearchApiV2Service, improve webfinger condition 4 years ago
Daniel Supernault 9dac861ebe
Update ApiV1Controller, fix search v2 entities 5 years ago
Daniel Supernault 792212b655
Cleanup 5 years ago
Daniel Supernault aff7456639
Update WebfingerService. Fixes #3167 5 years ago
Daniel Supernault 8b9faf3179
Update WebfingerService, cache lookup 7 years ago
Daniel Supernault eaece0ac1a
Update WebfingerService 7 years ago
Daniel Supernault c47fbe2d66
Add WebfingerService 7 years ago