Commit Graph

21806 Commits

Author SHA1 Message Date
Feanil Patel
2175d00b83 Update celery task discovery config. (#25479)
Update the celery startup code to more closely match the docs.  We believe some of these imports are causeing circulare
dependencies that are causing race conditions in task discovery.  Since all django apps should be loaded using the
django fixup in celery 4, we shouldn't need these other overrides.

https://github.com/celery/celery/blob/v4.4.7/celery/fixups/django.py
https://docs.celeryproject.org/en/v4.4.7/django/first-steps-with-django.html#using-celery-with-django
2020-10-29 10:52:16 -04:00
Saleem Latif
364940b04f Upgraded edx-enterprise verision to 3.9.9 2020-10-29 17:57:08 +05:00
Feanil Patel
375173f1df Use the default autodiscovery instead of passing in the installed apps. (#25467)
Passing in the INSTALLED_APPS lambda seems to result in some tasks for certain apps
like instructor_task and bulk_email to not get discovered properly.
2020-10-28 15:13:24 -04:00
David Ormsbee
0ffd3699fc Add ability to manually fail instructor tasks in batches.
When an InstructorTask is stuck in QUEUING (say if there was a
problem with celery), the support team needs to manually intervene
and mark the task as "FAILED" so that new tasks of that type can
be created for that course. This is usually done one at a time,
but sometimes a bug or outage might cause many tasks to fail at
once, making recovery extremely cumbersome. This commit adds the
ability to do this process in batches.
2020-10-28 09:39:50 -04:00
Simon Chen
1edec15dd5 MST-400 Always return the latest approved valid ID verification (#25453) 2020-10-28 09:27:38 -04:00
Feanil Patel
0191f2f1bb Don't install instructor_task for common testing. (#25459)
* Import instructor tasks explicitly on workers.

Importing them via app config leads to an dependency chain nightmare as lots of other apps get pulled into the startup
and are not configured in situations like testing the common and lib unit tests.  This should register tasks to the celery
workers without messing with the startup dependency chains of the LMS, CMS and test setup.
2020-10-27 18:34:27 -04:00
Michael Terry
94e075c440 Merge pull request #25439 from edx/mikix/verified-mode-mfe
AA-197: Provide cert upgrade info to learning MFE
2020-10-27 10:34:38 -04:00
Matt Tuchfarber
1caf0875df Merge pull request #25381 from edx/tuchfarber/add_exec_ed_course_mdoe
Add Executive Education course mode
2020-10-27 10:09:30 -04:00
Matt Tuchfarber
488f30496e Add Executive Education course mode 2020-10-27 09:38:20 -04:00
Robert Raposa
13e8608bdb Merge pull request #25440 from regisb/regisb/deprecate-defaulttrue-toggles
Deprecate COURSE_OUTLINE_PAGE_FLAG and UNIFIED_COURSE_TAB_FLAG
2020-10-27 09:05:33 -04:00
Michael Terry
a4bd5a7ec9 AA-197: Provide cert upgrade info to learning MFE
Specifically, pass the MFE the audit access expiration date and
let it know when the upgrade deadline has passed, by not passing
any verified mode information along.
2020-10-27 09:05:12 -04:00
Régis Behmo
13a70fcaa6 Deprecate COURSE_OUTLINE_PAGE_FLAG and UNIFIED_COURSE_TAB_FLAG
These flags are deprecated in favor or the DISABLE_* equivalent.
This allows us to get rid of the DefaultTrueWaffleNamespace class.
2020-10-27 10:20:41 +01:00
Kyle McCormick
762b4fdf7f Use AppConfig in instuctor_task app to ensure tasks are discovered
This fixes an issue where instructor_task Celery tasks were not being
auto-discovered, thus leaving them unregistered and unable to be
completed by our Celery workers.

TNL-7652
2020-10-26 15:23:22 -04:00
Albert (AJ) St. Aubin
8cef028429 Update the award_program_cert task to fix celery registration
[MICROBA-676]
2020-10-23 17:08:34 -04:00
Dillon Dumesnil
8bb88df35f Revert "AA-51: Adds in 'Up next' banner to course home" 2020-10-23 11:05:27 -07:00
Nimisha Asthagiri
c9410b55cc Merge pull request #24048 from mitodl/pdpinch/sysadmin-dashboard-remove-adr
ADR for Sysadmin Dashboard deprecation and removal
2020-10-23 12:06:30 -04:00
Carla Duarte
3e2fc5d824 Merge pull request #25413 from edx/ciduarte/AA-405
AA-405: UI fixes for courseware
2020-10-23 10:15:01 -04:00
Carla Duarte
ca7434ce3b AA-405: UI fixes for courseware 2020-10-23 09:20:46 -04:00
Zainab Amir
49ea5f5188 Update logistration MFE feature flag (#25356)
update logistration MFE feature flag to not be used in conjunction
with Accounts MFE toggle.

VAN-11
2020-10-23 12:11:56 +05:00
Peter Pinch
302747835a no longer TBD 2020-10-22 15:55:27 -04:00
Feanil Patel
b73f755487 Revert "Feanil/edx search update (#25406)" (#25412)
This reverts commit 581b20056d.
2020-10-22 15:53:57 -04:00
Feanil Patel
581b20056d Feanil/edx search update (#25406)
OeX_ES-44:  Update edx-search elasticsearch.


* removes redundant doc_types from the lms/cms, replaces courseware
index with doc_types to two indices
* code polishing

* Use a new config variable for ES7 deployment. (#2226)

Co-authored-by: Golub-Sergey <1.golub.sergey.1@gmail.com>
Co-authored-by: Diana Huang <diana.k.huang@gmail.com>
2020-10-22 14:18:19 -04:00
Ahtisham Shahid
64c0cfe16b Fixed UI issues in problem report (#25183)
Fixed height issue in Problem grade report new UI
2020-10-21 20:43:52 +05:00
Saleem Latif
ef63c2b366 Merge pull request #25385 from edx/saleem-latif/ENT-3522
ENT-3522: Request for field to specify locale in Django enterprise accounts
2020-10-21 09:53:28 +05:00
edX Transifex Bot
a62843e764 fix(i18n): update translations 2020-10-20 12:27:28 -04:00
Saleem Latif
43d0a67fa1 Request for field to specify locale in Django enterprise accounts 2020-10-20 17:56:22 +05:00
Dillon Dumesnil
84a60a1f17 AA-385: Adding in migration for LinkedInAddToProfileConfiguration 2020-10-19 12:56:34 -04:00
Dillon Dumesnil
b6dbbb6f83 Merge pull request #25346 from edx/ddumesnil/add-cert-to-linkedin-aa-385
AA-385: Add in LinkedIn Add to Profile to courseware meta API
2020-10-19 07:31:26 -07:00
Kyle McCormick
4847a18a66 Remove sys.path modification for Studio; use sys_path_hacks instead
Also, tweak the un_sys_path.sh script.
2020-10-19 09:34:31 -04:00
Dillon Dumesnil
084ab4c10d AA-385: Add in LinkedIn Add to Profile to courseware meta API
A major update to this function allows it to actually autofill the
certificate information again! I believe LinkedIn changed their API
and we never updated our end. This fixes that!
2020-10-16 10:07:38 -04:00
Asad
ffdb7c5053 Added user disable comment/history apis 2020-10-16 14:01:10 +05:00
Feanil Patel
cc1259376b Add a secret key to bok_choy_dockery.yml so that it can actually be run. 2020-10-15 11:33:12 -04:00
Carla Duarte
e2303198d6 Merge pull request #25350 from edx/ciduarte/AA-357
AA-357: Add DatesBannerSerializerMixin to MFE Outline Tab API
2020-10-15 10:38:31 -04:00
Carla Duarte
8133ae5c44 AA-357: Add DatesBannerSerializerMixin to MFE Outline Tab API 2020-10-15 10:05:09 -04:00
Matthew Piatetsky
651a020fcc Merge pull request #25151 from edx/REV-1510
[REV-1510] Gate sequence if it is a timed exam and contains content type gated problems
2020-10-14 16:54:39 -04:00
Jeremy Bowman
d19368525b DEPR-43 Remove most of the shoppingcart app (#24692)
Removed most of the deprecated shoppingcart app, leaving just enough to allow us to cleanly remove the related database tables later. Also removed the relevant Django settings that weren't in use elsewhere.
2020-10-14 14:24:52 -04:00
Robert Raposa
eea711e5a4 ARCHBOM-1551: update generate_code_owner_mappings.py (#25309)
update generate_code_owner_mappings.py:

* Uses updated 'owner.theme' and 'owner.squad' columns.
* Outputs new CODE_OWNER_THEMES to detail themes.
* Output lowercase names only

ARCHBOM-1551

Co-authored-by: Tim McCormack <tmccormack@edx.org>
2020-10-14 09:34:01 -04:00
Matthew Piatetsky
2153057142 Add XBlock service for content type gating
This is used in this commit to check if a timed exam contains any problems that have been gated by content type gating
REV-1510
2020-10-14 08:02:51 -04:00
Ahtisham Shahid
fe8119a6c6 Added app.py to mobile_api to resolve migration issue (#25327)
removed un-necessary imports
2020-10-13 12:41:22 +05:00
Calen Pennington
4456269508 Merge pull request #25305 from cpennington/always-reference-task-packages-absolutely
Always import task packages by absolute paths
2020-10-08 14:41:00 -04:00
Calen Pennington
2714da86a4 Always import task packages by absolute paths
This follows the recommendation in the Celery documentation so as to
not confuse automatic task name generation.

Docs: https://docs.celeryproject.org/en/stable/userguide/tasks.html#automatic-naming-and-relative-imports
2020-10-08 14:10:17 -04:00
Zainab Amir
9130c28091 Suppress PII from discussion/forum (#25298) 2020-10-08 19:02:41 +05:00
Michael Roytman
3dd6a46395 Merge pull request #25287 from edx/mroytman/MST-432-new-proctoring-features-flag
[MST-432] add a CourseWaffleFlag to toggle various proctoring experience improvements
2020-10-08 09:44:32 -04:00
Michael Roytman
b007c7236c add a CourseWaffleFlag to toggle various proctoring experience improvements 2020-10-07 15:04:00 -04:00
David Ormsbee
5fbc501b23 Merge pull request #21594 from open-craft/guruprasad/fix-non-activated-users-can-access-enrolled-courses
[BB-1504] Fix the automatic enrollment issue for inactive user
2020-10-07 13:01:30 -04:00
Carla Duarte
080f04c18c AA-371: Progress Milestone Waffle Flags 2020-10-07 09:36:07 -04:00
Alex Dusenbery
5a66ed1c41 ENT-3520 | Define enterprise service usernames as a simple list of strings. Upgrade edx-enterprise to 3.8.27 2020-10-06 09:11:30 -04:00
adeelehsan
593cdaa569 Merge pull request #25257 from edx/aehsan/van-80/suppressed_select_fields_in_logistratoin_form
suppressed select field for logistration forms
2020-10-06 14:41:49 +05:00
adeelehsan
a50215031e Merge pull request #25227 from edx/aehsan/van-81/suppressed_email_for_forgot_password
suppressed email in forgot password banner
2020-10-06 14:41:27 +05:00
adeelehsan
07352b84ac suppressed select form fields
VAN-80
2020-10-06 10:52:22 +05:00