Robert Raposa
f060872878
update waffle flag and docs ( #24299 )
...
- update ADR to provide more alternatives for updating
the default value of a flag.
- add a `flag_` prefix to the flag metrics
- add module-level note about flag metrics
- add NewRelic query example and warning
- fix typo in toggle annotation
ARCHBOM-1302
2020-06-23 13:55:06 -04:00
Nick
e8fc653c86
Merge pull request #24285 from edx/ndalfonso/AA-142-calendar-sync-ses
...
AA-142 calendar sync ses
2020-06-23 13:52:42 -04:00
Robert Raposa
6a5d95a517
fix quality
2020-06-23 13:26:31 -04:00
Nicholas D'Alfonso
5b1d181491
AA-142 calendar sync ses
...
- set up util function to use Amazon SES for sending calendar
sync emails.
- remove old sailthru code which we originally implemented for
this functionality
- include ADR on our decision to use SES instead of Sailthru.
2020-06-23 12:14:03 -04:00
Matthew Piatetsky
b3c2d37dcc
Merge pull request #24214 from edx/REV-774
...
[REV-774] Show content type gating upsell when a limited access learner tries to access a timed exam
2020-06-23 11:48:31 -04:00
Robert Raposa
624012e11c
remove ENABLE_VIDEO_URL_REWRITE
...
The temporary waffle flag ENABLE_VIDEO_URL_REWRITE is no
longer needed, becaues the rollout is complete.
See https://openedx.atlassian.net/browse/PROD-62
ARCHBOM-1304
2020-06-23 11:19:32 -04:00
Luis Moreno
1d557616b1
Fix test for python3.8
2020-06-23 10:16:37 -04:00
Feanil Patel
1643d07705
Merge pull request #24293 from edx/jenkins/upgrade-python-requirements-083f1bb
...
Python Requirements Update
2020-06-23 09:54:12 -04:00
Aarif
27480cdd2f
Removed deprecated future imports
2020-06-23 18:51:43 +05:00
Awais Qureshi
e34b052002
Merge pull request #23939 from eduNEXT/lmz/fixing_cgi_escape_warning
...
Fixing cgi.escape DeprecationWarning
2020-06-23 18:22:06 +05:00
edX requirements bot
6031802f9c
Updating Python Requirements
2020-06-23 06:49:02 -04:00
daphneli-chen
083f1bb8b2
Merge pull request #24287 from edx/dlichen/AA122
...
AA-122 created framework for dates widget on course outline
2020-06-22 16:58:05 -04:00
Daphne Li-Chen
84b08f366d
AA-122 created framework for dates widget on course outline
2020-06-22 16:24:39 -04:00
Matthew Piatetsky
78317ca115
Show content type gating upsell when a limited access learner tries to access a timed exam
...
Otherwise, these learners could start the timer and then be unable to take the exam once they have access to the content
REV-774
2020-06-22 16:18:58 -04:00
Carla Duarte
f1b15b677d
AA-186: Updating Course Home Course Metadata API
...
Added `is_enrolled` field to check if user's enrollment is active.
2020-06-22 15:19:24 -04:00
leomartinez2019
943bd6f15b
Fixing cgi.escape DeprecationWarning
...
- Change cgi.escape to html.escape
- Add quote=False to html.escape
- Use function HTML() to address python-wrap-html warning
2020-06-22 14:41:27 -04:00
Jansen Kantor
5c0fd63f13
emit an event when removing users from teams via csv ( #24271 )
2020-06-22 14:25:05 -04:00
Michael Roytman
af36b2941d
Merge pull request #24273 from edx/mroytman/PROD-1761-advanced-settings-proctoring-fix
...
Add condition to check whether the user has requested a change to the…
2020-06-22 14:02:11 -04:00
Robert Raposa
a1ed944c72
add temp waffle flag default metric ( #24284 )
...
The argument flag_undefined_default is soon to be retired
once ARCHBOM-132 is closed. The following will be used to
help ensure the rollout is complete.
- Add a temporary metric if flag_undefined_default is used.
- Add deprecation warning for flag_undefined_default.
- Add minor fix for waffle flag metric when no request found.
ARCHBOM-132
2020-06-22 13:53:17 -04:00
Feanil Patel
950be9247f
Merge pull request #24281 from edx/jenkins/upgrade-python-requirements-4f6aad4
...
Python Requirements Update
2020-06-22 11:46:15 -04:00
Michael Roytman
57d5736337
Add condition to check whether the user has requested a change to the proctoring_provider Advanced Setting. In the case that the setting is not available (i.e. the ENABLE_PROCTORING_PROVIDER_OVERRIDES waffle flag is not enabled for the course), the requested proctoring_provider will be None. We should consider, in this case, that the user has not requested a change to the proctoring_provider setting and therefore should not prevent the user from saving course settings if the other conditions for preventing changes to the proctoring_provider setting are met.
2020-06-22 11:22:23 -04:00
Awais Qureshi
576ad48dbd
Merge pull request #24274 from eduNEXT/eric/py38_dict_insertion_order
...
[BD-6] Update dicts order to fix tests
2020-06-22 20:10:49 +05:00
Nathan Sprenkle
9fb056a6d2
Update ORA2 and Submissions ( #24253 )
...
edx-ora2==2.4.8
edx-submissions==3.1.11
2020-06-22 11:05:07 -04:00
Robert Raposa
5ea9d313ad
add ADR for waffle flag default ( #24272 )
...
We are changing how we handle updates to a waffle flag
default, and the ADR explains why and how.
ARCHBOM-1303
2020-06-22 10:12:10 -04:00
Robert Raposa
343a5a8a74
update waffle flag custom metrics ( #24270 )
...
The previous version of this code used the Django Setting
ENABLE_WAFFLE_FLAG_METRIC to determine whether to add a single
metric with a dict of details about all flags. Due to
NewRelic's 256 character limit on the metric value, this was
getting truncated.
This new version instead uses the Django Setting
WAFFLE_FLAG_CUSTOM_METRICS, a list of waffle flag names to
instrument.
The name of each custom metric will match the name of the flag.
The value of the custom metric could be False, True, or Both.
The value Both would mean that the flag had both a True and False
value at different times during the transaction. This is most
likely due to having a check_before_waffle_callback, as is the
case with CourseWaffleFlag.
ARCHBOM-132
2020-06-22 10:11:40 -04:00
taliaedX
08f358c497
Merge pull request #24263 from edx/trhodes/update_edxplat_requirements
...
update requirements post edx-enterprise change
2020-06-22 09:35:39 -04:00
atesker
34171e6d6e
Disallow the condition of trying to add a master's learner to a non-protected team.
2020-06-22 09:20:32 -04:00
edX cache uploader bot
98ebb2df44
Updating Bokchoy testing database cache ( #24269 )
2020-06-22 09:02:48 -04:00
Michael Terry
7fbe2ff6da
Merge pull request #24234 from edx/mikix/instructor-dashboard-pls
...
AA-184: Fix extension dashboard for self-paced courses
2020-06-22 08:56:27 -04:00
Ahtisham Shahid
5707bbdc90
updated confirm_email field type ( #24205 )
...
* updated confirm_email field type and removed confirm email form v1
2020-06-22 17:10:41 +05:00
edX requirements bot
2e6d561e6b
Updating Python Requirements
2020-06-22 06:45:53 -04:00
edX Transifex Bot
4f6aad45c8
fix(i18n): update translations
2020-06-21 17:35:47 -04:00
Eric Herrera
3cdd5c4d27
Change some tests dict order to fix assertion after python 3.7 change of preserving insertion order in dicts.
2020-06-21 09:32:34 -05:00
Michael Roytman
361a2c92b3
Merge pull request #24266 from edx/mroytman/course-fields-exclude-list
...
rename blacklist/whitelist to exclude list/include list in Course Met…
2020-06-19 16:42:10 -04:00
Talia Rhodes
c56a506edf
update requirements
2020-06-19 16:00:56 -04:00
Brandon Baker
38496d55c5
Pin django-ses to 0.8.14 to avoid AttributeError ( #24267 )
...
Upgrade to 1.0.0 caused issues which are described and being
investigated in https://github.com/django-ses/django-ses/issues/186 .
2020-06-19 15:23:34 -04:00
Michael Roytman
6a21cd3f91
rename blacklist/whitelist to exclude list/include list in Course Metadata class
2020-06-19 14:33:41 -04:00
edX requirements bot
2e9df7c3cf
Updating Python Requirements ( #24260 )
2020-06-19 16:33:19 +00:00
David Ormsbee
e69a5fce56
Merge pull request #24220 from open-craft/samuel/fix-youtube-metadata-api
...
SE-2634 Fix crashes in yt_video_metadata
2020-06-19 12:24:28 -04:00
Awais Qureshi
91a0af2f47
Merge pull request #24257 from eduNEXT/lmm/mako_upgrade
...
[BD-6] Remove constraint from mako
2020-06-19 21:16:36 +05:00
Manjinder Singh
566765f919
Removing flaky test ( #24262 )
2020-06-19 12:13:52 -04:00
David Ormsbee
0b4cf7e06c
Merge pull request #23039 from open-craft/samuel/fix-unescaped-selector
...
SE-2176 Fix elem not selected if id contains special chars
2020-06-19 12:13:20 -04:00
David Ormsbee
bfce2af065
Merge pull request #24058 from open-craft/arbrandes/optimize-blockstore-cache-v2
...
Optimize blockstore cache
2020-06-19 12:11:59 -04:00
Talia Rhodes
34f7dd2934
update requirements post edx-enterprise change
2020-06-19 12:00:25 -04:00
Michael Terry
d4506b73f4
AA-184: Fix extension dashboard for self-paced courses
...
- Have it load dates from edx-when, not just write to it. This
fixes self-paced courses where edx-when is only place dates are
kept.
- Have it read original date for a homework from edx-when when
resetting a date. This fixes the message it gives the instructor
about whether it was successfully reset.
- Have it recursively set a date, rather than assuming that dates
are only ever set on the subsection layer. This fixes setting
dates on self-paced courses (where dates are set all the way
down) and just in case somebody somewhere edits the course xml
to have a date where it's not expected.
2020-06-19 11:34:52 -04:00
Luis Moreno
66d9829443
Remove constraint from mako
2020-06-19 10:50:27 -04:00
Dillon Dumesnil
a1e0dcc495
Merge pull request #24241 from edx/ddumesnil/AA-194
...
AA-194: Updating edx-when version
2020-06-19 07:48:47 -07:00
Dillon Dumesnil
1f035ab420
AA-194: Updating edx-when version
...
Updating edx-when version to pull in a change related to not
returning dates if the enrollment happened after course end
(if no enrollment end date is set)
2020-06-19 07:28:12 -07:00
edX cache uploader bot
fa5b0ade5c
Updating Bokchoy testing database cache ( #24261 )
2020-06-19 14:08:17 +00:00
Leonardo Martinez
b4fee68283
Fix the DeprecationWarning for unescape ( #23936 )
...
This PR solves the DeprecationWarning mentioned in:
https://build.testeng.edx.org/job/edx-platform-python-pipeline-master/warning_5freport_5fall_2ehtml/
HTMLParser was renamed in html.parser in Python3:
https://docs.python.org/2/library/htmlparser.html#module-HTMLParser
* html_parser.HTMLParser().unescape from six.moves has been deprecated
* instead use html.unescape from Python3
Documentation for unescape in Python3:
https://docs.python.org/3/library/html.html#html.unescape
- html_parser from six.moves has been deprecated
- instead use html.parser from Python3
- Order imports using isort
- Delete unused import crum
2020-06-19 09:27:45 -04:00