Commit Graph
12 Commits
Author SHA1 Message Date
isaaccladandClaude Opus 4.8 28b4430c58 Terminal: replace macOS traffic-light dots with a 'Terminal' label
Deploy Ladill Hosting / deploy (push) Successful in 1m42s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 07:32:49 +00:00
isaaccladandClaude Opus 4.8 d54ae879b6 Jailed terminal: per-session passwd so customers can't enumerate tenants
Deploy Ladill Hosting / deploy (push) Successful in 39s
The jail's /etc/passwd listed every hosting username (no passwords — shadow isn't
in the jail — but it enumerated tenants). The launcher now binds a per-session
/etc/passwd|group (root + the current user only) inside each session's mount
namespace, and the shared jail passwd no longer carries hosting users.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 07:22:47 +00:00
isaaccladandClaude Opus 4.8 f7bba4d453 Jailed terminal: per-session tmpfs /home so users see only their own folder
Deploy Ladill Hosting / deploy (push) Successful in 1m41s
Inside the jail, 'cd ..' from the home landed in a non-listable /home (Permission
denied). Mount a per-session tmpfs over the jail's /home containing only the
user's own directory, so 'ls /home' shows just their folder — no other tenants
leaked, confinement unchanged. (Live host launcher already updated.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 06:58:29 +00:00
isaaccladandClaude Opus 4.8 18d1e735d8 Jail the remote (SSH) terminal path too, not just local
Deploy Ladill Hosting / deploy (push) Successful in 33s
Accounts whose node has an ssh_private_key take the remote branch, which still
launched an unjailed 'runuser' shell — leaving the breach open. Route it through
the same jailkit launcher (no sudo; provider connects as root). Now every
terminal session is chrooted to the customer's own home.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 23:55:22 +00:00
isaaccladandClaude Opus 4.8 2a1228b40e Jail the control-panel terminal to the customer's home (chroot)
Deploy Ladill Hosting / deploy (push) Successful in 45s
SECURITY: the browser terminal ran an unconfined login shell as the account's
system user, so customers could browse the whole host (/var/www, other tenants,
/etc). Run it inside a jailkit chroot instead: a vetted, sudo-scoped launcher
(/usr/local/sbin/ladill-jailsh) enters a private mount namespace, bind-mounts
ONLY that user's home into /home/jail, and chroots as the user. They can no
longer see anything outside their own home. Provisioning committed in
deployment/ (setup-terminal-jail.sh + ladill-jailsh) so it is reproducible.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 23:41:18 +00:00
isaaccladandClaude Opus 4.8 e86f95ddc7 Commit the control-panel terminal frontend (xterm) so clean builds keep it
Deploy Ladill Hosting / deploy (push) Successful in 1m21s
The terminal Alpine component + xterm/xterm-addon-fit only ever existed in an
out-of-band build; committed source never had them, so clean CI rebuilds shipped
a bundle WITHOUT the terminal (blank panel). Add resources/js/hosting-terminal.js
(window.hostingInteractiveTerminal, recovered from the last working build), import
it from app.js, and add xterm deps to package.json/lock. Verified: a clean
'npm ci && vite build' now includes the component + xterm.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 23:00:02 +00:00
isaaccladandClaude Opus 4.8 ff3959b734 Fix browser terminal falsely reporting 'failed to start'
Deploy Ladill Hosting / deploy (push) Successful in 1m15s
createSession only waited 2.5s for the worker to flip starting->running, but
the worker cold-boots the framework (php artisan) + opens the shell, which under
load exceeds that. On timeout it also overwrote the (healthy) worker's metadata
to status=failed, so customers saw 'Terminal worker failed to start' even though
the shell was live. Wait up to 8s and return early once status is known; never
fabricate a failure — the worker records real boot errors itself.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 22:09:45 +00:00
isaaccladandClaude Opus 4.8 7e5ca3dce4 Surface connected domains in Ladill Domains' My Domains
Deploy Ladill Hosting / deploy (push) Successful in 58s
Push the customer's connected domain to the central connected-domains registry
so it appears under My Domains (with Transfer in if not registered with Ladill).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 20:17:17 +00:00
isaaccladandClaude Opus 4.8 091a8efd85 Register issued certs with Ladill Domains central SSL registry
Deploy Ladill Hosting / deploy (push) Successful in 51s
After provisioning a site cert on its node, report it to Domains' central SSL
registry (best-effort, non-blocking) so Domains tracks every platform cert.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 18:47:33 +00:00
0961a00e1f Add Accounting to the app launcher
Deploy Ladill Hosting / deploy (push) Successful in 48s
Ladill Accounting is now live at accounting.ladill.com; add its row + icon to
the shared app launcher (byte-identical across all Ladill apps).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 13:48:36 +00:00
isaaccladandClaude Opus 4.8 77a048921c Add branded boot splash (Ladill Mail style) on app pages
Deploy Ladill Hosting / deploy (push) Successful in 31s
InjectBootSplash middleware shows a self-branded loading splash once per session
while the app boots, then fades out.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 22:11:39 +00:00
isaaccladandClaude Opus 4.8 98dfa56b22 Update POS launcher icon (app launcher + marketing)
Deploy Ladill Hosting / deploy (push) Successful in 31s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 07:45:23 +00:00