Commit Graph

7 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
Daniel Supernault 53742fa699
Lint 9 months ago
Daniel Supernault 5071aaf408
Update activitpub setting, use config_cache() 3 years ago
Daniel Supernault 53134208fe
Update config() to config_cache() 5 years ago
Daniel Supernault f70826e18c
Update status model, use scope over deprecated visibility attribute 6 years ago
Daniel Supernault c84cee5ae0
Update ActivityPub Outbox, fixes #2100 7 years ago
Daniel Supernault 279c57d9a5
Update FederationController 7 years ago