Commit Graph
11 Commits
Author SHA1 Message Date
austin 32a37349a0 Update dependency lucide-react to v1.38.0
renovate/artifacts Artifact file update failure
build-and-publish / build (pull_request) Failing after 1m55s
2026-08-31 11:20:09 +00:00
austin d76cd40dd8 Restore the dependency upgrades I reverted
The merged Renovate bumps were undone when I rsync'd a local tree over these repos while
pushing the contract tests — that local package.json was a pre-merge backup I had kept so
the PRs would be the source of the versions.

Re-applied and verified from a clean install (rm -rf node_modules package-lock.json &&
npm install && tsc && vite build), which is also what regenerates a lock file consistent
with all the bumps at once.
2026-07-23 09:56:47 -05:00
austin 3d16144f40 Inherit the platform contract tests, and extend the shared Renovate preset
PlatformWebContract asserts what this app must do because it is on the platform: an /api
path matching no controller 404s rather than returning the SPA, health is UP, the liveness
and readiness probes exist, and a client-side route forwards to the shell. That first one
shipped broken to six live sites and was found by typing a URL by hand; now it fails a
build instead.

renovate.json is three lines pointing at austin/renovate-config. The rules were copied per
repo, so they matched only by luck and a change was six edits.

Platform 0.1.9.
2026-07-23 09:46:54 -05:00
austin 0ccfd1f055 Merge pull request 'Update dependency lucide-react to v1.26.0' (#6) from renovate/lucide-monorepo into main 2026-07-23 08:52:23 -05:00
austin 22fd88c0f6 Merge pull request 'Update dependency typescript to v7' (#2) from renovate/typescript-7.x into main 2026-07-23 08:50:51 -05:00
austin ef5680c654 Move search and the front-page decisions out of the browser into Java
Search downloaded every post to every visitor and filtered the list with String.includes,
so it could only ever match what a summary carries — a phrase from the body of a post was
unfindable, and the cost grew with each post published. It is now a query
(/api/posts/search) that searches the body too.

The home page picked 'the latest post' by taking element zero of that list, which was only
correct for as long as the API happened to return posts in that order. /api/home now
decides what leads, what counts as recent, and the tag counts, in one call.

Tag counting moves out of the controller into TagService, shared by both.

The LIKE escaping needed an explicit ESCAPE clause: there is no default escape character to
rely on, and posts are markdown full of literal backslashes — escaping with a backslash
turned a search for '%' into a search for backslashes and matched unrelated posts. Caught by
the new tests.

Also on platform 0.1.6 (contact-form header-injection fix).
2026-07-23 06:33:41 -05:00
austin eacb4cd007 Update dependency lucide-react to v1.26.0 2026-07-23 08:28:48 +00:00
austin df4c95fd3f Update dependency typescript to v7 2026-07-23 02:21:08 +00:00
austin 1b929a9125 Restore the app files (prior commit mis-scoped its tar) 2026-07-22 20:50:58 -05:00
austin 3827b615dc Add admin UI + MinIO image uploads
- Admin API: list/edit posts (incl. drafts, raw markdown), moderate comments, subscribers,
  author bio/links, and presigned image upload to MinIO (bucket is public-read for covers).
- Admin UI at /admin: post editor with cover-image upload, comment moderation, subscriber list.
- Public security switched to authenticated-paths so static assets (/images, /data) stay public.
2026-07-22 20:50:45 -05:00
austin 0c5bbaaa01 Rewrite as a Spring Boot app on the Bennett platform
Restores the real backend lost with Supabase (posts, authors, comments, subscriptions, admin) in
Postgres, seeds the existing markdown posts, and rebuilds the site as a Vite/React SPA served by
Spring — keeping the original styling (serif + tan accent) and content.
2026-07-22 20:35:51 -05:00