gitoria

ident

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit45f7e4da45f7e4daident: the user menu's Sign out waits for the server before it reloads (the apps gate failed because the session could still be signed in)mre45f7e4da/components/home.hl

20.6 KB

  1. // components/home.hl — `/` and `/signin/:rid`: ALL OF IDENT (pieces 1+2, tickets #24 #25;
  2. // CONCEPT.md).
  3. // Signed out: email → a six-digit code by mail → signed in. There is no registration:
  4. // the first right code for an address creates the account with a DEFAULT IDENTITY, then
  5. // this page shows that identity's name fields and says they are optional (Skip).
  6. // Signed in: the account's identities (list, new, edit, delete — never the last one)
  7. // and its time zone (the browser's at the first login; changeable here).
  8. //
  9. // Under `/signin/<rid>` the page belongs to an APP'S LOGIN BUTTON (lib/apps.hl requestOf):
  10. // it names the app, signs in to ident if needed, then asks WHICH IDENTITY the app gets
  11. // (with a single identity it still shows which one, one click) and sends the browser back
  12. // to the app with a one-time code. Managing identities stays on `/`.
  13. //
  14. // Every step takes the server's answer from the CALL (the value form of emit): it rides
  15. // the ack, over the socket or the POST fallback.
  16. parent './main.hl'
  17. import { accountOfSession, setTimeZone, signOutEverywhere } from '../lib/accounts.hl'
  18. import { recordPending, dropPending, signInWithCode } from '../lib/login.hl'
  19. import { identityRows, createIdentity, updateIdentity, deleteIdentity } from '../lib/identities.hl'
  20. import { requestOf, grantRequest } from '../lib/apps.hl'
  21. import { siteName } from '../project.hl'
  22. session = null
  23. rid = null
  24. // 'code' on THE CODE PAGE `/code` and `/signin/<rid>/code` (ident#20; lib/api.hl codePage
  25. // renders this component there, only while the session has a pending code), else null
  26. step = null
  27. onCodePage = step == 'code'
  28. // the pending address, read by codePage from the session and handed in as a param (mission
  29. // 048): read here from the session, hl:web (64527baa) would re-derive it after EVERY face
  30. // that takes the session — after the 5th wrong code it turned null and the code form
  31. // vanished with nothing to click (gate "after 5 wrong tries even the RIGHT code is refused")
  32. pending = null
  33. // where this login lives: the email form, and the code page after "Send me a code"
  34. homeUrl = rid != null ? '/signin/' + rid : '/'
  35. codeUrl = rid != null ? '/signin/' + rid + '/code' : '/code'
  36. me = accountOfSession(session)
  37. signedIn = me != null
  38. // THE APP'S LOGIN REQUEST (null on `/`, or when unknown / expired)
  39. request = rid != null ? requestOf(rid) : null
  40. forApp = request != null
  41. badRequest = rid != null && request == null
  42. appName = request != null ? request.app.name : ''
  43. appOrigin = request != null ? request.origin : ''
  44. forInvite = request != null && request.invite != ''
  45. requestLead = forInvite ? 'You are invited to ' : 'Sign in to '
  46. choosing = forApp && me != null // the identity choice for the app
  47. manage = rid == null && me != null // identities + time zone (only on `/`)
  48. meEmail = me != null ? me.email : ''
  49. timeZone = me != null ? me.timeZone : ''
  50. tzInput = timeZone
  51. identities = me != null ? identityRows(me.id) : []
  52. __title = siteName + (forApp ? ' | sign in to ' + appName : (me != null ? ' | your identities' : ' | sign in'))
  53. // the login steps (a View's `if` takes a member, so each step is one).
  54. // THE CODE STEP IS ITS OWN PAGE (ident#20, creator: "just make a /code where it checks a
  55. // pending code"): "Send me a code" records the address in this browser's session (face
  56. // rememberPending) and goes to `/code`; that page shows the code form for the session's
  57. // pending address (lib/login.hl pendingOf) — so a reload, a second tab or a re-seed keeps it.
  58. pendingEmail = onCodePage && me == null && !badRequest ? pending : null
  59. askEmail = me == null && !badRequest && !onCodePage
  60. askCode = pendingEmail != null
  61. email = ''
  62. sentTo = pendingEmail != null ? pendingEmail : ''
  63. code = ''
  64. message = ''
  65. notice = ''
  66. // THE IDENTITY FORM — new, edit, and right after the first login the default identity
  67. // ("welcome": the names are optional, Skip closes it)
  68. editing = false
  69. welcome = false
  70. notWelcome = true // `if (!welcome)` in a View renders nothing: an `if` takes a member
  71. editId = '' // '' = a new identity, else the identity's id (a UUID)
  72. editHeading = ''
  73. fIdentityName = ''
  74. fNickname = ''
  75. fFirstname = ''
  76. fLastname = ''
  77. fAvatar = ''
  78. hasAvatarPreview = false
  79. avatarPreviewClass = hasAvatarPreview ? 'avatar' : 'avatar hidden'
  80. avatarRemoveClass = hasAvatarPreview ? 'quiet small' : 'quiet small hidden'
  81. View {
  82. identCard {
  83. if (forApp) {
  84. appRequest { id = "apprequest" requestLead strong { id = "appname" appName } " " requestOrigin { id = "apporigin" appOrigin } }
  85. }
  86. if (badRequest) {
  87. h1 { "Login request expired" }
  88. p { id = "badrequest" class = "message" "This login request is unknown or expired. Go back to the app and start the login again." }
  89. }
  90. if (askEmail) {
  91. h1 { "Sign in" }
  92. p { class = "lead" "We mail you a one-time code. There are no passwords, and no sign-up: the first login with an address creates its account." }
  93. form { id = "emailform"
  94. on submit(e) {
  95. e.preventDefault()
  96. emit ask(e)
  97. }
  98. label { "Email"
  99. input { id = "email" name = "email" type = "email" autocomplete = "email" required = "required" value = email on input(e) { emit setEmail(e.target.value) } }
  100. }
  101. button { id = "sendcode" type = "submit" "Send me a code" }
  102. }
  103. }
  104. if (askCode) {
  105. h1 { "Enter your code" }
  106. p { id = "sentto" class = "lead" "We sent a six-digit code to " strong { sentTo } ". It is valid for 10 minutes." }
  107. form { id = "codeform"
  108. on submit(e) {
  109. e.preventDefault()
  110. emit verify(e)
  111. }
  112. label { "One-time code"
  113. input { id = "code" name = "code" autocomplete = "one-time-code" inputmode = "numeric" pattern = "[0-9]{6}" maxlength = "6" required = "required" value = code on input(e) { emit setCode(e.target.value) } }
  114. }
  115. formButtons {
  116. button { id = "verify" type = "submit" "Sign in" }
  117. button { id = "back" type = "button" class = "quiet" "Other address" on click(e) { emit back(e) } }
  118. }
  119. }
  120. }
  121. if (signedIn) {
  122. if (editing) {
  123. form { id = "identityform"
  124. on submit(e) {
  125. e.preventDefault()
  126. emit saveForm(e)
  127. }
  128. h1 { id = "formheading" editHeading }
  129. if (welcome) {
  130. p { id = "welcome" class = "lead" "Your account is ready and has a default identity. All of these fields are " strong { "optional" } " — fill in what you like, or skip it and do it later." }
  131. }
  132. label { "Identity name " fieldHint { "(shown when you pick an identity in an app; optional)" }
  133. input { id = "fidentityname" name = "identityName" maxlength = "60" autocomplete = "off" value = fIdentityName on input(e) { emit setF('identityName', e.target.value) } }
  134. }
  135. label { "Nickname " fieldHint { "(optional)" }
  136. input { id = "fnickname" name = "nickname" maxlength = "60" autocomplete = "nickname" value = fNickname on input(e) { emit setF('nickname', e.target.value) } }
  137. }
  138. label { "First name " fieldHint { "(optional)" }
  139. input { id = "ffirstname" name = "firstname" maxlength = "60" autocomplete = "given-name" value = fFirstname on input(e) { emit setF('firstname', e.target.value) } }
  140. }
  141. label { "Last name " fieldHint { "(optional)" }
  142. input { id = "flastname" name = "lastname" maxlength = "60" autocomplete = "family-name" value = fLastname on input(e) { emit setF('lastname', e.target.value) } }
  143. }
  144. avatarField {
  145. img { id = "avatarpreview" class = avatarPreviewClass src = fAvatar alt = "" width = "48" height = "48" }
  146. label { "Avatar " fieldHint { "(optional; a picture apps can show, e.g. next to your comments)" }
  147. input { id = "favatarfile" type = "file" accept = "image/png,image/jpeg,image/webp,image/gif" }
  148. }
  149. input { id = "favatar" name = "avatar" type = "hidden" value = fAvatar on input(e) { emit setF('avatar', e.target.value) } }
  150. button { id = "avatarremove" type = "button" class = avatarRemoveClass "Remove picture" on click(e) { emit setF('avatar', '') } }
  151. span { id = "avatarnote" class = "avatar-note" }
  152. }
  153. formButtons {
  154. button { id = "saveidentity" type = "submit" "Save" }
  155. if (welcome) { button { id = "skip" type = "button" class = "quiet" "Skip" on click(e) { emit closeForm(e) } } }
  156. if (notWelcome) { button { id = "cancel" type = "button" class = "quiet" "Cancel" on click(e) { emit closeForm(e) } } }
  157. }
  158. }
  159. }
  160. if (choosing) {
  161. section { id = "choosesection"
  162. h1 { "Choose an identity" }
  163. p { class = "lead" "Which identity signs in to " strong { appName } "? The app gets only the identity's short id — no email, no names." }
  164. ul { id = "chooselist"
  165. for (row of identities) {
  166. li { class = "choice"
  167. if (row.hasAvatar) { img { class = "avatar" src = row.avatar alt = "" width = "32" height = "32" } }
  168. identityMain {
  169. identityLabel { row.label }
  170. identityShortId { class = "shortid" row.shortId }
  171. if (row.isDefault) { defaultBadge { "default" } }
  172. identityDetails { row.details }
  173. }
  174. button { type = "button" class = "choose" value = row.id "Continue" on click(e) { emit choose(e.target.value) } }
  175. }
  176. }
  177. }
  178. }
  179. }
  180. if (manage) {
  181. section { id = "identitiessection"
  182. sectionHead {
  183. h1 { "Your identities" }
  184. button { id = "newidentity" type = "button" class = "small" "New identity" on click(e) { emit openNew(e) } }
  185. }
  186. ul { id = "identities"
  187. for (row of identities) {
  188. li { class = "identity"
  189. if (row.hasAvatar) { img { class = "avatar" src = row.avatar alt = "" width = "32" height = "32" } }
  190. identityMain {
  191. identityLabel { row.label }
  192. identityShortId { class = "shortid" row.shortId }
  193. if (row.isDefault) { defaultBadge { "default" } }
  194. identityDetails { row.details }
  195. }
  196. identityActions {
  197. a { class = "used" href = row.usedHref "Used in…" }
  198. button { type = "button" class = "quiet small edit" value = row.id "Edit" on click(e) { emit openEdit(e.target.value) } }
  199. if (row.canDelete) { button { type = "button" class = "quiet small danger delete" value = row.id "Delete" on click(e) { emit remove(e.target.value) } } }
  200. }
  201. }
  202. }
  203. }
  204. }
  205. section { id = "timezonesection"
  206. h2 { "Time zone" }
  207. p { class = "lead" "Taken from your browser at your first login. Currently " strong { id = "timezone" timeZone } "." }
  208. p { id = "digestnote" class = "lead" "Your daily mail of notifications comes at 17:00 in this time zone." }
  209. form { id = "tzform"
  210. on submit(e) {
  211. e.preventDefault()
  212. emit saveZone(e)
  213. }
  214. label { "Time zone (IANA name, e.g. Europe/Vienna)"
  215. input { id = "tzinput" name = "timeZone" autocomplete = "off" maxlength = "64" required = "required" value = tzInput on input(e) { emit setTz(e.target.value) } }
  216. }
  217. formButtons {
  218. button { id = "savetz" type = "submit" "Save time zone" }
  219. button { id = "browsertz" type = "button" class = "quiet" "Use this browser's" on click(e) { emit useBrowserZone(e) } }
  220. }
  221. }
  222. }
  223. }
  224. }
  225. p { id = "notice" class = "notice" notice }
  226. p { id = "message" class = "message" message }
  227. }
  228. }
  229. on setEmail(v) { email = v }
  230. on setCode(v) { code = v }
  231. on setTz(v) { tzInput = v }
  232. on setF(name, v) {
  233. if (name == 'identityName') { fIdentityName = v }
  234. if (name == 'nickname') { fNickname = v }
  235. if (name == 'firstname') { fFirstname = v }
  236. if (name == 'lastname') { fLastname = v }
  237. if (name == 'avatar') { fAvatar = v hasAvatarPreview = v.trim() != '' }
  238. }
  239. // the browser's own time zone (IANA name) and whether a name is one it knows (`Intl` is a
  240. // browser global of client code, hybriel#18)
  241. browserZone = () => { return Intl.DateTimeFormat().resolvedOptions().timeZone }
  242. knownZone = (v) => { return v == 'UTC' || Intl.supportedValuesOf('timeZone').includes(v) }
  243. // THE CODE REQUEST is a plain POST to /api/code (lib/api.hl), not a face: only an HTTP
  244. // request carries the client IP (X-Client-IP) the per-IP limit counts (mission 010).
  245. // A refusal (400, 429) answers { error } and is shown like every other message.
  246. on ask(e) {
  247. message = ''
  248. res = fetch('/api/code', { method = 'POST' headers = { 'Content-Type' = 'application/json' } body = JSON.stringify({ email = email }) })
  249. r = res != null ? res.json() : null
  250. if (r == null) {
  251. message = 'the server did not answer — try again'
  252. return null
  253. }
  254. if (r.error != null) {
  255. message = r.error
  256. return null
  257. }
  258. // THE SESSION REMEMBERS THE STEP, then the browser goes to the code page. A function
  259. // route gets no session (hybriel#11), so the face records it; it refuses unless a
  260. // code for the address is really waiting.
  261. k = emit server rememberPending(r.email)
  262. if (k == null) {
  263. message = 'the server did not answer — try again'
  264. return null
  265. }
  266. if (k.error != null) {
  267. message = k.error
  268. return null
  269. }
  270. window.location.assign(codeUrl)
  271. }
  272. on verify(e) {
  273. message = ''
  274. r = emit server verifyCode(sentTo, code, browserZone())
  275. if (r == null) {
  276. message = 'the server did not answer — try again'
  277. return null
  278. }
  279. if (r.error != null) {
  280. message = r.error
  281. return null
  282. }
  283. askCode = false
  284. // signed in: the address bar leaves the code page (a reload of /code would go back
  285. // to it anyway — lib/api.hl codePage sends a signed-in browser there)
  286. window.history.replaceState(null, '', homeUrl)
  287. meEmail = r.account.email
  288. timeZone = r.account.timeZone
  289. tzInput = r.account.timeZone
  290. identities = r.identities
  291. signedIn = true
  292. notice = ''
  293. manage = !forApp
  294. choosing = forApp
  295. // the shell (components/main.hl) shows the user menu from the account: a page's emit reaches every level above it
  296. // (hybriel#193), so the header follows the in-place sign-in without a reload — the welcome form below stays in place
  297. emit shellSession(r.account.email)
  298. // THE FIRST LOGIN: the default identity's names, optional (for an app too: the
  299. // choice follows once the form is saved or skipped)
  300. if (r.created) {
  301. fillForm(r.identities[0])
  302. editHeading = 'Welcome — name your default identity'
  303. welcome = true
  304. notWelcome = false
  305. editing = true
  306. choosing = false
  307. }
  308. }
  309. // THE CHOICE: the server makes (or finds) this identity's id for the app and answers
  310. // the app's return URL with a one-time code — the browser goes there
  311. on choose(id) {
  312. message = ''
  313. notice = ''
  314. r = emit server chooseIdentity(rid, '' + id)
  315. if (r == null) {
  316. message = 'the server did not answer — try again'
  317. return null
  318. }
  319. if (r.error != null) {
  320. message = r.error
  321. return null
  322. }
  323. notice = 'Back to ' + appName + ' …'
  324. window.location.assign(r.url)
  325. }
  326. fillForm = (row) => {
  327. editId = row.id
  328. fIdentityName = row.identityName
  329. fNickname = row.nickname
  330. fFirstname = row.firstname
  331. fLastname = row.lastname
  332. fAvatar = row.avatar
  333. hasAvatarPreview = row.hasAvatar
  334. return null
  335. }
  336. rowOf = (id) => {
  337. for (row of identities) { if ('' + row.id == '' + id) { return row } }
  338. return null
  339. }
  340. on openNew(e) {
  341. message = ''
  342. notice = ''
  343. editId = ''
  344. fIdentityName = ''
  345. fNickname = ''
  346. fFirstname = ''
  347. fLastname = ''
  348. fAvatar = ''
  349. hasAvatarPreview = false
  350. editHeading = 'New identity'
  351. welcome = false
  352. notWelcome = true
  353. editing = true
  354. }
  355. on openEdit(id) {
  356. message = ''
  357. notice = ''
  358. row = rowOf(id)
  359. if (row == null) { return null }
  360. fillForm(row)
  361. editHeading = 'Edit ' + row.label
  362. welcome = false
  363. notWelcome = true
  364. editing = true
  365. }
  366. on closeForm(e) {
  367. editing = false
  368. welcome = false
  369. notWelcome = true
  370. message = ''
  371. choosing = forApp
  372. }
  373. on saveForm(e) {
  374. message = ''
  375. fields = { identityName = fIdentityName nickname = fNickname firstname = fFirstname lastname = fLastname avatar = fAvatar }
  376. let r = null
  377. if (editId == '') {
  378. r = emit server addIdentity(fields)
  379. } else {
  380. r = emit server editIdentity('' + editId, fields)
  381. }
  382. if (r == null) {
  383. message = 'the server did not answer — try again'
  384. return null
  385. }
  386. if (r.error != null) {
  387. message = r.error
  388. return null
  389. }
  390. identities = r.identities
  391. notice = editId == '' ? 'Identity created.' : 'Identity saved.'
  392. editing = false
  393. welcome = false
  394. notWelcome = true
  395. choosing = forApp
  396. }
  397. on remove(id) {
  398. message = ''
  399. notice = ''
  400. row = rowOf(id)
  401. if (row == null) { return null }
  402. if (!confirm('Delete the identity “' + row.label + '”?')) { return null }
  403. r = emit server dropIdentity('' + id)
  404. if (r == null) {
  405. message = 'the server did not answer — try again'
  406. return null
  407. }
  408. if (r.error != null) {
  409. message = r.error
  410. return null
  411. }
  412. identities = r.identities
  413. if ('' + editId == '' + id) { editing = false }
  414. notice = 'Identity deleted.'
  415. }
  416. on useBrowserZone(e) { tzInput = browserZone() }
  417. on saveZone(e) {
  418. message = ''
  419. notice = ''
  420. v = tzInput.trim()
  421. if (!knownZone(v)) {
  422. message = 'this browser does not know the time zone “' + v + '”'
  423. return null
  424. }
  425. r = emit server changeTimeZone(v)
  426. if (r == null) {
  427. message = 'the server did not answer — try again'
  428. return null
  429. }
  430. if (r.error != null) {
  431. message = r.error
  432. return null
  433. }
  434. timeZone = r.timeZone
  435. tzInput = r.timeZone
  436. notice = 'Time zone saved.'
  437. }
  438. // "Other address": the session forgets the pending sign-in, back to the email form
  439. on back(e) {
  440. message = ''
  441. r = emit server forgetPending()
  442. window.location.assign(homeUrl)
  443. }
  444. // ---- the faces ------------------------------------------------------------------------
  445. // A face's LAST parameter is the session (the framework appends it). Every face that
  446. // needs the account asks accountOfSession, which only accepts the framework's Session.
  447. // A face runs on a BLANK instance: it has its arguments and its imports, not this
  448. // component's members or functions.
  449. // (the code request is NOT a face since mission 010: POST /api/code in lib/api.hl — a face
  450. // sees no request headers, so it could not apply the per-IP limit; a face here would be a
  451. // way around it)
  452. // the right code signs the session in; the first one for an address creates the
  453. // account, its default identity and stores the browser's time zone
  454. on server verifyCode(email, code, timeZone, session) {
  455. if (session == null) { return { error = 'no session — reload the page' } }
  456. if (email == null || hlTypeName(email) != 'String' || code == null || hlTypeName(code) != 'String') { return { error = 'email and code must be strings' } }
  457. return signInWithCode(session, email, code, timeZone)
  458. }
  459. on server addIdentity(fields, session) {
  460. let me = accountOfSession(session)
  461. if (me == null) { return { error = 'you are not signed in' } }
  462. r = createIdentity(me.id, fields)
  463. if (r.error != null) { return r }
  464. return { identity = r.identity identities = identityRows(me.id) }
  465. }
  466. on server editIdentity(id, fields, session) {
  467. let me = accountOfSession(session)
  468. if (me == null) { return { error = 'you are not signed in' } }
  469. r = updateIdentity(me.id, id, fields)
  470. if (r.error != null) { return r }
  471. return { identity = r.identity identities = identityRows(me.id) }
  472. }
  473. on server dropIdentity(id, session) {
  474. let me = accountOfSession(session)
  475. if (me == null) { return { error = 'you are not signed in' } }
  476. r = deleteIdentity(me.id, id)
  477. if (r.error != null) { return r }
  478. return { deleted = r.deleted identities = identityRows(me.id) }
  479. }
  480. on server changeTimeZone(tz, session) {
  481. let me = accountOfSession(session)
  482. if (me == null) { return { error = 'you are not signed in' } }
  483. r = setTimeZone(me.id, tz)
  484. if (r.error != null) { return r }
  485. return { timeZone = r.account.timeZone }
  486. }
  487. // the identity for the app's login request (lib/apps.hl grantRequest: a plain login, or an invite's): { url } or { error }
  488. on server chooseIdentity(rid, identity, session) {
  489. let me = accountOfSession(session)
  490. if (me == null) { return { error = 'you are not signed in' } }
  491. if (rid == null || hlTypeName(rid) != 'String') { return { error = 'field rid must be a string' } }
  492. if (identity == null || hlTypeName(identity) != 'String') { return { error = 'field identity must be a string' } }
  493. return grantRequest(me.id, rid, identity)
  494. }
  495. // THE PENDING SIGN-IN (ident#20): recorded after POST /api/code answered, only while a
  496. // code for that address is really waiting (lib/login.hl recordPending); "Other address"
  497. // forgets it. Named apart from the store functions (faces dispatch by name, hybriel#36).
  498. on server rememberPending(email, session) {
  499. return recordPending(session, email)
  500. }
  501. on server forgetPending(session) {
  502. return dropPending(session)
  503. }
  504. on server signOut(session) {
  505. if (session != null) { session.user = null }
  506. return true
  507. }
  508. on server signOutAll(session) {
  509. let me = accountOfSession(session)
  510. if (me == null) { return { error = 'you are not signed in' } }
  511. // pushed BEFORE the sessions go: the audience reads each connection's session user
  512. emit client signedOutAll(me.id)
  513. // THIS browser's own session stays (signed out, like "Sign out"): the page goes on in place — its notice shows and the
  514. // next code request works without a reload; every OTHER session of the account is dropped
  515. session.user = null
  516. return signOutEverywhere(me.id)
  517. }

Branches

Latest commits

  • 45f7e4daident: the user menu's Sign out waits for the server before it reloads (the apps gate failed because the session could still be signed in)mre
  • f07658c7ident: home page shows the account once (account bar removed, the user menu carries email, Sign out, Sign out everywhere); wildcard origins https://*.domain for apps on many subdomains; gates follow (WIP: gates not re-run after the last edits)mre
  • f2c43bbbtheme: sync from layouts 4994037 (list rows stack, td word-keep, heading code, edited tap target)mre
  • 6d4f996esessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
  • 029eb5e5deploy: security gate (tests/security.mjs)mre
  • d3c065a8security audit (SI): uploadMax 0, Secure __Host- cookie behind https, headers on function routes/files, page CSP+referrer meta, app/identity caps, tests/security.mjs, reportmre
  • 5561a0cbreport I4-mobilemre
  • 4ca2ed20404 page in the shell (viewport, status 404, way home); phone: account actions live in the user menu so the open menu covers nothing; mobile gate; signoutall waits for a cold startmre
  • 9baad745tests: browser gate waits for the reloaded document (offline reload race under CPU throttle); HL_CPU_THROTTLE knobmre
  • b96796bdtests: wait for hydration before real clicks after a navigation (H2)mre
  • 9722964fre-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
  • c9b196c9tests/iplimit: wait for the welcome form itself after B's first login (identities list renders before it); mission 017 reportmre
  • 72e0f587ident#26: identity page with "Used in" (app, since, last use, Notif. chip, empty state); lastLogin recorded at exchange; gates + lisbeth E2E; mission 016 reportmre
  • 94576fbcident#26 WIP: identity page /identity/:iid with "Used in" (app, since, last use, Notif. chip), lastLogin recorded at exchange, "Used in…" link on the identities list; apps gate 4b, e2e-usedin.mjsmre
  • 349cb502tests/invites: wait for hydration on the code page before entering the code (native GET submit raced the welcome form); mission 015 reportmre
  • d1bf4720tests: no hard-coded ports — every gate's ports and fixture origins come from <GATE>_PORT / _CHROME env (defaults unchanged; Bob/fixture origins follow, selector cookie name too)mre
  • 6280c92fre-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
  • 147744bftests/migration: the fixture app origin follows MIGRATION_GATE_TESTAPP_PORT (oldstore-009 OLD_TESTAPP)mre
  • 48cd36bctests/migration: ports from env (MIGRATION_GATE_PORT, MIGRATION_GATE_TESTAPP_PORT); 8395/8396 were taken by a foreign servermre
  • 3d9b2fd8docker-compose: nofile 65536 (Hybriel int 6+ boot opened >1024 files in the tracker)mre