Sign up from the login page #164

Merged
littlefox merged 3 commits from issue-152-signup into main 2026-10-19 14:18:46 +00:00
Owner

Closes #152

  • 'Ny här? Skapa ett konto' on the login page switches to a sign-up form: name (with a hint), password and password again (new-password), and a note not to reuse the password, since the server may have no TLS.
  • Checks before sending: the name and password are filled in and the passwords match.
  • It connects the same way as logging in (TLS dialog, relay refusals), then create-person (89), then a normal login. Call 89 doesn't log in by itself.
  • Errors in plain words: name taken, name not accepted, too long, password not accepted, and the server not allowing it.
  • session::create_person in kom-client.

Not done here: the 'write a presentation' step, which fits with profiles (#151), and joining recommended channels (#150), which comes with the channel directory.

Verified:

  • new signup.spec on desktop, Android and iPhone: the mismatch is caught, a taken name is refused, the account is created and logged in, then logs in again after logout;
  • the remember, tls, relay and _visual specs;
  • screenshots checked; clippy desktop, web and wasm.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8

Closes #152 - 'Ny här? Skapa ett konto' on the login page switches to a sign-up form: name (with a hint), password and password again (new-password), and a note not to reuse the password, since the server may have no TLS. - Checks before sending: the name and password are filled in and the passwords match. - It connects the same way as logging in (TLS dialog, relay refusals), then create-person (89), then a normal login. Call 89 doesn't log in by itself. - Errors in plain words: name taken, name not accepted, too long, password not accepted, and the server not allowing it. - `session::create_person` in kom-client. Not done here: the 'write a presentation' step, which fits with profiles (#151), and joining recommended channels (#150), which comes with the channel directory. Verified: - new signup.spec on desktop, Android and iPhone: the mismatch is caught, a taken name is refused, the account is created and logged in, then logs in again after logout; - the remember, tls, relay and _visual specs; - screenshots checked; clippy desktop, web and wasm. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
Sign up from the login page
Some checks are pending
ci / check (push) Has started running
ci / e2e (push) Has started running
ci / desktop (push) Has started running
b90242e66f
D-046: kom.lysator.liu.se accepts new accounts. 'Ny här? Skapa ett
konto' turns the form into one for a new account (name, password twice),
connects the usual way, creates the person and logs in with it. Refusals
are said plainly.

Refs #152

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
Login: take the server from the form too
Some checks are pending
ci / e2e (push) Has started running
ci / check (push) Successful in 8m29s
ci / desktop (push) Successful in 12m56s
d84d731852
relay.spec once logged in through the default relay on iPhone: the
server typed before the field's input listener was attached was missed.
Submit now reads the server from the form like the name and password.

Refs #152

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
Merge origin/main into issue-152-signup
All checks were successful
ci / check (push) Successful in 10m1s
ci / desktop (push) Successful in 16m42s
ci / e2e (push) Successful in 28m30s
72d116dd97
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
littlefox referenced this pull request from a commit 2026-10-19 21:34:01 +00:00
Sign in to join this conversation.
No description provided.