Commit Graph
63 Commits
Author SHA1 Message Date
Wu Clan 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
Wu Clan 440f324a3d Update the logic for create new token (#516) 2025-02-17 16:56:45 +08:00
Wu Clan 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
Wu Clan 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
Wu Clan 1e0b04006b Fix OAuth2 service user last login time (#510) 2025-02-11 18:10:38 +08:00
Wu Clan d419343939 Fix OAuth2 service user last login time (#509) 2025-02-11 17:57:05 +08:00
Wu Clan eb3fd55321 Fix OAuth2 service register user args (#508) 2025-02-11 17:48:25 +08:00
Wu Clan 4aa4301abd Fix the user pagination api return schema (#507)
* Fix the user pagination api return schema

* lint
2025-02-11 14:28:02 +08:00
Wu Clan 20e873b6e5 Fix casbin policy api return schema (#500) 2025-01-24 21:54:20 +08:00
Wu Clan ebe710fac2 Update menu field show to display (#498) 2025-01-23 22:46:05 +08:00
Wu Clan e588913d54 Fix current user info detail schema (#499) 2025-01-23 22:31:39 +08:00
Wu Clan 1c46e2480c Fix return schema of user me api (#497) 2025-01-23 21:52:16 +08:00
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
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 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
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 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
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 5e60d9c248 Update api body params to schema (#461) 2024-11-16 11:07:40 +08:00
Wu Clan 601a6514a8 Update some service class invocations (#459) 2024-11-15 17:02:52 +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 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 5a52871e7e Optimize exception info opera log record (#413) 2024-09-09 22:52:05 +08:00
Wu Clan b13410c7d1 Optimize the naming of setting params (#410) 2024-09-09 11:50:22 +08:00
Wu Clan 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
Wu Clan 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
Wu Clan 4f5c5c28e6 Fix server monitor io blocking (#404) 2024-09-05 22:46:31 +08:00
Wu Clan 24528e6050 Updated refresh token storage logic (#403) 2024-09-05 21:37:25 +08:00
Wu Clan 87432a74c2 Fix the user permissions update services (#397) 2024-09-01 20:23:25 +08:00
Wu Clan e19ae09966 Fix OAuth2 user query conditions (#396) 2024-09-01 20:22:58 +08:00
Wu Clan a698373064 Bump sqlalchemy crud plus version to 1.3.0 (#388) 2024-08-25 23:02:13 +08:00
Wu Clan b43c08b5d2 Update redis cache prefix separator to : (#387)
* Update redis cache prefix separator to `:`

* Update refresh token redis prefix
2024-08-22 12:28:05 +08:00
Wu Clan 2002068d81 Fix logging when a login error occurs (#386) 2024-08-22 12:26:13 +08:00
Wu Clan 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