tickets
All repositories: gitoria
1.2 KB
# Mission 012 — tickets#25 API part: projects by id, tickets stay under their projectTicket: curl -s -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/tickets.worldapi.org/tickets/25(read all comments). Creator: "the api should just do /api/tickets/123 and /api/projects/a5s8s5d" then "you are righttickets need to stay behind their project cause numbers count per project."→ /api/projects/<project id> works in addition to /api/projects/<slug> (every /api/projects/<x>/… route accepts either);tickets stay /api/projects/<x>/tickets/<n> (and its sub-routes). No global /api/tickets/<x>. Every existing API pathkeeps working unchanged (tools t.py/watch.py and connected apps use them). Projects have an id field? If they have noshort id yet, use the existing record id; report what format it is.Repo loreana:/media/STORAGE/projects/tickets.worldapi.org (main 7538b03+, deployed). Rules: code-order.md; reports010/011 lessons. Kill by PID only, never read .env; commit on main only, never push. Ports 8760–8769 (8765/8766 foreign).Gates green + checks for id and slug forms; API answers old vs new identical on a real-data copy. README/STATUS/LOG; commit.## Report — loreana …/reports/012-api-project-ids.md (+ copy /CONTAINERS/projects/antcolony/reports/latest-w091.md)
Branches
Latest commits
- 81f10e4eident 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
- f51029abMerge branch 'sy-sync'mre
- eae6e8c7sync components.hybriel 4922f9c: comments like / Edit / Delete / 'edited' are 44 px targets; gate: 'edited' hit-area padding, thread targets check (SY)mre
- 0de4750btheme: sync from layouts 4994037 (list rows stack, td word-keep, heading code, edited tap target)mre
- 4eeb7bfeST2 report wordingmre
- 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