medmunds
d14b87c910
Raise error for invalid/rejected recipients
...
Raise new MandrillRecipientsRefused exception
when Mandrill returns 'reject' or 'invalid' status
for *all* recipients of a message.
(Similar to Django's SMTP email backend raising
SMTPRecipientsRefused.)
Add setting MANDRILL_IGNORE_RECIPIENT_STATUS
to override the new exception.
Trap JSON parsing errors in Mandrill API response,
and raise MandrillAPIError for them. (Helps with #93.)
Closes #80 .
Closes #81 .
2015-12-01 13:26:21 -08:00
medmunds
8433e6d660
Clean up all imports
...
* Use relative imports within djrill package
* Standardize ordering
* Remove absolute_import (it's standard in all
python versions we now support)
2015-11-30 17:33:08 -08:00
medmunds
632334b426
Don't access MANDRILL_API_URL setting at module level
...
Move MANDRILL_API_URL setting lookup into Djrill
backend init (where it's used).
Because "modules should not in general use settings
stored in django.conf.settings at the top level".
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/coding-style/#use-of-django-conf-settings
2015-11-30 17:20:27 -08:00
medmunds
f7bd9f3a25
Add Djrill version to User-Agent header
...
(Makes version show up in Mandrill API logs)
2015-09-25 18:23:45 -07:00
medmunds
99ac099081
Remove DjrillAdminSite
...
Closes #78
2015-05-14 11:00:52 -07:00
medmunds
80895316f1
Deprecate DjrillAdminSite
2015-05-12 15:56:30 -07:00
medmunds
8ab36d2cd0
Django 1.8 alpha 1 support
...
* Test on Python 2.7, 3.4, pypy.
* Call super.setUpClass in DjrillAdminTests.
https://docs.djangoproject.com/en/dev/releases/1.8/#overriding-setupclass-teardownclass-in-test-cases
Also clear up some new PendingDeprecationWarnings, where
the changes can easily remain compatible back to Django 1.3:
* Remove deprecated django.conf.urls.patterns.
(And match Django recommendations in our docs.)
https://docs.djangoproject.com/en/dev/releases/1.8/#django-conf-urls-patterns
* Remove deprecated SimpleTestCase.urls.
(We've already back-ported @override_settings
for testing older Django versions.)
https://docs.djangoproject.com/en/dev/releases/1.8/#django-test-simpletestcase-urls
2015-01-16 16:17:31 -08:00
Elias Freider
95f143d8ca
Changes the default API endpoint to the https version
2015-01-16 16:59:48 +01:00
medmunds
c6b171b671
Document Django 1.7 admin installation changes.
...
Closes #74 .
2014-09-29 14:44:22 -07: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
921baab602
Version 0.3.1
2013-01-13 08:17:41 -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
b4f2866f0f
Python 3.2 fixes
...
- Absolute imports
- Unicode strings
2013-01-12 11:45:44 -08:00
medmunds
8f9afdff7e
Move MANDRILL_API_URL to package root (out of backend)
2013-01-11 17:34:17 -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
bc9e6212a6
Version 0.2.0
...
* Release notes in readme
* Update example in readme
* Note deprecation of DjrillMessage class
* Longer long_description for PyPI
* Update authors
* Bump version number (setup.py and __init__.py)
2012-12-11 13:19:21 -08:00
medmunds
49238b28ae
Fix django.conf.urls.defaults deprecation warning in admin
...
(Test on Django 1.3, 1.4, 1.5b)
2012-12-05 16:06:12 -08:00
Kenneth Love
442229d08d
added AUTHORS.txt. bumped version to 0.1.2
2012-10-31 14:17:37 -07:00
Chris Jones
799f9ba7fd
Add ability to have named urls.
2012-01-16 16:49:56 -08:00
Chris Jones
b7f1ad5fd0
Working custom admin view.
2012-01-16 13:27:52 -08:00
Chris Jones
58d59af2d9
Add the djrill.
2012-01-16 12:19:16 -08:00