Commit Graph

281 Commits (1eae4bbd4304d3a59f1bfeadaff4daa2b8754e77)

Author SHA1 Message Date
Your Name aae7700bf3 fix: resolve 3 remaining Larastan errors from model migration
- AccountInterstitial middleware: fix FQCN reference
- Like/UndoLike transformers: fix aliased import namespace
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
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
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 68a6a5fa51
Update UserAccountDeleteCommand 6 months ago
Shlee abc0865ba7
Update UpdateNote.php 8 months ago
Shlee 911156bcba
Update CreateNote.php 8 months ago
Daniel Supernault 53742fa699
Lint 9 months ago
Emily Love Watson 453ae4b32e
MVP migration 12 months ago
Daniel Supernault 0dff48adb3
Update MediaTransformer, return proper image type 1 year ago
Daniel Supernault 51ce7e1f04
Update ActivityPub attachements, use Document type by default 1 year ago
Daniel Supernault 7ae61a74ac
Update CreateNote, improve media attachement handling by leveraging the MediaService cache 1 year ago
Daniel Supernault 6a7307104e
Update CreateNote to use cached MediaService attachments 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 83cc932fe9
Update AP Status Transformer, fix inReplyTo. Fixes #5409 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 bcce1df6fc
Update AP transformers, add DeleteActor activity 3 years ago
Daniel Supernault 2e5e68e447
Update AP Profile Transformer, fix suspended attributes 3 years ago
Daniel Supernault 63100fe950
Update AP Profile Transformer, fix movedTo attribute 3 years ago
Daniel Supernault 25f3fa06af
Update AP Profile Transformer, add `suspended` attribute 3 years ago
Daniel Supernault 01535a6cfe
Update ApiV1Controller, improve notification filtering 3 years ago
Daniel Supernault 45bdfe1efd
Add Profile Migration federation 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 adfaa2b140
Update AP ProfileTransformer, add published attribute 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 ce1afe2711
Update Note and CreateNote transformers, include attachment blurhash, width and height 3 years ago
Daniel Supernault 83900a3b00
Update ProfileTransformer, fix Mastodon indexable context 3 years ago
Daniel Supernault 817b494703
Update Profile AP transformer, fix context 3 years ago
Daniel Supernault fc24630eba
Update Privacy Settings, add support for Mastodon indexable search flag 3 years ago
Daniel Supernault 9378c65396
Add AccountMigration ActivityPub support 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