1
0
mirror of https://github.com/pcvolkmer/checkbar.git synced 2025-04-19 19:16:50 +00:00

46 Commits

Author SHA1 Message Date
c83c00ace6 Code cleanup
All checks were successful
CI / test (push) Successful in 1m0s
2024-12-16 23:33:27 +01:00
55fbf07370 refactor: always return Warn state as last possible result
All checks were successful
CI / test (push) Successful in 1m52s
2024-03-31 14:04:21 +02:00
c2358d5ce8 feat: add terminal feature based display implementation 2024-01-05 03:51:13 +01:00
5015459966 refactor: replace match with method call 2024-01-05 03:49:11 +01:00
2bad6f36a9 refactor: remove not required return 2024-01-05 03:48:30 +01:00
d0bc71c180 test: test output depending on environment 2024-01-04 03:15:26 +01:00
b75a1218bd Show cursor after exit in terminal mode 2023-12-11 16:45:44 +01:00
fea1d3f650 Use ANSI Escape sequences to produce a terminal-output if running in terminal 2023-12-10 12:37:03 +01:00
8ff43775aa Use http crate instead of hyper crate for tests 2023-12-09 13:48:04 +01:00
4eb609c9b5 Provide custom time format config option 2023-10-19 10:47:53 +02:00
01bc8e7ade Use tokio::time::sleep 2023-10-19 10:25:34 +02:00
f4a5ac568b Check if tcp connection is ready 2023-02-26 12:54:37 +01:00
fa24ae712c Use Duration not Option<Duration> in Config 2023-02-25 08:55:12 +01:00
513d327879 Implement Default for Config 2023-02-19 15:39:19 +01:00
01afd6eba6 Move duration parsing into sub package 2023-02-19 14:32:38 +01:00
dbd43d5a69 Adding long unit forms for interval duration 2023-02-18 13:18:47 +01:00
4b914db7ee Simple code cleanup 2023-02-14 21:56:15 +01:00
8f37d3a813 Move implementation to lib.rs 2023-02-14 21:52:41 +01:00
a89709b39a Use enum with available values for mouse button 2023-02-14 21:16:51 +01:00
56d2961527 Move check_host to checker mod 2023-02-12 18:48:00 +01:00
84fee2495a Extract method to read click event from input 2023-02-12 18:32:37 +01:00
c7c3773f55 Use variable directly in format! 2023-01-28 11:31:06 +01:00
4684e482fa Add tests for http based checkers 2023-01-24 22:59:45 +01:00
8d312f86b5 Add tests for check result display 2023-01-15 03:57:15 +01:00
a76e3d8035 Move common check into trait with default implementation 2023-01-15 03:38:34 +01:00
e46dcabb01 Extract function to remove duplicated code 2023-01-15 01:02:38 +01:00
e2f4e8463b Extract response check 2023-01-14 23:19:32 +01:00
80f42de06a Test reading config file 2023-01-14 21:24:41 +01:00
139cc94bf7 Simplified duration parsing 2023-01-09 21:03:34 +01:00
f32b4329ae Implement and use Default for ColorConfig 2023-01-02 20:28:00 +01:00
102e707b4d Use empty CheckConfig vec as default 2023-01-02 19:56:55 +01:00
5cc33c983e Use numbers or parseable string for config property interval 2022-12-31 01:01:00 +01:00
813ebc7a24 Allow whitespaces in update duration interval 2022-12-30 20:49:59 +01:00
1d56580135 Implement simple parser for update interval duration 2022-12-27 22:27:52 +01:00
1d7b163035 Extract checks into modules 2022-12-27 19:09:50 +01:00
774a843005 Add check for plain TCP connections 2022-12-26 19:05:50 +01:00
5e9018112c Code cleanup 2022-12-23 00:10:52 +01:00
bfb9e9b6cd Use json macro instead of formatting json strings 2022-12-22 22:55:35 +01:00
e3695573b3 Use 'UP' as actuator status response 2022-11-27 12:03:09 +01:00
16b68bdaca Add optional config file argument 2022-04-07 10:19:37 +02:00
a893d7a6f0 Ignore click event if not left mouse button 2022-03-07 12:23:19 +01:00
300e2cc2b6 Add color configuration 2022-03-07 12:16:22 +01:00
188d06d27f Cleanup code and tokio features 2022-03-06 12:53:34 +01:00
f7d1df03e0 Start all command processes without waiting to finish another one 2022-03-05 17:09:36 +01:00
fbc5237a8e Add commands to be executed on mouse click 2022-03-05 14:14:30 +01:00
fb312d2102 Initial commit 2022-03-04 14:18:15 +01:00