Commit Graph

22 Commits

Author SHA1 Message Date
philc 1211a6a391 chore: pending changes before release 2026-09-24 17:04:35 +00:00
philc ff7a8c7bd7 chore: pending changes before release 2026-09-24 08:13:11 +00:00
philc 7e66c6b29d chore: pending changes before release 2026-09-23 13:37:02 +00:00
philc a5d4a36a11 fix setup 2026-08-31 15:18:22 +00:00
philc 1bcd000d8f update mainapp 2026-08-28 09:18:30 +00:00
phil b589ab68cd blockchain: fix sync-from-network (seed domain/bootstrap, https+http probe, town index) + _broadcast iteration 2026-08-23 06:06:32 +00:00
phil e3d25bad65 docs: update setup flow (auto-detect nation, auto-HTTPS after mayor) + LXC/SSH/frpc syntax 2026-08-20 17:03:37 +00:00
phil e038a393eb setup: auto-detect nation (sync/new) + auto-enable HTTPS after mayor; fix nations index filename 2026-08-20 16:59:00 +00:00
phil a36ce96e96 docs: add TODO with apidoc->OpenAPI/Redoc and openpgp v6 projects 2026-08-17 08:29:20 +00:00
phil cc5d543fe0 gouvernance 2026-08-14 21:20:26 +00:00
phil 033be1a337 Scaffold tribe code dirs on creation + document custom town routes
Tribes.createTribe now provisions the tribe code directory with routes/models/
schema/dataprocess/wwws, a node_modules symlink to apxtri/node_modules (so tribe
routes can require express etc.), and an example route. This lets a mayor drop
custom routes/models right after creating a tribe — the town ("admin") tribe
has no code dir by design.

documents/17-TEAMDEV.md: new Part E "Custom town routes (mayor logic)" using
the "admin tribe" documentation convention (name left free).
2026-08-14 07:36:47 +00:00
phil 5bd024c65a Remove obsolete root scripts and document the suneditor CDN bundle
- aigenerator.js: broken (requires @google/generative-ai, not a dependency) and superseded by opencode agents
- apxchat.js: unfinished PGP chat experiment (nodepgp missing, undefined vars)
- suneditor-entry.js: manual esbuild entry; the built bundle is committed and served from cdn/lib/suneditor
- documents/12-WEBAPP.md: add CDN section + SunEditor full-bundle rebuild command
2026-08-14 07:26:03 +00:00
phil 0fe7b0d7b0 Remove the town tribe code directory (phase 3)
The town tribe has no code dir anymore ({NODEPATH}/{TOWN} does not exist):
- utils/webapps.js: getWebappSource/listWebappNames resolve the town tribe's
  webapp sources to the apxtri repository (mainapp/cdn) and runtime (apidoc)
- Caddy.discoverWebapps, Wwws.buildpwa/getTribestyle/saveStyle/createSubapp/
  rename/deleteSubapp, routes/wwws.js and apxtri._setupDraftSymlinks now use
  the resolver
- init.sh: no longer creates the town code dir; apidoc config is written into
  the runtime data dir
- remove the now-pointless MAINAPP_DEV apidoc skeleton promotion in buildpwa
- docs updated (AGENTS.md, 17-TEAMDEV.md, 01-SETUP.md)
2026-08-14 05:45:43 +00:00
phil 5c2c957ceb Align setup/docs with repo-versioned mainapp and cdn
- init.sh: drop pointless cdn/lib + mainapp mkdirs, stale comment
- promote-to-skeleton.sh: only promote schema/ + objects/ (mainapp/cdn now live in the apxtri repo)
- AGENTS.md: New Tribe Setup reflects repo-versioned mainapp/cdn (symlinks)
- documents/01-SETUP.md: current directory layout + mainapp/cdn note
2026-08-14 04:53:39 +00:00
phil 8a634ee0ea Move mainapp and cdn into apxtri repo (town tribe becomes a deployment-only target)
- mainapp/ and cdn/ now versioned at the apxtri repository root
- init.sh provisions them via symlinks ({NODEPATH}/{TOWN}/wwws/{mainapp,cdn})
- runtime cdn static parts (fonts/lib/conf.json) symlinked, share/ stays local
- remove mainapp/cdn from setup/skeletons/newtribe
- mainapp/appconf.json: drop hardcoded dns (multi-instance fix; DOMAIN route serves it)
- Wwws.buildpwa: only apidoc promoted to skeleton anymore
- update.sh: rebuild mainapp dist after pull
- documents/17-TEAMDEV.md: new layout + mainapp/cdn dev workflow
2026-08-14 04:33:28 +00:00
phil 32086d33c2 new setup 2026-08-13 14:57:03 +00:00
phil 8b3e28ff0b huge update to make it work townadmin webapp 2026-07-10 13:36:48 +00:00
philc b10f576f03 agent opencode installed 2026-05-18 12:13:27 +02:00
philc d53ea27f4b manage reverse proxy ip for Caddy.js 2026-05-14 12:40:37 +02:00
philc ad443f2760 manage reverse proxy ip for Caddy.js 2026-05-14 10:00:43 +02:00
philc efebfb28da manage reverse proxy ip for Caddy.js 2026-05-13 18:21:32 +02:00
philc 0fa9105852 init new apxtri 2026-05-11 11:16:47 +02:00