8 Commits

Author SHA1 Message Date
e492cec7d7 Optimize codes and comments with cursor (#550) 2025-03-28 10:08:32 +08:00
baebdd9870 Optimize dependencies to reduce package size (#548) 2025-03-17 18:41:58 +08:00
78dad3021a Add postgresql database support (#475)
* feat: add postgresql db supports

* change: change mysql conn str create way

* fix: Modify the default alembic migration file to meet multi-database support

* Update settings and lint

* update models

* Simplify database config

* Simplify the get db method

* Update create db url

* Updated model type adaptation

* Update sql scripts

* Fix models type

* Adaptation to postgresql code generation

* Update README.md

* Fix alembic file template

* Update docker scripts
2024-12-25 22:04:04 +08:00
8da993655b Add request state middleware (#426)
* Add request state middleware

* Fix linux do OAuth2 redirect uri
2024-09-21 17:57:27 +08:00
1f95a776f0 Add trace ID to exception handlers (#411) 2024-09-09 15:46:13 +08:00
b13410c7d1 Optimize the naming of setting params (#410) 2024-09-09 11:50:22 +08:00
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
5e438c685d Refactor the backend architecture (#299)
* define the basic architecture

* Update script and deployment file locations

* Update the route registration

* Fix CI download dependencies

* Updated ruff to 0.3.3

* Update app subdirectory naming

* Update the model import

* fix pre-commit pdm lock

* Update the service directory naming

* Add CRUD method documents

* Fix the issue of circular import

* Update the README document

* Update the SQL statement for create tables

* Update docker scripts and documentation

* Fix docker scripts

* Update the backend README.md

* Add the security folder and move the redis client

* Update the configuration item

* Fix environment configuration reads

* Update the default configuration

* Updated README description

* Updated the user registration API

* Fix test cases

* Update the celery configuration

* Update and fix celery configuration

* Updated the celery structure

* Update celery tasks and api

* Add celery flower

* Update the import style

* Update contributors
2024-03-22 18:16:15 +08:00