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

51 Commits

Author SHA1 Message Date
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
9858f6f7b6 Update dependencies 2023-10-19 10:16:17 +02:00
c1a8ce4fdc Set dependency versions 2023-05-05 13:21:40 +02:00
9b8a0ca3ef Update build profile for smaller file size 2023-05-05 13:17:15 +02:00
5ea44efd11 Update dirs crate 2023-04-12 19:50:14 +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
736be69749 Add new parse method returning Result and deprecate old one 2023-02-19 15:46:04 +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
ebd4df6e54 Fix typo in README.adoc 2023-02-19 14:10:25 +01:00
dbd43d5a69 Adding long unit forms for interval duration 2023-02-18 13:18:47 +01:00
3855c7a492 Add check step using cargo clippy to ci workflow 2023-02-17 21:14:42 +01:00
421943aee9 Use maintained workflow toolchain action 2023-02-17 21:03:43 +01:00
765bc14d1f Add workflow file for CI 2023-02-16 22:01:38 +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
031f36ca04 Add information about Actuator response 2022-12-03 12:39:47 +01:00
e3695573b3 Use 'UP' as actuator status response 2022-11-27 12:03:09 +01:00
1b4b8fa2a3 Cleaned up cargo files and updated dependencies 2022-11-27 12:02:42 +01:00
6987ce4cdb Fix typos in README.adoc 2022-11-27 12:02:00 +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