Skip to content

2.4.9

Choose a tag to compare

@andreapollastri andreapollastri released this 21 Oct 09:44
· 42 commits to main since this release
  • A public address per project, public or not public. A project's own addresses, the team's, are always under Studio's domain and behind the Studio login: the site at <key>.<domain>, the previews and the sandboxes. Besides them, Settings → Server → Addresses can give the site a public address on a domain of Administration → Domains (project-a.client.com), public or not public for that project alone: on one domain project-a.client.com can be public, project-b.client.com not public and progetto-bello-c.client.com public.
    • Public: anybody opens it with no sign-in, from the addresses of Who opens the hosts (empty: from anywhere). It runs with APP_ENV=staging and APP_DEBUG=false, where Larapilot's /larapilot asks for a Larapilot user of its own.
    • Not public: the browser's own sign-in box (basic authentication) asks for the email and password of a Studio account on the project, or of an administrator; no Studio page shows on the client's domain. Five wrong tries a minute lock an account from an address and every refusal goes to the security log for fail2ban, as for the login form; Caddy drops the credentials before the app, which never sees a Studio password; a checked pair is remembered for ten minutes, so a page's pictures do not each check the password again. Two-factor authentication is not asked there.
  • Domains no longer go public as a whole, and host no previews. The status of 2.4.8 moves to each project: Administration → Domains lists the projects at each domain, each public or not public. Public site and Public workspace previews too are gone from Who opens the hosts: previews and sandboxes are the team's and never public. The address lists say where they apply.
  • What changes on the server with this update. The Caddyfile drops the Studio credentials of the browser's sign-in before the app. A project whose site was public, or on a domain that was online, is public at its public address when it has one; without one, nothing of it is public any more. Previews that lived on a client's domain move back under Studio's domain, and previews that were public go back behind the login, with their debug pages (APP_ENV=local): the update applies every project's settings again. Sandboxes already open keep their address until they are removed.