Skip to content

Commit 0acc44f

Browse files
fix: Enable ORA new submissions course notification preference (#36449)
* fix: Enable ORA new submissions course notification preference * fix: update edx-ora2 version
1 parent a0d9931 commit 0acc44f

7 files changed

Lines changed: 11 additions & 11 deletions

File tree

openedx/core/djangoapps/notifications/base_notification.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,12 @@
191191
'email_template': '',
192192
'filters': [FILTER_AUDIT_EXPIRED_USERS_WITH_NO_ROLE]
193193
},
194-
'ora_staff_notification': {
194+
'ora_staff_notifications': {
195195
'notification_app': 'grading',
196-
'name': 'ora_staff_notification',
196+
'name': 'ora_staff_notifications',
197197
'is_core': False,
198198
'info': '',
199-
'web': False,
199+
'web': True,
200200
'email': False,
201201
'push': False,
202202
'email_cadence': EmailCadence.DAILY,

openedx/core/djangoapps/notifications/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
ADDITIONAL_NOTIFICATION_CHANNEL_SETTINGS = ['email_cadence']
2626

2727
# Update this version when there is a change to any course specific notification type or app.
28-
COURSE_NOTIFICATION_CONFIG_VERSION = 12
28+
COURSE_NOTIFICATION_CONFIG_VERSION = 13
2929

3030

3131
def get_course_notification_preference_config():

openedx/core/djangoapps/notifications/tests/test_views.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ def _expected_api_response(self, course=None):
369369
'enabled': True,
370370
'core_notification_types': [],
371371
'notification_types': {
372-
'ora_staff_notification': {
373-
'web': False,
372+
'ora_staff_notifications': {
373+
'web': True,
374374
'email': False,
375375
'push': False,
376376
'email_cadence': 'Daily',
@@ -1088,7 +1088,7 @@ def setUp(self):
10881088
"email": True,
10891089
"email_cadence": "Daily"
10901090
},
1091-
"ora_staff_notification": {
1091+
"ora_staff_notifications": {
10921092
"web": False,
10931093
"push": False,
10941094
"email": False,

requirements/edx/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ openedx-mongodbproxy==0.2.2
828828
# via -r requirements/edx/kernel.in
829829
optimizely-sdk==5.2.0
830830
# via -r requirements/edx/bundled.in
831-
ora2==6.15.0
831+
ora2==6.15.1
832832
# via -r requirements/edx/bundled.in
833833
packaging==24.2
834834
# via

requirements/edx/development.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@ optimizely-sdk==5.2.0
13961396
# via
13971397
# -r requirements/edx/doc.txt
13981398
# -r requirements/edx/testing.txt
1399-
ora2==6.15.0
1399+
ora2==6.15.1
14001400
# via
14011401
# -r requirements/edx/doc.txt
14021402
# -r requirements/edx/testing.txt

requirements/edx/doc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ openedx-mongodbproxy==0.2.2
10001000
# via -r requirements/edx/base.txt
10011001
optimizely-sdk==5.2.0
10021002
# via -r requirements/edx/base.txt
1003-
ora2==6.15.0
1003+
ora2==6.15.1
10041004
# via -r requirements/edx/base.txt
10051005
packaging==24.2
10061006
# via

requirements/edx/testing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ openedx-mongodbproxy==0.2.2
10581058
# via -r requirements/edx/base.txt
10591059
optimizely-sdk==5.2.0
10601060
# via -r requirements/edx/base.txt
1061-
ora2==6.15.0
1061+
ora2==6.15.1
10621062
# via -r requirements/edx/base.txt
10631063
packaging==24.2
10641064
# via

0 commit comments

Comments
 (0)