Commit Graph
419 Commits
Author SHA1 Message Date
Wu Clan 3b65679fb0 Add token related interfaces (#495) 2025-01-23 13:12:46 +08:00
Wu Clan 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
qhp13654398483 cf693cdce6 Fix serialization when pagination is empty (#491)
* bug fix

* update codes
2025-01-18 20:47:31 +08:00
Wu Clan 3fe0023a0a Update redocs arg and url to redoc (#493) 2025-01-17 16:06:30 +08:00
Wu Clan 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
dividduang 64ee74bb38 Add system notice interface (#487) 2025-01-14 12:45:33 +08:00
Wu Clan 1e855dbb86 Optimize docker deploy settings and scripts (#486) 2025-01-13 17:33:54 +08:00
Wu Clan e0606d115c Update the route version define location (#485)
* Update the route version define location

* fix lint
2025-01-10 14:00:26 +08:00
Wu Clan 8b159536ce Fix user cache when updated user role (#483) 2025-01-03 18:53:26 +08:00
Wu Clan 2279ff7c58 Bump msgspec from 0.18.6 to 0.19.0 (#482) 2024-12-28 17:49:28 +08:00
Wu Clan 3f6c43e15d Update opera middleware request args parse (#481) 2024-12-27 18:27:05 +08:00
Wu Clan 6c1f68ec00 Update opera log cost time precision (#479) 2024-12-25 22:09:27 +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 58b24b62ac Fix login log parameter error in task (#476) 2024-12-13 16:40:48 +08:00
Wu Clan a9b9b58290 Fix and update alembic env and ini (#474) 2024-12-11 19:55:46 +08:00
Wu Clan f90b4667c3 Fix data rule expression column comment (#473) 2024-12-09 12:21:40 +08:00
Wu Clan 3b2b45d6a5 Optimized user auth for auth service (#472) 2024-12-07 14:03:30 +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
dependabot[bot] 6d5d1a48f3 Bump tornado from 6.4.1 to 6.4.2 in /backend (#466)
Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.4.1 to 6.4.2.
- [Changelog](https://github.com/tornadoweb/tornado/blob/v6.4.2/docs/releases.rst)
- [Commits](https://github.com/tornadoweb/tornado/compare/v6.4.1...v6.4.2)

---
updated-dependencies:
- dependency-name: tornado
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-23 21:35:05 +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 b29a3cbfb7 Update user password encryption method (#463) 2024-11-18 14:07:05 +08:00
Wu Clan a15693cc26 Fix celery service functions error (#462) 2024-11-16 17:13:29 +08:00
Wu Clan 5e60d9c248 Update api body params to schema (#461) 2024-11-16 11:07:40 +08:00
Wu Clan 12d7ec8174 Update code generator API file structure (#460) 2024-11-15 17:03:35 +08:00
Wu Clan 601a6514a8 Update some service class invocations (#459) 2024-11-15 17:02:52 +08:00
Wu Clan fc5a0f9dfa Update the celery configuration and tasks (#458)
* Update the celery configuration and tasks

* fix message notifications
2024-11-15 14:29:02 +08:00
Wu Clan 576ed77d36 Fix code generation file missing (#457) 2024-11-13 19:26:17 +08:00
Wu Clan 06cbe56201 Fix typo in contribution description (#456) 2024-11-13 13:40:37 +08:00
Wu Clan 87eec419e6 Update multiple version dependency specifiers (#454) 2024-11-12 19:52:42 +08:00
Wu Clan 0e7cef5b6c Update system config to dynamic (#447)
* Update system config to be dynamic

* update the configuration interface

* custom parameters are allowed

* update apis

* add more code

* finish

* fix bugs
2024-11-10 07:30:05 +08:00
Wu Clan 5c0b107142 Update singleton pattern class typing (#452) 2024-11-08 12:16:13 +08:00
Wu Clan 0cfeeb4e45 Bump sqlalchemy crud plus version to 1.5.0 (#450) 2024-11-07 13:42:40 +08:00
Wu Clan 0a1f0a90b2 Add dependency-groups by PEP 735 (#444) 2024-11-03 18:56:07 +08:00
Wu Clan 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
Wu Clan 0810647c48 Update project manager pdm to uv (#440)
* Update project manager pdm to uv

* Fix ci venv

* Fix ci venv source
2024-10-12 18:09:41 +08:00
Wu Clan a3d079cfdf Optimize the serialize return of SQLA select (#436) 2024-10-10 12:11:05 +08:00
Wu Clan 03add792a1 Bump redis from 5.0.1 to 5.1.0 (#433)
* Bump redis from 5.0.1 to 5.1.0

* fix requirements.txt
2024-09-28 15:05:18 +08:00
Wu Clan ab4495ce65 Optimize and normalize the code generator (#430) 2024-09-24 13:50:02 +08:00
Wu Clan 36a458b957 Fix the OAuth2 service login log task (#428) 2024-09-22 12:54:31 +08:00
Wu Clan 23d9d17d9f Fix pydantic field and model validator (#427) 2024-09-21 17:59:52 +08:00
Wu Clan 8da993655b Add request state middleware (#426)
* Add request state middleware

* Fix linux do OAuth2 redirect uri
2024-09-21 17:57:27 +08:00
Wu Clan 6792bf9954 Fix the missing OAuth2 interface parameters (#425) 2024-09-20 20:12:13 +08:00
Wu Clan 6cf30b3c5d Update synchronous function calls in JWT (#423) 2024-09-18 22:24:05 +08:00
Wu Clan eb23d1b5f9 Update multi login sync update refresh tokens (#422) 2024-09-18 22:23:40 +08:00
Wu Clan 29ba40ef32 Update JWT errors class import (#421) 2024-09-13 12:02:20 +08:00
Wu Clan 02f65abf74 Fix for create new token cache delete (#420) 2024-09-13 12:01:49 +08:00
Wu Clan f5b7de6910 Optimize the internal implementation of serializers (#419) 2024-09-11 16:40:05 +08:00
Wu Clan ac8e4a0406 Fix the gen model template formatting (#416) 2024-09-10 16:26:23 +08:00