Commit Graph

27 Commits (252dea7016b961e81fb692730d6001412f878dda)

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
Daniel Supernault 374344754e
Lint 9 months ago
Daniel Supernault da510089e2
Update LikePipeline, dispatch to feed queue. Fixes #4723 3 years ago
Daniel Supernault 1545e37cdb
Enforce blocks on incoming likes, shares, replies and follows 4 years ago
Daniel Supernault 71ba5fedc2
Update Like model, bump max likes per day from 100 to 200 4 years ago
Daniel Supernault 192553ff77
Update public timeline api, add experimental cache 5 years ago
Daniel Supernault f3d6023ef8
Update LikeController, improve query perf 5 years ago
Daniel Supernault 8ac8fcad3f
Update LikeController, add UndoLikePipeline and federate Undo Like activities 5 years ago
Daniel Supernault ea68724054
Update LikeController, hide like counts 5 years ago
Daniel Supernault eab4370c84
Update Like, Status and Comment controllers to add StatusService del() method to update counts 6 years ago
Daniel Supernault 799a4cba12
Update LikeController, store status_profile_id and is_comment attributes 6 years ago
Daniel Supernault 996866cbac
Update LikeController, fix likes_count bug 7 years ago
Daniel Supernault 3a828522dd
Update LikeController 7 years ago
Daniel Supernault fdac53eb77
Update LikeController 7 years ago
Daniel Supernault bed5cc74de
Update LikeController 7 years ago
Daniel Supernault 9f928ae570
Update LikeController 7 years ago
Daniel Supernault 7974ad39c9
Update LikeController 7 years ago
Daniel Supernault 4739c25fe0
Update Cache, prepare for laravel 5.8 8 years ago
leuc a891bbcc9a cache StatusTransform and invalidate on like, comment and share 8 years ago
daniel b8abbdd90f Apply fixes from StyleCI 8 years ago
Daniel Supernault fec7ee8505 Update LikeController 8 years ago
Daniel Supernault e334eaa809 Update LikeController 8 years ago
Daniel Supernault dfe451db70 Fix like count 8 years ago
Daniel Supernault 3ec93d096c Add LikePipeline and like notifications 8 years ago
Daniel Supernault 095b23ac78 Update LikeController 8 years ago
Daniel Supernault 5d710d5574 Add like model, migration and controller 9 years ago