Commit Graph

22621 Commits

Author SHA1 Message Date
Ned Batchelder
b408d032e4 Merge pull request #25457 from regisb/regisb/squash-lmsinitialization-warning
Squash lms_initialization deprecated import warning
2020-10-30 17:09:09 -04:00
Kyle McCormick
630d30563a Silence DeprecatedEdxPlatformImportWarning by default 2020-10-30 10:20:48 -04:00
Kyle McCormick
090e10683c Rename sys_path_hacks/ to import_shims/
The old folder name is somewhat confusing, because the
folder contains shims to _compensate for the removal
of sys.path hacks_, but does not contain the sys.path
hacks themselves.

Furthermore, this import_shims/ system could also be
used for other import path changes, such as turning
the locally-installed packages in common/lib/
into regular, importable modules
(e.g. `from common.lib.xmodule import abc` instead of
`from xmodule import abc`). So, a name that is not
specific to the sys.path hacks may be better
in the medium-to-long term.

Along the same lines, we also rename SysPathHackWarning
to DeprecatedEdxPlatformImportWarning.
2020-10-30 10:20:48 -04:00
Robert Raposa
0cc46ca5b0 Merge pull request #25332 from regisb/regisb/use-settingdict
[BD-21] Use edx-toggle's SettingDictToggle to document setting-based feature toggles
2020-10-30 08:59:38 -04:00
Samuel Walladge
83144dcc2a Revert "Move lms/cms defaults from configration repo"
This reverts commit 814d1bf52d.
2020-10-30 09:23:10 +10:30
Albert (AJ) St. Aubin
72aa58406b [MICROBA-676] Changes to the notify_credentials task to filter on username 2020-10-29 15:11:09 -04:00
Aarif
1a31236404 updated config to use mysql 5.7 container (#25362) 2020-10-29 21:51:39 +05:00
Jeremy Bowman
efc04e3399 Remove notifier_api app DEPR-111 (#25464)
Part of the notifier service deprecation (DEPR-106).

Also removed pdfminer from the package uninstall list, since we no longer install the package it conflicts with either.
2020-10-29 11:17:23 -04:00
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
asadiqbal
4fc4cf9f38 Added a deprecation message for SysAdmin 2020-10-29 16:44:30 +05:00
Adeel Khan
d61936fdb6 Adds Logistration MFE url for forgot password email.
This patch would enable routing learner to logistration MFE
via forgot password url than on platform when
ENABLE_LOGISTRATION_MICROFRONTEND feature flag is set.

VAN-98
2020-10-29 16:25:20 +05:00
Régis Behmo
daef264ebb Use SettingDictToggle to document ENABLE_ORA_TEAM_SUBMISSIONS 2020-10-29 11:11:02 +01:00
Régis Behmo
87b5463d42 Use SettingDictToggle to document ENTRANCE_EXAMS 2020-10-29 11:11:02 +01:00
Umar Asghar
52ac0e03ae remove users listing and staff listing download csv from the sysadmin 2020-10-29 14:53:51 +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
Régis Behmo
274c5a893b Squash lms_initialization deprecated import warning 2020-10-28 09:30:32 +01: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
Carla Duarte
9a59d48e0a AA-387: WIP 2020-10-22 14:30:26 -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