Commit Graph

193 Commits (e7ba43e2e1ea56243ecf2d4dfffce2d64f2b2317)

Author SHA1 Message Date
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.
1 month 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.
1 month ago
dansup ec38262338
Merge pull request #6576 from shleeable/covidremove
Clean up Covid/WHO
1 month ago
Daniel Supernault 2fd3162f40
Update account transformers 1 month ago
Daniel Supernault e6c09c843a
Update AccountTransformers, add moved 1 month ago
Your Name 6f643e02df Remove dead label field from status API response
The label key was only used for COVID labels which are now removed.
Drop it from both transformers and the StatusService unset list.
5 months ago
Your Name ace2b962af Remove StatusLabelService entirely
Inline the static label value directly in StatusTransformer and
StatusStatelessTransformer, then delete the now-unused service class.
5 months ago
Daniel Supernault 53742fa699
Lint 9 months ago
Daniel Supernault 0dff48adb3
Update MediaTransformer, return proper image type 1 year ago
Daniel Supernault 245ab3bc4f
Update ApiV1Controller, fix relationship fields. Fixes #5900 1 year ago
Felipe Mateus cce4c41d97
pinned posts 2 years ago
Daniel Supernault edac836550
Update AccountTransformer.php 2 years ago
Daniel Supernault 0d25917c29
Update Data Export, refactor following/follower and statuses exports to allow accounts of any size with api entity instead of ap 2 years ago
Daniel Supernault 1f30beccf3
Update Transformers to comply with MastoAPI 2 years ago
Daniel Supernault 79039ba595
Update StatusStatelessTransformer, refactor the caption field to be compliant with the MastoAPI. Fixes #5364 2 years ago
Daniel Supernault 543d83e7ed
Fix newlines 2 years ago
Daniel Supernault fb8dbb95db
Update Status caption render logic 2 years ago
Daniel Supernault 3d6b9badf4
Add groups models, controllers and services 2 years ago
Daniel Supernault 01535a6cfe
Update ApiV1Controller, improve notification filtering 3 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 fac7c3c5e7
Update MediaTransformer, add hls_manifest attribute 3 years ago
Daniel Supernault 65a048cdd5
Update StatusTransformer 3 years ago
Daniel Supernault dfe2379b93
Update StatusTransformer, generate autolink on request 3 years ago
Daniel Supernault 1c13b518be
Update StatusStatelessTransformer, allow unlisted reblogs 3 years ago
Daniel Supernault 37fd03428a
Update ApiV1Controller, add include_reblogs attribute to home timeline 3 years ago
Daniel Supernault 98cf8f32a0
Add Post Edits/Updates 3 years ago
Daniel Supernault 6cdb5bc672
Update Notification logic, remove message and rendered fields 3 years ago
Daniel Supernault 43d3aa2b94
Update StatusTransformers, fix ProfileService to soft fail on missing or deleted accounts 3 years ago
Daniel Supernault 4339a1e106
Update StatusStatelessTransformer 4 years ago
Daniel Supernault f46b01af51
Update FollowerService, use redis sorted sets for following relations 4 years ago
Daniel Supernault b6c06c4b1d
Update NotificationTransformer, fix mediaTag and modLog types 4 years ago
Shlee 4a1eb82f63
Update StatusTransformer.php 4 years ago
Shlee e2a5a25416
Update StatusStatelessTransformer.php 4 years ago
Shlee 347f1a6d53
Update StatusStatelessTransformer.php 4 years ago
Shlee af3d313047
Update StatusTransformer.php 4 years ago
daniel ccc219bf55
Merge pull request #3485 from shleeable/patch-20
Update MediaDraftTransformer.php
4 years ago
daniel c516174376
Merge pull request #3484 from shleeable/patch-19
Update ResultsTransformer.php
4 years ago
noellabo 2093d1b33b Change ISO-8601 to RFC 3339 EXTENDED 4 years ago
Shlee eacbc06c3f
Update MediaDraftTransformer.php 4 years ago
Shlee 2e50811f2f
Update ResultsTransformer.php 4 years ago
Daniel Supernault 0a7a061a83
Update StatusTransformer 4 years ago
Shlee 549b8f40dc
Update StatusTransformer.php 4 years ago
Daniel Supernault 8f9d36bd3d
Cleanup, fixes #3440 4 years ago
Daniel Supernault cc6b78c436
Update StatusService 5 years ago
Daniel Supernault 6057de305e
Update ApiV1Controller, remove pinned attribute to match MastoAPI Status entity 5 years ago
Daniel Supernault c383f1008d
Update ApiV1Controller, fix instance endpoint 5 years ago
Daniel Supernault c166925319
Update MediaTransformer, fix type case bug. Fixes #3281 5 years ago
Daniel Supernault 0157566c25
Add BookmarkService 5 years ago
Daniel Supernault 42602351c7
Update StatusTransformer, add emoji entities 5 years ago