Commit graph

1014 commits

Author SHA1 Message Date
5a1f7b1829
Silence build-ufd init 2019-04-14 15:58:09 -07:00
b2528b90f8
Fix docopt handling
* Show usage if invalid arguments are used
2019-04-11 22:25:13 -07:00
0883b099fd
Skip safety check if upgrading 2019-04-11 22:24:25 -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
a8afd793e0
Added setup-wifi script
* This will replace the connect_to_network() function
2019-04-11 20:55:40 -07:00
d33f78960d
Reduced imports 2019-04-11 20:50:21 -07:00
1a8b6705e0
Show selections before starting work 2019-04-08 20:57:35 -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
5fe37b62b2
Adjusted source/dest items 2019-04-08 02:58:07 -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
7eaa5d73cd
Merge remote-tracking branch 'upstream/dev' into dev 2019-04-07 19:40:39 -07:00
1c7677d805
Skip renaming Copy WizardKit.cmd
* It isn't used anymore
2019-04-07 19:39:30 -07:00
3ff0bcd3c9
Updated new_system_setup.py to match other scripts
* i.e. don't change dir when setting sys.path
2019-04-07 19:07:31 -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
a22e6f552f
Start build-ufd rewrite in python 2019-04-07 19:01:03 -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
e147dbc6d2
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-30 09:49:15 -07:00
52e3e24a3a
Updated build-ufd 2019-03-30 09:48:48 -07:00
d6de2c5b65
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-30 09:47:56 -07:00
c5364a65a2
Avoid copying the wrong files from WinPE
* if w_en_us was empty it would copy the contents from $(pwd)
2019-03-30 09:45:36 -07:00
0b31fa271d
Expand build-ufd log 2019-03-30 09:38:13 -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
df1706a8bf
Disabled speedtest in d7II mode, moved to Post-d7
* Also updated post_d7.py to use 2-space indentation
2019-03-19 20:49:32 -06:00
a4f57787e7
Merge remote-tracking branch 'upstream/dev' into dev 2019-03-19 20:46:48 -06:00
877db91cb6
Extended Windows build list 2019-03-19 20:45:37 -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
089cdba4f9
Updated sources 2019-03-19 14:16:16 -06:00
f98c106080
Bugfix: Extremely minor formatting issue 2019-03-17 21:30:25 -06:00
6d7a5e1eae
Updated system_checklist_hw.py 2019-03-17 21:25:04 -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
1fbdb2b5e2
Replace PowerShell with CMD in Win+X menu
* Addresses issue #60
2019-03-17 20:54:59 -06:00
48c0cf0b1b
Adjusted Explorer settings 2019-03-17 20:43:19 -06:00
6876d1c0ef
Fixed dict collision in Explorer settings
* Also updated section descriptions
* Addresses issue #60
2019-03-17 20:40:25 -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
1235269da0
Bugfix 2019-03-17 20:17:00 -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
ead4715c38
Also skip IE in reset_browsers and user_checklist
* More fixes for issue #59
2019-03-17 18:37:03 -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
84deb49beb
Explicitly set colors to properly reset errorlevel 2019-03-16 23:03:13 -06:00
ec74b06282
Verify Python can be run before launching script
* Fixes issue #91
2019-03-16 23:02:44 -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
f9b35b9a3d
Fixed dict collision
* Fixes issue #97
2019-03-16 18:14:31 -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
648787913e
Fixed issues importing settings files 2019-03-13 19:02:35 -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
3fa6521c51
Only enable WinPE boot entries if necessary
* Addresses issue #94
2019-03-11 22:31:56 -06:00
459f95394a
Allow building UFD with only the Linux ISO
* Addresses issue #94
2019-03-11 22:27:07 -06:00
22b1452168
Find WinPE sources case-insensitively
* Allows non-WK WinPE builds to be used
* Addresses issue #94
2019-03-11 22:24:11 -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