Timothy Jaeryang Baek
20f0b02b38
Merge pull request #10755 from softue/check-if-enable-ldap-chroma
...
Deploy to HuggingFace Spaces / check-secret (push) Has been cancelled
Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Has been cancelled
Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Has been cancelled
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64) (push) Has been cancelled
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64) (push) Has been cancelled
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64) (push) Has been cancelled
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64) (push) Has been cancelled
Python CI / Format Backend (3.11) (push) Has been cancelled
Frontend Build / Format & Build Frontend (push) Has been cancelled
Frontend Build / Frontend Unit Tests (push) Has been cancelled
Deploy to HuggingFace Spaces / deploy (push) Has been cancelled
Create and publish Docker images with specific build args / merge-main-images (push) Has been cancelled
Create and publish Docker images with specific build args / merge-cuda-images (push) Has been cancelled
Create and publish Docker images with specific build args / merge-ollama-images (push) Has been cancelled
Conditional import of ldap3 and chromadb
2025-02-25 16:02:40 -08:00
Timothy Jaeryang Baek
3be5e3129b
Merge pull request #10752 from NovoNordisk-OpenSource/yvedeng/standardize-logging
...
refactor: replace print statements with logging
2025-02-25 10:53:02 -08:00
Rômulo Mendes Figueiredo
2298bfbd7e
refac: conditional import of ldap3
2025-02-25 13:07:53 -03:00
Yifang Deng
0e5d5ecb81
refactor: replace print statements with logging for better error tracking
2025-02-25 15:53:55 +01:00
Timothy Jaeryang Baek
50dec12072
refac
2025-02-21 22:15:22 -08:00
Timothy Jaeryang Baek
eeb00a5ca2
chore: format
2025-02-20 01:01:29 -08:00
Ranjan Mohan
6c6be5de88
Fixed an issue with clearing application cookies during OAuth signout
...
Closes #8885 .
During the OAuth signout flow, although the `token` and `oauth_id_token`
cookies were marked for deletion, a new RedirectResponse is created and
returned. This does not contain the header info from the he Response object
used to mark the cookies to be deleted. Hence the cookies remained.
Fixed this by re-using the headers from the other Response object.
2025-02-18 12:44:14 -05:00
Timothy Jaeryang Baek
658944e756
refac
2025-02-17 19:29:28 -08:00
Timothy Jaeryang Baek
63cf80a456
refac
Deploy to HuggingFace Spaces / check-secret (push) Waiting to run
Deploy to HuggingFace Spaces / deploy (push) Blocked by required conditions
Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-cuda-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-ollama-images (push) Blocked by required conditions
Python CI / Format Backend (3.11) (push) Waiting to run
Frontend Build / Format & Build Frontend (push) Waiting to run
Frontend Build / Frontend Unit Tests (push) Waiting to run
2025-02-16 00:11:18 -08:00
Timothy Jaeryang Baek
c5b5303a55
Merge pull request #9031 from bunnerz-king/main
...
LDAP auth, return user permissions in response
2025-01-28 14:50:04 -08:00
Andrew King
a1b5c18ef7
ldap pass user permissions into response
2025-01-28 09:51:21 -05:00
Antti Pyykkönen
412923dc91
feat: separate cookie settings between session & auth cookies
...
Introducing two new env config options to control cookies settings regarding
authentication. These values are taken into use when setting 'token' and 'oauth_id_token'.
To maintain backwards compatibility, the original session cookie values are used as
fallback.
Separation is done to prevent issues with the session cookie. When the config value was
set as 'strict', the oauth flow was broken (since the session cookie was not provided
after the callback).
Providing a separate config for auth & session cookies allows us to keep the 'strict'
settings for auth related cookies, while also allowing the session cookie to behave as
intended (e.g., by configuring it as 'lax').
The original config was added in commit #af4f8aa. However a later commit #a2e889c reused
this config option for other type of cookies, which was not the original intent.
2025-01-23 16:16:50 +02:00
Li, Steel
ab6dffffd0
feat: add LDAP_ATTRIBUTE_FOR_MAIL to env-configuration
2025-01-10 08:53:03 +08:00
Li, Steel
82ff6c371b
use ldap3.NONE for parameter get_info in ldap_auth function to accelerate login
2025-01-07 14:13:18 +08:00
Timothy Jaeryang Baek
1e974439d9
enh: configurable api key endpoint restrictions
2024-12-26 20:57:51 -08:00
Timothy Jaeryang Baek
c4937cc144
enh: webui url
2024-12-25 09:50:57 -07:00
Timothy Jaeryang Baek
a074991d3a
refac
2024-12-24 17:01:17 -07:00
Timothy Jaeryang Baek
cb3e01de8a
enh: channels enable/disable option
2024-12-22 21:02:14 -07:00
Timothy Jaeryang Baek
d3d161f723
wip
2024-12-10 00:54:13 -08:00