jonnybarnes.uk/app/Services/Micropub/Data
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonny Barnes a76c84b40f
Respect Micropub post-status when creating articles
Articles created via Micropub were always published immediately,
ignoring the client-supplied post-status property. Clients like iA
Writer that publish drafts (post-status: draft) had no way to land
an article as unpublished.

EntryData now extracts post-status from the request, and
ArticleService sets published accordingly, defaulting to true when
the property is omitted or set to anything other than "draft".

Fixes #123

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AXyzNvQZPQgBoSZwW7cLG8
2026-08-22 17:16:55 +01:00
..
CardData.php Move request parsing into DTOs via fromRequest(), expand update handler 2026-03-13 20:39:50 +00:00
EntryData.php Respect Micropub post-status when creating articles 2026-08-22 17:16:55 +01:00
MicropubData.php Move request parsing into DTOs via fromRequest(), expand update handler 2026-03-13 20:39:50 +00:00
UpdateData.php Move request parsing into DTOs via fromRequest(), expand update handler 2026-03-13 20:39:50 +00:00