Commit Graph

60 Commits (5ebc1af91e96ca065ea55f20e94de5d874a442c8)

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
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
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 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 1f30beccf3
Update Transformers to comply with MastoAPI 2 years ago
Daniel Supernault 543d83e7ed
Fix newlines 2 years ago
Daniel Supernault fb8dbb95db
Update Status caption render logic 2 years ago
Daniel Supernault bcce1df6fc
Update AP transformers, add DeleteActor activity 3 years ago
Daniel Supernault 45bdfe1efd
Add Profile Migration federation 3 years ago
Daniel Supernault ce1afe2711
Update Note and CreateNote transformers, include attachment blurhash, width and height 3 years ago
Daniel Supernault 98cf8f32a0
Add Post Edits/Updates 3 years ago
a 23e2f111b7 fix null values on capabilities 4 years ago
Daniel Supernault 4470981af7
Improve follow request flow, federate rejections and delete rejections from database to properly handle future follow requests from same actor 4 years ago
Daniel Supernault 4dc9365acb
Update AccountController, dispatch Accept Follow activity if applicable 4 years ago
Daniel Supernault 85fb46668c
Update FollowRequest model 4 years ago
Daniel Supernault d48642132b
Add custom content warnings/spoiler text 4 years ago
Daniel Supernault f58dec3d73
Fix typos in ap transformers 4 years ago
a be6dc8ac47 clean up json-ld schema 4 years ago
Daniel Supernault 95f902b12b
Fix json-ld attributes, fixes #3423 4 years ago
Daniel Supernault 46d5f12590
Update custom emoji json-ld 5 years ago
Daniel Supernault b2016e6c21
Update note transformers, add custom emoji support 5 years ago
Daniel Supernault 7b3e672d89
Update NoteTransformer, fix tag array 5 years ago
Daniel Supernault f808b7b19d
Story transformers 5 years ago
Daniel Supernault 7709220074
Add Polls 5 years ago
Daniel Supernault 8ac8fcad3f
Update LikeController, add UndoLikePipeline and federate Undo Like activities 5 years ago
Daniel Supernault 3ba31bdc7c
Add UndoAnnounce transformer 5 years ago
Daniel Supernault 2c16db187b
Update AP transformers, fixes #1637 7 years ago
Daniel Supernault ef77de4e05
Update AP transformers, fixes #1637 7 years ago
Daniel Supernault a30575e8d3
Fix typo in AP transformers 7 years ago
Daniel Supernault 92b6204c66
Update AP Note transformers, add location/place 7 years ago
Daniel Supernault f47cd88438
Update AnnounceTransformer 7 years ago
Daniel Supernault 7522364f23
Update Announce AP Transformer 7 years ago
Daniel Supernault 023d279b60
Update Announce AP Transformer 7 years ago
Daniel Supernault a5e8b2eec9
Update Like AP transformer 7 years ago
Daniel Supernault 8f28cb3fb4
Update AP Note transformers, thanks kaniini 8 years ago
Daniel Supernault 01931aea5f
Update AP Transformers, add commentsEnabled from PeerTube 8 years ago
Daniel Supernault d47edd8bed
Update AP transformers 8 years ago
Daniel Supernault 24c052aea5
Update AP Note transformers to return media attachments in proper order 8 years ago
Daniel Supernault 490ab045ef
Update DeleteNote transformer 8 years ago
Daniel Supernault 11b4c8dd3a
Update AP transformer, fix typo 8 years ago
Daniel Supernault dfc851cc30
Update AP transformer, fix typo 8 years ago
Daniel Supernault 66d525dde5
Update StatusDelete pipeline, fanout via AP if enabled 8 years ago
Daniel Supernault 6b2955561e
Update AP Transformer, adds image description to fanout 8 years ago