9 Commits

Author SHA1 Message Date
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
3d0d0ccde3 Refactor global datetime to timezone datetime (#152) 2023-06-20 16:50:42 +08:00
439ab09ebd Update the status field type to int (#143) 2023-06-17 17:22:32 +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
c9d620691c fix the operation log storage exception (#130) 2023-06-14 15:00:43 +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
c4c835cfb8 opera_log_middleware method split (#105)
* opera_log_middleware method split

* extract ip and ua information

* added ua and ip information to login log and operation log

* extract request args func

* desensitization adds async decorations

* fix get summary exception

* fix get summary exception2
2023-06-11 05:05:31 +08:00
bddbf3a1d8 Add os and browser parameters to opera log (#97) 2023-06-06 10:09:43 +08:00
627208b216 Add operation log related interfaces (#92)
* Add operation log related interfaces

* Update to native ASGI middleware

* add the opera model class to the __init__.py

* Executable code collation

* Reply to the access middleware

* Using the request extension params in the login log

* Fix the whitelist list

* Fix username resolution
2023-06-05 21:23:48 +08:00