Commit Graph

238 Commits

Author SHA1 Message Date
jawad khan
a84ad87f4b fix: Adjusted discussion notification context for mobile (#36304)
* fix: Adjusted discussion notification context for mobile
2025-03-03 10:44:47 +05:00
Usama Sadiq
b6828cecaa fix: enable pylint warnings (#36195)
* fix: enable pylint warnings
2025-01-30 17:15:33 +05:00
jawad khan
76cceaa298 feat: Populate notification context with post, comment and response ids (#36008)
* feat: Populate notification context with post, comment and response ids
2024-12-20 15:23:47 +05:00
Régis Behmo
065adf398e feat: reapply forum v2 changes (#36002)
* feat: Reapply "Integrate Forum V2 into edx-platform"

This reverts commit 818aa343a2.

* feat: make it possible to globally disable forum v2 with setting

We introduce a setting that allows us to bypass any course waffle flag
check. The advantage of such a setting is that we don't need to find the
course ID: in some cases, we might not have access to the course ID, and
we need to look for it... in forum v2.

See discussion here: https://github.com/openedx/forum/issues/137

* chore: bump openedx-forum to 0.1.5

This should fix an issue with index creation on edX.org.
2024-12-12 12:18:33 +05:00
Diana Huang
818aa343a2 Revert "feat: Integrate Forum V2 into edx-platform"
This reverts commit 70b60ff256.
2024-12-06 11:19:06 -05:00
Muhammad Faraz Maqsood
70b60ff256 feat: Integrate Forum V2 into edx-platform
This commit introduces the new Forum V2 application, allowing users to choose between the legacy Forum V1 and the new Forum V2 at the course level.

Key Changes:
- Added waffle flag `discussions.enable_forum_v2` to enable Forum V2 for selected courses, allowing coexistence with Forum V1.
- Default data storage for Forum V2 is set to MongoDB, with an option to switch to MySQL using the waffle flag `forum_v2.enable_mysql_backend`.
- Introduced management command `forum_migrate_course_from_mongodb_to_mysql` for per-course data migration from MongoDB to MySQL.

Note: This PR does not include all unit tests for the Forum V2 native API due to ongoing migration efforts. Further updates will follow to ensure full test coverage before final release.

Co-authored-by: [Muhammad Faraz Maqsood] <faraz.maqsood@arbisoft.com>
Co-authored-by: [Ali Salman] <ali.salman@arbisoft.com>
2024-12-03 11:00:51 -05:00
Ahtisham Shahid
0b3d05dda6 chore: removed new comment notification grouping (#35920) 2024-11-27 18:28:07 +05:00
Ahtisham Shahid
4d23866ae4 feat: added grouping for new post notification (#35761) 2024-11-11 16:37:32 +05:00
Muhammad Adeel Tajamul
d72e87d3f3 feat: removed extra spaces from start and end of content (#35647) 2024-10-16 13:58:40 +05:00
Muhammad Adeel Tajamul
7cf12d861c chore: removed style from email digest content (#35592) 2024-10-09 13:56:58 +05:00
Muhammad Adeel Tajamul
38cddab293 feat: added notification grouping (#35368)
Co-authored-by: Ahtisham Shahid <ahtisham300@gmail.com>
2024-10-02 13:35:30 +05:00
Muhammad Adeel Tajamul
87771e76ce feat: replaced button and heading tags in email digest content (#35518) 2024-09-23 13:37:54 +05:00
Muhammad Adeel Tajamul
ec76baf15f feat: added additional content in endorsed notification (#35425) 2024-09-06 08:18:09 +05:00
Ahtisham Shahid
66f3a0803c feat: added email content in misc notifications (#35341) 2024-08-26 13:13:47 +05:00
Eemaan Amir
ca46c20abb fix: update content reported notification (#35315) 2024-08-16 14:20:33 +05:00
Eemaan Amir
152b678e62 feat: save author pronoun separately for notification to prevent info loss (#35234)
* feat: save author pronoun separately for notification to prevent info loss

* fix: missing pronoun in comment on followed post

* test: updated tests for new comment notifications
2024-08-12 12:04:20 +05:00
Eemaan Amir
b438349795 fix: rephrasing and removing bugs from response endorsed notifications (#35136)
* fix: rephrasing and removing bugs from response endorsed notifications

* test: updated test for response endorsed notifications
2024-07-19 15:56:05 +05:00
Ahtisham Shahid
15e2834825 chore: removed obsolete feature flags (#34942) 2024-06-27 13:58:54 +05:00
ayesha waris
3bc03b33ac fix: fixed permissions for voted (#34993)
* fix: fixed permissions for voted

* fix: fixed test cases
2024-06-26 15:55:48 +05:00
Irtaza Akram
f7229e0aad chore: replace bleach with nh3 2024-05-28 13:02:16 +05:00
Ahtisham Shahid
cb14a9261a feat: added new v2 for course config api (#34804) 2024-05-23 14:46:44 +05:00
Ahtisham Shahid
d3ffb3e882 fix: get topics for blocks with discussions enabled (#34732) 2024-05-13 16:50:37 +05:00
Ahtisham Shahid
5b1d52d811 fix: endorsed post notification audiance updated (#34513) 2024-04-22 13:09:04 +05:00
Ahtisham Shahid
09cb944801 fix: removed cohorts filter from reported notifications (#34369) 2024-03-21 15:44:49 +05:00
ayesha waris
c913a55b17 feat: updated api to get all question type reponses (#34215)
* feat: updated api to get all question type reponses

* test: fixed and added new test cases
2024-02-29 11:58:07 +05:00
sundasnoreen12
1748d96544 fix: added table tags in allowed tags 2024-02-22 23:53:39 +05:00
ayesha waris
fc86b431af feat: modified author labels to add moderator (#34239)
Co-authored-by: sohailfatima <23100065@lums.edu.pk>
2024-02-15 20:43:30 +05:00
salmannawaz
57b480b04f Update all edx-platform REST endpoints to support JWT Auth (#34152)
* chore: update API endpoints to support default JWT auth

The default DRF Auth classes were recently updated to allow for both JWT and Session auth by default. Any endpoint that overrides the AUTHENTICATION_CLASSES but has just session, just JWT or just both of those should be updated to remove the override.

Details in https://github.com/openedx/edx-platform/issues/33662
2024-02-13 10:46:58 -05:00
Muhammad Adeel Tajamul
b28db57d88 feat: allow staff and admin to pin posts (#34169) 2024-02-12 14:28:11 +05:00
ayesha waris
9f136a4149 feat: added notifications when response is endorsed or answered (#34082)
* feat: added notification when response is endorsed or answered

* test: added and fixed test cases

* fix: fixed lint errors

* refactor: changed method name for readibility

* feat: added notification when my response is endorsed

* test: fixed failed test cases
2024-02-01 13:33:16 +05:00
Ahtisham Shahid
039583f88f feat: added reported notification type (#34067) 2024-01-30 12:07:49 +05:00
Saad Yousaf
928e810b33 Revert "temp: add temporary logs for course wide notifications" 2024-01-29 12:42:39 +05:00
ayesha waris
53270f17b3 chore: removed and merged multiple flags into enable_discussions_mfe flag (#33983) 2024-01-12 15:07:00 +05:00
Muhammad Adeel Tajamul
e3b122b7af fix: legacy reported content will send email based on discussion settings (#34006) 2024-01-11 16:55:42 +05:00
SaadYousaf
8a9e19ad8f temp: add temporary logs for course wide notifications 2023-12-29 16:53:39 +05:00
Muhammad Adeel Tajamul
30c029f119 feat: added comment_endorsed, thread_followed and thread_unfollowed signals in mfe api (#33944) 2023-12-29 11:29:31 +05:00
SaadYousaf
2d353f5594 feat: move new forum content creation notifications to use course wide notification event 2023-12-20 14:25:00 +05:00
Ahtisham Shahid
2495120d89 chore: removed enable_moderation_reason_codes flag from discussion app (#33822)
* chore: removed enable_moderation_reason_codes flag from discussion app
2023-12-06 11:05:56 +05:00
KyryloKireiev
da9266e31d refactor: [FC-0031] Move get_profile_image method to api 2023-11-14 21:45:18 +02:00
KyryloKireiev
ae3830b023 feat: [AXIM-20] Add profile_image to API CommentViewSet 2023-11-14 21:45:18 +02:00
Muhammad Adeel Tajamul
bee0a98613 feat: added new thread notifications behind new course wide waffle flag (#33602) 2023-11-07 11:47:43 +05:00
Muhammad Adeel Tajamul
07ae24aaab feat: added sender_id to notification generated events (#33544) 2023-10-24 11:09:00 +05:00
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
SaadYousaf
bef05ab664 feat: add tracking event for following post 2023-10-14 02:00:34 +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
3aeaec35d9 feat: added notifications in legacy discussion experience (#33280) 2023-09-21 08:04:02 +05:00
Dmytro
20efcdc94c fix: User retirement 404 for state RETIRING_FORUMS (#33024) 2023-09-18 13:44:53 +05:00
Muhammad Adeel Tajamul
8ed6756809 fix: fixed unregistered task in new thread notification (#33223) 2023-09-12 14:02:31 +05:00