Commit Graph
453 Commits
Author SHA1 Message Date
Wu Clan f5b7de6910 Optimize the internal implementation of serializers (#419) 2024-09-11 16:40:05 +08:00
Wu Clan ac8e4a0406 Fix the gen model template formatting (#416) 2024-09-10 16:26:23 +08:00
Wu Clan b6821612af Fix exception logging in opera log (#417) 2024-09-10 16:19:19 +08:00
Wu Clan 8783d74cc7 Fix log output and logging levels (#414)
* Fix log output and logging levels

* update record order
2024-09-09 23:14:56 +08:00
Wu Clan 5a52871e7e Optimize exception info opera log record (#413) 2024-09-09 22:52:05 +08:00
Wu Clan 90b2cca984 Bump pydantic from 2.8.1 to 2.9.1 (#412) 2024-09-09 20:46:10 +08:00
Wu Clan 9c37297858 Update the global exception log stack (#406)
* Update the global exception log stack

* del todo
2024-09-09 15:56:38 +08:00
Wu Clan 1f95a776f0 Add trace ID to exception handlers (#411) 2024-09-09 15:46:13 +08:00
Wu Clan b13410c7d1 Optimize the naming of setting params (#410) 2024-09-09 11:50:22 +08:00
Wu Clan 9aa2d7b593 Add request trace ID record (#409)
* Fix cookie expiration time zone

* Fix the loss of cross-domain cookies

* Add request trace ID record

* Fix the dependency lock file
2024-09-09 10:43:34 +08:00
Wu Clan 1d956cace4 Fix cookie expiration time zone (#408)
* Fix cookie expiration time zone

* Fix the loss of cross-domain cookies
2024-09-08 17:33:51 +08:00
Wu Clan 4f5c5c28e6 Fix server monitor io blocking (#404) 2024-09-05 22:46:31 +08:00
Wu Clan 24528e6050 Updated refresh token storage logic (#403) 2024-09-05 21:37:25 +08:00
Wu Clan 7853233ddb Update the interactive link address (#402) 2024-09-04 20:06:25 +08:00
Wu Clan 51f3011947 Update code generate comment column format (#399) 2024-09-03 14:40:22 +08:00
Wu Clan 87432a74c2 Fix the user permissions update services (#397) 2024-09-01 20:23:25 +08:00
Wu Clan e19ae09966 Fix OAuth2 user query conditions (#396) 2024-09-01 20:22:58 +08:00
Wu Clan 8765f833d2 Fix code generation to new features (#393) 2024-08-31 18:08:24 +08:00
Wu Clan c22202eac4 Update the README announcement to note (#390)
* Update the README announcement to note

* delete English README some content
2024-08-28 10:30:26 +08:00
Wu Clan a698373064 Bump sqlalchemy crud plus version to 1.3.0 (#388) 2024-08-25 23:02:13 +08:00
Wu Clan b43c08b5d2 Update redis cache prefix separator to : (#387)
* Update redis cache prefix separator to `:`

* Update refresh token redis prefix
2024-08-22 12:28:05 +08:00
Wu Clan 2002068d81 Fix logging when a login error occurs (#386) 2024-08-22 12:26:13 +08:00
六月andliuyue bb0d7f3f56 Fix arm system cpu frequency retrieval (#385)
* Fix: Disable CPU frequency retrieval on macOS systems with Apple Silicon (closes #384)

* Fix: Solve the single quote problem

---------

Co-authored-by: liuyue <yshan2028@gmail.com>
2024-08-21 21:37:26 +08:00
Wu Clan c743182211 Optimize serialization and jwt performance (#382)
* Optimize serialization and algorithm performance

* Fix get tree data to async

* Removed CPU-intensive multi-threaded execution

* Update pdm pre commit to 2.18.0

* Add jwt user info cache

* Update ci

* Fix ci

* Fix redis delete prefix

* Adapt to JWT user instance

* Update jwt middleware token parse
2024-08-17 09:26:16 +08:00
Wu Clan 22586dd947 Add directory tree and update app notes (#380) 2024-08-13 10:45:54 +08:00
Wu Clan f61dc4fc84 Update user and auth error message (#379) 2024-08-11 21:54:46 +08:00
Wu Clan 144d704a5d Fix code generation model create and update (#378) 2024-08-11 21:32:09 +08:00
Wu Clan f30a18844e Remove current menu status auth (#374) 2024-08-11 21:00:27 +08:00
Wu Clan 043a622e67 Update code generate download api auth (#376) 2024-08-04 19:43:03 +08:00
Wu Clan a602dff739 Update some code generation api and params (#373)
* Update some code generation api and params

* Update get business api query

* Add get business models api

* Fix get business models api serialize

* Add get generate code path api

* Update download method post to get

* Add get model detail api

* Fix crud model method

* Fix get model api return

* Fix update model service

* Update create update model service

* Add code generate sql

* Add code generate api permissions

* Update code gen path join
2024-08-04 15:24:09 +08:00
Wu Clan 863dfed4ec Add custom code template pathname config (#372) 2024-07-28 12:38:05 +08:00
Wu Clan ceb8fb1cb2 Update code generate business model datetime column (#371) 2024-07-28 11:58:46 +08:00
Wu Clan 21fed49d7b Update access log cost time style (#370) 2024-07-27 12:04:22 +08:00
Wu Clan c9be643e76 Update create new token function return type (#369)
* Update create new token function return type

* update args input
2024-07-27 12:03:33 +08:00
Wu Clan 7287093772 Update operation log middleware info reading (#368)
* Fix operation log middleware summary reading

* update ua info and ip info

* update opera middle functions

* move dataclasses.py

* fix lint
2024-07-27 11:00:36 +08:00
Wu Clan 2112523b4c Fix celery asynchronous task execution (#367) 2024-07-26 19:00:38 +08:00
Wu Clan 34506c3039 Add page to display dynamic configuration (#365)
* Add page to display dynamic configuration

* update config data and api

* add config route

* update config api route

* update config api route

* fix config schema

* update config services
2024-07-25 19:11:06 +08:00
Wu Clan f94c2d7948 Fix code auto-generated model creation (#364) 2024-07-23 17:58:23 +08:00
Wu Clan 294d7ae9e9 Update crud user staff field logic (#363) 2024-07-23 15:48:40 +08:00
Wu Clan a0d47733a9 Bump fast captcha version to 0.3.2 (#362) 2024-07-22 23:31:00 +08:00
Wu Clan 581bed2a33 Update oauth2 route naming and return (#361)
* Update oauth2 route naming and storage

* Update some arg naming

* Update oauth2 redirect uri

* adapts to the front-end oauth2
2024-07-22 13:47:43 +08:00
Wu Clan f9c4028c60 Update the docker-compose deployment script (#360)
* Update the docker-compose deployment script

* fix typo

* Update docker compose fba_ui conf

* Update the docker compose fba_ui conf

* Add docker compose image repository name

* Update docker compose fba_ui comment
2024-07-21 09:55:39 +08:00
Wu Clan 9752ce8e92 Fix alembic migration failure caused by model (#359) 2024-07-18 20:22:34 +08:00
Wu Clan 3cfc95cb02 Add code generator to create init files (#358) 2024-07-18 18:05:56 +08:00
Wu Clan 3d12c3270e Fix gen model and schema template formatting (#356)
* Fix gen model column default value

* Update gen templates and schema_name storage

* Fix lint
2024-07-17 17:06:55 +08:00
Wu Clan 812b8a0fb7 Update code generation model column type storage (#352) 2024-07-12 21:21:01 +08:00
Wu Clan e5262f0b32 Fix model template conditional syntax (#351)
* Fix model template conditional syntax

* Update README
2024-07-12 16:42:30 +08:00
Wu Clan 42ee5d7355 Add code generator README document (#349)
* Update and enable access log middleware

* Add code generator README document

* additional doc
2024-07-10 17:08:15 +08:00
Wu Clan 5a283b1c3c Update and enable access log middleware (#348) 2024-07-10 16:47:23 +08:00
Wu Clan f9ec9d5d56 Add code generator app (#318)
* Add code generator app

* Define the generator interfaces

* Update the name of the template files

* update lock hash

* update route and schemas

* update gen code structure

* add some gen codes

* upgrade SQLAlchemy to release

* update template util

* Fix lint error

* Add template rendering code

* Add gen model code

* Fix gen model table

* Update business model column naming

* Update any route

* Fix api ninja args

* Update gen business model

* Fix interface services logic

* Fix template render

* Add more code template

* Add model auto gen template

* Fix model type map style

* Update schema and model templates

* Update gen_model schema

* Fix model template if

* Update have_datetime_column field from gen_model to gen_business table

* Update the name of the zip

* Update model template vars

* Add download generate code

* Add preview code encoding

* Update service code template

* fix lint

* Update github auth tag

* Update requirements

* Add code generation write

* Update generate interface and zip conf

* Optimize templates details

* Update model relation column conf

* Add import tables module

* Add get all databases interface

* Fix get tables interface

* Bump pydantic to 2.8.1

* Upgrading lint dependencies

* Add import business and model implement

* Split import database execution code

* Update text SQL execution to prevent SQL injection

* Optimize schema name generation

* clean code

* Update create tables sql scripts

* Update import sql query conditions

* Add todo comments

* Mark business creation interface

* Update features in README
2024-07-10 12:12:29 +08:00