Commit Graph
137 Commits
Author SHA1 Message Date
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
dylananddowndawn 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
Wu Clan 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
Wu Clan 865dfccf08 Add demo site mode (#173)
* Add demo site mode

* fix demo site whitelist
2023-07-07 17:55:56 +08:00
Wu Clan 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
Wu Clan 5a3ede3837 Fix the menu query children exception (#171) 2023-07-07 17:46:18 +08:00
dylan b194a32395 fix get_tree_data exception. (#169) 2023-07-04 20:41:17 +08:00
Wu Clan f41706deac Add menu table title field (#170)
* Add menu table title field

* update field unique index
2023-07-04 19:15:21 +08:00
Wu Clan 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
Wu Clan 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
Wu Clan f3e5c788e3 Bump fastapi from 0.95.2 to 0.99.0 (#164) 2023-07-02 00:44:47 +08:00
Wu Clan 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
dylan 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
Wu Clan 01fb391934 Add database init sql files (#160) 2023-06-26 19:58:43 +08:00
Wu Clan caa90a746d Update some interface permission checks (#158) 2023-06-26 19:58:32 +08:00
Wu Clan d710e86e55 Update the instructions in the readme (#159) 2023-06-26 18:28:39 +08:00
Wu Clan 02ae49c83b Add task-related interfaces (#157)
* Add task-related interfaces

* fix merge error
2023-06-26 18:18:29 +08:00
Wu Clan a41cdde838 Update some routing groups (#155)
* Update some routing groups

* move prefix to init
2023-06-26 18:06:57 +08:00
Wu Clan 63e11cd955 Add processing after password reset (#154)
* Add processing after password reset

* Update message prompt
2023-06-24 18:32:33 +08:00
Wu Clan 3d0d0ccde3 Refactor global datetime to timezone datetime (#152) 2023-06-20 16:50:42 +08:00
dylan da6f6b8c24 Fix permitted exception. (#151)
* Fix permitted exception.

* Fix opera get code and msg exception.
2023-06-19 19:31:54 +08:00
Wu Clan 465b68d35e Add datetime util (#149)
* Add the datetime utils

* lint
2023-06-19 09:24:23 +08:00
Wu Clan 59f1daba90 Add the schema base class (#148) 2023-06-18 19:47:39 +08:00
Wu Clan 616243c0dc Fix the exception handler HTTPException type error (#146) 2023-06-17 19:55:04 +08:00
Wu Clan 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
Wu Clan 439ab09ebd Update the status field type to int (#143) 2023-06-17 17:22:32 +08:00
Wu Clan 29b170f599 Update the server monitoring interface (#141) 2023-06-17 16:19:57 +08:00