26 Commits

Author SHA1 Message Date
022359d3fd minor improvements for better 'rustifying' of it 2025-04-30 20:31:19 -04:00
21b41f5593 WIP: working on better ui interaction 2025-04-30 16:09:22 -04:00
9ff76954e0 BUGFIX: removes extra quotes from log entry time entries
FEATURE: Allows delete of target

UPDATE: UI Uses more popups to make the UI more 'layered'
2025-04-30 16:08:56 -04:00
8d0452d752 Fix version tag v0.2.1 2025-04-29 09:29:51 -04:00
49092d9ad7 Updates to use:
- if passed file doesnt exist
 - check for hosts.txt
- if no file passed
 - check for hosts.txt
- if hosts.txt missing
 - default hosts
2025-04-29 09:29:13 -04:00
0261914cda Updates label for VPN endpoints and added more hosts to check 2025-04-28 15:48:54 -04:00
f5fa9877b3 commented out glue code that isn't public build ready v0.2.0 2025-04-28 13:51:25 -04:00
7d830c4e3b ** RatatuiUi **
displays a preset list of hosts and their response state

Updates format of input file to CSV with <host ip>,<host name> as the format.
UI now has red/green for down/up hosts
duration_to_string now in lib
improves display of how long ago change happened
log events are now displayed on the monitoring page to show when a host comes up/goes down
Modularize ui better
Adds ability to return to monitoring or quit from editing page
table in place for displaying hosts

WIP: start of being able to go up/down through the list of hosts to eventually edit them.
2025-04-28 13:49:36 -04:00
6d55d96ca7 adds ability to read hosts.txt if no file is specified on the command line, using defaults if hosts.txt is missing 2025-04-23 15:03:16 -04:00
e1b435bf7b more hosts and better naming for peterborough v0.1.0 2025-04-23 11:08:35 -04:00
f57325bc6b Updates dependencies 2025-04-23 10:53:09 -04:00
613f22d31c Removes 'magic numbers' and uses constants for number of seconds in hour and day 2025-04-23 10:52:33 -04:00
002ad36068 Rolls 'duration_to_string' into pp 2025-04-22 16:09:49 -04:00
4ec95af6d0 optimized main loop
Adds colour to the text display
2025-04-22 16:03:30 -04:00
9201c67108 uses a default list if no file is passed 2025-04-21 13:03:49 -04:00
da10ec72f8 Update host list format to be
<ip_address>,<name>
to make end user display and interpretation easier
2025-04-21 09:02:40 -04:00
11618c0d0a Adds more hosts to test
- Ptbo both links
 - Lnsy both links
 - Blvl both links
Adds lib.rs to allow bins to read common code
2025-04-21 08:09:51 -04:00
03de859764 New proof of concept for duration_to_string
Explicit declaration of duration_to_string
2025-04-21 07:55:40 -04:00
ee5986fedf adds duration_to_string to make durations pretty strings 2025-04-20 22:34:04 -04:00
d642822709 parses a file passed to use as a list of targets 2025-04-20 19:48:31 -04:00
1742874c46 Time since last change in place. 2025-04-20 18:07:38 -04:00
81bf3cf61d moved structs to their own files
added time since last state change
2025-04-20 15:56:03 -04:00
7bd745635b adds logic to selectively compile for windows or linux and handle the respective ping return codes.
0 = good on linux
1 = good on wintendos
2025-04-17 19:44:13 -04:00
f9cf88911f Threads now does backend work and displays a nice UI every 5 seconds 2025-04-17 09:54:22 -04:00
ef1d3dde9c works at console for linux 2025-04-14 09:37:28 -04:00
c50857f210 Initial commit 2025-04-13 12:10:52 -04:00