c391feb450
I also updated [api.php](/Users/tyemeclifford/Documents/GH/blog/api.php) so content.save accepts markdown, content, or body for post/page content.
3.5 KiB
3.5 KiB
Changelog
All notable changes to Ty Clifford's Content Management System are documented here.
2026-07-05
Added
- Added
api.phpfor.envusername/password authenticated remote management of content, media uploads, and comments. - Added a native AppKit macOS 12+ client under
macclient/for editing posts/pages, uploading media, moderating comments, local autosave, and optional remote draft autosave. - Added Mac client post/page list pagination with configurable per-page counts.
- Added Mac client editor spell-check and auto-correct options.
- Added a Mac client Update action for saving existing posts/pages without changing their current draft/published status.
- Added a declared shortcode parser with PHP-array/JSON configuration, including
[youtube=<id>]and[video poster=<poster> file=<file>]. - Added
lone-embed.phpas the generated HTML5 video player target for video shortcodes.
Changed
- Simplified API and Mac client authentication to
.envusername/password only, removing token-based auth. - Fixed Mac client resizing, maximized editor text reflow, startup layout refresh, guarded undo/redo behavior, keyboard focus traversal, and standard Command-key shortcuts including Settings and Update.
- Fixed Mac client Update so edited Markdown is read from the live text storage and stale save responses no longer overwrite the editor.
- Expanded the API content save endpoint to accept
markdown,content, orbodypayload fields for editor content. - Blocked direct web access to
.envand themacclient/source folder through.htaccess, with matching.envprotection in the local PHP router.
2026-07-04
Added
- Created a fresh PHP, SQLite, JSON, and Markdown blog CMS with Bludit-style
bl-content/pages/<slug>/index.txtcontent folders. - Added pretty URL routing through
.htaccess, RSS feed output, sitemap output, search, pagination, categories, tags, archives, static pages, and social link rendering. - Added a dark-neon default theme with visitor-selectable light mode and accent colors: green, blue, red, pink, purple, and orange.
- Added CLI content management through
cli/blog.phpfor creating, updating, deleting, listing, rebuilding, moderating comments, editing site settings, managing social links, and reading stats summaries. - Added SQLite-backed comments with moderation, captcha, and honeypot protection.
- Added human-readable CSV visit stats designed for spreadsheet import.
- Added subdirectory install support through
base_path,base_url, route parsing, and base-aware URL generation. - Added
cli/import-bludit.phpfor importing Bludit content from a local server directory, preserving publish dates, modified dates, static pages, statuses, categories, tags, authors, cover metadata, page order, uploads, page-local files, and best-effort comments. - Added trusted post/page rendering for raw HTML, iframes, JavaScript, and executable PHP inside Markdown
.txtcontent.
Changed
- Replaced the previous Bludit application tree with a purpose-built CMS while keeping copy-friendly Bludit-style content storage.
- Updated default branding to Ty Clifford's Content Management System.
- Expanded pagination controls to show Previous, up to 10 page numbers around the current page, Next, and a per-page summary.
Verified
- Smoke-tested core routes, feed, sitemap, search, static pages, assets, comments, stats, and subdirectory loading with the local FrankenPHP runtime.
- Tested the Bludit importer with a synthetic local Bludit directory, including dry-run and real import cleanup.