Commit Graph

9338 Commits

Author SHA1 Message Date
Régis Behmo
5a618bfdbb Annotate git export settings and toggles in CMS
We take the opportunity to resolve a few linting issues, without affecting the
feature behaviour.
2021-02-09 12:39:48 +01:00
Bianca Severino
54505b82c4 Merge pull request #26436 from edx/bseverino/proctoring-check-fix
[MST-645] Account for no enrollment in courseware rules
2021-02-08 13:39:40 -05:00
Bianca Severino
4fb36709a5 Account for no enrollment in courseware rules 2021-02-08 13:12:52 -05:00
Tim McCormack
b8a6e30bd9 fix: Add new proctoring key to Studio devstack & tests envs (copy from LMS) (#26430)
Turns out it's needed for the Proctoring Settings view.

Also reorder slightly for better clustering.

MST-644
2021-02-08 15:43:51 +00:00
edx-pipeline-bot
930980d732 Merge pull request #26427 from edx/private_to_public_01b389b
Mergeback PR from private to public.
2021-02-08 09:36:23 -05:00
Usama Sadiq
7eb2c40106 Merge branch 'master' into usamasadiq/bom-2327-pylint-amnesty 2021-02-08 18:24:53 +05:00
Usama Sadiq
90666a6231 Merge pull request #26311 from edx/usamasadiq/bom-2305-pylint-amnesty
Applied pylint-amnesty
2021-02-08 18:23:34 +05:00
JayRam Nai
16cc57dc7d docs: Add annotations for EDITABLE_SHORT_DESCRIPTION feature flag (#26401) 2021-02-08 07:56:48 -05:00
Ali Akbar
01b389b73a Merge pull request #221 from edx/IM/security-fixes-10
Incident Management Security Fixes 10
2021-02-08 17:46:16 +05:00
Ali Akbar
06cfaa2d88 Merge pull request #220 from edx/IM/security-fixes-9
Incident Management Security Fixes 9
2021-02-08 17:46:06 +05:00
usamasadiq
7bbde8f0f5 Applied pylint-amnesty 2021-02-08 13:00:22 +05:00
usamasadiq
e6d43ac69c Applied pylint amnesty 2021-02-08 12:45:57 +05:00
Robert Raposa
d7b2ff0be4 Merge pull request #26229 from edx/robrap/warn-against-lms-import-in-cms
warn against import from lms in cms
2021-02-04 12:28:36 -05:00
Ali-D-Akbar
33335cd65d PROD-2023 2021-02-04 10:21:39 +05:00
Ali-D-Akbar
810fd89be6 PROD-2022 2021-02-04 10:21:39 +05:00
Ali-D-Akbar
584ea0b614 PROD-2021 2021-02-04 10:21:39 +05:00
Ali-D-Akbar
2d9531e8d1 PROD-2020 2021-02-04 10:21:39 +05:00
Ali-D-Akbar
cace39bbc7 PROD-2016 2021-02-04 10:21:39 +05:00
Ali-D-Akbar
fd7c526c76 PROD-2001 2021-02-04 10:20:25 +05:00
Ali-D-Akbar
551ec819fc PROD-2000 2021-02-04 10:20:25 +05:00
Ali-D-Akbar
bff5ac45e6 PROD-1998 2021-02-04 10:20:25 +05:00
Ali-D-Akbar
4c2f07e1ed PROD-1997 2021-02-04 10:20:25 +05:00
anjalia28
df45be2e20 [TSD] add toggle annotations for FEATURES['ENABLE_DISCUSSION_SERVICE'] (#26205)
* add toggle annotations for FEATURES['ENABLE_DISCUSSION_SERVICE']
* added comments in cms/envs/common.py
2021-02-03 15:18:14 -05:00
Ali Akbar
c5b0056b30 Merge pull request #215 from edx/IM/security-fixes-6
Incident Management Security Fixes 6
2021-02-04 00:03:38 +05:00
Sarina Canelake
5bf36dfa0c Merge pull request #26268 from edx/sarina/extend-draft-mongo-support
Extend expiration of DEPRECATE_OLD_COURSE_KEYS_IN_STUDIO toggle
2021-02-03 08:28:35 -05:00
Nimisha Asthagiri
aa7ab97f23 Merge pull request #26248 from jramnai/tsd-allow_course_reruns
[TSD] add annotations for ALLOW_COURSE_RERUNS feature flag
2021-02-02 21:09:32 -05:00
Nimisha Asthagiri
242c1a3ade Merge pull request #26245 from jramnai/tsd-disable_mobile_course_available
[TSD] add annotations for DISABLE_MOBILE_COURSE_AVAILABLE feature flag
2021-02-02 21:05:48 -05:00
Nimisha Asthagiri
60319c52d9 Merge pull request #26251 from eduNEXT/TSD_retirement_settings_annotations
[TSD] Adding annotations for User Retirement settings
2021-02-02 21:00:24 -05:00
Usama Sadiq
c4e21bf75f Merge pull request #26315 from edx/usamasadiq/bom-2307-pylint-amnesty
Applied pylint-amnesty
2021-02-02 16:46:44 +05:00
Zulqarnain
ffb9e6cb4b pylint amnesty in cms apps 2021-02-02 15:31:33 +05:00
usamasadiq
8556d670a2 Applied pylint-amnesty 2021-02-02 15:29:41 +05:00
Ali-D-Akbar
afb31f8049 PROD-1993 2021-02-01 15:32:27 +05:00
sarina
766157dbf3 Extend expiration of DEPRECATE_OLD_COURSE_KEYS_IN_STUDIO toggle TNL-7932 2021-01-30 12:20:24 -05:00
Gonzalo
fc3eee17c4 Adding FEATURES[‘ENABLE_EDXNOTES’] annotations
fix PEP8 W291 trailing whitespace

fix too long lines

adding specified django settings for edx-notes-api

change toggle_description

checking CI tests

Final corrections for ENABLE_EDXNOTES toggle
2021-01-29 13:05:00 -05:00
jfavellar90
f7786e1abc Adding annotations for User Retirement settings 2021-01-29 09:47:05 -05:00
Jayram Nai
d54a13455a add annotations for ALLOW_COURSE_RERUNS feature flag 2021-01-29 18:37:54 +05:30
Jayram Nai
df2beaf267 add annotations for DISABLE_MOBILE_COURSE_AVAILABLE feature flag 2021-01-29 17:26:25 +05:30
Ali Akbar
0aa1b8f2bf Merge pull request #214 from edx/IM/security-fixes-5
Incident Management Security Fixes 5
2021-01-29 16:55:08 +05:00
Robert Raposa
4b5adc6a6a warn against import from lms in cms
Adds a warning against import any additional settings
from LMS in CMS due to its incompatibility with our 
future direction. For more details, see the warning.
2021-01-28 17:32:57 -05:00
David Ormsbee
4fde69441c Fix build: use @shared_task for update_outline_from_modulestore_task (#26216)
Update to make update_outline_from_modulestore_task use @shared_task
and @set_code_owner_attribute.
2021-01-28 11:22:39 -05:00
David Ormsbee
5353324c80 Merge pull request #26145 from edx/ormsbee/course-outline-publish-tnl-7733
Push Course Outlines to learning_sequences on publish.
2021-01-28 10:21:11 -05:00
David Ormsbee
669677c78a Push Course Outlines to learning_sequences on publish.
The learning_sequences app has its own model for Course Outlines.
Prior to this commit, these course outlines were only populated by
a management command in the learning_sequences app that queried
modulestore. This commit does a few things:

1. Move the update_course_outline command to live in contentstore
   (i.e. Studio). This makes learning_sequences unaware of
   modulestore, and makes it easier for us to extract it from
   edx-platform (or to plug in different kinds of course outlines).
2. Add tests.
3. Add performance and debug logging to course outline creation.
4. Make course outline creation happen every time a course publish
   happens.

This will allow us to start collecting data about how long building
course outlines takes, and get error reporting around any content
edge cases that break the course outline code.
2021-01-28 09:56:28 -05:00
Awais Jibran
ab60371009 Merge pull request #26187 from edx/aj/fix-studio-favicon
Update studio favicon
2021-01-28 12:39:02 +05:00
Muhammad Soban Javed
d26a59eb67 import task decorator from celery APP instance in CMS (#25953)
* import task decorator from celery APP instance instead of celery package in CMS

* replaced task decorator with shared_task in cms and common

* Fixed import of shared_task

* Fixed import
2021-01-27 18:35:11 +05:00
Awais Jibran
f4c0d63564 Update studio favicon 2021-01-27 15:02:18 +05:00
Robert Raposa
2d7a8358ef Merge pull request #26172 from regisb/regisb/fix-cms-annotation
[BD-21] Fix `ERROR_ON_DEPRECATED_EDX_PLATFORM_IMPORTS` code annotation
2021-01-26 13:09:30 -05:00
Régis Behmo
5f8a2952e9 Fix ERROR_ON_DEPRECATED_EDX_PLATFORM_IMPORTS code annotation
This annotation was causing a linting failure, and a TypeError down the road in
the feature toggle report processing step by
edx-toggles/scripts/feature_toggle_report.py.
2021-01-26 14:25:49 +01:00
Saad Yousaf
78adfc6c6c [TNL-7803] - Add text to new Edge logo (#26097)
* edge logo

* Refactored code

* Refactored code

Co-authored-by: Asad <asadazam93@gmail.com>
2021-01-26 14:14:54 +05:00
Régis Behmo
97399cf97c Fix TypeError during transcript upload to S3
On a platform that is configured to upload video transcripts to S3
(`DEFAULT_FILE_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"`),
uploads from the studio fail with a TypeError: "Unicode-objects must be
encoded before hashing"

A full stacktrace of the issue can be found here:
https://sentry.overhang.io/share/issue/2249b6f67d794c7e986cc288758f4ebe/

This error is triggered by md5 hashing in the botocore library, which
itself is used by the S3Boto3Storage storage class. This error does not
occur with filesystem-based uploads because it does not perform checksum
verification. The reason why this error would not occur on edx.org is
unknown. Similar issues were already fixed from edxval.

To address this issue, we encode the transcript file content prior to
sending it to s3.
2021-01-25 12:23:31 +01:00
Ahtisham Shahid
ed1156a690 Improved traces for new relic in CMS dashboard (#26126)
* Improved traces for new relic in cms dashboard
2021-01-25 14:15:54 +05:00