aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-04-28Add unit test for image urls with trailing slashGertjan van den Burg1-0/+8
2020-04-28Strip trailing slash from image urlsGertjan van den Burg1-0/+1
2020-04-27Merge branch 'master' into bugfix/html-imagesGertjan van den Burg1-2/+2
2020-04-27upgrade travis distributionGertjan van den Burg1-1/+1
2020-04-27code formattingGertjan van den Burg1-2/+2
2020-04-27Add unit test for this bugGertjan van den Burg1-0/+10
2020-04-27Use builtin iter() function to find img elementsGertjan van den Burg1-8/+1
2020-04-27Merge branch 'master' into bugfix/html-imagesGertjan van den Burg2-4/+21
2020-04-27Merge branch 'sirupsen-print-macos'Gertjan van den Burg1-2/+19
2020-04-27Merge branch 'print-macos' of https://github.com/sirupsen/paper2remarkable ↵Gertjan van den Burg1-2/+19
into sirupsen-print-macos
2020-04-27minor fixes to release scriptGertjan van den Burg1-2/+2
2020-04-27Properly resolve image urls (fixes #45)Gertjan van den Burg1-9/+24
2020-04-27readme: add printing sectionSimon Eskildsen1-2/+19
2020-04-25Update release scriptGertjan van den Burg1-23/+33
2020-04-16Allow + in urlsGertjan van den Burg1-1/+1
2020-04-15Bump version and update changelogv0.6.2Gertjan van den Burg3-2/+8
2020-04-15Merge branch 'bugfix/detect_pdftool'Gertjan van den Burg2-4/+31
2020-04-15Properly check for the installed pdf toolGertjan van den Burg2-4/+31
This fixes #42.
2020-04-09remove unnecessary loggingGertjan van den Burg1-1/+0
2020-04-09Log whether removing arXiv stamp was successfulGertjan van den Burg2-11/+21
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