Commit Graph

44 Commits (dev)

Author SHA1 Message Date
Your Name 0d999f5dda added return type to function 6 days ago
Daniel Supernault bbd7618c46
Update StoryService and add has_story to AccountTransformer 2 weeks ago
Daniel Supernault edcf978755
Update AccountTransformer.php 2 weeks ago
Daniel Supernault 94b8fea32a
Update AccountTransformer 2 weeks ago
Your Name 042ab0a6e4 Convert optional() to nullsafe operator
Applies patch 2/21 from pixelfed-staging PR #9: replaces optional($x)->y
with $x?->y across 16 files. Pint-clean.
3 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
Daniel Supernault 2fd3162f40
Update account transformers 1 month ago
Daniel Supernault e6c09c843a
Update AccountTransformers, add moved 1 month ago
Daniel Supernault 53742fa699
Lint 9 months ago
Daniel Supernault edac836550
Update AccountTransformer.php 2 years ago
Daniel Supernault f8145a78cf
Add Profile Migrations 3 years ago
Daniel Supernault 542d110673
Update AccountTransformer, fix follower/following count visibility bug 3 years ago
Daniel Supernault f46b01af51
Update FollowerService, use redis sorted sets for following relations 4 years ago
Daniel Supernault cc6b78c436
Update StatusService 4 years ago
Daniel Supernault c383f1008d
Update ApiV1Controller, fix instance endpoint 5 years ago
Daniel Supernault 85e4be8172
Update AccountService, add getMastodon method for mastoapi compatibility 5 years ago
Daniel Supernault 98f76abbe8
Update AccountTransformer, add note_text and location fields 5 years ago
Daniel Supernault fabb57a9d5
Add profile pronouns 5 years ago
Daniel Supernault 38b0233e96
Update AccountTransformer, add last_fetched_at attribute 7 years ago
Daniel Supernault f5e4e468a2
Update AccountTransformer 7 years ago
Daniel Supernault 121b258dbb
Update AccountTransformer, re-add header_bg field. Fixes #1933 7 years ago
Daniel Supernault 3f0c45f601
Update AccountTransformer 7 years ago
Daniel Supernault d2a90f11a0
Update AccountTransformer 7 years ago
Daniel Supernault 4d084ac5de
Update AccountTransformer 7 years ago
Daniel Supernault 93c687c7a0
Update AccountTransformer 7 years ago
Daniel Supernault ac0ec74c3d
Update AccountTransformer 7 years ago
Daniel Supernault 6a80146b0c
Update AccountTransformer 7 years ago
Daniel Supernault 4899ff3479
Update AccounTransformer 7 years ago
Daniel Supernault 2484ed1e6d
Update Api Transformers 7 years ago
Daniel Supernault 1ff7ba909e
Update AccountTransformer, I need some coffee 7 years ago
Daniel Supernault 403163f12f
Update AccountTransformer 7 years ago
Daniel Supernault 34419ce2cc
Update AccountTransformer 7 years ago
Daniel Supernault c694abc23a
Update AccountTransformer, add website 7 years ago
Daniel Supernault 377394f0f2
Update AccountTransformer, cache status count 7 years ago
Daniel Supernault 339a0a3882
Update NotificationService 7 years ago
Daniel Supernault 138ce38a5e
Update AccountTransformer 7 years ago
Daniel Supernault 125d694086
Update AccountTransformer 8 years ago
Daniel Supernault 261c33e7d8
Update Api Transformers, force string type for ids 8 years ago
Daniel Supernault aa53a1439f
Update API AccountTransformer, fix https://mastodon.social/users/tom79/statuses/101410506495350462 8 years ago
Daniel Supernault 547ac5c8f9
Add/update API transformers 8 years ago
Daniel Supernault 25649c70cc
Update AccountTransformer 8 years ago
daniel b8abbdd90f Apply fixes from StyleCI 8 years ago
Daniel Supernault 005c8cffae Add API Transformers 8 years ago