Commit Graph
48 Commits
Author SHA1 Message Date
isaaccladandCursor a3ba2ac45b Fix browser terminal paste for hosting clients.
Deploy Ladill Hosting / deploy (push) Successful in 42s
Use bracketed paste, reliably bind paste capture, stop blocking mousedown focus, and give shells a short prompt with horizontal-scroll readline so long pasted commands do not wrap incorrectly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 18:02:02 +00:00
isaaccladandCursor 335c0fea61 Do not request www aliases when issuing SSL for subdomain sites.
Deploy Ladill Hosting / deploy (push) Successful in 41s
Certbot was including www.data.example.com for managed DNS subdomains, which NXDOMAIN and failed the whole certificate.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 17:18:27 +00:00
isaaccladandCursor ebacc3e409 Set HostingAccount expires_at when provisioning from a customer order.
Deploy Ladill Hosting / deploy (push) Successful in 37s
Order expiry was stored on CustomerHostingOrder only, so the accounts list showed a dash.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 17:14:11 +00:00
isaaccladandCursor b7f320ca30 Hide fulfilled pending-setup orders from the customer hosting list.
Deploy Ladill Hosting / deploy (push) Successful in 45s
Sales Centre left Active CustomerHostingOrder rows with pending-setup.local alongside real HostingAccounts, so customers saw two hostings.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 17:10:49 +00:00
isaaccladandCursor 40d3dc0fbe Provision PowerDNS zones immediately on domain link and add ensure-zone command.
Deploy Ladill Hosting / deploy (push) Successful in 40s
Async-only zone jobs left Ladill NS returning REFUSED for new domains, which surfaces as Let's Encrypt SERVFAIL during SSL issuance.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 16:56:28 +00:00
isaaccladandCursor 136cf8b719 Fix subdomain DNS messaging for Ladill nameservers and retire pending-setup primaries.
Deploy Ladill Hosting / deploy (push) Successful in 47s
Treat ns_auto domains as managed DNS, publish subdomain A records via PowerDNS without failing the UX when the local DNS registry is missing, and promote real linked domains over pending-setup.local placeholders.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 16:47:50 +00:00
isaaccladandCursor 460edb8719 Add first-class hosting subdomain create/attach in Domains panel.
Deploy Ladill Hosting / deploy (push) Successful in 1m9s
Customers can create label-based subdomains under primary/addon sites with a separate max_domains×5 quota, nginx/docroot/SSL provisioning, and managed DNS A records when Ladill controls the parent zone.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 12:08:41 +00:00
isaaccladandCursor e48d7bbd42 Add page heroes to single, multi, and WordPress hosting pages.
Deploy Ladill Hosting / deploy (push) Successful in 30s
Surface account counts, status breakdown, and available plans in heroes consistent with Ladill Servers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 16:59:13 +00:00
isaaccladandCursor 2c9877a87c Add platform admin hosting API for Ladill account provisioning.
Deploy Ladill Hosting / deploy (push) Successful in 1m29s
Expose authenticated service endpoints for assigning, listing, renewing, and managing hosting accounts from the platform, with tests and deploy docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 22:54:00 +00:00
isaaccladandCursor 3ca402fa25 Throttle platform SSO session checks to cut per-request auth latency.
Deploy Ladill Hosting / deploy (push) Successful in 1m35s
Verify auth.ladill.com at most once every 90s; recommend Redis for session/cache in .env.example.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 16:51:43 +00:00
isaaccladandCursor a8910507da Hide header avatar on mobile and sync shared mobile nav partials.
Deploy Ladill Hosting / deploy (push) Successful in 33s
Profile moves to the bottom nav sheet on small screens; optional search tab
support is synced from the Ladill platform template.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 12:04:33 +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 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
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
isaaccladandCursor 5a54477128 Deliver hosting resource limit alerts in-app only.
Deploy Ladill Hosting / deploy (push) Successful in 31s
Stop emailing users when their servers hit usage limits; keep database notifications for the in-app bell.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-23 19:28:59 +00:00
isaaccladandClaude Opus 4.8 739043755f Add wallet balance widget to the profile menu (after Billing)
Deploy Ladill Hosting / deploy (push) Successful in 28s
Wallet balance peek rendered as a menu row directly under Billing, backed by
a /wallet/balance endpoint (BillingClient) and guarded by Route::has. Also
opens Afia via a direct window event for reliability.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 12:25:46 +00:00
isaaccladandCursor e6c2ebeee0 Bind app sessions to the platform auth session.
Deploy Ladill Hosting / deploy (push) Successful in 27s
Clear local sessions when auth.ladill.com signs out and ping the platform session from keepalive.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-20 08:26:30 +00:00
isaaccladandCursor 3ac89593fc Merge platform registry into owned-domain picker lookups.
Deploy Ladill Hosting / deploy (push) Successful in 29s
Fetch owned domains from both domains.ladill.com and the platform registry so legacy customer domains populate the Ladill picker.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 18:17:03 +00:00
isaaccladandCursor 537e34cbd7 Wire Ladill domain picker and purchase modal into hosting flows.
Deploy Ladill Hosting / deploy (push) Successful in 51s
Use the Domains API for owned domains across panel, account, and order forms, with an embedded iframe purchase modal instead of redirecting to domains.ladill.com.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 18:01:23 +00:00
isaaccladandCursor e17cada9b6 Hide the current page link in the unified profile dropdown.
Deploy Ladill Hosting / deploy (push) Successful in 49s
Skip Home, account, and admin menu items when the user is already on that destination.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 10:16:08 +00:00
isaaccladandCursor 53f38ba794 Unify logged-in profile dropdown with platform account menu.
Deploy Ladill Hosting / deploy (push) Successful in 46s
Wire UserProfileMenu and shared Blade partial into topbar, mobile nav, and layouts so menu items match the account portal (Ladill Mail excluded).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 09:33:27 +00:00
isaaccladandClaude Opus 4.8 f206f9bef5 Strip hosting Team & Developers pages; point to central account hub
Deploy Ladill Hosting / deploy (push) Successful in 50s
Team and developer-token management now live on account.ladill.com. Remove the
local account.team* and account.developers* routes, the DeveloperController, and
the (empty) hosting Team/Developers pages; repoint the sidebar Team link to
ladill_account_url('/account/team'). The acting-account switcher (account.switch)
stays — it is load-bearing for multi-account access. Hosting developer-access
authz is already centralized via the identity API (shadow-verified + flipped).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 23:58:52 +00:00
isaaccladandClaude Opus 4.8 107013bd04 Hosting dev-access: resolve via central identity API (shadow mode)
Deploy Ladill Hosting / deploy (push) Successful in 23s
Consolidate the inline HostingAccountMember lookups (Overview/Search/Hosting
Product/Afia controllers) into HostingAccessResolver, which can source hosting
developer-access from the monolith's central /identity/hosting/developer-access
(correlating cPanel usernames to local account ids). Shadow mode by default
(HOSTING_CENTRAL_DEV_ACCESS=false): local hosting_account_members stays
authoritative and divergence from central is logged; flip the flag to cut over.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 23:42:08 +00:00
isaaccladandCursor 5e4109384e Fix hosting profile dropdown and align menu with platform.
Deploy Ladill Hosting / deploy (push) Successful in 29s
Add home.ladill.com helper, repair click-outside handling on topbar menus, and expand profile links on desktop and mobile.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-18 20:40:43 +00:00
isaaccladandCursor 05466b6868 Fix SSO callback 500 on cross-app redirects.
Deploy Ladill Hosting / deploy (push) Successful in 1m21s
Use HostingTeamMember instead of the missing QrTeamMember class so the first login callback completes without error.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-18 14:33:44 +00:00
isaaccladandCursor 8d076d9fe0 Send SSO guests to ladill.com/products/hosting instead of subdomain landings.
Deploy Ladill Hosting / deploy (push) Successful in 36s
Remove interactive OAuth fallback on silent SSO failure and add ladill.marketing_url config so app subdomains open the dashboard when signed in locally.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 22:22:23 +00:00
isaaccladandClaude Opus 4.8 a67648e0d3 Per-app logout keeps platform SSO session (quick password-less re-entry).
Deploy Ladill Hosting / deploy (push) Successful in 49s
Local-only sign-out: end this app's session but leave the auth.ladill.com
session intact, so the signed-out page's Sign in again re-auths silently via
prompt=none. Full sign-out of all Ladill apps remains on account.ladill.com.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 11:23:47 +00:00
isaaccladandCursor fabfd18a3c Fix SSO popup callback infinite loop and post-login 500.
Deploy Ladill Hosting / deploy (push) Successful in 1m3s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-09 20:21:47 +00:00
isaaccladandCursor fedd01cdde Keep the app subdomain visible during Ladill SSO login and logout.
Deploy Ladill Hosting / deploy (push) Successful in 34s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-09 12:15:37 +00:00
isaaccladandCursor e40f1d997d Show only Ladill app names in the mobile header.
Deploy Ladill Hosting / deploy (push) Successful in 29s
Remove route-based page titles and the uppercase subtitle line so mobile
headers display a single title like Ladill Bird.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-07 16:44:11 +00:00
isaaccladandCursor d3a379d5bc Add mobile topbar titles and show Afia on all mobile headers.
Deploy Ladill Hosting / deploy (push) Successful in 26s
Route-based subtitle and page titles replace plain app labels in mobile topbars, and the Afia AI button is visible on mobile across topbars and mobile-page-header screens.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-07 16:30:31 +00:00
isaaccladandCursor b7b9e5ef05 Add a mobile search page for Hosting.
Deploy Ladill Hosting / deploy (push) Successful in 27s
Return an HTML search screen from /search for browser visits and point the bottom nav Search tab at it instead of the dashboard.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-07 15:38:29 +00:00
isaaccladandCursor e3fd235139 Unify SSO and surface legacy ResellerClub hosting orders on the dashboard.
Deploy Ladill Hosting / deploy (push) Successful in 26s
Add silent OAuth and session keepalive, and show imported RC orders alongside
native hosting accounts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-07 06:33:16 +00:00
isaaccladandCursor d532f5b206 Fix legacy RC hosting orders not appearing after app extraction.
Deploy Ladill Hosting / deploy (push) Successful in 23s
Import RC service orders in hosting:import, map platform_id on legacy models, and wire legacy order manage links to hosting.legacy.show.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 20:31:29 +00:00
isaaccladandCursor 7fca4a351a Add per-app notifications and enforce hosting brand assets.
Deploy Ladill Hosting / deploy (push) Successful in 24s
Wire local notification inbox in the topbar, sync ladillhosting logo and hosting launcher icon, and fix signed-out page branding.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 18:27:39 +00:00
isaaccladandCursor a0bcf93e53 Add live topbar search for hosting accounts and sites.
Deploy Ladill Hosting / deploy (push) Successful in 20s
Wire a JSON /search endpoint and Alpine dropdown so customers can find accounts, linked domains, and orders from the hosting app header.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 18:06:58 +00:00
isaaccladandCursor 5703a00862 Show linked domains on cards and fix Email leftovers.
Deploy Ladill Hosting / deploy (push) Successful in 24s
Display hosted_sites on account cards, scope Afia and Settings to hosting,
add hosting_settings for notifications, and remove mailbox UI from the
hosting layout and account pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 17:30:40 +00:00
isaaccladandCursor c4bd4efbed Add a real hosting overview dashboard.
Deploy Ladill Hosting / deploy (push) Successful in 22s
Replace the smart redirect on /dashboard with an overview hub (stats,
recent accounts, pending orders) matching Domains and Email, and move
the full account list to /hosting/accounts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 17:21:27 +00:00
isaaccladandCursor e39a47fa1f Land on account overview and import hosted sites.
Deploy Ladill Hosting / deploy (push) Successful in 25s
Route launcher and home hub entry to the account overview instead of the
control panel, label the sidebar app launcher, and extend hosting:import
to sync hosted_sites with platform_id matching for existing accounts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 17:13:46 +00:00
isaaccladandCursor 1135915797 Fix 500 when exiting hosting panel for existing accounts.
Deploy Ladill Hosting / deploy (push) Successful in 20s
The account overview queried a local mailboxes table that the extracted hosting app does not have; guard those lookups and skip email-addon upsells when mailboxes are managed on Ladill Email.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 17:02:44 +00:00
isaaccladandCursor a2985005ff Replace monolith user.* routes with cross-app URLs.
Deploy Ladill Hosting / deploy (push) Successful in 20s
Hosting type pages and panel views referenced platform routes that do not exist in the extracted app; link to domains, account, and servers apps instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 16:46:09 +00:00
isaaccladandCursor 136d741b8e Fix panel domain lookup without site builder tables.
Deploy Ladill Hosting / deploy (push) Successful in 21s
Use user-owned domains only; the extracted hosting app does not have websites or website_members tables.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 16:42:56 +00:00
isaaccladandCursor 2cd55e1e44 Fix getUserDomains for hosting app without site builder.
Deploy Ladill Hosting / deploy (push) Has been cancelled
Skip websites/website_members lookups; domains are owned directly by user_id in the extracted hosting app.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 16:42:40 +00:00
isaaccladandCursor c627d83e59 Fix hosting 500s: rc_service_orders migration and account layout.
Deploy Ladill Hosting / deploy (push) Successful in 22s
Account pages were extending the email layout with undefined routes, and hosting type pages queried a missing rc_service_orders table.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 16:41:27 +00:00
isaaccladandCursor e251a4cf60 Initial Ladill Hosting app with Gitea deploy pipeline.
Deploy Ladill Hosting / deploy (push) Failing after 17s
Shared web hosting extracted from the platform monolith, with CI deploy
to /var/www/ladill-hosting matching Bird/Domains/Email.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 16:24:20 +00:00