Commit Graph

60 Commits

Author SHA1 Message Date
Feanil Patel
7202c22e1d Merge pull request #33373 from openedx/feanil/update_password_length_default
feat: Update the minimum password length.
2023-10-17 10:08:15 -04:00
Ahtisham Shahid
90b039273d feat: added audit track expiry filter in notifications (#33381)
* feat: added audit track expiry filter in notifications
2023-10-13 11:23:30 +05:00
Ahtisham Shahid
4acd6c22b3 chore: updated version of notifications pref (#33486) 2023-10-13 10:35:41 +05:00
Feanil Patel
64e91d4080 test: Update to an even longer password. 2023-10-12 10:31:13 -04:00
Ahtisham Shahid
22e2a23b9f feat: add new notifiction type for discussions post followers (#33009)
feat: added model for subscription

feat: added logic for notifaction to followers
2023-10-12 13:03:02 +05:00
Feanil Patel
1e2ea85372 test: Update more tests that had short passwords. 2023-10-10 16:36:26 -04:00
Muhammad Adeel Tajamul
29c83ca56b feat: notifications and preferences will be created in batches (#33418) 2023-10-06 16:27:22 +05:00
Ahtisham Shahid
c7c2d916de Revert "chore: added log to track changes in user notification pref (#33237)" (#33334)
This reverts commit 90ca72a34e.
2023-09-26 14:27:59 +05:00
Muhammad Adeel Tajamul
8c9232ace9 feat: updated notification admin (#33320) 2023-09-25 11:14:32 +05:00
Ahtisham Shahid
202e79093c fix: Integraty error in enrollments api (#33265) 2023-09-15 17:41:20 +05:00
Muhammad Adeel Tajamul
5fcad886cb fix: notification tray icon was not visible to non-verified users (#33247) 2023-09-15 16:14:24 +05:00
Ahtisham Shahid
6ff8e42bba fix: removed user object from logs (#33264) 2023-09-15 07:44:26 +00:00
Ahtisham Shahid
90ca72a34e chore: added log to track changes in user notification pref (#33237)
* chore: added log to track changes in user notification pref
2023-09-14 13:31:00 +05:00
SaadYousaf
ca9b008a46 fix: fix notification generated event to include only users with preferences enabled. 2023-09-11 17:19:54 +05:00
SaadYousaf
d4fbc3037c fix: make updates to notification related events 2023-09-11 11:49:40 +05:00
Muhammad Adeel Tajamul
e524af5c7c feat: added notification_expiry_days in notification count api (#33187) 2023-09-07 13:54:54 +05:00
SaadYousaf
8742edbf7a fix: fix course_key param for generated notification event 2023-09-06 17:22:45 +05:00
SaadYousaf
afbd680a33 fix: move notification generation event within task 2023-09-05 13:48:17 +05:00
SaadYousaf
376135ca73 fix: fix notification generated event, and add notification tray opened event 2023-09-01 14:32:51 +05:00
Muhammad Adeel Tajamul
96f7e9cd9a fix: handle new_comment notification edge case (#33088) 2023-08-31 16:33:20 +05:00
Muhammad Adeel Tajamul
c1b28c35f8 feat: make notification type info translateable (#33071) 2023-08-31 15:20:06 +05:00
Muhammad Adeel Tajamul
4efd54a3fd feat: added new_question_post and new_discussion_post notification (#33043) 2023-08-31 14:29:21 +05:00
Kira Miller
776f4bf94e feat: adding unenrollments to event bus (#33085)
* feat: adding unenrollments to event bus

* fix: quality fixes

* fix: tweaks to pass tests

* fix: more tweaks for testing

---------

Co-authored-by: John Nagro <jnagro@edx.org>
2023-08-28 09:08:49 -06:00
Muhammad Adeel Tajamul
f90f1af117 fix: added new_comment and new_response to core notification (#32894) 2023-08-07 12:02:52 +05:00
Ahtisham Shahid
b37286e035 fix: Update notification sending logic for discussions (#32879) 2023-08-04 14:12:12 +05:00
Ahtisham Shahid
4379c089f1 fix: updated disucssions notifications templates (#32819) 2023-07-25 11:23:59 +05:00
Muhammad Adeel Tajamul
f39ba90c55 feat: added search and filter in django admin for notification models (#32771) 2023-07-24 15:46:01 +05:00
SaadYousaf
ebd9605911 feat: add tracking event for notifications app mark all as read 2023-07-20 14:38:12 +05:00
Ahtisham Shahid
3af1ce0441 allow app level enable/disable in notifications app (#32781)
* fix: allow app level enable/disable in notifications app
2023-07-19 15:26:03 +05:00
Ahtisham Shahid
13a5cfc66f fix: use search instead of list for users in notification admin (#32769) 2023-07-18 12:13:03 +05:00
Awais Ansari
5d72ba3518 feat: add show_preference flag in course enrollment API response (#32726)
* feat: add show_preference flag in course enrollment API response

* refactor: fix lint issue in get_paginated_response
2023-07-14 12:26:49 +05:00
Ahtisham Shahid
eebd7d236b fix: added correct url in notification content_url (#32725)
* fix: added correct URL in notification content_url
* fix: updated logic to compare user ids
2023-07-14 10:44:14 +05:00
SaadYousaf
51c826f41d feat: add tracking events for notifications app 2023-07-13 16:24:33 +05:00
Ahtisham Shahid
cd6c754198 fix: resolved logical issues with notification task (#32724) 2023-07-12 15:21:56 +05:00
Ahtisham Shahid
4921db5995 feat: added logic to handle core notifications (#32708)
* feat: added logic to handle core notifications
2023-07-12 12:06:24 +05:00
Muhammad Adeel Tajamul
89bede4dd6 test: added tests to validate notification preference constant (#32666) 2023-07-12 11:02:51 +05:00
Ahtisham Shahid
cd7e48c5d7 feat: update/create notifiction pref while sending notifications (#32665)
* feat: update user pref while sending notifications

* feat: added flag and bulk create in task
2023-07-11 18:46:41 +05:00
Awais Ansari
aeae341559 feat: add non_editable for core notifications (#32695)
* feat: add non_editable for core notifications

* test: add test case for non_editable in core notification

* refactor: remove breakpoint from test cases
2023-07-11 12:21:04 +05:00
ayesha waris
c5c52a8f9e fix: changes count_by_app_name in counts api to return apps with zero… (#32629)
* fix: changes count_by_app_name in counts api to return apps with zero unseen count

* refactor: initialised count_by_app_name_dict with zeros
2023-07-10 16:14:02 +05:00
Ahtisham Shahid
b477a20ad2 Added notifications for discussions events (#32432)
* feat: added notifications for discussions app

* feat: added unit tests for handler

* feat: updated openedx-events package

* fix: updated notification creation logic and tests

* refactor: updated openedx-event version and event name

* refactor: moved logic to separate methods
2023-07-06 13:33:20 +05:00
Awais Ansari
67b97705c8 refactor: update non-editable into snake case non_editable (#32654) 2023-07-06 12:17:29 +05:00
Muhammad Adeel Tajamul
ac5b0870db feat: added support for translation in notifications (#32626) 2023-07-04 15:13:14 +05:00
Muhammad Adeel Tajamul
a71c34a969 feat: added management command to delete expired notifications (#32556) 2023-07-04 11:59:54 +05:00
Awais Ansari
e543a68990 feat: add pagination in course enrollment list API (#32546)
* feat: add pagination in course enrollment list API

* refactor: enrollment course list API

* refactor: follow best practice in course enrollment list API
2023-07-03 13:52:15 +05:00
Ahtisham Shahid
bf4b3c628b refactor: updated api reference from unseen to seen (#32501) 2023-06-21 13:02:28 +05:00
Muhammad Adeel Tajamul
aab3624960 feat: added parser to update existing notification on get (#32450) 2023-06-20 14:10:21 +05:00
SaadYousaf
4c36156c8c feat: add content field property to Notification model 2023-06-20 13:32:52 +05:00
Awais Ansari
8990035116 feat: add notifications mark as read API (#32475)
* feat: add notifications mark as read API

* chore: update description for mark as read notification URL

* refactor: resolve pylint issue

* refactor: notifications mark as read API and test cases

* feat: add translated messages in notificationsAPI response
2023-06-19 18:47:56 +05:00
SaadYousaf
3eab837c0b feat: add management command to generate notification preferences for course 2023-06-19 16:45:28 +05:00
ayesha waris
d3b1ce176a feat: adds waffle flag for show notifications tray (#32451)
* feat: adds waffle flag for show notifications tray

* refactor: refactored notifications count api code
2023-06-15 14:38:46 +05:00