summaryrefslogtreecommitdiff
path: root/libmat2 (follow)
AgeCommit message (Collapse)Author
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-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-10Minor code simplificationjvoisin
2018-06-10Make the parsing of office format's metadata more robustjvoisin
2018-06-10Add some tests for non-supported embedded fileformatsjvoisin
2018-06-10Improve a bit our coverage wrt. torrent files handlingjvoisin
2018-06-10Improve a bit the performances wrt. image's metadata displayjvoisin
2018-06-10Bump a bit the coveragejvoisin
2018-06-10Fix and add a test for explicitly non-supported formatsjvoisin
2018-06-10Improve a bit parsers autoloadingjvoisin
2018-06-08Speed up a bit the processing of get_meta for images with a "regular" namejvoisin
2018-06-08Improve the code to handle problematic filenamesjvoisin
2018-06-06Prevent exiftool-based parameter-injectionjvoisin
2018-06-04Sort the output of `mat2 -l`jvoisin
2018-06-04Add more typing and use mypy in the CIjvoisin
2018-06-04Import the dynamic import systemjvoisin
The dynamic import should now work when MAT2 is installed system-wide, either via the distribution's packaging system, or via pip.
2018-06-04Make pyflakes happierjvoisin
2018-06-04Improve a bit the typing, againtotallylegit
2018-06-04Improve a return type annotationtotallylegit
2018-05-18Rename some files to simplify packagingjvoisin
- the `src` folder is now `libmat2` - the `main.py` script is now `mat2.py`
2018-03-19Remove some useless filesjvoisin
2018-03-18Improve the testsuitejvoisin