tickets
All repositories: gitoria
913 B
#!/bin/sh# start-app.sh <tree> <port> <dir> : runs the app on <dir>/storage with a session made inside <dir>; prints sid to <dir>/sidtree=$1; port=$2; dir=$3sid=$(head -c16 /dev/urandom | od -An -tx1 | tr -d ' \n')h=$(printf %s "$sid" | sha256sum | cut -d' ' -f1)now=$(date +%s)000mkdir -p $dir/sessionsprintf '{"created":%s,"data":{"tag":"j3tag"},"handled":[],"id":"%s","seen":%s,"user":{"id":"0mufikk6hj1u"}}' $now $sid $now > $dir/sessions/$hchmod 600 $dir/sessions/$hecho $sid > $dir/sidcd $treeTICKETS_PORT=$port TICKETS_STORAGE=$dir/storage/mpackdb TICKETS_SESSIONS=$dir/sessions TICKETS_ATTACHMENTS=$dir/storage/attachments \IDENT_URL=http://127.0.0.1:9 IDENT_EXCHANGE_URL=http://127.0.0.1:9 TICKETS_PUBLIC_URL=http://127.0.0.1:$port TICKETS_CREATOR_IDENTITY= TICKETS_WATCH=0 IDENT_API_KEY=pk_j3 IDENT_API_SECRET= \nohup ./bin/hybriel project.hl > $dir/server.log 2>&1 &echo $! > $dir/pid
Branches
Latest commits
- 31cabfccmission 021: E2E script, report, LOG, STATUSmre
- 6aea8683editor look: .empty rule only for p.empty, files off where tickets has no upload, state note one line, events test scrolls the editor into view; synced md-editor (components d702d76+6f27ad3); gate 377/0, events 52/0mre
- dce6ffa6Merge branch 'w28-deflake'mre
- 536092a1tickets (mission 019): de-flake the m016 comment clicks (B: unliked) — calmClick waits until the button stops moving; test only, no app changemre
- 9c5fd42amission 020: attachments E2E proof (lisbeth Chrome, real-data copy), reportmre
- 1206404fREADME attachments, report 018, LOG/STATUSmre
- 3d9e7f3ctests: m017 gate fixes (list count, waits before delete clicks); gate 373/0mre
- dd41d5bcre-sync components 15be2ac; mission 018mre
- 420ad1bbtickets (mission 017 WIP, tickets#27): comment attachments — lib/attachments.hl (storage/attachments, limits, type by content, members-only GET /api/attachments/:id, delete drops, edit keeps), multipart POST …/comments (lib/multipart.hl), Respond block in FilesUpload (blocks verbatim from components w27c 1f8d79d), gate m017 checks written (not yet run); report, LOG, STATUSmre
- a7a1380dmission brief 017mre
- f83d9c0dtickets (mission 016): report reports/016-comments-block.md, LOG, STATUS, README gate countmre
- eef80f55tickets (mission 016): comments through the shared Comments block (layouts#2) — edit (author, earlier versions kept), delete (author, asks; leaves one line in the history), like (members, toggle) on the server (lib/comments.hl, append-only tables), faces + API …/comments/:comment/{edit,delete,like}, push commentChanged; every run of comments is a block in place in the history; Markdown fields on the Hybriel MdEditor (shared/md-editor.js retired: it took over the block's <md-editor>); blocks copied verbatim from components.hybriel 9db927d (tools/sync-components.sh); gates browser 351/0 (old 326/0), events 52/0 (old 52/0)mre
- eb7aeeb9mission brief 016mre
- e4c34759paths: projects moved into /media/STORAGE/projects/WorldAPI/mre
- 26efb23freport w6-events (events test)mre
- c6bfab04mission 015: re-vendor Hybriel 0f396652 (static build), reportmre
- b7ec5981mission brief 015mre
- 5dc68731docker-compose: init: true (hybriel#156, PID 1 ignored SIGTERM, every restart waited 10 s)mre
- 8a460b16mission 014: Apollo's 'stream opened right after the start gets no live events' is not a tickets bug — events.mjs checks early streamsmre
- 6309ca81mission brief 014mre