Commit Graph

58786 Commits

Author SHA1 Message Date
irfanuddinahmad
ae89da9968 chore: upgrade edx-enterprise to 3.22.15 2021-05-09 15:21:34 +05: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
Dillon Dumesnil
89c463ff29 refactor: Switch to using course_overview start and end everywhere
In DE-1822, we believed we needed to switch to start_date and end_date.
It was determined this was not the case, so this updates the comment
to ensure future users use the correct fields (start and end) and
updates any pieces of code that may have used start_date or end_date.
2021-05-06 16:42:10 -04:00
Awais Qureshi
57c0922eb7 Merge pull request #27551 from edx/jenkins/upgrade-python-requirements-cb6fc87
Python Requirements Update
2021-05-06 23:40:59 +05:00
edX requirements bot
a9e4617d5e chore: Updating Python Requirements 2021-05-06 14:34:13 -04:00
Bianca Severino
32584e759c Merge pull request #27472 from edx/bseverino/proctoring-escalation-email-validation
[MST-723] Include proctoring escalation email in course validation
2021-05-06 14:26:59 -04:00
Awais Qureshi
cb6fc875b6 refactor: latest Django 2.2.21 breaks the tests.
Its mostly due the more restriction on empty file names and paths with dot segments during uploads
2021-05-06 23:26:55 +05:00
David Ormsbee
b77031564d perf: Instrument learning_seuqences outline processor details.
We already had function traces to see how long each processor took when
generating a UserCourseOutlineData. This adds a similar tracking around
making a UserCourseOutlineDetailsData, to help track down performance
issues observed in what I think is the special exams processor.
2021-05-06 14:26:00 -04:00
Kshitij Sobti
161e3560dd feat: Add REST endpoints for problem response report generation that can be driven by MFEs. (#27313) 2021-05-06 14:05:14 -04:00
Muhammad Ammar
109f6b97f2 Merge pull request #27541 from edx/ammar/upgrade-edx-enterprise-to-3.22.14
chore: upgrade edx-enterprise to 3.22.14
2021-05-06 22:53:14 +05:00
JJ
30e4b43700 refactor: update verified upgrade sections on course dasboard [REV-2129] (#27435)
Update the styling and verbiage used in the course upgrade sections of the course dashboard cards.
2021-05-06 11:59:19 -04:00
Michael Terry
6af535f476 Merge pull request #27517 from edx/mikix/delete-marketing-model-2
feat: drop unused EmailMarketingConfiguration model
2021-05-06 10:20:32 -04:00
muhammad-ammar
cdf1dc2969 chore: upgrade edx-enterprise to 3.22.14 2021-05-06 16:59:59 +05:00
edX cache uploader bot
3c6222052e Updating Bokchoy testing database cache (#27531) 2021-05-06 12:52:14 +05:00
edX Transifex Bot
07d7a7787f geoip2: update maxmind geolite country database 2021-05-06 02:11:39 +05:00
adeelehsan
dc306f8f6d CTA dialogue added
VAN-434
2021-05-05 23:29:47 +05:00
Waheed Ahmed
3e87c1f277 refactor: update username suggestions logic (#27525)
Used integers instead of alphanumerics to generate username suggestions.

VAN-52
2021-05-05 23:28:55 +05:00
Albert (AJ) St. Aubin
ee71594714 refactor!: Remove backpopulate_program_credentials in favor of using
notify_credentials command

In this PR we are removing a management command that has performance issues and duplicates logic not available in the notify_credentials management command.
2021-05-05 12:22:38 -04:00
alangsto
5bfc790014 fix: allow instructors to modify zendesk ticket setting (#27512)
MST-362. Previously instructors were unable to modify the zendesk ticket field, although that field should change based on the proctoring provider. This backend change allows course instructors to modify the field so that it is appropriate for whateverproctoring provider they choose.
2021-05-05 12:04:53 -04:00
Albert (AJ) St. Aubin
65977a9e02 [feat] Added program_uuids to notify_credentials mgmt cmd (#27503)
* [feat] Added program_uuids to notify_credentials mgmt cmd

[MICROBA-951]

To support updating a users credentials in the Credentials services for
all users enrolled in a program we have added a command line argument to
the notify_credentials command called program_uuids. This supports a
list of program uuids. It will retrieve all course runs in the listed
programs and update the related credentials data.

* updated comments
2021-05-05 11:48:11 -04:00
Adam Stankiewicz
315b0e0caf fix: upgrade edx-enterprise to 3.22.12 (#27527) 2021-05-05 11:02:29 -04:00
Christie Rice
ce591fd3ea refactor: Rename whitelist to allowlist (#27504)
MICROBA-1021
2021-05-05 10:51:31 -04:00
Gábor Boros
6ccdaca345 [SE-4101] fix: address VisibleBlocks caching race condition (#27359)
* fix: address VisibleBlocks caching race condition

* sets visual block creation in an atomic transaction

* refactor: add logging statement to bulk create

Co-authored-by: Raul Gallegos <raul@opencraft.com>
2021-05-05 10:26:35 -04:00
Bianca Severino
5420c37441 feat: include proctoring escalation email in
course validation
2021-05-05 10:10:21 -04:00
Justin Hynes
f64c7332f8 refactor: Remove use of modulestore in certificates app
[MICROBA-1178]
* Remove use of modulestore in `../certificates/generation.py`.
* Remove use of modulestore in `../certificates/views/support.py`.
* Remove use of modulestore in `../certificates/views/xqueue.py`.
2021-05-05 09:55:56 -04:00
M. Zulqarnain
73f5da9b32 Revert "Updating Bokchoy testing database cache (#27514)" (#27523)
This reverts commit 91422e22e7.
2021-05-05 16:38:20 +05:00
M. Zulqarnain
8e9a5b2e63 Install acid-xblock from PyPI (#27488)
* refactor: install acid-xblock from PyPI

* chore: Updating Python Requirements (#27485)

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2021-05-05 15:04:53 +05:00
Uzair Rasheed
c450de4062 Merge pull request #27496 from edx/update-login-api
upgrade login api
2021-05-05 13:15:22 +05:00
edX cache uploader bot
91422e22e7 Updating Bokchoy testing database cache (#27514) 2021-05-05 12:57:53 +05:00
Zainab Amir
8d4ccf950a Update validation messages for register endpoint (#27476)
As part of authn redesign, validation messages have been updated.
- created a new endpoint for validations
- updated username/email conflict message in registration api based on
authn check

VAN-288
2021-05-05 12:33:59 +05:00
Michael Terry
78c6be8bee Merge pull request #27422 from edx/mikix/handler-will-recheck-access
fix: the get_completion JS handler should not ignore FBE blocks
2021-05-04 15:54:36 -04:00
Tim McCormack
06422fe8b2 doc: Better instructions for single-dependency upgrade/downgrade (#27516)
This change embraces persistent min-version dependencies, which can
simply be ratcheted up over time, or safely removed in time because IDAs
rarely have a large dependency downgrade.

Some dependencies are already encoded with a min-version constraint, which
makes the previous instructions confusing. There was also a very minor
issue in which the temporary constraint line was adding a spurious
`-c constraints.txt` to the committed changes, even though the constraint
itself was not being committed.

This change inspired by discussion on PR #27506.
2021-05-04 18:26:18 +00:00
Michael Terry
3d1b582092 feat: drop unused EmailMarketingConfiguration model
This is the second attempt at it. The first had to be reverted to
avoid some blue/green deploy issues.
2021-05-04 13:56:59 -04:00
Julia Eskew
599d21b7bb feat: Deny course staff visibility of legacy courseware. (#27469)
Currently, course staff can always view their courses
in the Legacy courseware experience.

With this change, course staff will *not* be able
to view their courses if the New (MFE) courseware
experience has been enabled for them.

This does not affect global staff, and it does not
affect courses that are still running in the Legacy
experience.

Adds a new parameter returned by the course metadata API
used by the courseware MFE to determine if the button to
show legacy experience should be displayed or not.

TNL-8203
2021-05-04 13:55:34 -04:00
Justin Hynes
6313c1ba67 Merge pull request #27501 from edx/jhynes/microba-1178_modulestore
refactor: reduce certificate django apps dependence on the modulestore (generation_handler)
2021-05-04 13:03:15 -04:00
Michael Terry
b807b7c3d1 Merge pull request #27515 from edx/mikix/undo-migration
fix: bring back email_marketing model momentarily and bump enterprise
2021-05-04 12:36:49 -04:00
dylan-grafmyre
8995f1bf32 fix: prevent a backbone fieldview race condition that can delete user input (#25950)
* prevent a backbone fieldview race condition that can delete user input

eslint for effected

* Fixing quality

* Allow _super in fields.js

* Fixing new issues

* Revert some changes

* Fixing errors, formatting

* Fix bug

* Fix eslint rule allowing _super

* Refactor code

Co-authored-by: Dylan Grafmyre <dylan@opencraft.com>
Co-authored-by: Paulo Viadanna <paulo@opencraft.com>
2021-05-04 12:17:15 -04:00
Michael Terry
08c84a3ae7 fix: bring back email_marketing model momentarily and bump enterprise
Enterprise was still using email_marketing code. This will bump
enterprise to a version that does not any more. And also temporarily
put the email_marketing model back for blue/green deploy sanity.
2021-05-04 11:47:12 -04:00
irfanuddinahmad
20713b5c56 Merge pull request #27511 from edx/iahmad/ENT-4392
ENT-4392: Updated edx-enterprise version
2021-05-04 19:25:09 +05:00
Michael Terry
b3e2052304 Merge pull request #27513 from edx/mikix/drop-marketing-config
feat: drop unused EmailMarketingConfiguration model
2021-05-04 10:18:49 -04:00
Kshitij Sobti
456432fddb docs: ADR for exposing existing studio views through new JWT-enabled endpoints [BD-03] [BB-3965] (#27129)
* docs: ADR for exposing existing studio views through new JWT-enabled endpoints

To allow MFEs to drive existing studio functionality, we need to expose that
functionality via REST APIs that can be used by MFEs. This ADR describes an
approach to do that.

* Update cms/djangoapps/contentstore/docs/decisions/0002-restful-studio-apis-for-MFE.rst

Co-authored-by: Farhaan Bukhsh <farhaan@opencraft.com>

* Update cms/djangoapps/contentstore/docs/decisions/0002-restful-studio-apis-for-MFE.rst

Co-authored-by: Kyle McCormick <kdmc@pm.me>

Co-authored-by: Farhaan Bukhsh <farhaan@opencraft.com>
Co-authored-by: Kyle McCormick <kdmc@pm.me>
2021-05-04 09:53:38 -04:00