21 Commits
Author SHA1 Message Date
Marrrrrrrrry d701c6e00e chore: engineering hardening - test tooling, lint, security fix, and cleanup
- add pyproject.toml with pytest config and dev dependency group (PEP 735)
- add ruff (core correctness rules) + pre-commit hook
- fix stored XSS: html.escape site config before index template injection,
  with regression tests
- log previously swallowed cleanup exceptions in upload rollback paths
- consolidate three duplicate path generators into build_file_path
  (also aligns chunk/presign date dirs to get_now() instead of local time)
- drop redundant ip_limit sync in load_config (refresh_settings covers all limiters)
- remove dead code (calculate_file_hash, commented-out block), two orphan
  guide docs, and stale .gitignore entries
- add dependabot for pip, docker, and github-actions
- bump starlette 1.3.1 -> 1.6.0 (no breaking API changes; verified with the
  full test suite plus an ASGI smoke test incl. Range downloads)
- skip theme asset tests when themes/ is not built locally
2026-09-07 23:43:50 +08:00
vastsa 00f3abd3b2 fix: patch CVE dependencies and path traversal risks
Upgrade aiohttp and related packages, harden local file and storage path checks, tighten password/JWT comparisons, and default Docker forwarded IP trust to empty.
2026-07-21 14:49:30 +08:00
Lan f5a5e03269 feat: update Dockerfile for multi-stage build and add frontend themes; update dependencies in requirements.txt 2026-01-24 10:31:43 +08:00
Lan d49a61d06e chore: update dependencies in requirements.txt 2026-01-11 14:25:53 +08:00
Lan 591441e9a7 fix: #256 2025-02-24 13:51:42 +08:00
Lan 7ea1fe2e90 feat:New database migration, new adaptation root path configuration 2025-02-16 21:38:44 +08:00
Lan 38c78ced14 update:update requirements.txt 2024-10-06 16:34:19 +08:00
Lan dcd30caf26 update:update requirements.txt 2024-10-06 16:30:37 +08:00
Peijie Diao 5f675dd3c6 add Office365-REST-Python-Client requirements 2023-11-20 17:25:40 +08:00
lan 8089081417 add:fronted 2023-08-14 18:14:03 +08:00
lan a39cdadc96 update 2023-08-11 19:23:48 +08:00
lan 4c507fc3cb update:readme 2023-01-19 21:56:19 +08:00
ZHYCarge 1b26b03758 add:支持使用阿里云OSS进行对象存储服务
fix:删除utils中未使用的第三方库chardet
2023-01-15 22:06:01 +08:00
lan 8f404fbfed update:update default banner img by @yanyuo 2023-01-14 15:51:13 +08:00
essesoul ea52327e49 兼容UTF-8编码
自动转换UTF-8编码的.env文件为GBK编码
允许用户在根目录配置.env文件
(优先级:.env大于data/.env)
2023-01-03 21:10:38 +08:00
lan a432f8d80f fix:暂时移除alembic,需要默认创建数据库 2022-12-14 11:22:24 +08:00
veoco 8ffddd5870 新增 alembic 管理数据库架构 2022-12-13 21:03:15 +08:00
lan-air e5d18a5bf3 完善 aiosqlite 异步数据库驱动 2022-12-11 17:41:54 +08:00
veoco 195c6f9ae4 添加 aiosqlite 异步数据库驱动 2022-12-11 14:03:46 +08:00
lan-air 6bd7f31700 精简requirement 2022-12-10 13:30:58 +08:00
lan-air 19806f04c1 Init 2022-12-09 19:06:47 +08:00