Commit Graph

58855 Commits

Author SHA1 Message Date
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
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
Diana Huang
3eb2078c38 refactor: remove squashed student migrations
We squashed migrations in the student 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.

ARCHBOM-1177
2021-05-11 15:19:17 -04:00
Diana Huang
3d9d49d893 Merge pull request #27597 from edx/diana/remove-shoppingcart-djangoapp
refactor: Remove shoppingcart djangoapp.
2021-05-11 14:55:23 -04:00
Michael Terry
1e4daf749c Merge pull request #27594 from edx/mikix/youtube-complete
fix: mark age-restricted youtube videos as complete immediately
2021-05-11 14:53:08 -04:00
Diana Huang
55a3469d37 refactor: Remove shoppingcart djangoapp.
Now that we have passed the named release boundary,
removing these migrations is no longer a breaking change.

https://openedx.atlassian.net/browse/DEPR-43
2021-05-11 14:07:13 -04:00
Michael Terry
c7fd535c2f fix: mark age-restricted youtube videos as complete immediately
Youtube videos that are age-restricted must be viewed on youtube
itself rather than in the embedded player. So we can't notice when
the video is watched. Rather than leave it incompletable, just mark
the video complete immediately if it's restricted.

AA-804
2021-05-11 13:58:03 -04:00
Ahtisham Shahid
128c53e50b Merge pull request #27561 from edx/ahtisham/TNL-8287
feat: Added new discussion providers and features
2021-05-11 22:22:18 +05:00
Kyle McCormick
680bd32de8 revert: refactor: pyupgrade second iteration (#27591)
The edx-sandbox (secure/codejailed execution context
for edx-platform) still runs in Python 3.5, so certain
modules in common/lib cannot be py-upgraded to use
Python 3.8 syntax.

Specifically, this commit added an f-string to
common/lib/sandbox-packages/verifiers/draganddrop.py,
which broke scoring of deprecated drag-and-drop problems
in codejail.

TNL-8322

This reverts commit 8c06b68bbe
2021-05-11 10:53:49 -04:00
Matt Tuchfarber
4c0f856962 Merge pull request #27562 from edx/tuchfarber/show_course_card_with_cert
feat: Show course enrollment with cert on dash
2021-05-11 10:46:12 -04:00
M. Zulqarnain
9990fb8b1c Upgrade pip-tools to v5.5 (#27573)
* chore: Upgrade pip-tools to v5.5

* chore: Updating Python Requirements (#27574)

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2021-05-11 18:34:39 +05:00
Zachary Hancock
4f51e3fe95 chore: update proctoring js lib (#27578) 2021-05-11 09:22:15 -04:00
Ahtisham Shahid
73226f527b refactor: updated feature names as per convention 2021-05-11 18:20:17 +05:00
Ahtisham Shahid
e025c9bb64 refactor: sorted imports and misc cont renames 2021-05-11 18:20:17 +05:00
Ahtisham Shahid
1a43a4ca29 feat: Added new discussion providers and features
refactor: Fixed linter issues

refactor: Fixed styling issues

refactor: Code refactor and removed conflicts

refactor: Replaced feature dict with enum
2021-05-11 18:20:11 +05:00
Bianca Severino
6cee3f858a Merge pull request #27544 from edx/bseverino/honor-code
[MST-780] Create IntegritySignature model and API
2021-05-11 09:19:39 -04:00
Usama Sadiq
4f4be6538a BOM-2477: pylint warnings lint-amnesty (#27585) 2021-05-11 17:22:40 +05:00
Uzair Rasheed
156a1a80ee Merge pull request #27570 from edx/refactor-failed-login-response
refactor failed login response
2021-05-11 17:02:05 +05:00
Justin Hynes
d09639fe77 Merge pull request #27563 from edx/jhynes/microba-1178_modulestore-removal-utils
refactor: remove use of modulestore in certificates app
2021-05-11 07:34:23 -04:00
uzairr
e291e383f6 refactor failed login response 2021-05-11 16:20:34 +05:00
Usama Sadiq
a597f1c783 refactor: ran pyupgrade second iteration (#27463) 2021-05-11 15:19:48 +05:00
Zainab Amir
5813b82c1a refactor: update account activation view (#27587)
Added a check to show error message for scenario where an authenticated
user tries to activate another user's account

VAN-443
2021-05-11 15:08:58 +05:00
edX requirements bot
2416d4b6ad chore: Updating Python Requirements (#27583) 2021-05-11 12:11:52 +05:00
Usama Sadiq
13ef0c7762 refactor: pyupgrade second iteration (#27462) 2021-05-11 11:25:22 +05:00
Usama Sadiq
46993bff00 refactor: pyupgrade second iteration (#27461) 2021-05-11 11:24:07 +05:00
Bianca Severino
e41e6e04ee feat: initialize agreements app
Adds an app to openedx for the Agreements feature.
Includes an IntegritySignature model with a basic
API, as well as a waffle flag to support rollout.
2021-05-10 17:55:36 -04:00
Christie Rice
4dae1abd67 fix: Remove unused allowlist flag (#27576)
MICROBA-1073
2021-05-10 15:04:11 -04:00
Matthew Piatetsky
526982c548 Merge pull request #27505 from edx/AA-759
[AA-759] feat: Add flag for AA-759 streak celebration discount experiment
2021-05-10 14:43:40 -04:00
Bianca Severino
eebd1b85d0 Merge pull request #27580 from edx/bseverino/studio-frontend-1.17.0
chore: update studio-frontend to 1.17.0
2021-05-10 13:39:35 -04:00
Matthew Piatetsky
9c5992521a feat: Add flag for AA-759 streak celebration discount experiment
AA-759
2021-05-10 13:11:07 -04:00