Commit Graph

892 Commits

Author SHA1 Message Date
José Padilla
e2b36b1dde Raise exception if not using webhook secret 2013-04-14 19:32:28 -04:00
José Padilla
3496b206a0 Remove: Signal trigger on HEAD request 2013-04-14 19:31:29 -04:00
José Padilla
3c8355c620 Ignore *.egg files 2013-04-14 19:26:09 -04:00
José Padilla
51d1ace9a4 Fix: Exception string whitespace and formatting 2013-04-14 19:25:48 -04:00
José Padilla
c60a7c666f Add webhook handler 2013-04-11 14:57:53 -04:00
medmunds
717e048365 Add Mandrill send options auto_html, tracking_domain, signing_domain 2013-03-27 11:08:04 -07:00
medmunds
ab1de7be2a (Don't use python builtin 'vars' as a parameter name) 2013-03-27 11:08:04 -07:00
medmunds
64f32fbc72 Use python's json rather than Django's
django.utils.simplejson is deprecated; Python 2.6+ includes json.
Fixes #32.
2013-03-13 09:52:51 -07:00
medmunds
7484a39108 v0.4 released to PyPI; bump master version 2013-03-06 11:38:54 -08:00
medmunds
1d250d970d Readme: fix comments that broke PyPI; update Travis image url 2013-03-06 11:31:02 -08:00
medmunds
1fa8699389 Setup: oops, can't list supported Django versions 2013-03-05 18:40:02 -08:00
medmunds
63b5db7b9a Readme point to 'master' version of docs 2013-03-05 16:03:17 -08:00
medmunds
adb3ace00c Initial v0.4 release notes 2013-03-05 15:47:32 -08:00
medmunds
7b61302dc2 Setup: list supported Python and Django versions; don't include entire license file 2013-03-05 15:46:06 -08:00
medmunds
9211c74144 Clean up version numbering and readme/description/docs sharing 2013-03-05 15:33:52 -08:00
Mike Edmunds
51d45353ee Merge pull request #31 from brack3t/inline_css
Support Mandrill inline_css sending option
2013-03-05 14:13:35 -08:00
medmunds
13c6125bda Support Mandrill inline_css sending option 2013-03-05 13:57:51 -08:00
Mike Edmunds
f881e42d31 Merge pull request #30 from brack3t/docs
Break up readme into docs; add to readthedocs.org
2013-03-04 21:28:10 -08:00
medmunds
21acb71642 Unified version: Python 3-compatible replacement for execfile 2013-03-04 21:13:19 -08:00
medmunds
440e32529e Bump version (so readthedocs won't label updated docs as old "0.3.1") 2013-03-04 20:25:10 -08:00
medmunds
ea72b2d790 DRY up duplicate content in the readme and docs index page.
* Don't maintain similar overview in README.rst and docs/index.rst -- instead just include relevant portions of readme in the docs
* Patch up README version numbers and doc links in setup.py long_description to freeze them to the version being setup
* Suppress the Travis build status indicator in the docs and PyPI, since it can't be frozen to the specific version in question
2013-03-04 20:25:10 -08:00
medmunds
28538a5391 Docs: break apart the lengthy readme into organized docs
Also sphinx-ify where appropriate, and lots of general cleanup/editing.
2013-03-04 20:24:26 -08:00
medmunds
230011f818 Maintain version info in a single place.
http://stackoverflow.com/a/2073599/647002
2013-03-04 20:02:26 -08:00
medmunds
618729b444 Docs: initial sphinx-quickstart 2013-03-02 17:06:54 -08:00
Mike Edmunds
a2139d488e Merge pull request #27 from brack3t/embedded_images
Support inline images
2013-03-01 15:12:23 -08:00
medmunds
09de5faebe Support embedded images.
Treat image attachments with a Content-ID header as embedded, rather than ordinary attachments. (Rationale is that you must set the content-id to be able to refer to the image within your html, so that's a reasonable indicator to handle it as embedded.)
2013-03-01 13:58:07 -08:00
Mike Edmunds
4e48b0b3d0 Merge pull request #29 from brack3t/support_all_attachments
Don't filter attachment types
2013-02-28 17:52:22 -08:00
Mike Edmunds
114cc6fd2b Merge pull request #28 from brack3t/django_15_final
Travis: test against Django 1.5 final
2013-02-28 17:49:46 -08:00
medmunds
92d413f5ae Don't filter attachment types
Mandrill dropped filtering on attachment mimetypes, so stop enforcing this in Djrill.
Fixes #26
2013-02-28 17:47:47 -08:00
medmunds
5eae484561 Travis: test against Django 1.5 final 2013-02-28 17:30:22 -08:00
medmunds
921baab602 Version 0.3.1 2013-01-13 08:17:41 -08:00
medmunds
ed3249cede Correct name/content lists for template_content, merge_vars, global_merge_vars.
Fixes #24.
2013-01-13 08:16:40 -08:00
Mike Edmunds
6480e4f361 Merge pull request #23 from brack3t/v030
Version 0.3.0
2013-01-12 14:41:28 -08:00
medmunds
9380b1d8c9 Prep for 0.3.0 release
- Update version numbers
- Release notes
- Update authors
2013-01-12 14:20:40 -08:00
medmunds
860ebcdc44 Python 3.2 (but not 3.3) b64decode requires bytes not str 2013-01-12 14:00:34 -08:00
medmunds
86b9711f2c setup: close license, readme files 2013-01-12 13:49:35 -08:00
medmunds
ac0614a633 More Python 3.2 fixes - attachment encoding 2013-01-12 13:32:57 -08:00
medmunds
b4f2866f0f Python 3.2 fixes
- Absolute imports
- Unicode strings
2013-01-12 11:45:44 -08:00
medmunds
c550aacbb8 Travis: re-enable Python 3.2 testing
(Recent requests updates may have fixed Python 3 setup issues)
2013-01-12 10:50:44 -08:00
medmunds
241f9eeb2c Readme: restore summary (from old long_description) 2013-01-12 10:48:37 -08:00
medmunds
6dc1eea74d Readme: clean up "Django EmailMessage Support" section 2013-01-12 10:38:41 -08:00
medmunds
8de6b218b9 Handle bcc as Mandrill bcc_address, rather than additional to address 2013-01-12 10:26:42 -08:00
medmunds
8f9afdff7e Move MANDRILL_API_URL to package root (out of backend) 2013-01-11 17:34:17 -08:00
medmunds
ad4b9f38ff Raise NotSupportedByMandrillError for unsupported attachment mimetypes. 2013-01-11 17:26:09 -08:00
medmunds
18d27fdb21 Exception cleanup
Introduce djrill.NotSupportedByMandrillError for unsupported functionality (previously used generic ValueError).
Change to djrill.MandrillAPIError, derived from requests.HTTPError, for API error responses (previously used djrill.mail.backends.djrill.DjrillBackendHTTPError -- retained as equivalent for backwards compatibility).
2013-01-11 16:59:42 -08:00
medmunds
fac078ee18 Readme: Explain using multiple email backends 2013-01-11 15:23:08 -08:00
medmunds
0826e2b7b0 Readme: docs for send-template
(and break up the lengthy 'usage' section)
2013-01-11 14:51:37 -08:00
medmunds
4be12952a3 Add send-template tests (and fixes).
Add test cases for send-template.
Expand template_content dict into Mandrill's name/value array.
Don't send template_content as "None" if missing.

Clean up some variable names in the backend.
2013-01-11 13:28:49 -08:00
medmunds
207e94e6d0 Tests: add ability to check which Mandrill API endpoint was used.
Add DjrillBackendMockAPITestCase.assert_mandrill_called; use it in representative backend test cases.

(Also make get_api_call_data work with various ways of calling requests.post.)
2013-01-11 12:44:06 -08:00
medmunds
3b237a59db Merge branch 'send-template' of git://github.com/peillis/Djrill into send_template 2013-01-09 12:39:18 -08:00