Commit Graph
33 Commits
Author SHA1 Message Date
Noah 40234133e3 fix(webui): 保存配置覆写时保留投稿模板关联 (#1685)
覆写弹窗的 entity 白名单漏了 upload_streamers_id,PUT 整行覆盖后外键变 NULL,后续录像不再投稿并走默认 rm。
2026-09-13 15:40:03 +00:00
Mostly_Harmless b438d72415 feat(web): 完善账号管理、稿件查询与安全边界 (#1660)
启动 Web 服务时自动登记 CLI 指定的 B 站凭据,并为账号登记、刷新和删除统一补上并发去重、原子写入及引用检查。

同时收紧默认监听、管理员初始化、认证路由、静态文件和日志 WebSocket,恢复 server 的 ds_update.log,并避免凭据及上游响应进入日志。

新增按账号查询远程稿件的 API 与 Web 页面,补齐严格分页和响应校验。

关联 biliup/biliup#1624

关联 biliup/biliup#1658

关联 biliup/biliup#724
2026-08-16 14:05:20 +00:00
ForgQi ea17305b0a Refactor actor system and add upload status tracking
Refactored download and upload actor implementations into separate modules for better maintainability. Added upload_status field to LiveStreamerEntity and API responses, and updated the frontend to display upload status. Also added Huya protocol config option and improved Huya stream header handling in stream-gears. Minor bug fixes and code cleanups included.
2025-10-01 00:26:07 +08:00
ForgQi 92b5a30df5 Add streamer pause/resume feature and UI updates
Introduces a pause/resume button for streamers in the UI and backend, including API endpoint and status handling. Refactors streamer status display, updates related TypeScript interfaces, and improves modal forms. Also updates @douyinfe/semi-ui and related dependencies to v2.86.0, and bumps workspace version to 1.1.10. Minor logging and trait changes in Rust backend for improved clarity and error handling.
2025-09-29 03:18:21 +08:00
ForgQi a5faefb533 Add QR code login and user management endpoints
Introduces endpoints for QR code-based login and user management in the stream-gears server. Adds support for creating, deleting, and listing users, as well as endpoints for QR code generation and login via QR code. Refactors configuration management to use a global LazyLock, updates model serialization for streamer hooks, and improves context and service registration to support stateless clients. Also updates the frontend to handle new user and QR code flows, and adds an image resource for donation display in the README.
2025-09-20 21:43:51 +08:00
ForgQi 3744c0f14c Refactor to remove legacy Python backend and database
Removed legacy Python backend modules, database models, and related utilities from the biliup package. Migrated configuration and main loop handling to use stream_gears bindings, simplifying the codebase and shifting backend responsibilities to the Rust implementation. Updated the login page to support registration and login via the new API, and adjusted frontend API base export.

Update Cargo.toml

Update Cargo.lock
2025-09-19 03:28:17 +08:00
ForgQi b13a6b7f77 Revert "fix: 修复遗漏的接口鉴权 (#1417)"
This reverts commit 244e03c38a.
2025-09-18 00:14:38 +08:00
ForgQi 7dfc81a6d8 Revert "优化登录功能` (#1386)"
This reverts commit 795f2965cc.
2025-09-18 00:13:13 +08:00
xiaoyu eaca64aa3a 修改充电参数open_elec为charging_pay (#1410) 2025-08-08 05:08:04 +00:00
XiaoMiku01 795f2965cc 优化登录功能` (#1386)
* feat(布局): 在导航栏底部添加退出登录按钮

* fix: 使用本地存储的认证信息检查登录

* style(login): 增强可读性
2025-08-01 09:04:37 +00:00
XiaoMiku01 b3ee6f0e1f 添加登录页面 (#1375)
* feat: 实现完整的用户认证系统

- 添加登录页面和认证上下文
- 创建认证守卫组件保护路由
- 修改API请求添加认证头
- 重构布局组件支持认证状态
- 后端API添加认证中间件

* refactor(auth): 移除调试用的print语句

清理认证中间件中的调试输出,这些语句在生产环境中不需要

* style(login): 更新登录页面样式,添加渐变背景和卡片效果

改进登录页面的视觉设计,使用渐变背景提升整体美观度,并优化卡片样式增加现代感
2025-07-30 04:00:06 +00:00
Gweesin Chan 3a15f5519a feat: 支持仅自己可见开关 (#1261)
* feat: 支持仅自己可见开关

* fix: 私密视频投稿失败

* chore: 移除迁移脚本

* fix: 修复 is_only_self 覆盖界面原先额外字段配置问题
2025-04-27 01:57:01 +00:00
Guthrie 4cf8de648c webui: 录制时间范围改用TimePicker,选择时间 (#1211)
* 录制时间范围前端改为选择

* 配置文件注释

* fixx

* bug fix

* Update TemplateModal.tsx

* 修改css
2025-04-02 09:37:10 +00:00
Guthrie 518e74f496 feature: 关键词不录播 (#1200) 2025-03-31 02:59:11 +00:00
XuanRan_Nyan 9404dc4a5c feat: Add override configuration support for streamers (#1151)
* feat: Add override configuration support for streamers

* refactor: Simplify plugin imports and platform matching

* refactor: 支持插件配置覆写

* refactor: 更新 User 块覆写

* fix: type error
2025-02-06 12:07:40 +00:00
XiaoMiku01andxxxxuanran 94b404c57e Dev 适配 biliup/biliup-rs#186 测试边录边上传功能 (#1140)
* fix

* 适配 biliup/biliup-rs#186  extra_fields

* dev 边录边上传功能初版

* 修复下载器错误

* 实现同步编辑投稿功能

* 上传模板标题格式化

* fix

* 默认分p大小2G

* 重写了对列

* 修改输出队列机制

* 多线程上传有bug

* 修复异常阻塞和多线程上传bug

* reset

* fix

* 修复线程池异常

* 添加额外字段支持;增加同步下载器选项;去除无用日志;修复B站FLV流小概率无法获取;去掉B站弹幕重复登录态验证。

* 删除补0测戳

* 调整 ffmpeg header 参数位置

* 添加同步保存到本地的配置项 和 运行分段后自定义命令

* 添加缺失的投稿参数

* 添加边录边传保存目录项

* 格式化

* 修正 webup_sync 上传线路选择

* 修复 webup_sync 的 submit_web

* 修正参数错误

* 删除多余代码

* 删除多余代码

---------

Co-authored-by: xxxxuanran <xxxxuanran@gmail.com>
2025-02-03 11:03:44 +00:00
Monine Melolaris 694d05fac0 Style(webui): 执行前端代码格式化 (#1141)
仅按照配置文件格式化,未进行任何逻辑更改。
2025-01-14 06:35:54 +00:00
Monine Melolaris 4273edc6c7 Feat(webui): 深色模式添加自动跟随系统,添加格式化配置文件。 (#1109)
* Style(webui): Add format config.

Add prettier config to confirm all developer have same code format style.

* Feat(WebUI): 深色模式行为优化

新增:
1、添加了「自动跟随系统主题」模式,并设置为默认行为,该模式将实时监控系统/浏览器主题,并同步变化;
2、添加了自动切换模式按钮。
修改:
1、修改按钮深色模式、浅色模式显示为对应当前模式;
2、修改默认主题为自动跟随系统。

* Update prettier config.

限定解析器的部分格式,避免影响其他语言的格式化功能。

* Disassemble some components.

1.move theme hooks to /lib folder;
2.disassemble ThemeButton component;
3.refactor ThemeButton related code.
2024-12-09 02:34:38 +00:00
guthrie 01d03f3c49 web ui 功能更改;增加录制时间范围功能 (#1017)
* fix: 历史记录页面按更新日期排序错误

* 网页dark light mode记住

* add 录制时间范围功能

* fix 录制时间范围功能出现过滤删除问题

* fix 录制时间范围 兼容stream gears

* 改用pre_check检测时间范围;

移除对stream-gears下载的修改;

* 回滚对历史记录排序的更改 due to review by @Kataick
2024-09-05 22:41:47 +08:00
⁢4.435km/s cc66587d2d 上传修改 (#910)
使上传转载来源生效
修复手动上传时未填写转载来源无默认值
2024-05-04 12:44:32 +00:00
ForgQi 8db64e2d8b add manually operated 2024-04-25 01:47:44 +08:00
ForgQi 0d156ff280 Bumping version 2024-04-17 23:33:36 +08:00
⁢4.435km/s 18ef73a312 fix-web-env (#878) 2024-04-17 15:08:44 +00:00
Kataick a00ef646cf 新增分段后处理功能(返回当前分段的视频文件 只支持run指令) (#868)
* 新增分段后处理功能(返回当前分段的视频文件 只支持run指令)

* 删除多余代码&&优化代码
2024-04-17 13:37:54 +00:00
ForgQi 3846e48051 change db 2024-03-05 03:22:26 +08:00
铂屑 c3c4da007d Fix: 超出连接池上限无法释放、webui中cookie文件显示错误 (#834)
* Fix: 超出连接池上限无法释放

* 确保Session正常关闭

* 优化pre获取cookie方式

* 修复cookie文件失效表现形式
2024-03-03 11:28:18 +00:00
铂屑 ed1de90ada 添加 webui 缺失的配置项,修复账号信息显示问题 (#792)
* 添加缺失的配置项

* Fix: variable naming for the "cover_path" field

* Fix: 用户列表头像显示问题
2024-02-05 02:34:20 +00:00
铂屑 1df1159a44 适配postprocess返回值格式 (#777)
* 适配postprocess返回值格式

* 用户列表为空时阻止新建投稿模板,并弹出提示

* Update api-streamer.ts
2024-01-23 08:08:07 +00:00
Kataick 6f64ac0bdf 优化webui处理时间的函数 (#753)
* 优化webui处理时间的函数

* 进一步优化

* 优化

* 使用replaceAll实现替换
2024-01-15 01:54:53 +00:00
ForgQi 16303af983 Bumping version 2024-01-12 00:54:14 +08:00
铂屑 08b29d7d35 Fix webui 20240108 (#739)
* Fix: 部分字段不对应或缺失

* 添加旧数据库提示

* 少改了一个
2024-01-08 16:38:11 +00:00
铂屑 885d461618 Webui 20240104 (#738)
* Fix: 最简配置无法上传、上传完后不自动删除

* 增加downloader、submit_api字段,优化空间配置页面

* 新增format、credits、后处理等字段

* 移动新增字段到LiveStreamer,完善webui输入框

* 略微修改录播管理页面样式

* Fix: 投稿模板为空时添加录播管理失败

* Fix: 后处理输入和update

* Label改为中文,添加说明

* 修改提示文本

* 添加下载用Cookie配置
2024-01-07 13:07:34 +00:00
ForgQi 6d1695347c webui初版 2023-12-08 23:37:40 +08:00