Commit Graph

58767 Commits

Author SHA1 Message Date
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
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
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
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
Robert Raposa
f41551ac65 Merge pull request #27506 from edx/robrap/ARCHBOM-1551-code-owner-squad
feat: add code_owner_squad custom attribute
2021-05-04 09:41:44 -04:00
Aarif
b97d283fda feat: added the email notification for job failures (#27508) 2021-05-04 18:23:21 +05:00
irfanuddinahmad
3e1f56c287 Updated edx-enterprise version 2021-05-04 17:45:04 +05:00
Michael Terry
33445240d9 feat: drop unused EmailMarketingConfiguration model
This follows on the commit that gutted the email_marketing djangoapp
by actually dropping the model from code and database.

The djangoapp could now be removed after Maple releases.

AA-607
2021-05-04 08:42:21 -04:00
Michael Terry
033b9474ac Merge pull request #27502 from edx/mikix/drop-email-marketing
feat!: remove all email_marketing djangoapp code
2021-05-04 08:39:08 -04:00
Justin Hynes
5db4fd5bb2 refactor: reduce certificate django apps dependence on the modulestore (generation_handler)
[MICROBA-1178]
- remove modulestore usage in `generation_handler.py`
- add duplicate functions that utilize a CourseKey or CourseOverview to remove dependence on modulestore (this will be cleaned up (if possible) at a later part of this refactor)
- add python API function to `content`/`course_overview` app that will retrieve a single CourseOverview (rather than a serialized list of dicts of CourseOverview data)
2021-05-04 07:47:58 -04:00
edX requirements bot
597630b7b1 chore: Updating Python Requirements (#27507) 2021-05-04 12:37:19 +05:00
Robert Raposa
0d5bdd3df4 feat: add code_owner_squad custom attribute
Upgrade edx-django-utils to bring in the new
code_owner_squad custom attribute for
monitoring purposes. See the edx-django-utils
changelog for details.

ARCHBOM-1551
2021-05-03 17:09:22 -04:00
Michael Terry
35f78a3241 feat!: remove all email_marketing djangoapp code
This djangoapp was designed for talking to sailthru, in a fairly
edx.org-specific way. Nowadays, edx.org doesn't need this code and
if other installations do, it's better off as a more distinct
plugin anyway, rather than direct support in the platform.

I've moved the one signal that was still useful (calling
segment.identify() whenever user fields change) into user_authn.

And I've left the EmailMarketingConfiguration model alone for now,
but will remove that shortly. Nothing uses it as of this commit.

AA-607
DEPR-139
2021-05-03 16:39:01 -04:00
Simon Chen
ebbb240027 MST-698 Remove escaping for Proctoring Requirements email on course_name and proctoring backend name (#27500)
The course name can contain apostrophes and other special characters. The email template right now escapes every words. This is not desired because it can render apostrophes like #39;. Update the email templates so only second half of the email template is escaped
2021-05-03 15:39:07 -04:00
Zachary Hancock
fb2cf54132 update edx-proctoring to 3.8.8 (#27499) 2021-05-03 14:07:57 -04:00
Carla Duarte
6a2adde87c Merge pull request #27477 from edx/ciduarte/AA-723
fix: include VerifiedModeSerializerMixin in Progress Tab API [AA-723]
2021-05-03 13:57:28 -04:00
Christie Rice
82bf0411ca test: Use allowlist factory (#27490)
MICROBA-1021
2021-05-03 12:53:36 -04:00
Carla Duarte
b7081f4ecd fix: include VerifiedModeSerializerMixin in Progress Tab API [AA-723] 2021-05-03 12:50:31 -04:00
Michael Terry
12e9763446 Merge pull request #27487 from edx/mikix/fix-gated-content-check
fix: properly set contains_gated_content field on xblocks again
2021-05-03 11:50:40 -04:00
Christie Rice
912f2fa431 feat!: Enable the allowlist for all courses (#27468)
MICROBA-1013
2021-05-03 11:15:04 -04:00
Zachary Hancock
6c62dfc748 chore: remove temporary edx-proctoring constraint (#27498) 2021-05-03 11:01:44 -04:00
Michael Terry
6e52aafc8c fix: properly set contains_gated_content field on xblocks again
This has been broken for a couple months, preventing proper display
of verified-only assignments on the dates tab and elsewhere.

AA-780
2021-05-03 10:17:17 -04:00
Christie Rice
98636654dd feat!: Remove allow_certificate field from the user profile as the field is no longer used (#27424)
DEPR-140 MICROBA-985
2021-05-03 09:28:36 -04:00