Commit graph

4255 commits

Author SHA1 Message Date
Classic298
709c852917
Update prune.py 2025-08-12 13:20:16 +02:00
Classic298
028a2e5984
Update prune.py 2025-08-12 12:47:19 +02:00
Classic298
aadb296577
Merge branch 'open-webui:main' into universal_file_deletion 2025-08-11 22:09:25 +02:00
Timothy Jaeryang Baek
97448e25ec fix: openai error handling 2025-08-11 17:00:06 +04:00
Timothy Jaeryang Baek
890691319f fix: s3vector import issue 2025-08-11 16:23:08 +04:00
Timothy Jaeryang Baek
21094ca88b fix: pinecone insert issue 2025-08-11 16:22:58 +04:00
Timothy Jaeryang Baek
fbf5f2bb67 refac: disable direct connections by default to avoid confusion 2025-08-11 13:49:53 +04:00
Classic298
d454e6a033
Feat/prune orphaned data (#16)
* feat: Add prune orphaned data functionality

* feat: Add prune orphaned data functionality

* feat: Add prune orphaned data functionality

* fix: Restyle PruneDataDialog modal

* feat: Add comprehensive prune orphaned data functionality and fix circular import

* feat: Add comprehensive prune orphaned data functionality and fix circular import

* feat: Add comprehensive prune orphaned data functionality and fix database size issues

* feat: Add comprehensive prune orphaned data functionality and fix database size issues

* feat: Add comprehensive prune orphaned data functionality and fix database size issues

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update folders.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Update prune.py

* Delete backend/open_webui/test/test_prune.py

* Update prune.ts

* Update PruneDataDialog.svelte

* Update prune.py

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update prune.py

* Update PruneDataDialog.svelte

* Update prune.ts

* Update Database.svelte

* Update prune.py

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update prune.py

* Update prune.py

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update Database.svelte

* Update prune.py

* Update prune.ts

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

* Update prune.py

* Update prune.ts

* Update PruneDataDialog.svelte

* Update files.py

* Update prompts.py

* Update notes.py

* Update models.py

* Update access_control.py

* Update PruneDataDialog.svelte

* Update PruneDataDialog.svelte

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-08-10 23:40:01 +02:00
Timothy Jaeryang Baek
32a022a823 enh: v1 endpoint support 2025-08-11 00:45:59 +04:00
Timothy Jaeryang Baek
fbb8c111ed refac 2025-08-11 00:39:12 +04:00
Timothy Jaeryang Baek
059cc636f6 fix: openai response propagation issue 2025-08-11 00:37:06 +04:00
Timothy Jaeryang Baek
77dcfb5062 chore: format 2025-08-10 16:54:49 +04:00
Athanasios Oikonomou
dc453efa5c feat: Display assigned user groups in Admin Panel
Description:
This PR adds the ability to view a user’s assigned groups in the Admin Panel when editing a user.

Backend Changes:
    Added a new endpoint:
    GET /api/v1/users/{user_id}/groups

        Returns the list of groups assigned to a specific user.
        Requires admin privileges.

Frontend Changes:
    Implemented getUserGroupsById API function to call the new backend endpoint, in lib/apis/users.

    Updated EditUserModal.svelte to:
        Load user groups asynchronously when the modal is opened.
        Display the groups inline in the form before the Save button.
        Show a loading state while fetching, and a “No groups assigned” message if none exist.

Result:
Admins can now see which groups a user belongs to directly from the edit user modal,
improving visibility and reducing the need to navigate away for group membership checks.
2025-08-10 14:49:01 +03:00
Timothy Jaeryang Baek
d5ad0ae862 refac 2025-08-10 13:49:28 +04:00
Timothy Jaeryang Baek
cd778582d5 fix: undefined model_id issue 2025-08-10 13:48:12 +04:00
xhejtman
c4e0051ab2
Fix audit get_current_user
get_current_user has 4 args not 3 args:
```
get_current_user(
    request: Request,
    response: Response,
    background_tasks: BackgroundTasks,
    auth_token: HTTPAuthorizationCredentials = Depends(bearer_security)
```
2025-08-10 02:10:00 +02:00
Timothy Jaeryang Baek
3f7d3def02 enh: folder filter 2025-08-10 02:10:18 +04:00
Timothy Jaeryang Baek
6497b46a78 refac 2025-08-10 01:44:33 +04:00
Timothy Jaeryang Baek
d8c76e9a0c refac 2025-08-10 01:31:07 +04:00
Timothy Jaeryang Baek
b1d5e3b687 refac 2025-08-10 01:29:51 +04:00
Timothy Jaeryang Baek
c77b36bdcc refac 2025-08-10 00:02:58 +04:00
Timothy Jaeryang Baek
77189664c2 chore: format 2025-08-09 23:57:35 +04:00
Timothy Jaeryang Baek
f85aaa4ed9 refac: sqlcipher3-wheels as optional 2025-08-09 23:56:17 +04:00
Tim Jaeryang Baek
86fa564b44
Merge pull request #16132 from rndmcnlly/feature/sqlcipher-database-encryption
feat: Implement SQLCipher support for database encryption
2025-08-09 23:55:03 +04:00
Tim Jaeryang Baek
53425ffadb
Merge pull request #16419 from expruc/feat/qdrant_improvements
feat: qdrant client improvements
2025-08-09 23:52:12 +04:00
Tim Jaeryang Baek
17ca02aa6b
Merge pull request #16417 from Ithanil/prevent_idle_transactions
fix: Prevent idle transactions with PGvector DB
2025-08-09 23:51:51 +04:00
Timothy Jaeryang Baek
4e9c75be50 enh: CHAT_RESPONSE_STREAM_DELTA_CHUNK_SIZE 2025-08-09 23:49:56 +04:00
Timothy Jaeryang Baek
1a93891d97 feat: stream delta chunk
Co-Authored-By: Jan Kessler <Ithanil@users.noreply.github.com>
2025-08-09 23:43:27 +04:00
expruc
8af9ad3f30 updated query function with scroll too 2025-08-09 22:04:41 +03:00
expruc
88abd01b87 qdrant client improvements 2025-08-09 21:12:30 +03:00
Jan Kessler
3a9601c053
use .rollback() after read-only transaction on pgvector to avoid infinitely idle transactions (and errors in certain scenarios) 2025-08-09 20:09:45 +02:00
Timothy Jaeryang Baek
4485c7a5d2 refac 2025-08-09 21:38:31 +04:00
Timothy Jaeryang Baek
caf8482fba refac 2025-08-09 21:34:47 +04:00
Timothy Jaeryang Baek
f4d2c6027a refac 2025-08-09 21:10:12 +04:00
Timothy Jaeryang Baek
4b41cd1891 chore: format 2025-08-09 02:05:07 +04:00
Tim Jaeryang Baek
17084f629c
Merge pull request #16385 from gaby/2025-08-08-13-38-31
feat: Propagate upstream OpenAI router errors
2025-08-09 00:58:14 +04:00
Timothy Jaeryang Baek
c1d566bad4 enh: oauth_sub_claim 2025-08-09 00:46:14 +04:00
Timothy Jaeryang Baek
e8cb57750b refac/fix: serply 2025-08-09 00:37:37 +04:00
Timothy Jaeryang Baek
736b29ddca refac 2025-08-09 00:33:41 +04:00
Timothy Jaeryang Baek
f923a85f40 refac/fix: reasoning_content chunk 2025-08-09 00:31:28 +04:00
Tim Jaeryang Baek
8714df17dd
Merge pull request #16381 from psy42a/patch-1
fix: failure to bind metadata variable on insert for PGVECTOR_PGCRYPTO feature returning syntax error
2025-08-09 00:26:30 +04:00
Tim Jaeryang Baek
9fbc76f4bb
Merge pull request #16397 from 17jmumford/add_gpt_5_max_token_handling
fix: added gpt-5 to reasoning model payload handler
2025-08-09 00:22:30 +04:00
Jeremy Mumford
c69f2cc776 updated comments 2025-08-08 14:20:14 -06:00
Jeremy Mumford
0c40d93da4 renamed and added gpt-5 to reflect OpenAI updates 2025-08-08 14:16:28 -06:00
Andrew Baek
451b614f4d refac: oidc provider url validation 2025-08-09 00:15:19 +04:00
Juan Calderon-Perez
7619f449c8 Format code base 2025-08-08 10:10:32 -04:00
Juan Calderon-Perez
d2f2d42e09 Format python code 2025-08-08 10:09:31 -04:00
Juan Calderon-Perez
5d7e8c8e5f Format openai router 2025-08-08 10:04:02 -04:00
Juan Calderon-Perez
2ae7584686 feat: forward upstream OpenAI errors 2025-08-08 09:38:34 -04:00
Timothy Jaeryang Baek
2bccc7b8fc refac 2025-08-08 14:18:17 +04:00