edx-ace 1.11.2__tar.gz → 1.11.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. {edx-ace-1.11.2/edx_ace.egg-info → edx-ace-1.11.3}/PKG-INFO +1 -1
  2. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/__init__.py +1 -1
  3. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/channel/__init__.py +3 -1
  4. {edx-ace-1.11.2 → edx-ace-1.11.3/edx_ace.egg-info}/PKG-INFO +1 -1
  5. {edx-ace-1.11.2 → edx-ace-1.11.3}/CHANGELOG.rst +0 -0
  6. {edx-ace-1.11.2 → edx-ace-1.11.3}/LICENSE.txt +0 -0
  7. {edx-ace-1.11.2 → edx-ace-1.11.3}/MANIFEST.in +0 -0
  8. {edx-ace-1.11.2 → edx-ace-1.11.3}/README.rst +0 -0
  9. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/ace.py +0 -0
  10. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/apps.py +0 -0
  11. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/channel/braze.py +0 -0
  12. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/channel/django_email.py +0 -0
  13. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/channel/file.py +0 -0
  14. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/channel/mixins.py +0 -0
  15. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/channel/push_notification.py +0 -0
  16. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/channel/sailthru.py +0 -0
  17. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/delivery.py +0 -0
  18. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/errors.py +0 -0
  19. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/message.py +0 -0
  20. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/monitoring.py +0 -0
  21. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/policy.py +0 -0
  22. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/presentation.py +0 -0
  23. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/push_notifications/views/__init__.py +0 -0
  24. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/recipient.py +0 -0
  25. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/recipient_resolver.py +0 -0
  26. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/renderers.py +0 -0
  27. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/serialization.py +0 -0
  28. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/signals.py +0 -0
  29. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/templatetags/acetags.py +0 -0
  30. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/test_utils/__init__.py +0 -0
  31. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/tests/channel/test_braze.py +0 -0
  32. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/tests/channel/test_channel_helpers.py +0 -0
  33. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/tests/channel/test_django_email.py +0 -0
  34. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/tests/channel/test_file_email.py +0 -0
  35. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/tests/channel/test_push_notification.py +0 -0
  36. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/tests/channel/test_sailthru.py +0 -0
  37. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/tests/test_ace.py +0 -0
  38. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/tests/test_date.py +0 -0
  39. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/tests/test_delivery.py +0 -0
  40. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/tests/test_message.py +0 -0
  41. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/tests/test_policy.py +0 -0
  42. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/tests/test_presentation.py +0 -0
  43. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/tests/test_templates/testapp/edx_ace/testmessage/email/body.html +0 -0
  44. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/tests/test_templates/testapp/edx_ace/testmessage/email/head.html +0 -0
  45. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/tests/utils/test_signals.py +0 -0
  46. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/utils/__init__.py +0 -0
  47. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/utils/date.py +0 -0
  48. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/utils/once.py +0 -0
  49. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/utils/plugins.py +0 -0
  50. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace/utils/signals.py +0 -0
  51. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace.egg-info/SOURCES.txt +0 -0
  52. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace.egg-info/dependency_links.txt +0 -0
  53. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace.egg-info/entry_points.txt +0 -0
  54. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace.egg-info/not-zip-safe +0 -0
  55. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace.egg-info/requires.txt +0 -0
  56. {edx-ace-1.11.2 → edx-ace-1.11.3}/edx_ace.egg-info/top_level.txt +0 -0
  57. {edx-ace-1.11.2 → edx-ace-1.11.3}/requirements/base.in +0 -0
  58. {edx-ace-1.11.2 → edx-ace-1.11.3}/requirements/constraints.txt +0 -0
  59. {edx-ace-1.11.2 → edx-ace-1.11.3}/setup.cfg +0 -0
  60. {edx-ace-1.11.2 → edx-ace-1.11.3}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: edx-ace
3
- Version: 1.11.2
3
+ Version: 1.11.3
4
4
  Summary: Framework for Messaging
5
5
  Home-page: https://github.com/openedx/edx-ace
6
6
  Author: edX
@@ -13,7 +13,7 @@ from .policy import Policy, PolicyResult
13
13
  from .recipient import Recipient
14
14
  from .recipient_resolver import RecipientResolver
15
15
 
16
- __version__ = '1.11.2'
16
+ __version__ = '1.11.3'
17
17
 
18
18
 
19
19
  __all__ = [
@@ -176,7 +176,9 @@ def get_channel_for_message(channel_type, message):
176
176
  channel_names = []
177
177
 
178
178
  if channel_type == ChannelType.EMAIL:
179
- if message.options.get('transactional'):
179
+ if message.options.get('override_default_channel'):
180
+ channel_names = [message.options.get('override_default_channel')]
181
+ elif message.options.get('transactional'):
180
182
  channel_names = [settings.ACE_CHANNEL_TRANSACTIONAL_EMAIL, settings.ACE_CHANNEL_DEFAULT_EMAIL]
181
183
  else:
182
184
  channel_names = [settings.ACE_CHANNEL_DEFAULT_EMAIL]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: edx-ace
3
- Version: 1.11.2
3
+ Version: 1.11.3
4
4
  Summary: Framework for Messaging
5
5
  Home-page: https://github.com/openedx/edx-ace
6
6
  Author: edX
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes