gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commita80da7bda80da7bdWIP gs: security gate for lazy sessions, g24 browser checksmrea80da7bd/CONCEPT.md

3.6 KB

  1. # gitoria.worldapi.org — concept
  2. Git hosting for all projects, built in Hybriel (hl:webex), login via ident. Source of truth = the creator's words below.
  3. ## The creator's first thoughts (ticket gitoria.worldapi.org#1, 2026-09-24, verbatim)
  4. > Wildcard url: *.gitoria.worldapi.org
  5. > a new repo needs a slug for that thats unique in the hole system.
  6. > a repos / shows the README.md parsed to html, if there is a $docs folder it renders all md files inside that folder as a homepage
  7. >
  8. > /code shows the current state of their main branch (can be switched in settings)
  9. > /branch/xy shows entire branch at last comit
  10. > /commit/xy shows entire project at that commit
  11. > /tickets implements the ticketlist view of tickets.worldapi.org, the moment one ticket is created the project is created in tickets.worldapi.org - when a user loggs in to tickets.worldapi.org they see all tickets of a gitoria project like its a tickets project.
  12. > /pulls commits starting with `|||PR ` create a pull request using the branch title the main target for PRS can be configured in settings and is main by default `|||PR|name-of-branch] ` at the beginning of a commit sets a target branch
  13. > /releases a commit starting with `|||RL ` creates a semver release by default it counts up the last one 0.0.1 `|||RL|med ` counts up the middle number 0.1.0 and `|||RL|mj ` the major version 1.0.1 with `|||RL|1.1.1a ` the version can be set manually
  14. Earlier (chat, 2026-09-23/24): "i use ident login to login to ticktes and gitoria. i host the code in gitoria and use tickets
  15. to manage their tasks." · "deploy.sh yes, until gitoria does it automatically".
  16. ## Structure (architect's reading of the above — the quotes count)
  17. - **A repo** = a unique slug (unique in the whole system) → reachable at `https://<slug>.gitoria.worldapi.org`.
  18. - **`/`** = the repo's README.md rendered as HTML; if the repo has a `$docs` folder, all its Markdown files form the homepage.
  19. - **`/code`** = the main branch now (which branch is "main" is a repo setting). **`/branch/<name>`** = a branch at its last
  20. commit. **`/commit/<id>`** = the whole project at that commit.
  21. - **`/tickets`** = the tickets list of tickets.worldapi.org for this repo; the tickets project is created with the first
  22. ticket; in tickets.worldapi.org a gitoria project appears like any tickets project.
  23. - **`/pulls`**: a commit message starting `|||PR ` opens a pull request (title = branch title) into the default target
  24. (repo setting, default `main`); `|||PR|<branch>] ` sets the target.
  25. - **`/releases`**: a commit message starting `|||RL ` creates a semver release, patch +1 by default; `|||RL|med ` minor +1,
  26. `|||RL|mj ` major +1, `|||RL|<version> ` sets it explicitly.
  27. - Existing research: `docs/differ-from-custom-ide.md` (the diff logic is reusable) — shared components live in
  28. layouts.worldapi.org (creator).
  29. ## Open — not decided by the creator yet (a worker must not invent these)
  30. - ~~How code gets in and out~~ — decided (gitoria#5): "the dev can use ssh keys or the git http credentials if thats not deprecated by git itself". How to do it in Hybriel: research ticket gitoria#5.
  31. - Who may create repos; public / private repos; who may push.
  32. - Merging pull requests: where and by whom.
  33. - What a release contains besides the version (tag only? downloadable archive?).
  34. - The 4 old repos rescued from the previous gitoria (byrodin `/CONTAINERS/projects/gitoria.worldapi.org/repos-rescued-2026-09-24/`):
  35. import them or not.
  36. ## Old gitoria (Byrodin, hybrilior) — 2026-09-24
  37. The old container is removed. It hosted 4 bare repos (hybrilior, misant, mpackdb, bsondb); rescued to
  38. byrodin:/CONTAINERS/projects/gitoria.worldapi.org/repos-rescued-2026-09-24/.

Branches

Latest commits

  • a80da7bdWIP gs: security gate for lazy sessions, g24 browser checksmre
  • 23fb05d8re-vendor Hybriel aaa39e69 (hl:web batch 20: login emit and Sessions.mint, tab follows a login, signed-in session cookie wins among duplicates and is re-issued with the Domain, W85 faster render, lazy sessions)mre
  • a0727ca3ident#31: the selector's sign-in returns to the page the user started on (return attribute = the login callback with next), gate checkmre
  • a06975f9gitoria: a gap between your name and Log out in the phone header (they touched); gate checks itmre
  • 32ba9d59gitoria: leave the host-only cookie experiment out of the browser gate (gitoria#24 is a separate mission)mre
  • 43ad2bcfgitoria header: the selector alone plus your name and Log out as before the theme missions; tests follow (WIP: host-only cookie experiment fails)mre
  • ac2c4e3fident selector back in the header (creator 2026-10-24): selector top right signed in and out on phone and desktop, no second Log in button, new gate checks (WIP: gates not re-run after the last edits)mre
  • b279f536theme: sync from layouts 4994037 (list rows stack, td word-keep, heading code, edited tap target)mre
  • 2b01515ctests/ticketskit: a failed start kills the tickets server (own process group); stop() kills the groupmre
  • 109cfc5ctests/ticketskit: keep the rotated session cookie of the tickets login (tickets ST2 session rotation)mre
  • 7eb6be27sessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
  • b3911918reports/MG-mobile.md: 404 fixed, rebased gatesMG
  • 9da65b42tests/browser.mjs: 404 checks (host, no hydration wait)MG
  • 00517fafgitoria: shell 404 page for unknown paths (catch-all route, status 404, JSON 404 under /api), 390 gate checksMG
  • d9e977f0reports/MG-mobile.md, LOGMG
  • 2f2725actests/browser.mjs: commit-row check (one row, centred date)MG
  • 4df1ea01tests/browser.mjs: MG phone checks (list first, no dead strip, one branch heading, tab grid, commit rows, PR title row, ticket columns, wrapping commands)MG
  • c52424e9gitoria mobile: repo list before the forms, 3x2 tab grid, no duplicate branch heading, ordered commit rows, aligned ticket rows, pull title on its own row, wrapping clone commands, no dead strip under formsMG
  • 3a95252dG3: cache parsed README blocks by sha256 of the text (bounded LRU), reportmre
  • 570138cddeploy: security gate (tests/security.mjs)mre