Commit Graph

23 Commits

Author SHA1 Message Date
brutsalvadi cec19a7203 Speed up builds: drop redundant --force, explicit data-store deletion is sufficient 2026-05-10 16:52:33 +02:00
brutsalvadi c217674472 Block suspended users from wiki session auth and login 2026-05-08 10:45:14 +02:00
brutsalvadi fd2d81328f Add wiki invite system: create/revoke invites, register via token 2026-05-08 09:44:42 +02:00
brutsalvadi f46316ce0a WikiLog: filter to sidecar edits only (author @bincio.wiki) 2026-05-08 09:08:25 +02:00
brutsalvadi a85a2eeb6d Fix sidecar: advance refs/heads/main after each commit
post-receive uses `git checkout -f <SHA>` which detaches HEAD in the bare
repo. Without this fix, sidecar commits advance the detached HEAD but not
refs/heads/main and are orphaned on the next push.

Also commits CLAUDE.md docs update and the retry-loop sync-vps.sh.
2026-05-08 08:57:55 +02:00
brutsalvadi 0d555ddb0f Add /api/log endpoint and WikiLog page; update site submodule 2026-05-08 08:50:46 +02:00
brutsalvadi fe35846b67 Implement 3-way merge on concurrent saves using git merge-file 2026-05-08 08:47:47 +02:00
brutsalvadi d1c2e99dbc Fix missing await on _get for stories route 2026-05-07 22:42:34 +02:00
brutsalvadi ccb0d20454 Fix missing await on async _get in route handlers 2026-05-07 22:41:12 +02:00
brutsalvadi 0fc1a2dc28 Add optimistic locking: return base_hash on load, reject 409 on conflict 2026-05-07 22:35:31 +02:00
brutsalvadi dd69a6b117 Add git commit with attribution on every page/story save and delete 2026-05-07 22:28:48 +02:00
brutsalvadi 75b8f16375 Fix rebuild: clear Astro cache and use --force; update site submodule 2026-05-07 12:15:27 +02:00
brutsalvadi 83f48f09d4 Add image upload support: assets dir, POST /api/assets, editor drop zone 2026-05-04 13:22:08 +02:00
brutsalvadi 0f8bd3dba6 - bincio_wiki/pages/ — new home for all wiki content (2 wiki pages + _docs/ with 13 docs pages), tracked by the
container repo
  - bincio_wiki/blog/ — new home for all blog content
  - site/src/content.config.ts — base: '../pages' (was ./src/content/entries)
  - site/astro.config.mjs — added vite.server.fs.allow: ['..'] so Vite serves files from outside the project root;
  updated the delete watcher to watch ../pages/
  - edit/server.py — default WIKI_PAGES_DIR is now pages (was site/src/content/entries)

  Content is now versioned in bincio_wiki. The submodule stays clean — it's just the engine.
2026-05-04 12:06:53 +02:00
brutsalvadi 713a9fc9d7 whatevs 2026-05-02 15:43:06 +02:00
brutsalvadi 2b440b02e6 Add shared auth, deployment config, and dev tooling 2026-05-01 21:55:55 +02:00
brutsalvadi c416dbc226 reorg: no symlinks, just real files. This works on mac 2026-05-01 14:51:05 +02:00
brutsalvadi 6056d255a1 Bump content sentinel on delete to trigger Astro loader re-run 2026-04-23 22:50:58 +02:00
brutsalvadi 875ac4ca51 Fix rebuild blocking FastAPI event loop
Switch /rebuild endpoint from subprocess.run (blocks event loop) to
asyncio.create_subprocess_exec, preventing auth failures on concurrent
requests during build. Update site submodule pointer.
2026-04-23 21:37:53 +02:00
brutsalvadi db265fc8d1 Add stories/ dir, /stories API endpoints, dev.sh blog symlink 2026-04-23 17:03:34 +02:00
brutsalvadi f41e8cb40e Add page editor UI: PageEditor drawer, fix slug regex for _docs/ paths, proxy /pages to API 2026-04-23 16:48:40 +02:00
brutsalvadi 3632ab3e9a Add session auth: FastAPI login/logout/me endpoints, uv-managed deps, fix cookie on JSONResponse 2026-04-23 15:29:56 +02:00
brutsalvadi c01def696c Initialize bincio_wiki project structure
- Add brutsalvadi/astro-bloomz as git submodule at site/
- Add edit/ FastAPI sidecar (read/write markdown pages, trigger rebuild)
- Add scripts/dev.sh and scripts/build.sh (symlink pages/, run Astro + Pagefind)
- Add .gitignore
2026-04-22 22:54:19 +02:00