release: v1.0.2 (docs site, backup fidelity, AI provider fixes) - #20
Merged
Conversation
…d providers Claude preset bumped to Sonnet 5 + Opus 4.8 (removed retired 4.7/4.6). Gemini bumped to 2.5 range (with retirement remap for saved 1.5/2.0 IDs so existing users don't hit 404s). All three branded providers now expose a 'Custom…' option that reveals a free-text model-ID input, so users aren't stuck when a vendor retires a hardcoded ID.
…P timeout Mirrors NutriTrace #110 fix into CookTrace. Fresh-install Android on an OIDC-only CookTrace server (Authentik / Keycloak / Authelia with password login disabled) now completes setup, and the first-attempt spurious 'callback_failed' error from openid-client's 3.5s default HTTP timeout is gone. - NativeSetup.svelte: two-step flow (server-url → server-auth). URL entered first, then /api/auth/status fetched to render whichever auth methods the server supports. OIDC branch persists serverUrl + nativeMode + setupComplete BEFORE opening the browser so the deep- link callback can complete cleanly. - App.svelte: re-evaluate showNativeSetup after OIDC callback so the user isn't stuck on setup after successful sign-in. - server/lib/oidc.js: bump openid-client outgoing HTTP timeout from 3500ms default to 10000ms via custom.setHttpOptionsDefaults.
Adds env-var control of the 'Allow Password Login' setting so operators can declare SSO-only mode via docker-compose without needing to toggle it in the admin UI post-deploy. Cross-app fix mirrored from NutriTrace (originally requested on LT #16). - server/lib/oidc-env.js: seed enable_email_password_login from OIDC_ENABLE_EMAIL_PASSWORD_LOGIN at boot (1|true|yes|on to enable, 0|false|no|off to disable, unset = admin UI keeps control). Exports isPasswordLoginEnvLocked() for admin API + client env-locks endpoint. - server/routes/oidc-admin.js: PUT /password-login returns 403 when env-locked. - server/routes/app-config.js: expose oidc_password_login_locked flag. - src/components/settings/SettingsAuth.svelte: gray the Allow Password Login toggle + show env-lock hint when locked. - README + oidc-env.js docblock: document the new env var.
…g-press multi-source
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CookTrace v1.0.2. Second stable release. Focuses on gaps that only surface at edge times: a backup you actually restore, an AI provider that just retired your model, an oai-compat endpoint you point at LM Studio. Plus a proper documentation site.
Highlights
Full breakdown in CHANGELOG.md.
Test plan