Commit graph

26 commits

Author SHA1 Message Date
Leon Mika d21aeadd56 Fixed build 2026-03-29 20:29:42 +11:00
Leon Mika deca23b599 Fixed ordering of published posts 2026-03-29 12:26:05 +11:00
Leon Mika c8a276b248 Have got saving working 2026-03-28 21:42:35 +11:00
Leon Mika 2cd9ff8721 feat(pages): add DB provider methods for pages
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 17:59:43 +11:00
Leon Mika f17597e4b8 feat(pages): add pages table schema and sqlc queries
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 17:57:49 +11:00
Leon Mika 5bf77ede5c feat: add CountPostsOfSite query and DB method
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 14:31:36 +11:00
Leon Mika 9919f3444a feat: add PostsPerPage to Site model and DB provider
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 14:28:50 +11:00
Leon Mika 9b36a35c1a feat: add posts_per_page column to sites table
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 14:26:09 +11:00
Leon Mika 740cf8979a fix: unit tests 2026-03-18 22:19:26 +11:00
Leon Mika 15bc6b7f73 feat: add DB provider methods for categories
Implements SaveCategory, SelectCategory, SelectCategoriesOfSite,
SelectCategoryBySlugAndSite, DeleteCategory, SelectCategoriesOfPost,
SelectPostsOfCategory, CountPostsOfCategory, and SetPostCategories on
the DB Provider, along with BeginTx/QueriesWithTx for transaction
support. Also fixes pre-existing compilation errors in provider_test.go
(missing PagingParams args) so new tests can compile and run.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 21:37:01 +11:00
Leon Mika d47095a902 feat: add sqlc queries for categories 2026-03-18 21:33:55 +11:00
Leon Mika 0bd91de234 Added a site setting section 2026-03-09 21:47:02 +11:00
Leon Mika 21f181f83d Added RSS and JSON feeds 2026-03-05 22:04:24 +11:00
Leon Mika 48f39133d7 Started working on the view upload page 2026-03-02 22:26:40 +11:00
Leon Mika 0a9af9cde8 Started a repository of the uploads 2026-03-02 21:10:09 +11:00
Leon Mika 6b697e008f Have got uploads working 2026-03-02 20:48:41 +11:00
Leon Mika 4a6b79db17 Added sub commands for doing admin stuff 2026-02-28 10:39:08 +11:00
Leon Mika 329de2f953 Added a suite GUID 2026-02-28 09:49:43 +11:00
Leon Mika 30d99eeb9e Have got first run working and publishing to Netlify 2026-02-26 22:23:47 +11:00
Leon Mika 01c6e9de87 First pass of authentication 2026-02-25 22:04:47 +11:00
Leon Mika 3ea5823ca0 Have got soft and hard deleting 2026-02-23 21:18:34 +11:00
Leon Mika aef3bb6a1e Styled the post list and added updating of posts 2026-02-22 10:09:34 +11:00
Leon Mika e77cac2fd5 Started working on the frontend
- Added the new post frontend
- Hooked up publishing of posts to the site publisher
- Added an site exporter as a publishing target
2026-02-21 10:22:10 +11:00
Leon Mika a59008b3e8 Added direct publishing to Netlify 2026-02-20 17:39:58 +11:00
Leon Mika 8136655336 Added a database 2026-02-19 22:29:44 +11:00
Leon Mika ebaec3d296 Modified models to support a DB 2026-02-19 21:21:27 +11:00