Commit Graph
22 Commits
Author SHA1 Message Date
Alexandre Teixeira b1a4ed13b0 Harden API-token chat endpoint selection
Validate only token-supplied direct base_url values for API-token chat requests, while keeping admin-configured endpoints available for local/LAN providers.

Scope configured endpoint fallback selection to the API token owner, fail closed for unknown token owners, and preserve strict session ownership checks when resuming sessions from chat-scoped API tokens.

Add focused regression coverage for direct base_url SSRF rejection, configured endpoint fallback behavior, token-owner scoping, URL validation, and null-owner session/endpoint handling.
2026-06-03 13:05:13 +01:00
Alexandre Teixeira 145f4fd2b4 feat(models): support pinned endpoint model IDs 2026-06-03 13:00:07 +01:00
Alexandre Teixeira 1284b14a13 feat(docker): add standalone GPU compose files for stack UIs 2026-06-03 12:54:35 +01:00
Alexandre Teixeira a75dd4a231 fix(search): apply recency UTC fix to live ranking module 2026-06-03 12:49:32 +01:00
Alexandre Teixeira 0deeba58ba tests(llm): cover Anthropic temperature clamping 2026-06-03 12:28:53 +01:00
Alexandre Teixeira 1c2ec288dd Check cudart before llama.cpp CUDA build (#1466) 2026-06-03 14:23:55 +09:00
Alexandre Teixeira c639daa7a2 Add companion pairing route response tests (#920) 2026-06-03 14:14:20 +09:00
Alexandre Teixeira 83a7965a28 Add atomic IO durability tests (#1622) 2026-06-03 14:14:16 +09:00
Alexandre Teixeira ea1079e1df docs: fix stale documentation references (#1769) 2026-06-03 13:23:21 +09:00
Alexandre Teixeira 2e961cee93 tests: cover calendar route owner gates 2026-06-02 20:42:37 +09:00
Alexandre Teixeira 033e7a8f0d tests: cover API token CRUD routes 2026-06-02 20:42:32 +09:00
Alexandre Teixeira 4bbffbfb05 tests: cover upload route owner gates 2026-06-02 20:42:26 +09:00
Alexandre Teixeira 6255852bef tests: cover cleanup owner scope 2026-06-02 20:42:21 +09:00
Alexandre Teixeira ff8b9e9ab6 tests: cover research route owner gates 2026-06-02 20:42:15 +09:00
Alexandre Teixeira f6b0dcbe58 Tests: companion model JSON resilience 2026-06-02 13:15:22 +09:00
Alexandre Teixeira e129378014 Clarify private deployment hardening docs
Document safer defaults and deployment guidance for network-accessible
Odysseus installs. The guidance emphasizes keeping auth enabled,
disabling localhost bypass outside development, using secure cookies for
HTTPS/reverse-proxy deployments, and exposing only the authenticated
Odysseus entrypoint through a trusted proxy or private access layer.

Also clarify that bundled services, databases, vector stores,
notification services, and raw model/provider APIs should remain
internal-only.

This is documentation and config-example only. It does not change
runtime behavior.
2026-06-02 13:01:12 +09:00
Alexandre Teixeira 5607db85d4 tests: cover companion models route filtering 2026-06-02 12:57:32 +09:00
Alexandre Teixeira 8455b88643 Improve Docker GPU setup diagnostics (#705)
* Improve Docker GPU setup diagnostics

Add a Docker GPU preflight script for NVIDIA users. The script is
read-only by default, checks host NVIDIA drivers, Docker availability,
and container GPU passthrough, and prints actionable next steps.

Add explicit opt-in modes to print install commands, install NVIDIA
Container Toolkit on Ubuntu/Debian, and enable the NVIDIA Compose overlay
in .env after passthrough is verified.

Document common NVIDIA Docker failure modes, ignore generated .env
backups, and clarify that Cookbook can only detect GPUs exposed to the
Odysseus container.

* Clarify Docker GPU diagnostic limits
2026-06-02 12:30:40 +09:00
Alexandre Teixeira 90878c380e Add resolve_endpoint fallback chain regressions (#890) 2026-06-02 12:24:50 +09:00
Alexandre Teixeira d1d047dd11 Add Ollama port path detection regressions (#883) 2026-06-02 12:24:18 +09:00
Alexandre Teixeira 5dd5847d4b Revoke stale sessions after password change
After a successful password change, revoke all browser sessions for the
same user except the one that submitted the request. This prevents stale
sessions on other devices from remaining valid after credentials are
updated.

Keep API-token behavior unchanged. The current browser session is
preserved so the user can continue from the tab that changed the
password.

Add focused regression tests for preserving the current session, revoking
other sessions, persisting revocation, and avoiding revocation when the
current password is incorrect.
2026-06-02 05:59:22 +09:00
Alexandre Teixeira 26483661da Restrict provider discovery to admins
Require admin access before serving provider discovery data from
GET /api/providers. This prevents normal authenticated users from
triggering provider discovery or receiving cached provider host data.

Keep GET /api/models available to normal users and leave the existing
admin-only GET /api/discover behavior unchanged.

Add a focused regression test to ensure unauthorized callers cannot
trigger discovery and cannot receive cached provider data.
2026-06-02 05:54:40 +09:00