mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #5887] [CLOSED] Feat: Audit Logs and logging improvements #8573
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/5887
Author: @victorstevansuse
Created: 10/3/2024
Status: ❌ Closed
Base:
dev← Head:audit-logs📝 Commits (5)
7693b11refacf3227b4Merge branch 'dev' into audit-logscaf348cchore: fixAUDIT_EVENTSnamingfe04c7bchore: fixAUDIT_EVENTSnaming2634d56Merge branch 'audit-logs' of github.com:victorstevansuse/open-webui into audit-logs📊 Changes
15 files changed (+883 additions, -42 deletions)
View changed files
📝
backend/open_webui/apps/retrieval/main.py(+91 -7)➕
backend/open_webui/apps/webui/models/audits.py(+167 -0)📝
backend/open_webui/apps/webui/routers/auths.py(+66 -10)📝
backend/open_webui/apps/webui/routers/documents.py(+29 -5)📝
backend/open_webui/apps/webui/routers/files.py(+52 -10)📝
backend/open_webui/apps/webui/routers/knowledge.py(+57 -5)📝
backend/open_webui/apps/webui/routers/users.py(+19 -3)📝
backend/open_webui/apps/webui/utils.py(+0 -1)📝
backend/open_webui/constants.py(+16 -0)📝
backend/open_webui/env.py(+21 -0)📝
backend/open_webui/main.py(+40 -0)➕
backend/open_webui/migrations/versions/9f09bd1468ff_create_audit_logs_table.py(+45 -0)➕
backend/open_webui/utils/logger.py(+272 -0)📝
backend/open_webui/utils/utils.py(+7 -1)📝
backend/requirements.txt(+1 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
logurudependencyChanged
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.