Bump the changelog
This commit is contained in:
parent
5a5c642a46
commit
f1ceed13b5
17
CHANGELOG.md
17
CHANGELOG.md
@ -1,3 +1,20 @@
|
||||
# 0.4.0 - 2018-10-03
|
||||
|
||||
- There is now a policy, for advanced users, to deal with unknown embedded fileformats
|
||||
- Improve the documentation
|
||||
- Various minor refactoring
|
||||
- Improve how corrupted PNG are handled
|
||||
- Dangerous/advanced cli's options no longer have short versions
|
||||
- Significant improvements to office files anonymisation
|
||||
- Archive members are sorted lexicographically
|
||||
- XML attributes are sorted lexicographically too
|
||||
- RSID are now stripped
|
||||
- Dangling references in [Content_types].xml are now removed
|
||||
- Significant improvements to office files support
|
||||
- Anonimysed office files can now be opened by MS Office without warnings
|
||||
- The CLI isn't threaded anymore, for it was causing issues
|
||||
- Various misc typo fix
|
||||
|
||||
# 0.3.1 - 2018-09-01
|
||||
|
||||
- Document how to install MAT2 for various distributions
|
||||
|
23
README.md
23
README.md
@ -44,20 +44,27 @@ $ python3 -m unittest discover -v
|
||||
# How to use MAT2
|
||||
|
||||
```bash
|
||||
usage: mat2 [-h] [-v] [-l] [-s | -L] [files [files ...]]
|
||||
usage: mat2 [-h] [-v] [-l] [--check-dependencies] [-V]
|
||||
[--unknown-members policy] [-s | -L]
|
||||
[files [files ...]]
|
||||
|
||||
Metadata anonymisation toolkit 2
|
||||
|
||||
positional arguments:
|
||||
files
|
||||
files the files to process
|
||||
|
||||
optional arguments:
|
||||
-h, --help show this help message and exit
|
||||
-v, --version show program's version number and exit
|
||||
-l, --list list all supported fileformats
|
||||
-s, --show list all the harmful metadata of a file without removing
|
||||
them
|
||||
-L, --lightweight remove SOME metadata
|
||||
-h, --help show this help message and exit
|
||||
-v, --version show program's version number and exit
|
||||
-l, --list list all supported fileformats
|
||||
--check-dependencies check if MAT2 has all the dependencies it needs
|
||||
-V, --verbose show more verbose status information
|
||||
--unknown-members policy
|
||||
how to handle unknown members of archive-style files
|
||||
(policy should be one of: abort, omit, keep)
|
||||
-s, --show list harmful metadata detectable by MAT2 without
|
||||
removing them
|
||||
-L, --lightweight remove SOME metadata
|
||||
```
|
||||
|
||||
Note that MAT2 **will not** clean files in-place, but will produce, for
|
||||
|
12
doc/mat2.1
12
doc/mat2.1
@ -1,10 +1,10 @@
|
||||
.TH MAT2 "1" "September 2018" "MAT2 0.3.1" "User Commands"
|
||||
.TH MAT2 "1" "October 2018" "MAT2 0.4.0" "User Commands"
|
||||
|
||||
.SH NAME
|
||||
mat2 \- the metadata anonymisation toolkit 2
|
||||
|
||||
.SH SYNOPSIS
|
||||
mat2 [\-h] [\-v] [\-l] [\-c] [\-s | \-L]\fR [files [files ...]]
|
||||
\fBmat2\fR [\-h] [\-v] [\-l] [\-V] [-s | -L] [\fIfiles\fR [\fIfiles ...\fR]]
|
||||
|
||||
.SH DESCRIPTION
|
||||
.B mat2
|
||||
@ -31,9 +31,15 @@ show program's version number and exit
|
||||
\fB\-l\fR, \fB\-\-list\fR
|
||||
list all supported fileformats
|
||||
.TP
|
||||
fB\-c\fR, \fB\-\-check\-dependencies\fR
|
||||
\fB\-\-check\-dependencies\fR
|
||||
check if MAT2 has all the dependencies it needs
|
||||
.TP
|
||||
\fB\-V\fR, \fB\-\-verbose\fR
|
||||
show more verbose status information
|
||||
.TP
|
||||
\fB\-\-unknown-members\fR \fIpolicy\fR
|
||||
how to handle unknown members of archive-style files (policy should be one of: abort, omit, keep)
|
||||
.TP
|
||||
\fB\-s\fR, \fB\-\-show\fR
|
||||
list harmful metadata detectable by MAT2 without
|
||||
removing them
|
||||
|
2
mat2
2
mat2
@ -14,7 +14,7 @@ except ValueError as e:
|
||||
print(e)
|
||||
sys.exit(1)
|
||||
|
||||
__version__ = '0.3.1'
|
||||
__version__ = '0.4.0'
|
||||
|
||||
def __check_file(filename: str, mode: int=os.R_OK) -> bool:
|
||||
if not os.path.exists(filename):
|
||||
|
Loading…
Reference in New Issue
Block a user