55 Commits

Author SHA1 Message Date
fe3a3b4e86 Optimize the data sort logic of tree nodes (#758) 2025-08-06 18:23:09 +08:00
bda9b1d463 Add distributed lock for scheduled task (#732)
* Add distributed lock for scheduled task

* Add the task to extend lock

* Fix the close
2025-07-21 12:29:12 +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
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
97f778cc90 Add CLI support for plugin install (#698)
* Add CLI support for plugin install

* Fix some usage errors

* Update prompt information
2025-06-29 17:41:12 +08:00
88695ac6ad Add custom CLI for service startup (#697)
* Add custom CLI for service startup

* Remove redundant scripts

* Fix lint
2025-06-28 14:56:19 +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
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
86d9efd785 Update the server startup time to string (#646) 2025-05-31 17:26:07 +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
1a7734185f Fix non-asyncio nested async IO (#610)
* Fix non-asyncio nested async IO

* Add redis init ping
2025-05-20 18:11:11 +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
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
bc5d142920 Optimize the server information retrieval (#595)
* Optimize the server information retrieval

* Update import

* Fix typing
2025-04-28 15:41:53 +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
6c70b34ae6 Optimize the file structure of code generator (#574) 2025-04-15 19:54:18 +08:00
c9e9a45288 Update the vben5 tree data structure (#564) 2025-04-02 23:18:55 +08:00
d44a5491f5 Update menu and add vben5 compatibility (#563)
* Update menu and add vben5 compatibility

* Update sidebar api description
2025-04-02 22:20:19 +08:00
e492cec7d7 Optimize codes and comments with cursor (#550) 2025-03-28 10:08:32 +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
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
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
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
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
bd45022a59 Update role-based data permissions (#465)
* Add department data operation permissions

* Update sys models

* Add role department many-to-many relationship

* Format RBAC code

* update codes

* add update role depts api

* add comments

* Update the implementation

* update dept arg

* debug front

* Update the model file naming

* Refactor the data perms

* Add data permission rule

* Optimize the details

* Implement data filtering

* finish
2024-11-23 21:23:52 +08:00
5e60d9c248 Update api body params to schema (#461) 2024-11-16 11:07:40 +08:00
5c0b107142 Update singleton pattern class typing (#452) 2024-11-08 12:16:13 +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
a3d079cfdf Optimize the serialize return of SQLA select (#436) 2024-10-10 12:11:05 +08:00
ab4495ce65 Optimize and normalize the code generator (#430) 2024-09-24 13:50:02 +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
f5b7de6910 Optimize the internal implementation of serializers (#419) 2024-09-11 16:40:05 +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
1d956cace4 Fix cookie expiration time zone (#408)
* Fix cookie expiration time zone

* Fix the loss of cross-domain cookies
2024-09-08 17:33:51 +08:00
4f5c5c28e6 Fix server monitor io blocking (#404) 2024-09-05 22:46:31 +08:00
bb0d7f3f56 Fix arm system cpu frequency retrieval (#385)
* Fix: Disable CPU frequency retrieval on macOS systems with Apple Silicon (closes #384)

* Fix: Solve the single quote problem

---------

Co-authored-by: liuyue <yshan2028@gmail.com>
2024-08-21 21:37:26 +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
a602dff739 Update some code generation api and params (#373)
* Update some code generation api and params

* Update get business api query

* Add get business models api

* Fix get business models api serialize

* Add get generate code path api

* Update download method post to get

* Add get model detail api

* Fix crud model method

* Fix get model api return

* Fix update model service

* Update create update model service

* Add code generate sql

* Add code generate api permissions

* Update code gen path join
2024-08-04 15:24:09 +08:00
863dfed4ec Add custom code template pathname config (#372) 2024-07-28 12:38:05 +08:00
ceb8fb1cb2 Update code generate business model datetime column (#371) 2024-07-28 11:58:46 +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
34506c3039 Add page to display dynamic configuration (#365)
* Add page to display dynamic configuration

* update config data and api

* add config route

* update config api route

* update config api route

* fix config schema

* update config services
2024-07-25 19:11:06 +08:00
9752ce8e92 Fix alembic migration failure caused by model (#359) 2024-07-18 20:22:34 +08:00
3cfc95cb02 Add code generator to create init files (#358) 2024-07-18 18:05:56 +08:00