Commit Graph

59216 Commits

Author SHA1 Message Date
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
irfanuddinahmad
af523a1b0d Merge pull request #27981 from edx/iahmad/ENT-4611-1
chore: ENT-4611 Updated edx-enterprise
2021-06-18 17:40:59 +05:00
irfanuddinahmad
53971f21d6 chore: ENT-4611 Updated edx-enterprise 2021-06-18 16:29:44 +05:00
Ali Akbar
2b25635203 Merge pull request #27815 from edx/aakbar/PROD-1637
feat: Add a create enrollment endpoint for support tools
2021-06-18 14:40:14 +05:00
Christie Rice
63a5d3030d docs: Add link to DEPR ticket (#27978)
MICROBA-1294
2021-06-17 15:06:03 -04:00
Justin Lapierre
37aa2db9e3 Merge pull request #27269 from open-craft/gabor/custom-report-dir-and-task-kwargs
[SE-4304] Allow custom upload directory and filename for grade and calculated profile reports
2021-06-17 12:58:51 -04:00
David Ormsbee
fe6448303d fix: Use learning_sequences to remove bad sequences from outline.
A common usage pattern is to make an exam that is restricted to a
particular enrollment track. Since there is no UI in Studio to do this
at the sequence/subsection level, course authors instead restrict every
unit in the sequence to that track (e.g. "verified"). The legacy
courseware experience could handle this, but the Course Blocks API does
not. It is likely that we'll want to permit toggling this at the
sequence level, but regardless of whether we do that going forward, we
still have to deal with this kind of content data in existing courses.

An entirely empty sequence is useless, and currently breaks the
Courseware MFE browsing experience. This commit introduces the first
part of that fix, invoking the new Learning Sequences API to remove
sequences that the user shouldn't be allowed to know about. The plan is
to switch over the entire course outline from the Course Blocks API to
the Learning Sequences API, and this is the first small step in that
direction.

This also creates CourseWaffleFlag learning_sequences.use_for_outlines
to control the gradual rollout of this feature. This will start as a
very limited rollout to address courses that show this specific bug
(TNL-8377).

New learning_sequences public API call: public_api_available
2021-06-17 11:13:47 -04:00