Commit Graph

59288 Commits

Author SHA1 Message Date
Matt Tuchfarber
63cb6a97ff Revert "feat: Reimagine certificate_availability_date and certificates_display_behavior" 2021-07-07 16:53:05 -04:00
Christie Rice
b4df37d48e docs: Mark ADR as accepted (#28110)
DEPR-157
2021-07-07 14:07:23 -04:00
edX cache uploader bot
8e11603bb6 Updating Bokchoy testing database cache (#28106) 2021-07-07 20:36:25 +05:00
Matt Tuchfarber
14fb517a78 Merge pull request #27830 from edx/tuchfarber/studio_changes
feat: Reimagine certificate_availability_date and certificates_display_behavior
2021-07-07 09:45:06 -04:00
Justin Hynes
e8fe0d1bfc Merge pull request #28101 from edx/jhynes/microba-1311_remove
feat!: Remove temp certificates mgmt cmd
2021-07-07 08:14:07 -04:00
Usama Sadiq
e25f00f35c fix: Removed unnecessary constraints (#27915)
Updated constraints of following packages:
inflect,geoip2,maxmindb,path,isort (isort>5.0.0 introduced wrong-import-order warnings so disabled the warning)
2021-07-07 13:56:18 +05:00
edX cache uploader bot
27d57d1b7e Updating Bokchoy testing database cache (#28099) 2021-07-07 11:45:36 +05:00
Matt Tuchfarber
2a7106acfb feat: reimagine certificate display settings
The course settings `certificate_available_date` (CAD) and
`certificates_display_behavior` (CDB) were previously acting indedependantly
of one another. They now work in tandem. This change:
- limits CDB to a dropdown
- removes "early_with_info" and adds "end_with_date"
- only takes CAD into account if "end_with_date" is selected
- Moves CDB to the main course schedule settings page
- updates CourseOverview to validate these fields and choose sane
defaults if they aren't expected values

Certificates will now show under the following circumstances:
"Immediately upon passing"
certificate_availability_date = null
certificates_display_behavior = "early_no_info"

"End date of course"
certificate_availability_date = null
certificates_display_behavior = "end"

"A date after the course end date"
certificate_availability_date = <date>
certificates_display_behavior = "end_with_date"
2021-07-06 16:45:23 -04:00
Justin Hynes
ecd257ae29 feat!: Remove temp certificates mgmt cmd
[MICROBA-1311]
- Remove temporary management command used to fix records incorrectly created with a default `mode` of "honor".
2021-07-06 15:51:32 -04:00
Christie Rice
384bc6b514 fix: Fix cert status (#28097)
MICROBA-1372
2021-07-06 12:48:21 -04:00
Bianca Severino
666dc22bd0 Merge pull request #28085 from edx/bseverino/proctoring-course-overview
[MST-864] Add proctoring fields to course overview
2021-07-06 12:03:15 -04:00
Kyle McCormick
d86aa824c1 revert: feat: add & expose courseware.use_learning_sequences_api flag (#28054)
The learning_sequences.use_for_outlines flag was recently added,
intended to serve the same purpose
as courseware.use_learning_seuqences_api. We do not need
both flags.

Furthermore, exposing either flag in the Courseware
Metadata API is neither necessary nor helpful, since
the easiest and quickest way for the Learning MFE to see
if the Learning Sequences API is enabled is to hit it,
and fall back to a different API if a 403 is returned.

This reverts commit 78f1e2b3bd.

TNL-8330
2021-07-06 11:34:40 -04:00
Thomas Tracy
986f52faab [feat] Add has_scheduled_content to outline API
The outline API that the learning MFE needs to know if a course has
upcomming content for a new alert.
2021-07-06 11:33:53 -04:00
Christie Rice
b8114ebc59 fix: Remove V2 certificate checks, since V2 has been enabled globally for all course runs (#28077)
MICROBA-1083 DEPR-155
2021-07-06 11:00:54 -04:00
Zachary Hancock
a70578862e chore: version bump edx-proctoring (#28084) 2021-07-06 09:43:48 -04:00
edX cache uploader bot
36319bda48 Updating Bokchoy testing database cache (#28087) 2021-07-03 08:40:54 +05:00
taliaedX
5fa58fe219 Merge pull request #28083 from edx/trhodes/enterprise-bump-july022021
chore: update edx-enterprise
2021-07-02 14:34:45 -04:00
Bianca Severino
e1738b71ed feat: add proctoring fields to course overview 2021-07-02 14:26:48 -04:00
Talia
e52a468970 chore: update edx-enterprise 2021-07-02 12:16:18 -04:00
Matthew Piatetsky
0fc4fb581f Merge pull request #28033 from edx/AA-874
[AA-874] feat: add user id parameter to progress page
2021-07-02 08:39:16 -04:00
edX cache uploader bot
e2319b972b Updating Bokchoy testing database cache (#28079) 2021-07-02 04:59:05 +05:00
Matthew Piatetsky
6922f75a52 feat: add user id parameter to progress page 2021-07-01 15:50:13 -04:00
Manjinder Singh
9b25e2d3da refactor: noop migration for testing (#28078)
This is a noop migration for testing changes
to the deployment pipeline.
2021-07-01 14:28:00 -04:00
David Ormsbee
741f0b6a88 Merge pull request #27858 from mitodl/hamza/add_validation_to_capa_problem_authoring_markdown
add validation to capa problem markdown for missing option text and fix response report generation for old problems
2021-07-01 14:09:32 -04:00
Adeel Ehsan
ee640cb7b2 Merge pull request #28075 from edx/aehsan/activation_cta_outline_removed
focused outline removed
2021-07-01 22:07:28 +05:00
Feanil Patel
4b2987205c Merge pull request #28066 from edx/feanil/arch-1821-alternative
fix!: Make default queue names service variant specific.
2021-07-01 09:56:18 -04:00
Justin Hynes
c1eb7c9054 Merge pull request #28070 from edx/jhynes/microba-1298
feat!: Remove certificate generation segment event
2021-07-01 09:43:04 -04:00
Justin Hynes
ad9c580ae1 Merge pull request #28064 from edx/jhynes/microba-1311_fix
feat: Add temporary mgmt cmd to fix certificate data
2021-07-01 08:39:11 -04:00
M. Zulqarnain
84f7221225 Remove a11y and migrations test (#28061) 2021-07-01 13:59:01 +05:00
adeelehsan
254594dbed focused outline removed 2021-07-01 13:09:56 +05:00
edX Transifex Bot
667f6af666 geoip2: update maxmind geolite country database 2021-07-01 02:23:10 +05:00
Robert Raposa
fdd057b2ad refactor: noop migration for testing (#28052)
This is a noop migration for testing changes
to the deployment pipeline.
2021-06-30 14:49:10 -04:00
Arjun Singh Yadav
52ab785764 fix: set answer notification alignment to bottom (#27022)
On focus to the answer submition notification, the
notification was scrolled to center of screen. This
behaviour was on Chrome(87+) browser.
This commits overrides the focus jQuery plugin to
set the alignment of answer notifications to the bottom of the
viewport.

Fix the custom focus jQuery plugin

Co-authored-by: Agrendalath
2021-06-30 14:34:44 -04:00
Justin Hynes
c40e772d04 feat: Add temporary mgmt cmd to fix certificate data
[MICROBA-1311]
* Add temporary mgmt cmd to certificates app to fix certificate records with incorrect data stemming from CR-3792.
2021-06-30 12:58:15 -04:00
Justin Hynes
4cd15acaf9 Fix failing unit test in courseware 2021-06-30 10:21:10 -04:00
Feanil Patel
c2d848860d fix!: Make default queue names service variant specific.
common.py has queue names that always get overridden by production.py
and lead to confusion.  Set a default SERVICE_VANIANT in common.py and
then set the queue names based on that in common.py so that
production.py doesn't make it more complicated.

This should prevent the issue where if you copy a queue name in
common.py it ends up being incorrect in the production system.  This is
what happened with the sample_task change.

https://github.com/edx/edx-platform/pull/23731 made it so that the queue
name for that queue is independently configurable but the default was
set to the value of HIGH_PRIORITY_QUEUE in common.py which is not the
same as the value set in production.py leading to stale tasks that never
get picked up in production.

BREAKING_CHANGE: If anyone was building a different settings file on top
of common, the default names in common.py are now change to be service
variant specific. eg 'edx.cms.core.high' instead of 'edx.core.high'
2021-06-30 10:06:28 -04:00
Justin Hynes
c1f7272174 feat!: Remove certificate generation segment event
[MICROBA-1298]
* Remove a Segment certificate event that was, historically, only emit from the courseware.

The Segment event that was previously (only) issued in the courseware doesn't seem to be important or referenced anywhere we could see. Since this event only tracked certificate generation attempts from one (of multiple) paths to initiate certificate generation in v1, I didn't think the historical event data captured is complete. We approached our data teams and I determined this event was not of high importance. For this reason, I am suggesting we just stop using this event and remove the code responsible for sending it.

We will continue to track certificate creation/generation using the existing `edx.certificate.created` event.
2021-06-30 09:23:46 -04:00
David Ormsbee
66be836363 fix: remove MathJax loading status bar in courseware (TNL-8448)
Loading messages for MathJax are distracting and not actionable. They
also delay the time to final render for many pages that do not actually
have math on them. This removes them.
2021-06-30 09:13:08 -04:00
Christie Rice
e0b3829252 feat!: Remove management commands for V1 of course certificates, and PDF course certificates. (#28053)
These have been replaced by V2 of course certificates, and the cert_generation management command.

DEPR-155 MICROBA-1357 MICROBA-1358
2021-06-30 09:09:03 -04:00
Braden MacDonald
e2a867e975 fix: xblock-poll's celery tasks were not registered (#28019) 2021-06-30 16:10:56 +05:00
irfanuddinahmad
5e995bd47a Merge pull request #28068 from edx/iahmad/ENT-4666
chore: ENT-4666 Upgraded edx-enterprise
2021-06-30 15:31:05 +05:00
irfanuddinahmad
3606d89366 chore: Upgraded edx-enterprise 2021-06-30 14:12:02 +05:00
Zaman Afzal
843e9ba29b ENT4083: Removed ENABLE_MULTIPLE_USER_ENTERPRISES_FEATURE waffle switch (#28057) 2021-06-30 13:58:11 +05:00
AsadAzam
7212c74713 fix: remove edx-next as a discussion provider (#28059) 2021-06-30 11:08:37 +05:00
Binod Pant
9fb39562c9 feat: Upgrade edx-enterprise to 3.26.12 ENT-4594 (#28063)
* feat: Upgrade edx-enterprise to 3.26.13

Canvas client create_or_update, and detection of deleted courses

ENT-4594

* fix: Use correct edx-enterprise version

ENT-4594

ENT-4594
2021-06-29 20:14:53 -04:00
Michael Roytman
198a190f14 Merge pull request #28042 from edx/mroytman/MST-761-bump-edx-proctoring-3.17.1
feat: Upgrade edx-proctoring Library to Version 3.17.1
2021-06-29 15:46:35 -04:00
Kshitij Sobti
8fd3ff706d fix: Creates a squashed migration for xblock_config that removes moved model
A previous PR moved the CourseEditLTIFieldsEnabledFlag model to the LTI consumer
XBlock's repo. The migrations in the XBlock repo check if the model already
exists, and if so, it will avoid creating the model. However, it seems that
in some cases the LTI consumer XBlock's migrations run first, creating the model
and causing the edx-platform migrations to fail due to a pre-existing table
since no such check is performed in the migrations in edx-platform.

Since the only migrations that exist for this model are one that creates it and
another that deletes it, this change creates a squashed miration that just skips
creating the model since for new installs the LTI Consumer XBlock should handle
it.
2021-06-29 23:11:53 +05:00
Michael Terry
109037d05b Merge pull request #28050 from edx/mikix/robust-redirect
fix: jump_to should redirect to first unit on invalid key
2021-06-29 09:10:45 -04:00
edX requirements bot
2bf176d523 chore: Updating Python Requirements (#28055) 2021-06-29 12:22:47 +05:00
Kristin Aoki
1d6c53ab1f Fix: Add ContentErrorData for Course Outline DAGs (#28029)
This PR fixes Course Outline DAGs with duplicate sequences. Previously
when a course outline had duplicate sequences, the outline would not generate
and raise a ValueError. There were no checks for duplicate sequences
before the generation of the course outline because it is not possible
to create duplicate sequences in Studio, but is possible when a Course
Author imports a course. Now before the course outline is generated, it
will be checked for duplicate sequences. If a duplicate sequence is
found an error will be logged for Partner Support to see in the Django
Admin and the duplicate will be deleted. This change will impact the
Course Author.
2021-06-28 16:21:02 -04:00