28 Commits

Author SHA1 Message Date
e09062eb39 Optimize the opera log storage logic through queue (#750)
*  feat: 操作日志中间件添加批量插入功能

* Delete GEMINI.md

* 🌈 style: 修复格式化错误

* 🐞 fix: 通过asyncio.wait_for兼容py3.10中asyncio.timeout不存在

* 🦄 refactor: 重新组织操作日志批量插入代码逻辑

* 优化代码实现

* 恢复默认配置

* 恢复默认 .gitignore 文件

* 更新队列批处理逻辑
2025-08-07 17:36:10 +08:00
4eb76ad6ea Update the opera log desensitization method (#756)
* Update the opera log desensitization method

* Update request args function return
2025-08-05 18:38:49 +08:00
d64f7c2911 Fix the opera log field encryption (#739) 2025-07-25 19:23:36 +08:00
53e64bce37 Add auth whitelist regular expression config (#738) 2025-07-24 21:34:24 +08:00
2bbbbe764a Update the log output default style (#714)
* Update the log output default style

* Update the log file compression

* fix line

* Add log summary
2025-07-06 14:32:36 +08:00
ef5e921c08 Update the middleware logging accuracy (#713)
* Update the middleware logging accuracy

* Update the log style
2025-07-05 19:52:37 +08:00
032364e48e Refactor the data rule to scope rule (#596)
* WIP

* update codes

* update codes

* update filter_data_permission

* Fix schema

* Fix issues
2025-04-28 18:15:52 +08:00
e492cec7d7 Optimize codes and comments with cursor (#550) 2025-03-28 10:08:32 +08:00
15fd4545aa Optimize schemas with model relationships (#552) 2025-03-20 18:46:13 +08:00
52816dd4b4 Fix opera log of non-dict request body (#501) 2025-01-25 10:29:44 +08:00
3f6c43e15d Update opera middleware request args parse (#481) 2024-12-27 18:27:05 +08:00
6c1f68ec00 Update opera log cost time precision (#479) 2024-12-25 22:09:27 +08:00
601a6514a8 Update some service class invocations (#459) 2024-11-15 17:02:52 +08:00
493c2b2545 Add asynchronous socketio application server (#437)
* Add asynchronous socketio application server

* fix uv lock

* Update cors

* fix socket app
2024-11-02 00:12:01 +08:00
8da993655b Add request state middleware (#426)
* Add request state middleware

* Fix linux do OAuth2 redirect uri
2024-09-21 17:57:27 +08:00
b6821612af Fix exception logging in opera log (#417) 2024-09-10 16:19:19 +08:00
5a52871e7e Optimize exception info opera log record (#413) 2024-09-09 22:52:05 +08:00
9c37297858 Update the global exception log stack (#406)
* Update the global exception log stack

* del todo
2024-09-09 15:56:38 +08:00
1f95a776f0 Add trace ID to exception handlers (#411) 2024-09-09 15:46:13 +08:00
b13410c7d1 Optimize the naming of setting params (#410) 2024-09-09 11:50:22 +08:00
9aa2d7b593 Add request trace ID record (#409)
* Fix cookie expiration time zone

* Fix the loss of cross-domain cookies

* Add request trace ID record

* Fix the dependency lock file
2024-09-09 10:43:34 +08:00
24528e6050 Updated refresh token storage logic (#403) 2024-09-05 21:37:25 +08:00
c743182211 Optimize serialization and jwt performance (#382)
* Optimize serialization and algorithm performance

* Fix get tree data to async

* Removed CPU-intensive multi-threaded execution

* Update pdm pre commit to 2.18.0

* Add jwt user info cache

* Update ci

* Fix ci

* Fix redis delete prefix

* Adapt to JWT user instance

* Update jwt middleware token parse
2024-08-17 09:26:16 +08:00
21fed49d7b Update access log cost time style (#370) 2024-07-27 12:04:22 +08:00
7287093772 Update operation log middleware info reading (#368)
* Fix operation log middleware summary reading

* update ua info and ip info

* update opera middle functions

* move dataclasses.py

* fix lint
2024-07-27 11:00:36 +08:00
5a283b1c3c Update and enable access log middleware (#348) 2024-07-10 16:47:23 +08:00
08a8acb9ea Update the opera log middleware task (#326)
* Update the opera log middleware task

* Delete task await
2024-06-03 12:58:05 +08:00
5e438c685d Refactor the backend architecture (#299)
* define the basic architecture

* Update script and deployment file locations

* Update the route registration

* Fix CI download dependencies

* Updated ruff to 0.3.3

* Update app subdirectory naming

* Update the model import

* fix pre-commit pdm lock

* Update the service directory naming

* Add CRUD method documents

* Fix the issue of circular import

* Update the README document

* Update the SQL statement for create tables

* Update docker scripts and documentation

* Fix docker scripts

* Update the backend README.md

* Add the security folder and move the redis client

* Update the configuration item

* Fix environment configuration reads

* Update the default configuration

* Updated README description

* Updated the user registration API

* Fix test cases

* Update the celery configuration

* Update and fix celery configuration

* Updated the celery structure

* Update celery tasks and api

* Add celery flower

* Update the import style

* Update contributors
2024-03-22 18:16:15 +08:00