summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-10Bump the changelog0.2.0jvoisin
2018-07-10Remove `print` from libmat, and use the `logging` module insteadjvoisin
This should close #28
2018-07-10Implement a check for dependencies in mat2jvoisin
Example use: ``` $ mat2 -c Dependencies required for MAT2 0.1.3: - Cairo: yes - Exiftool: yes - GdkPixbuf from PyGobject: yes - Mutagen: yes - Poppler from PyGobject: yes - PyGobject: yes ``` This should close #35
2018-07-09Add pylint3 to the cijvoisin
2018-07-09Make pylint even happierjvoisin
2018-07-09Fix the previous commitjvoisin
2018-07-09Minor improvement of fedora's duration in the testsuitejvoisin
2018-07-09Document that MAT2 not being able to detect metadata doesn't mean that the ↵jvoisin
file is clean
2018-07-09Remove a useless option that was never implemented anywayjvoisin
2018-07-08Fix some pep8 issues spotted by pyflakesjvoisin
2018-07-08Achieve 100% coverage!jvoisin
2018-07-08Bump coverage againjvoisin
2018-07-08Bump coverage for office files and fix some related crashesjvoisin
2018-07-08Silence a mypy's stupid warningjvoisin
2018-07-08Add defusedxml as an (optional) way to prevent XML-based attacksjvoisin
Those attacks are DoS-only.
2018-07-08Remove a leftover printjvoisin
2018-07-08Bump coverage for torrent handlingjvoisin
2018-07-08Simplify how torrent files are handledjvoisin
- Rework the testsuite wrt. torrent - fail at parser's instantiation on corrupted torrent, instead of during `get_meta` or `remove_all` call
2018-07-07Bump the coverage for pdfjvoisin
2018-07-07Fix a mistake in office file revisions handlingjvoisin
2018-07-07Bump a bit the coveragejvoisin
2018-07-06Bump the changelog0.1.3jvoisin
2018-07-06Simplify BMP handlingjvoisin
2018-07-06Add support for .txt filesjvoisin
2018-07-02Document that we do like PEP8jvoisin
2018-07-02Improve a bit the formatting of the code thanks to pyflakes3jvoisin
2018-07-01Improve a bit the READMEjvoisin
2018-07-01Document in our implementation notes how revisions are handled and whyjvoisin
2018-07-01Remove docx revisionsjvoisin
2018-07-01MAT2 is now cleaning revisions from odt files!jvoisin
2018-07-01Remove the thumbnails from libreoffice filesjvoisin
2018-06-27Massively simplify how we're cleaning office filesjvoisin
2018-06-24Ensure Poppler's minimal versionjvoisin
We're using methods that aren't available in Poppler below 0.46, so we're checking for this upon import. This commit is based on ideas from @LogicalDash ♥
2018-06-22Document that we tests against corrupted filesjvoisin
2018-06-22Pyflakes should run on the testsuite toojvoisin
2018-06-22Split the testsuite a bit and add more testsjvoisin
2018-06-22Improve reliability against corrupted image filesjvoisin
2018-06-21Bump the changelog0.1.2jvoisin
2018-06-21Fix some deprecated directives in the COTNRIBUTING.md filejvoisin
2018-06-21Improve the reliability of the office parserjvoisin
2018-06-21Fix some linter warningsjvoisin
2018-06-21Refactor how offices files are handledjvoisin
- xml files are no longer considered harmless - Factorization of the `remove_all` method for office files - Explicit whitelist are used - Blacklist are used to skip files completely - Non-blacklisted files are _still cleaned_ - Unsupported files are still triggering an error
2018-06-21Minor simplification of the office-related codejvoisin
2018-06-20Improve the threat-model again, thanks to @joejvoisin
2018-06-19Improve a bit our threat modeljvoisin
2018-06-19Add fedora in the CIjvoisin
refactor
2018-06-18README: software is always singularAntoine Tenart
Fix on small typo. Cosmetic patch. Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2018-06-12libmat2: harmless: add the text/xml mime typeAntoine Tenart
Fedora defines the 'text/xml' mime type for xml files. Adds this mime type to the harmless parser. Fixes #36. Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2018-06-12libmat2: audio: add the audio/x-flac mime typeAntoine Tenart
The FLAC parser looks for the 'audio/flac' mime type, but Fedora defines 'audio/x-flac' in /etc/mime.types for FLAC files. Add this mime type to the audio parser. Fixes #36. Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2018-06-12README: fix one typoAntoine Tenart
Fixes one small typo in the README. Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>