Commit Graph

59222 Commits

Author SHA1 Message Date
Michael Roytman
09b350bc2f Merge pull request #28041 from edx/revert-28030-mroytman/MST-761-bump-edx-proctoring-3.17.0
Revert "feat: Upgrade edx-proctoring Library to Version 3.17.0"
2021-06-25 13:56:56 -04:00
Michael Roytman
96c81292a4 Revert "feat: Upgrade edx-proctoring Library to Version 3.17.0 (#28030)"
This reverts commit e286e1ce28.
2021-06-25 13:19:40 -04:00
Christie Rice
e9fd9cb2a7 test: Remove flaky test test_get_all_assets_with_paging (#28037)
CR-3817
2021-06-25 12:46:43 -04:00
Kyle McCormick
78f1e2b3bd feat: add & expose courseware.use_learning_sequences_api flag (#27993)
Add a Waffle Flag. When enabled, the courseware pages of the
Learning MFE should use the Learning Sequences HTTP API instead
of the Course Blocks HTTP API in order to load course structure
data. We expect that this switchover will lead to performance
improvements and a more comprehensible system.

(We are putting the switchover behind a temporary flag in order to
enable debugging, incremental rollout, and comparison testing.)

The flag is exposed to the MFE via the Course API.
As of this commit, the new flag is not enabled in any environment,
and the MFE does not have any code to act on the flag's value.
So, this commit on its own should have no production impact.

TNL-8330
2021-06-25 11:19:28 -04:00
Michael Roytman
e286e1ce28 feat: Upgrade edx-proctoring Library to Version 3.17.0 (#28030)
This pull request upgrade the version of the edx-proctoring library from 3.14.0 to 3.17.0.

This includes the following changes.

GET and POST endpoints are added for to bulk get and bulk create allowances.
A bug in the exam attempt API where total time allowed for the exam would not include allowance time is fixed.
Internal logic for determing learners' onboarding statuses for the course onboarding API is replaced with a provider onboarding API.
2021-06-25 14:54:56 +00:00
Christie Rice
69580aa592 feat!: Read from the allowlist model, instead of from the whitelist model. Only write to the allowlist model. (#27974)
MICROBA-982
2021-06-25 09:47:32 -04:00
edX requirements bot
44e8ea4e0b chore: Updating Python Requirements (#28024) 2021-06-25 12:46:49 +05:00
Julia Eskew
a1914f6d31 fix: When running the task-creating task which regenerates all course outlines,
continue instead of returning when an unsupported course key is encountered.
2021-06-24 17:28:58 -04:00
Dillon Dumesnil
a45dbdbbcf Merge pull request #28009 from edx/ddumesnil/special-exam-completeness-aa-869
feat: AA-869: Add in logic to mark special exams as complete
2021-06-24 12:47:05 -07:00
Dillon Dumesnil
61358b230e feat: AA-869: Add in logic to mark special exams as complete
This is technically a revert of a revert that also includes some new
logic. The original PR was https://github.com/edx/edx-platform/pull/27770
and the revert PR was https://github.com/edx/edx-platform/pull/27973.

The new logic is to mock a request and create a module with user state
taken into account. We also put this into a celery task to help avoid
any potential concerns with recursing through children.
2021-06-24 12:06:11 -07:00
edX cache uploader bot
e0a04c6b48 Updating Bokchoy testing database cache (#28027) 2021-06-24 22:32:15 +05:00
Julia Eskew
a9b534e10b fix: Use a "through" model for the ManyToManyField fields in CourseSection
and CourseSectionSequence to ensure that cascading deletes will occur to delete
the relation upon deletion of a foreign-keyed object.

This commit is phase 1 of 3 in order to ensure a smooth deploy. The phases:
1) Add separate through models for user partition groups, add fields to point to the
   separate models, and start writing to those fields as well.
2) After all models have been re-generated, switch code over to use separate through
   model fields backed by the separate through models.
3) After phase 2 is deployed smoothly, remove the original ManyToManyField fields
   and rename the new fields to have the same name as the old fields.
2021-06-24 12:17:54 -04:00
Thomas Tracy
346ec161fe [refactor] Ttracy/MICROBA-1297: ID verify messaging updates on dashboard (#28012)
* [refactor] Reword dashboard verify ID message

Small change to reword ID verification messaging on the course dashboard
and remove one of the buttons.

* set coloring of warning message

* follow patter for theme font colors
2021-06-24 10:32:50 -04:00
Kshitij Sobti
b083ad13d6 refactor: Move CourseEditLTIFieldsEnabledFlag to xblock-lti-consumer (#27529) 2021-06-24 14:31:50 +05:00
edX cache uploader bot
94b97c1f8f Updating Bokchoy testing database cache (#28010) 2021-06-24 12:18:48 +05:00
Kshitij Sobti
2e416234bc docs: ADR for new course apps API [BD-38] [TNL-8002] [BB-3964] (#27193)
* docs: ADR for new course apps API

This ADR proposes a new course apps API that is driven by a new coruse app
plugin type.

* Updated based on feedback

* Major changes to document structure

* Review feedback
2021-06-24 11:25:14 +05:00
Diana Huang
29548459fa refactor: Remove PyContracts usage. (#27887)
* refactor: Remove PyContracts usage.

We have not used PyContracts in a while and it is overhead we don't
need in edx-platform.

https://openedx.atlassian.net/browse/DEPR-147

* chore: Updating Python Requirements (#28018)

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2021-06-23 18:24:06 -04:00
edX Transifex Bot
a775d5cebc geoip2: update maxmind geolite country database 2021-06-24 02:17:58 +05:00
Diana Huang
ad0555267f fix: Pin lti-consumer-xblock version. (#28014)
There are issues in lti-consumer-xblock version 2.11.0 that
we cannot merge into edx-platform. This pins to a previous
version until the issues are resolved.
2021-06-23 17:00:41 -04:00
Carla Duarte
c708322f2b Merge pull request #28008 from edx/ciduarte/AA-866
fix: make scores floats rather than ints in progress tab api
2021-06-23 14:10:10 -04:00
Kshitij Sobti
d2c2fcdefe feat: Course Apps API [BD-38] [TNL-8103] [BB-2716] (#27542)
* feat: Course Apps API

This adds a new concept called course apps. These are exposed via a new
"openedx.course_app" entrypoint, which helps the LMS and studio discover such
apps and list them in a new rest api for the same.

These course apps will drive the pages and resources view in the course authoring
MFE. This system will track which apps are enabled and which are disabled. It
also allows third-party apps to be listed here by using the plugin entrypoint.

* Apply feedback from review
2021-06-23 21:51:12 +05:00
Christie Rice
29fcf8b868 fix: Copy data from the certificate whitelist to the certificate allowlist, including copying the created date (#28007)
MICROBA-982
2021-06-23 12:21:58 -04:00
Carla Duarte
b08a9d61ef fix: make scores floats rather than ints in progress tab api 2021-06-23 11:34:19 -04:00
edx-abolger
a2128dc9cf Merge pull request #28002 from edx/edx-abolger/ENT-4103-fix-forward-version-bump
bump: bump edx-enterprise version to 3.26.10
2021-06-22 17:25:17 -04:00
Jansen Kantor
e16852f368 ora 3.6.6 (#28001) 2021-06-22 16:54:50 -04:00
Adrienne Bolger
efd683d140 bump: bump edx-enterprise version to 3.26.10 2021-06-22 16:32:12 -04:00
Christie Rice
532b97b4e2 fix: Temporarily disable generating certificates with a non-downloadable status (#28000)
CR-3792 MICROBA-1306
2021-06-22 15:56:11 -04:00
Adeel Ehsan
a8d1fb11ab Merge pull request #27999 from edx/aehsan/van-526/activation_cta_issues_fixed
activation a11y issue fixed
2021-06-23 00:47:33 +05:00
Julia Eskew
1748992468 feat: Increase max file upload size from 10 MB to 20 MB.
TNL-8412
2021-06-22 14:35:37 -04:00
adeelehsan
2e650110c9 activation a11y issue fixed 2021-06-22 21:44:15 +05:00
Justin Hynes
336e4dc7c9 Merge pull request #27990 from edx/jhynes/microba-1179_allowlist
refactor: Rename "whitelist" references to "allowlist" where possible in Instructor Dashboard/Certificates apps
2021-06-22 11:20:42 -04:00
Hammad Ahmad Waqas
84658bcc7a Merge pull request #27997 from edx/hammad/version-bump
version bump edx-enterprise.
2021-06-22 19:21:56 +05:00
Michael Terry
7952ab659b Merge pull request #27989 from edx/mikix/progress-access
feat: add learner_has_access field to progress tab data
2021-06-22 09:45:22 -04:00
HammadAhmadWaqas
d43704304f version bump edx-enterprise. 2021-06-22 18:40:16 +05:00
Diane Kaplan
797e93e89e REV-2260: fix decimal display issue for enterprise learners 2021-06-22 09:19:27 -04:00
Michael Terry
c8a62bd4d2 feat: add learner_has_access field to progress tab data
In order to allow the learning MFE's progress tab to show a
different UX for FBE exceptions (where some exams can still be
completed by audit learners), this commit adds access information
to each exam.

AA-829
2021-06-22 09:10:12 -04:00
Ali Akbar
4a91226672 Merge pull request #27991 from edx/aakbar/PROD-2368
fix: mishandled xss change
2021-06-22 17:41:49 +05:00
Justin Hynes
205911653b refactor: Rename "whitelist" references to "allowlist" where possible in Instructor Dashboard/Certificates apps
[MICROBA-1179]
- Continue renaming/removal of code referring to the Certificate "white list".

The Certificates Django app `CertificateWhitelist` model is going away in an effort to make our codebase more inclusive. It is being replaced
with the `CertificateAllowlist` model. This PR continues to replace references to the Certificate "whitelist" with "allowlist" wherever
possible. There should be no change in functionality, nor are there any changes in appearance.
2021-06-22 08:18:15 -04:00
edX requirements bot
658a0e135d chore: Updating Python Requirements (#27995) 2021-06-22 16:54:44 +05:00
edx-pipeline-bot
90de2f1434 Merge pull request #27992 from edx/private_to_public_d438b1a
Mergeback PR from private to public.
2021-06-21 16:26:16 -04:00
Ali-D-Akbar
e17b2abbf4 fix: mishandled xss change 2021-06-21 23:53:41 +05:00
Tim McCormack
d438b1ac4c Merge pull request #167 from edx/estute/targetting-security
dummy commit to security
2021-06-21 18:19:08 +00:00
Kristin Aoki
456d6c502c fix: Update course preview redirect
This PR changes the preview URL redirect from Studio. Before when a user clicked on the course preview button to check unpublished changes, the preview in the New Experience would show the most recently published version of the course. The unpublished changes that the user was hoping to view are no present. At the moment users have been publishing the content to check it then having to republish the old version if they did not like the changes. As a short-term fix, this PR redirects to the Legacy experience where the preview option previously worked. Now the user can see the unpublished changes. A long-term fix is still being explored. This change will impact the Course Author.
2021-06-21 13:36:21 -04:00
Syed Muhammad Dawoud Sheraz Ali
3a7aeaa2c3 Merge pull request #27950 from bitmakerla/alfredchavez/redirect-to-contact-page-if-zendesk-url-not-defined
feat: redirect to 'contact' page if zendesk url is not defined
2021-06-21 21:13:55 +05:00
Colin-Fredericks
925f662f47 Removing references to Google Plus 2021-06-21 12:10:01 -04:00
Manjinder Singh
5838f191c2 docs: Adding readme for auth_exchange app (#27803)
* docs: Adding readme for auth_exchange app
2021-06-21 12:00:41 -04:00
sofiayoon
aa42beb1aa Merge pull request #27988 from edx/syoon/AA-797-rebased
refactor: delete reference to old course home microfrontend flag
2021-06-21 11:14:24 -04:00
Sofia Yoon
f9897e1bc2 refactor: delete reference to old course home microfrontend flag 2021-06-21 10:35:40 -04:00
Alfred Chavez
1455542627 feat: redirect to 'contact' page if zendesk url is not defined 2021-06-21 09:06:28 -05:00
sofiayoon
3616910841 Merge pull request #27899 from edx/syoon/AA-797
feat: AA-797 switch course home flag to opt out
2021-06-21 09:37:48 -04:00