Commit Graph

61691 Commits

Author SHA1 Message Date
M Umar Khan
91f4585166 build: add doc build check 2022-07-20 15:39:05 +05:00
Usama Sadiq
455521d686 fix: pin charset normalizer version (#30749)
* fix: pin charset-normalizer<2.1.0
* fix: pin markdown<3.4.0 version

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2022-07-20 14:03:40 +05:00
Pooja Kulkarni
145a30a998 Merge pull request #30108 from open-craft/keith/bb_5583_themed_html_templates
feat: add custom html templates for components
2022-07-20 12:41:41 +05:30
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
John Nagro
22b38deb27 feat: release edx-enterprise 3.53.1 (#30745) 2022-07-19 14:41:51 -04: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
Michael Roytman
8de910b970 Merge pull request #30743 from openedx/mroytman/bump-xblock-lti-consumer-4.3.0
feat: Add core LTI 1.3 and LTI Advantage configuration to LTIConfiguration model and support XBlock using the database
2022-07-19 13:12:03 -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
michaelroytman
d2ab45671a feat: Add LTI 1.3 and LTI Advantage config to LtiConfiguration model, support XBlock using database
This commit updates the version of the lti-consumer-xblock from 4.2.2/4.2.1 to 4.3.0. This installs the newest version of the lti-consumer-xblock library. This version includes the following changes.

This version adds additional core LTI 1.3 and LTI Advantage variables to the LtiConfiguration model. The additional core LTI 1.3 variables are lti_1p3_oidc_url, lti_1p3_launch_url, lti_1p3_tool_public_key, and lti_1p3_tool_keyset_url. The additional LTI Advantage variables are lti_advantage_enable_nrps, lti_advantage_deep_linking_enabled, lti_advantage_deep_linking_launch_url, and lti_advantage_ags_mode.

This commit also adds a configuration type to the LtiConsumerXBlock to support the storage of these Lti variables on the LTIConfiguration model (i.e. the database) instead of the XBlock itself.

Changes that allow the use of this configuration option are behind the lti_consumer.enable_database_config CourseWaffleFlag.
2022-07-19 10:42:48 -04:00
irfanuddinahmad
9285a7f9de Merge pull request #30737 from openedx/iahmad/ENT-6022
chore: upgraded edx-enterprise version
2022-07-18 20:38:34 +05:00
irfanuddinahmad
1c64ef96b8 chore: upgraded edx-enterprise version 2022-07-18 19:52:10 +05:00
SaadYousaf
800120ce95 fix: sort the user stats to maintain best matched username first 2022-07-18 15:08:24 +05:00
edx-semantic-release
ef6cb318bf chore(i18n): update translations 2022-07-17 16:59:44 -04: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
Alexander J Sheehan
0b28141b9e fix: sso api validator fix (#30732) 2022-07-15 10:51:38 -04: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
connorhaugh
15b7564a73 feat: add mgmt command to track active_versions (#30730)
In order to gain more information about ongoing questions related to the potentially out-of-sync nature of the SQL and MongoDb tables in Split Modulestore, I have created the management command to list all courses with out-of-sync active_versions and course_index entires.

This should have no direct impact on anyone, nor alter anything.

part of an on-going investigation to figure out 500 errors in studio.
2022-07-14 16:00:07 -04: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
Zaman Afzal
506c47a74c chore: bump learner pathway progress version (#30726) 2022-07-14 16:41:23 +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
Jansen Kantor
143ea1dbbc fix: use peer assessment as default ora template (#30705)
* fix: use peer assessment as default ora template

* chore: bump ora

* test: update test after ORA update
2022-07-13 10:21:42 -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
Justin Hynes
519bd18571 Merge pull request #30714 from openedx/jhynes/microba-1806_cad-removal-mgmt-cmd
feat: add management command to clean stale certificate availability dates
2022-07-12 07:48:10 -04:00
Justin Hynes
26ae8b4bcd feat: add management command to clean stale certificate availability dates
[MICROBA-1806]

We are aware of product issue where it is possible for a self-paced course-run to get have a `certificate_availability_date` created in the course settings. This can have an adverse effect on the Credentials IDA where a learner's Program Record does not correctly display the course certificates they have earned because of this data. This not only causes confusion for our learners, as it appears that a course certificate a learner can access and share in the LMS is displayed as unearned in the Credential's program record, but this can also cause issues when a learner attempts to share their program record through a credit pathway and the program record would not accurately reflect their program completion.

Unfortunately, the settings that manage the certificate availability date are hidden for self-paced courses in Studio (as they should only be used in instructor-paced courses).

For this reason, we are introducing a management command that will remove a certificate available date for a specified (self-paced) course-run. This will allow us to fix issues for individual learners while we work on a longer-term fix for the larger issue.

* Add new `clean_stale_certificate_available_dates` management command
* Add new `CleanStaleCertificateAvailabilityDates` Configuration Model
* Add tests for the new management command
* (Unrelated cleanup) Fix potential issue with private.py settings in the CMS being overwritten in devstack.py for developers using devstack.
2022-07-11 13:13:27 -04:00
Feanil Patel
9e08c5e3d2 Merge pull request #30718 from openedx/feanil/update_slack_link
fix: Update the slack invite link.
2022-07-11 12:29:07 -04:00
Feanil Patel
1f0cb258ef fix: Update the slack invite link.
Point to the openedx.org shortcut which we can update as needed.
2022-07-11 10:55:36 -04:00
edx-semantic-release
c4ac9a7ed1 chore(i18n): update translations 2022-07-10 16:59:55 -04:00
Felipe Montoya
0bb4577795 Merge pull request #30473 from eduNEXT/mfmz/mfe-config-api
feat: add mfe config api
2022-07-08 18:04:26 +03: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
David Ormsbee
915ddb98d7 fix: update LTI XBlock to fix DarkLangMiddleware issue 2022-07-07 12:42:35 -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
John Nagro
efa979a13d temp: guard against resume button failures in dropdown template (#30703) 2022-07-06 13:05:14 -04:00