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
Wu Clan
7409285b49
Add api and casbin related interfaces ( #198 )
...
* Add get all apis and more interface
* Add casbin get related interface
* typo
* update function name
2023-08-07 20:46:32 +08:00
Wu Clan
5aacc1607d
Update the Casbin model matcher rules ( #197 )
2023-08-04 19:38:31 +08:00
Wu Clan
09b42c3882
Update the nickname field creation logic ( #196 )
...
* Update the nickname field creation logic
* fix nickname field transfer
2023-08-04 19:33:40 +08:00
Wu Clan
64f994c28f
Add more Casbin related interfaces ( #195 )
...
* Add more Casbin related interfaces
* lint
* update delete all api paths
* fix decimal data format
* update add user interface return
* fix add user interface return
* fix interface path is wrong
* lint
2023-08-03 14:42:52 +08:00
Wu Clan
c1295dda84
Fix casbin async enforcer ( #192 )
...
* rename the file casbin_rbac to rbac
* omit
* fix casbin async enforcer
* update the group rule interface access permissions
* add menu permission validation
* update the init test data sql
* add the staff field to the user information query return
2023-07-31 17:12:07 +08:00
Wu Clan
b41aca53ad
Update roles and nickname fields to be optiona ( #190 )
...
* Update roles and nickname fields to be optional
* Update the department and role fields is optional
* fix role judgment
* New add user interface
* update interface permissions
* fix nickname judgment
2023-07-31 11:52:26 +08:00
Wu Clan
eb662e4525
Add user password encryption salt ( #191 )
...
* Add user password encryption salt
* update the salt logic
* Update the SQL files
* Add an update admin login permission interface
* update the is_staff field comment
* update the staff error msg
* Update user backend management operation permissions
2023-07-31 10:53:46 +08:00
Wu Clan
811fd278f7
Update SQL files and use them as execution targets ( #188 )
2023-07-29 00:18:16 +08:00
dependabot[bot]
9a17c3b330
Bump cryptography from 41.0.0 to 41.0.2 ( #179 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 41.0.0 to 41.0.2.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/41.0.0...41.0.2 )
---
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-07-27 18:27:38 +08:00
Wu Clan
62fdda40e9
Bump Async SQLAlchemy Adapter from 1.1.0 to 1.2.0 ( #187 )
2023-07-26 20:37:09 +08:00
Wu Clan
8677bc3fc8
Fix schema enum condition exception ( #185 )
...
* Fix schema enum condition exception
* unified enum type suffix
2023-07-24 17:04:14 +08:00
Wu Clan
91803a773e
Add interface to get all menus of a role ( #183 )
...
* Add interface to get all menus of a role
* deduplicate data classes
* update get role menu routing
* update casbin authentication
2023-07-22 16:57:41 +08:00
Wu Clan
4ed1899f8f
Update role menu interface is standalone ( #182 )
...
* Update role directory interface is standalone
* fix data type conversion error
* update the body to the schema type
* fix menu permission verification
2023-07-21 17:11:24 +08:00
Wu Clan
3759e44786
Add the role status conditional query ( #181 )
2023-07-21 15:50:38 +08:00
Wu Clan
bdcb560e81
Add get roles related interface ( #178 )
2023-07-16 13:53:26 +08:00
Wu Clan
f21006000a
Update user role interface to standalone ( #177 )
...
* Update user role interface to standalone
* Fix the userinfo schema department field type
* fix update userinfo values
* fix update user avatar value
* update readme docs
* update test data sql
* update readme typo
* update readme docs
2023-07-14 17:01:47 +08:00
Wu Clan
d877c86664
Update monitoring return data ( #176 )
2023-07-13 17:44:07 +08:00