Commit Graph

58825 Commits

Author SHA1 Message Date
Carla Duarte
2f8572d540 fix: handle unenrolled users in course home APIs (AA-790) 2021-05-13 14:08:44 -04: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
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
irfanuddinahmad
5625d5e77b Merge pull request #27571 from edx/iahmad/ENT-4522-2
ENT-4522: Updated edx-enterprise to 3.22.16
2021-05-10 13:43:23 +05:00
Usama Sadiq
e66e43c5d2 refactor: pyupgrade second iteration (#27450) 2021-05-10 13:42:51 +05:00
irfanuddinahmad
cd4fe236f4 Updated edx-enterprise to 3.22.16 2021-05-10 13:02:55 +05:00
irfanuddinahmad
d97c1dda6b Merge pull request #27568 from edx/iahmad/ENT-4522
ENT-4522: chore: upgrade edx-enterprise to 3.22.15
2021-05-09 18:27:56 +05:00
irfanuddinahmad
ae89da9968 chore: upgrade edx-enterprise to 3.22.15 2021-05-09 15:21:34 +05:00
Justin Hynes
80833406c7 refactor: remove use of modulestore in certificates app
[MICROBA-1178]

* remove use of modulestore in `utils.py` of the certificates django app
2021-05-07 15:30:03 -04:00
Matt Tuchfarber
e6e3bade93 feat: Show course enrollment with cert on dash
Previously the programs dashboard picked the first course run enrollment
for a course to display on the dash if the user had multiple. Now it has
a preference for the enrolled course run that earned a certificate if
there is one.
2021-05-07 15:17:32 -04:00
Dillon Dumesnil
5085580697 Merge pull request #27554 from edx/ddumesnil/start-end-date-comments
refactor: Switch to using course_overview start and end everywhere
2021-05-07 10:46:25 -07:00
stvn
a54d9f26a0 Merge PR #27536 bd03/test/api
* Commits:
  tests: Add data tests for Discussions API
  fix: Improve validation in Discussions API
2021-05-07 10:20:14 -07:00
stvn
8ed13dfbc3 tests: Add data tests for Discussions API
Closes stvstnfrd/openedx-meta#3
Closes CENG-58
Closes TNL-8230
2021-05-07 09:23:40 -07:00
stvn
165944c091 fix: Improve validation in Discussions API 2021-05-07 09:23:40 -07:00
alangsto
60f267e2bb chore: update edx-proctoring version (#27550) 2021-05-07 09:44:36 -04:00
Vladas Tamoshaitis
ec98847c74 feat: Add Waffle flag to enable/disable special exams on MFE learning (#27545)
* feat: Use forked RG version of edx_proctoring in devstack

* Add waffle flag for special exams for mfe (#2371)

* feat: add waffle flag for special exams for mfe

* fix: waffle flag name, add coma to imports

Co-authored-by: Vladas Tamoshaitis <vladas.tamoshaitis@raccoongang.com>

* fix: revert requirements for master branch

* fix: revert dev requirements

* fix: trailing comma after imported item

* feat: add special exams waffle flag test

* fix: use ENABLE_SPECIAL_EXAMS global settings flag

* fix: toggle description

* fix: naming of waffle flag helpers to reflect relation with mfe

* fix(tests): assertion operators order

Co-authored-by: Sagirov Eugeniy <sagirov19@gmail.com>
Co-authored-by: Sagirov Evgeniy <34642612+UvgenGen@users.noreply.github.com>
Co-authored-by: Vladas Tamoshaitis <vladas.tamoshaitis@raccoongang.com>
2021-05-07 08:52:53 -04:00
Justin Hynes
50bbbc6aa6 Merge pull request #27526 from edx/jhynes/microba-1178_modulestore-generation
refactor: Remove use of modulestore in certificates app (cont)
2021-05-07 08:00:44 -04:00
Awais Qureshi
8c1af3e64d Merge pull request #27546 from edx/pinning-django==2.2.20
refactor: latest Django 2.2.21 breaks the tests.
2021-05-07 17:00:32 +05:00
Adeel Ehsan
798b523712 Revert "CTA dialogue added" (#27560) 2021-05-07 16:17:18 +05:00
Adeel Ehsan
03a8dbffb7 Merge pull request #27334 from edx/aehsan/Van-434/cta_dialogue_box_added
CTA dialogue added
2021-05-07 05:42:56 +05:00