Commit Graph

42 Commits (e2b76dba9989b97ed73c9a5fa52333ed7e05c8d2)

Author SHA1 Message Date
Your Name e2b76dba99 larastan level 2 6 days ago
Your Name 33a6c642ea Larastan 1 to 2 6 days ago
Shlee c86a82b857
Merge pull request #7059 from pixelfed/chore/convert-string-refs-to-class
Laravel 13 Prep: Convert string class references to ::class
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 6d8ad3885a Convert string class references to ::class
Applies the ::class conversion from pixelfed-staging PR #9 (patch 1/21),
formatted with Pint (short imported ::class form). Excludes the
ModelNamespaceMigrationTest namespace assertions, which intentionally
compare against literal namespace strings.
3 weeks ago
Daniel Supernault 5b63f5f225
Fix AdminReports 4 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
Daniel Supernault 33dce75f2c
Pint app/ 4 weeks ago
Shift 19880c2ffb
Convert string references to `::class`
PHP 5.5.9 adds the new static `class` property which provides the fully qualified class name. This is preferred over using strings for class names since the `class` property references are checked by PHP.
4 weeks ago
Daniel Supernault 374344754e
Lint 9 months ago
Shlee 2a5296f58e
Update AdminUser.php 10 months ago
Your Name 1b962783d8 Fix AdminUser.php syntax error - remove invalid property declaration 10 months ago
Your Name 815460cd26 2fa_enabled needs to be refactored 10 months ago
Your Name 4b14819923 Larastan: Add @property 10 months ago
Daniel Supernault d361b0dca0
Update StoryView resource, include viewed_at timestamp 1 year ago
Daniel Supernault fb8dbb95db
Update Status caption render logic 2 years ago
Daniel Supernault b464eee966
Update AdminModeratedProfileResource 2 years ago
Daniel Supernault 1a972e8ddf
Update AdminModeratedProfile resource 2 years ago
Daniel Supernault c4b5148b17
Update AdminReport 2 years ago
Daniel Supernault 80ee8a7414
Update AdminModeratedProfileResource 2 years ago
Daniel Supernault dcddc72c86
Update AdminModeratedProfileResource 2 years ago
Daniel Supernault 6fc2dd07d4
Add AdminModeratedProfileResource.php 2 years ago
daniel 1dbcdee289
Merge branch 'staging' into feat/implement-admin-domain-blocks-api 2 years ago
Daniel Supernault cb5620d4c0
Update AdminUser, fix entity casting 2 years ago
Emelia Smith 2d34e86f26
Add digest to Admin DomainBlockResource, coming in Mastodon 4.3 3 years ago
Emelia Smith 652654e24f
WIP: Implement domain blocks 3 years ago
Daniel Supernault ef0ff78e4a
Add Remote Reports to Admin Dashboard Reports page 3 years ago
Daniel Supernault 8fa2afe016
Remove unused resource 3 years ago
Daniel Supernault 941736ce6c
Update StoryApiV1Controller, add viewers route to view story viewers 3 years ago
Daniel Supernault 6161cf45aa
Add AdminProfile resource 3 years ago
Daniel Supernault 71ad7d5d43
Update AdminUser resource 3 years ago
Daniel Supernault 7dd45c23b7
Add ImportStatus Resource 3 years ago
Daniel Supernault a2305d5fdc
Added `/api/v1.1/accounts/app/settings` endpoint and UserAppSettings model to store app specific settings 3 years ago
Daniel Supernault 175a848665
Add /api/v1/followed_tags api endpoint 3 years ago
Daniel Supernault c6cc6327d3
Redesigned Admin Dashboard Reports/Moderation 3 years ago
Daniel Supernault 09c0032b39
New landing page design 4 years ago
Daniel Supernault ecfc0766f8
Update admin instances dashboard 4 years ago
Daniel Supernault ddbabddd83
Update StatusStateless resource 4 years ago
Daniel Supernault 94395be9c4
Add archive api endpoints 4 years ago
Daniel Supernault 0420368477
Add AdminInstance resource 4 years ago
Daniel Supernault f5c2120eee
Add AdminUser resource 4 years ago
Daniel Supernault f9341d0197
Add AdminHashtag resource 4 years ago