Tim Farrell
1031638d82
Maintain backward compatibility with WEBUI_JWT_SECRET_KEY for the time being
2024-02-02 09:02:35 -06:00
Tim Farrell
e2d481d99a
Move the random secret generation to start.sh.
...
This way the random secret is created on first run instead of docker build. We don't really want all standard imaages to share a password anymore than we want a static password.
2024-02-02 09:02:23 -06:00
Tim Farrell
44799e2018
Remove some extraneous imports
2024-02-02 09:02:07 -06:00
Tim Farrell
4fceb404bd
Call jwt.decode
with the expected algorithms
2024-02-02 09:01:57 -06:00
Tim Farrell
e15dbdc46a
Pass the instance we're using.
2024-02-02 09:01:34 -06:00
Tim Farrell
8c37edd027
Even though "User.email" is enforced as unique at signup, it is not a unique field in the database. Let's use "User.id" instead. This also makes it more difficult to do a session stealing attack.
2024-02-02 09:01:06 -06:00
Tim Farrell
2c1dacb9b6
We should verify signatures to make the whole session secret meaningful.
2024-02-02 09:00:31 -06:00
Tim Farrell
03a7e35967
Default docker installations should generate a random key instead of using a static secret that everyone can see.
2024-02-02 08:59:46 -06:00
Tim Farrell
d67f3d982b
Start by renaming variables to something more generic. This will give us a bit more flexibility as we look to other session management mechanisms.
2024-02-02 08:58:13 -06:00
Timothy Jaeryang Baek
b2fae0643e
Merge pull request #558 from peperunas/patch-1
...
fix: use bash when starting the Dockerfile's entrypoint script (as th…
2024-01-29 16:33:59 -08:00
Timothy Jaeryang Baek
09534dad6e
Merge branch 'main' into patch-1
2024-01-29 16:24:16 -08:00
Timothy Jaeryang Baek
b5c10ff1e5
Merge pull request #598 from ollama-webui/run-ollama-sh-fix
...
fix: run-ollama-docker.sh
2024-01-29 15:39:18 -08:00
Timothy J. Baek
685d37418f
fix: run-ollama-docker.sh
2024-01-29 15:38:56 -08:00
Timothy Jaeryang Baek
ee675e794f
Merge pull request #582 from Trimutex/main
...
feat: Add netcat to Dockerfile for healthcheck
2024-01-29 00:09:01 -08:00
Gregory
4f5d06143c
Merge branch 'ollama-webui:main' into main
2024-01-29 00:53:22 -06:00
Timothy Jaeryang Baek
0be2803fb9
Merge pull request #585 from ollama-webui/web-rag
...
feat: web rag support
2024-01-26 22:25:32 -08:00
Timothy J. Baek
2f1f2b12b4
feat: invalid url error handling
2024-01-26 22:22:37 -08:00
Timothy J. Baek
28226a6f97
feat: web rag support
2024-01-26 22:17:28 -08:00
Timothy Jaeryang Baek
5e672d9f79
Merge pull request #584 from ollama-webui/profile-update
...
feat: profile image update support
2024-01-26 21:41:18 -08:00
Timothy J. Baek
77e27ce248
fix: styling
2024-01-26 21:39:53 -08:00
Timothy J. Baek
0c322063b5
feat: use local profile image by default
2024-01-26 21:38:33 -08:00
Timothy J. Baek
3ce8f3e8fb
feat: profile update frontend integration
2024-01-26 21:22:25 -08:00
Timothy J. Baek
418da74756
feat: profile image update backend
2024-01-26 20:27:45 -08:00
TriantaTV
0d27d8f362
add netcat to Dockerfile
2024-01-26 13:57:35 -06:00
Timothy Jaeryang Baek
0e831f4cf7
Merge pull request #578 from gryphius/fix-webui-port
...
add missing OLLAMA_WEBUI_PORT override
2024-01-26 11:10:54 -08:00
Oli Schacher
f097b9f860
add missing OLLAMA_WEBUI_PORT override
2024-01-26 10:08:52 +01:00
Timothy Jaeryang Baek
af34b1010e
Merge pull request #576 from ollama-webui/rag-fix
...
fix: openai compatible api rag issue
2024-01-25 14:38:46 -08:00
Timothy J. Baek
250ccd828d
fix: openai compatible api rag issue
2024-01-25 14:38:21 -08:00
Timothy Jaeryang Baek
6f7db47583
Merge pull request #569 from yeahdongcn/main
...
Reduce container image size
2024-01-25 10:49:29 -08:00
Timothy Jaeryang Baek
775b690ef0
Merge pull request #557 from Collected5353/patch-1
...
Create SECURITY.md
2024-01-25 10:48:52 -08:00
Timothy Jaeryang Baek
ddd1a437ae
Merge pull request #575 from Mulugruntz/sgiffard/nvidia-gpu-on-wsl2
...
Enhance GPU detection logic to support WSL2 environments
2024-01-25 10:40:27 -08:00
Samuel GIFFARD
2cb4112145
Enhance GPU detection logic to support WSL2 environments
...
This commit updates the GPU detection logic in the setup script to accommodate environments where NVIDIA GPUs might not be directly listed by `lspci`, such as in Windows Subsystem for Linux 2 (WSL2). The revised logic now attempts to identify NVIDIA GPUs using both `lspci` and `nvidia-smi`, ensuring broader compatibility and recognizing GPUs that are accessible in WSL2. This change allows the script to correctly detect NVIDIA GPUs in a wider range of setups, improving user experience and script robustness in diverse environments.
2024-01-25 18:09:53 +01:00
Doug Winzell
ca188b14ab
Rename SECURITY.md to docs/SECURITY.md
...
Moved Security.md to /docs Will still show up on the GH security tab.
2024-01-25 07:54:18 -08:00
Xiaodong Ye
4ee655c075
Reduce container image size
...
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com>
2024-01-25 18:08:35 +08:00
Timothy Jaeryang Baek
0ab33bd5f3
Merge pull request #568 from ollama-webui/litellm-rag-fix
...
fix: rag message body format
2024-01-25 01:37:09 -08:00
Timothy J. Baek
da16d43be0
fix: rag message body format
2024-01-25 01:36:45 -08:00
Timothy Jaeryang Baek
6b3b4ced1c
Merge pull request #567 from ollama-webui/wording
...
refac: model select option wording
2024-01-25 01:27:51 -08:00
Timothy J. Baek
a24217f670
refac: model select option wording
2024-01-25 01:27:35 -08:00
Timothy Jaeryang Baek
d6b139cfe9
Merge pull request #559 from peperunas/patch-2
...
fix: use exec the uvicorn process to handle Docker's SIGTERM correctly
2024-01-25 00:47:45 -08:00
Timothy Jaeryang Baek
a243e53bfe
Merge pull request #536 from lucasew/backend-data-dir
...
Unhardcode some stuff, flexibilize dotenv requirement
2024-01-25 00:42:12 -08:00
Timothy J. Baek
326af5a648
refac
2024-01-25 00:40:19 -08:00
Timothy Jaeryang Baek
755cadb522
Merge pull request #563 from yeahdongcn/main
...
Add default voice setting and apply to chat
2024-01-25 00:34:08 -08:00
Timothy Jaeryang Baek
d29321f1ec
Merge pull request #554 from Marclass/main
...
feat: Add excel parser for RAG
2024-01-25 00:33:32 -08:00
Timothy J. Baek
4e468dc58c
refac
2024-01-25 00:24:49 -08:00
Xiaodong Ye
695bc56144
Remove the commented-out code
...
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com>
2024-01-25 16:19:38 +08:00
Timothy Jaeryang Baek
fa5918ad13
Merge branch 'main' into main
2024-01-25 00:13:12 -08:00
Timothy J. Baek
3b7f7c6e32
fix: loop until voice list available
2024-01-25 00:07:27 -08:00
Timothy J. Baek
9101c174d8
refac: voice setting moved to add-on
2024-01-25 00:02:46 -08:00
Timothy Jaeryang Baek
39986c4ec8
Merge pull request #565 from ollama-webui/search-fix
...
fix: search
2024-01-24 23:51:53 -08:00
Timothy J. Baek
3848b2c8ed
fix: search
2024-01-24 23:51:22 -08:00