Commit Graph

52 Commits

Author SHA1 Message Date
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
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
c78bbc6ced [minor cleanup] Allow html from any EmailMultiAlternatives (not just DjrillMessage) 2012-11-16 11:07:15 -08:00
medmunds
c23696a590 Allow html from any EmailMultiAlternatives (not just DjrillMessage)
Includes type-checking on alternative message part, and switches
to ValueError (rather than ImproperlyConfigured) for unacceptable
alternatives.

[Also fixes bug where fail_silently=True wasn't respected.]

Cherry-picked from: medmunds/Djrill@faf53a1a0
(and parts of medmunds/Djrill@62d48c5f)
2012-11-15 16:17:16 -08:00
medmunds
1901fd444e Allow extra headers from any EmailMessage (not just DjrillMessage)
Also adds test case for basic functionality on django.core.mail.EmailMessage.

Cherry-picked from: medmunds/Djrill@f0503783f
2012-11-15 15:49:08 -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
Kenneth Love
442229d08d added AUTHORS.txt. bumped version to 0.1.2 2012-10-31 14:17:37 -07:00
medmunds
5602fc5314 Backend: Remove obsolete api_verify altogether.
Remove connection management (remnant of sender verification, and
didn't match Django email backend signatures).
Reformat inherited patch to 80-char line width.
Consistent int return type from send_messages.
2012-10-31 11:51:47 -07:00
medmunds
c1e577c6f5 Backend: fix exception messaging 2012-10-31 11:44:03 -07:00
Arnaud Fribault
96b5733e9d Fixes error message formatting 2012-10-31 11:44:03 -07:00
Arnaud Fribault
5b35988034 Raise a valid exception if failedSilently is false 2012-10-31 11:44:03 -07:00
Theo Crevon
71292aa223 Update : new sender validation endpoint and process 2012-10-30 17:21:46 +01:00
Kenneth Love
7c0dc87d2d {% admin_media_prefix %} is now {{ STATIC_URL }}admin/. Fixes issue #2 2012-10-24 16:58:34 -07:00
Chris Jones
e8834fe326 Handle extra headers accepted by Mandrill, also extra option of from_name. Tests to cover checking of extra headers and from_name. 2012-02-28 15:35:29 -08:00
Chris Jones
4db1b9d087 You didn't see that. 2012-02-28 15:08:28 -08:00
Chris Jones
cbd7f429d6 from_name, make it so. 2012-02-28 15:06:01 -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
47e5228114 final updates 2012-02-28 14:29:07 -08:00
Kenneth Love
bbdce3c9af Merge branch 'master' of github.com:brack3t/Djrill 2012-02-28 14:27:33 -08:00
Kenneth Love
1e1e2593e9 removed unused templates 2012-02-28 14:27:18 -08:00
Kenneth Love
38a80e2b95 urls and tags list views 2012-02-28 14:25:28 -08:00
Chris Jones
e1b46c286f Add blank models file for tests to run. 2012-02-28 14:03:50 -08:00
Chris Jones
2d777b5679 Tests for DjrillMessage. 2012-02-28 14:01:06 -08:00
Chris Jones
64bbd40884 No, really. Now it works with standard emails. 2012-02-28 13:08:06 -08:00
Chris Jones
91b846fea3 DjrillMessage which wraps Django's EmailMultiAlternatives. Mail backend now works with standard email and multipart through the DjrillMessage object. 2012-02-28 13:03:26 -08:00
Chris Jones
d6ff089060 Fix recipients list. 2012-02-28 11:34:48 -08:00
Chris Jones
e4362f8c34 Its broken. Parse recipients. 2012-01-20 18:24:13 -08:00
Chris Jones
3b227b2f70 Basic send_mail functioning. 2012-01-20 18:03:33 -08:00
Chris Jones
f5f52328e3 Merge branch 'master' of github.com:brack3t/Djrill into feature/backend 2012-01-20 16:59:36 -08:00
Chris Jones
fd04e60171 Start of the mail backend for djrill. 2012-01-20 16:59:15 -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
7844247a77 meh? 2012-01-16 15:34:43 -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
69bde24b52 Merge branch 'master' of github.com:brack3t/Djrill 2012-01-16 14:00:49 -08:00
Chris Jones
94c5f63705 non working api call. 2012-01-16 14:00:41 -08:00
Kenneth Love
4c865bcc4e default django admin templates to use as a base 2012-01-16 13:42:23 -08:00