Commit Graph

15 Commits (1d712e14782eb08efa3be0c343d3544a46e7b37c)

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
Rm Yakovenko a63dbd8436 [Server Bug]: app.logo is not used in code 9 months ago
Shlee 1e689461c0
Update LandingService.php 11 months ago
Daniel Supernault c72fa05299
Update LandingService and Config util to properly support the legal_notice setting 1 year ago
Samy Elshamy 448511713d Added parameter 'show_legal_notice_link' => (bool) config_cache('instance.has_legal_notice'), 2 years ago
Daniel Supernault 4f2b8ed20a
Refactor total local post count logic, cache value and schedule updates twice daily to eliminate the perf issue on larger instances 2 years ago
Daniel Supernault 5071aaf408
Update activitpub setting, use config_cache() 3 years ago
Daniel Supernault 40478f258a
Update landing settings, use config_cache 3 years ago
Daniel Supernault 5e4d4eff9d
Update config cache 3 years ago
Daniel Supernault 06655c3a8b
Update LandingService, add curated onboarding parameter 3 years ago
Daniel Supernault 8dac2caf1d
Add Curated Onboarding 3 years ago
Daniel Supernault 36df0d8373
Update nodeinfo 3 years ago
Daniel Supernault 6ea2bdc782
Update Admin Dashboard, allow admins to designate an admin account for the landing page and instance api endpoint 3 years ago
Daniel Supernault 780f250742
Update LandingService, enable landing directory/explore feed by default and move configuration to config/instance.php file 4 years ago
Daniel Supernault 09c0032b39
New landing page design 4 years ago