jonnybarnes.uk/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonny Barnes 24cb6d61aa
Implement micropub update support with clean exception-based error handling
- Add MicropubUnsupportedModelException for non-note update attempts
- Refactor UpdateHandler to throw exceptions instead of returning JsonResponse objects; extract applySyndication() to DRY up duplicated syndication URL mapping
- Fix MicropubController: InvalidTokenScopeException now returns 401 + insufficient_scope; add catches for ModelNotFoundException (404) and MicropubUnsupportedModelException (500); updates return 200 not 201
- Slim MicropubRequest.normalizeMicropubJson() to branch on action type, keeping update and create fields cleanly separated
- Update tests to match corrected status codes and error keys; remove markTestSkipped() from all update tests

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-22 10:15:35 +00:00
..
CommonMark feat: Refactor mention rendering and generator classes 2023-11-19 17:22:02 +00:00
Console Allow migrate media command to be re-run 2026-01-09 14:21:37 +00:00
Exceptions Implement micropub update support with clean exception-based error handling 2026-02-22 10:15:35 +00:00
Http Implement micropub update support with clean exception-based error handling 2026-02-22 10:15:35 +00:00
Jobs Allow files to be added to notes 2025-12-27 17:58:43 +00:00
Models Images can be uploaded with alt text 2026-01-04 10:07:25 +00:00
Observers Remove psalm annotations 2025-04-10 20:09:36 +01:00
Providers Implement micropub update support with clean exception-based error handling 2026-02-22 10:15:35 +00:00
Services Implement micropub update support with clean exception-based error handling 2026-02-22 10:15:35 +00:00
Traits Switch to Symfony’s HTML Sanitizer package 2022-06-02 09:40:34 +01:00