Commit Graph

58989 Commits

Author SHA1 Message Date
edX cache uploader bot
7a6ac8642d Updating Bokchoy testing database cache (#27769) 2021-05-28 20:39:49 +05:00
Kyle McCormick
8f577003fe refactor: uninstall user_tasks app from lms (#27754)
The user_tasks app is only needed by a cms feature.
However, it has been listed under INSTALLED_APPS
for both cms and lms because app-permissions only ran
in an lms context until recently.

Since app-permissions now creates the user_tasks_admin
group in a cms context, the app can be safely removed
from lms's INSTALLED_APPS.

TNL-8274
2021-05-28 10:19:48 -04:00
Adam Stankiewicz
50c8ab2d7b fix: close modal on escape keydown (#27758) 2021-05-28 10:01:12 -04:00
Awais Qureshi
636b2ca4c5 Merge pull request #27764 from edx/django-user-constraint
feat: Adding temporary constraint to check the newly merged changes.
2021-05-28 15:57:55 +05:00
Awais Qureshi
adf81fb69a feat: Adding temporary constraint to check the newly merged changes in package. 2021-05-28 14:11:11 +05:00
edX requirements bot
0021be0a71 Updating Python Requirements (#27759) 2021-05-28 12:47:49 +05:00
=Awais Jibran
1b8195be60 Fix NR Dashbaord inconsistency with failed state 2021-05-28 11:04:52 +05:00
Binod Pant
889458e243 feat: Upgrade edx-enterprise for ENT-4593 (#27755)
ENT-4593 to conclude courses in Canvas, instead of delete, on delete_content_metadata

ENT-4593
2021-05-27 16:55:39 -04:00
Matthew Piatetsky
f7e986f3b0 Merge pull request #27746 from edx/expose_streak_celebration_to_django_admin
[AA-759] feat: add admin for the User Celebration Model
2021-05-27 15:57:45 -04:00
Adam Stankiewicz
31f66a4f2c feat: enterprise learner portal access modal (#27736)
* feat: enterprise learner portal access modal

* fix: quality

* fix: remove log.info
2021-05-27 15:31:27 -04:00
Matthew Piatetsky
8978bc26e1 feat: add admin for the User Celebration Model 2021-05-27 15:19:24 -04:00
Régis Behmo
a131d63608 feat: run mypy as part of testing the codebase
The edx-platform codebase already includes quite a few type annotations, but
they were not regularly checked. This may cause problems, when the annotations
themselves include errors (as we found out in some of the learning_sequences
annotations). So here, we add mypy as a dev requirement and introduce a make
command to run mypy regularly. Mypy runs on a very small portion of the total
edx-platform, as configured in mypy.ini. Our hope is that developers will add
more and more modules to this configuration file, until we can eventually run
mypy on the full code base.

See discussion: https://discuss.openedx.org/t/dev-notes-running-mypy-on-edx-platform/4860
2021-05-27 13:54:37 -04:00
Matthew Piatetsky
1d282aac5a Merge pull request #27735 from edx/AA-825
[AA-825] feat: add stacked config model for disabling the frontend-app-learnin…g progress page
2021-05-27 12:09:29 -04:00
Matt Tuchfarber
b6fe11ea43 Merge pull request #27737 from edx/tuchfarber/fix_program_explicit_queue
fix: remap explicit queues for program tasks
2021-05-27 11:01:11 -04:00
Matthew Piatetsky
e6268470b8 feat: add stacked config model for disabling the frontend-app-learning progress page 2021-05-27 10:40:43 -04:00
Matt Tuchfarber
e4d3c1a59b fix: remap explicit queues for program tasks
Program tasks got moved from tasks.v1.tasks.py to just tasks.py, but
the mapping was never updated.
2021-05-27 10:01:02 -04:00
Michael Roytman
5986de0d0a Merge pull request #27745 from edx/mroytman/bump-edx-proctoring-version-to-3.11.3
chore: update edx-proctoring version
2021-05-27 09:53:02 -04:00
Michael Roytman
791c535fca chore: update edx-proctoring version
This version of the edx-proctoring library includes a fix to a bug in the onboarding status panel. This bug was preventing the appearance of the onboarding panel in a learner's course outline if an onboarding exam in the course was inaccessible to the learner in such a way that the Learning Sequences API did not return schedule information for the sequence. An onboarding exam that is content gated by enrollment track to an enrollment track in which the learner is not enrolled is an example of this. The bug was that the StudentOnboardingStatusView was not taking into account that an inaccessible sequence might not have a schedule.
2021-05-27 09:11:18 -04:00
Justin Hynes
3218ee4f1c Merge pull request #27723 from edx/jhynes/microba-1075_events
feat: add `edx.certificate.revoked` event
2021-05-27 09:11:09 -04:00
edX requirements bot
5d69d858e2 Updating Python Requirements (#27740) 2021-05-27 12:27:37 +05:00
stvn
459eb35464 merge(#27671): stv/build/list-xblocks
commits
=======
- build: add script to list installed XBlocks
2021-05-26 21:20:00 -07:00
stvn
2f2355b705 build: add script to list installed XBlocks
Story
=====
As an XBlock developer,
I want to know which XBlocks are installed
so I can debug (and know which to add to Advanced Settings in Studio).

Testing
=======
- `make studio-shell`
- `python scripts/xblock/list-installed.py`

Integration
===========
I plan to invoke this from `devstack` (after installing XBlocks).

Tickets
=======
Fixes CENG-95
Fixes stvstnfrd/openedx-meta#153
2021-05-26 15:02:22 -07:00
edX Transifex Bot
b4fa41c869 geoip2: update maxmind geolite country database 2021-05-27 02:22:09 +05:00
Thomas Tracy
4d8abcac00 MB-1067: [refactor] Change credentials date backfill to single longlived task (#27734)
[refactor] change backfill date task to long running task

Change from a task that spins off multiple other tasks to a single long
running task. This will hopefully be way less heavy when this is ran in
production.
2021-05-26 16:31:22 -04:00
Diane Kaplan
c3a22eb6e5 feat: remove course_home_welcome upsell link (REV-2131) (#27603) 2021-05-26 15:13:09 -04:00
Awais Jibran
5078f9cc63 Update devstack.py 2021-05-26 23:44:14 +05:00
João Cabrita
23eb110c26 fix: Produce grade report when subsections have future start dates
When getting a subsection grade for a user, instead of failing
if the user can't access that subsection,
fallback to the collected structure.
2021-05-26 11:16:37 -07:00
Diane Kaplan
5ac710995d feat: remove course_home_course_tools upsell link (REV-2131) 2021-05-26 12:02:18 -04:00
Matthew Piatetsky
bb58466498 Merge pull request #27731 from edx/AA-759
[AA-759] update name of flag in bucketing check
2021-05-26 10:17:18 -04:00
Matthew Piatetsky
c2d291781d update name of flag in bucketing check 2021-05-26 09:24:03 -04:00
Peter Pinch
20b760752a refactor: remove obsolete setting ENABLE_INSTRUCTOR_ANALYTICS (#27720)
ENABLE_INSTRUCTOR_ANALYTICS was removed in 2015 by bb7ba752bd
2021-05-26 09:02:22 -04:00
Kshitij Sobti
7abb417b0f feat: Add a waffle flag to show/hide a link to the pages and resources view
The Pages and Resources view in the Course Autoring MFE is in development and
this flag allows enabling a link to it from the existing Pages view in Studio
using a waffle flag.
2021-05-26 16:28:07 +05:00
edX requirements bot
68f4c086c3 Updating Python Requirements (#27727) 2021-05-26 12:37:00 +05:00
Thomas Tracy
089dbf6e20 [refactor] Move backfill_date_for_all_course_runs to Tasks.py (#27725)
* [refactor] Move backfill_date_for_all_course_runs to Tasks.py

In order for celery to register this task, it needs to be in the right
file. duh!

* fix imports

* fix more imports
2021-05-25 16:53:26 -04:00
Justin Hynes
48f4f9f475 feat: add edx.certificate.revoked event
[MICROBA-1075]
- Adds a new `edx.certificate.revoked` event to the LMS.
- Refactor of our certificate revocation functions in the GeneratedCertificate model.

This new event will be emit when a GeneratedCertificate with the status of `downloadable` is revoked (through the `invalidate(), mark_notpassing(), or mark_unverified() functions). Event will have a `source` field that will allow us how our certificates are being revoked from learners and can be broken down in the following way:
*Invalidate*
- allowlist_removal
- certificate_generation
- certificate_regeneration
- certificate_service
- certificate_invalidation_list
- bulk_certificate_regeneration

*mark_notpassing*
- certificate_generation
- notpassing_signal

*unverified*
- certificate_generation
2021-05-25 13:44:01 -04:00
Christie Rice
a699fe5281 docs: Add documentation for GeneratedCertificate fields (#27722)
MICROBA-1218
2021-05-25 13:27:56 -04:00
jawad khan
15f33dc1b2 revert: show empty container blocks from the course blocks api when called by mobile (#27707)
REVE-52 is merged and mobile
traffic from older app versions is < 5% of the mobile traffic.
Therefore we dont need changes from this PR 325fbe4eb2 (diff-c061bf405edf96531766b26cc2bcc2bb3639d851e5d9f844612c2ea57c35e56e)

LEARNER-8377
2021-05-25 20:30:26 +05:00
alangsto
556e82493d chore: update edx-proctoring version (#27721) 2021-05-25 10:46:12 -04:00
Gábor Boros
baca47782b feat: add CCX ID to generated filename prefixes (#27028) 2021-05-25 10:25:07 -04:00
Dillon Dumesnil
1bc3430ba9 Merge pull request #27713 from edx/ddumesnil/update-shift-dates-logic-aa-767
fix: Update the shift dates logic for problems
2021-05-25 07:21:22 -07:00
Awais Jibran
1fb0ed58bb chore: moving modal-config to constraints.txt (#27710) 2021-05-25 12:09:37 +05:00
edX requirements bot
38f7dac02b chore: Updating Python Requirements (#27716) 2021-05-25 11:26:23 +05:00
Dillon Dumesnil
4230f1fb39 fix: Update the shift dates logic for problems
Even if a learner could technically continue to attempt a problem,
if they didn't have any missed deadlines in the course, we would
never display the ability to shift dates. This corrects that to
not require a missed deadline. The banner on the unit is still gated
by needing a missed deadline.
2021-05-24 17:00:43 -04:00
Michael Roytman
5ffc1d0d27 Merge pull request #27711 from edx/mroytman/MST-746-bump-edx-proctoring-version-to-3.11.0
chore: update edx-proctoring version
2021-05-24 15:42:58 -04:00
Thomas Tracy
0b00b40259 MB-1067: Management command to populate credentials availability date (#27650)
* [feat] Management command to populate credentials availability date

This is a command to populate the new CredentialsCertificate model's
available_date for every existing course_run.
2021-05-24 15:30:14 -04:00
Michael Roytman
95e5a1651d chore: update edx-proctoring version
This version of the edx-proctoring library includes changes to the onboarding status panel that is displayed in a learner's course outline. If all onboarding exams are past due, the button to go to the onboarding exam will be grayed out and will contain the text "Onboarding Past Due". If there are any available onboarding exams, the panel will work as before. If there are any onboarding exams that will be released in the future, they will be prioritized over the past due onboarding exams.
2021-05-24 14:58:48 -04:00
alangsto
185fc50066 chore: update edx-proctoring version (#27709)
The latest version of edx-proctoring contains changes that allow a proctoring provider's onboarding status api to be used for the student onboarding info panel
2021-05-24 14:40:28 -04:00
Albert (AJ) St. Aubin
351228cee4 refactor: Updating cert availability messaging.
[MICROBA-678]

Added cert availability date to the API used to get certificate status
by the learning MFE to support updated messaging.

Updated the cert availability messaging in the Coruse Dashboard,
including a text color change.
2021-05-24 12:42:03 -04:00
Felipe Montoya
af0229c447 Merge pull request #27172 from msaqib52/saqib/TSD-CERTIFICATES
[TSD] add annotations for CERTIFICATES_HTML_VIEW feature flag
2021-05-24 11:24:59 -05:00
Sameen Fatima
0be941b224 ENT-4095: Handle coupon expiration date scenario in LMS (#27704) 2021-05-24 14:50:34 +05:00