gitoria

calendar

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit1809586818095868calendar: Reminder settings button opens its dialog again (the dialog's open handler still closed the removed user menu and stopped); old e2e and gate scripts use the new headermre18095868/docker-compose.yml

1.6 KB

  1. # calendar.worldapi.org on Byrodin — same pattern as gitoria: ./Dockerfile = debian:12-slim + libssl3 +
  2. # ca-certificates, host network, the app on 127.0.0.1:45005, nginx proxies it and ends TLS (WebSocket Upgrade headers
  3. # needed: hl:web rides `/`). The whole folder is the bind mount (.sessions/ and storage/ persist).
  4. # LOGIN VIA IDENT (ticket #2): IDENT_API_KEY and IDENT_API_SECRET come from `.env` in this folder (never written here).
  5. # The app is registered in ident with ONE origin, https://calendar.worldapi.org. IDENT_EXCHANGE_URL: the server-side
  6. # code exchange goes straight to ident's loopback port (as notes does).
  7. # HYBRIEL COMPILES THE APP AT ITS START (hybriel#148): scratch files go to /tmp (a tmpfs here), its build cache to HL_CACHE_DIR
  8. # inside the named volume `hybriel-cache`, so a restart starts warm and only a new binary or changed code compiles again (cold ~20 s).
  9. services:
  10. calendar:
  11. container_name: calendar.worldapi.org
  12. init: true # hybriel#156: the app as PID 1 ignores SIGTERM (restart waited 10 s)
  13. build: .
  14. image: "worldapi-hybriel-runtime:debian12"
  15. working_dir: /home/calendar
  16. network_mode: host
  17. restart: unless-stopped
  18. ulimits:
  19. nofile: { soft: 65536, hard: 65536 } # Hybriel int 6+ opened >1024 files at boot in the tracker (errno 24, 2026-10-22)
  20. environment:
  21. - HL_HOST=127.0.0.1
  22. - CALENDAR_PORT=45005
  23. - CALENDAR_WATCH=0
  24. - IDENT_EXCHANGE_URL=http://127.0.0.1:45002
  25. - HL_CACHE_DIR=/root/.hybriel/cache
  26. volumes:
  27. - ./:/home/calendar
  28. - hybriel-cache:/root/.hybriel
  29. tmpfs:
  30. - /tmp:exec,mode=1777
  31. command: ./bin/hybriel project.hl
  32. volumes:
  33. hybriel-cache:

Branches

Latest commits

  • 18095868calendar: Reminder settings button opens its dialog again (the dialog's open handler still closed the removed user menu and stopped); old e2e and gate scripts use the new headermre
  • 6eee4b5acalendar header: the selector alone top right plus Log out as before the theme missions; Reminder settings back on the month page (WIP: the settings test still fails)mre
  • 0b909decident 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
  • 0c8f9364Merge branch 'sy-sync'mre
  • 9fab1c8fsync components.hybriel 4922f9c into the month view: prev / next 44 px targets, names formatted in UTC (a UTC+12 zone showed the wrong first weekday); the calendar keeps its own language handling (Accept-Language / browser) and the P1/C13 reminder code; gate: 44 px check (SY)mre
  • 27d3e294theme: sync from layouts 4994037 (list rows stack, td word-keep, heading code, edited tap target)mre
  • 2ac9c1bbdeploy: security gate (tests/security.mjs)mre
  • 6b0a2571merge sc-sec (calendar security) with 99-year sessionsmre
  • 92001e52sessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
  • 0f76c99dSecurity audit SC: push endpoint SSRF guard, uploadMax 0, Secure cookie, login session rotation + rate limit, event cap, nosniff, security gatemre
  • 2dd53dccP1: one reminder shows once: arm() one at a time, the page skips reminders the server already pushed; push-twice gatemre
  • 3a29760aC13 report (handoff)mre
  • 33ab66ffCalendar: notification controls move from the month view into Reminder settings (user menu), one consistent state, state read when the dialog opensmre
  • 682a5b43reports: calendar gate countsmre
  • 876d22b2reports/H1-hydrate.mdmre
  • ef0cae45tests/dst.mjs: wait for hydration instead of a fixed 2.5 s sleep before clicking #gomre
  • d9cadecatests/cdp.mjs: HL_CPU_THROTTLE=<rate> optional CPU throttling for gate runsmre
  • efa61227re-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
  • 7808adbecalendar#12: report 011, LOG, STATUS, push-shots-testmre
  • df2e4fa0calendar#12: test push rate limit (1 per 30 s per device), owner-only gate checksmre