Commit Graph

30 Commits (a4244934203bae935df2119284ebc8a520662b10)

Author SHA1 Message Date
Your Name a424493420 Replace Str::of() fluent chains with static Str::/native calls
Aligns with the app's dominant convention (171 static Str:: calls vs
24 Str::of() chains). Uses Str::afterLast() for the repeated
"segment after last slash" pattern, Str::matchAll() where a
Collection return is needed, and native explode()/substr() where a
plain array/string suffices.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2 weeks ago
Daniel Supernault bbd7618c46
Update StoryService and add has_story to AccountTransformer 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
Daniel Supernault 443f29acc9
Update AccountService.php 4 weeks ago
Daniel Supernault 7937d91c37
Update ApiV1Controller, add is_suggestable to update_credentials endpoint 4 weeks ago
Daniel Supernault 59f57b1107
Update AccountService 4 weeks ago
Daniel Supernault 6c48a12423
Update ApiV1Controller, handle Moved accounts 2 years ago
Daniel Supernault d339b5c251
Update AccountService 2 years ago
Daniel Supernault c5e7e91777
Add disable_embeds setting, and fix cache invalidation in other settings 2 years ago
Daniel Supernault fd44c80ce9
Update meta tags, improve descriptions and seo/og tags 3 years ago
Daniel Supernault e7c08fbbb2
Update AccountService, add blocksDomain method 3 years ago
Daniel Supernault ebbd98e743
Update AccountService, add setLastActive method 3 years ago
Daniel Supernault 498b46f70f
Update AccountService, fix actor cache invalidation 4 years ago
Daniel Supernault e71972d8f1
Update ApiV1Controller, map AccountService 4 years ago
Daniel Supernault 8b7121f9fb
Update AccountService, fix delete status 4 years ago
Daniel Supernault 4514ab1dbe
Update SettingsController, fix double json encoding and cache settings for 7 days 4 years ago
Daniel Supernault a578035bbc
Update AccountService 5 years ago
Daniel Supernault 46485426ea
Update ApiV1Controller, add mastoapi strict mode 5 years ago
Daniel Supernault 85e4be8172
Update AccountService, add getMastodon method for mastoapi compatibility 5 years ago
Daniel Supernault e5f8f3441c
Update AccountService, fix json casting 5 years ago
Daniel Supernault 2aa73c1ffa
Update AccountService, add dynamic user settings methods 5 years ago
Daniel Supernault 2ae527c0f3
Update Status model, use AccountService to generate urls instead of loading profile relation 5 years ago
Daniel Supernault 37abcf3898
Update public timeline api, use cached sorted set and client side block/mute filtering 5 years ago
Daniel Supernault 9e630851a3
Update AccountService, fix status bug 5 years ago
Daniel Supernault 3f8acb1266
Update AccountService, add syncPostCount method 5 years ago
Daniel Supernault ee0028bc57
Update PublicApiController, use account service 5 years ago
Daniel Supernault b299da9311
Update AccountService, cache object and observe changes 6 years ago
Daniel Supernault eb478ccf76
Update AccountService, fixes #1834 7 years ago
Daniel Supernault 885a1258e8
Add AccountService 7 years ago