From c46cab3df9248542c0ada6b579671057981984c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Fri, 24 Jul 2020 08:31:42 +0200 Subject: [PATCH] Revert "Enable LMS sysadmin dashboard by default" This reverts commit 90c5842c1c63788966b1713a48c71d449ee05131. Turns out that the sysadmin dashboard is slated for deprecation. It is currently impossible to download the list of users in csv (see https://discuss.overhang.io/t/tutor-10-0-11-sysadmin-feature-generates-500-error/776/4). We should not attempt to resolve this issue. --- CHANGELOG.md | 4 ++++ tutor/templates/apps/openedx/config/lms.env.json | 1 - tutor/templates/apps/openedx/settings/partials/common_all.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fe3127..8700b84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ Note: Breaking changes between versions are indicated by "💥". +## Unreleased + +- [Feature] Get rid of outdated sysadmin dashboard in LMS at /sysadmin + ## v10.1.0 (2020-07-23) - [Security] Apply edx-platform upstream xss security fixes ([pull request](https://github.com/edx/edx-platform/pull/24568)) diff --git a/tutor/templates/apps/openedx/config/lms.env.json b/tutor/templates/apps/openedx/config/lms.env.json index babf2f8..45888d9 100644 --- a/tutor/templates/apps/openedx/config/lms.env.json +++ b/tutor/templates/apps/openedx/config/lms.env.json @@ -18,7 +18,6 @@ "ENABLE_GRADE_DOWNLOADS": true, "ENABLE_MOBILE_REST_API": true, "ENABLE_OAUTH2_PROVIDER": true, - "ENABLE_SYSADMIN_DASHBOARD": true, "ENABLE_THIRD_PARTY_AUTH": true }, "LMS_ROOT_URL": "{{ "https" if ACTIVATE_HTTPS else "http" }}://{{ LMS_HOST }}", diff --git a/tutor/templates/apps/openedx/settings/partials/common_all.py b/tutor/templates/apps/openedx/settings/partials/common_all.py index ed83fa2..350c7c3 100644 --- a/tutor/templates/apps/openedx/settings/partials/common_all.py +++ b/tutor/templates/apps/openedx/settings/partials/common_all.py @@ -17,7 +17,7 @@ API_ACCESS_FROM_EMAIL = ENV_TOKENS["CONTACT_EMAIL"] # Load module store settings from config files update_module_store_settings(MODULESTORE, doc_store_settings=DOC_STORE_CONFIG) -DATA_DIR = path("/openedx/data/") +DATA_DIR = "/openedx/data/" for store in MODULESTORE["default"]["OPTIONS"]["stores"]: store["OPTIONS"]["fs_root"] = DATA_DIR