edx-ace 1.13.0__tar.gz → 1.14.0__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.
- {edx_ace-1.13.0/edx_ace.egg-info → edx_ace-1.14.0}/PKG-INFO +3 -2
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/__init__.py +1 -1
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/utils/test_braze_utils.py +2 -2
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/utils/braze.py +1 -1
- {edx_ace-1.13.0 → edx_ace-1.14.0/edx_ace.egg-info}/PKG-INFO +3 -2
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace.egg-info/requires.txt +3 -1
- {edx_ace-1.13.0 → edx_ace-1.14.0}/requirements/base.in +0 -1
- {edx_ace-1.13.0 → edx_ace-1.14.0}/setup.py +2 -1
- {edx_ace-1.13.0 → edx_ace-1.14.0}/CHANGELOG.rst +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/LICENSE.txt +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/MANIFEST.in +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/README.rst +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/ace.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/apps.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/channel/__init__.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/channel/braze.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/channel/braze_push_notification.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/channel/django_email.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/channel/file.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/channel/mixins.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/channel/push_notification.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/channel/sailthru.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/delivery.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/errors.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/message.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/monitoring.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/policy.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/presentation.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/push_notifications/views/__init__.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/recipient.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/recipient_resolver.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/renderers.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/serialization.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/signals.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/templatetags/acetags.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/test_utils/__init__.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/channel/test_braze.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/channel/test_braze_push_notification.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/channel/test_channel_helpers.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/channel/test_django_email.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/channel/test_file_email.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/channel/test_push_notification.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/channel/test_sailthru.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/test_ace.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/test_date.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/test_delivery.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/test_message.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/test_policy.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/test_presentation.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/test_templates/testapp/edx_ace/testmessage/email/body.html +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/test_templates/testapp/edx_ace/testmessage/email/head.html +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/tests/utils/test_signals.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/utils/__init__.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/utils/date.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/utils/once.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/utils/plugins.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace/utils/signals.py +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace.egg-info/SOURCES.txt +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace.egg-info/dependency_links.txt +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace.egg-info/entry_points.txt +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace.egg-info/not-zip-safe +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/edx_ace.egg-info/top_level.txt +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/requirements/constraints.txt +0 -0
- {edx_ace-1.13.0 → edx_ace-1.14.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: edx-ace
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.14.0
|
4
4
|
Summary: Framework for Messaging
|
5
5
|
Home-page: https://github.com/openedx/edx-ace
|
6
6
|
Author: edX
|
@@ -21,7 +21,6 @@ License-File: LICENSE.txt
|
|
21
21
|
Requires-Dist: Django>=2.2
|
22
22
|
Requires-Dist: attrs>=17.2.0
|
23
23
|
Requires-Dist: django-push-notifications
|
24
|
-
Requires-Dist: edx-braze-client==1.0.2
|
25
24
|
Requires-Dist: edx-django-utils>=5.14.2
|
26
25
|
Requires-Dist: firebase-admin
|
27
26
|
Requires-Dist: python-dateutil
|
@@ -32,6 +31,8 @@ Provides-Extra: sailthru
|
|
32
31
|
Requires-Dist: sailthru-client<2.3,>2.2; extra == "sailthru"
|
33
32
|
Provides-Extra: push-notifications
|
34
33
|
Requires-Dist: django-push-notifications[FCM]; extra == "push-notifications"
|
34
|
+
Provides-Extra: braze-push
|
35
|
+
Requires-Dist: edx-braze-client==1.0.2; extra == "braze-push"
|
35
36
|
Dynamic: author
|
36
37
|
Dynamic: author-email
|
37
38
|
Dynamic: classifier
|
@@ -28,7 +28,7 @@ class TestBrazeClient(TestCase):
|
|
28
28
|
self.assertEqual(result, None)
|
29
29
|
mock_braze_client.assert_not_called()
|
30
30
|
|
31
|
-
@override_settings(
|
31
|
+
@override_settings(ACE_CHANNEL_BRAZE_PUSH_API_KEY=API_KEY)
|
32
32
|
@patch('edx_ace.utils.braze.BrazeClient')
|
33
33
|
def test_braze_url_not_configured(self, mock_braze_client):
|
34
34
|
"""
|
@@ -48,7 +48,7 @@ class TestBrazeClient(TestCase):
|
|
48
48
|
self.assertEqual(result, None)
|
49
49
|
mock_braze_client.assert_not_called()
|
50
50
|
|
51
|
-
@override_settings(ACE_CHANNEL_BRAZE_REST_ENDPOINT=API_KEY,
|
51
|
+
@override_settings(ACE_CHANNEL_BRAZE_REST_ENDPOINT=API_KEY, ACE_CHANNEL_BRAZE_PUSH_API_KEY=API_KEY)
|
52
52
|
@patch('edx_ace.utils.braze.BrazeClient', return_value=True)
|
53
53
|
def test_success(self, mock_braze_client):
|
54
54
|
"""
|
@@ -14,7 +14,7 @@ def get_braze_client():
|
|
14
14
|
if not BrazeClient:
|
15
15
|
return None
|
16
16
|
|
17
|
-
braze_api_key = getattr(settings, '
|
17
|
+
braze_api_key = getattr(settings, 'ACE_CHANNEL_BRAZE_PUSH_API_KEY', None)
|
18
18
|
braze_api_url = getattr(settings, 'ACE_CHANNEL_BRAZE_REST_ENDPOINT', None)
|
19
19
|
|
20
20
|
if not braze_api_key or not braze_api_url:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: edx-ace
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.14.0
|
4
4
|
Summary: Framework for Messaging
|
5
5
|
Home-page: https://github.com/openedx/edx-ace
|
6
6
|
Author: edX
|
@@ -21,7 +21,6 @@ License-File: LICENSE.txt
|
|
21
21
|
Requires-Dist: Django>=2.2
|
22
22
|
Requires-Dist: attrs>=17.2.0
|
23
23
|
Requires-Dist: django-push-notifications
|
24
|
-
Requires-Dist: edx-braze-client==1.0.2
|
25
24
|
Requires-Dist: edx-django-utils>=5.14.2
|
26
25
|
Requires-Dist: firebase-admin
|
27
26
|
Requires-Dist: python-dateutil
|
@@ -32,6 +31,8 @@ Provides-Extra: sailthru
|
|
32
31
|
Requires-Dist: sailthru-client<2.3,>2.2; extra == "sailthru"
|
33
32
|
Provides-Extra: push-notifications
|
34
33
|
Requires-Dist: django-push-notifications[FCM]; extra == "push-notifications"
|
34
|
+
Provides-Extra: braze-push
|
35
|
+
Requires-Dist: edx-braze-client==1.0.2; extra == "braze-push"
|
35
36
|
Dynamic: author
|
36
37
|
Dynamic: author-email
|
37
38
|
Dynamic: classifier
|
@@ -1,7 +1,6 @@
|
|
1
1
|
Django>=2.2
|
2
2
|
attrs>=17.2.0
|
3
3
|
django-push-notifications
|
4
|
-
edx-braze-client==1.0.2
|
5
4
|
edx-django-utils>=5.14.2
|
6
5
|
firebase-admin
|
7
6
|
python-dateutil
|
@@ -9,6 +8,9 @@ sailthru-client==2.2.3
|
|
9
8
|
six
|
10
9
|
stevedore>=1.10.0
|
11
10
|
|
11
|
+
[braze_push]
|
12
|
+
edx-braze-client==1.0.2
|
13
|
+
|
12
14
|
[push_notifications]
|
13
15
|
django-push-notifications[FCM]
|
14
16
|
|
@@ -142,7 +142,8 @@ setup(
|
|
142
142
|
install_requires=load_requirements('requirements/base.in'),
|
143
143
|
extras_require={
|
144
144
|
'sailthru': ["sailthru-client>2.2,<2.3"],
|
145
|
-
'push_notifications': ["django-push-notifications[FCM]"]
|
145
|
+
'push_notifications': ["django-push-notifications[FCM]"],
|
146
|
+
'braze_push': ['edx-braze-client==1.0.2']
|
146
147
|
},
|
147
148
|
license="AGPL 3.0",
|
148
149
|
zip_safe=False,
|
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
|
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
|
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
|