edx-ace 1.12.1__py2.py3-none-any.whl → 1.14.0__py2.py3-none-any.whl
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/__init__.py +1 -1
- edx_ace/tests/utils/test_braze_utils.py +2 -2
- edx_ace/utils/braze.py +1 -1
- {edx_ace-1.12.1.dist-info → edx_ace-1.14.0.dist-info}/METADATA +25 -6
- {edx_ace-1.12.1.dist-info → edx_ace-1.14.0.dist-info}/RECORD +9 -9
- {edx_ace-1.12.1.dist-info → edx_ace-1.14.0.dist-info}/WHEEL +1 -1
- {edx_ace-1.12.1.dist-info → edx_ace-1.14.0.dist-info}/entry_points.txt +0 -0
- {edx_ace-1.12.1.dist-info → edx_ace-1.14.0.dist-info/licenses}/LICENSE.txt +0 -0
- {edx_ace-1.12.1.dist-info → edx_ace-1.14.0.dist-info}/top_level.txt +0 -0
edx_ace/__init__.py
CHANGED
@@ -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
|
"""
|
edx_ace/utils/braze.py
CHANGED
@@ -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
|
-
Metadata-Version: 2.
|
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
|
@@ -10,28 +10,41 @@ Keywords: Django edx
|
|
10
10
|
Classifier: Development Status :: 3 - Alpha
|
11
11
|
Classifier: Framework :: Django
|
12
12
|
Classifier: Framework :: Django :: 4.2
|
13
|
+
Classifier: Framework :: Django :: 5.2
|
13
14
|
Classifier: Intended Audience :: Developers
|
14
15
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
|
15
16
|
Classifier: Natural Language :: English
|
16
17
|
Classifier: Programming Language :: Python :: 3
|
17
|
-
Classifier: Programming Language :: Python :: 3.8
|
18
18
|
Classifier: Programming Language :: Python :: 3.12
|
19
19
|
Description-Content-Type: text/x-rst
|
20
20
|
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
|
28
27
|
Requires-Dist: sailthru-client==2.2.3
|
29
28
|
Requires-Dist: six
|
30
29
|
Requires-Dist: stevedore>=1.10.0
|
31
|
-
Provides-Extra: push_notifications
|
32
|
-
Requires-Dist: django-push-notifications[fcm]; extra == "push-notifications"
|
33
30
|
Provides-Extra: sailthru
|
34
31
|
Requires-Dist: sailthru-client<2.3,>2.2; extra == "sailthru"
|
32
|
+
Provides-Extra: push-notifications
|
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"
|
36
|
+
Dynamic: author
|
37
|
+
Dynamic: author-email
|
38
|
+
Dynamic: classifier
|
39
|
+
Dynamic: description
|
40
|
+
Dynamic: description-content-type
|
41
|
+
Dynamic: home-page
|
42
|
+
Dynamic: keywords
|
43
|
+
Dynamic: license
|
44
|
+
Dynamic: license-file
|
45
|
+
Dynamic: provides-extra
|
46
|
+
Dynamic: requires-dist
|
47
|
+
Dynamic: summary
|
35
48
|
|
36
49
|
edX Automated Communication Engine (A.C.E.)
|
37
50
|
###########################################
|
@@ -184,6 +197,12 @@ Change Log
|
|
184
197
|
Unreleased
|
185
198
|
**********
|
186
199
|
|
200
|
+
[1.13.0] - 2025-04-25
|
201
|
+
---------------------
|
202
|
+
|
203
|
+
* Added support for ``Django 5.2``
|
204
|
+
* Dropped support for ``Python 3.8``
|
205
|
+
|
187
206
|
[1.8.0] - 2024-03-06
|
188
207
|
--------------------
|
189
208
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
edx_ace/__init__.py,sha256=
|
1
|
+
edx_ace/__init__.py,sha256=ifmxl2mM9XXlad5Uu3uDn0Wjs1T49259smCx49lV_XQ,636
|
2
2
|
edx_ace/ace.py,sha256=0nP8zvIWiME4qmpMT1PaV4nRDG6YR9Dxm7A6FGoBa8I,2501
|
3
3
|
edx_ace/apps.py,sha256=xNedkdW6TNpm-W1uxnj3Vre2R1akkh2n_7DkSfKXmAk,216
|
4
4
|
edx_ace/delivery.py,sha256=zo5lNHngycEn0tu-e3JM26njRVmaAttAH3D5ohz_468,2812
|
@@ -38,17 +38,17 @@ edx_ace/tests/channel/test_push_notification.py,sha256=u6BBplfPwQLMRL02VFlWlNDEw
|
|
38
38
|
edx_ace/tests/channel/test_sailthru.py,sha256=Hfs-v2y9N9H2u0LlA_cJkhcuU0iC02wzwTt4pHsRS7o,3197
|
39
39
|
edx_ace/tests/test_templates/testapp/edx_ace/testmessage/email/body.html,sha256=gDeXQeQFnC2EFzdJ-OwWL7yDdkiR42sUYIxyeJJUD9s,646
|
40
40
|
edx_ace/tests/test_templates/testapp/edx_ace/testmessage/email/head.html,sha256=XvxX2Go_eKUtG0Oo1qPPMOtdS2IoGi7PSY98Di_Ev3s,19
|
41
|
-
edx_ace/tests/utils/test_braze_utils.py,sha256=
|
41
|
+
edx_ace/tests/utils/test_braze_utils.py,sha256=cQFV5btM0jcRNe5HtgT_OGUJVIui4hUC9lsOWgvyPAM,1909
|
42
42
|
edx_ace/tests/utils/test_signals.py,sha256=k0F76oxcnECd95MeGw666YD3d2z-mIx4AS_MTYjwY5Q,1513
|
43
43
|
edx_ace/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
44
|
-
edx_ace/utils/braze.py,sha256=
|
44
|
+
edx_ace/utils/braze.py,sha256=lfZjerz25kG0MyzNDorHkyui7XOCoweHbbGKMZZxKQc,627
|
45
45
|
edx_ace/utils/date.py,sha256=Rmz3RAUCdd30hu1qcKH7FmAypaw1aSoZg-yfZig1c8A,1483
|
46
46
|
edx_ace/utils/once.py,sha256=sY3szBh3gvvAjrKbKq4S2mCejompjh5YcYD7XOhzjGU,2024
|
47
47
|
edx_ace/utils/plugins.py,sha256=U-l-eU2uWUiiwYV-H-2DfmwjoksqskAsYwS7QnThy2Q,2090
|
48
48
|
edx_ace/utils/signals.py,sha256=efmnxI78juMLo6PJkPyfJ6pYTMY3kHnGy-_IR8FsDm8,1637
|
49
|
-
edx_ace-1.
|
50
|
-
edx_ace-1.
|
51
|
-
edx_ace-1.
|
52
|
-
edx_ace-1.
|
53
|
-
edx_ace-1.
|
54
|
-
edx_ace-1.
|
49
|
+
edx_ace-1.14.0.dist-info/licenses/LICENSE.txt,sha256=VrSJ4gO4NCpskzfNHbaTB4VcN9Q213YdcHbpOZSwcOA,35138
|
50
|
+
edx_ace-1.14.0.dist-info/METADATA,sha256=JOUTAHw-1uyBdIp7PKtsiWr7VEvmGv05QSEnFGa8mMo,10488
|
51
|
+
edx_ace-1.14.0.dist-info/WHEEL,sha256=XAkygS4h1cf0JYWV13kJhTWht2y9NqKAsZuiTHc2920,109
|
52
|
+
edx_ace-1.14.0.dist-info/entry_points.txt,sha256=9jbgYKntqyu4kP1pI_Js1BSWqKBG7OacftVn1BAKsLI,413
|
53
|
+
edx_ace-1.14.0.dist-info/top_level.txt,sha256=5eg_80KI88VkeiCVqZUqcYcc_PfPOg8o1GA4HxsiRU8,8
|
54
|
+
edx_ace-1.14.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|