EstrellaXD
a137b54b85
test: add comprehensive API tests for backend and frontend
...
Backend:
- Add API test files for auth, program, downloader, config, log, bangumi extended, search, and passkey endpoints
- Update conftest.py with new fixtures (app, authed_client, unauthed_client, mock_program, mock_webauthn, mock_download_client)
- Update factories.py with make_config and make_passkey functions
Frontend:
- Setup vitest testing infrastructure with happy-dom environment
- Add test setup file with mocks for axios, router, i18n, localStorage
- Add mock API data for testing
- Add tests for API logic, store logic, hooks, and basic components
- Add @vue/test-utils and happy-dom dev dependencies
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-26 16:20:39 +01:00
Rewrite0
8972373cb7
fix: vue-tsc error
2024-09-23 16:53:02 +08:00
Rewrite0
cee640d9af
fix: type error
2024-09-23 16:38:02 +08:00
Rewrite0
ec2856bf5a
refactor: refactor search logic & remove rxjs
2024-09-23 16:07:48 +08:00
Rewrite0
fcdcde07ed
feat: update deps
2024-09-23 15:49:52 +08:00
Rewrite0
7913061f45
ci: modify process
2024-05-31 16:37:22 +08:00
Rewrite0
b0eef9e8d2
fix: ci pnpm version
2024-05-31 16:05:52 +08:00
Rewrite0
ae43989bc8
feat: 移动端响应式布局
2024-05-29 15:25:10 +08:00
Rewrite0
31631214bd
feat: lodash 更换为 radash
2024-04-23 10:46:44 +08:00
Rewrite0
c95fe89d5d
refactor: 整理unocss,重构useApi,完善通知i18n,调整了一些代码写法,调整了一些样式,清理了一些无用依赖和代码
2024-03-07 15:58:33 +08:00
Rewrite0
c20369fb95
feat: Enable Vue JSX support
2024-03-05 10:38:22 +08:00
EstrellaXD
ef19f4ed07
feat: add vue/component
2023-09-08 10:50:06 +08:00
zthxxx
7d50e360ed
fix: 修复 bangumi search API 中的流式接口,webui 对应接口定义方法改造
...
- StreamingResponse 换成 EventSourceResponse,即 Server Send Event Source 方式发送数据
- webui 中 search 接口改成 rxjs Observable 方式,
这次来不及改到 vue 里,但是写了接口 usage example;
- 顺手补了一些 vscode 通用的开发配置,
补了之前配置文件解析漏了一个可用环境变量的 host 字段
2023-08-31 23:48:07 +08:00
Rewrite0
3425e38bb1
feat: create RSS page
2023-08-13 19:49:43 +08:00
Rewrite0
86fdb7a56a
feat: webui pwa support
2023-08-12 23:15:26 +08:00
Rewrite0
cd0ff943f2
feat: Optimization
2023-06-14 22:08:07 +08:00
umbor
a9c037e69c
Remove unplugin-vue-i18n and change language file format
...
去除unplugin-vue-i18n,语言文件改为json格式,把i18n-ally的localespaths设置为"src/locales/lang"就可以用。缺少downloader及calendar及format问题也一并修改。
2023-06-12 13:08:36 +08:00
umbor
5dd0d84a79
Merge branch 'EstrellaXD:3.1-dev' into 3.1-dev
2023-06-12 12:36:42 +08:00
100gle
b5b632ef29
feat: use husky to add git hooks before commiting code
2023-06-11 20:27:49 +08:00
umbor
4ae0bcec65
Fix some bugs
...
Fix some bugs
2023-06-11 14:24:17 +08:00
umbor
c53f5f9c49
Add i18n basic components
...
Add i18n basic components
2023-06-10 23:16:51 +08:00
zthxxx
684e124480
chore: move Auto_Bangumi_WebUI -> Auto_Bangumi_WebUI/webui/, prepare for merge into AutoBangumi repo
2023-06-05 23:47:00 +08:00