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
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
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
811fd278f7
Update SQL files and use them as execution targets ( #188 )
2023-07-29 00:18:16 +08:00
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
62fdda40e9
Bump Async SQLAlchemy Adapter from 1.1.0 to 1.2.0 ( #187 )
2023-07-26 20:37:09 +08:00
8677bc3fc8
Fix schema enum condition exception ( #185 )
...
* Fix schema enum condition exception
* unified enum type suffix
2023-07-24 17:04:14 +08:00
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
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
3759e44786
Add the role status conditional query ( #181 )
2023-07-21 15:50:38 +08:00
bdcb560e81
Add get roles related interface ( #178 )
2023-07-16 13:53:26 +08:00
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
d877c86664
Update monitoring return data ( #176 )
2023-07-13 17:44:07 +08:00
44befcc79f
Add query users by department ID ( #175 )
...
* Add query users by department ID
* fix dept parent id schema field
* fix dept get all select
* update the test sql
2023-07-09 16:39:37 +08:00
865dfccf08
Add demo site mode ( #173 )
...
* Add demo site mode
* fix demo site whitelist
2023-07-07 17:55:56 +08:00
5064903dd4
Custom request rate limit callback function ( #174 )
...
* Custom request rate limit callback function
* update the function docs
2023-07-07 17:46:46 +08:00
5a3ede3837
Fix the menu query children exception ( #171 )
2023-07-07 17:46:18 +08:00
b194a32395
fix get_tree_data exception. ( #169 )
2023-07-04 20:41:17 +08:00
f41706deac
Add menu table title field ( #170 )
...
* Add menu table title field
* update field unique index
2023-07-04 19:15:21 +08:00
84127066b7
Fix CORS 500 status code exception ( #167 )
...
* Fix CORS 500 status code exception
* update menu test sql data
* update docs string
* fix the exception category
2023-07-04 15:07:56 +08:00
22e205524b
Enable login interface captcha function ( #165 )
...
* enable captcha login
* Delete menu meta column
* Update the login interface rate limit
2023-07-02 16:05:40 +08:00
f3e5c788e3
Bump fastapi from 0.95.2 to 0.99.0 ( #164 )
2023-07-02 00:44:47 +08:00
6f2c45a78d
Update menu handling logic ( #163 )
...
* Restore superuser menu to get
* Update menu table fields
* Update the sql file
* Update the readme file
* lint
2023-07-02 00:44:27 +08:00
ee57c08ea6
Adapt to frontend ( #162 )
...
* Adapt to the frontend.
* Fix role update exception.
* add current user info interface.
* add meta schema
* annotate captcha
* update interface to restful specification
* update info to me
2023-07-01 18:51:10 +08:00
01fb391934
Add database init sql files ( #160 )
2023-06-26 19:58:43 +08:00
caa90a746d
Update some interface permission checks ( #158 )
2023-06-26 19:58:32 +08:00
d710e86e55
Update the instructions in the readme ( #159 )
2023-06-26 18:28:39 +08:00
02ae49c83b
Add task-related interfaces ( #157 )
...
* Add task-related interfaces
* fix merge error
2023-06-26 18:18:29 +08:00
a41cdde838
Update some routing groups ( #155 )
...
* Update some routing groups
* move prefix to init
2023-06-26 18:06:57 +08:00
63e11cd955
Add processing after password reset ( #154 )
...
* Add processing after password reset
* Update message prompt
2023-06-24 18:32:33 +08:00
3d0d0ccde3
Refactor global datetime to timezone datetime ( #152 )
2023-06-20 16:50:42 +08:00
da6f6b8c24
Fix permitted exception. ( #151 )
...
* Fix permitted exception.
* Fix opera get code and msg exception.
2023-06-19 19:31:54 +08:00
465b68d35e
Add datetime util ( #149 )
...
* Add the datetime utils
* lint
2023-06-19 09:24:23 +08:00
59f1daba90
Add the schema base class ( #148 )
2023-06-18 19:47:39 +08:00
616243c0dc
Fix the exception handler HTTPException type error ( #146 )
2023-06-17 19:55:04 +08:00
8251c66fc3
Fix the operation log field type error ( #145 )
...
* Fix the operation log title error
* Fix the operation log UploadFile type error
2023-06-17 18:56:46 +08:00
439ab09ebd
Update the status field type to int ( #143 )
2023-06-17 17:22:32 +08:00
29b170f599
Update the server monitoring interface ( #141 )
2023-06-17 16:19:57 +08:00
3aa68cdb6c
Fix the operation log message error ( #140 )
2023-06-17 16:17:30 +08:00
47b4409b42
Add system monitoring interface ( #135 )
2023-06-15 20:13:56 +08:00
d498969400
The level field is deprecated but remained ( #134 )
2023-06-15 17:25:54 +08:00
29d5a17190
Update JWT status detection ( #133 )
2023-06-15 12:01:06 +08:00
c53fa9fda8
Update and fix permissions logic ( #129 )
...
* Update and fix permissions logic
* feat: Update base route
* Exclude non-system routing record operation logs
* Update the parameter variable name
* Fix the jwt authorization verify
* Roles menu authorization is turned off by default
* Fix the operation log code field type
* Update the casbin routing string to config
* Fix JWT middleware
* Add custom msg of token error
* Add the character length of the operation log code field
* Update the logout interface authorization
2023-06-14 22:34:56 +08:00
b18dea55aa
add dictionary management interface ( #127 )
...
* add dictionary management interface
* fix dictionary data one-to-many annotation
2023-06-14 15:39:41 +08:00
c9d620691c
fix the operation log storage exception ( #130 )
2023-06-14 15:00:43 +08:00
f8b48e4eea
Add login graphic captcha ( #124 )
...
* add the get verification code interface
* add the login interface captcha
* clean up the debugging code
2023-06-13 23:27:12 +08:00
0bb6275eba
Omitting table names from the autogenerate process ( #125 )
2023-06-13 23:20:44 +08:00
5c64d99451
Add menu-related interfaces ( #118 )
...
* Adding menu-related interfaces
* fix schema typo
* add menu query interface validation
2023-06-13 16:37:39 +08:00
ceb8bdc607
Fix log table msg field length ( #117 )
...
* Fix log table msg field length
* add logo url path to opera log exclude
2023-06-12 21:57:13 +08:00
df4de20ba4
Update development process suggestions ( #114 )
2023-06-12 18:50:17 +08:00