79 Commits

Author SHA1 Message Date
1b47ab7e83 Optimize the timezone datetime return encoder (#767)
* Optimize the timezone datetime return encoder

* Update the default datetime conversion
2025-08-13 11:16:58 +08:00
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
0237d4c7b1 Update log output config and format (#759) 2025-08-07 16:46:56 +08:00
1f8687155a Fix message format in validation exception handler (#755) 2025-08-05 18:11:02 +08:00
53e64bce37 Add auth whitelist regular expression config (#738) 2025-07-24 21:34:24 +08:00
d7f87ed0ad Update the default cache period for userinfo (#734) 2025-07-21 21:31:55 +08:00
802b0d456a Optimize celery integrations and events (#721) 2025-07-14 19:17: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
494942e87e Add CLI support for execute sql scripts (#711)
* Add CLI support for execute sql scripts

* Update the arg helps
2025-07-02 20:19:29 +08:00
b96402e11d Simplify custom response status codes (#686) 2025-06-24 10:42:15 +08:00
6d5e741d94 Optimize api with semantic HTTP status codes (#681) 2025-06-23 22:18:17 +08:00
bac41a46f8 Optimize token detection and caching logic (#677) 2025-06-21 20:18:13 +08:00
319ba13df1 Optimize routes to better align with RESTful (#673)
* Optimize routes to better align with RESTful

* Add codes endpoint description

* Update jinja templates

* fix typo

* fix sql
2025-06-19 11:06:34 +08:00
0d1f05d307 Fix some error class import (#672) 2025-06-17 15:30:35 +08:00
7afd8415cd Add support for snowflake ID primary key (#670)
* fix: 修复PostgreSQL SQL语法错误,将反引号替换为双引号

* feat: 新增雪花算法ID实现

* 优化雪花算法和主键类型

* 修复错误引用

* 添加雪花详情链接

* feat: add snowflake ID parser method

* 修复独立执行异常

* 更新系统时间错误类
2025-06-16 13:34:27 +08:00
0c28a46e60 Update auth failed default status code (#660)
* Update auth failed default status code

* update init sql
2025-06-09 19:58:06 +08:00
a82e9b7b9d Fix data permission condition for filter data (#650) 2025-06-01 00:51:31 +08:00
7659b63d88 Add data permission condition for filter data (#648) 2025-05-31 23:40:59 +08:00
39c3339a8d Optimize role-related data processing performance (#635) 2025-05-26 20:04:13 +08:00
b275481742 Update the menu path and type columns (#622)
* Update the menu path and type columns

* Update build vben5 tree

* Update data
2025-05-22 21:22:24 +08:00
3c5682988d Update the casbin RBAC module path (#604) 2025-05-16 11:49:18 +08:00
1e54b0ba42 Add plugin info config and interfaces (#601)
* Add plugin info config and interfaces

* Remove test data
2025-05-15 20:50:24 +08:00
27b9cf4c64 Simplify apps and plugins config method (#600) 2025-05-13 13:16:06 +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
65500d7a53 Bump fastapi pagination from 0.12.34 to 0.13.0 (#587) 2025-04-23 13:04:09 +08:00
0833cd5443 Optimize the userinfo cache cleaning logic (#586) 2025-04-23 12:40:27 +08:00
fc34c98f0a Update the code generator to plugin (#578)
* Update the code generator to plugin

* Fix get all tables return type
2025-04-17 11:06:43 +08:00
bb33e99e33 Update casbin RBAC verify to dynamic import (#576) 2025-04-17 11:06:15 +08:00
960d9f6215 Update the default value for some functions (#573)
* Update the default value for some functions

* Fix lint
2025-04-14 14:22:05 +08:00
b93ff19ebe Update the number of pagination le (#565) 2025-04-03 19:32:26 +08:00
4c007cb47d Update custom validation error messages (#566) 2025-04-03 19:32:11 +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
baebdd9870 Optimize dependencies to reduce package size (#548) 2025-03-17 18:41:58 +08:00
a4a394a18d Optimize the dynamic import of data models (#546) 2025-03-16 15:13:09 +08:00
68d41cf028 Add log module root and output levels (#534) 2025-02-27 15:38:41 +08:00
06de770c4d Add async attrs for sqla mapped base (#528) 2025-02-25 15:43:35 +08:00
6d44f807a7 Update loguru and deploy log config (#517)
* Update loguru config

* Update config

* fix log level

* Update deploy log config
2025-02-24 12:17:05 +08:00
9602e28429 Add local file upload interfaces (#489)
* Add the alibaba cloud oss plugin

* Update oss plugin struct

* Add local upload
2025-02-21 20:18:35 +08:00
440f324a3d Update the logic for create new token (#516) 2025-02-17 16:56:45 +08:00
5e7a4e1e74 Update casbin rbac verify to plugin (#513)
* Update casbin rbac verify to plugin

* Update requirements

* move sys api to casbin plugin

* Update plugin toml and parse

* Fix plugin router inject

* Update api prefix to apis
2025-02-17 13:41:11 +08:00
d9985f9d4d Add plugin system and notice plugin (#503)
* Update system notice to plugin

* Add plugin model alembic support

* update plugin conf

* add plugin route injection

* update plugin route inject

* fix and optimize plugin router inject
2025-02-13 21:19:49 +08:00
0255283577 Fix the return datetime data encoder (#505) 2025-02-07 12:19:32 +08:00
3b65679fb0 Add token related interfaces (#495) 2025-01-23 13:12:46 +08:00
7553ccf14d Update return schema of query interface (#492)
* Update return model of query interface

* Update tree data return type hints

* Update code generation and task return types

* Fix inconsistency between ORM query result and schema
2025-01-18 23:33:37 +08:00
cf693cdce6 Fix serialization when pagination is empty (#491)
* bug fix

* update codes
2025-01-18 20:47:31 +08:00
13cee674a7 Add response model include data schema (#490)
* Add response model include data schema

* Fix paging data usage

* optimize annotations
2025-01-17 12:39:24 +08:00
78dad3021a Add postgresql database support (#475)
* feat: add postgresql db supports

* change: change mysql conn str create way

* fix: Modify the default alembic migration file to meet multi-database support

* Update settings and lint

* update models

* Simplify database config

* Simplify the get db method

* Update create db url

* Updated model type adaptation

* Update sql scripts

* Fix models type

* Adaptation to postgresql code generation

* Update README.md

* Fix alembic file template

* Update docker scripts
2024-12-25 22:04:04 +08:00
f90b4667c3 Fix data rule expression column comment (#473) 2024-12-09 12:21:40 +08:00