Commit graph

745 commits

Author SHA1 Message Date
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
465a3b42fb
Kill all tmux panes before exiting 2018-12-08 18:36:50 -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
2d69d93154
Added watch option for tmux_split_window() 2018-12-05 03:41:27 -07:00
43b9645c69
Update tmux panes via respawn-pane
Instead of send-keys
* Avoids flooding zsh history
* Less flickering
2018-12-04 23:39:15 -07:00
4bb1402ac5
Added tmux functions
* Going to try and replace the send-keys sections next
2018-12-04 20:50:47 -07:00
8fb1620c94
Added placeholder functions for HW tests 2018-12-04 19:23:35 -07:00
597a236089
Don't clear screen twice at startup
* Combined init_global_vars and add_devs output
2018-12-04 18:44:52 -07:00
1489ad4237
Added safety check for devices 2018-12-04 18:43:50 -07:00
62c9d82fd2
Adjusted placeholders 2018-12-04 17:05:53 -07:00
5701b53026
Added --quick argument to skip menu 2018-12-04 16:55:17 -07:00
6014a8fb70
Don't add WK or loopback devices 2018-12-04 16:18:45 -07:00
70a742e69c
Add device details from lsblk
* Also ensure sane types for some attributes
2018-12-04 16:10:58 -07:00
2df4d48bb3
Show selected tests on run 2018-12-03 20:15:56 -07:00
560929e2fa
Removed extra line break in menu_select 2018-12-03 19:54:06 -07:00
18fc97293e
Renamed Drive to Disk to align options in menu 2018-12-03 19:50:55 -07:00
3fdd8c629c
Rewrote main menu
* First options are presets followed by individual tests
* Selecting presets will toggle the selections
* Screensavers are hidden but still present
2018-12-03 19:47:44 -07:00
10f2fca2bf
Added classes DevObj and State 2018-12-03 17:52:07 -07:00
83dda97ff6
Bugfix: launchers.py 2018-11-26 19:13:00 -07:00
c42c764789
Updated hw_diags.py 2018-11-26 18:35:33 -07:00
f802ea860d
Updated ddrescue.py 2018-11-26 18:15:41 -07:00
bb23d49833
Adjusted mounting shares/volumes 2018-11-26 18:14:06 -07:00
b3b821a868
Allow mounting all volumes per device 2018-11-26 18:12:24 -07:00
8a86edb5bb
Updated windows_builds.py 2018-11-23 18:33:18 -07:00
972d91a4b8
Updated sources.py 2018-11-23 18:32:52 -07:00
e3076152ba
Updated main.py 2018-11-23 18:31:36 -07:00
566e1474a5
Updated launchers.py 2018-11-23 18:24:05 -07:00
2d9de7b69e
Updated system diags/checklist and user checklist 2018-11-23 18:22:56 -07:00
5da9d4e36b
Updated update.py and update_kit.py 2018-11-23 18:21:33 -07:00
7e960df2d6
Updated setup.py 2018-11-23 18:18:00 -07:00
832ef993e6
Updated repairs.py 2018-11-23 18:13:11 -07:00
1cac083916
Updated info.py 2018-11-23 18:12:36 -07:00
7f37bc8802
Updated diags.py 2018-11-23 18:10:50 -07:00
1839edf84d
Updated cleanup.py 2018-11-23 18:09:31 -07:00
7f7c220073
Updated browsers.py 2018-11-23 18:08:41 -07:00
18b13cf506
Updated common.py 2018-11-23 18:06:57 -07:00
923ddd7cd3
Removed whitespace from more empty lines 2018-11-23 18:04:12 -07:00
8064fc4a17
Removed whitespace from empty lines 2018-11-23 18:01:03 -07:00
63fcaed8cd
Updated Launchers 2018-11-23 17:54:46 -07:00
2Shirt
598dc8020d Fix crash when aborting all tests
* Fixes issue #26
2018-10-15 12:26:18 -06:00
2Shirt
5798d48342 Added ESET Online Scanner to update sections 2018-10-14 23:53:45 -06:00
2Shirt
cc0c9a1795 Adjusted SMART thresholds 2018-10-14 18:08:13 -06:00
2Shirt
e1984a5417 Fixed WinAIO Launchers 2018-10-13 19:08:12 -06:00
2Shirt
41400d7710 Removed Update Kit 2018-10-13 19:06:51 -06:00
2Shirt
4c500f83a5 Add short delay between opening pages 2018-10-13 19:05:46 -06:00
2Shirt
742a944ace Renamed privacy sections 2018-10-13 18:31:15 -06:00
2Shirt
26e8c93282 Adjusted RegBack sections
* Labeled more accurately in system checklists
* Isolated into a separate enable_regback() function
2018-10-12 16:41:51 -06:00
2Shirt
05a9245a4c Allow special characters in network passwords 2018-10-12 15:49:45 -06:00
2Shirt
79713c700f Reduced AppWaitTime values 2018-10-12 14:09:39 -06:00
2Shirt
08ded5311f Updated system_diagnostics.py 2018-10-12 13:59:56 -06:00
2Shirt
e7c519f605 Only run DISM for Win8+
* Avoids pausing the script for "Unsupported OS" "errors"
2018-10-12 12:58:44 -06:00
2Shirt
dab3bb5f68 Updated list of Windows builds 2018-10-12 12:54:21 -06:00
2Shirt
b544787ae6 Mount backup shares RW from CLI 2018-10-11 14:57:42 -06:00
2Shirt
f0179ec962 Show volume usage for all devices
* Don't CoreStorage scans for failed devices
* Fixes issue #25
2018-10-11 14:56:01 -06:00
527049cdb2
Merge remote-tracking branch 'upstream/dev' into dev 2018-10-10 16:45:43 -06:00
bf354edeae
Fix hw-sensor bug caused by upstream code 2018-10-10 15:48:18 -06:00
2Shirt
3bb8e786e4 Merge branch 'd7' into dev 2018-10-09 00:28:14 -06:00
2Shirt
09994a7c73 Adjusted main d7II settings
* Added 1201 logo
* Disabled news bar
2018-10-09 00:25:23 -06:00
2Shirt
b4acdad3f0 Adjusted tool download frequency 2018-10-09 00:24:35 -06:00
2Shirt
1c5b4bbfd8 Updated d7II configs 2018-10-08 23:26:27 -06:00
2Shirt
73654b2213 Added d7II config files (from 2018-08) 2018-10-08 23:12:35 -06:00
2Shirt
93e4bd5c0f Fix cleanup_d7ii() 2018-10-08 21:47:11 -06:00
2Shirt
122df6240c Create new ClientDir folders to prevent crashes 2018-10-08 21:46:50 -06:00
2Shirt
fb9731539f Added set_log_file() 2018-10-08 21:44:38 -06:00
95c8de0a21
Merge branch 'dev' of github.com:2Shirt/WizardKit into dev 2018-10-08 15:48:45 -06:00
6a67052d83
Show SMART for parent dev if child dev selected 2018-10-08 15:47:40 -06:00
2Shirt
4afbc1a0a4 Cleanup ClientDir during post_d7.py 2018-10-07 22:09:20 -06:00
2Shirt
bff141ff8d Restore default UAC settings in post_d7.py 2018-10-07 22:03:30 -06:00
2Shirt
8d0ad7c20d Cleanup ClientDir during the System Checklists 2018-10-07 21:29:57 -06:00
2Shirt
a8a2fce662 Added delete_empty_folders()
* Deletes folders only if they're empty and does so from the bottom up
  * (i.e. "Some\Path" will be removed before "Some")
2018-10-07 21:23:10 -06:00
2Shirt
ceae05817d Delete ESET installer after setup 2018-10-07 21:10:28 -06:00
2Shirt
f9ab36fc7c Reorganized ClientDir
* "ClientDir\Info" renamed to "ClientDir\Logs"
  * Logs are sorted into subdirs based on the source:
  * KIT_NAME_FULL: WizardKit logs
  * d7II: d7II logs
  * Tools: Logs from tools called by WizardKit or d7II
  * (no subdir): System information
* "ClientDir\Backups"
  * Switched to "Backups\Source\{Date}" from "Backups\{Date}\Source"
2018-10-07 21:04:41 -06:00
2Shirt
8189d412eb Enabled ERUNT registry backup in d7 diagnostics 2018-10-07 19:05:39 -06:00
2Shirt
877a9c6634 Added second ShutUp10 launcher 2018-10-07 16:45:33 -06:00
2Shirt
85653593df Add Linux Reader 2018-10-07 14:39:17 -06:00
2Shirt
3c3eada6a7 Removed temp size from system checklist 2018-10-07 14:38:45 -06:00
2Shirt
ebc040cd56 Adjusted formatting 2018-10-07 14:37:59 -06:00
2Shirt
a7fd06598d Add HDTune launcher 2018-10-07 14:37:20 -06:00
2Shirt
0546ac3e84 Fixed updating WinAIO Repair 2018-10-07 14:36:20 -06:00
2Shirt
56a74798e5 Fixed unmute command 2018-10-07 14:32:14 -06:00
2Shirt
8e95eb5010 Disabled Caffeine 2018-10-07 14:31:32 -06:00
2Shirt
f1b3ffb483 Updated d7II cleanup for Windows 7 2018-10-07 14:31:01 -06:00
2Shirt
3c950e3c56 Adjusted System Diagnostic formatting 2018-10-07 14:28:37 -06:00
2Shirt
63086dcb1e Added 1201 Root CA
* Allows uploaded crash reports under Windows
2018-10-06 22:27:33 -06:00
2Shirt
b495ce399d Removed Adobe Reader from SW Bundle 2018-10-06 21:49:26 -06:00
2Shirt
b1f495dada Updated ESET installation sections
* Apply user config before installation
  * Disables splash screen and desktop notifications
* Call update_eset_config() in update_kit.py
* Fixed install_eset_nod32_av()
* Moved ESET launcher to Installers
2018-10-06 21:41:20 -06:00
2Shirt
f5caaf09c2 Fixed updateshutup10() 2018-10-06 19:20:29 -06:00
2Shirt
f097b98c85 Fixed update_furmark() and add FurMark Launcher 2018-10-06 19:19:14 -06:00
2Shirt
e642bfd2d3 Fix WK device detection to omit from HW-Diags 2018-10-04 13:56:16 -06:00
2Shirt
ba302f0c5b Add SMART short test results to osTicket report 2018-10-03 23:52:23 -06:00
2Shirt
cdb0963139 Remove timeout for remount-rw 2018-10-03 23:32:04 -06:00
2Shirt
5ad18a7fee Show warning if there were issue(s) posting 2018-10-03 23:30:55 -06:00
2Shirt
e56647ed48 Fix drive report for aborted tests 2018-10-03 23:30:21 -06:00
2Shirt
117a47e94c Refactored DB connection sections
* Connect for each post instead of once per session
* Restart the SSH tunnel if it was closed
* Avoid issue where the connection(s) were broken by aborting Prime95
2018-10-03 23:25:15 -06:00
2Shirt
00b3c405d0 Show more precice amount recovered 2018-10-03 20:10:43 -06:00
2Shirt
2a1cc81e46 Added O&O ShutUp10 2018-10-03 20:06:41 -06:00
2Shirt
1b5e05b81a Use different thresholds for HDDs and SSDs
* Fixes issue #22
2018-10-03 19:43:53 -06:00
2Shirt
e4410b1258 Expanded Post-D7II Cleanup
* Fixes issue #4
2018-10-03 16:19:42 -06:00
2Shirt
6bd29e402c Add Furmark
* Fixes issue #10
2018-10-03 14:32:29 -06:00
2Shirt
e2c07d5710 Add Macs Fan Control
* Fixes issue #7
2018-10-03 14:07:42 -06:00
2Shirt
5c34ebf34b Add WinAIO Repair presets
* Fixes issue #21
2018-10-03 14:02:20 -06:00
2Shirt
7b57329dee Post drive details for skipped devices 2018-10-03 13:55:30 -06:00
2Shirt
08768424f0 Post Prime95 results for aborted tests 2018-10-03 13:54:58 -06:00
2Shirt
904b41dbae Disable PeopleBar and Tips and Tricks 2018-10-03 13:48:46 -06:00