Commit Graph

58842 Commits

Author SHA1 Message Date
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
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
Christie Rice
4867535d2d refactor: Use certificates api method instead of the model, and rename whitelist to allowlist. Also move method to certificates app to prevent circular import. (#27532)
MICROBA-1021
2021-05-10 13:02:43 -04:00
Alex Dusenbery
4b247013ff feat: account activation now supports a next query param. ENT-4433
This change causes the activation link that’s emailed to a newly-registered user
to utilize a next query parameter. The impetus for this change is an edX Enterprise use-case:
we'd like newly registered Enterprise Customer admins and learners
to be directed to the Enterprise Learner Portal (or Admin Portal) upon account activation.
This is likely a broad enough use case to be valuable in other endeavors.
2021-05-10 12:58:26 -04:00
Bianca Severino
506813d1d5 chore: update studio-frontend to 1.17.0 2021-05-10 12:47:05 -04:00
Usama Sadiq
63a9327a9d refactor: pyupgrade second iteration (#27460) 2021-05-10 13:57:24 +05:00
Usama Sadiq
64752ed66c refactor: pyupgrade second iteration (#27459) 2021-05-10 13:56:40 +05:00
Usama Sadiq
372c4abfa6 refactor: pyupgrade second iteration (#27458) 2021-05-10 13:55:48 +05:00
Usama Sadiq
f2f9e36d6c refactor: pyupgrade second iteration (#27454) 2021-05-10 13:50:19 +05:00
Usama Sadiq
2409ea22be refactor: pyupgrade second iteration (#27453) 2021-05-10 13:48:34 +05:00
Usama Sadiq
ea550c06a5 refactor: pyupgrade second iteration (#27452) 2021-05-10 13:47:33 +05:00
Usama Sadiq
8c06b68bbe refactor: pyupgrade second iteration (#27451) 2021-05-10 13:46:28 +05:00
Usama Sadiq
e7b8328620 BOM-2494: pyupgrade second iteration-IX (#27449) 2021-05-10 13:45:29 +05:00
Usama Sadiq
35d7b13de3 BOM-2494: pyupgrade second iteration-VIII (#27448) 2021-05-10 13:44:41 +05:00
Usama Sadiq
1b55cc2957 refactor: pyupgrade second iteration (#27447) 2021-05-10 13:43:38 +05:00