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
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
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
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
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
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
SaadYousaf
bef05ab664
feat: add tracking event for following post
2023-10-14 02:00:34 +05: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
Muhammad Adeel Tajamul
3aeaec35d9
feat: added notifications in legacy discussion experience ( #33280 )
2023-09-21 08:04:02 +05:00
Muhammad Adeel Tajamul
8ed6756809
fix: fixed unregistered task in new thread notification ( #33223 )
2023-09-12 14:02:31 +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
Ahtisham Shahid
7e23feeb33
fix: update discussions blackout dates logic to use discussions confi… ( #32896 )
2023-08-04 18:02:26 +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
ayesha waris
abac77e106
feat: adds ability to disable posting in discussions indefinitely ( #32171 )
...
* feat: adds ability to disable posting in discussions indefinitely
* test: fixed ffailing test cases
* test: added new model field in test cases
* refactor: removes unnecessary migrations
* refactor: removed previous migrations and adds new field in discussions api
* refactor: added docstring and changed method name
---------
Co-authored-by: ayesha waris <73840786+ayeshoali@users.noreply.github.com >
2023-05-23 15:08:06 +05:00
Pooja Kulkarni
702e14a28a
refactor: rename descriptor -> block within remaining lms
...
Co-authored-by: Agrendalath <piotr@surowiec.it >
2023-04-26 17:10:54 +02:00
Muhammad Adeel Tajamul
7f769b4755
feat: added reverse_order option in comments sort ( #31906 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2023-03-10 19:01:01 +05:00
SaadYousaf
32e792d1f4
feat: add differentiation for tracking in-context and mfe events
2023-03-09 07:32:00 +05:00
Muhammad Adeel Tajamul
16842ec51a
fix: remove empty topics for topics v2 as v1 ( #31803 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2023-02-21 20:26:01 +05:00
Muhammad Adeel Tajamul
9f7bba85fc
feat: added reverse_order param in comments sort ( #31667 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2023-02-13 12:58:13 +05:00
0x29a
0df1411636
refactor: xmodule/course_module.py -> xmodule/course_block.py
2022-12-19 17:48:49 +01:00
Muhammad Adeel Tajamul
e04d53a9a1
feat: added support for new topics for mobile ( #31441 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2022-12-14 13:21:31 +05:00
ayesha waris
ecc9a7c3e3
Merge pull request #31336 from openedx/INF-628
...
fix: course_staff and course_admin added in get_course api
2022-12-01 16:35:13 +05:00
Mehak Nasir
8be2b7355b
fix: thread will only be returned for matching course ID ( #31340 )
2022-12-01 16:17:19 +05:00
ayeshoali
1363fcb501
fix: test cases fixed
2022-12-01 14:36:57 +05:00
ayeshoali
67bbf46920
fix: course_staff and course_admin added in get_course api
2022-12-01 14:33:54 +05:00
SaadYousaf
1cb1e2f61d
fix: add fix for search event for learner search in discussions
2022-11-21 14:29:14 +05:00
Mehak Nasir
b6ee28310e
feat: added not responded filter for fetch thread list api ( #31275 )
2022-11-11 14:56:01 +05:00
Muhammad Adeel Tajamul
06ac5ed4b0
feat: added sort by recent activity for activity stats api ( #31252 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2022-11-07 11:15:01 +05:00
Muhammad Adeel Tajamul
1a25a5d3fd
feat: added post filters in learners tab api ( #31191 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2022-11-03 16:53:50 +05:00
SaadYousaf
17df3d4e17
feat: add discussion reported and unreported events
2022-11-01 15:57:13 +05:00
SaadYousaf
c79c41e0a3
fix: filter out discussion topics that have not started yet for instructor paced courses
2022-10-13 23:15:46 +05:00
Ahtisham Shahid
c2696c07fc
fix: updated topic sorting for discussions MFE ( #31124 )
...
* fix: updated topic sorting for discussions MFE
* feat: updated topic sorting test case
2022-10-13 15:09:19 +05:00
Demid
062a760242
feat: add "count_flagged" query param to the learner thread endpoint ( #31048 )
2022-10-12 16:41:06 +05:00
Saad Yousaf
3423feb4fd
Revert "fix: filter out discussion topics that have not started yet."
...
This reverts commit 54b5d59fc3 .
2022-10-08 14:58:14 +05:00
SaadYousaf
54b5d59fc3
fix: filter out discussion topics that have not started yet.
2022-10-07 15:17:12 +05:00
AsadAzam
23972e7f94
fix: merge discussions rollout flags ( #30989 )
...
* fix: merge discussions rollout flags
* test: fixed tests
* test: fixed tests
2022-09-21 14:28:33 +05:00
SaadYousaf
85a8b39735
feat: add event for content deletion for discussions
2022-09-21 13:20:58 +05:00
Muhammad Adeel Tajamul
1259c0e7a5
fix: sort order will not be alphabetical ( #30990 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2022-09-19 12:24:46 +05:00
SaadYousaf
b8e466b55c
fix: update editable action item for different discussion and course roles
2022-09-19 11:51:24 +05:00
Kshitij Sobti
6ebc9b3888
feat: Track additional discussion context for better deletion handling ( #30140 )
...
Tracks a discussion topics' section and subsection in a new context field so that we have access to that information when the topic's section/subsection/unit has been deleted. This is then used when a topic is deleted to append the section and subsection name to the topic title.
ADR: https://github.com/openedx/edx-platform/pull/29928
2022-09-13 16:01:25 +05:00
Ahtisham Shahid
4541750eec
feat: added tracking event on learner search ( #30945 )
2022-09-07 14:50:00 +05:00
Saad Yousaf
fb716a76d9
fix: allow discussion moderators to unreport their content ( #30938 )
...
Co-authored-by: SaadYousaf <saadyousaf@A006-00314.local >
2022-09-05 18:39:46 +05:00
SaadYousaf
495d1cc86c
fix: add is_group_ta and has_moderations_privileges to course settings API
2022-08-24 12:04:27 +05:00
Ahtisham Shahid
dcb01d107f
fix: Temporary fix for learners stats api performance issue ( #30847 )
...
* fix: Temporary fix for learners' stats API performance issue
* fix: resolved linter errors
* fix: learners stats API response is now null
* fix: changed waffle dates
* fix: resolved unit test issue
2022-08-12 17:24:22 +05:00
SaadYousaf
257a7f38d3
feat: enable moderators to unreport content for discussion api
2022-07-27 19:30:52 +05:00
Ahtisham Shahid
43de567018
fix: resolved issue when user profile does not exist ( #30760 )
...
fix: resolved issue when user profile does not exist
2022-07-22 14:38:25 +05:00
SaadYousaf
1ad3fb4992
fix: add staff permission to privileges check for learner tab
2022-07-20 19:56:39 +05:00