Commit Graph
7 Commits
Author SHA1 Message Date
Pascal SuterandClaude Opus 5.5 ba3b6a30c6 4.1.0: paste pictures from the clipboard
Pasting an image (e.g. a screenshot) opens a preview with Send/Cancel
before anything is sent. Pasted pictures keep up to 1600 px / ~300 kB so
text in screenshots stays readable. Clipboard contents with text (office
apps put a picture of the text alongside) still paste as text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 05:05:13 +01:00
Pascal SuterandClaude Opus 5.5 907a54eb57 4.0.1: serve the chat through nginx on GL.iNet, https://<name>/ support
- GL.iNet: nginx terminates https with the web admin's certificate and
  serves static files (conf.d/zz-cabinchat.conf, after gl.conf so the
  admin stays nginx's default server); /cgi-bin/ goes to uhttpd on
  127.0.0.1 (fcgiwrap is shared with the admin and runs only 4 scripts)
- --name <host>: also serve https://<host>/ on port 443 plus an http
  redirect, add the name to dnsmasq; guessed from dnsmasq entries that
  contain "chat" and match the certificate; server_name as regex since
  GL's server_names_hash_bucket_size is too small
- config checked with nginx -t, falls back to uhttpd; kept on firmware
  updates via /etc/sysupgrade.conf
- fix: TLS detection failed when /usr/lib/libustream-ssl.so is missing
- fix: previous version read from the wrong place ("upgrading 1.x")
- fix: photos of expired messages and deleted accounts were never
  removed (file name check rejected ".jpg")

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 17:49:56 +01:00
Pascal SuterandClaude Opus 5.5 8928ae7077 installer: find a CA-signed nginx certificate, don't get stuck on http
- an upgrade only stays on http if --http was given explicitly (marker
  file data/http-only); before, a 4.0 install that had fallen back to
  http never switched to https
- look for certificates in all nginx config files and prefer a CA-signed
  one (chain file or issuer != subject) over the self-signed default
- hint how to install libustream-openssl when uhttpd lacks TLS

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 15:37:07 +01:00
Pascal SuterandClaude Opus 5.5 1459b3228d Cabin Chat 4.0: accounts, https, PWA, mentions, notifications
- accounts with name + password (salted sha256), one account on several
  devices at once, profile menu: change password, profile picture,
  link another device (QR code + one-time link), logout, delete account
- @mentions with picker and highlighting
- https by default with the router web admin's certificate; --http,
  --cert/--key installer options
- logo/favicon, app manifest, service worker (installable PWA)
- browser notifications via the service worker, no internet needed
- devserver: https option, ignore connections reset by the browser

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 15:28:11 +01:00
Pascal SuterandClaude Opus 5.5 863d30eeba Add curl one-liner install and rebuild-before-commit note
README: install straight from git with curl | sh, and a reminder to
rebuild dist/install-cabinchat.sh before every commit. Installer: usage
text no longer depends on reading its own file, so --help works when
piped into sh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 11:32:53 +01:00
Pascal SuterandClaude Opus 5.5 7e8d07e6c1 Add cabinchat: web chat for OpenWrt travel routers
Web app, uhttpd shell CGI backend, installer, build script and dev
server. README merged with the repository's project description.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 11:28:27 +01:00
psuter 65fec81a01 Initial commit 2026-11-16 10:22:54 +00:00