Commit Graph

9358 Commits

Author SHA1 Message Date
Michael Terry
74887aa216 feat: turn on schedule creation by default
This commit removes several waffle toggles that have been enabled
on edx.org for years. It's time to remove the rollout gating for
these features and enable them by default.

This doesn't directly change any behavior. But it does create new
database objects by default now and allows for enabling other
schedule based features more easily.

Specifically, the following toggles were affected.

schedules.create_schedules_for_course
- Waffle flag removed as always-enabled
- We now always create a schedule when an enrollment is created

schedules.send_updates_for_course
- Waffle flag removed as always-enabled
- Course update emails are sent as long as the ScheduleConfig
  allows it.
- This is not a change in default behavior, because ScheduleConfig
  is off by default.

dynamic_pacing.studio_course_update
- Waffle switch removed as always-enabled
- Course teams can now always edit course updates directly in Studio

ScheduleConfig.create_schedules
ScheduleConfig.hold_back_ratio
- Model fields for rolling out the schedules feature
- Schedules are now always created
- This commit only removes references to these fields, they still
  exist in the database. A future commit will remove them entirely

This commit also adds a new has_highlights field to CourseOverview.
This is used to cache whether a course has highlights, used to
decide which course update email behavior they get. Previously every
enrollment had to dig into the modulestore to determine that.
2021-02-23 12:34:02 -05:00
usamasadiq
96f0915b0f Fixed new pylint warnings.
use generator in any/all()
disable not-callable warnings
disable no-member warnings
Suppressed smaller pylint warnings
Pin edx-proctoring==3.5.0
2021-02-22 16:36:53 +05:00
Manjinder Singh
85242014b6 fix: changed setting to fix login through studio (#26636)
Login redirect was using wrong url, thus making it impossible to login from studio. This settings change should fix that.

Useful information to include:

Which edX user roles will this change impact? "Developer"
Supporting information
https://openedx.atlassian.net/browse/ARCHBOM-1687

Testing instructions
Bring up devstack studio and press sign in. If it redirects you correctly to lms login page, this works!
2021-02-19 14:33:43 -05:00
Michael Terry
139a0f6ee1 Merge pull request #26290 from edx/mikix/effort-estimation
AA-614: Add initial effort estimation block transformer
2021-02-18 08:52:55 -05:00
Michael Terry
1b9119859e AA-614: Add initial effort estimation block transformer 2021-02-18 08:31:19 -05:00
Ali Akbar
096bfe95dc Merge pull request #223 from edx/IM/security-fixes-12
Incident Management Security Fixes 12
2021-02-17 01:31:49 +05:00
Ali Akbar
d0d5cd7a1b Merge pull request #222 from edx/IM/security-fixes-11
Incident Management Security Fixes 11
2021-02-17 01:31:40 +05:00
Feanil Patel
7840c1f248 Merge pull request #26487 from edx/feanil/remove_django_ratelimit_backend
refactor Replace django-ratelimit-backend with django-ratelimit
2021-02-16 11:16:13 -05:00
Ahtisham Shahid
10b8131d70 Removed extra latters from studio dashboard (#26578) 2021-02-16 20:15:48 +05:00
Ahtisham Shahid
774f2956de Created separate view for library (#26273) 2021-02-16 17:39:32 +05:00
Manjinder Singh
a5e3675ce2 docs: annotate comprehensive theming settings 2021-02-12 15:05:55 +00:00
Feanil Patel
6fb93463a8 refactor Replace django-ratelimit-backend with django-ratelimit
We use django-ratelimit to limit per IP login attempts, and then we use
django-ratelimit-backend to limit per username login attempts. This
change replaces the usage of django-ratelimit-backend with another
instance of django-ratelimit so that both limits can be managed by one
library.

This is the first step in being able to fully excise
django-ratelimit-backend from edx-platform. Note that we're still using
the `RateLimitMixin` in openedx/core/djangoapps/oauth_dispatch/dot_overrides/backends.py
because studio and the admin UI still relies on that for rate limiting.
Those login paths will have to be updated before we can remove the mixin
from our auth backend.
2021-02-12 09:52:13 -05:00
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
Ali-D-Akbar
f16d4d943e PROD-2029 2021-02-08 23:00:17 +05:00
Ali-D-Akbar
ebea3c0f62 PROD-2030 2021-02-08 23:00:17 +05:00
Ali-D-Akbar
a34a40923a PROD-2031 2021-02-08 23:00:17 +05:00
Ali-D-Akbar
a2d2c0750b PROD-2032 2021-02-08 22:57:26 +05:00
Ali-D-Akbar
9353504692 PROD-2028 2021-02-08 22:57:26 +05:00
Ali-D-Akbar
28f16251d3 PROD-2026 2021-02-08 22:57:26 +05:00
Ali-D-Akbar
2038215da1 PROD-2027 2021-02-08 22:56:44 +05:00
Ali-D-Akbar
a2a58065b4 PROD-2025 2021-02-08 22:56:44 +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