Commit Graph

170 Commits

Author SHA1 Message Date
Muhammad Adeel Tajamul
b85929e2ee feat: added stats at subsection in topics v3 api (#31763)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2023-02-17 06:51:07 +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
Feanil Patel
57f2ca1a21 fix: Prepare for the bleach 6.0.0 upgrad.
Changelog: https://bleach.readthedocs.io/en/latest/changes.html#version-6-0-0-january-23rd-2023

The major change is that the tags and protocols attributes and related
constants are expected to be sets rather than lists.
2023-02-01 11:46:44 -05:00
0x29a
fd191db332 refactor: rename module (or item) -> block within remaining lms
Also, removed `_iter_scorable_xmodules` method from `lms/djangoapps/grades/transformer.py` file.
2023-01-30 18:15:23 +01:00
Ahtisham Shahid
536fe66362 fix: remove chapters if thre are no sequentials in Topics v3 (#31625) 2023-01-24 13:18:27 +05:00
Arunmozhi
d417a7561f refactor: rename ItemFactory to BlockFactory 2023-01-23 14:47:47 +01:00
Ahtisham Shahid
62f311c041 fix: removed subsections with no units from v3 topics api (#31553)
* fix: removed subsections with no units from v3 topics API

* fix: fixed unit test
2023-01-18 13:52:12 +05:00
Robert Raposa
6c7618fed0 fix: remove flaky test_staff_response test
The test test_staff_response failed and then passed
and subsequent runs with the same code, and is now
considered flaky. It is being removed in accordance with
this flaky test process: https://2u-internal.atlassian.net/wiki/spaces/TE/pages/12812492/Flaky+Test+Process
Note: the Flaky+Test+Process doc should probably be more
public, but simply notes that these tests should be removed
with a ticket to allow the owning team to fix it.

Here is a link to the job where it failed and passed: 
https://github.com/openedx/edx-platform/actions/runs/3752596945/jobs/6375603154
2022-12-21 16:35:12 -05:00
0x29a
0df1411636 refactor: xmodule/course_module.py -> xmodule/course_block.py 2022-12-19 17:48:49 +01:00
Ahtisham Shahid
abfac4912a feat: added archived topics in v3 api (#31443)
* feat: added archived topis in v3 api

* fix: resolved issue with failed test

* fix: updated functions docs

* feat: added test for util function
2022-12-19 16:29:12 +05: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
Mehak Nasir
9efd04b178 fix: full post content is returned for preview (#31426) 2022-12-09 21:10:30 +05:00
SaadYousaf
d71b21156b feat: add forum response event for marking responses as answered or endorsed 2022-12-05 16:35:52 +05:00
Muhammad Adeel Tajamul
7a0010ad0e feat: added topics v3 api (#31330)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-12-05 15:07:21 +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
SaadYousaf
c0631c320e fix: legacy coverage and add missing properties for reported events 2022-11-17 13:03:47 +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
SaadYousaf
6aca8abe87 feat: add event for edited content in discussions 2022-10-03 15:00:03 +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
Ahtisham Shahid
eca87000c4 Created a edx.forum.thread.locked event (#30964)
* feat: added new discussions event edx.forum.thread.locked
2022-09-15 11:18:32 +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
Muhammad Adeel Tajamul
8c13fae0ff feat: backend change for copy post functionality for discussions post (#30941)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-09-12 12:31:57 +05:00
Kshitij Sobti
0be6a7aa93 fix: allow flagging for abuse when filtering comments by user (#30346)
Abuse flagging is always supported, so allow abuse flagging even when no other
actions are available due to the lack of a thread context in the comment api.
2022-09-07 17:30:45 +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
69efe48e09 fix: Made user search function case in-sensitive (#30867) 2022-08-17 13:39:22 +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
Muhammad Adeel Tajamul
525dfa6ef6 fix: author can see close edit reason (#30819)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-08-05 16:38:32 +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
18deaf145f fix: add missing roles to Staff and Community TA lists to address missing Icons on FE 2022-07-20 19:57:43 +05:00
SaadYousaf
1ad3fb4992 fix: add staff permission to privileges check for learner tab 2022-07-20 19:56:39 +05:00
Ahtisham Shahid
a6e35897a1 feat: added logs to assess root cause of error in threads api (#30748)
Co-authored-by: AhtishamShahid <ahtishamshahid@A006-00850.local>
2022-07-20 15:17:28 +05:00
SaadYousaf
800120ce95 fix: sort the user stats to maintain best matched username first 2022-07-18 15:08:24 +05:00