Commit Graph

4 Commits (4e429289eef751cfbc49fa6a91b98d1e0860e948)

Author SHA1 Message Date
vinzgreg d19671a92c Fix API status editing: use auth:api guard
StatusEditController's constructor applies the web `auth` guard, which
Bearer/OAuth clients cannot satisfy. PUT /api/v1/statuses/{id} and
GET /api/v1/statuses/{id}/history therefore fail for every third-party
API client, while status create/delete keep working because
ApiV1Controller has no controller-level web auth.

The controller is routed only from routes/api.php, where the route group
already applies ['auth:api', 'validemail'], so no web/session route
depends on the old guard. Switch the constructor to match.
2 months ago
Daniel Supernault 374344754e
Lint 9 months ago
Daniel Supernault 0f803446dd
Update EditHistoryModal, fix caption rendering 3 years ago
Daniel Supernault 98cf8f32a0
Add Post Edits/Updates 3 years ago