Commit Graph

2 Commits

Author SHA1 Message Date
yangy abab985769 fix(api): 限制上传文件大小为8MB
- 后端新增中间件限制请求体最大为8MB,超出返回413错误
- nginx配置添加client_max_body_size为8m以支持8MB最大上传
- 更新favicon.svg图标样式
- 模型列表页默认分页大小由10改为50,提高一次加载条目数
2026-05-25 13:25:05 +08:00
yangy fb1aad45af Add Luxsin curve API client and validation functionality
- Introduced a new module `curve_client.py` for interacting with the Luxsin curve API, including functions for custom Base64 decoding and parametric EQ validation.
- Implemented error handling for API responses and validation checks for curve data.
- Removed outdated test files to streamline the codebase.
- Updated brand creation and update logic in `brands.py` to ensure brand names are validated and checked for duplicates.
- Enhanced model handling in `models.py` with new validation and push-to-search functionality, integrating curve validation before pushing to Meilisearch.
- Updated frontend components to support new validation and push processes, including user feedback for validation results and progress tracking.
- Changed favicon to SVG format for better scalability and appearance.
2026-05-20 14:13:42 +08:00