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
Muhammad Adeel Tajamul
d8db64cf2a
feat: hide discussion tab when disabled ( #32195 )
2023-05-16 05:17:06 +05:00
Syed Ali Abbas Zaidi
adf879e8b2
Revert "fix: all auto fixable eslint issues ( #31900 )" ( #32203 )
...
This reverts commit 228180b1ef .
2023-05-09 13:53:54 +05:00
Syed Ali Abbas Zaidi
228180b1ef
fix: all auto fixable eslint issues ( #31900 )
...
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint line around directives issue
* fix: eslint prefer template issue
* fix: eslint semi rule
* fix: eslint newline per chain rule
* fix: eslint space infix ops rule
* fix: eslint space-in-parens issue
* fix: eslint space before function paren issue
* fix: eslint space before blocks issue
* fix: eslint arrow body style issue
* fix: eslint dot-location issue
* fix: eslint quotes issue
* fix: eslint quote props issue
* fix: eslint operator assignment issue
* fix: eslint new line after import issue
* fix: indent issues
* fix: operator assignment issue
2023-05-09 11:57:15 +05:00
Syed Ali Abbas Zaidi
f1fb38ed83
fix: multi lines and spaces issues ( #31885 )
...
* fix: multi lines and spaces issues
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: remaining quotes issues
* fix: eslint object curly newline issue
* fix: eslint object curly spacing issue
* fix: eslint brace-style issues
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint linbreak style issue
* fix: eslint space unary operator issue
* fix: eslint line around directives issue
* fix: void and typeof space unary ops issue
2023-05-03 12:22:46 +05:00
Muhammad Adeel Tajamul
f30277ffc5
fix: label is showing staff for learner when global staff ( #32144 )
2023-04-27 16:11:01 +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
2f036e2df6
feat: added edit_by_label and closed_by_label in threads response ( #32070 )
2023-04-19 19:55:10 +05: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 Abdullah Waheed
90c4ca6e47
Revert "FC-0001: Account pages -> micro-frontend ( #30336 )" ( #31888 )
...
This reverts commit 0f02c7b3d9 .
2023-03-07 17:41:56 -05:00
Sagirov Evgeniy
0f02c7b3d9
FC-0001: Account pages -> micro-frontend ( #30336 )
...
* feat: Account pages. Learner Profile page
* feat: Account pages. Account Settings page
* feat: Account pages. Removed unused styles
* feat: Account pages. Removed unused toggles
* feat: fixed tests and pylint errors
* feat: update redirect to account settings for student_dashboard
* feat: fix pylint errors
2023-03-07 17:41:52 +05:00
Eugene Dyudyunov
c51f0dad00
chore: disable forum digest subscription section by default ( #31459 )
...
Current State of the feature
Initially, this feature used the Notifier Django app but was deprecated
and removed from the configuration in favor of edx-notifications.
More info about this deprecation can be found in the GitHub issue (
https://github.com/openedx/build-test-release-wg/issues/22 ).
The edx-notifications app was not supported though, so its repository
was archived and moved to openedx-unsupported/edx-notifications.
Check the deprecation ticket (https://github.com/openedx/edx-notifications/issues/253 )
and corresponding discussion (https://discuss.openedx.org/t/deprecation-removal-edx-notifications-repository/6748 )
for details.
What remains in the edx-platform
The forum initial page contains the how-to info with the notification
preferences toggle.
This section is responsible for toggling the "notification_pref" user
preference (aka NOTIFICATION_PREF_KEY). I didn't find any usage of this
preference across the platform, so I'm suggesting hiding it by default
by setting the ENABLE_FORUM_DAILY_DIGEST setting to `False`.
2023-03-07 13:28:04 +05:00
Ahtisham Shahid
acbb66a911
feat: added backward compatibility for urls and images in threads ( #31807 )
...
* feat: added backward compatibility for URLs and images in threads
* feat: added unit tests for markdown converter
2023-03-06 11:23:11 +05:00
Syed Ali Abbas Zaidi
5549db4d80
fix: migrate remaining eslint-config-edx ( #31760 )
...
* fix: migrate remaining eslint-config-edx
* refactor: updated eslint rules according to eslint-config-edx-es5
* refactor: add custom rules to suppress unnecessary eslint issues
* refactor: add custom rules to internal eslint configs
* fix: fix all indentation issues
* chore: update lock file
2023-03-02 16:16:50 +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
SaadYousaf
4cc9bfb6cf
fix: update response for marked events for discussion content
2023-02-21 15:39:35 +05:00
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
0x29a
a299046540
refactor: rename module -> block within openedx/core
2023-01-30 18:15:22 +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
Sagirov Eugeniy
02617283a0
test: fix problem with .get_children() in tests for split modulestore
...
* fixed problem with creating some CourseItem with some parent:
we must get the updated parent item before using that parent item
* replaced parent_location with parent argument in ItemFactory due to
error children/parent relation for split modulestore. In all tests with
split modulestore parent argument used
2022-12-21 10:58:43 -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
bszabo
05542a3f52
Merge pull request #31344 from openedx/bszabo/TNL-10136-reapply-course-enrollment-changes
...
feat: TNL-10136 tease course enrollment from student model
2022-12-15 13:17:59 -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
Bernard Szabo
377edc2f4d
feat: TNL-10136 Propagate changes from last PR
2022-12-13 17:19:41 -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
1a0906bc7a
feat: add discussion event coverage for legacy experience.
2022-11-21 14:59:50 +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
Sagirov Eugeniy
8f88422c4a
test: prepare tests for removing support for children in Old Mongo
2022-10-28 11:43:20 -04:00
SaadYousaf
f6870f7ae7
refactor: remove todo to add tracking for reported content email notification
2022-10-28 19:10:58 +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