41 Commits

Author SHA1 Message Date
mofeng-git
b419641251 Revert "进一步的 kvmd 国际化(汉化)支持,添加配置入口"
This reverts commit 35397c54143f3dba89bebc4e30bc09b0804b5798.
2024-11-20 12:44:59 +00:00
mofeng-git
35397c5414 进一步的 kvmd 国际化(汉化)支持,添加配置入口
yaml 配置示例:
```
languages:
    console: zh
    web: zh
```
2024-08-14 22:54:12 +08:00
mofeng-git
20927c7226 初步的 kvmd 国际化(汉化)支持
1. 添加汉化文件
2. 添加 Lanuages().gettext 函数处理字符替换
3. 修改相关字符串调用
2024-08-06 21:45:16 +08:00
Maxim Devaev
ce62d711c1 updated copyright date 2024-03-22 16:02:55 +02:00
Maxim Devaev
e28dec4e33 libgpiod 2.x api 2024-01-14 22:25:09 +02:00
Maxim Devaev
a834c89ef3 copyright update 2023-05-27 12:41:22 +03:00
Maxim Devaev
ee3e224e39 new typing style 2022-09-04 18:08:40 +03:00
Maxim Devaev
e37a7254d5 using shield_fg() in atomic (now atomic_fg) 2022-08-07 19:35:08 +03:00
Maxim Devaev
f474fd6453 default atx gpio values 2022-03-27 23:44:11 +03:00
Maxim Devaev
1b3a2cc3f7 copyright bump 2022-01-07 16:39:02 +03:00
Maxim Devaev
8f11fa3b91 small rebranding 2021-09-08 06:47:54 +03:00
Devaev Maxim
c169f55204 update copy 2021-01-07 10:33:02 +03:00
Devaev Maxim
0adfe17f70 configurable gpio devices 2020-12-25 11:08:56 +03:00
Devaev Maxim
180251ec59 refactoring 2020-11-12 22:36:22 +03:00
Devaev Maxim
cccf44655a common env variables 2020-10-03 05:02:14 +03:00
Devaev Maxim
16946d1e0f refactoring 2020-09-30 14:12:09 +03:00
Oleg Girko
a8589e48ab Make kvmd compatible with libgpiod 1.2.
The singular default_val argument of gpiod.Line.request() method
was introduced in libgpiod 1.3.

For older versions of libgpiod, defailt_vals argument with list value
should be used.

This argument is available in newer versions of libgpiod as well
for compatibility.

This change is needed for Debian / Raspbian 10 that have libgpiod 1.2.

Signed-off-by: Oleg Girko <ol@infoserver.lv>
2020-09-20 14:59:33 +01:00
Devaev Maxim
5c05276d46 fixed consumer names for libgpiod 2020-09-18 01:46:28 +03:00
Devaev Maxim
00069931c1 debounce for gpiod AioReader 2020-09-16 00:03:44 +03:00
Devaev Maxim
ee10435b81 common gpio path variable 2020-09-14 01:34:23 +03:00
Devaev Maxim
1e6ab4672f refactoring and reuse gpio pulse code 2020-09-13 18:23:28 +03:00
Devaev Maxim
41223fa8b2 pass close() 2020-09-13 17:19:57 +03:00
Devaev Maxim
002823b6e1 using libgpiod for the gpio atx 2020-09-13 10:47:53 +03:00
Devaev Maxim
44c50aa4de removed edge detection 2020-09-10 13:40:56 +03:00
Devaev Maxim
1d98f5ed04 experimental edge mode 2020-09-10 12:33:26 +03:00
Devaev Maxim
31fdcd2f3c removed processing flag 2020-09-10 04:48:19 +03:00
Devaev Maxim
015baee6d7 sync atx api 2020-09-09 16:21:49 +03:00
Devaev Maxim
605b67ca76 refactoring 2020-09-08 05:24:47 +03:00
Devaev Maxim
c2831853a0 minor relatime fixes 2020-09-07 13:33:13 +03:00
Devaev Maxim
a6dac4bd84 ugpio plugins 2020-09-07 05:54:25 +03:00
Devaev Maxim
e8bd1e2648 more logs 2020-09-05 14:47:31 +03:00
Devaev Maxim
a06a1e40f4 using BatchReader for ATX 2020-09-05 12:23:39 +03:00
Devaev Maxim
01eff33b67 refactoring 2020-08-31 05:01:20 +03:00
Devaev Maxim
1d7d4100a5 common component interface 2020-06-06 06:29:29 +03:00
Devaev Maxim
552bb93212 atomic fixes, removed tasked and muted 2020-03-03 23:48:53 +03:00
Devaev Maxim
8972357dbc changed region methods to async 2020-03-02 01:26:43 +03:00
Devaev Maxim
75d9b858d7 moved AioExclusiveRegion to aiotools 2020-02-29 17:23:57 +03:00
Devaev Maxim
01f92b6f19 don't invert atx leds by default 2019-11-20 05:08:49 +03:00
Devaev Maxim
c124e63d6d refactoring 2019-10-24 02:45:07 +03:00
Devaev Maxim
31c74a1c30 mypy fix 2019-09-28 05:45:53 +03:00
Devaev Maxim
ca2eabc01f atx plugin 2019-09-11 20:54:27 +03:00