Wu Clan
2ae020e70a
Restore the Github ci workflows ( #281 )
...
* Restore the Github ci workflows
* upgrade actions version
2024-01-31 10:37:41 +08:00
Wu Clan
94cbc629cd
Fix custom validator exception serialization in dev mode ( #278 )
...
* Fix custom validator exception serialization in dev mode
* Fix formatting judgment conditions
2024-01-24 10:17:20 +08:00
Wu Clan
4f1d1c2094
Add custom email string type ( #277 )
2024-01-24 10:17:04 +08:00
Wu Clan
cd96d2f5cd
Update dao and service instantiation styles ( #276 )
...
* Update dao and service instantiation styles
* Fix auth_service use
2024-01-22 10:22:13 +08:00
Wu Clan
576160129a
Update interface coding style ( #275 )
2024-01-20 19:58:19 +08:00
Wu Clan
754b9d9edc
Fix dept and menu parent id update logic ( #274 )
2024-01-20 19:58:06 +08:00
Wu Clan
b5c656f308
Update sponsor links and FUNDING ( #273 )
2024-01-18 23:06:42 +08:00
Wu Clan
a41b1673e5
Update schemas naming style ( #272 )
2024-01-18 19:27:41 +08:00
Wu Clan
a22aaa0a3e
Attempt to optimize serialization performance ( #266 )
...
* Attempt to serialize performance optimization
* Add casbin service functions return type
* update comments
2024-01-11 20:15:03 +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
f39d11eb9d
Fix use request.form() in middleware ( #260 )
...
* Fix request.form() in middleware
* resume global exception handling
* update the order in which data is processed
* Add demo interface for uploading files
* fix path params
2024-01-03 22:23:56 +08:00
Wu Clan
227221ff67
Clean up outdated pydantic dict methods ( #262 )
2024-01-02 22:05:20 +08:00
Wu Clan
27d229c250
Add the project status page to the README ( #259 )
2023-12-23 18:24:52 +08:00
Wu Clan
754498be0b
Add pydantic-v2 migration reminder ( #257 )
...
* Add pydantic-v2 migration reminder
* Fix format rendering
* Beautify the date format
* Add celebratory content
2023-12-21 00:38:59 +08:00
Wu Clan
7bfc7908ab
Migrate to pydantic-v2 ( #246 )
...
* update the schema to pydantic-v2
* upgrade the ruff version in pre-commit
* update pagination to p-v2
* update encoder to p-v2
* update response_schema to p-v2
* update exception_handler to p-v2
* update config to p-v2
* update crud base to p-v2
* Migrate the JSON Encoder to the official one to reduce maintenance costs
* updated readme description
* restore the bcrypt compatible version
* fix validation error log code return format
* Fix manual processing method for GetCurrentUserInfo
* Integrate pydantic validate exceptions and user exceptions
* Fix validation exception handler
* add custom open response code
* Add a stand-alone assertion error handler
* Restore todo deleted by v1 branch to v2
* Add email and phone number types
2023-12-20 23:56:37 +08:00
Wu Clan
0b7f36ec4d
Clean up todo and fix typo ( #256 )
2023-12-20 00:44:54 +08:00
Wu Clan
af0ab78fc9
Add a stand-alone assertion error handler ( #255 )
2023-12-20 00:35:38 +08:00
Wu Clan
00ad74b5c2
Prepare to lock the pydantic-v1 branch ( #254 )
2023-12-19 23:02:14 +08:00
Wu Clan
1574d549e0
Fix exception handler parameter call ( #253 )
...
* Fix exception handler parameter call
* update the validation exception handler
* Update the content returned by the validation exception
* update import of JSONDecodeError
* fix validation exception handler typing
* Update the content returned by the validation exception handler
2023-12-19 21:17:49 +08:00
Wu Clan
228ad0e82b
Simplify the multivariate expression of exceptions handler ( #252 )
...
* Simplify the multivariate expression of cors middleware
* Simplify the multivariate expression of assert exception handler
2023-12-18 21:36:24 +08:00
Wu Clan
58eb24c11a
Fix get all G rules interface logic ( #250 )
2023-12-17 21:20:23 +08:00
Wu Clan
7e17cbb4d8
Optimize operation log code type logic ( #249 )
2023-12-17 20:44:53 +08:00
Wu Clan
50e6e6e647
Fix refresh token interface user type format ( #248 )
2023-12-17 20:21:11 +08:00
Wu Clan
88e8e88c5e
Fix validation error log code return type ( #247 )
2023-12-17 20:15:21 +08:00
Wu Clan
4282754256
Add a Telegram interactive link ( #245 )
2023-12-17 14:41:26 +08:00
dependabot[bot]
27fa46baac
Bump cryptography from 41.0.2 to 41.0.6 ( #243 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 41.0.2 to 41.0.6.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/41.0.2...41.0.6 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 09:28:14 +08:00
Wu Clan
470cd9a9c2
adopt ruff formatter ( #242 )
...
* adopt ruff formatter
* Fix merge format
2023-11-22 19:09:08 +08:00
Wu Clan
447667ccf6
Fix database engine UUID type compatibility ( #241 )
2023-11-22 18:54:29 +08:00
Wu Clan
ba738e5989
Fix unregistered error received when celery call task ( #239 )
2023-11-09 22:47:29 +08:00
Wu Clan
9bb6c7ce27
Fix the conflict between Access and OperaLog middleware ( #236 )
...
* Fix the conflict between Access and OperaLog middleware
* Restore the app invocation logic
* Restore the Gzip middleware execution location
2023-11-01 15:03:51 +08:00
Wu Clan
275f9e5e93
Replace APScheduler to Celery asynchronous tasks ( #229 )
...
* Replace APScheduler to Celery task
* black format
* Add celery to run the script
* Update celery usage to README
* Update test task
* Add celery rabbitmq broker
* Fix dockerfiles
* Add task interface access authorization
* Update celery deploy run
* Fix dockerfiles
* Fix supervisor conf
* Update celery broker default is redis
* Force the pro env to use rabbitmq
* Update the task interface
* Add celery beat README description
* Update warning text style
* Revoke the default config comment content of the supervisor
2023-10-27 11:59:46 +08:00
Wu Clan
81c0d2cc74
Fix pytest interface unit tests ( #233 )
2023-10-23 19:30:30 +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
d0b16b67ef
Remove the NoReturn return type ( #232 )
2023-10-22 20:46:53 +08:00
Wu Clan
038df6a1f6
Fix the task run method and data type ( #228 )
2023-10-20 10:16:02 +08:00
Wu Clan
bc942cde49
Add token decoding expiration exception ( #227 )
...
* Add token decoding expiration exception
* Catch any decoding exceptions
2023-10-18 18:37:07 +08:00
Wu Clan
079b994541
Update the pytz library to zoneinfo ( #226 )
...
* Update the pytz library to zoneinfo
* delete debug print
2023-10-16 18:45:08 +08:00
Wu Clan
4c33e36959
Fix global unknown exception return ( #224 )
2023-10-13 18:26:23 +08:00
Wu Clan
5173ff734f
Update the global unified response code ( #223 )
...
* Update the global unified response
* Update the uniform return model default
* Update the environment variable type
2023-09-27 13:45:38 +08:00
Wu Clan
46d6fbccf5
Simplified query interface returns data serialization ( #219 )
...
* Simplified query interface returns data serialization
* reply to the inquiry pydantic verification
* restore import sorting
2023-09-27 10:46:30 +08:00
Wu Clan
44844698ae
Optimize role menu authorization logic ( #221 )
2023-09-26 18:13:08 +08:00
Wu Clan
de9b10a867
Fix token whitelist and new token storage ( #220 )
...
* Fix token whitelist and new token storage
* Fix logout interface logic
2023-09-26 18:09:55 +08:00
Wu Clan
10f5fa6198
Update the README document ( #214 )
2023-09-25 16:51:05 +08:00
Wu Clan
5794cec94a
Fix the task interface return data ( #215 )
2023-09-25 16:50:36 +08:00
Wu Clan
0ce7225738
Fix int enum class inheritance ( #208 )
2023-09-02 17:17:23 +08:00
dylan
26d7492d6b
Add ip location cache ( #205 )
...
* Add ip location cache
* Fix ip location cache
* Fix getting subscripts for offline locations
2023-08-28 18:28:22 +08:00
dylan and downdawn
83b6a10327
Add jwt login whitelist ( #204 )
...
Co-authored-by: downdawn <downdawn22@gmail.com >
2023-08-28 15:33:18 +08:00
Wu Clan
d0388b0256
Add ItsDangerous request parameters encryption ( #203 )
...
* Add ItsDangerous request parameters encryption
* fix typo
* update AES decryption returned as a string
2023-08-27 23:26:05 +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
Wu Clan
0b95f2c61e
Update asynccasbin to casbin async api ( #199 )
...
* Update asynccasbin to casbin async api
* remove pymysql dependency
* update the test-user test to admin
2023-08-08 17:27:20 +08:00