gitoriaLog in with ident

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit54070a4e54070a4etracker#8: /my/unwatched + /my/schedule (301 from old), S01E01, title (year), 1 episode, watched-set lookup (unwatched 15s -> 1s)mre54070a4e/plugins/web/session.hl

1.0 KB

  1. // ONE SESSION — a browser's bag on the server. A CLASS, not a hybrid, on purpose:
  2. // the language passes an instance by handle (through maps, lists, assignments and
  3. // emit payloads; an ordinary call argument copies, hence `&` at the dispatch) and
  4. // a face that logs a session in writes the session it was HANDED. On disk it is
  5. // the JSON of these members, and a file comes back as `rec > new Session()`.
  6. // THE APP'S OWN DATA GOES INTO `data`, a hybrid: `session.data.cart = …` rides along,
  7. // and an entry nobody wrote reads null — as a hybrid does. An UNDECLARED member of
  8. // an instance is not that: the language lets a write mint it on one instance and
  9. // refuses the read on another (measured 2026-09-13: `session.signupEmail` read in an
  10. // audience function on a session that never set it was an UndefinedProperty error).
  11. String id = null
  12. Number created = 0 // epoch ms
  13. Number seen = 0 // epoch ms of the last request or frame that presented it
  14. user = null // whoever logged this session in, or null
  15. data = {} // the app's own fields, absent ones read null

Branches

Latest commits

  • 54070a4etracker#8: /my/unwatched + /my/schedule (301 from old), S01E01, title (year), 1 episode, watched-set lookup (unwatched 15s -> 1s)mre
  • 3251488atracker#7: /my/shows (followed shows, newest follow first, poster, title, last watched SxxEyy); gate can take screenshots (TRACKER_GATE_SHOTS)mre
  • 44b7d9f9tracker#6: /schedule — upcoming episodes of followed shows, soonest firstmre
  • 91c9fc8ctracker#5: /unwatched — unwatched released episodes of followed shows, newest firstmre
  • a97c0295tracker#4: show page /shows/:slug (header, seasons, episodes, watch checks) + tools/relink-episode-seasons.hlmre
  • 05f407c5tracker: no border on any button except inverted ones (Log out, ident status and identities too); header brand weight 100mre
  • 17375427tracker#2: tools/migrate.hl + tools/verify.hl — old MongoDB data into mpackdb with new idsmre
  • 31aac936tracker#3: no border on the header and on filled buttons; inverted buttons keep theirsmre
  • 2ad9d29ctracker#1: login exactly like calendar (identity selector in the header, empty homepage)mre
  • 3691e176tracker#1: empty tracker with the ident login (state of 2026-09-27)mre