Commit graph

1230 commits

Author SHA1 Message Date
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
16281d4ce1
Merge remote-tracking branch 'upstream/dev' into dev 2023-02-15 17:37:57 -08:00
ee96dc087a
Fix disabling Open-Shell options under Windows 11 2023-02-15 17:36:56 -08:00
4cc6a5ecd1
Fix type causing wrong type to be returned 2023-02-15 17:36:18 -08:00
67fff6d1a5
Leave Apply ITS Settings unchecked by default 2023-02-14 17:51:10 -08:00
dfecfa637d
Make Open-Shell optional
Addresses issue #36
2023-02-14 14:13:56 -08:00
cf068826f3
Add DeviceCleanup and DDU launchers 2023-02-07 16:15:57 -08:00
7d51112571
Merge remote-tracking branch 'upstream/dev' into dev 2023-02-07 16:10:10 -08:00
ee1f41a1bb
Add VCRedist link 2023-02-07 16:09:33 -08:00
93bfa04917
Wait for MBAM install to complete 2023-02-06 20:48:50 -08:00
a9b57ad3ad
Merge remote-tracking branch 'upstream/dev' into dev 2023-02-04 17:36:34 -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
870678c04b
Update EmsisoftCmd settings 2023-02-04 14:52:42 -08:00
ab2a7fd126
Include Disk Utilization in the quick diagnostic 2023-01-10 13:55:40 -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
58925093e3
Adjust Bitlocker local file name and formatting 2022-12-23 20:43:29 -08:00
893f2bc31a
Merge remote-tracking branch 'upstream/dev' into dev 2022-12-23 19:10:37 -08:00
5e95cee2f3
Support kit dir to be at the root of a volume 2022-12-23 19:09:16 -08:00
e963b2afa6
Add option to post Bitlocker info to osTicket 2022-12-23 18:05:44 -08:00
813157fd17
Remove HDClone sections 2022-12-17 23:25:26 -08:00
aabe4a1944
Merge remote-tracking branch 'upstream/dev' into dev 2022-12-17 23:21:38 -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
5048f679ee
Remove old teststation sections 2022-12-15 22:38:11 -08:00
51a3731124
Merge remote-tracking branch 'upstream/dev' into dev 2022-12-15 21:33:21 -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
847b7587a7
Remove comment 2022-12-15 17:24:35 -08:00
f753479708
Add timeouts to requests calls 2022-12-15 17:06:44 -08:00
70bb666fa1
Refactor Disk Utilization reporting
Results are now shown on screen in addition to the osTicket post.
2022-12-14 02:42:23 -08:00
2aa95fd8db
Fix CPU checkbox not updating 2022-12-11 21:48:58 -08:00
7144ab0106
Merge remote-tracking branch 'upstream/dev' into dev 2022-12-11 21:48:23 -08:00
137c3ec5e5
Add label for test mode in hardware diagnostics 2022-12-11 21:44:20 -08:00
d5c0869949
Merge remote-tracking branch 'upstream/dev' into dev 2022-12-11 19:08:48 -08:00
786660a625
Add option to install packages in pacinit 2022-12-11 19:08:06 -08:00
9686dca0f6
Avoid crash if osTicket integration is disabled 2022-12-03 21:43:40 -08:00
60168e14ae
Fix badblocks reports
- Better filter the raw results, stripping the backspaces from the text.
- Fix color used when printing to the screen
2022-12-03 21:35:42 -08:00
2431e2e00e
Fix System Info section in HW diags
Avoid running every time, use the menu selection in stead.
2022-12-03 19:00:31 -08:00
aa3dc51740
Merge remote-tracking branch 'upstream/dev' into dev 2022-12-03 17:27:31 -08:00
89de2a7679
Avoid crash for devices with bad volume names 2022-11-16 22:41:16 -08:00
153bc8d8d6
Merge remote-tracking branch 'upstream/dev' into dev 2022-11-12 23:23:28 -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
c690e59d27
Merge remote-tracking branch 'upstream/dev' into dev 2022-10-29 12:10:24 -07:00
d306a4c4e6
Improve RAM model reporting 2022-10-29 12:06:37 -07:00
d846c544d0
Add system info post to hw-diags 2022-10-29 12:03:50 -07:00
78ef6b3e76
Don't open Defender settings if it's disabled. 2022-10-26 18:35:51 -07:00
0d93da4551
Merge remote-tracking branch 'upstream/dev' into dev 2022-10-24 12:55:23 -07:00
b36847fa5c
Skip elevate for Windows Updates 2022-10-23 17:47:07 -07:00
5c6651f63d
Fix Auto Repairs presets 2022-10-23 17:13:19 -07:00
46f30907f8
Merge remote-tracking branch 'upstream/dev' into dev 2022-10-23 17:12:10 -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
873be60ec6
Merge remote-tracking branch 'upstream/dev' into dev 2022-10-23 13:33:42 -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
a76525307a
Merge remote-tracking branch 'upstream/dev' into dev 2022-10-22 20:37:16 -07:00
5c6c123daa
Fix SDIO launcher when SDIO_SERVER not defined 2022-10-22 20:35:05 -07:00
30eee99f5a
Merge remote-tracking branch 'upstream/dev' into dev 2022-10-22 19:59:29 -07:00
7c72e35644
Fix build_win.py download order 2022-10-22 19:59:04 -07:00
25b64d6852
Limit badblocks scan to minimum in test_mode 2022-10-22 19:41:27 -07:00
084dbbaada
Add Light Malware/Virus Cleanup preset 2022-10-22 19:12:23 -07:00
a91f47b226
Reorder Auto Repairs entries 2022-10-22 19:12:02 -07:00
0c27ba1e87
Merge remote-tracking branch 'upstream/dev' into dev 2022-10-22 19:00:16 -07:00
a324e71ba9
Open Snappy Driver Instller Origin in AutoSetup
Address issue #202
2022-10-22 18:49:58 -07:00
31de1a20d9
Configure browsers in Additional Users preset.
Addresses issue #202
2022-10-22 18:45:04 -07:00
f993050120
Merge remote-tracking branch 'upstream/dev' into dev 2022-10-22 18:28:15 -07:00
3d90adf4b2
Add option to run SDIO from network share 2022-10-22 18:24:48 -07:00
54b15da2e6
Merge remote-tracking branch 'upstream/dev' into dev 2022-10-19 23:39:32 -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
02cde33f5d
Merge remote-tracking branch 'upstream/dev' into dev 2022-10-09 00:53:02 -07:00
abaed514fb
Fix wk-debug 2022-10-09 00:52:29 -07:00
26022f6011
Fix I/O benchmark graph uploads
Addresses issue #22
2022-10-08 22:07:27 -07:00
d733790c1a
Merge remote-tracking branch 'upstream/dev' into dev 2022-10-08 22:06:26 -07:00
3d799c2b62
Fix test mode in I/O benchmark test 2022-10-08 22:05:54 -07:00
5afb45dbb3
Add "Apply ITS Settings" to Auto Setup
Addresses issue #18
2022-10-08 20:46:24 -07:00
7512f5f2a1
Add set_lp8550_slope.py
Addresses issue #17
2022-10-08 20:28:33 -07:00
f1e29cd0c8
Only call gpt under macOS 2022-10-08 19:30:05 -07:00
f0d0ea8164
Merge remote-tracking branch 'upstream/dev' into dev 2022-10-08 19:29:42 -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
bb43c7447d
Add wk_debug.py 2022-10-08 18:28:17 -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
5670591035
Add Data Transfer preset to Auto Repairs 2022-10-01 19:56:42 -07:00
b91030fde4
Add CoreTemp and stress tests launcher 2022-10-01 19:56:35 -07:00
3dbb5431dc
Merge remote-tracking branch 'upstream/dev' into dev 2022-10-01 19:20:19 -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
579ae52a68
Remove initial reboot in AutoRepairs 2022-09-28 17:16:16 -07:00
6da14beabe
Fix malware scans 2022-09-28 17:13:21 -07:00
7c8e0f7c5a
Move WinSCP to Tools folder 2022-09-28 09:58:40 -07:00
5cbe23166a
Avoid crash under Windows 2022-09-28 09:56:09 -07:00
39864daf0a
Merge remote-tracking branch 'upstream/dev' into dev 2022-09-28 09:15:33 -07:00
926b32b574
Clean badblocks results to remove backspaces 2022-09-28 00:33:15 -07:00