Commit Graph

87 Commits

Author SHA1 Message Date
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
Mike Edmunds
d0236dd5aa (Readme rst * escapes) 2013-01-03 15:16:16 -08:00
medmunds
7eef68067d Readme: Note Mandrill silently filters unsupported attachment types 2013-01-03 15:10:28 -08:00
medmunds
5b4f4c12cb Support sending attachments 2013-01-03 13:52:41 -08:00
medmunds
e529fe682d readme: add info on contributing 2013-01-03 10:51:57 -08:00
medmunds
d1b0e0a574 Tests: break apart tests.py into tests directory 2013-01-03 10:51:07 -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
9a6eb78db5 One more try on correct Travis-CI links 2012-12-11 10:28:12 -08:00
medmunds
8aab5e31b7 Expose most Mandrill send features on EmailMessage objects.
* Supports additional Mandrill send-API attributes on any ``EmailMessage``-derived object -- see details in readme
* Removes need for MANDRILL_API_URL in settings (since this is tightly tied to the code)
* Removes ``DjrillMessage`` from the readme (but not the code or tests) -- its functionality is now duplicated or exceeded by standard EmailMessage with additional attributes
* Ensures send(fail_silently=True) works as expected
2012-12-10 11:36:18 -08:00
medmunds
a10ea06f47 Fix Travis build-status image url 2012-11-29 11:03:03 -08:00
medmunds
b2fdfb7805 Configure travis-ci.org tests
Test Django 1.2 and 1.3; Python 2.6 and 2.7

Don't bother testing Python 2.5 -- it requires an older version of
requests (that doesn't depend on json).

Don't bother testing Django 1.2 -- it requires changes to ``assertRaises``
in the test cases (because the context-manager version of assertRaises is
part of unittest2, which appears in Django 1.3+ or Python 2.7+).

Don't bother testing Django 1.5 (yet).
2012-11-24 12:41:02 -08:00
Kenneth Love
e3ed12205e Merge pull request #10 from medmunds/clarify_license
Note BSD license in readme and setup.py package classifiers.
2012-11-23 09:53:30 -08:00
Kenneth Love
2aaa72edaf Merge pull request #9 from medmunds/admin_remove_verify_sender
Remove obsolete admin related to sender verification
2012-11-23 09:53:07 -08:00
medmunds
e42259d479 Note BSD license in readme and setup.py package classifiers.
BSD license assumed based on the line ``license="BSD"`` found
in the original setup.py.

Cherry-picked from medmunds/Djrill@b3b44c1c
2012-11-21 14:52:57 -08:00
medmunds
052f54113e Remove obsolete admin related to sender verification
(Also match admin view method signatures to base classes and remove
unused imports while we're in there.)

Cherry-picked from medmunds/Djrill@ce69fd78
2012-11-21 14:46:32 -08:00
medmunds
1bec172611 Testing on backend API calls, using mock; add runtests.py.
Cherry-picked from:
8c26807a - Add runtests.py for testing separately from other Django apps
cd8504b1 - Make tests compatible with setuptools
4ac65b78 - Set up testing on the backend API calls, using mock
2012-10-31 18:15:54 -07:00
Chris Jones
0392738d19 docs. 2012-02-28 17:11:46 -08:00
Kenneth Love
26477b3b13 again with the readme 2012-02-28 16:52:14 -08:00
Kenneth Love
e9004c1f0b updated readme 2012-02-28 16:50:52 -08:00
Kenneth Love
64627a73cc don't need the authors line 2012-02-28 16:31:57 -08:00
Kenneth Love
88ad2adad6 updates 2012-02-28 16:30:17 -08:00
Kenneth Love
2d8552c64d oopsie in the list 2012-02-28 16:24:17 -08:00
Kenneth Love
08d1722f02 more on usage 2012-02-28 16:23:41 -08:00
Kenneth Love
db6b9477f7 edits 2012-02-28 16:17:57 -08:00
Kenneth Love
aee6acac1e usage 2012-02-28 16:13:11 -08:00
Kenneth Love
34990e5973 don't indent the list 2012-02-28 16:05:40 -08:00
Chris Jones
f1a3853ce4 docs. 2012-02-28 16:04:56 -08:00
Chris Jones
e8fbc7f342 docs docs docs 2012-02-28 15:58:49 -08:00
Chris Jones
474f628fd9 moar docs. 2012-02-28 15:53:29 -08:00
Chris Jones
ee7367184f doc updates. 2012-02-28 15:49:00 -08:00
Kenneth Love
94bed5b04f er, blocks 2012-02-28 14:42:22 -08:00
Kenneth Love
2c30f73af9 code blocks 2012-02-28 14:41:51 -08:00
Kenneth Love
36ab06c4bd extra line? 2012-02-28 14:41:19 -08:00
Kenneth Love
7c9f64b973 updated readme 2012-02-28 14:40:44 -08:00
Chris Jones
dee08b60b2 Initial readme. 2012-01-16 12:14:35 -08:00