70bd04b999
Merge remote-tracking branch 'upstream/dev' into dev
2023-07-12 13:00:15 -07:00
0c1c65182c
Fix HW Diags test selections for teststations
2023-07-12 12:48:31 -07:00
10eb638221
Merge remote-tracking branch 'upstream/dev' into dev
2023-07-11 11:43:00 -07:00
cda5aee714
Add option to disable password expiration
2023-07-11 11:12:12 -07:00
40aee20d23
Add ddrescue stats for each pass to OST post
2023-07-09 15:33:44 -07:00
456dce5685
Merge remote-tracking branch 'upstream/dev' into dev
2023-07-09 13:59:50 -07:00
7c16d13f65
Generate test maps at runtime in ddrescue-tui
2023-07-09 13:58:59 -07:00
840008d8cd
Specify text encoding for zero-fill map file
2023-07-09 13:23:21 -07:00
33fe7b3b9e
Include more details in ddrescue-tui OST posts
2023-07-09 13:19:47 -07:00
593cb405c5
Merge remote-tracking branch 'upstream/dev' into dev
2023-07-09 00:17:26 -07:00
090a9f2b96
Update ddrescue-tui logging handling
2023-07-09 00:16:46 -07:00
3acb8ab47b
Include WinPE details for Bitlocker export
...
Addresses issue #40
2023-07-08 23:39:16 -07:00
4faa1d4a02
Merge remote-tracking branch 'upstream/dev' into dev
2023-07-08 23:27:55 -07:00
4467369811
Add finalization options to ddrescue-tui
...
Specifically to zero-fill any gaps from the clone,
to fill the destination with zeros to the end of the device,
and/or to relocate the GPT to the end of the device.
2023-07-08 23:27:05 -07:00
a07fbd7cba
Merge remote-tracking branch 'upstream/dev' into dev
2023-07-08 19:00:50 -07:00
a20fdf7bd3
Only show destination SMART data if present.
...
Also avoids crash when imaging
2023-07-08 18:58:05 -07:00
df1d2b713f
Simplify _poweroff_source_drive()
2023-07-08 18:37:42 -07:00
4a34f5477d
Add delay to TUI() initialization
...
Avoids issue where the main menu is printed before the layout is fully
set causing the first few lines to be hidden by the title pane.
2023-07-08 18:32:31 -07:00
0ace951380
Update run_program to avoid linting warnings
2023-07-08 18:10:59 -07:00
6a1cf98d0b
Terminate ddrescue directly instead
2023-07-08 18:10:14 -07:00
8f14fd2442
Fix SMART attribute tracking
...
Since we've moved to delayed SMART attribute updates we need to set
initial_attributes after we first check the SMART data instead of at
object creation time.
2023-07-08 18:07:55 -07:00
7c48d5e2ed
Disable open on hover for search highlights
2023-07-05 16:18:41 -07:00
6dde471bf5
Don't disable Chrome notifications by default.
...
Doing so can cause Chrome sync to break and need re-authentication.
2023-07-05 16:08:02 -07:00
38fed7756f
Don't run winget upgrade all by default
2023-07-05 16:04:16 -07:00
3747434d62
Merge remote-tracking branch 'upstream/dev' into dev
2023-07-05 15:52:29 -07:00
a78a077bdf
Set max idle cutoff to 70* C
...
Addresses issue #204
2023-07-05 15:51:50 -07:00
0af8be2c47
Merge remote-tracking branch 'upstream/dev' into dev
2023-07-05 15:51:24 -07:00
d101ec627f
Fix off-by-one bug in tmux.fix_layout()
...
If resizing both the title and info groups the second group was starting
at a lower initial width.
2023-07-05 15:48:31 -07:00
408a0c6114
Update TUI layout handling
...
The right column is now created first so the title, info,
current, and worker panes are all in the same "container"
2023-07-05 15:46:27 -07:00
ebd1bbda18
Show SMART data for both devices in ddrescue-tui
2023-07-05 15:00:01 -07:00
7499639c5c
Drop sat,auto detection for smartctl
...
This was needed twofold. First is that it was not working as expected
for some time. Second is that it conflicts with the delayed attribute
updating needed for faster WKClone menus.
2023-07-05 14:57:54 -07:00
9fe43a2e02
Don't hide the taskbar search box in Auto Setup
2023-07-03 21:37:42 -07:00
d6f3455236
Misc update
2023-07-03 21:27:41 -07:00
b107b413df
Ensure System Info is the first group if selected
2023-07-03 21:25:06 -07:00
67d448e0a0
Merge remote-tracking branch 'upstream/dev' into dev
2023-07-03 21:24:08 -07:00
55d752dd8b
Use checkmarks in Menu() under ConEmu
2023-07-03 20:45:44 -07:00
f8fc38a78b
Disable highlighting new apps in OpenShell
2023-07-03 20:31:46 -07:00
895d8d2f0a
Disable Bing search desktop widget
2023-07-03 20:25:23 -07:00
815cfde84a
Refactor check_mprime_results() to use sets
2023-07-03 20:16:37 -07:00
9a7fdba3f9
Add warning if cooldown temp is too high vs idle
...
Addresses issue #204
2023-07-03 20:15:03 -07:00
f9a6850c1a
Split CPU & Cooling tests into separate functions
...
Addresses issue #204
2023-07-02 15:10:22 -07:00
172f00e4e9
Adjust type hints for NonBlockingStreamReader()
2023-07-02 14:05:20 -07:00
86203a4b86
Use slots for all dataclasses
...
The minimum Python version was bumped to 3.10 so this is now safe.
2023-06-29 13:48:34 -06:00
96f55fd992
Don't prompt to run Auto Repairs if run recently
...
Added a Registry marker for the last Auto Repairs Run. This is set
during end_session() regardless of the actual repairs run but it should
be good enough.
Addresses issue #33
2023-06-26 10:09:06 -07:00
7156578124
Add option to launch Auto Repairs from Auto Setup
...
Addresses issue #33
2023-06-26 09:47:40 -07:00
ea4942bbc4
Allow empty response when selecting ticket
2023-06-26 09:45:52 -07:00
0bda5c7a1c
Merge remote-tracking branch 'upstream/winget' into winget
2023-06-26 08:36:56 -07:00
8e234ce0cd
Add menu entry for MS Store updates in Auto Setup
...
Addresses issue #216
2023-06-26 08:20:15 -07:00
aab821d93c
Update Prime95 source
2023-06-25 04:15:27 -07:00
b3e7b64116
Merge remote-tracking branch 'upstream/winget' into winget
2023-06-25 04:12:31 -07:00
9689dcfeab
Update source URLs
2023-06-25 04:10:08 -07:00
cafa2c24fb
Switch to winget where appropriate in Auto Setup
...
NOTE: Winget is not used for Firefox, LibreOffice, or Open Shell.
This was done because we need more fine-tuned control of the process.
2023-06-25 02:40:43 -07:00
3ff61e9948
Add winget import support
2023-06-25 02:22:04 -07:00
9980dab27b
Add initial winget support
2023-06-25 02:21:26 -07:00
5bae674ed9
Add winget script and launcher
2023-06-24 20:48:05 -07:00
939ea79a15
Merge remote-tracking branch 'upstream/dev' into dev
2023-06-24 20:36:00 -07:00
662f8c1254
Fix bug when running a PowerShell script elevated
2023-06-24 20:32:55 -07:00
dfcc717048
Open both Microsoft Store and Windows updates
...
Addresses issue #216
2023-06-24 19:35:12 -07:00
21cbe5d445
Show filesystem type in select_disk_parts()
2023-06-24 18:58:06 -07:00
d94e9097b7
Reduce ESP size to 260MiB
2023-06-24 18:56:31 -07:00
228a5f640e
Adjust TRIM warning message
2023-06-24 18:56:03 -07:00
998a1e98f5
List Bitlocker volumes in HW diags posts
2023-06-19 20:41:53 -07:00
c246fb5fdf
Merge remote-tracking branch 'upstream/dev' into dev
2023-06-17 20:46:57 -07:00
acd484f891
Check for TRIM in HW Diagnostics and ddrescue-tui
...
Addresses issue #212
2023-06-17 20:45:44 -07:00
a3400d76f4
Merge remote-tracking branch 'upstream/dev' into dev
2023-06-17 20:14:25 -07:00
d958945fe8
Relaunch ddrescueview when resuming clone
2023-06-17 20:13:32 -07:00
0bcdde0ffb
Add ticket and note panes to new TUI
2023-06-17 19:53:05 -07:00
9b51bcbdc3
Merge remote-tracking branch 'upstream/dev' into dev
2023-06-17 18:56:51 -07:00
3e10f2cb8c
Reset layout when aborting HW diagnostics
2023-06-17 18:56:08 -07:00
7912958399
Merge remote-tracking branch 'upstream/dev' into dev
2023-06-17 18:38:49 -07:00
9810c630f6
Ensure worker panes are added in the proper order
2023-06-17 18:37:56 -07:00
550731e9e9
Merge remote-tracking branch 'upstream/dev' into dev
2023-06-17 18:31:22 -07:00
c3bf5f6730
Avoid mixing types for HW Diags main menu
2023-06-17 18:30:33 -07:00
81b0dad1d1
Merge remote-tracking branch 'upstream/dev' into dev
2023-06-17 18:27:05 -07:00
c63b388f81
Small linting refactor
2023-06-17 18:25:12 -07:00
20a0881421
Refactor tmux.fix_layout()
...
The new code better determines all sizes with splits taken into account.
The non-perfect divisions are also considered when splitting
horizontally.
2023-06-17 18:23:09 -07:00
375fc3fcd0
Fix bugs related to new UI design
2023-06-11 19:57:34 -07:00
d545152d67
Merge remote-tracking branch 'upstream/dev' into dev
2023-06-11 19:07:23 -07:00
203ad715e0
Refactor ddrescue-tui source/dest selection
...
- Re-enables taking images instead of direct cloning!
- Removed some safety checks for clearer code
- We avoid a second scan by reusing the disk_menu object
2023-06-11 15:48:58 -07:00
986c870090
Move ddrescue-tui menus to a separate file
2023-06-10 21:50:56 -07:00
4feb15182e
Rework SMART self-test sections (again)
...
- Use results from self-test log rather than self-test details
- Include more result details in more scenarios
- Only add self-test results to the report to avoid
duplicate/conflicting info
- Add check if test started but didn't finish (again?)
2023-06-10 18:59:19 -07:00
88d3ade64d
Avoid background crash when fixing the tmux layout
2023-06-10 18:05:13 -07:00
4202d3c1dc
Adjust cli.ask() log formatting
2023-06-10 17:58:23 -07:00
f2ab06374b
Revert "Suppress warnings when using tail in tmux"
...
This reverts commit 3334638a2c .
2023-06-10 17:55:57 -07:00
a2c41fbaf2
Fix destination selection and title pane handling
2023-06-04 19:24:27 -07:00
7e6cfa1896
Add more type hints to ddrescue-tui
2023-06-04 18:54:16 -07:00
13e14e6734
Avoid dangerous default value
2023-06-04 18:13:18 -07:00
45a7f84e19
Restrict journal messages in ddrescue-tui
2023-06-04 18:11:14 -07:00
86f748c599
Clear ddrescue pane when resizing
...
This replaces the clear every 30s/60s/etc. It's only enabled while
ddrescue is running to prevent clearing warning messages if printed.
2023-06-04 18:08:59 -07:00
becc564269
Use new TUI layout in ddrescue-tui
2023-06-04 17:43:02 -07:00
7ab6ccbd36
Avoid setting percent to None in tui.py
2023-06-03 18:58:46 -07:00
8e7d202c32
Add reset_title_pane() to tui
2023-06-03 18:58:29 -07:00
05de5c7294
Add type hints to BlockPair
2023-06-03 18:07:30 -07:00
fc2b90a2c0
Raise CPU_CRITICAL_TEMP to 100*C
2023-05-29 17:48:24 -07:00
de7993c39c
Fix type hint for get_known_disk_attributes()
2023-05-29 17:47:58 -07:00
dbb606601d
Drop test() function
2023-05-29 17:32:05 -07:00
1dc22d5991
Remove unused section in layout_needs_fixed()
2023-05-29 17:31:03 -07:00
f50ea711e6
Refactor wk.clone.ddrescue.get_object()
2023-05-29 17:29:02 -07:00
2cce572acf
Drop OrderedDict usage in favor of standard dicts
...
Python 3.7+ guarantees insertion order is preserved and we (currently)
require 3.10+
2023-05-29 17:25:48 -07:00
a253fdc80f
Add type hints to auto_repairs and auto_setup
2023-05-29 17:09:32 -07:00
386a8b7000
Merge branch 'type-hinting' into dev
2023-05-29 16:26:16 -07:00
a5eb64a055
Add type hints to class instance variables
2023-05-29 16:25:37 -07:00
c009ab2d41
Add even more type hints to function arguments
2023-05-29 16:04:58 -07:00
1bfdb14be4
Refactor color_string()
2023-05-29 14:49:21 -07:00
bf9d994675
Add more type hints to function arguments
2023-05-29 14:01:29 -07:00
f654052f1d
Fix typo
2023-05-29 13:42:45 -07:00
12326a5e2c
Use new Union syntax
...
This bumps the minimum Python version to 3.10
2023-05-29 12:35:40 -07:00
171cd0019e
Add type hints to function arguments
2023-05-28 20:50:38 -07:00
62edaac25a
Add type hints to functions
2023-05-28 20:09:54 -07:00
60d08a189d
Merge branch 'dev' into type-hinting
2023-05-27 21:15:23 -07:00
69832eda5d
Remove duplicate function wk.log.get_log_filepath
2023-05-27 21:12:27 -07:00
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
9dc900c75e
Replace more pylint sections with ruff
2023-03-27 00:09:08 -07:00
aea1373df7
Merge remote-tracking branch 'upstream/dev' into dev
2023-03-26 23:57:41 -07:00
9f66b151af
Replace more pylint sections with ruff
2023-03-26 23:52:52 -07:00
9953f3978c
Merge remote-tracking branch 'upstream/dev' into dev
2023-03-26 23:22:34 -07:00
08294caffc
Drop photorec-sort script
2023-03-26 23:09:53 -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
2717ad1a88
Drop pylint reference
2023-03-19 20:21:12 -07:00
bbdc10e0f2
Merge branch 'dev' into ruff-test
2023-03-19 19:45:26 -07:00
16ee95b1d9
Adjust Python module path handling
...
Simplifies top-level scripts and removes linting exceptions.
2023-03-19 19:42:54 -07:00
e00920f24a
Switch to ruff linting
2023-03-19 18:47:46 -07:00
b304475011
Adjust HW Diagnostics top text handling
2023-03-05 16:32:57 -08:00
a124b0002b
Remove unused proc var
2023-02-18 14:58:44 -08:00
e9f210567c
Merge remote-tracking branch 'upstream/dev' into dev
2023-02-16 16:48:19 -08:00
c888adc1e0
Revert "Fix type causing wrong type to be returned"
...
This reverts commit 4cc6a5ecd1 .
2023-02-16 16:48:01 -08:00