Commit graph

811 commits

Author SHA1 Message Date
d8024be2c3
Add option to upload hw-diag results for review 2019-04-25 20:55:14 -07:00
c7309ad381
Skip Firefox during d7II
* Fixes issue #78
2019-04-25 20:41:41 -07:00
fe6762cf05
Include more details when selecting a ticket
* Ticket ID is shown in BLUE
* Ticket subject is shown in CYAN
* Fixes issue #68
2019-04-25 20:16:02 -07:00
2a0a80b09a
Show error if ticket not found
* Fixes issue #80
2019-04-25 19:45:18 -07:00
f6fdc047cf
Post quick SMART results if run from menu
* --quick argument still disables osTicket integration
* Fixes issue #81
2019-04-25 19:28:34 -07:00
eb80580794
Merge remote-tracking branch 'upstream/dev' into dev 2019-04-25 19:18:20 -07:00
896f9e4a05
Explicitly define smartctl tolerance levels
* Fixes issue #104
2019-04-25 18:37:17 -07:00
b737696f7f
Show more accurate data in mount-all-volumes()
* Fixes issue #108
2019-04-25 18:13:53 -07:00
60bfa373e2
Added support for ESET SysRescue and HDClone 2019-04-20 20:15:28 -07:00
a0f4d74656
Merge remote-tracking branch 'upstream/dev' into dev 2019-04-20 18:57:10 -07:00
8b4b0c40ce
Merge branch 'new-ufd-script' into dev 2019-04-19 19:01:56 -07:00
a83dcdd06a
Handle non-ISO source items 2019-04-19 18:14:10 -07:00
731a281805
More bugfixes 2019-04-19 16:33:12 -07:00
e2d788e265
Fixed upate_boot_entries() 2019-04-19 15:23:21 -07:00
19799bb1f4
Adjusting formatting 2019-04-18 20:52:47 -07:00
27eb7975ef
Fixed SYSLINUX installation 2019-04-18 20:51:14 -07:00
b05057d743
Ignore errors when uncommenting boot entries
* Allows using older ISOs which lack newer boot entries
  * Not a great idea, but it won't crash
2019-04-18 20:00:37 -07:00
153cda7cf8
Fixed update_boot_entries() 2019-04-18 19:27:41 -07:00
050bef7f85
Skip FileNotFoundError in copy_source()
* Avoids crash when copying some WinPE ISOs
2019-04-18 19:26:28 -07:00
21a587ee0f
Bugfix sleep() 2019-04-18 19:24:39 -07:00
427243c933
Reordered functions 2019-04-16 00:33:47 -07:00
cd4ea75862
Remove the arch dir when updating the UFD 2019-04-16 00:23:58 -07:00
949efa4de6
Added hide items sections 2019-04-16 00:16:05 -07:00
4215a2fd78
Added find_first_partition() 2019-04-16 00:14:46 -07:00
9652aa4623
Added install Syslinux section 2019-04-15 23:57:46 -07:00
091c31d33a
Bugfix 2019-04-15 23:52:06 -07:00
89ac824d82
Expanded boot entries sections
* Update Arch labels from ISO_LABEL to UFD_LABEL
* Added Linux (Minimal) to syslinux
* Added Linux (Minimal) and Linux (dGPU) entries to rEFInd
* Removed Linux (i3) entries
  * I guess this is a hidden feature now...
2019-04-15 23:44:42 -07:00
c16e97e49a
Added boot entry sections 2019-04-15 23:07:33 -07:00
95f4877862
Reordered functions 2019-04-15 23:04:37 -07:00
fc9de61269
Added copy_source() 2019-04-15 22:40:20 -07:00
26aca0df9f
Added mount and unmount sections 2019-04-15 22:38:54 -07:00
d769b1ad4e
Set overwrite=False by default 2019-04-15 22:05:48 -07:00
af757c5582
Show full device paths 2019-04-15 21:28:53 -07:00
c8944e5a14
Fixed prep_device() 2019-04-15 21:27:27 -07:00
2230ea1eea
Added prep_device()
* Skipped if --update is used
2019-04-15 20:30:39 -07:00
e098d40c2f
Added pylint exceptions 2019-04-14 18:49:32 -07:00
72cc33cb7e
Only show destination device, not all devices 2019-04-14 18:48:54 -07:00
3310e3d253
Moved most logic to functions.ufd 2019-04-14 18:43:08 -07:00
6734460d42
Added option to skip pause in abort()
* Also use exit_script(1)
2019-04-14 17:01:53 -07:00
8a6dfc5cdf
Include disk volume report if only I/O fails
* Fixes issue #76
2019-04-11 22:01:00 -07:00
c4755124a0
Remove more connect-to-network sections 2019-04-11 20:59:42 -07:00
d33f78960d
Reduced imports 2019-04-11 20:50:21 -07:00
415f56863d
Finished recursive_copy() 2019-04-08 20:26:41 -07:00
4d9ab2215b
Ensure SMART values are shown for some disks
* smartctl can return non-zero if there are errors in the SMART logs
2019-04-08 18:57:38 -07:00
54fe08545e
Merge remote-tracking branch 'upstream/dev' into dev 2019-04-08 15:59:41 -07:00
b43309be75
Avoid rare crash when scanning CoreStorage volumes 2019-04-08 15:55:52 -07:00
8cdb834499
Initial, incomplete version of recursive_copy() 2019-04-08 02:59:03 -07:00
4c33c110b7
Fixed source validation 2019-04-08 00:35:53 -07:00
b166172d10
Only perform case-insensitive search if needed 2019-04-07 23:45:08 -07:00
e420074c83
Use correct errors in find_path()
* FileNotFoundError is accurate since we're just looking for a path
2019-04-07 23:35:00 -07:00
50cb765108
Merged find_source_item() and get_full_path()
* Also fixed regex match (it wasn't matching the whole string)
2019-04-07 23:26:22 -07:00
b6c6fc9aa9
Find paths case-insensitively 2019-04-07 22:44:15 -07:00
cd0a9456cb
Use pathlib.Path to resolve paths
* is_block_device() is no longer needed
  * (pathlib.Path provides that functionality)
2019-04-07 22:41:41 -07:00
c4d00a2073
Fix typos 2019-04-07 22:35:09 -07:00
575126eaa2
Split build-ufd file to match other scripts 2019-04-07 20:51:54 -07:00
639a338cca
Initial Python layout
* Going to use docopt for argument handling
* Script will be run as user using sudo where needed
* Tentatively dropping tmux usage
2019-04-07 19:03:56 -07:00
6a7ef8ebcb
Merge remote-tracking branch 'upstream/dev' into dev 2019-04-02 16:37:09 -07:00
e089dd99a3
Avoid crash when no disks are connected
* It was attempting to recheck the NVMe/SMART data for the fake N/A lines
2019-04-02 16:29:09 -07:00
c9c1007eaa
Merge remote-tracking branch 'upstream/dev' into dev
* Fixes issue #61
2019-03-20 15:49:35 -06:00
c022d3f9c6
Set ddrescue-tui EToC refresh rate in settings 2019-03-20 15:48:01 -06:00
28cea9697e
Moved ddrescue-tui EToC code to its own function
* Limited refresh rate to every 5 seconds
2019-03-20 15:45:27 -06:00
fa05c93bf8
Added EToC line to ddrescue-tui side-pane
* Is not shown in main menu
2019-03-20 15:21:19 -06:00
c96ffc5f59
Added overall status line to ddrescue-tui 2019-03-20 13:16:09 -06:00
679a0329cc
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-20 12:59:25 -06:00
95338f1df7
Add encoding to run_program and popen_program 2019-03-20 12:57:56 -06:00
26199cf271
Detect and update browsers in Install SW Bundle
* Fixes issue #65
2019-03-19 20:31:00 -06:00
1e21b1bd59
Match formatting when enabling Windows Updates 2019-03-19 20:24:42 -06:00
3f96a31e1e
Fixed opening Snappy Driver Installer Origin
* Set working dir so the config file is read
* Pipe output to prevent flooding the screen with debug data
2019-03-19 19:03:16 -06:00
569810c3ca
Merge remote-tracking branch 'upstream/dev' into dev
Fixes issue #57
2019-03-19 14:20:31 -06:00
723f1ad4ad
Fixed WizTree extraction 2019-03-19 14:16:39 -06:00
2218c03172
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-17 21:08:29 -06:00
f73a1f8191
Open SDI Origin in New System Checklist
* Addresses issue #60
2019-03-17 21:02:42 -06:00
4cb14c6429
Restart Explorer after configuring
* Allows changes to be seen without restarting manually
2019-03-17 20:23:25 -06:00
b84d4eb6b8
Bugfix: typo 2019-03-17 20:22:50 -06:00
89a09a322e
Add prompt to run Post-d7II script
* Best I can do for issue #52
2019-03-17 20:08:01 -06:00
2bde723c43
Skip Internet Explorer setup in new_system_setup()
* Fixes issue #59
2019-03-17 18:29:41 -06:00
a7926e58a4
Set wuauserv startup to manual when enabling
* This is the default in at Windows 10
* Fixes issue #46
2019-03-17 18:25:01 -06:00
2e679dbf5e
Download stand alone Windows update installers
* Fixes issue #91 (again)
2019-03-17 18:11:36 -06:00
f39bb8191e
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-16 19:01:42 -06:00
e590547e3c
Show more details when disabling/enabling updates
* Fixes issue #46
2019-03-16 18:53:55 -06:00
c5b4446133
Configure Windows Updates during checklist/setup
* Sets readiness branch to non-targeted semi-annual
* Defers feature upgrades for 60 days
* Fixes issue #93
2019-03-16 18:11:19 -06:00
86f81f2720
Prevent updating OVERRIDE to CS 2019-03-16 15:11:42 -06:00
5aeeb41995
Prevent updating OVERRIDE to PASS 2019-03-16 15:09:35 -06:00
9cad5419d8
Simplified osTicket post formatting 2019-03-14 01:04:14 -06:00
4aa50a044a
Adjusted osTicket post formatting 2019-03-14 00:37:55 -06:00
d447e694b2
Set NVMe/SMART test to FAIL if safety check fails
* Fixes issues #49
2019-03-14 00:22:11 -06:00
8835fb486d
Include ticket ID and name in osTicket posts
* Fixes issue #58
2019-03-13 23:01:32 -06:00
c73bf2521c
Include ticket ID and name in top pane
* Only if ticket ID and name are set
* Expands on fix for issue #58
2019-03-13 22:49:07 -06:00
4c3fe1d66f
Avoid crash if connection to osTicket fails 2019-03-13 22:26:42 -06:00
b6ecf348d4
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-13 21:00:25 -06:00
809f338cd2
Use new NVMe/SMART report layout in osTicket posts
* Fixes issue #45
2019-03-13 20:57:14 -06:00
e0c3716e08
Avoid crash if fstype is None
* Set fstype to 'UNKNOWN FS' if it's an empty string or None
* Ensure all v_data values are strings before replacing text
* Fixes issue #53 (again)
2019-03-13 20:55:18 -06:00
62e78cdc2c
Skip uploading I/O Graphs if the test is disabled 2019-03-13 20:52:01 -06:00
70b8d2536a
Missed a functions/json.py import 2019-03-13 20:39:47 -06:00
34ef0bfae6
Fail test on SMART self-test timeout 2019-03-13 20:22:28 -06:00
b268385e0b
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-13 19:04:01 -06:00
75df9777b3
Removed extraneous whitespace 2019-03-12 22:49:25 -06:00
c45c1c9225
Merge remote-tracking branch 'upstream/dev' into dev
* Fixes issues #54 & #55
2019-03-12 22:45:43 -06:00
122bbfb157
Added debug mode for HW Diagnostics
* Uses alternative major exception
  * Saves State, CpuObj, and DiskObj data after traceback
  * Uploads the whole LogDir folder (compressed) instead of just the main log
2019-03-12 21:24:06 -06:00
7381547b27
Added functions.json
* Uses safer method to get JSON data from a command
* Replaced nearly all uses of json.loads with new get_json_from_command()
* Fixes issue #100
2019-03-12 16:08:21 -06:00
480222c1f2
Adjusted variable name usage for consistency 2019-03-12 15:13:16 -06:00
1d10503b91
Support disks over 4TB in badblocks test
* Set read block size to 4KB if disk is 4Kn or 3TB+
* Fixes issue #99
2019-03-11 21:00:26 -06:00
e7d31c21c3
Get disk size in bytes during object creation
* Also moved dd calc section into docstring
2019-03-11 20:55:24 -06:00
7f6509d235
Return to HW-Diags menu from safety_check() 2019-03-11 13:26:11 -06:00
7701418e55
Recheck disk attributes after all tests
* Should catch errors exposed by badblocks
* Addresses issue #96
2019-03-11 13:25:12 -06:00
7078efe9e7
Adjusted SMART self-test running message 2019-03-11 13:23:56 -06:00
a3d2de92bc
Show CS/NS in quick mode if self-test is running
* It still shows the slightly ambiguous message "all tests disabled"
* Addresses issue #96
2019-03-11 12:37:01 -06:00
607d4b1e57
Skip SMART self-test in quick mode
* Addresses issue #96
2019-03-11 12:36:33 -06:00
6edfcc9766
Moved SMART self-test code to its own function
* Allows for a simpler run_nvme_smart_tests()
* Self-test is now done before the attribute check
* Addresses issue #96
2019-03-11 11:57:29 -06:00
40f269aabd
More cleanup for generate_attribute_report() 2019-03-11 10:52:11 -06:00
a5852d1caa
Major overhaul of NVMe/SMART reporting/testing
* Moved all errors/warnings to new nvme_smart_notes var
  * Allows the notes to be appended to the attribute report much easier
  * Allows the attribute report to be updated without losing notes
* NVMe/SMART should only contains the SMART short self-test results
  * If available and requested
* Updated safety_check to fix erroneous requests
  * Disable tests logic reworked
* Updated generate_disk_report() to include notes
* Addresses issue #96
2019-03-09 21:42:28 -07:00
95aa063a69
Adjusted disk safety checks
* check_attributes() is now always silent
  * Returns a PASS/FAIL bool
  * override_disabled is now at the Disk() scope
* Moved self-test checks to check_smart_self_test()
  * Returns a PASS/FAIL bool
* Addressed issue #96
2019-03-09 18:07:04 -07:00
858c2e1bd5
Avoid crash on some Macs
* Partially addresses issue #88
  * HW damage should be avoided by using the THERMAL_LIMIT setting
2019-03-09 14:15:42 -07:00
b0e2b01e00
Added beep function
* Fixes issue #89
2019-03-09 14:11:53 -07:00
d5dc453ffa
Added maximum threshold for NVMe/SMART attributes
* Fixes issue #95
2019-03-05 19:36:43 -07:00
62f2ec8a4d
Moved SW-Diags settings to separate file 2019-03-05 19:36:42 -07:00
4197fc9e0b
Moved WinPE settings to separate file 2019-03-05 19:36:42 -07:00
8d8399c9aa
Moved windows setup settings to separate file 2019-03-05 19:36:42 -07:00
af5281626b
Moved setup settings to separate file 2019-03-05 19:36:42 -07:00
8add6f634c
Moved sensor settings to separate file 2019-03-05 19:36:41 -07:00
058a52961d
Moved info settings to separate file 2019-03-05 19:36:41 -07:00
d03772666d
Moved ddrescue-tui settings to separate file 2019-03-05 19:36:41 -07:00
974e20df05
Moved data settings to separate file 2019-03-05 19:36:41 -07:00
34f4bca97d
Moved browser settings to separate file 2019-03-05 19:36:41 -07:00
e2c83aad6e
Moves HW-Diags settings to separate file 2019-03-05 19:36:41 -07:00
28ee4a3ed4
Merge remote-tracking branch 'upstream/dev' into dev 2019-02-28 00:18:21 -07:00
0398ea7e51
Disable Tips & Tricks (more) 2019-02-27 23:57:13 -07:00
d8ce7f36e9
Expanded registry edits
* Disable edge swipe
* Add This PC to Desktop
* Add User's Files to Desktop
* Launch folders as separate process
* Addresses issue #60
2019-02-27 23:55:11 -07:00
63fa4d6f80
Show Cortana as taskbar icon instead of hiding 2019-02-27 22:09:21 -07:00
9333fb8f3e
Include filesystem type in volume reports
* Fixes issue #53
2019-02-26 22:07:14 -07:00
bc4fa92e16
Show ticket ID and name on results screen
* Fixes issue #58
2019-02-26 21:49:42 -07:00
85212fb171
Add retry option when connecting to osTicket
* Fixes issue #51
2019-02-23 17:49:40 -07:00
8be59c2c13
Fixed comment to match code 2019-02-23 16:32:16 -07:00
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