gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2558f56c2558f56cst2-sec: keep the hlsid session cookie name (no one is signed out), Secure flag only; gate: a cookie issued by main stays signed in; ident stub serves selector.js; security.mjs in deploy GATESmre2558f56c/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

  • 2558f56cst2-sec: keep the hlsid session cookie name (no one is signed out), Secure flag only; gate: a cookie issued by main stays signed in; ident stub serves selector.js; security.mjs in deploy GATESmre
  • ea2e440esecurity audit (ST): JSON body cap, relation rights, login session rotation, __Host- Secure cookie, API security headers, CSP+referrer meta, /connect cap, one-line subjects, tests/security.mjs, reportmre
  • 7c8c2282sessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
  • b6277497report MT-mobile, LOGmre
  • 6709398blist paging: the newest rows come first (the sorted array was not used); filter rows hide their scrollbar; gate checks the ordermre
  • 31736a80gate: member-name check fails on the old row layout toomre
  • e03ae537gate: the phone checks run on without the Show more button (so old code reports every failed check)mre
  • adf7f132gate: 390 px checks for the mobile audit fixes (row number, filters, field widths, Edit, member names, relation taps, paging)mre
  • 28e9c938ticket list: draw the newest 50 rows and a Show more button (500 rows were a 2-4 s first paint, 740 KB, a 90 000 px phone page)mre
  • ccebb0c7mobile: ticket number stays on one line, filter chips one scrolling row, fields full width under their caption, Edit/action buttons, member names whole, 44 px relation linksmre
  • f2dc7741gate: the phone toolbar is two even rows (E2)mre
  • 20f7c33async components.hybriel 214c318: MdEditor on a phone, two even toolbar rows of 44 px targets, label 15 px, table head 16 px (E2)mre
  • d74a5482sync components.hybriel 134b4e3: MdEditor builds an editor put into the page at once, redraws a surface put in anew (F5, hybriel#211)mre
  • 9d02c540sync components.hybriel 6b0936a: the 'edited' foldable drops the theme's border and marginmre
  • 22751914sync components.hybriel 8d79ff7: bubble hugs its content, quiet 'edited' label; gate checksmre
  • c8452453sync components 9a: shared Icon (icons/icons.hl), md-editor toolbar icons + single focus ring (components f4-icons ba96735)mre
  • 52ba11e8sync-components: copy icons/icons.hl + README (F4); testsmre
  • 138d198dmd-editor.hl: verbatim copy of components f3-mdvalue (an older text handed back is kept)mre
  • 18d2df60md-editor.hl: verbatim copy of components f3-mdvalue (an outside value change is shown by the editor)mre
  • f6764bedreports/H1-hydrate.mdmre