aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-04-08Bump version and update changelogv0.6.1Gertjan van den Burg3-1/+9
2020-04-08Be more robust against spaces in pdf fileGertjan van den Burg2-5/+38
This caused problems where the arxiv stamp was not removed for some files. This commit adds tests for this and fixes the issue.
2020-04-08Change wd back to initial directoryGertjan van den Burg1-1/+2
2020-04-04readme spacingGertjan van den Burg1-0/+2
2020-04-04update release scriptv0.6.0Gertjan van den Burg1-1/+8
2020-04-04Bump version and update changelog and readmeGertjan van den Burg3-34/+64
2020-04-04Merge branch 'feature/excepthook'Gertjan van den Burg1-0/+13
2020-04-04Merge branch 'master' into feature/excepthookGertjan van den Burg2-19/+20
2020-04-04Code formattingGertjan van den Burg2-19/+20
2020-04-04Replace excepthook for nicer errorsGertjan van den Burg1-0/+13
I think that generally a traceback is too much info for an end-user, and the error message we provide can get lost in the noise. This commit disables the standard excepthook with its traceback, and replaces it with just the message of the exception. Using the debug flag enables the original traceback.
2020-04-04Merge branch 'bugfix/arXiv_stamp'Gertjan van den Burg2-18/+98
2020-04-04Fix the pdf output of dearxivGertjan van den Burg2-18/+98
The dearxiv function removes the arXiv stamp from the pdf, but in the past would return a somewhat broken pdf. When it deleted the stamp the positions of objects and the length of the stream of the arXiv stamp object would be incorrect. This wasn't an issue for pdftk but gives a warning for qpdf. Because we don't want to mask qpdf warnings in general (something might actually be wrong), it was desirable to return a valid pdf file from dearxiv. This commit does exactly that.
2020-04-04Code formatting with BlackGertjan van den Burg1-4/+5
2020-04-04Merge branch 'bugfix/choose_provider'Gertjan van den Burg3-18/+278
2020-04-04Fix provider selection for redirected urlsGertjan van den Burg3-18/+278
Some urls, such as the arXiv urls with the : in the identifier, didn't work when using the UI interface because the redirected url wasn't past to the provider, but the original url was. This commit fixes that issue and adds unit tests for the provider selection function, hopefully making this more robust in the future.
2020-04-04Merge branch 'bugfix/springer_redirect'Gertjan van den Burg3-15/+32
2020-04-04Properly update cookiejarGertjan van den Burg1-1/+3
This fixes a bug for Springer urls where the cookies wouldn't be properly carried over, resulting in a redirection failure.
2020-04-04Move arXiv tests to a separate fileGertjan van den Burg2-14/+29
2020-04-04Merge branch 'delaere-qpdfSwitch'Gertjan van den Burg7-44/+104
2020-04-04Merge branch 'qpdfSwitch' of https://github.com/delaere/paper2remarkable ↵Gertjan van den Burg1-11/+6
into delaere-qpdfSwitch
2020-04-04Remove --no-warn as it's unavailable on old versionsGertjan van den Burg1-11/+6
(i.e. on travis)
2020-04-04Merge branch 'qpdfSwitch' of https://github.com/delaere/paper2remarkable ↵Gertjan van den Burg7-44/+109
into delaere-qpdfSwitch
2020-04-04Code formattingGertjan van den Burg3-10/+6
2020-04-04Add unit testGertjan van den Burg2-2/+3
2020-04-04Enable both pdftk and qpdfGertjan van den Burg4-24/+87
This adds a function that checks which pdf tool is available and moves the compress/uncompress code to the base class of the providers for cleaner code. A new exception is added in case neither pdf tool can be found.
2020-04-04Add the pdftk path back to the uiGertjan van den Burg2-0/+8
2020-04-04Fix the calledprocesserror by not inheritingGertjan van den Burg1-9/+6
Turns out this never actually worked as intended.
2020-04-03Merge branch 'ClaytonJY-upgrade-cairo'Gertjan van den Burg1-4/+7
2020-04-03Merge branch 'master' into ClaytonJY-upgrade-cairoGertjan van den Burg1-1/+1
2020-04-03fix name in makefileGertjan van den Burg1-1/+1
2020-04-02Update Dockerfile to use Debian Buster base images.Clayton Yochum1-4/+7
This allows Cairo to be updated, removing a warning from Weasyprint.
2020-04-01replaced pdftk by qpdfChristophe Delaere4-12/+12
2020-03-20clean makefileGertjan van den Burg1-1/+1
2020-03-20add instructions for local file with dockerGertjan van den Burg1-0/+3
2020-03-03Bump version and update changelogv0.5.6Gertjan van den Burg2-1/+5
2020-03-03Be more robust against missing pdftoppmGertjan van den Burg1-9/+19
2020-03-03Add ghostscript to install instructions homebrewGertjan van den Burg1-2/+3
2020-02-26Bump version and update changelogv0.5.5Gertjan van den Burg2-1/+6
2020-02-26Use copy instead of move to keep intermediatesGertjan van den Burg1-1/+1
This is mostly useful for debugging and has no effect on the working of the program.
2020-02-26Only use shrunk file if it is indeed smallerGertjan van den Burg1-1/+6
2020-02-25Minor readme updatesGertjan van den Burg1-3/+10
2020-02-25Merge branch 'sirupsen-alfred'Gertjan van den Burg3-2/+18
2020-02-24alfred: add alfred workflowSimon Eskildsen3-2/+18
2020-02-23Merge pdf cropping functionsGertjan van den Burg2-60/+22
2020-02-23Bump version and update changelog and readmev0.5.4Gertjan van den Burg3-3/+13
2020-02-23Fix typoGertjan van den Burg1-1/+1
2020-02-23Merge branch 'feature/right_align'Gertjan van den Burg4-19/+95
2020-02-23Merge branch 'master' into feature/right_alignGertjan van den Burg3-4/+27
2020-02-23Merge branch 'feature/no_crop'Gertjan van den Burg2-2/+16
2020-02-23Merge branch 'master' into feature/no_cropGertjan van den Burg1-1/+6