Commit graph

123 commits

Author SHA1 Message Date
f5d806a51a
Adjusted safety checks in ddrescue-tui
* Added NVMe/SMART check for destination
* Addresses issue #102
2019-07-03 20:16:45 -06:00
8f792ac76d
Merge remote-tracking branch 'upstream/dev' into dev 2019-06-12 16:01:03 -06:00
5b5c99e6f8
Don't kill current tmux session from ddrescue-tui
* Just kill the panes and let launch-in-tmux handle the session
2019-06-12 15:48:11 -06:00
441a6ad66f
Prevent ddrescue-tui crash when LogDir is missing
* Fixes issue #115
2019-06-12 14:05:45 -06:00
52e4415b43
Updated ddrescue sections 2019-06-04 20:00:11 -06:00
7ccd4c6055
BITWISE operators =/= LOGICAL operators 2019-06-04 18:24:01 -06:00
ee8beb194e
Added pause after posting
* Addresses issue #62
2019-05-17 16:16:09 -06:00
ac1f02c3a0
Include block_pair size in report 2019-05-17 16:15:46 -06:00
385f4a1d15
BITWISE operators =/= LOGICAL operators
* Also fixed is_writable_dir()
2019-05-17 16:05:01 -06:00
d06f505a84
Post report to osTicket
* Addresses issue #62
2019-05-17 15:07:33 -06:00
7b3fd34e63
Added generate_report()
* Addresses issue #62
2019-05-17 14:54:06 -06:00
f2adf6f5c0
Improved ddrescue map parsing
* Get data recovered instead of percentage, should be more acurate
2019-05-16 18:23:57 -06:00
4228c9a3a9
Get osTicket ID and name in ddrescue-tui
* Addresses issue #62
2019-05-16 15:53:10 -06:00
2d4a104882
Run ddrescue-tui as standard user
* Just use sudo when calling ddrescue, losetup, etc
2019-05-16 15:45:33 -06:00
a0f9d0afed
Only change dir if destination fstype is ok
* Moved magic map_allows_fstypes to settings/ddrescue.py
* Addresses issue #74
2019-05-16 15:07:57 -06:00
867df93c30
Mount backup shares before adding block-pairs
* Helps ensure saving map files to non-volatile storage
* Addresses issue #74
2019-05-16 14:30:14 -06:00
eed455e3bb
Pylint cleanup for ddrescue-tui part 4 2019-05-13 20:39:38 -06:00
6a5bba5ed3
Pylint cleanup for ddrescue-tui part 3 2019-05-13 20:35:54 -06:00
1f8b795e9a
Pylint cleanup for ddrescue-tui part 2 2019-05-13 20:08:31 -06:00
d1f8307153
Moved tmux pane logic into State objects 2019-05-13 19:59:54 -06:00
7b7e50b524
Fixed import order 2019-05-13 19:45:57 -06:00
ab4c201b4b
Moved build_outer_panes() into State objects 2019-05-13 19:45:22 -06:00
df33152a38
Pylint cleanup for ddrescue-tui part 1 2019-05-13 19:26:44 -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
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
d03772666d
Moved ddrescue-tui settings to separate file 2019-03-05 19:36:41 -07:00
575fa17425
Only use Unicode checkmark if in X 2018-12-28 15:44:14 -07:00
c96e2f252c
Cleaned up imports 2018-12-27 21:38:25 -07:00
d0c49240d8
Added extra line break after classes/functions/etc
* Also reordered some class/regex/static sections
2018-12-27 21:33:37 -07:00
c501c8b23f
Updated docstrings longer than 72 characters 2018-12-27 20:51:56 -07:00
10e978d4c5
Updated ddrescue.py 2018-12-27 19:50:51 -07:00
42407f0eca
Adjusted ddrescue exit handling
* Wait for ddrescue_proc after KeyboardInterrupt
  * ddrescue prints extra info to the screen after a CTRL+c
* Explicitly mark KeyboardInterrupt events as an abort
* Add 'DDRESCUE PROCESS HALTED' message in red if exiting non-zero
  * More clearly indicates that user interaction is required
  * Fixes issue #72
2018-12-18 20:35:21 -07:00
44fe888230
Replaced ddrescue-tui-smart-display
* Output data to file and have tmux pane watching said file
* This method handles resizing much better
2018-12-18 20:15:35 -07:00
62b8e51705
Updated ddrescue-tui tmux pane size handling 2018-12-18 19:45:02 -07:00
ad15cdad56
Added warning if not saving map to a preferred FS
* Fixes #76
2018-12-18 17:28:06 -07:00
f802ea860d
Updated ddrescue.py 2018-11-26 18:15:41 -07:00
6a67052d83
Show SMART for parent dev if child dev selected 2018-10-08 15:47:40 -06:00
26eadebf21
ddrescue-tui: Support devices with '/' in the name 2018-09-27 13:13:42 -06:00
240c55f407
Remove more whitespace from image/map names 2018-09-03 23:13:17 -06:00
d35dba7539
Prevent crash when retrying recovery
* IMO ddrescue was exiting too quickly to load the map data so I'll assume 0b
2018-09-03 22:58:20 -06:00
bd47f08996
Removed (Whole) label when imaging
* If only one partition was selected it would be incorrectly labeled "Whole"
  * Easier to remove the label than rework the data structures
2018-09-03 21:45:46 -06:00
9dbfce94d4
Fix auto continue logic 2018-09-03 21:44:28 -06:00
86fc23aed8
Fix pass number in status pane
* It was using the internal 0-2 instead of the display 1-3
2018-09-03 21:42:37 -06:00
dbf4559e14
Adjusted image/map filenames
* Partition filenames should include '_pX_' instead of just '_X_'
* Trailing whitespace should be removed
2018-09-03 21:39:32 -06:00
7cfdddcfbd
Fix using image file for clone source 2018-09-03 21:34:14 -06:00
1d0378dd7b
Training wheels off 2018-08-19 19:23:24 -07:00
ee4cea3b01
Added systemd journal pane 2018-08-16 01:58:22 -07:00