331 Commits

Author SHA1 Message Date
mofeng-git
04b13b1215 feat: 添加硬件编码器支持和修复 janus.js 错误
- 添加 HWENCODER 环境变量支持,支持 vaapi、nvenc、amf、v4l2m2m、mediacodec、videotoolbox 等硬件编码器
- 修复 janus.js 相关错误,添加 adapter.js 支持
- 更新 Docker 构建配置以支持硬件编码
- 优化 ustreamer 配置,支持硬件编码回退机制
2025-08-22 21:25:13 +08:00
mofeng-git
fafd790b3e feat: 更新 janus.js 依赖库到官方最新版本
- 删除旧版本的 adapter.js 文件
- 更新 janus.js 到官方最新版本
- 修复 WebRTC 适配器兼容性问题
2025-08-22 15:37:40 +08:00
mofeng-git
2c056ca3e3 feat: merge upstream master - version 4.94
Merge upstream PiKVM master branch updates:

- Bump version from 4.93 to 4.94
- HID: improved jiggler pattern for better compatibility
- Streamer: major refactoring for improved performance and maintainability
- Prometheus: tidying GPIO channel name formatting
- Web: added __gpio-label class for custom styling
- HID: customizable /api/hid/print delay configuration
- ATX: independent power/reset regions for better control
- OLED: added --fill option for display testing
- Web: improved keyboard handling in modal dialogs
- Web: enhanced login error messages
- Switch: added heartbeat functionality
- Web: mouse touch code simplification and refactoring
- Configs: use systemd-networkd-wait-online --any by default
- PKGBUILD: use cp -r to install systemd units properly
- Various bug fixes and performance improvements
2025-08-21 11:26:59 +08:00
mofeng-git
187c713424 refactor: 完善代码质量检查和修复系统
主要改进:
- 添加 make tox-local 本地代码质量检查支持
- 创建 check-code.sh 脚本支持独立工具执行
- 修复 51+ flake8 代码风格问题(未使用导入、行尾空格、注释格式等)
- 解决 pylint 变量命名和日志格式问题
- 重构 make_image 方法解决 too-many-statements 警告
- 添加类型注解和修复方法签名不匹配问题
- 统一代码风格规范(引号使用、空格格式等)

工具配置:
- 更新 tox.ini 支持 Python 3.10 本地环境
- 添加缺失的核心依赖包定义
- 完善 Makefile 构建系统集成
2025-08-20 19:25:57 +08:00
Maxim Devaev
776b93cab6 lint fix 2025-07-27 21:05:47 +03:00
Maxim Devaev
97ea7de7d3 number validator accepts hex numbers 2025-05-31 04:51:07 +03:00
Maxim Devaev
56d0d3aa8a plugin to forbid any auth 2025-05-28 19:31:10 +03:00
Ivan Shapovalov
49fb9a6f92
testenv: Dockerfile: refactor, use caching pervasively (#190) 2025-05-17 23:46:06 +03:00
Maxim Devaev
47614a5724 lint fixes 2025-05-17 22:56:22 +03:00
Maxim Devaev
791e047a6b mypy: bumped version 2025-05-17 22:51:14 +03:00
Maxim Devaev
c8cf06ee8c ipmi: usinc usc auth 2025-05-06 14:49:20 +03:00
Maxim Devaev
59eff99dcc refactoring 2025-05-03 23:14:51 +03:00
Maxim Devaev
b7715b731e lint fixes 2025-05-03 04:27:21 +03:00
Maxim Devaev
ebbd55ee17 using evdev instead of string constants 2025-05-01 03:03:25 +03:00
Maxim Devaev
1624b0cbf8 added KvmdClientWs.send_mouse_relative_event() 2025-04-15 22:02:10 +03:00
Maxim Devaev
7e185d2ad9 unix socket auth 2025-04-13 17:45:01 +03:00
Maxim Devaev
b86f4cd437 allow short edids, import full edid on with kvmd-edidconf 2025-03-19 03:51:31 +02:00
Maxim Devaev
ec9c12ffcc enabled relative mouse by default on all v2+ configurations 2025-03-01 18:55:55 +02:00
Maxim Devaev
dd3f4c16e3 htpasswd: raise error on del if user is not exist 2025-02-13 14:20:33 +02:00
Maxim Devaev
30a82efea4 htpasswd: split add and set commands 2025-02-13 13:40:02 +02:00
Maxim Devaev
8c7f86ac83 switch firmware version == 6 2025-02-13 00:56:11 +02:00
Maxim Devaev
de4f1903aa using salted sha512 for htpasswd by default 2025-02-11 16:55:45 +02:00
Maxim Devaev
97b405297b refactoring 2025-02-09 23:20:28 +02:00
Maxim Devaev
c3dc5b9553 test_auth: improved expiration test 2025-02-09 14:31:51 +02:00
Maxim Devaev
05519f403f commented hidrelay from testenv 2025-02-09 02:46:41 +02:00
Maxim Devaev
375a345820 pikvm/pikvm#1204: Configurable global expiration policy 2025-02-09 00:40:48 +02:00
Maxim Devaev
a7c3cdc1ea pikvm/pikvm#1204: Expire user session 2025-02-08 23:30:52 +02:00
mofeng-git
7b3335ea94 Add support for PiKVM Switch and related features
This commit introduces several new components and improvements:
- Added Switch module with firmware update and configuration support
- Implemented new media streaming capabilities
- Updated various UI elements and CSS styles
- Enhanced keyboard and mouse event handling
- Added new validators and configuration options
- Updated Python version support to 3.13
- Improved error handling and logging
2025-02-01 01:08:36 +00:00
Maxim Devaev
da4da975ef Revert "pikvm/pikvm#1459: TOTP valid_window=5"
This reverts commit b6c73aceb74cf6f3a376fc1223e9cc701a8f6ee5.
2025-01-15 02:49:10 +02:00
Maxim Devaev
b6c73aceb7 pikvm/pikvm#1459: TOTP valid_window=5 2025-01-15 02:06:01 +02:00
Maxim Devaev
3cf543a13e switch binary 2025-01-11 21:22:17 +02:00
Maxim Devaev
9aef70c43f lint fixes 2025-01-04 22:17:55 +02:00
Maxim Devaev
630610bc53 switch 2024-12-17 18:20:04 +02:00
Maxim Devaev
e0bbf6968e testenv: Use memsink for VNC 2024-12-16 19:19:31 +02:00
mofeng-git
ed68449274 修复相对模式鼠标不可用
此问题有合并上游更新冲突所致
2024-11-27 13:33:49 +00:00
mofeng-git
a32dcd2e00 修复前端 wol 类名错误
修复前端 meta 块错误
2024-11-26 05:42:18 +00:00
mofeng-git
b8ddf7c2da 增加快速文件互传功能(基于 MSD)
为 MSD 路径添加配置选项
为 文件镜像名称添加配置选项
修复 make 测试环境
2024-11-22 17:40:55 +00:00
mofeng-git
eec64ef57c Merge remote-tracking branch 'upstream/master' 2024-11-20 15:18:34 +00:00
mofeng-git
3ec872878e 修复 make run-nogpi 测试环境 2024-11-20 12:44:59 +00:00
mofeng-git
b419641251 Revert "进一步的 kvmd 国际化(汉化)支持,添加配置入口"
This reverts commit 35397c54143f3dba89bebc4e30bc09b0804b5798.
2024-11-20 12:44:59 +00:00
mofeng-git
1a13760df0 #44 添加视频录制支持
使用浏览器前端 API
支持 mjpeg 和 h.264 模式下的视频录制
录制格式为wbem(vp8)
2024-11-04 13:25:18 +00:00
Maxim Devaev
1e277c0f06 lint fix 2024-11-02 21:04:57 +02:00
Maxim Devaev
a84242c9bc AioExclusiveRegion API is sync now 2024-10-26 15:51:33 +03:00
Maxim Devaev
7a53f14456 refactoring 2024-09-18 04:37:43 +03:00
Maxim Devaev
c57334f214 refactoring 2024-09-16 23:07:38 +03:00
Maxim Devaev
56da910ebe moved kvmd-oled to this repo 2024-09-11 20:22:49 +03:00
mofeng-git
0ff678a495 集成 WebRTC/H.264 支持 2024-09-11 10:32:45 +08:00
mofeng-git
8f0a591c98 为测试环境添加国内镜像源 2024-09-11 10:31:54 +08:00
mofeng-git
5f7f8d58ed a fix 2024-09-01 02:38:00 +00:00
Maxim Devaev
308911191a testenv: restored eslint 2024-08-27 01:48:52 +03:00