summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-29Bump the changelog0.11.0jvoisin
2020-03-08Vastly improve ppt compatibilityjvoisin
2020-03-07Improve compatibility with MS Office of cleaned pptjvoisin
2020-03-07Improve a bit ppt supportjvoisin
2020-03-07Improve a bit the support of ppt filesjvoisin
2020-02-27mat2: standardize the help messages formatAntoine Tenart
This is a cosmetic patch only. Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2020-02-11Add which pathfinding for executablestguinot
2020-02-09Bump the changelog0.10.1jvoisin
2020-02-08Clarify a bit the manpagejvoisin
2020-02-08Remove a couple of residual metadata in pdfjvoisin
This commit takes care of removing residual metadata added by mat2 during the cleaning of pdf.
2020-02-08Fix the testsuitejvoisin
2020-02-08Add an example of possible quality loss in the manpagejvoisin
2020-02-05Improve a bit the robustness of the testsuitejvoisin
2020-01-06man: fix typo and improve wordinggeorg
2020-01-05Add a note about lightweight mode in the manjvoisin
2020-01-01Add support for wav filesjvoisin
2019-12-29Please mypyjvoisin
Mypy doesn't like some annotation in web.py, this commits aims at pleasing it.
2019-12-23Make the testsuite a bit more robustjvoisin
Some terminals with a small number of column could wrap the cli's output in a way that would make the testsuite fail. This commit break the tests in several smaller one to mitigate this. This issue was originally reported by eleius [here](https://github.com/actionless/pikaur/issues/433), and forwarded as #153.
2019-12-18sandbox: stop mounting new filesystem on /tmpIvy Fay
Mounting new, empty filesystem on /tmp makes impossible to use mat2 for manipulating files stored there. Especially it breaks running tests while creating package and using /tmp as temporary builddir which is common setup in Arch Linux: https://aur.archlinux.org/packages/mat2/#comment-721221
2019-12-16Handle tiff images with a .tif extensionjvoisin
2019-12-15Improve the reliability of Exiftool-base parsersjvoisin
2019-12-15Improve the reliability of Gdk-based parsersjvoisin
2019-12-15Improve the reliability of PNG parsingjvoisin
2019-12-15Improve the robustness of the HTML parserjvoisin
2019-12-15Improve the robustness of the CSS parserjvoisin
2019-12-08Update the help section of the readmejvoisin
2019-12-02Add a note about metadatajvoisin
2019-12-02.gitlab-ci.yml: make test command consistent across distrosIvy Fay
This switches to use "python3 -m unittest discover -v" onevery distro.
2019-12-01Mention KDE Dolphin service menu (and fix typo)georg
2019-11-30Bump the changelog0.10.0jvoisin
2019-11-30Improve a bit ppt supportjvoisin
2019-11-30Improve a bit odt handlingjvoisin
2019-11-30This is mat2, not MAT2georg
Closes #131
2019-11-30Fix the testsuite on Python3.8jvoisin
There is a bug in Python3.8 (https://bugs.python.org/issue38688) triggering an infinite recursion when copying a tree in a subfolder of the current one. We're working around it by using a list instead of an iterator, so that Python won't "discover" the target folder as part of the source files. This should fix #130
2019-11-27fix copyright attribution formattingmathilde
2019-11-26CI: Use pylint, instead of pylint3georg
It seems, despite the name, both packages depend on Python 3. However, pylint3 seems deprecated, and upstream recommends to install pylint: https://www.pylint.org/#install The current versions of both packages in Debian unstable are: pylint 2.4.4-1 pylint3 2.2.2-1 This commit fixes failing CI jobs due to the use of pylint3 2.2.2-1, which seems broken.
2019-11-26Please the new version of pylintjvoisin
2019-11-25Add an integration with Dolphinjvoisin
2019-10-17Improve a bit the support for ppt filesjvoisin
2019-10-17Fix a stacktrace in ./mat2 when the file can't be cleanedjvoisin
2019-10-13Copy file permissionsjvoisin
Mat2 (the cli) will now copy the input file permissions to the output file.
2019-10-12Add a way to disable the sandboxjvoisin
Due to bubblewrap's pickiness, mat2 can now be run without a sandbox, even if bubblewrap is installed.
2019-10-12Refactor testsjvoisin
2019-10-12Remove an unused variablejvoisin
2019-10-12Remove a useless `\`jvoisin
2019-10-12Remove useless parenthesisjvoisin
2019-10-12Fix a test for png's lightweight cleaning on corrupted filesjvoisin
2019-10-12Replace abstractstaticmethod with abstractmethodjvoisin
Apparently, abstractstaticmethod is deprecated since python3.3.
2019-10-05Mount a new tmpfs on /tmp and drop all capabilitiesmadaidan
This mounts a new tmpfs on /tmp so any files residing there would be hidden from the sandbox. Many programs store some files in there that might be useful to an attacker. It also drops all capabilities incase it is ever run with extra capabilities for whatever reason.
2019-09-21Fix bubblewrapjvoisin
On some machines (like mine), `/proc` has to be mounted. Also, since sandboxing with bubblewrap is best effort and assumes that an attacker doesn't have control outside of the file to clean, it's safe to __try__ to enable some bubblewrap features, and to silently fail otherwise.