Commit Graph

37 Commits

Author SHA1 Message Date
Jens Alm
807f38a240 Cleaned up .gitignor, PEP-8 issues and documentation 2013-06-02 11:11:37 +02:00
Jens Alm
a0da0ea713 Actually handling the correct headers 2013-05-30 13:10:58 +02:00
Jens Alm
4e81e5d5e8 Added byte/str compatibility for python 3 2013-05-30 11:21:05 +02:00
Jens Alm
bbfaf2c8d8 Fixed python 3.2 unicode issues 2013-05-30 10:57:34 +02:00
Jens Alm
e73c404427 Added support for signed webhooks
See
http://help.mandrill.com/entries/23704122-Authenticating-webhook-request
s
2013-05-30 10:52:13 +02:00
José Padilla
c63bbbd5cd Fix: webhook view post method
Gets the JSON data from the mandrill_events param.
Also returns a 400 error if there's any issues
loading the webhook request.
2013-04-14 20:35:52 -04:00
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
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
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
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
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
Kenneth Love
5a986fe5b5 removed other mention of ADMIN_MEDIA_PREFIX 2012-11-23 10:00:13 -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
Chris Jones
47860493af Better API error handling. 2012-02-28 14:54:40 -08:00
Kenneth Love
9b66916eb2 send back a message and redirect to admin home if mandrill returns anything but a 200 2012-02-28 14:34:15 -08:00
Kenneth Love
38a80e2b95 urls and tags list views 2012-02-28 14:25:28 -08:00
Kenneth Love
7612856b72 better appearance for the form and a sidebar with mandrill status. 2012-01-20 16:55:20 -08:00
Chris Jones
b18b3ced46 Add form and view for adding a new sender. 2012-01-20 16:33:29 -08:00
Kenneth Love
e8c3d84b28 cleaner form, properly sending. view has a bit more config 2012-01-16 18:09:44 -08:00
Kenneth Love
ddfde06be4 Merge branch 'master' of github.com:brack3t/Djrill 2012-01-16 17:50:33 -08:00
Kenneth Love
ab0ac414be meh 2012-01-16 17:50:26 -08:00
Kenneth Love
7875158f6f converted template to use real form 2012-01-16 17:47:53 -08:00
Chris Jones
8141037bf4 Add api_action class attribute so that disable sender and verify sender can use the same view. 2012-01-16 17:03:51 -08:00
Chris Jones
799f9ba7fd Add ability to have named urls. 2012-01-16 16:49:56 -08:00
Kenneth Love
53046715d9 status template 2012-01-16 15:48:40 -08:00
Kenneth Love
851bacdd72 first senders list with template 2012-01-16 15:29:48 -08:00
Chris Jones
f5c697af0d Im so ashamed of myself. Sorry PEP8 2012-01-16 14:52:44 -08:00
Chris Jones
7f01992dfb awesomesauce 2012-01-16 14:51:06 -08:00
Chris Jones
607a480a97 Mixin for grabbing the api info from the settings. 2012-01-16 14:27:43 -08:00
Kenneth Love
eb0a8cf3d5 working 2012-01-16 14:16:25 -08:00
Kenneth Love
5d1b3df19c should be working 2012-01-16 14:13:31 -08:00
Chris Jones
94c5f63705 non working api call. 2012-01-16 14:00:41 -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