Commit Graph

21 Commits (5ebc1af91e96ca065ea55f20e94de5d874a442c8)

Author SHA1 Message Date
Your Name 5ebc1af91e BATCH 1 7 days ago
Your Name 277b8aa970 Use now() helper instead of Carbon::now() for current-time access
Aligns with the app's dominant convention (413 now()/today() call
sites vs 12 Carbon::now()). Carbon::parse() calls are untouched since
they parse arbitrary date strings, not current-time access.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2 weeks ago
Your Name 922d7f766e Drop Instagram import job when profile is missing instead of crashing 2 weeks ago
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
Your Name 492e78b95f fix 8 months ago
Daniel Supernault 53742fa699
Lint 9 months ago
dansup 14d5fe940e
Merge pull request #6302 from pixelfed/miscClosureUnusedUseV2
Larastan: fix Unused Use - Low risk
11 months ago
Your Name 28ed625f12 Fix PHPStan closure.unusedUse issues - 7 fixes 11 months ago
Your Name ca6c875bbb Fix PHPStan class.notFound issues 11 months ago
Daniel Supernault edbb07cc37
Add import video thumbnail job 3 years ago
Daniel Supernault 622e9cee97
Add S3 IG Import Media Storage 3 years ago
Daniel Supernault c65d03788b
Update config() to config_cache() 5 years ago
Daniel Supernault 40f9aa6055
Update import job 5 years ago
Christoph Stelz f5aa89b2d2 Add fix for InstagramImport 6 years ago
Daniel Supernault 776cd4398b
Update ImportInstagram pipeline 6 years ago
Daniel Supernault c7819514d9
Update ImportPipeline 8 years ago
Daniel Supernault a27418d4ef
Update ImportPipeline 8 years ago
Daniel Supernault 31dd8d38e7
Update ImportPipeline 8 years ago
Daniel Supernault a9e4589e36
Update InstagramImportPipeline 8 years ago
Daniel Supernault 97a632c987
Add IG import job 8 years ago