Commit graph

728 commits

Author SHA1 Message Date
3428e9dff8
Merge remote-tracking branch 'upstream/dev' into dev
Fixed issue #41
2019-02-05 21:50:50 -07:00
017c0e3385
Avoid marking aborted badblocks test as failed 2019-02-05 21:49:00 -07:00
4245d13375
Stop Prime95 if CoreTemps hit 95*C 2019-02-05 21:39:28 -07:00
7132d971f6
Add temp limit to report 2019-02-05 21:26:27 -07:00
dc6de9cab0
Use consistent labels 2019-02-05 21:25:28 -07:00
a28a754be1
Added thermal limit logic to Prime95 test 2019-02-05 21:08:06 -07:00
3c35a75c92
Raise exception when temps >= limit 2019-02-05 21:06:40 -07:00
f8404f3c16
Raise exception if temps above given threshold 2019-02-05 20:31:16 -07:00
9579d0fced
Prevent replacing disk checkbox FAILED value
* Addresses issue #40
2019-01-15 22:43:23 -07:00
c29e84131b
Merge remote-tracking branch 'upstream/dev' into dev 2019-01-15 18:59:11 -07:00
7c7d8e41e2
Prevent crash when testing some NVMe disks 2019-01-15 18:56:29 -07:00
2c87021301
Avoid incorrectly updating osTicket disk checkbox
* Only update if disk tests are enabled and disk(s) were detected
* Addresses issue #40
2019-01-15 14:27:32 -07:00
da4ae79fcc
Merge remote-tracking branch 'upstream/dev' into dev 2019-01-11 14:43:41 -07:00
fd8358a899
Fix ODT path 2019-01-11 14:17:41 -07:00
4d600993e2
Merge remote-tracking branch 'upstream/dev' into dev 2019-01-11 13:28:07 -07:00
cb072366e0
Bugfix Office sections
* Addresses issue #86
2019-01-11 13:25:33 -07:00
4a96736592
Removed network installers 2019-01-11 13:17:25 -07:00
adda1d76ae
Merge remote-tracking branch 'upstream/dev' into dev 2019-01-11 13:11:02 -07:00
ad1d7d71f2
Fixed ODT sections
* Fixes issue #86
2019-01-11 12:59:12 -07:00
6246393894
Fixed update_fastcopy() 2019-01-11 12:31:08 -07:00
4cb158b6b2
Removed duplicate docstring 2019-01-09 21:08:00 -07:00
969011f3f5
Added new_system_setup() 2019-01-09 20:55:48 -07:00
b7423ae3b5
Remove space from System Restore name 2019-01-09 19:03:52 -07:00
721a083c85
Bumped System Restore max size to 8%
* Per request in issue #31
2019-01-09 18:43:20 -07:00
d8e28ce785
Updated windows_updates.py 2019-01-09 18:25:07 -07:00
63501bbb28
Merge remote-tracking branch 'upstream/dev' into dev 2019-01-09 16:30:21 -07:00
6488101cdc
Dumb workaround for Dell sensors 2019-01-09 16:29:18 -07:00
f20d8b5af3
Enable BSoD mini dumps during system checklists
* Fixes issue #33
2019-01-08 22:13:51 -07:00
6068b4390a
Create Restore Point during system checklists
* Fixes issue #31
2019-01-08 22:05:57 -07:00
827981d178
Wait for service to stop 2019-01-08 21:58:08 -07:00
990037e6c1
Added windows_updates.py 2019-01-08 20:53:32 -07:00
ceb3fc4835
Merge remote-tracking branch 'upstream/dev' into dev 2019-01-08 20:33:53 -07:00
f2bd2a6e75
Adjusted global_vars report 2019-01-08 20:33:23 -07:00
b372e19970
Merge remote-tracking branch 'upstream/dev' into dev 2019-01-08 20:27:19 -07:00
6ea4791dc9
Added generate_global_vars_report()
* Makes crash reports more readable
2019-01-08 20:24:43 -07:00
63f9c1c193
Fixed set_log_file() under Linux 2019-01-08 20:24:14 -07:00
187421a291
Fixed upload_crash_details() under Linux 2019-01-08 19:52:33 -07:00
2583358963
Missed a call to stop_tmux_repair_thread() 2019-01-08 19:34:17 -07:00
a839140ff4
Merge remote-tracking branch 'upstream/dev' into dev 2019-01-08 19:25:39 -07:00
ac259c9c37
Revert "Avoid rare crash"
This reverts commit 23a88401b7.
* Didn't fix the issue, better fix available upstream
2019-01-08 19:23:38 -07:00
ed70d1ab18
Simplified tmux repair thread handling
* Just start once and let run until script is exited
* Pretty sure this fixed the 100%+ CPU usage after returning to the menu
2019-01-08 19:18:00 -07:00
23a88401b7
Avoid rare crash 2019-01-08 15:11:34 -07:00
1e5f72f79a
Switched to PASS/FAIL instead of CS/NS by request 2019-01-08 15:02:56 -07:00
83e96f9135
Fix issue #38 2019-01-07 16:13:24 -07:00
b1e5727d54
Merge remote-tracking branch 'upstream/dev' into dev 2019-01-07 15:32:51 -07:00
4bd0cd1598
Avoid crash when no sensor data available
* This was broken when fixing issue #85
2019-01-07 15:29:33 -07:00
014da1b224
Fix issue #37 2019-01-07 12:20:48 -07:00
0fcfc4b5ac
Merge remote-tracking branch 'upstream/dev' into dev 2019-01-07 12:12:28 -07:00
50da682d76
Fix issue #85 2019-01-06 22:12:01 -07:00
7a9474a6a8
Try enabling SMART before checking attributes
* Fixes issue #84
2019-01-06 21:51:45 -07:00
68bbee66d5
Replaced hw-diags-badblocks with threaded section
* Should fix issue #83
2019-01-06 21:45:01 -07:00
e40b0b98e4
Moved fix_tmux_panes() into a background thread 2019-01-06 20:57:06 -07:00
4a04e92caf
Added threading.py
* Will be used by hw_diags.py and ddrescue.py for
  * Better control over badblocks
  * Background the tmux pane fixes
2019-01-05 15:54:05 -07:00
97d0125c03
Avoid crash in I/O Benchmark with small disks 2019-01-02 18:41:35 -07:00
141fe422db
Fix NVMe attribute handling
* Addresses issue #78
2019-01-02 17:55:56 -07:00
3122a75f64
Skip fan RPMs
* Avoids reporting fan RPMs as 6000+ *C
2019-01-02 17:31:19 -07:00
6340bceb11
Added warning if no disks detected. 2019-01-02 17:05:08 -07:00
49c1987ccf
Adjusted unsupported OS detection 2019-01-01 21:23:33 -07:00
88dffd7432
Added New System Setup
* This is a combination of the following scripts:
  * Install ESET AV
  * Install SW Bundle
  * User Checklist
  * System Checklist
2019-01-01 21:06:08 -07:00
dfe009c413
Added warning when failing to connect to osTicket
* Fixes issue #34
2018-12-28 18:01:10 -07:00
73bd9bb009
Merge remote-tracking branch 'upstream/dev' into dev 2018-12-28 17:49:17 -07:00
a9c5c1c274
Fixed issue #80 2018-12-28 17:46:02 -07:00
dd34c987fb
Merge remote-tracking branch 'upstream/dev' into dev 2018-12-28 17:04:39 -07:00
575fa17425
Only use Unicode checkmark if in X 2018-12-28 15:44:14 -07:00
a5f7a04528
Merge remote-tracking branch 'upstream/dev' into dev 2018-12-27 23:48:42 -07:00
91649f5ee7
Removed args from run_program
* It's been deprecated for ages
* Fixes issue #79
2018-12-27 23:43:35 -07:00
f3496ed795
Update 1201 sections to match upstream code 2018-12-27 23:28:33 -07:00
816ebd4d49
Merged more upstream PEP8 updates 2018-12-27 23:17:54 -07:00
3e733e65e9
Updated network.py 2018-12-27 22:17:23 -07:00
e2fcacf579
Added extra line breaks to match upstream code 2018-12-27 22:11:09 -07:00
5a7a16588a
Merged upstream PEP8 updates 2018-12-27 22:03:14 -07:00
922d632afb
Removed trailing whitespace 2018-12-27 21:44:46 -07:00
c96e2f252c
Cleaned up imports 2018-12-27 21:38:25 -07:00
d0c49240d8
Added extra line break after classes/functions/etc
* Also reordered some class/regex/static sections
2018-12-27 21:33:37 -07:00
c501c8b23f
Updated docstrings longer than 72 characters 2018-12-27 20:51:56 -07:00
c3ca58879c
Updated winpe_menus.py 2018-12-27 20:15:02 -07:00
ec0341027e
Updated windows_setup.py 2018-12-27 20:14:29 -07:00
fa424a4576
Updated update.py 2018-12-27 20:13:32 -07:00
a47707447c
Updated setup.py 2018-12-27 20:10:49 -07:00
cfd4eebcd4
Updated safemode.py 2018-12-27 20:09:26 -07:00
deb9d9add1
Updated repairs.py 2018-12-27 20:08:56 -07:00
82a2d6b74d
Updated product_keys.py 2018-12-27 20:07:18 -07:00
72eac47524
Updated disk.py 2018-12-27 20:05:53 -07:00
07e43307c5
Moved partiton_uids.py to settings 2018-12-27 20:04:29 -07:00
018aba2fe6
Updated network.py 2018-12-27 19:58:06 -07:00
097fae866a
Updated info.py 2018-12-27 19:57:39 -07:00
166a293864
Updated hw_diags.py 2018-12-27 19:55:41 -07:00
ffd07e07fd
Renamed diags.py to sw_diags.py
* Avoid confusion with hw_diags.py
2018-12-27 19:53:58 -07:00
0a899539c9
Updated diags.py 2018-12-27 19:52:18 -07:00
10e978d4c5
Updated ddrescue.py 2018-12-27 19:50:51 -07:00
4049272cbb
Updated data.py 2018-12-27 19:48:32 -07:00
c74e2c7667
Updated common.py 2018-12-27 19:43:37 -07:00
327c5b8a33
Updated cleanup.py 2018-12-27 19:43:25 -07:00
6a3e225192
Updated browsers.py 2018-12-27 19:43:12 -07:00
a269859b17
Updated backup.py 2018-12-27 19:42:58 -07:00
36e419bca0
Updated activation.py 2018-12-27 19:42:28 -07:00
a39c62eabc
Fix crash if no sensors available 2018-12-27 17:47:01 -07:00
1e064bc9e6
Merge remote-tracking branch 'upstream/dev' into dev 2018-12-26 21:57:11 -07:00
1d9c3b1869
Added posting results line to results screen 2018-12-26 21:50:34 -07:00
41b8d632ae
Fix disk checkbox logic 2018-12-26 21:32:03 -07:00
dcc2e5cd6a
Adjusted top pane text 2018-12-26 21:00:29 -07:00
5cf2fa6f27
Added remaining osTicket sections 2018-12-26 20:57:30 -07:00
495e265de0
Only post results for devices with TestObj(s) 2018-12-26 20:45:00 -07:00
d9ab1730b4
Reset tunnel_proc to None on full disconnect 2018-12-26 20:44:20 -07:00
b3da1390a1
Only set disk.checkbox=True if all tests enabled 2018-12-26 20:43:17 -07:00
7205ac6c35
Added osTicket integration toggle to menu 2018-12-26 19:46:27 -07:00
ff715b7a10
Better exception handling for MariaDB sections 2018-12-26 19:31:07 -07:00
7d7cf21263
Show volume report if all disk tests are run
* Enable CoreStorage mounting only if all tests were CS, N/A, or OVERRIDE
2018-12-26 18:22:34 -07:00
2c0093aa9a
I/O graph export/upload sections working 2018-12-26 17:15:31 -07:00
98c0c34bf8
Removed unused vertical_graph data 2018-12-26 17:11:37 -07:00
12ea0fdd53
Posting disk results is working 2018-12-24 21:59:00 -07:00
b3f2a86f46
Add spacer line before Temps 2018-12-24 21:19:56 -07:00
8d6b29be53
Posting CPU results is working 2018-12-24 21:11:13 -07:00
ad6980f82b
Moved report functions into osTicket object 2018-12-24 17:33:54 -07:00
57572c7527
Added osTicket report sections 2018-12-24 17:10:12 -07:00
2372fb0d2f
Merge remote-tracking branch 'upstream/dev' into hw-diags-rewrite 2018-12-24 14:04:46 -07:00
96d34ceb50
Fix SMART short-test results section
* OVERRIDE status reduced to yellow/warning
  * Allows it to be elevated to NS or TimedOut
* Only disable other disk tests on test.failed
  * OVERRIDE doesn't work if based on test.passed for this test
2018-12-23 17:33:16 -07:00
6e37736146
Only save attributes to log during show_results() 2018-12-23 17:15:50 -07:00
ac40f61695
Readded Gnuplot and image upload functions 2018-12-22 23:47:30 -07:00
2750440c29
Readded osTicket functions 2018-12-22 23:42:57 -07:00
44bde68803
Removed unused get_status_color and Skipped status 2018-12-22 18:08:21 -07:00
c15eb85a5e
Removed unused get_status_color and Skipped status 2018-12-22 18:07:06 -07:00
6d9f50629c
Reworked status/color sections 2018-12-22 17:55:49 -07:00
fb77214340
Reworked status/color sections 2018-12-22 17:52:50 -07:00
9c34c08699
Merge remote-tracking branch 'upstream/dev' into dev 2018-12-20 17:27:27 -07:00
eed8a1e40c
Fix poweroff/reboot calls 2018-12-20 15:25:39 -07:00
42407f0eca
Adjusted ddrescue exit handling
* Wait for ddrescue_proc after KeyboardInterrupt
  * ddrescue prints extra info to the screen after a CTRL+c
* Explicitly mark KeyboardInterrupt events as an abort
* Add 'DDRESCUE PROCESS HALTED' message in red if exiting non-zero
  * More clearly indicates that user interaction is required
  * Fixes issue #72
2018-12-18 20:35:21 -07:00
44fe888230
Replaced ddrescue-tui-smart-display
* Output data to file and have tmux pane watching said file
* This method handles resizing much better
2018-12-18 20:15:35 -07:00
62b8e51705
Updated ddrescue-tui tmux pane size handling 2018-12-18 19:45:02 -07:00
ad15cdad56
Added warning if not saving map to a preferred FS
* Fixes #76
2018-12-18 17:28:06 -07:00
e1834d5179
Added silent mode to init_global_vars() 2018-12-18 17:26:20 -07:00
e5f0ccb5d5
Formatting cleanup 2018-12-18 15:57:48 -07:00
91a77bb14e
Ensure SMART timeout message is in the report 2018-12-18 15:47:03 -07:00
7ac035c578
Safety wheels off 2018-12-18 15:21:05 -07:00
932669844b
Fixed tmux pane size handling 2018-12-18 15:13:33 -07:00
10ae59be19
Update tmux layout periodically 2018-12-18 00:55:57 -07:00
0c0f8e8950
Added disable_test() to Disk class 2018-12-17 20:51:02 -07:00
41c9a4d23f
Fixed only showing non-empty graph lines 2018-12-17 20:29:09 -07:00
8c5820d5aa
Fix horizontal graph
* generate_horizontal_graph() now returns a list instead of a str
2018-12-17 20:16:35 -07:00
ec8c78197b
I/O Benchmark test is working 2018-12-17 20:15:40 -07:00
385bdd7dbf
Allow resizing current pane 2018-12-17 20:10:58 -07:00
a25a10e616
More abort logic updates 2018-12-17 14:07:19 -07:00
c820d2ac6d
Fixed Prime95 abort handling 2018-12-17 13:20:39 -07:00
e0a2993c36
Skip disk safety checks if only testing the CPU 2018-12-16 22:18:34 -07:00
d8123a71ec
Renamed generate_report to generate_sensor_report 2018-12-16 22:07:34 -07:00
4c0bb1c9b7
Group results by device instead of test 2018-12-16 22:06:03 -07:00
503e6f2b42
Fix SMART short-test timeout detection 2018-12-16 19:45:25 -07:00
a4896a55f6
Adjust log names 2018-12-16 19:31:34 -07:00
8993b483a6
Fix bad cable note 2018-12-16 19:30:46 -07:00
ef42b596d9
Catch CTRL+c aborts and show results 2018-12-15 18:56:41 -07:00
8b936f5413
badblocks section working 2018-12-15 18:45:43 -07:00
e96ac5c156
Added watch option to use tail instead of cat
* tail -f acurately prints backspace (^H) characters
  * badblocks output uses them and wouldn't work with watch/cat
2018-12-15 18:09:54 -07:00
dc8416b5f7
Adjusted formatting 2018-12-15 16:55:32 -07:00
a5d92537f5
Removed unused function 2018-12-15 16:54:48 -07:00
f2a519b7ec
Adjusted log and results screen 2018-12-14 18:58:32 -07:00
37b8676b9c
Fixed quick check 2018-12-14 18:57:30 -07:00
99984603ed
NVMe/SMART sections working
* Added timout status for clarity
* Added short-test result to report
2018-12-14 18:32:17 -07:00
cee8252455
Added CYAN to COLORS 2018-12-14 18:03:00 -07:00
81f05fa79f
Replaced show_attributes() with generate_report()
* Returns list of colored strings
* Optionally includes short-test results
* Optionally excludes disk info
2018-12-14 16:37:14 -07:00
5b74879805
Fixed OVERRIDE and N/A NVMe/SMART status handling 2018-12-13 19:02:28 -07:00
b5c93317dc
Override sections working 2018-12-11 23:54:02 -07:00
47084efe17
Combined nvme_check() and smart_check() 2018-12-11 23:18:51 -07:00
62a60ff3fd
Reworked disk safety checks
* Moved several functions into DiskObj
* Added HW_OVERRIDES_FORCED and HW_OVERRIDES_LIMITED to main.py
  * These adjust when overrides are requested
* Disable badblocks and/or io_benchmark if disk fails safety check
2018-12-11 22:56:09 -07:00
a967a5c425
Switched back to int keys for SMART attributes
* Allows for easier sorting
2018-12-11 20:40:57 -07:00
a3f7e5ad89
Disk quick check almost done 2018-12-11 00:54:16 -07:00
6c06a67fdf
Prime95 section complete 2018-12-10 22:54:56 -07:00
d9554314d5
Updated run_program() and popen_program()
* Use dicts for clarity
* Support cwd flag
2018-12-10 19:42:10 -07:00
a2ef06e6db
Added strip_colors() function 2018-12-10 19:19:35 -07:00
2b43cdf9e2
Create watch file if it doesn't exist yet 2018-12-10 19:19:11 -07:00
30d4acd986
Added watch mode to respawn-pane 2018-12-10 19:18:16 -07:00
8a8a63eb66
Build Prime95 report 2018-12-10 19:16:43 -07:00
a00105f718
Fixed status updates 2018-12-10 16:57:43 -07:00
bb93386fa0
Updated Prime95 checks 2018-12-10 16:32:00 -07:00
d88a9f39f2
Added tmux_kill_all_panes() 2018-12-08 18:36:24 -07:00
668c7c4c6a
Updated run_mprime_test to use test_obj 2018-12-08 18:32:03 -07:00
941a553766
Renamed "Prime95 & Temps" to "Prime95" for brevity 2018-12-08 18:16:31 -07:00
49471663f5
Use OrderedDicts to avoid lambda sorting 2018-12-08 17:50:11 -07:00
0390290f10
Added TestObj()
* This object will track test specific vars and results
  * Moved status code into TestObj
  * Test calls will now be: run_test(state, dev, test_obj)
* NOTE: Code is not done and is quite broken
2018-12-08 17:46:17 -07:00
6a3ef60881
Added CpuObj and renamed dev names to disk
* This should make the code more clear
* The CpuObj is similar to DiskObj to abstract the device/tests calls
  * New calls will be like: run_test(state, dev)
2018-12-08 17:41:29 -07:00
12ff99eb32
Set LogDir for non-quick tests 2018-12-06 18:27:43 -07:00
a910f2cb03
Adjusted Prime95 countdown 2018-12-06 18:27:19 -07:00
ca4234b1c3
Added working_dir arg for tmux command sections 2018-12-06 15:29:06 -07:00
dc606a8780
Main Prime95 sections working
* Still need check results and update progress sections
2018-12-06 01:06:21 -07:00
30ba651674
Removing report wrapping section
* Doesn't work properly with background processes
2018-12-06 00:10:51 -07:00
74bb31e795
Open temps monitor during run_mprime 2018-12-05 23:57:38 -07:00
5550cce8db
Add background mode for monitoring sensors
* This will be called by hw_diags.py to update a file in the background
* NOTE: This uses a naive check before attempting to write data
2018-12-05 23:55:15 -07:00
c777d49091
Added tmux_resize_pane() 2018-12-05 23:54:37 -07:00
5405b97eb1
Standalone sensor monitor working again 2018-12-05 23:09:42 -07:00
46080b4363
Moved tmux sections to separate file 2018-12-05 22:25:44 -07:00
0e5fab0104
Handle missing labels in generate_report() 2018-12-05 21:57:55 -07:00
95b0d1e3f4
Wrap reports if necessary 2018-12-05 21:54:41 -07:00
328d6eb294
Modify sensor_data in place 2018-12-05 20:47:40 -07:00
2eccc236a9
Added generate_report()
* Also merged save_max_temp() with update_sensor_data()
  * Max doesn't need resetting so just calc max everytime
2018-12-05 20:40:25 -07:00
7140f38ba4
Added average, clear, and max temps sections 2018-12-05 20:11:10 -07:00
cb67f7e3c3
Added new sensors.py and dropped borrowed sensors 2018-12-05 19:59:41 -07:00
5dd8fa8416
Get CPU details from lscpu 2018-12-05 17:48:30 -07:00
163f64dda7
Reduced timeout for major exceptions 2018-12-05 04:10:20 -07:00
372f80bf38
Skip optical drives 2018-12-05 04:08:59 -07:00
7c163a8110
Added update progress sections 2018-12-05 03:52:24 -07:00
d025b8dc9e
Adjusted how devices are added to the state obj
* The change allows for devices to be (dis)connected while the script is running
  * Devices are scanned and added during run_hw_diags()
* Fixes bug that prevented any devices from being added as well
2018-12-05 03:49:25 -07:00