⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
Merge remote-tracking branch 'origin/main' into feat/disable-email-verification
Tin4d4d9571d0c2
diff --cc apps/docs/core/installation/environment-variables.mdxindex e809ba951,4c493befa..1ada0d912--- a/apps/docs/core/installation/environment-variables.mdx+++ b/apps/docs/core/installation/environment-variables.mdx@@@ -83,7 -83,14 +83,15 @@@ Name | Description | Default| `DISABLE_GUEST_ACCESS` | Disable anonymous/guest sign-in. When set to `true`, the guest access button will not be shown on sign-in and sign-up pages. | `false` || `DISABLE_REGISTRATION` | Disable public user registration. When set to `true`, the sign-up option will not be shown on the sign-in page and new user creation is blocked (including via SSO). **Note:** Users with valid workspace invitations can still register even when this is enabled. | `false` || `DISABLE_PASSWORD_REGISTRATION` | Disable password-based account creation. When set to `true`, email/password sign-up is blocked, but social/OIDC registration remains available unless `DISABLE_REGISTRATION=true`. | `false` |+| `DISABLE_EMAIL_OTP_SIGN_IN` | When SMTP is configured, sign-in uses email verification codes by default. Set to `true` to use email/password sign-in instead. Workspace invitation emails still use SMTP. | `false` |+ | `DISABLE_LOGIN_FORM` | Hide the email/password login form on the sign-in page. When set to `true`, only SSO/OAuth buttons are shown. Useful when you want to enforce authentication exclusively through an external identity provider. | `false` |+ | `CUSTOM_OAUTH_AUTO_LOGIN` | Automatically redirect to the custom OAuth/OIDC provider instead of showing the sign-in page. When set to `true`, users are immediately redirected to your identity provider without seeing the login page. Requires a custom OAuth provider to be configured. | `false` |++ ### Notifications++ Name | Description | Default |+ --- | --- | --- |+ | `KANEO_ALLOW_PRIVATE_WEBHOOK_DESTINATIONS` | Allow outbound notification destinations (ntfy, Gotify, generic webhooks) that resolve to private or non-routable addresses. Off by default to prevent SSRF; the `http`/`https` requirement still applies. Only enable on a trusted, isolated deployment. | `false` |### GitHub SSOdiff --cc apps/web/src/routes/auth/sign-in.tsxindex 88148c7ff,1c3b5bd4a..e9784f13d--- a/apps/web/src/routes/auth/sign-in.tsx+++ b/apps/web/src/routes/auth/sign-in.tsx@@@ -346,31 -384,34 +384,34 @@@ function SignIn())}</div>- <div className="relative my-6">- <div className="absolute inset-0 flex items-center">- <div className="w-full border-t border-border" />- </div>- <div className="relative flex justify-center text-sm">- <span className="px-2 bg-card text-muted-foreground">- {t("auth:forms.or")}- </span>+ {!config?.disableLoginForm && (+ <div className="relative my-6">+ <div className="absolute inset-0 flex items-center">+ <div className="w-full border-t border-border" />+ </div>+ <div className="relative flex justify-center text-sm">+ <span className="px-2 bg-card text-muted-foreground">+ {t("auth:forms.or")}+ </span>+ </div></div>- </div>+ )}</>)}- {config?.hasSmtp && !config?.disableEmailOtpSignIn ? (- <OtpSignInForm- invitationId={invitationId}- defaultEmail={defaultEmail}- redirect={getSafeRedirectPath()}- onSuccess={handleSignInSuccess}- />- ) : (- <SignInForm- defaultEmail={defaultEmail}- onSuccess={handleSignInSuccess}- />- )}+ {!config?.disableLoginForm &&- (config?.hasSmtp ? (++ (config?.hasSmtp && !config?.disableEmailOtpSignIn ? (+ <OtpSignInForm+ invitationId={invitationId}+ defaultEmail={defaultEmail}+ redirect={getSafeRedirectPath()}+ onSuccess={handleSignInSuccess}+ />+ ) : (+ <SignInForm+ defaultEmail={defaultEmail}+ onSuccess={handleSignInSuccess}+ />+ ))}{config?.disableRegistration ||config?.disablePasswordRegistration ? (<div className="text-center pt-4">diff --cc tests/api-integration/config.test.tsindex 94f4fb076,e50a94090..eb59dfa33--- a/tests/api-integration/config.test.ts+++ b/tests/api-integration/config.test.ts@@@ -13,7 -13,8 +13,9 @@@ describe("API integration: config", ()expect(payload).toMatchObject({disableRegistration: false,disablePasswordRegistration: false,+ disableEmailOtpSignIn: false,+ disableLoginForm: false,+ customOAuthAutoLogin: false,isDemoMode: false,hasGuestAccess: true,});diff --cc tests/api-integration/setup.tsindex 53623c28e,71d1cc8e2..5e1709862--- a/tests/api-integration/setup.ts+++ b/tests/api-integration/setup.ts@@@ -66,7 -72,7 +72,8 @@@ process.env.KANEO_CLIENT_URL = "http://process.env.DISABLE_GUEST_ACCESS = "false";process.env.DISABLE_REGISTRATION = "false";process.env.DISABLE_PASSWORD_REGISTRATION = "false";+process.env.DISABLE_EMAIL_OTP_SIGN_IN = "false";+ process.env.DISABLE_LOGIN_FORM = "";process.env.DEMO_MODE = "false";process.env.SMTP_HOST = "";process.env.SMTP_PORT = "";