Commit Graph

910 Commits

Author SHA1 Message Date
PartialVolume
eef25e829e Merge pull request #535 from PartialVolume/Fix_incorrect_footer_on_return_to_preview
Fix incorrect footer on return to preview
2023-12-16 18:57:59 +00:00
PartialVolume
43bfb3a08e Fix incorrect footer on return to preview
This fixes incorrect footer text being displayed when
Enable customer/company preview is enabled and the user
select a field to be edited, completes the editing and
returns to the preview to select A for accept. Only
problem was A=Accept wasn't listed on the footer.
2023-12-16 18:50:33 +00:00
PartialVolume
fd6cca7010 Merge pull request #534 from PartialVolume/Fix_spacing_between_temperature_and_model
Place a space between temperature and model
2023-11-29 22:23:44 +00:00
PartialVolume
1220eca2ef Place a space between temperature and model
eg [36C] ST3500... and not [36C]ST3500..
2023-11-29 22:21:01 +00:00
PartialVolume
32321f49fa Merge pull request #533 from PartialVolume/Fix_config_key_shortcuts_help_text
Fix the config help messages.

Some of the config help messages that show the purpose of the keys were inconsistent or not updating correctly when going back to the previous menu. Now fixed.
2023-11-29 19:51:02 +00:00
PartialVolume
cca93f845d Fix the config help messages
Some of the help messages that show the
purpose of the keys were inconsistent or
not updated when going back. Now fixed.
2023-11-29 19:40:47 +00:00
PartialVolume
789aa134a0 Merge pull request #532 from PartialVolume/Fix_PDF_page_titles
Make smart page titles consistent with page 1

Should now read
Page 1 - Erasure Status
Page 2 - Smart Data
Page 3 - Smart Data

and not as previously
Page 1 - Erasure Status
Smart Data - Page 2
Smart Data - Page 3
2023-11-28 21:25:52 +00:00
PartialVolume
c24e248055 Make smart page titles consistent with page 1
Should now read
Page 1 - Erasure Status
Page 2 - Smart Data
Page 3 - Smart Data

and not as previously
Page 1 - Erasure Status
Smart Data - Page 2
Smart Data - Page 3
2023-11-28 21:21:48 +00:00
PartialVolume
3f78d76bac Merge pull request #531 from PartialVolume/Fix_no_auto_exit_in_non_gui_mode
Fix nwipe not auto exiting on completion in non gui mode.
2023-11-28 00:52:54 +00:00
PartialVolume
626ca3826c Fix nwipe not auto exiting on completion in non gui mode. 2023-11-27 23:39:50 +00:00
PartialVolume
f61b593093 Merge pull request #529 from PartialVolume/Fix_autopoweroff_and_nowait_when_screen_blank
Fix autopoweroff and nowait when screen blank
2023-11-24 01:14:31 +00:00
PartialVolume
7f39d81548 Fix autopoweroff and nowait when screen blank
If the user had blanked the screen, the autopoweroff
and nowait options did not work. Instead they paused
nwipe on completion of the wipe/s waiting for the b
key to be pressed which reactivated compute_stats()
function who's output indicates whether any wipes were
still active.

This was fixed so that compute_stats() is always
active while wipes are in progress, so that the
nwipe_gui_status() function will exit when all wipe
threads have completed even if the screen has been
blanked.
2023-11-24 01:06:29 +00:00
PartialVolume
d0a53f57be Merge pull request #527 from ggruber/SerialGarbage
fix: again garbage after serial number
2023-11-20 00:15:03 +00:00
Gerold Gruber
811c36b65a again garbage after serial number 2023-11-20 00:14:05 +01:00
PartialVolume
2ff23eb02c Update version.c
Bump minor version from 0.35 to 0.35.1
2023-11-17 12:04:48 +00:00
PartialVolume
7a4709da55 Merge pull request #526 from PartialVolume/Identify_mmcblk_devices
Added mmcblk device type MMC

Changed log message from "USB bridge, no pass-through support" to "Smart data unavailable" as no smart data could be caused by a non USB device such as mmcblk as well as USB devices with no ATA pass through and other devices that smartctl does not detect.
2023-11-16 20:00:13 +00:00
PartialVolume
9ee5193673 Added mmcblk device type MMC
Added the abbreviation MMC for mmcblk devices such as SD and
microSD cards and some low budget laptops.

Changed log message from "USB bridge, no pass-through support"
to "Smart data unavailable" as no smart data could be caused by
a non USB device such as mmcblk as well as USB devices with no ATA
pass through and other devices that smartctl does not detect.
2023-11-16 19:35:07 +00:00
PartialVolume
9270eda8d0 Merge pull request #523 from ggruber/master
modified disk sorting for more than 26 disks
v0.35
2023-11-05 16:07:30 +00:00
Gerold Gruber
470672bc3a modified disk sorting for more than 26 disks 2023-11-05 02:02:39 +01:00
PartialVolume
d14c3da26b Merge pull request #520 from xambroz/patch-4
move the include of time.h
2023-11-04 21:29:34 +00:00
PartialVolume
4bf06d136c Merge pull request #517 from xambroz/patch-3
lower the build requirements
2023-11-04 21:22:03 +00:00
PartialVolume
2abe4975f2 Merge pull request #516 from xambroz/patch-2
move the define off64_t
2023-11-04 21:10:00 +00:00
PartialVolume
2a30ae92af Merge pull request #521 from ggruber/master
fix MAX_NUMBER_EXCLUDED_DRIVES, handle exceeding the limit, +README.md
2023-11-04 20:58:08 +00:00
Gerold Gruber
e77164f710 fix MAX_NUMBER_EXCLUDED_DRIVES, handle exceeding the limit, +README.md 2023-11-04 21:14:05 +01:00
PartialVolume
e463b10d28 Merge pull request #518 from ggruber/master
progress dots added
2023-11-04 18:36:11 +00:00
Michal Ambroz
4747ce65c6 move the include of time.h
The definition of the newly used _POSIX_SOURCE affects preprocessing of the time.h. As result on RHEL7 (possibly 6 as well) the timespec structure is not defined.
2023-11-04 15:59:38 +01:00
Gerold Gruber
28a9c70abc formatting fix 2023-11-04 13:55:11 +01:00
Gerold Gruber
2ac6ebe7ea progress dots added 2023-11-04 13:53:26 +01:00
Michal Ambroz
a70fa15bac lower the build requirements
Hello,
please lower the requirements to autoconf allowing to build rhel7/8 packages (possibly rhel6, not tested).
Thank you
Michal Ambroz
2023-11-03 22:51:59 +01:00
Michal Ambroz
398b03a11a move the define off64_t
Move the definition of the off64_t using int64_t  bellow the include stdint.h, which is actually defining it.

Without change wrong order is breaking the build on RHEL7/8/9.
2023-11-03 22:47:29 +01:00
PartialVolume
63c64b91e4 Merge pull request #514 from PartialVolume/Add_check_for_root_execution
Add_check_for_root_execution
2023-11-02 20:19:21 +00:00
PartialVolume
edfd982037 Add_check_for_root_execution 2023-11-02 20:14:52 +00:00
PartialVolume
cad05c685a Merge pull request #513 from PartialVolume/Fix_segfault_on_first_run_as_non_root
Fix_segfault_on_first_run_as_non_root
2023-11-02 19:55:47 +00:00
PartialVolume
499ad925ae Fix_segfault_on_first_run_as_non_root
Incorrectly trying to close a uninitialised file
pointer stream when the file could not be opened.
2023-11-02 19:47:53 +00:00
PartialVolume
2c17e32189 Update CHANGELOG.md
Added info about temperature thread in 0.35
2023-11-02 17:36:21 +00:00
PartialVolume
68561873ba Update README.md
Updates to README.md for version 0.35
2023-11-02 17:30:50 +00:00
PartialVolume
a30f92425c Merge pull request #512 from PartialVolume/master
Updates to CHANGELOG.md
2023-11-01 23:12:18 +00:00
PartialVolume
cb7d3d1664 Update CHANGELOG.md
Added further information about HPA/DCO
2023-11-01 23:09:22 +00:00
PartialVolume
869804f6c1 Update CHANGELOG.md
Correct some typos in CHANGELOG.md
2023-11-01 23:04:10 +00:00
PartialVolume
61cca3141e Update CHANGELOG.md
Change version number to header format ( Large, bold)
2023-11-01 23:02:22 +00:00
PartialVolume
07b83f053b Merge pull request #511 from PartialVolume/Add_changes_to_CHANGELOG.md_for_0.35_release
Update CHANGELOG.md for 0.35 release
2023-11-01 22:55:53 +00:00
PartialVolume
fd3bbd8523 Update CHANGELOG.md for 0.35 release 2023-11-01 22:52:51 +00:00
PartialVolume
1b37bcef84 Merge pull request #510 from PartialVolume/Bump_version_to_0.35
Bump version to 0.35
2023-11-01 20:13:48 +00:00
PartialVolume
f3179cf748 Bump version to 0.35 2023-11-01 20:07:33 +00:00
PartialVolume
fba63312ad Merge pull request #509 from PartialVolume/Create_PDF_Certificate_Group
Create_PDF_Certificate_Group
2023-11-01 19:52:03 +00:00
PartialVolume
1b9a376186 Create_PDF_Certificate_Group
The code that handles nwipe.conf now checks
an existing nwipe.conf for the correct default
groups. This allows future additions to the
nwipe.conf file to be added to an existing nwipe.conf
file. This makes the code more robust.

The code that handles creation of groups, settings and
values has been made into a function so any future additions
to nwipe.conf can be added with a single call to this function.

i.e
nwipe_conf_populate( "Default_Wipe.Method", "PRNG" );

The code can now handle creation of groups to a arbitrary
depth of four levels, however currently we only use a
group depth of 1.

i.e
CCC :
{
 XXX :
 {
   YYY :
   {
     ZZZ :
     {
     };
     TTT :
     {
     };
   };
 };
};
2023-11-01 19:39:43 +00:00
PartialVolume
eaa7603aaf Merge pull request #508 from PartialVolume/Fix_warning_directive_output_may_be_truncated
Fix_warning_directive_output_may_be_truncated

Fixed the following warning:

create_pdf.c:795:18: warning: ‘/nwipe_report_’ directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
2023-10-24 20:30:30 +01:00
PartialVolume
26ae763379 Fix_warning_directive_output_may_be_truncated
Fixed the following warning:

create_pdf.c:795:18: warning: ‘/nwipe_report_’ directive
output may be truncated writing 14 bytes into a region of
size between 1 and 4096 [-Wformat-truncation=]
2023-10-24 20:22:23 +01:00
PartialVolume
95021ef0c3 Merge pull request #507 from PartialVolume/Fix_message_Creating_PDF_report_in
The message that logs which directory the nwipe PDF certificate is being saved, was being printed multiple times in the middle of the erasure summary table.

This was corrected so that it only prints once at the end of the table
2023-10-23 22:15:49 +01:00
PartialVolume
8ce7b077bf Fix_message_creating_PDF_in
The message that displays where the nwipe PDF certificate
is being saved was being printed multiple times in the
middle of the erasure summary table.

This was corrected so that it only prints once at the end
of the table.
2023-10-23 22:08:23 +01:00