Commit Graph

23955 Commits

Author SHA1 Message Date
muhammad-ammar
a5aeb7034f temp: disable outcome surveys events 2022-07-22 16:48:09 +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
Jansen Kantor
b4d25f1dd8 temp: increase grading task rate limit (#30766)
* temp: increase grading task rate limit

* fixup! temp: increase grading task rate limit
2022-07-21 17:20:23 -04:00
Muhammad Soban Javed
4463ee751d Revert "refactor: move common/lib/capa/capa to xmodule/capa" (#30762) 2022-07-21 18:22:15 +05:00
Muhammad Soban Javed
06064b237b Merge pull request #30403 from openedx/iamsobanjaved/BOM-2582-move-common-lib-capa
refactor: move common/lib/capa/capa to xmodule/capa
2022-07-21 16:27:47 +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
Mubbshar Anwar
a9e348cb43 fix: List index out of range (#30751)
- Current course run list index out of range.

VAN-1019
2022-07-20 17:12:54 +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
Keith Grootboom
ed81774569 feat: added new setting CUSTOM_RESOURCE_TEMPLATES_DIRECTORY
This setting allows loading of Resource Templates from outside the
edx-platform codebase.

Operators will be able to add their own custom resource templates
without needing to fork the codebase.
2022-07-20 08:44:34 +02:00
connorhaugh
45c2858d61 Revert "feat: FC-0001 Remove Persistent Course Grades Flags (#30540)" (#30744)
This reverts commit 4a9243ef9f.
2022-07-19 13:45:31 -04:00
Sagirov Evgeniy
4a9243ef9f feat: FC-0001 Remove Persistent Course Grades Flags (#30540)
* feat: revert Fix certificate generation without persistent grades

* feat: Remove Persistent Course Grades Flags

* test: update tests
2022-07-19 11:30:37 -04:00
Soban Javed
9eba9f983a refactor!: move common/lib/capa/capa to xmodule/capa
As part of dissolving our sub-projects in edx-platform, we are moving this package under the xmodule directory.
We have fixed all the occurences of import of this package and also fixed all documents related references.
This might break your platform if you have any reference of `import capa` or `from capa import` in your codebase or in any Xblock.

Ref: https://openedx.atlassian.net/browse/BOM-2582
2022-07-19 12:20:04 +05:00
SaadYousaf
800120ce95 fix: sort the user stats to maintain best matched username first 2022-07-18 15:08:24 +05:00
Maria Grimaldi
7f25323059 Merge pull request #30048 from eduNEXT/jct/fix-overcounting-allowed-students
fix: Avoid overcounting former pending users who changed their emails.
2022-07-15 11:55:11 -04:00
Javier
6bad34d3e0 fix: Avoid overcounting former pending users who changed their emails. 2022-07-15 08:28:43 -07:00
Kyle McCormick
36e5bd6b35 fix: delete ORA staff grader postman collection (#30704)
This file was originally checked into
edx-platform so that other developers
could import it into Postman (https://postman.com)
in order to easily query the ORA staff grader API.

Unfortunately, it is very large (1.3 MB). This:
* slows down edx-platform shallow cloning,
* increases the minimum edx-platform image size,
* adds noise when text-searching the repo, and
* sets a precedent for other developers to
  check similar files into this repo.
This cost is not justifiable
for a closed-source 3rd-party developer tool.
2022-07-15 10:50:53 -04:00
Muhammad Ammar
5ca028d3d6 Merge pull request #30686 from openedx/ammar/send-followup-segment-events-for-passed-learners
feat: Schedule a follow up segment event for first time passed learners
2022-07-15 16:13:11 +05:00
Mehak Nasir
341c058223 style: bootstrap tooltip added to fix text visibility issue (#30731) 2022-07-15 15:58:07 +05:00
muhammad-ammar
3f294eca1e feat: fire follow up event for first time passed learners 2022-07-15 15:54:29 +05:00
Syed Muhammad Dawoud Sheraz Ali
6dde81dec8 feat: add order number information in support enrollment view (#30700)
* feat: add order number information in support enrollment view

* test: quality fixes
2022-07-14 22:36:24 +05:00
Zaman Afzal
263f3a42e2 refactor: Update pathways progress when course is passed for first time (#30728) 2022-07-14 21:30:58 +05:00
Mehak Nasir
d639c055d1 style: changes to banner design (#30710)
style: tooltip added for switch legacy

fix: add feedback button added in legacy view and text improved
2022-07-14 16:25:22 +05:00
Zaman Afzal
5587d1b08e fix: Add Learner pathway progress update signal (#30722) 2022-07-14 10:28:48 +05:00
Nathan Sprenkle
71fabb7f87 feat: add remaining learner dash serializers (#30707)
* feat: add UnfulfilledEntitlementSerializer

* feat: add SuggestedCoursesSerializer

* feat: add new enrollment serializer fields

* test: new enrollment serializer fields

* feat: add new entitlement serializer fields

* feat: add EmailConfirmationSerializer

* feat: add EnterpriseDashboardsSerializer

* fix: update learner view with new serializers

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-07-13 15:46:49 -04:00
Nathan Sprenkle
e1c8fb51be feat: add text response type to ora config (#30721)
For staff grader setup, we want to know the response type to do better
rendering of the response. This derives from ORA's text_response_editor
setting and is either "text" (default) or "tinymce".

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-07-12 15:44:24 -04:00
edx-semantic-release
c4ac9a7ed1 chore(i18n): update translations 2022-07-10 16:59:55 -04:00
Maria Fernanda Magallanes Zubillaga
f2488b10a6 feat: make it compatible with django settings 2022-07-08 01:56:15 -04:00
Maria Fernanda Magallanes Zubillaga
d6a30882d1 docs: add the ADR 2022-07-08 00:05:10 -04:00
Maria Fernanda Magallanes Zubillaga
f6f66d0f39 refactor!: change the api naming and url 2022-07-08 00:05:10 -04:00
Maria Fernanda Magallanes Zubillaga
547ceaad8a docs: update test docs 2022-07-07 23:58:45 -04:00
Maria Fernanda Magallanes Zubillaga
39dec5740f fix: correct pep8 violations 2022-07-07 23:58:45 -04:00
Maria Fernanda Magallanes Zubillaga
7f47cd1b8a test: add more unit tests 2022-07-07 23:58:44 -04:00
Maria Fernanda Magallanes Zubillaga
60e6de05fc refactor: set ENABLE_MFE_API as a top level setting 2022-07-07 23:58:42 -04:00
Maria Fernanda Magallanes Zubillaga
05b602f7dd refactor: remove unnecessary config 2022-07-07 23:57:43 -04:00
María Fernanda Magallanes Z
9069ce9950 fix: get merged response from mfe_config and mfe_config_mymfe 2022-07-07 23:57:42 -04:00
María Fernanda Magallanes Z
7f5eb296a3 feat: add mfe_api v1
This PR adds MFE API. This is part of the work that is being done to obtain the MFE Runtime Configurations and that has been discussed in the BTR WG.

Discussion: https://discuss.openedx.org/t/how-to-use-microfrontend-in-a-multitenant-instance/6936/14?u=mafermazu
MFE Runtime configuration - eduNEXT: https://docs.google.com/document/d/1-FHIQmyeQZu3311x8eYUNMru4JX7Yb3UlqjmJxvM8do/edit?usp=sharing

feat: add lms setting to set mfe config cache (#262)

Co-authored-by: María Fernanda Magallanes Z <maria.magallanes@edunext.co>

feat: make mfe config api disabled by default (#263)

* feat: make mfe config api disabled by default

* fix: simple is better than complex

test: add mfe config tests (#264)

* test: add mfe config tests

* test: fix it and simplify it

* test: correct pylint issues

fix: correct pep 8 violations

fix: add mfe api unit test in github workflow

fix: correct unit tests

refactor: move mfe api to lms

fix: try mfe api urls without regex

fix: add app_namespace in lms urls

fix: try url without conditional

Revert "fix: try url without conditional"

This reverts commit 694aab546134b4bd9ad2642e24927b42cac24459.

fix: set enable_mfe_config_api feature to true in the tests

test: try to add failed test case

Revert "test: try to add failed test case"

This reverts commit cee6bf656ab1b96492b0b6199ddff32a6d6a65bd.

docs: improve explanation and documentation

fix: ensure the response is a json object

refactor: be consistent with the variable names

fix: allow overriding mfe api config cache timeout in production

fix: handle 404 response in view

refactor: use a guard instead if-else

feat: add the possibility to show mfe specific config
2022-07-07 23:57:36 -04:00
Mubbshar Anwar
a084d5d892 fix: update response (#30712)
- add course_run_key in API response
- remove course_key from API response

VAN-986
2022-07-07 21:17:25 +05:00
Ahtisham Shahid
03e4f03f42 fix: resolved disucssions banner permissions issue (#30708)
Co-authored-by: AhtishamShahid <ahtishamshahid@A006-00850.local>
2022-07-07 12:56:14 +05:00
Sagirov Evgeniy
dccb463103 FC-0001: Remove edx-jsme, Molecular Structure Problem type (#30321)
* feat: Remove edx-jsme, Molecular Structure Problem type

* feat: remove common/static/js/capa/jsme and common/static/js/capa/jsmolcalc
2022-07-06 15:51:58 -04:00
Zainab Amir
9a21d1448a feat: fix authentication classes for recommendation view (#30699)
- Updated classes to allow inactive users to access the view
- In case of any error show general recommendations
2022-07-06 17:32:20 +05:00
Muhammad Adeel Tajamul
7a1d263477 fix: added edit reason codes (#30698)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-07-06 11:06:42 +05:00
Nathan Sprenkle
15a38bc7f1 feat: partial initial view/API for learner dashboard (#30653)
* fix: remove unused feedback email

* refactor: rename learner views

Rename course to learner and seed initial response shape

* feat: add first sample views and APIs

* refactor: add route namespace for learner dash

* test: add learner dashboard views test

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-07-05 14:08:00 -04:00
Nathan Sprenkle
9d54fda8e8 feat: learner dash enrollment serializers (#30674)
* feat: add CourseProviderSerializer

* feat: add CourseSerializer

* feat: add CourseRunSerializer

* feat: add EnrollmentSerializer

* feat: add GradeDataSerializer

* feat: add CertificateSerializer

* feat: add EntitlementSerializer

* feat: add ProgramsSerializer

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-07-05 11:12:12 -04:00
Attiya Ishaque
9d1f31603e feat: [VAN-986] Add amplitude API (#30675)
* feat: [VAN-986] Add amplitude API

* feat: add suggestion

* feat: add spinner

Co-authored-by: Zainab Amir <zainab.amir@arbisoft.com>
2022-07-05 16:23:38 +05:00
edx-semantic-release
4d6df67a02 chore(i18n): update translations 2022-07-03 16:59:53 -04:00
Shafqat Farhan
7a05329594 feat: VAN-987 - Added analytics event on recommendation course click 2022-07-01 11:52:08 +05:00
Zainab Amir
ef9361ccfe feat: add recommendation panel
- added a waffle flag to control recommendation panel
- add react code for the panel

VAN-984
2022-07-01 11:52:08 +05:00
0x29a
cf1a7c616a refactor: remove error_descriptor_class and NonStaffErrorBlock
It's safe to remove this because non-staff [1] users cannot access [2]
an `ErrorBlock`. We were able to reproduce this with and without this commit
with the following results:
1. Staff users were seeing the `ErrorBlock`.
2. Non-staff users were getting an empty `<div class="vert-mod"></div>`.

In theory, error blocks should be hidden in the Learning MFE because of this
option [3]. However, when we manually set `hide_access_error_blocks` to
`False`, we kept getting identical results (with and without this commit), so
it looks that the removal `NonStaffErrorBlock` was just omitted at some point.

[1] a4ec4c1b8e/lms/djangoapps/courseware/access.py (L419-L436)
[2] a4ec4c1b8e/lms/djangoapps/courseware/access.py (L150-L151)
[3] 92ca176fde/lms/djangoapps/courseware/views/views.py (L1547-L1551)
2022-06-30 15:53:39 +02:00
SaadYousaf
28a8e618ac feat: add partial username search for course discussion user stats 2022-06-30 17:37:03 +05:00