Wu Clan
1f287bbb0c
Merge branch 'master' into pre-tenant
...
# Conflicts:
# .pre-commit-config.yaml
# pyproject.toml
# requirements.txt
# uv.lock
2026-04-08 21:04:56 +08:00
Wu Clan
a97dab1716
Update plugins and monitoring permissions ( #1126 )
2026-03-24 15:59:22 +08:00
Wu Clan
80146224ab
Fix and improve tenant-related impls
2026-03-12 23:12:30 +08:00
Wu Clan
e9ed1292f0
Update project name symbol in multiple files ( #1097 )
2026-03-05 18:37:16 +08:00
Wu Clan
39c3366e0a
Refactor the menu SQL definition in SQL scripts ( #1092 )
...
* Refactor the menu SQL definition in SQL scripts
* Fix know issues
2026-02-28 20:08:27 +08:00
Wu Clan
d843dfa1c7
Update SQL scripts related to data permissions ( #1084 )
2026-02-24 14:15:55 +08:00
Wu Clan
0729061438
Fix typos in data rule sql scripts ( #926 )
2025-11-18 19:33:24 +08:00
Wu Clan
cf9e5dc4f4
Update user and login security configs ( #922 )
...
* Update user and login security configs
* Optimize some code definitions
* Update config comments
* Update the captcha check
* Update the config plugin sql scripts
* Add user password history model to init
* Fix some logic errors
* Add last_password_changed_time to user sql
* Fix user update password
* Fix the dynamic config check
* Update the user sql style
2025-11-16 21:23:36 +08:00
Wu Clan
0ea213edfd
Optimize the data permission condition build ( #904 )
2025-11-08 16:35:15 +08:00
Wu Clan
e6e53296a8
Optimize sqlalchemy types to simplify compatibility ( #870 )
...
* Optimize sqlalchemy types to simplify compatibility
* Update TimeZone type comment
2025-10-20 17:41:00 +08:00
Wu Clan
0cbe635ed8
Update superuser verify to dependency injection ( #852 )
...
* Update superuser verify to dependency injection
* Update sql scripts
2025-10-14 17:38:47 +08:00
Wu Clan
a6bbf2971d
Update the menu title in SQL scripts ( #770 )
2025-08-15 19:58:46 +08:00
Wu Clan
3b04329b04
Add the test user to SQL scripts ( #696 )
2025-06-27 18:43:42 +08:00
Wu Clan
b9a9b1efe6
Update the SQL to adapt frontend plugin ( #694 )
2025-06-26 21:58:35 +08:00
Wu Clan
0bc6f6a719
Update the init test data for SQL scripts ( #685 )
...
* Update the init test data for SQL scripts
* Update plugin sql scripts
* fix snowflake id
2025-06-24 10:15:23 +08:00
Wu Clan
8638c26db1
Add the snowflake ID sql script ( #675 )
2025-06-20 20:31:44 +08:00
Wu Clan
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
Dylan
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
Dylan
845f2f0ff8
Fix the postgresql sql script syntax error ( #669 )
2025-06-15 16:38:48 +08:00
Wu Clan
6883ec34c6
Fix the sidebar menu type filtering ( #667 )
2025-06-13 16:50:53 +08:00
Wu Clan
5621daea98
Update the version to 1.5.0 ( #663 )
2025-06-09 21:32:12 +08:00
Wu Clan
71d168dfea
Add data permission in init test sql ( #662 )
2025-06-09 21:00:49 +08:00
Wu Clan
2d4365189d
Update menu sort in init test sql ( #661 )
2025-06-09 20:27:56 +08:00
Wu Clan
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
Wu Clan
b415dc8912
Add OAuth2 user to auto bind a role ( #656 )
2025-06-08 20:18:24 +08:00
Wu Clan
7bab8cc636
Update default value for role filter scopes ( #649 )
2025-05-31 23:53:47 +08:00
Huyuwei
5f3823cb6d
Fix auto-increment id for postgres init data ( #632 )
...
* fix: Reset auto-increment values for all tables based on max id
* refactor: Remove auto-increment reset for mysql
* remove unused code
2025-05-28 13:01:44 +08:00
Wu Clan
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
Wu Clan
bcc764142b
Update the OAuth2 module to plugin ( #620 )
...
* Update the OAuth2 module to plugin
* update create user social param
2025-05-22 14:36:23 +08:00
Wu Clan
16a0f9646d
Update the SQL script for creat tables ( #597 )
2025-04-28 19:39:33 +08:00
Wu Clan
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
Wu Clan
0833cd5443
Optimize the userinfo cache cleaning logic ( #586 )
2025-04-23 12:40:27 +08:00
Wu Clan
80cef6dde7
Update code generator file and table naming ( #579 )
...
* Update code generator file and table naming
* Update column table comment
2025-04-17 17:47:20 +08:00
Wu Clan
c9e9a45288
Update the vben5 tree data structure ( #564 )
2025-04-02 23:18:55 +08:00
Wu Clan
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
Wu Clan
87af1f1319
Fix the sql script for init data ( #530 )
2025-02-25 21:42:03 +08:00
Wu Clan
b0f675f697
Delete the model redundancy level field ( #518 )
2025-02-24 12:30:08 +08:00
Wu Clan
ebe710fac2
Update menu field show to display ( #498 )
2025-01-23 22:46:05 +08:00
Meepoljdx
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
Wu Clan
4f59f459a0
Remove data scope in the role model ( #478 )
2024-12-24 17:29:17 +08:00
Wu Clan
7c4e288fd6
Simplify data rule and remove type ( #468 )
...
* Simplify data rule and remove type
* fix lint
* fix user info cache
2024-11-27 14:09:57 +08:00
Wu Clan
1838b63b11
Fix schema type of user role rule ( #467 )
...
* Fix schema type of user role rule
* Fix sql scripts
2024-11-24 16:42:40 +08:00
Wu Clan
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
Wu Clan
ab4495ce65
Optimize and normalize the code generator ( #430 )
2024-09-24 13:50:02 +08:00
Wu Clan
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
Wu Clan
f9ec9d5d56
Add code generator app ( #318 )
...
* Add code generator app
* Define the generator interfaces
* Update the name of the template files
* update lock hash
* update route and schemas
* update gen code structure
* add some gen codes
* upgrade SQLAlchemy to release
* update template util
* Fix lint error
* Add template rendering code
* Add gen model code
* Fix gen model table
* Update business model column naming
* Update any route
* Fix api ninja args
* Update gen business model
* Fix interface services logic
* Fix template render
* Add more code template
* Add model auto gen template
* Fix model type map style
* Update schema and model templates
* Update gen_model schema
* Fix model template if
* Update have_datetime_column field from gen_model to gen_business table
* Update the name of the zip
* Update model template vars
* Add download generate code
* Add preview code encoding
* Update service code template
* fix lint
* Update github auth tag
* Update requirements
* Add code generation write
* Update generate interface and zip conf
* Optimize templates details
* Update model relation column conf
* Add import tables module
* Add get all databases interface
* Fix get tables interface
* Bump pydantic to 2.8.1
* Upgrading lint dependencies
* Add import business and model implement
* Split import database execution code
* Update text SQL execution to prevent SQL injection
* Optimize schema name generation
* clean code
* Update create tables sql scripts
* Update import sql query conditions
* Add todo comments
* Mark business creation interface
* Update features in README
2024-07-10 12:12:29 +08:00
Wu Clan
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
Wu Clan
5c7d6659cf
Reconstruct RBAC authentication logic ( #264 )
...
* Reconstruct RBAC authentication logic
* fix typo
* Migrate casbin sqla Adapter to redis
* Delete casbin model conf file
* Add permission dependencies
* Add request permission depends on execution condition
* Update openapi authorization method
* Add request permission identity
* Add request permission dependency description
* Migrate casbin redis adapter to sqla
* Update menu model and add function
* Fix menu permission identification
* Update user partial interface permissions
* Update menu table SQL
* Add role menu permission description to README
* fix README typo
* Simplify permission dependency injection
* Fix menu authorization store
* Fix interface permission dependency order
* Update role menu permission flag
* Update the background permission logic of the interface
2024-01-08 09:35:47 +08:00
Wu Clan
3bb28a3379
Add init pytest data sql file ( #231 )
...
* Add init pytest data sql file
* Fix SQL style
2023-10-22 20:54:27 +08:00
Wu Clan
d9ffe20121
Fix the interface logic for dept details ( #201 )
...
* Fix the interface logic for dept details
2023-08-12 21:17:50 +08:00