534f258846
Add some type hints
2023-05-27 20:05:03 -07:00
0126452bf1
Merge branch 'ui-split' into dev
2023-05-27 19:50:49 -07:00
3334638a2c
Suppress warnings when using tail in tmux
2023-05-27 19:48:18 -07:00
cb012423bb
Refactor hardware diagnostics to use new TUI
2023-05-27 19:47:26 -07:00
4c76e59238
Add get_window_size()
2023-05-27 19:22:24 -07:00
ba69773fba
Clear history when clearing a pane
...
Helpful if the pane is resized to prevent cleared lines from returning.
2023-05-27 19:08:48 -07:00
f19c4b2422
Update self-test data before checking result
...
Addresses #209
2023-05-22 20:59:10 -07:00
59d89575ed
Refactor SMART self-test checks
...
- Preserve TimedOut status
- Adds last self-test result to notes (if present and result is unknown)
2023-05-21 14:52:28 -07:00
9678f143c7
Misc
2023-05-14 21:59:34 -07:00
7aafcd7c01
Update add_title_pane() to match set_title()
2023-04-09 16:33:11 -07:00
b834be9f00
Close all panes atexit
2023-04-09 16:32:13 -07:00
ba3bf480f7
BREAKING Add wk/ui/tui.py
2023-04-09 15:59:34 -07:00
f9bcd534d4
Move ansi code into wk/ui
2023-04-08 19:20:22 -07:00
d302be2d7c
Use prompt_toolkit for CLI input
2023-04-08 16:26:51 -07:00
13fc64e6ab
Remove unneeded wk.ui calls
2023-04-08 14:16:41 -07:00
44ddb3c258
Replace clear_screen() function
...
This is now part of wk.ansi and is fully cross-compatible.
2023-04-08 12:45:45 -07:00
95d7159414
Move ANSI color escape sections to their own file
2023-04-02 20:46:54 -07:00
03a143488c
Adjust ui imports and calls
2023-04-02 20:12:18 -07:00
6efc970374
Move tmux sections into wk.ui
2023-04-01 22:36:59 -07:00
e3ebc2d1b8
Merge branch 'dev' into ui-split
2023-04-01 22:28:32 -07:00
96136e8e46
Overwrite .new files if needed
...
Addresses issue #213
2023-04-01 22:25:11 -07:00
ddb9c4041b
Suppress output when configuring browsers
...
Addresses #214
2023-04-01 22:20:33 -07:00
9228137187
Fix check_4k_alignment()
...
Addresses #215
2023-04-01 22:16:38 -07:00
89fd647792
Split wk.std into debug, std, and ui sections
2023-04-01 22:14:03 -07:00
9f66b151af
Replace more pylint sections with ruff
2023-03-26 23:52:52 -07:00
7c66eb5e99
Allow password sign-in for MS accounts
...
Addresses issue #210
2023-03-26 23:04:45 -07:00
d5bc74d21b
Show partition info in 4K alignment check
2023-03-25 20:24:17 -07:00
e00920f24a
Switch to ruff linting
2023-03-19 18:47:46 -07:00
a124b0002b
Remove unused proc var
2023-02-18 14:58:44 -08:00
c888adc1e0
Revert "Fix type causing wrong type to be returned"
...
This reverts commit 4cc6a5ecd1 .
2023-02-16 16:48:01 -08:00
4cc6a5ecd1
Fix type causing wrong type to be returned
2023-02-15 17:36:18 -08:00
ee1f41a1bb
Add VCRedist link
2023-02-07 16:09:33 -08:00
9d76502421
Parse KVRT report to create human readable log
2023-02-04 17:22:00 -08:00
f371a4cb83
Limit KVRT scan to Users and ProgramData folders
2023-02-04 17:20:06 -08:00
302ad58814
Remove /utf8 arg from FastCopy launchers
...
I seems that the FastCopy docs are outdated?
2023-01-02 13:22:07 -08:00
5e95cee2f3
Support kit dir to be at the root of a volume
2022-12-23 19:09:16 -08:00
c235926930
Remove Linux Minimal build
...
- Merge archiso profiles
- Merge package lists
- Merge full/minimal sections in build_linux
- Remove minimal boot entries
- Remove minimal from build-ufd config and scripts
- Update Linux README.md
Addresses #207
2022-12-17 23:07:35 -08:00
0e2d51926c
Fix Auto Repairs menu
...
Reboot entries weren't selected in the default profile due to having
ASCII color escapes.
2022-12-15 20:41:05 -08:00
0ce8169e6b
Skip the main menu when resuming to Auto Repairs
...
Fixes issue #205
2022-12-15 20:03:05 -08:00
137c3ec5e5
Add label for test mode in hardware diagnostics
2022-12-11 21:44:20 -08:00
89de2a7679
Avoid crash for devices with bad volume names
2022-11-16 22:41:16 -08:00
e583929498
Reduce time needed for get_disks()
2022-11-12 23:21:23 -08:00
3922ed08a8
Fix pylint warning W3101
2022-11-12 22:32:25 -08:00
d306a4c4e6
Improve RAM model reporting
2022-10-29 12:06:37 -07:00
b36847fa5c
Skip elevate for Windows Updates
2022-10-23 17:47:07 -07:00
94c1f282f5
Fix reboot entries in Auto Repairs presets
2022-10-23 17:09:08 -07:00
d1ff7a391b
Fix typo
2022-10-23 16:49:42 -07:00
b9202c0ba2
Fix Auto Repairs presets
2022-10-23 16:48:03 -07:00
166ad3198c
Add badblocks support for drives over 16TB
2022-10-23 13:31:37 -07:00
2706d1a9a5
Show failed SMART attributes during disk tests
2022-10-23 13:18:43 -07:00
5c6c123daa
Fix SDIO launcher when SDIO_SERVER not defined
2022-10-22 20:35:05 -07:00
25b64d6852
Limit badblocks scan to minimum in test_mode
2022-10-22 19:41:27 -07:00
a324e71ba9
Open Snappy Driver Instller Origin in AutoSetup
...
Address issue #202
2022-10-22 18:49:58 -07:00
3d90adf4b2
Add option to run SDIO from network share
2022-10-22 18:24:48 -07:00
eab7a03f70
Update launchers.py
2022-10-19 23:34:51 -07:00
df6d3d4a24
Fix Auto Setup selections under Windows 11
2022-10-19 23:31:20 -07:00
8c03530ec5
Update details before confirming selection
2022-10-19 23:21:23 -07:00
3d799c2b62
Fix test mode in I/O benchmark test
2022-10-08 22:05:54 -07:00
7714b3436f
Track initial and current SMART attributes
...
Addresses issue #194
2022-10-08 19:26:20 -07:00
4465caa9fd
Skip empty devices
2022-10-08 18:45:31 -07:00
a6a774beae
Update Disk details before checking labels
2022-10-08 18:44:56 -07:00
2c9e56e830
Improve device size reporting in the description
...
i.e. support 512GB SSDs, 1.5TB HDDs, etc
Addresses issue #199
2022-10-08 16:33:50 -07:00
fc8f81b66d
Open ddrescueview only once per BlockPair
2022-10-08 15:41:54 -07:00
6880a353cc
Set known_attributes when intializing Disk()
...
This new design uses copy.deepcopy() to avoid erroneous thresholds being
applied to drives during diags. This also reduces the number of lookups
to one per Disk.
2022-10-08 14:15:32 -07:00
c08ad2b1fb
Avoid crash when saving debug info
2022-10-08 14:00:03 -07:00
591fb8e138
Skip installing Open Shell under Windows 11
2022-10-01 19:15:15 -07:00
a9581c9152
Update OS version sections to support Windows 11
2022-10-01 18:43:44 -07:00
926b32b574
Clean badblocks results to remove backspaces
2022-09-28 00:33:15 -07:00
5aa49fe5e5
Stomp bugs and typos
2022-09-28 00:33:15 -07:00
d51bf9fe63
Add presets to AutoRepairs
2022-09-28 00:33:15 -07:00
e55cc41e2b
Update the AutoRepairs scheduled task every run
...
This is useful if the kit is being run from a different port and the
letter changed between runs.
2022-09-28 00:33:15 -07:00
2df0bb504f
Reorganize kit layout and update launchers
2022-09-28 00:33:15 -07:00
82e0de422b
Add export_bitlocker.py script
2022-09-28 00:33:15 -07:00
cafdf42a6d
Use same log file for full AutoRepairs session
2022-09-28 00:33:15 -07:00
3b89f1eabc
Support download referer headers and redirects
2022-09-28 00:33:15 -07:00
9f52daeec3
Reduce AutoRepair countdown
...
Addresses issue #197
2022-09-28 00:33:15 -07:00
dd59f94f85
Replace IOBit with UninstallView
2022-09-28 00:33:15 -07:00
2b42bf9a8c
Update sources
2022-09-28 00:33:14 -07:00
a86649cb29
Update main settings
2022-09-28 00:33:14 -07:00
f008546565
Avoid crashing if a device disconnects mid-diags
2022-09-24 19:58:41 -07:00
a97a71a24a
Fix Windows 11 version reporting
2022-09-04 18:10:54 -07:00
5f69e23887
Address Pylint error W1518
2022-09-04 17:44:58 -07:00
d36589751e
Fix mount_volumes() under Linux
2022-09-04 16:57:55 -07:00
5e1cc683fe
Disable Edge first run screen
...
Addresses issue #193
2022-07-10 15:55:25 -07:00
72640686da
Disable "Let's make Windows even better" screens
...
Addresses issue #191
2022-07-10 15:48:57 -07:00
df85d3049e
Disable Windows search highlights
...
Addresses issue #190
2022-07-10 15:42:53 -07:00
38e867d3e3
Lower default skip-size values
2022-07-09 18:52:51 -07:00
9e874f8034
Fix bug locking ddrescue-tui to pass Read-Skip
2022-06-24 10:36:10 -07:00
989fe9f047
Add workaround in Open Shell for S0 LOW POWER IDLE
...
If the system supports that power state Open Shell can't enter sleep
mode. The workaround removes the standard sleep option from the list
and adds a new sleep button above the shutdown button that just turns
the monitor off.
Addresses issue #719
2022-06-16 19:27:05 -07:00
301c64be4c
Assume bytes for bare numbers in string_to_bytes()
2022-05-24 16:23:27 -07:00
7b13b7de26
Remove useless replace() call
2022-05-24 12:35:10 -07:00
b4547c3555
Remove magic numbers
2022-05-21 17:38:28 -07:00
7abd4c21c3
Refactor Disk children sections
...
Child devices are not added by default to improve performance.
Disk.children is always present to avoid overly cautious lookups.
2022-05-21 15:03:44 -07:00
193d207d5b
Fix mount-all-volumes
2022-05-21 15:03:34 -07:00
e03956f2fe
Convert Disk description to a property
2022-05-21 14:39:42 -07:00
1616379398
Update mount_volumes to match build_volume_report
2022-05-21 14:35:25 -07:00
29d4e80f7e
Refactor get_disks_macos() to improve performance
...
Found a way to easily exclude disk images from the list under El Cap
2022-05-20 19:44:12 -07:00
544ffb1aff
Refactor partition table type lookup sections
2022-05-20 17:58:07 -07:00
cf7ed909b3
Remove Python 3.10 requirement
2022-05-20 17:08:10 -07:00
fddd77e6fd
Fix typehint typo
2022-05-19 17:27:49 -07:00
068f1773aa
Update Linux mount volume sections
2022-05-18 14:59:14 -07:00
5fc5cda86d
Avoid adding duplicate attribute failure notes
2022-05-14 17:51:43 -07:00
0ecc4d4146
Add test mode to Hardware Diagnostics
...
Addresses issue #192
2022-05-14 17:48:04 -07:00
47308c1508
Allow non-integer number of minute countdowns
2022-05-14 16:19:18 -07:00
859bc990e0
Fix destination size checks
...
Addresses issue #166
2022-05-01 16:53:48 -07:00
6642aad2c8
Update ddrescue-tui to use new Disk object vars
2022-05-01 16:20:39 -07:00
2585ed584c
Refactor disk safety checks
2022-04-18 09:21:29 -07:00
95cd3b645d
Remove SMARTSelfTestInProgressError sections
...
Going forward this is a non-blocking error.
2022-04-11 16:50:21 -06:00
d667695e9e
Move surface scan check to its own function
2022-04-11 14:30:42 -06:00
af8b2b7dd3
Refactor SMART self-test sections
2022-04-08 19:19:23 -06:00
41b4ffd9fb
Cleanup pylint sections
2022-04-08 18:38:55 -06:00
312df1ee9d
Refactor import logic for wk.hw.diags
2022-04-08 15:38:03 -06:00
20f91f01d1
Add type hints to hardware functions
2022-04-06 19:08:23 -06:00
3d7881328f
Move ddrescue out of wk/hw section
2022-04-06 19:08:09 -06:00
f79e578aaf
Remove pylint warning from sensors
2022-04-06 16:23:44 -06:00
46eb737dc8
Move SMART functions to their own file
2022-04-06 16:22:58 -06:00
99dd7661d4
Split hardware diagnostics into multiple files
2022-04-05 18:11:06 -06:00
fc2bb07d11
Track test groups as list instead of a dict
...
By only including selected tests we can skip checking for the
enabled/disabled status. This will also simplify the process
of disabling future tests for a disk if a failure is detected.
2022-04-05 14:45:14 -06:00
5ffa6d8261
Replace references to details with attributes
2022-04-04 18:58:45 -06:00
4647efb971
Fix broken import
2022-04-04 18:33:03 -06:00
8582046948
Update HW diags and ddrescue to use new HW classes
2022-04-04 18:31:52 -06:00
56e145942a
Update generate_object_report() to handle slots
2022-04-04 18:31:15 -06:00
172cb398ba
Convert hardware objects to dataclasses
2022-04-04 18:30:21 -06:00
a3abf03a23
Merge branch 'new-ddrescue-arguments' into dev
2022-03-31 17:40:46 -06:00
8dd8701e8d
Split read phase into two parts
...
Addresses issue #184
The first read phase will skip a lot more to try to recover more data
from the whole source. Then the second read phase will fill in like
the previous configuration.
2022-03-25 18:45:28 -06:00
4817fe6d1f
Use larger --skip-size by default
2022-03-25 16:53:29 -06:00
817cfc3de7
Skip --reopen-on-error by default for all presets
2022-03-25 15:48:00 -06:00
2a70997a6c
Use sessions in requests when downloading files
2022-03-10 15:36:58 -07:00
4e61025e99
Fix --sector-size argument
2022-03-08 13:02:33 -07:00
b66f25dfea
Only open ddrescueview if running with a DISPLAY
2022-03-08 12:36:49 -07:00
b82493b12b
Generate new map files when starting a recovery
...
This is done to define the domain size and let us use --complete-only.
This also enables us to open ddrescueview immediately since that tool
requires a valid map file from the start. If you open an empty map
file ddrescueview doesn't auto-reload the file correctly.
Addresses #184
2022-03-08 11:55:23 -07:00
9d2eb8b175
Fix initial and max skip sizes
...
ddrescue's minimum is 64KiB so we should respect that.
Addresses #184
2022-03-08 11:53:56 -07:00
ea9e3b3696
Disable broken --sector-size argument
...
Addresses #184
2022-03-08 11:52:04 -07:00
c3ec690318
Add new ddrescue argument options
...
Addresses #184
2022-03-07 23:49:15 -07:00
f58f6d9da1
Update source URLs
2022-02-23 12:47:22 -07:00
a35ffdda23
Open ddrescueview during recovery
...
Addresses issue #182
2022-02-20 18:10:13 -07:00
82a2e7f85c
Add support for renaming macWK boot.efi files
...
This prevents those boot entries from appearing in the macOS boot menu
2021-12-14 21:04:44 -07:00
32d7cd44ff
Save extra image list to UFD to support --update
...
Addresses #176
2021-12-14 15:08:01 -07:00
a19714d735
Skip CPU tests by default for TestStations
...
Addresses #179
2021-12-14 14:08:22 -07:00
8075dfe45c
Fix run_adwcleaner()
2021-12-13 22:07:05 -07:00
125431a767
Update XMPlay skin
2021-12-13 19:29:19 -07:00
3ebfdbbedb
Update tool versions
2021-12-13 17:54:29 -07:00
0e56ccccfd
Remove extraneous registry hive names
2021-12-08 21:26:04 -07:00
93b2422044
Refactor Autologon sections
...
In some cases when Autologon was skipped initially it was still called in
end_session(). This caused old passwords to be reinstated in some cases.
2021-12-08 21:17:27 -07:00
8ecac36a64
Fix Secure Boot sections
2021-11-10 22:59:25 -07:00
7006a6453d
Add debug console launcher
2021-11-07 19:31:16 -07:00
5fb6dc4205
Fix volume free percentage calculation
2021-11-07 17:35:40 -07:00
6f0ae5a6ad
Set AdwCleaner settings before running
2021-10-28 23:15:28 -06:00
7dac69de14
Fix LibreOffice XCU data
2021-10-27 20:39:45 -06:00
4c0afb498b
Set custom power plan description
2021-10-27 20:25:49 -06:00