gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commita404ed75a404ed75Report HM57 audit, gates and integration notesmrea404ed75/lib/title-route.hl

901 B

  1. // lib/title-route.hl — the /shows/:slug redirect or title page, using the running framework instance.
  2. import { showsMovedPath } from './shows.hl'
  3. import { movedResponse } from './util.hl'
  4. // Preserve the component rendering and transient-session path used before HM58.
  5. static showsRouteOf = (&server, &route, &req) => {
  6. slug = route.params != null ? route.params.slug : null
  7. to = showsMovedPath(&slug)
  8. if (to != null) { return movedResponse(&to) }
  9. m = server.router.match('/series/' + slug)
  10. // RV28: like hl:web's own component branch (W124): a browser with no cookie renders with a transient session — no id, no file,
  11. // no cookie (mint() wrote a session file for every bot that asked for an unknown slug: tracker#50)
  12. let s = req.session
  13. if (s == null) { s = server.sessions.fresh() }
  14. return server.page(m, s, server.hostOf(req.headers['host']), server.requestHeaders(req.headers))
  15. }

Branches

Latest commits

  • a404ed75Report HM57 audit, gates and integration notesmre
  • 1dcb87a7Use plain declarations for unchanged bindingsmre
  • 9edcc2dflog: #58 live, HM57 startedmre
  • 73fa20ddMerge hm49b-styles: tracker#49 rest of the component stylesmre
  • 14195720log: HM49B done, HM51 startedmre
  • 78ee6b56Move remaining component styles into Style blocksmre
  • 7f04de33log: HM49Bmre
  • 00616cf3log: #49 batch merged, DP67 startedmre
  • d7232e86Merge hm49-styles: tracker#49 first batch of component stylesmre
  • 079f376dMove seven components' styles into Style blocksmre
  • 17d66feelog: #58 mergedmre
  • 69a6640bMerge hm58-map: tracker#58 project.hl only the mapmre
  • a85f7900Move route logic out of the project mapmre
  • 13dea5belog: #56 live, HM49 and HM58 startedmre
  • a31c8f2fdocs: tracker#36 remaining listmre
  • 975d06d1log: #36 live, DP66 startedmre
  • d6d03fa3mission: T36Bmre
  • e7512d00status: #36 rolled back, retry askedmre
  • c98e2043log: T36A rollbackmre
  • ae905f15Merge t36a: tracker#36 apply rechecks, reportmre