Commit Graph

37 Commits (c077117c45c73436dac986626c364b2a1a4e6491)

Author SHA1 Message Date
Lily Cohen 0e6459ddb9 Preserve the original HTML for remote status content 2 days ago
Your Name 99031fa6bc ReturnTypeFromReturnDirectArrayRector 6 days 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 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
Felipe Mateus cce4c41d97
pinned posts 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 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 4339a1e106
Update StatusStatelessTransformer 4 years ago
Shlee e2a5a25416
Update StatusStatelessTransformer.php 4 years ago
Shlee 347f1a6d53
Update StatusStatelessTransformer.php 4 years ago
noellabo 2093d1b33b Change ISO-8601 to RFC 3339 EXTENDED 4 years ago
Daniel Supernault 8f9d36bd3d
Cleanup, fixes #3440 4 years ago
Daniel Supernault 6057de305e
Update ApiV1Controller, remove pinned attribute to match MastoAPI Status entity 5 years ago
Daniel Supernault ca79e26d3a
Add custom emoji 5 years ago
Daniel Supernault e5387d6742
Add StatusMentionService, fixes #3026 5 years ago
Daniel Supernault e1277d4081
Update StatusStatelessTransformer, cast snowflake ids as strings 5 years ago
Daniel Supernault 7709220074
Add Polls 5 years ago
Daniel Supernault 6e45021fc2
Update StatusTransformer, prioritize scope over deprecated visibility attribute 5 years ago
Daniel Supernault 09d5198c55
Update StatusTransformers, remove includes and use cached services 5 years ago
Daniel Supernault dac326e949
Update StatusTransformer, fix missing tags attribute 5 years ago
Daniel Supernault 372bacb01b
Update StatusTransformers, add liked_by attribute 5 years ago
Daniel Supernault 9e0fd36ba7
Update Status tranformers, add version attribute 6 years ago
Daniel Supernault d0d4680709
Update StatusStatelessController, remove unused attributes 6 years ago
Daniel Supernault 4d22426da2
Update StatusStatelessTransformer, add missing attributes 6 years ago
Daniel Supernault 71e77a8325
Update StatusStatelessTransformer 7 years ago
Daniel Supernault 2484ed1e6d
Update Api Transformers 7 years ago
Daniel Supernault a6bf535dbc
Update API Transformers 7 years ago
Daniel Supernault ef8960c091
Update StatusTransformers 7 years ago
Daniel Supernault 468ae1ef60
Add StatusStatelessTransformer 7 years ago