aboutsummaryrefslogtreecommitdiffstats
path: root/wkhtmltopdf
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #95 from johnraz/extract-logicMax Peterson2015-12-013-100/+109
|\ | | | | Extract logic from views
| * Extracted logic from views - fixed tests.Jonathan Liuti2015-12-013-100/+109
| | | | | | | | | | | | | | | | | | | | | | The logic was coupled with the views which made things difficult to reuse if you wanted to use the pdf generation somehwere else than in a view. With this patch, the logic has been moved to `utils.py` and should be more easy to reuse. Tests have been adapted and made compatible with django > 1.7
* | Merge pull request #72 from ghost/masterMax Peterson2015-12-011-1/+1
|\ \ | | | | | | fix: Problem with filename
| * | fix #71Daniel Gatis Carrazzoni2015-01-051-1/+1
| | | | | | | | | fix https://github.com/incuna/django-wkhtmltopdf/issues/71
* | | Merge pull request #97 from powderflask/masterMax Peterson2015-12-011-1/+2
|\ \ \ | |_|/ |/| | Add catch IOError for fileno() call
| * | Update utils.pyJoseph2015-11-261-1/+1
| | |
| * | Update utils.pyJoseph2015-11-261-1/+2
| | |
* | | Enable tests to run with Django >= 1.7 and silence warningsTim Bell2015-10-211-0/+12
|/ /
* | Bump versionv2.0.3James Turnbull2015-07-311-1/+1
| | | | | | | | Release 2.0.3
* | Merge pull request #85 from powderflask/masterJames Turnbull2015-07-311-2/+7
|\ \ | | | | | | Skip absolute path substitution where STATIC or MEDIA URL are empty or None
| * | Patch python3 / mod_wsgi incompatibility on sys.stderrr.fileno() callJoseph2015-07-281-1/+6
| | | | | | | | | | | | | | | Root cause of this issue is in python3 / mod_wsgi. See: https://github.com/GrahamDumpleton/mod_wsgi/issues/85 This patch detects if there is something screwy with fileno() and simply skips setting stderr if there is to avoid the AttributeError that occurs otherwise. Pull https://github.com/incuna/django-wkhtmltopdf/pull/40 fixed this same issue when it arose for python 2.7, but the nature of the issue seems to have shifted, making it trickier to detect that the fileno() method cannot be called.
| * | Skip absolute path substitution where STATIC or MEDIA URL is not setJoseph2015-07-161-1/+1
| |/ | | | | | | STATIC_URL or MEDIA_URL settings default to '' and None These default values cause the url match and replace algorithm to insert the *_ROOT setting in EVERY quoted string!!
* / WKHTMLTOPDF_CMD is properly split by the shlex module split() which properly ↵Brantley Harris2015-06-221-1/+2
|/ | | | accounts for quotes and escapes.
* Change the wkhtmltopdf urlDaniel Duong2014-10-271-1/+1
|
* Merge branch 'master' of github.com:incuna/django-wkhtmltopdfMatt Lenc2014-09-012-10/+40
|\
| * Rely only smart_text once django 1.4 also supports it.Michel Sabchuk2014-09-011-5/+1
| | | | | | | | | | As well pointed by @mattack108, django 1.4 also haves smart_text. We don't have to do that import.
| * Being more explicit about the reason for smart_unicode.Michel Sabchuk2014-09-011-0/+1
| |
| * Makes tests.py lines 80 columns max.Michel Sabchuk2014-09-011-4/+10
| |
| * Replace smart_str with smart_text/unicode for py2.x compat.Michel Sabchuk2014-09-011-2/+5
| |
| * Makes unicode content views testing fails too.Michel Sabchuk2014-09-011-5/+18
| | | | | | | | | | | | The view didn't define any title in context and the templates itself doen't have unicode content. I forced it making a view with a unicode title in context.
| * Add failing test of unicode content.Michel Sabchuk2014-09-011-0/+11
| |
* | Bump to v2.0.2v2.0.2Matt Lenc2014-09-011-1/+1
|/
* Bump to 2.0.1v2.0.1Matt Lenc2014-07-031-1/+1
|
* Aligned test to code update.Paolo Melchiorre2014-07-031-4/+1
|
* Removed mimetype from response for Django 1.7 compatibility. See ↵Paolo Melchiorre2014-07-021-4/+2
| | | | https://docs.djangoproject.com/en/dev/internals/deprecation/#deprecation-removed-in-1-7
* Bring back the test assert for title in contentMatt Lenc2014-06-192-3/+5
|
* First try py3k then fall back to python2Matt Lenc2014-06-182-6/+6
|
* colour-runner dependency doesn't work on py2.6Matt Lenc2014-06-181-6/+1
| | | | DAMN IT
* [ci skip] Bump to 2.0.0Matt Lenc2014-06-181-1/+1
|
* Make teh tests run rightMatt Lenc2014-06-182-30/+43
| | | | Because Django 1.6 and other fireworks.
* Support moar DjangoMatt Lenc2014-06-181-1/+0
| | | | The future is now ;]
* Update test reqs for Django with py3k supportMatt Lenc2014-06-181-1/+1
| | | | | In near future we should support moar Djangos (and using Travis for this).
* Add support for Python3Matt Lenc2014-06-183-30/+43
|
* increase version of django-wkhtmltopdfFabio C. Barrionuevo da Luz2014-03-111-1/+1
|
* Bump version to 1.2.2v1.2.2mattack1082013-09-201-1/+1
|
* Add SECRET_KEY to settingsmattack1082013-09-201-0/+2
|
* Fix tests for Travis by obtaining the WKHTMLTOPDF_CMD from env vars.mattack1082013-09-201-2/+3
|
* Bump version to 1.2.1v1.2.1George Hickman2013-09-201-1/+1
|
* Test sys.stderr to ensure it hasn't been overriddenGreg McGuire2013-08-021-5/+8
|
* Bumped version to 1.2v1.2mattack1082013-01-171-1/+1
|
* Merge branch 'master' of github.com:incuna/django-wkhtmltopdf into travis-setupmattack1082013-01-165-225/+211
|\
| * Remove unwanted settings vars from test projectmattack1082013-01-151-4/+0
| |
| * DRY on testsmattack1082013-01-151-140/+43
| |
| * Fix tests and add new ones for show_content_in_browser featuremattack1082013-01-153-176/+264
| |
| * Move make_absolute_paths to utils so it can be used in testsmattack1082013-01-152-37/+39
| |
| * Remove old unused arg from PDFTemplateResponse classmattack1082013-01-151-2/+1
| |
| * Remove double quotes from filename as it's done by content_disposition_filenamemattack1082013-01-151-3/+2
| |
| * Send good headers, in correct formatmattack1082013-01-151-2/+3
| |
| * PEP8 all the things!mattack1082013-01-151-12/+10
| |
* | Move requirements file to test project, update travis.ymlmattack1082013-01-151-0/+1
|/