Commit graph

470 commits

Author SHA1 Message Date
41130a38ed
Fix running tmux in live macOS env 2020-01-30 13:02:41 -07:00
98032a0fed
Removed stale TODO statements 2020-01-28 19:00:47 -07:00
1a26aead44
Network test working under macOS 2020-01-28 18:38:33 -07:00
869293ced9
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-28 18:30:35 -07:00
f14f5e0d72
Adjusted logging 2020-01-28 18:21:24 -07:00
5cc0456f40
Improve performance under macOS by using rdisks 2020-01-28 18:12:53 -07:00
0c8701e3e4
Support get_disks_macOS() on older macOS versions 2020-01-28 18:10:10 -07:00
cc8c0992f6
Avoid crash during SMART self-test 2020-01-28 18:09:33 -07:00
fe50ce8994
Use new Mac fan sections in HW Diags 2020-01-28 18:08:26 -07:00
7fd3e3bada
Added Mac fan control sections 2020-01-28 18:04:21 -07:00
25d9f3d20d
Updated Mac sensor names 2020-01-28 18:00:29 -07:00
8a4c2c059c
Added MariaDB connection timout
* Prevents waiting 1-2 minutes for it to fail if the server can't be reached
* Connection attempt is made once per _connect() call
2020-01-24 17:53:01 -07:00
cf75348c2c
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-24 12:29:01 -07:00
568483d49c
Updated config to use hexidecimal for sfdisk 2020-01-24 12:27:13 -07:00
ac0efb90e5
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-23 18:58:50 -07:00
9c95dcbd5c
Fixed CoreStorage scanning
* Dropped use of mktemp since sudo was interferrring
* Fixed crash if timeout occurred
2020-01-23 18:56:27 -07:00
25c532881e
Allow custom temp file suffixes 2020-01-23 18:56:11 -07:00
b9b2422c69
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-23 14:14:01 -07:00
1b643f3918
Updated wk.kit.ufd
* Don't continue if a step fails, instead re-raise the exception
* Made the private functions public
2020-01-23 14:09:13 -07:00
019cbb6c1a
Updated TryAndPrint
* catch_all can now be set for a TryAndPrint instance
  * As opposed to defining for every TryAndPrint.run() call
2020-01-23 14:06:52 -07:00
29a8731fb5
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-22 23:19:21 -07:00
ea3240772e
Create mount_point before mounting source 2020-01-22 23:15:12 -07:00
b71d3479be
Updated wk.kit.ufd
* Moved TryAndPrint run_program calls to private functions
  * Only need PASS/FAIL and to hide the cmd output
* Avoid crash when searching for boot config files
* Misc Bugfixes
2020-01-22 23:11:24 -07:00
78e28bb6d2
Log wk.exe.run_program result in debug mode 2020-01-22 23:07:03 -07:00
f7c6d5d3c3
Only include graph links in osTicket posts 2020-01-22 20:10:17 -07:00
fd8f46be13
Don't export/upload graphs for skipped tests
* e.g. USB device which USB benchmarks disabled
2020-01-22 19:51:01 -07:00
701d647a91
Added I/O Benchmark PNG graph sections 2020-01-22 19:19:54 -07:00
8643ec2c7c
Fixed setting CPU max temp in osTicket 2020-01-22 19:19:00 -07:00
5f9aec8233
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-22 15:38:20 -07:00
5cbb86abd8
Clear screen before starting diags 2020-01-22 15:37:26 -07:00
0348d708d9
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-22 11:29:18 -07:00
bfc17942cd
Added header to SMART self-test output
* Matches badblocks header
* Also added Initializing message
2020-01-22 11:22:47 -07:00
e92ceb070c
Adjusted I/O Benchmark screen layout 2020-01-22 11:21:49 -07:00
79abbcfaf8
Avoid crash when getting NVMe attributes 2020-01-22 11:20:39 -07:00
e09216012f
List failed tests with overall result in osTicket 2020-01-20 19:08:10 -07:00
710fcc29dc
Catch non-blocking SMART errors between tests
* This doesn't block further tests, just ensures Disk Attributes fails
2020-01-20 18:31:29 -07:00
daffb606ee
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-19 16:00:29 -07:00
1b473b1ab0
Fix pipes when run from hw-diags 2020-01-19 15:14:03 -07:00
53b0d9275b
Expanded test-station names 2020-01-17 16:34:44 -07:00
5fbd33e845
Fixed HDD checkbox logic 2020-01-17 16:14:29 -07:00
fa96f6ea13
Fixed known test-station names 2020-01-17 16:14:20 -07:00
3265b19f3d
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-16 20:38:39 -07:00
af80f53666
Merge branch 'project-overhaul' into dev 2020-01-16 20:33:21 -07:00
d3597f339e
Added volume report to hw diags 2020-01-16 20:29:07 -07:00
efac71eb63
Updated hw-diags and ddrescue-tui
* Removed relative paths
2020-01-16 19:40:57 -07:00
a01f3d04b6
Updated mount-all-volumes
* Added gui argument to open Thunar after mounting
2020-01-16 19:18:12 -07:00
7f9cb9917d
Replaced oblogout with new wk-exit script
* Dropped oblogout due to Python2 dependencies
2020-01-16 18:57:27 -07:00
d873013968
Explicitly request Python 3 2020-01-13 23:19:18 -07:00
23fb36cd8a
Added upload-logs script 2020-01-13 23:18:37 -07:00
c161ebac2a
Save ddrescue results to log at exit
* Instead of printing them since it should be run in tmux
  * And as such the results would be obscured from the user anyway
2020-01-13 22:11:07 -07:00
e9b1fe7819
Adjusted clone settings filename
* Use source path if the model wasn't detected
  * Avoids names like "Clone_.json"
2020-01-13 21:59:40 -07:00
f91df9f4e7
Fixed hw-diags and ddrescue-tui launchers (again) 2020-01-13 21:59:11 -07:00
df2e4927d2
Made add-known-networks executable 2020-01-13 21:20:17 -07:00
65284860fb
Adjusted HW Diag main menu 2020-01-13 18:40:48 -07:00
5c02d74dca
Updated hw-diags and ddrescue-tui launchers 2020-01-13 18:25:43 -07:00
b1bf352f11
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-13 18:25:13 -07:00
cb0d411605
Merge branch 'project-overhaul' into dev 2020-01-13 18:24:32 -07:00
0a7fedd9c5
Fixed hw-diags and ddrescue-tui launchers 2020-01-13 18:23:17 -07:00
12121c7078
Update ESET live SysRescue boot entry to use UUID 2020-01-13 18:15:51 -07:00
749580d041
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-13 17:53:42 -07:00
7b77946afe
Merge branch 'project-overhaul' into dev 2020-01-13 17:49:00 -07:00
28d9085231
Fixed getting filesystem UUID 2020-01-13 17:48:22 -07:00
47b4ab6636
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-13 17:35:26 -07:00
6c374e9ae4
Merge branch 'project-overhaul' into dev 2020-01-13 17:25:03 -07:00
16dbffd91c
Enable SAT usage for USBs to expand SMART support
* Only enabled for USB devices
* Only enabled if attributes weren't found using --device=auto
* Addresses issue #109
2020-01-13 17:12:58 -07:00
e355fb1316
Use UUIDs instead of labels in build-ufd
* Addresses issue #138
2020-01-13 16:48:00 -07:00
24a2e60f02
Use two-space indentation everywhere 2020-01-13 16:24:56 -07:00
d8617df871
Adjusted self-test results formatting 2020-01-13 15:45:07 -07:00
b9d0527c52
Added osTicket checkbox sections 2020-01-11 21:23:49 -07:00
e9c0855f65
Convert CPU max temp to int 2020-01-11 20:54:35 -07:00
c1f2f0b6d8
Updated wk.cfg.main 2020-01-11 20:52:00 -07:00
426d77147f
Disable ost if connection fails post ticket select 2020-01-11 20:46:45 -07:00
e301bff2c2
Avoid replacing higher temps in osTicket 2020-01-11 20:43:27 -07:00
9c12dacfb2
Post CPU/Disk results to osTicket 2020-01-11 20:31:39 -07:00
96b755be49
Added osTicket report sections 2020-01-11 19:54:07 -07:00
fef8323282
Pass Disk Attribute test for devices lacking SMART 2020-01-11 19:53:34 -07:00
ea9a9f9a46
Pass Disk Attribute test for devices lacking SMART
* Since these can't fail I think passing them makes sense
2020-01-11 19:51:57 -07:00
a573a7e1c3
Reset top_text before returning to main menu 2020-01-11 16:59:42 -07:00
28c1d61d20
osTicket integration complete for ddrescue TUI 2020-01-11 16:46:06 -07:00
177a7fbec2
Added 1201 server definitions 2020-01-11 16:45:54 -07:00
2f2bfacbb7
Started integrating osTicket functions in ddrescue 2020-01-10 19:32:25 -07:00
ceee0495eb
Started integrating osTicket functions in HW Diags 2020-01-10 18:50:21 -07:00
7e69eff7a8
Fixed wk.os.linux.mount_volumes() 2020-01-10 18:07:02 -07:00
a81e6f80e6
Adjusted response formatting and added add_note()
* Test-Station name *should* be included in all posts
* Ticket ID and name included in all posts
* Optional osTicket note included in all posts
2020-01-10 17:52:56 -07:00
e438d3aec7
Dropped _convert_report()
* This should be handled in wk.hw.diags and wk.hw.ddrescue
2020-01-10 17:10:13 -07:00
b4e07a0d88
Added post_response() 2020-01-10 17:04:28 -07:00
dcd1525c4f
Added safety checks 2020-01-10 17:04:13 -07:00
e9e19053f4
Finished osTicket checkbox functions 2020-01-10 16:29:20 -07:00
df2a7c03c1
Added initial osTicket files 2020-01-08 22:05:23 -07:00
752944f741
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-08 20:52:00 -07:00
c3da2557a6
Merge branch 'project-overhaul' into dev 2020-01-08 20:45:18 -07:00
76a9d90ecb
Adjusted ddrescue TUI results report 2020-01-08 20:35:32 -07:00
6e3f02961c
Made load_settings() and save_settings() private
* Clears a pylint issue and makes sense to me
2020-01-08 19:50:04 -07:00
43cf4e2727
Added generate_report() to wk.hw.ddrescue.State() 2020-01-08 19:46:40 -07:00
9171ed6685
Revert SMART config used for testing 2020-01-08 19:09:55 -07:00
0a2976d9ce
Set pass/fail attributes in disk_attribute_check() 2020-01-08 19:02:09 -07:00
8932242a86
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-08 17:07:33 -07:00
51224a6929
Added note to remove relative paths after testing 2020-01-08 17:02:57 -07:00
ac2e5a4fcf
New project orgnization
* Match upstream layout for the benefits listed there
2020-01-08 00:28:56 -07:00
7702cdcf0a
Finished converting UFD sections, testing next 2020-01-07 23:53:55 -07:00