gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit99bd657099bd6570tickets: lib/migrate.hl writes no table of another topic any more: projects.hl rewriteSlug / addProjectNamed / hasMembers, tickets.hl moveToProject / ticketRecords / ticketRecordsOf, events.hl renameStates / eventRecords / eventRecordsOf; the migration calls them (tickets#47)mre99bd6570/CONCEPT.md

2.0 KB

  1. # tickets.worldapi.org — concept (from the creator)
  2. **The World Ticket System: everyone can write everyone a ticket.** It is the only state store of
  3. AntColony (`/CONTAINERS/projects/antcolony/README.md` on Byrodin).
  4. ## Decided so far
  5. - Tickets belong to projects; numbers count per project from 1; URL `/<project>/<number>` (ticket #25; `/projects/<project>/<number>` answers 301)
  6. (2026-09-24). Old global numbers #1–#40 stay resolvable.
  7. - States: open, in progress, awaiting creator, confirmed, rejected, on hold. Workers can at most set
  8. "awaiting creator"; "confirmed" means the creator tested it.
  9. - Data formats: JSON for API writes (strictly validated), Markdown inside text fields, a Markdown read
  10. view for LLM readers (2026-09-24).
  11. ## Login via ident (creator, 2026-09-24 — all seven points accepted as proposed)
  12. 1. **Reading**: anyone, without logging in.
  13. 2. **Writing** (create tickets, comment, change states other than confirm/reject): anyone logged in
  14. through ident, in any project.
  15. 3. **Confirming and rejecting**: only the creator.
  16. 4. **Author** comes from the login; no free author field any more. Existing entries keep their author.
  17. 5. **Machine clients** (the architect, later the scheduler) write with **API tokens** a tickets user
  18. creates for themselves; a token acts as that user. The creator makes an ident identity "Architect",
  19. logs in to tickets with it and creates a token for the architect.
  20. 6. **Display name**: for now tickets asks for a display name once, at the first login. **Interim**: ident
  21. will hand over properties during the first handshake (creator: "just not yet"); then the name
  22. comes from ident and the question goes — keep the name a normal user field so it can be filled either way.
  23. 7. **Setup**: tickets is registered in ident as an app with origin `https://tickets.worldapi.org`; the key
  24. and secret are in tickets' `.env` on Byrodin as `IDENT_API_KEY` / `IDENT_API_SECRET` (set by the creator).
  25. Login UI: ident's identity selector top right (concept of ident: `ident.worldapi.org/CONCEPT.md`), plus
  26. the login button flow.

Branches

Latest commits

  • 99bd6570tickets: lib/migrate.hl writes no table of another topic any more: projects.hl rewriteSlug / addProjectNamed / hasMembers, tickets.hl moveToProject / ticketRecords / ticketRecordsOf, events.hl renameStates / eventRecords / eventRecordsOf; the migration calls them (tickets#47)mre
  • b57161e3tickets: the markup names its own rules (Style.pMessage, Style.olTickets, ...) instead of hand-written class strings that copy a stylesheet rule; the shared bodies sit in lib/looks.hl (tickets#38)mre
  • f767b24dtickets: 111 needless let became plain declarations (3 in ticket.hl, ticket_list.hl, comments.hl and 108 never-reassigned, not captured loop-body ones); the 212 really reassigned lets stay (tickets#44)mre
  • 16c0d3b5tickets: the modal window is phone first: the full-screen sheet is the base rule, the centred window sits in the min-width 60rem block (tickets#39)mre
  • 090ee809tickets: every component's styles in its own nested Style {} block; styles.hl keeps only the theme inherit, the accent and the site-wide rules (tickets#36)mre
  • d395763ftickets: ident-access gate ports 8769/8768 (8797 is taken on loreana)mre
  • afb9a403tickets: an ident access key (Authorization: Bearer idt_…) works in the API (ident#27 app side): lib/ident-access.hl copied from components, read keys GET only, ident down 503; gate tests/ident-access-tickets.mjsmre
  • 48c1ba79tickets: md-paste-files gate with the file manager casesmre
  • f04afc43tickets: MdEditor from components 59704ce (a file manager copy still attaches, pipe rows, tickets#49)mre
  • 06599fa0tickets: MdEditor from components b0f1ec2 (a clipboard with text always pastes the text, tickets#49); real Ctrl+V gatemre
  • 2e1b116ftickets: re-vendor Hybriel master acaceaf3 (framework ec8d6c1d): plugins/web patch queue while a page is built, anonymous session cookies refresh; gate waits for the comment editors to draw (W174) and clicks the form editor when it stands still; security gate: main's code runs on its own binary, lazy-session cookie checksmre
  • 361bc0fetickets: re-vendor Hybriel 7a684920 (WIP, not deployed); on Error exits 1 at startup; migrate passes its log by reference; gate checks follow lazy sessions and the 413 refusalmre
  • 8a69999cident#28: /login/callback never signs out the session it finds; a valid code puts the user on the same sessionmre
  • 337e9b21tickets#37: a comment's files are open to everyone who can read the commentmre
  • 1800600ftickets: write the standby service out in full so the boot gate can read the main servicemre
  • 8179d287tickets: standby service on its port plus 10 and a deploy that hands over through it without a gapmre
  • 0398145ctickets: the table grid rule is marked functional for check-thememre
  • 40fddc20tickets takes components e54f83a: tables get thin grey lines from the theme, desktop toolbar stays one row with the Table button, F4 check counts 11 buttonsmre
  • c1b77d61tickets#35: text typed before the editor is built is taken in once by the build (the input handler no longer writes it to the field first, which doubled the first letters); the gate failure shows the surfacemre
  • 32bf1873tickets#35: the gate types right after the load with the CPU slowed, no waitingmre