Commit graph

181 commits

Author SHA1 Message Date
d545152d67
Merge remote-tracking branch 'upstream/dev' into dev 2023-06-11 19:07:23 -07:00
4feb15182e
Rework SMART self-test sections (again)
- Use results from self-test log rather than self-test details
- Include more result details in more scenarios
- Only add self-test results to the report to avoid
  duplicate/conflicting info
- Add check if test started but didn't finish (again?)
2023-06-10 18:59:19 -07:00
a5eb64a055
Add type hints to class instance variables 2023-05-29 16:25:37 -07:00
0126452bf1
Merge branch 'ui-split' into dev 2023-05-27 19:50:49 -07:00
cb012423bb
Refactor hardware diagnostics to use new TUI 2023-05-27 19:47:26 -07:00
59d89575ed
Refactor SMART self-test checks
- Preserve TimedOut status
- Adds last self-test result to notes (if present and result is unknown)
2023-05-21 14:52:28 -07:00
ba3bf480f7
BREAKING Add wk/ui/tui.py 2023-04-09 15:59:34 -07:00
f9bcd534d4
Move ansi code into wk/ui 2023-04-08 19:20:22 -07:00
95d7159414
Move ANSI color escape sections to their own file 2023-04-02 20:46:54 -07:00
03a143488c
Adjust ui imports and calls 2023-04-02 20:12:18 -07:00
6efc970374
Move tmux sections into wk.ui 2023-04-01 22:36:59 -07:00
89fd647792
Split wk.std into debug, std, and ui sections 2023-04-01 22:14:03 -07:00
9dc900c75e
Replace more pylint sections with ruff 2023-03-27 00:09:08 -07:00
aea1373df7
Merge remote-tracking branch 'upstream/dev' into dev 2023-03-26 23:57:41 -07:00
9f66b151af
Replace more pylint sections with ruff 2023-03-26 23:52:52 -07:00
9953f3978c
Merge remote-tracking branch 'upstream/dev' into dev 2023-03-26 23:22:34 -07:00
e00920f24a
Switch to ruff linting 2023-03-19 18:47:46 -07:00
b304475011
Adjust HW Diagnostics top text handling 2023-03-05 16:32:57 -08:00
ab2a7fd126
Include Disk Utilization in the quick diagnostic 2023-01-10 13:55:40 -08:00
70bb666fa1
Refactor Disk Utilization reporting
Results are now shown on screen in addition to the osTicket post.
2022-12-14 02:42:23 -08:00
7144ab0106
Merge remote-tracking branch 'upstream/dev' into dev 2022-12-11 21:48:23 -08:00
137c3ec5e5
Add label for test mode in hardware diagnostics 2022-12-11 21:44:20 -08:00
9686dca0f6
Avoid crash if osTicket integration is disabled 2022-12-03 21:43:40 -08:00
2431e2e00e
Fix System Info section in HW diags
Avoid running every time, use the menu selection in stead.
2022-12-03 19:00:31 -08:00
153bc8d8d6
Merge remote-tracking branch 'upstream/dev' into dev 2022-11-12 23:23:28 -08:00
e583929498
Reduce time needed for get_disks() 2022-11-12 23:21:23 -08:00
d846c544d0
Add system info post to hw-diags 2022-10-29 12:03:50 -07:00
873be60ec6
Merge remote-tracking branch 'upstream/dev' into dev 2022-10-23 13:33:42 -07:00
2706d1a9a5
Show failed SMART attributes during disk tests 2022-10-23 13:18:43 -07:00
26022f6011
Fix I/O benchmark graph uploads
Addresses issue #22
2022-10-08 22:07:27 -07:00
f1e29cd0c8
Only call gpt under macOS 2022-10-08 19:30:05 -07:00
a10ec04a3b
Merge remote-tracking branch 'upstream/dev' into dev 2022-09-24 19:59:33 -07:00
f008546565
Avoid crashing if a device disconnects mid-diags 2022-09-24 19:58:41 -07:00
4b269cc120
Skip disk utilization checks for small devices 2022-05-21 20:20:57 -07:00
8c67830345
Add disk volume utilization test
Addresses issue #19
2022-05-21 19:43:47 -07:00
7ffbcc83fa
Move HW diagnostic osTicket functions to new file 2022-05-21 18:16:40 -07:00
4ffd06235e
Merge remote-tracking branch 'upstream/dev' into dev 2022-05-14 18:02:05 -07:00
5fc5cda86d
Avoid adding duplicate attribute failure notes 2022-05-14 17:51:43 -07:00
0ecc4d4146
Add test mode to Hardware Diagnostics
Addresses issue #192
2022-05-14 17:48:04 -07:00
47308c1508
Allow non-integer number of minute countdowns 2022-05-14 16:19:18 -07:00
7bcd650d25
Merge remote-tracking branch 'upstream/dev' into dev
Includes a lot of updates to support the new split wk/hw setup.
2022-05-01 19:29:53 -07:00
2585ed584c
Refactor disk safety checks 2022-04-18 09:21:29 -07:00
95cd3b645d
Remove SMARTSelfTestInProgressError sections
Going forward this is a non-blocking error.
2022-04-11 16:50:21 -06:00
af8b2b7dd3
Refactor SMART self-test sections 2022-04-08 19:19:23 -06:00
41b4ffd9fb
Cleanup pylint sections 2022-04-08 18:38:55 -06:00
312df1ee9d
Refactor import logic for wk.hw.diags 2022-04-08 15:38:03 -06:00
20f91f01d1
Add type hints to hardware functions 2022-04-06 19:08:23 -06:00
46eb737dc8
Move SMART functions to their own file 2022-04-06 16:22:58 -06:00
99dd7661d4
Split hardware diagnostics into multiple files 2022-04-05 18:11:06 -06:00
fc2bb07d11
Track test groups as list instead of a dict
By only including selected tests we can skip checking for the
enabled/disabled status.  This will also simplify the process
of disabling future tests for a disk if a failure is detected.
2022-04-05 14:45:14 -06:00