fix: Enable ORA new submissions course notification preference (#36449)

* fix: Enable ORA new submissions course notification preference

* fix: update edx-ora2 version
This commit is contained in:
Hassan Raza
2025-04-10 13:32:54 +05:00
committed by GitHub
parent a0d99315ad
commit 0acc44fbcd
7 changed files with 11 additions and 11 deletions

View File

@@ -191,12 +191,12 @@ COURSE_NOTIFICATION_TYPES = {
'email_template': '',
'filters': [FILTER_AUDIT_EXPIRED_USERS_WITH_NO_ROLE]
},
'ora_staff_notification': {
'ora_staff_notifications': {
'notification_app': 'grading',
'name': 'ora_staff_notification',
'name': 'ora_staff_notifications',
'is_core': False,
'info': '',
'web': False,
'web': True,
'email': False,
'push': False,
'email_cadence': EmailCadence.DAILY,

View File

@@ -25,7 +25,7 @@ NOTIFICATION_CHANNELS = ['web', 'push', 'email']
ADDITIONAL_NOTIFICATION_CHANNEL_SETTINGS = ['email_cadence']
# Update this version when there is a change to any course specific notification type or app.
COURSE_NOTIFICATION_CONFIG_VERSION = 12
COURSE_NOTIFICATION_CONFIG_VERSION = 13
def get_course_notification_preference_config():

View File

@@ -369,8 +369,8 @@ class UserNotificationPreferenceAPITest(ModuleStoreTestCase):
'enabled': True,
'core_notification_types': [],
'notification_types': {
'ora_staff_notification': {
'web': False,
'ora_staff_notifications': {
'web': True,
'email': False,
'push': False,
'email_cadence': 'Daily',
@@ -1088,7 +1088,7 @@ class UpdateAllNotificationPreferencesViewTests(APITestCase):
"email": True,
"email_cadence": "Daily"
},
"ora_staff_notification": {
"ora_staff_notifications": {
"web": False,
"push": False,
"email": False,

View File

@@ -828,7 +828,7 @@ openedx-mongodbproxy==0.2.2
# via -r requirements/edx/kernel.in
optimizely-sdk==5.2.0
# via -r requirements/edx/bundled.in
ora2==6.15.0
ora2==6.15.1
# via -r requirements/edx/bundled.in
packaging==24.2
# via

View File

@@ -1396,7 +1396,7 @@ optimizely-sdk==5.2.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
ora2==6.15.0
ora2==6.15.1
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt

View File

@@ -1000,7 +1000,7 @@ openedx-mongodbproxy==0.2.2
# via -r requirements/edx/base.txt
optimizely-sdk==5.2.0
# via -r requirements/edx/base.txt
ora2==6.15.0
ora2==6.15.1
# via -r requirements/edx/base.txt
packaging==24.2
# via

View File

@@ -1058,7 +1058,7 @@ openedx-mongodbproxy==0.2.2
# via -r requirements/edx/base.txt
optimizely-sdk==5.2.0
# via -r requirements/edx/base.txt
ora2==6.15.0
ora2==6.15.1
# via -r requirements/edx/base.txt
packaging==24.2
# via