Commit Graph

20 Commits (a01c56cb514b21c27d807e28ef21844d87f8074f)

Author SHA1 Message Date
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 0dff48adb3
Update MediaTransformer, return proper image type 1 year ago
Daniel Supernault fac7c3c5e7
Update MediaTransformer, add hls_manifest attribute 3 years ago
Daniel Supernault c166925319
Update MediaTransformer, fix type case bug. Fixes #3281 5 years ago
Daniel Supernault 552e950d7a
New License formats 6 years ago
Daniel Supernault 3f14a4c412
Update MediaTransformers, add default blurhash attribute 6 years ago
Daniel Supernault 258b2729d3
Update MediaTransformer, remove cache busting 6 years ago
Daniel Supernault f8cbe1e42c
Update MediaTransformers, include meta attribute with focus and dimensions 6 years ago
Daniel Supernault cf40526ef9
Update mobile apis, add blurhash 6 years ago
Daniel Supernault 0a5a0e8616
Add federated photo filters 6 years ago
Daniel Supernault 261c33e7d8
Update Api Transformers, force string type for ids 8 years ago
Daniel Supernault 547ac5c8f9
Add/update API transformers 8 years ago
Daniel Supernault d75213a751
Update MediaTransformer 8 years ago
Daniel Supernault e3e2f902c1
Update MediaTransformer 8 years ago
Daniel Supernault ad47733cf0
Update Api MediaTransformer 8 years ago
Daniel Supernault 701401efec
Update MediaTransformer 8 years ago
Daniel Supernault d0d4def3ec
Update MediaTransformer 8 years ago
daniel b8abbdd90f Apply fixes from StyleCI 8 years ago
Daniel Supernault 005c8cffae Add API Transformers 8 years ago