Commit Graph

39 Commits (ed07f9bfecef6b26fe6092c1409d493ee250eec2)

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 54cfdf3c2b refactor: add return type declarations to controller methods
Adds explicit return type declarations to 498 controller methods
across 88 files. Types inferred from return statements:

- JsonResponse for response()->json() returns
- RedirectResponse for redirect()/back() returns
- View (contract) for view() returns
- Response for response() returns
- void for methods with no return value
- array for array returns
- string/int/bool for scalar returns

Also fixes 3 methods with incorrect bare returns:
- AvatarController::deleteAvatar - bare return → json response
- ImportPostController::checkPermissions - bare return → true
- RemoteAuthController::accountToId - bare return → empty array
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
Shlee 4e6b341532
Update StoryController.php 1 month ago
Daniel Supernault 44914a5143
Update StoryController, add StoryIndexService s markSeen support for webUI endpoint 1 year ago
Daniel Supernault 9d89425e62
Update StoryController, fix intervention/image 1 year ago
Daniel Supernault 2d113de536
Update config_cache, fix type casting 3 years ago
Daniel Supernault 71c148c61e
Update StoryController, add parental controls support 3 years ago
Daniel Supernault 633351f6dc
Update StoryController, show active self stories on home timeline 3 years ago
Daniel Supernault ddf41dc347
Update StoryController, add postgres bug fix 5 years ago
Daniel Supernault cdaa153003
Update StoryController 5 years ago
Daniel Supernault 00c32360ae
Update StoryController, fix postgres bug. Fixes #2904 5 years ago
Daniel Supernault dd7262d841
Update StoryController, add StoryComposeController 5 years ago
Daniel Supernault 39e57f9506
Update StoryController, fix expiration time bug 5 years ago
Daniel Supernault 1c2baa8f2c
Update config() to config_cache() 5 years ago
Daniel Supernault c0e693cc73
Update config() to config_cache() 5 years ago
Daniel Supernault a9f009305c
Update config() to config_cache() 5 years ago
Daniel Supernault 1d54204635
Update config() to config_cache() 5 years ago
Daniel Supernault e66ed9a222
Update StoryController, optimize photo size by resizing to 9:16 aspect 5 years ago
Daniel Supernault c2f8faaeee
Update StoryController, fix cache crop bug 5 years ago
Daniel Supernault ae46bad70a
Update StoryController 5 years ago
Daniel Supernault c8edca696b
Update Stories, add crop and duration settings to composer 5 years ago
Daniel Supernault b3b220b9b3
Update StoryController, allow video stories 6 years ago
Daniel Supernault 725fc6c62b
Update StoryController, fix deprecated getClientSize() use 6 years ago
Daniel Supernault 5ffa71dacd
Update StoryController, fixes #2018 7 years ago
Daniel Supernault 369a1a599d
Update StoryController, remove auth middleware 7 years ago
Daniel Supernault 608fb1bd46
Update Story routes 7 years ago
Daniel Supernault 07a13fcfed
Update StoryController, orientate story media and strip exif 7 years ago
Daniel Supernault 8360aa4827
Update StoryController, fix postgres bug 7 years ago
Daniel Supernault aba509fc6b
Update StoryController 7 years ago
Daniel Supernault 71f6cbb5a6
Update StoryController 7 years ago
Daniel Supernault d403e0c615
Update StoryController 7 years ago
Daniel Supernault e30823dbf2
Revert StoryController update 7 years ago
Daniel Supernault 523d90cdec
Update StoryController 7 years ago
Daniel Supernault a8a8e5f0dc
Update StoryController, fix postgres bug 7 years ago
Daniel Supernault 5a2685e40d
Update StoryController 7 years ago
Daniel Supernault 929c99abb6
Add StoryController 8 years ago
daniel b8abbdd90f Apply fixes from StyleCI 8 years ago
Daniel Supernault def210be19
Add StoryController 8 years ago