Commit Graph

58884 Commits

Author SHA1 Message Date
Bianca Severino
8523ffda91 Merge pull request #27651 from edx/bseverino/drop-expiry-date
[MST-785] Remove expiry_date from SoftwareSecurePhotoVerification
2021-05-17 13:34:24 -04:00
Simon Chen
edef37b51b [chore] Update the edx-proctoring library to 3.9.1 (#27648)
With this update, the student exam attempts have a new attribute called . The flag, when set to true, allows the exam attempt to be resumed by user
2021-05-17 13:08:39 -04:00
Justin Hynes
e0cfae745f Merge pull request #27646 from edx/jhynes/microba-1209_function-cleanup
refactor: consolidate (mostly) duplicated function
2021-05-17 12:59:42 -04:00
Bianca Severino
bba7ea5d37 fix: remove expiry_date from SoftwareSecurePhotoVerification 2021-05-17 12:56:28 -04:00
Justin Hynes
563a762625 Merge pull request #27643 from edx/jhynes/microba-1238_cleanup-external
refactor: update function calls outside of certificates app for updated `generate_user_certificates` and `regenerate_user_certificates` functions
2021-05-17 12:34:45 -04:00
Dillon Dumesnil
35d62ff365 Merge pull request #27602 from edx/ddumesnil/improve-course-goals-aa-768
feat: AA-768: Add history to Course Goals model and update events
2021-05-17 09:29:39 -07:00
Dillon Dumesnil
d46f6369ea feat: AA-768: Add history to Course Goals model and update events
Also removes the remove_course_goal method as it is no longer
used anywhere and removes the functionality of deleting course goals
if a user unenrolls. Adds in fields for eventing to make them more
useful.
2021-05-17 11:55:27 -04:00
Zachary Hancock
01baa9ab9c update edx-proctoring (#27645) 2021-05-17 10:34:59 -04:00
Sarina Canelake
d6a00019f0 Merge pull request #27605 from OmarIthawi/patch-2
Remove "edX" from the logout popup message
2021-05-17 10:33:08 -04:00
Justin Lapierre
58c57342ab Merge pull request #27218 from open-craft/0x29a/bb3611/improve_zip_file_content_structure
[BD-05][TNL-7915][BB-3611] Improve ZIP File content structure
2021-05-17 10:01:56 -04:00
Bianca Severino
f72054eee0 Merge pull request #27614 from edx/bseverino/remove-expiry-date
[MST-785] Remove references to expiry_date in IDV
2021-05-17 09:56:38 -04:00
Justin Hynes
d4f3e11092 refactor: consolidate (mostly) duplicated functions
[MICROBA-1209]
Part of the modulestore cleanup/removal in the certificates app. The function `list_with_level_from_course_overview` was temporary. Cleaning this up. Modifying the original `list_with_level` to accept a course-id/course-key as it doesn't actually need the entire course object.
* Update `list_with_level` function to accept a course run id/course-key
* Remove `list_with_level_from_course_key` function (and update any functions using it to use `list_with_level` again)
2021-05-17 09:50:39 -04:00
Justin Hynes
313a295c95 refactor: update function calls outside of certificates app for updated generate_user_certificates and regenerate_user_certificates functions
[MICROBA-1238]
* remove unused `course` argument from `generate_user_certificates` function in the certificates app
* remove unused `course` argument from `regenerate_user_certificates` functioni n the certificates app
* remove `course` argument if passed in edx-platform apps outside of the certificates app
2021-05-17 09:39:36 -04:00
Justin Hynes
ae750fb9d2 Merge pull request #27626 from edx/jhynes/microba-1238_cleanup
refactor: remove unused `course` arguments from certificate generation functions
2021-05-17 09:38:29 -04:00
0x29a
6aa70b764d feat: remove course_id argument and upgrade ora2 dependency 2021-05-17 15:21:03 +02:00
Dillon Dumesnil
e885733881 Merge pull request #27622 from edx/ddumesnil/update-completion-aa-802
feat: AA-802: Update the BlockCompletionTransformer
2021-05-17 06:05:29 -07:00
Awais Qureshi
ba69657b29 Merge pull request #27635 from edx/fixing-upgrade-jobs-
chore: Fixing upgrade job. Due to some recent packages released upgra…
2021-05-17 16:43:40 +05:00
Awais Qureshi
94068b1ede chore: Fixing upgrade job. Due to some recent packages released upgrade job was failing. 2021-05-17 12:57:36 +05:00
Awais Qureshi
f218f16120 Merge pull request #27636 from edx/jenkins/upgrade-python-requirements-b135d8e
Python Requirements Update
2021-05-17 12:16:37 +05:00
edX requirements bot
acb106c913 chore: Updating Python Requirements 2021-05-17 03:15:59 -04:00
Awais Qureshi
b135d8e224 chore: Fixing upgrade job. Due to some recent packages released upgrade job was failing. 2021-05-17 12:10:47 +05:00
jawad khan
17906d6770 feat: Add multi device support for mobile in word cloud (#27386)
Enable mobile support on word cloud xblock

LEARNER-8319
2021-05-17 07:49:33 +05:00
Simon Chen
286dd8d03c [Fix]: Fix a bug where the email template's comments are written out as HTML text (#27627) 2021-05-14 20:51:12 -04:00
Justin Hynes
70810879e0 refactor: remove unused course arguments from certificate generation functions
[MICROBA-1238]
- Remove unused `course` arguments from certificate generation functions

Part of our cleanup after removing use of the modulestore from the Certificates app.
2021-05-14 15:38:43 -04:00
Dillon Dumesnil
6f773d1eca feat: AA-802: Update the BlockCompletionTransformer
We discovered a subsection that contained a unit without any content
inside, but because of our logic requiring children, it would never be
marked complete (meaning the subsection, section, and course could thus
never be marked complete). This fixes that by removing the children
check from setting completion, but first gating that code path on the
xblock being an aggregator (to prevent leaves from marking as true
simply because there are no children).

Test fixes include adding a test for the empty aggregator case as
well as some changes to not have an entire course marked complete
because they are all empty aggregators.
2021-05-14 11:22:07 -04:00
Michael Terry
96562cca89 Merge pull request #27625 from edx/mikix/fix-conditional
fix: make 'conditional' xblocks work again after being broken
2021-05-14 10:58:32 -04:00
Michael Terry
71a8a9fb56 fix: make 'conditional' xblocks work again after being broken
I accidentally broke them in commit b90039b2 by passing in an
extra argument to display.js constructors.

TNL-8318
2021-05-14 10:09:27 -04:00
Justin Hynes
7edaf8aae3 Merge pull request #27612 from edx/jhynes/microba-1208_consolidate-functions
refactor: consolidate duplicate utility functions in certificates app
2021-05-14 07:34:11 -04:00
Robert Raposa
63bdb4dbb7 Merge pull request #27518 from eduNEXT/eric/enable_account_mfe_globally
refactor: Using Waffle flag to enable Account MFE globally.
2021-05-13 16:09:37 -04:00
Carla Duarte
2d2ceb8728 Merge pull request #27601 from edx/ciduarte/AA-790
fix: handle unenrolled users in course home APIs (AA-790)
2021-05-13 14:44:52 -04:00
Carla Duarte
2f8572d540 fix: handle unenrolled users in course home APIs (AA-790) 2021-05-13 14:08:44 -04:00
Bianca Severino
534854d8a7 Merge pull request #27609 from edx/bseverino/integrity-signature-post
[MST-782] POST endpoint for integrity signature
2021-05-13 13:07:34 -04:00
Eric Herrera
353153666d refactor!: Enable Account MFE globally.
This commit refactors the way the Account MFE is activated in the
platform. The main objective is to control the global
activation/deactivation of the MFE through the
account.redirect_to_microfrontend waffle flag and use the Site
Configurations to control MFE activation/deactivation with per-site
granularity. Notice that the Site Configuration object will have
precedence over the waffle flag value.

Since the classic Account Django view will be most likely supported
during Lilac, the expiration of this temporary waffle flag was
extended till the end of 2021

With this commit:

- There's no need to create a Site Configuration object to get the MFE
activated. Setting the waffle flag to True is enough.
- It helps multisite installations to better handling granular
per-site activation/deactivation.

BREAKING CHANGE:

For operators of multisite installations, the activation of the waffle
flag will now activate the MFE for all sites, unless explicitly
disabled on a per-site basis.

Otherwise, this is a backwards-compatible change, since the MFE will
remain activated for installations where this is already enabled.
2021-05-13 11:47:34 -05:00
Justin Lapierre
117c86463c Merge pull request #27032 from open-craft/giovanni/3721-waiting-step-details
[BD-05][TNL-7946]: Add changes to support ORA "Waiting Step Details" view
2021-05-13 11:46:00 -04:00
Giovanni Cimolin da Silva
9a334a383e feat: Add changes for waiting step details
Bump ORA version and fix method signature.
2021-05-13 09:27:53 -03:00
Justin Hynes
dd06820cad refactor: consolidate duplicate utility functions in certificates app
[MICROBA-1208]
* consolidate `has_html_certificates_enabled` and `has_html_certificates_enabled_from_course_overview`, the latter of the two functions was created for use during our transition away from using the modulestore in the certificate app.
2021-05-13 07:52:02 -04:00
Binod Pant
da9afe6290 fix: 🐛 ENT-4525 fix learner portal experience when missing courseEnrollment records (#27611)
* fix: 🐛 ENT-4525 fix learner portal experience courseEnrollment records are missing

sometimes integrations may create EnterpriseCourseEnrollments but for some reason missing courseEnrollment, in this case we want to just filter out the EnterpriseCourseEnrollments instead of erroring the learner poratl

ENT-4525

* fix: pylint fixes

pylint fixes
2021-05-13 07:27:17 -04:00
Bianca Severino
69b6cf8d42 feat: remove references to expiry_date in IDV 2021-05-12 16:42:32 -04:00
Michael Roytman
cd9fed2557 Merge pull request #27592 from edx/mroytman/MST-793-remove-studio.async_register_exams-flag
feat: remove use of ENABLE_ASYNC_REGISTER_EXAMS waffle flag
2021-05-12 16:41:14 -04:00
Michael Roytman
22f9822e5d feat: remove use of ENABLE_ASYNC_REGISTER_EXAMS waffle flag
This commit addresses MST-793. In MST-757, exam registration was moved to an asychronous task to improve the performance of saving content in Studio. This feature was gated behind a waffle flag, ENABLE_ASYNC_REGISTER_EXAMS, to avoid interrupting course teams during the testing and roll out of this feature.

This feature has been tested and rolled out, and so the aforementioned waffle flag is ready to be removed.

The effect of this change is that asynchronous exam registration will no longer be gated by the aforementioned waffle flag, and this feature will be rolled out across all of the edX platform.
2021-05-12 15:44:47 -04:00
Thomas Tracy
84c953948b MB-1167: calling course certificates api from LMS (#27552)
* [feat] calling course certificates api from LMS

Now that CourseCertificates in credentials have a field for the
available_date, we need to make sure we are always updating that field
when it changes in studio. This PR adds a call to a new Credentials API
that will update the field each time the date change signal fires.
2021-05-12 15:42:08 -04:00
Justin Hynes
462ccf46ab Merge pull request #27607 from edx/jhynes/microba-1178_modulestore-cont
refactor: remove use of modulestore in certificates app
2021-05-12 14:10:36 -04:00
Diana Huang
27714a26e0 Merge pull request #27579 from edx/diana/clean-tpa-migrations
fix: Remove squashed third_party_auth migrations.
2021-05-12 13:57:23 -04:00
Bianca Severino
8be1c7c18b feat: POST endpoint for integrity signature 2021-05-12 13:57:11 -04:00
Justin Hynes
ee5c881a46 refactor: remove use of modulestore in certificates app
[MICROBA-1178]

* Remove use of modulestore in `queue.py`
* Remove use of modulestore in `ungenerated_certs.py`
* Remove use of modulestore in `resubmit_error_certificates.py`
* Update unit tests in `test_cert_management.py`
2021-05-12 13:35:32 -04:00
Diana Huang
451e4a23b6 refactor: Remove squashed third_party_auth migrations.
We squashed migrations in this djangoapp a while back.
This is the followup work to remove the migrations that were
squashed and to convert the squashed migration into a 'normal'
migration.

https://openedx.atlassian.net/browse/ARCHBOM-1177
2021-05-12 12:36:44 -04:00
Christie Rice
4854b2eb17 refactor: Use api instead of calling the certificate whitelist model directly (#27606)
MICROBA-1212
2021-05-12 11:40:32 -04:00
Diana Huang
7f10a9b571 Merge pull request #27577 from edx/diana/clean-student-migrations
refactor: Remove squashed student migrations.
2021-05-12 10:37:20 -04:00
Christie Rice
1473973b2b refactor: Rename whitelist to allowlist (#27533)
MICROBA-1021
2021-05-12 09:51:26 -04:00
alangsto
c651e58fb7 feat: Add GET endpoint for Integrity Signature (#27590)
MST-781. Add endpoint to retrieve data related to the integrity signature model.
2021-05-12 08:38:45 -04:00