Skip to content

Add room crypto and polished LangJam chat UI - #16

Closed
Magmucot wants to merge 5 commits into
mainfrom
feature/chat-encrypt-ui
Closed

Magmucot wants to merge 5 commits into
mainfrom
feature/chat-encrypt-ui

Conversation

@Magmucot

@Magmucot Magmucot commented Jul 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Optional room password: AUTH handshake, client-side byte-stream encryption (#E# + hex), history stores wire form.
  • Client UI: ASCII banner, colors, single-line > prompt, no mid-prompt smash; suppress own live echo; re-prompt Name: after errors (empty/taken).
  • Server: broadcast only to named clients (no pre-registration double history); styled startup banner and log colors.
  • Docs and dual-mode langjam_chat smoke (plaintext, crypto, UI, empty-name retry, no pre-reg broadcast).

Test plan

  • python3 tests/chat_smoke.py --executable ./build/Chompo --server langjam/Chompo/chat_server.chmp --client langjam/Chompo/chat_client.chmp
  • ctest --test-dir build -R langjam_chat --output-on-failure
  • Manual: server with password + two clients; empty name retry; own message not double-printed

Introduce optional room password AUTH with client-side message encryption,
styled client/server banners, prompt lifecycle fixes, empty-name retry, and
broadcast/own-echo dedup, with expanded langjam_chat smoke coverage.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Magmucot added a commit that referenced this pull request Jul 19, 2026
Port rooms/history, ban/whitelist, roles and local mute from PR #16
onto the PR #17 secure transport. Add client name state machine,
identifier sanitization, and explicit --plaintext transport mode.
Magmucot added a commit that referenced this pull request Jul 19, 2026
Port map support from PR #16: Map{} literals, Map()/Map(factory),
key membership via 'in', subscript get/set, len, and removeKey.
Magmucot added a commit that referenced this pull request Jul 19, 2026
Expose Array{hour, minute, second} from the system clock for chat
timestamps and other script use (ported from PR #16).
@Magmucot Magmucot closed this Jul 20, 2026
@Magmucot

Copy link
Copy Markdown
Collaborator Author

все уже сделано и код уже в проекте

@Bony-Lord
Bony-Lord deleted the feature/chat-encrypt-ui branch July 20, 2026 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants