Commit Graph

18 Commits

Author SHA1 Message Date
a0afcbaa90 更新数据库初始化方法,修改用户昵称字段,调整响应模型数据类型,简化站点健康检查接口,移除不必要的服务函数 2025-12-17 17:33:53 +08:00
35efbdf000 清理项目配置文件,移除不再使用的.idea文件和更新文档中的Python版本要求 2025-12-17 16:15:47 +08:00
a71cde7b82 Add notification sender and update item routes 2025-10-06 01:03:52 +08:00
cd35c6fbed Refactor models and routes for item management
Reorganized model structure by replacing 'object' and 'items' with a unified 'item' model using UUIDs, and moved base model logic into separate files. Updated routes to use the new item model and improved request/response handling. Enhanced user and setting models, added utility functions, and improved error handling throughout the codebase. Also added initial .idea project files and minor admin API improvements.

Co-Authored-By: 砂糖橘 <54745033+Foxerine@users.noreply.github.com>
2025-10-05 18:58:46 +08:00
ee684d67cf 修复数据库调用问题 2025-10-05 12:41:33 +08:00
c1c36c606f Refactor config, logging, and startup structure
Introduced pkg modules for environment config, logging, and startup initialization. Replaced direct config and logging setup in main.py with modularized functions. Updated database and migration modules to use environment variables and improved DEBUG handling. Removed tool.py and migrated password utilities to pkg. Cleaned up legacy comments and unused code in models and routes.
2025-10-03 15:00:45 +08:00
815e709339 Refactor password handling and model typing
Replaced custom password generation and verification logic with a new pkg/password.py module using Argon2 for secure hashing. Updated model field types to use PEP 604 union syntax (e.g., str | None) and improved type annotations. Refactored admin and session routes to use new password utilities and direct model methods for CRUD operations. Removed legacy tool-based password functions and cleaned up .idea project files.
2025-10-03 12:01:01 +08:00
643f19c1f1 修复数据库构建问题 2025-10-03 10:00:22 +08:00
3469ca9ab1 Merge branch 'main' into Owner-of-the-car-enhance 2025-10-03 00:09:50 +08:00
43f22de8fd 新增挪车功能 2025-10-02 21:52:52 +08:00
db77d6033b 初步迁移数据库 2025-09-28 11:49:26 +08:00
6c512805e8 重构数据库创建部分 2025-08-14 22:30:40 +08:00
7b4cef5d35 V2.0.0-alpha3 2025-07-15 2025-07-15 12:00:59 +08:00
98b03b67d1 程序启动时提示账号信息 2025-07-15 11:30:29 +08:00
d290b0f555 修复因无JWT令牌而无法正确启动 Findreve 2025-05-15 20:54:21 +08:00
39bbc94d07 V2.0.0-alpha1 2025-04-22 03:22:17 +08:00
55057185c6 V1.2.0 2025-03-29 16:13:35 +08:00
7d0d59677d V1.2.0 alpha 1
- 支持使用 api 提交物品信息
- 支持 JWT 鉴权
2025-03-28 04:53:37 +08:00