Commit Graph

494 Commits

Author SHA1 Message Date
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
f0ebbf6dfa Support from_name in "from_name <email>" sender address.
Allows specifying the sender's display name as part of the from email address,
without requiring use of the DjrillMessage class:

    send_mail('Subject', 'Message', 'From Name <from@example.com>',
              ['Recipient #1 <to1@example.com>', 'to2@example.com'])

(This matches the behavior of Django's default SMTP backend.)

Cherry-picked from:
medmunds/Djrill@46cd5c9d: Support "realname <email>" sender address
medmunds/Djrill@cd4e57cc: Support "realname <email>" sender address - fix for using DjrillMessage
medmunds/Djrill@16f8efc9: Add tests for "Display Name <email@example.com>" addresses
2012-11-15 15:03:26 -08:00
Rafael E. Belliard
008b6cfa36 Provide a way to block admin.py when django-adminplus isn't loaded. 2012-11-13 17:05:50 -04: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
Kenneth Love
0abdf27cb9 Merge pull request #3 from medmunds/remove_verify_sender
Remove verify sender
2012-10-31 13:45:33 -07:00
medmunds
487c5c926b Merge branch 'remove_verify_sender' of github.com:medmunds/Djrill into remove_verify_sender
Conflicts:
	djrill/mail/backends/djrill.py
2012-10-31 12:03:00 -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
Kenneth Love
913be53ea8 Merge pull request #4 from sem-io/master
Refresh sender validation endpoint and process.

Looks good, thanks!
2012-10-30 10:43:17 -07:00
Theo Crevon
71292aa223 Update : new sender validation endpoint and process 2012-10-30 17:21:46 +01:00
medmunds
9ee197ac71 Backend: fix exception messaging 2012-10-24 18:42:24 -07:00
Arnaud Fribault
0394df47a0 Fixes error message formatting 2012-10-24 18:42:24 -07:00
Arnaud Fribault
99a9bd2c6e Raise a valid exception if failedSilently is false 2012-10-24 18:42:24 -07:00
Arnaud Fribault
f42cd7d32d verify-sender.json is obsolete. Removed sender verification step 2012-10-24 18:42:24 -07:00
Kenneth Love
a58e1ff657 Merge branch 'master' of github.com:brack3t/Djrill 2012-10-24 16:58:47 -07: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
0392738d19 docs. 2012-02-28 17:11:46 -08:00
Kenneth Love
5051ec2b3d updated setup.py 2012-02-28 16:59:14 -08:00
Kenneth Love
c57c6ed047 updated manifest 2012-02-28 16:55:14 -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
f22ad2843c setup 2012-02-28 16:37:19 -08:00
Kenneth Love
b8ec0640da removal 2012-02-28 16:33:46 -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
Chris Jones
746e41a959 Merge branch 'master' of github.com:brack3t/Djrill 2012-02-28 15:43:01 -08:00
Chris Jones
094b36c5f2 setup.py 2012-02-28 15:42:57 -08:00
Kenneth Love
f8296508e8 manifest 2012-02-28 15:41:07 -08:00
Chris Jones
9699de5df5 package shit. 2012-02-28 15:38:25 -08: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
0ceae6d6b6 Merge branch 'master' of github.com:brack3t/Djrill 2012-02-28 15:06:06 -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
94bed5b04f er, blocks 2012-02-28 14:42:22 -08:00