Commit Graph

14 Commits (350b8fdca5837e854cbaee5345ae4f9793f71c11)

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.
4 weeks ago
Rm Yakovenko efcf836e6d AdminStatsService: do not count deleted users 2 years ago
Daniel Supernault 6e0d1ef41b
Update cache 2 years ago
Daniel Supernault d1dbed8932
Fix AdminStatService cache key, fixes #3612 4 years ago
Daniel Supernault 9d52b9c2d6
Improve admin dashboard by moving expensive stats to its page and loading stats and recent data async on the dashboard home page 4 years ago
noellabo 2093d1b33b Change ISO-8601 to RFC 3339 EXTENDED 4 years ago
Daniel Supernault 4cb956aea2
Update AdminStatsService, add storage() method 5 years ago
Dan Church b167873632
Fix grouping error in PostgreSQL 5 years ago
Daniel Supernault af71913597
Update AdminStatsService, fix postgres bug 5 years ago
Daniel Supernault eb7d5a4e36
New admin dashboard layout 5 years ago
Daniel Supernault 888ea7f07e
Update ap inbox 6 years ago
Daniel Supernault 941da5d589
Update admin dashboard 6 years ago
Daniel Supernault 41abe9d261
Update AdminController 7 years ago