Commit graph jonnybarnes.uk/app/Services/ArticleService.php
Author SHA1 Message Date
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
83d10e1a70
Refactor of micropub request handling
Trying to organise the code better. It now temporarily doesn’t support
update requests. Thought the spec defines them as SHOULD features and
not MUST features. So safe for now :)
2025-04-27 16:38:25 +01:00
3c0c375fbb
Update composer dependencies 2023-12-06 20:11:41 +00:00
b1407af945
Update Laravel Pint 2023-07-27 21:14:23 +01:00
ca6205d2a6
Allow micropub to post notes and articles 2022-11-29 19:58:44 +00:00