Commit Graph

58450 Commits

Author SHA1 Message Date
Simon Chen
681eea44f7 MST-418 retire program_enrollments external_user_key with hashed values instead of setting it to null (#25001) 2020-09-16 21:40:00 -04:00
edX Transifex Bot
d0afacb5a4 geoip2: update maxmind geolite country database 2020-09-16 17:13:29 -04:00
Thomas Tracy
35bbf068a6 Add CSRF code to demographics modal (#24998)
* Add CSRF tokens to demographics modal PATCH

We have temporarilly copied over the CSRF code from frontend-platform to
use with the demographics modal. This code is most likely temporary and
is not maintained like frontend-platform.
2020-09-16 15:12:07 -04:00
Alexander J Sheehan
21168983fb Merge pull request #24997 from edx/asheehan-edx/bumping-3.8.9
bumping enterprise version 3.8.9
2020-09-16 14:19:22 -04:00
Carla Duarte
13732e05d4 Merge pull request #24993 from edx/ciduarte/AA-368
AA-368: Surface resume_block in Outline Tab API
2020-09-16 13:44:47 -04:00
Adam Butterworth
2e23c6458c [TNL-7465] Upgrade bootstrap to 4.0.0 2020-09-16 13:30:53 -04:00
Alexander Sheehan
1369224d48 bumping enterprise version 3.8.9 2020-09-16 13:19:46 -04:00
Carla Duarte
ba89c01e6e AA-368: Surface resume_block in Outline Tab API 2020-09-16 11:03:15 -04:00
Régis Behmo
a4ba4ae45e Clarify many feature toggle annotations across all applications 2020-09-16 15:20:43 +02:00
Régis Behmo
fee9279e6c Fix unused imports in video pipeline 2020-09-16 15:19:16 +02:00
Régis Behmo
e4fc7e86b5 Fix indentation of waffle flag annotation 2020-09-16 15:19:16 +02:00
Régis Behmo
7d93715880 Rename toggle_expiration_date to toggle_target_removal_date
This is part of the changes brought by code-annotations==0.7.0
2020-09-16 15:19:16 +02:00
Régis Behmo
98a13d6a7e Remove deprecated toggle_status annotation
This annotation is deprecated since code-annotations==0.7.0
2020-09-16 15:19:15 +02:00
Régis Behmo
d1f9e769d0 Simplify the toggle_use_case annotation
Since code-annotations==0.7.0, incremental_release, launch_date,
monitored_rollout, graceful_degradation, beta_testing are all considered
as "temporary" use cases.
2020-09-16 15:16:13 +02:00
Régis Behmo
ab0e21455a Get rid of the toggle_category annotation, now deprecated
Since code-annotations==0.7.0, this annotation is not used anymore.
2020-09-16 15:16:13 +02:00
Régis Behmo
0c3bc12582 Fix deprecated toggle annoation format 2020-09-16 15:16:13 +02:00
Régis Behmo
9445bbe930 Document lms/djangoapps/grades feature toggles 2020-09-16 15:16:13 +02:00
Régis Behmo
7dc460d50a Wrap toggle annotation lines with multiline comments
This takes advantage of the new multiline annotation format with
single-line comment prefix, from code-annotations.
2020-09-16 15:16:12 +02:00
Régis Behmo
d34aa1c643 Document lms/djangoapps/courseware feature toggles 2020-09-16 15:15:46 +02:00
Régis Behmo
c8911b6282 Document lms/djangoapps/course_api feature toggles 2020-09-16 15:15:45 +02:00
Régis Behmo
39a3770a6f Document openedx/core/djangoapps/video_pipeline feature toggles 2020-09-16 15:14:56 +02:00
Régis Behmo
8aa049be75 Document openedx/core/djangoapps/video_config feature toggles 2020-09-16 15:14:56 +02:00
Régis Behmo
c8892d321b Document openedx/core/djangoapps/user_authn feature toggles 2020-09-16 15:14:56 +02:00
Régis Behmo
9db086bf2e Document openedx/core/djangoapps/oauth_dispatch feature toggles 2020-09-16 15:14:56 +02:00
Régis Behmo
40e92cc143 Improve lms/djangoapps/bulk_email feature toggle documentation 2020-09-16 15:14:56 +02:00
Régis Behmo
6fc322e32f Document common/djangoapps/third_party_auth feature toggles 2020-09-16 15:14:56 +02:00
Usama Sadiq
1770e8d20c Merge pull request #24989 from edx/jenkins/upgrade-python-requirements-55f17fb
Python Requirements Update
2020-09-16 11:25:30 +05:00
edX requirements bot
fb1873708f Updating Python Requirements 2020-09-16 01:30:14 -04:00
Alexander J Sheehan
55f17fbb7e Merge pull request #24988 from edx/asheehan-edx/bump-enterprise-3.8.7
bumping enterprise to 3.8.7
2020-09-15 17:39:51 -04:00
Matthew Carter
291be9ff52 Merge pull request #24986 from edx/aed/django-wiki-0.1.1
Upgrade django-wiki to 0.1.1
2020-09-15 16:40:01 -04:00
Alexander Sheehan
836dae53ca bumping enterprise to 3.8.7 2020-09-15 16:19:50 -04:00
Matt Hughes
d8a56eb64e Add programs celery tasks to Studio workers
following forward to work done in PROD-1230
2020-09-15 15:54:48 -04:00
Alex Dusenbery
8d0920d2a1 Upgrade django-wiki to 0.1.1 2020-09-15 15:26:40 -04:00
Thomas Tracy
edc9705af7 Fix demographics wizard bug - pages not showing. (#24983)
* Fix demographics wizard bug - pages not showing.

This bug was caused by uglifyjs in 2 ways:
- uglify strips out type information. This was mitigated by using the
  React.Children tools to prevent the type information from being
striped out.
- uglify mangles names of components. We were searching for components
  by a string of the name. This was solved by using the name property
directly off of the component, as opposed to a string.

* Clean up the children function
2020-09-15 13:52:58 -04:00
Awais Qureshi
8ade256a52 Merge pull request #24982 from edx/testeng/bokchoy_auto_cache_update_a39dfa49997f3d32b0ce74db1ce2246fe3854071
Bokchoy Testing DB Cache update
2020-09-15 22:49:40 +05:00
stvn
e7fbb3d933 Merge PR #24749 open-craft/shimulch/styling-update-to-existing-course-content-search-page
* Commits:
  Styling Update to Existing Course Content Search Page
2020-09-15 10:10:07 -07:00
Jeff Chaves
d8c9a8f984 bumping enterprise version (#24984) 2020-09-15 12:49:10 -04:00
Feanil Patel
d264490fb7 Merge pull request #24952 from regisb/regisb/simplify-waffle-module-name
[BD-21] Simplify hack to obtain waffle module names
2020-09-15 11:19:43 -04:00
edX cache uploader bot
49465e26e2 Updating Bokchoy testing database cache 2020-09-15 11:12:34 -04:00
Jeff Chaves
13427973b5 bumping enterprise version to 3.8.5 (#24981) 2020-09-15 10:56:28 -04:00
Usman Khalid
8546fa6b6f Convert LibraryContentModule to LibraryContentBlock. (#24611) 2020-09-15 08:41:29 -04:00
edX cache uploader bot
5429f8510f Updating Bokchoy testing database cache (#24980) 2020-09-15 17:11:16 +05:00
Muhammad Ammar
83cf24c7fe Merge pull request #24977 from edx/ammar/upgrade-edx-enterprise
upgrade edx-enterprise
2020-09-15 16:23:44 +05:00
Shimul Chowdhury
9aee2a5e89 Styling Update to Existing Course Content Search Page 2020-09-15 16:11:16 +06:00
edX requirements bot
9363755aad Updating Python Requirements (#24979) 2020-09-15 13:19:41 +05:00
muhammad-ammar
7449589e6f upgrade edx-enterprise
ENT-3328
2020-09-14 23:07:26 +05:00
Mike OConnell
11e4cab622 Added remote IP to logging (#24932)
* Add remote IP to logging config

Add a new filter to get the remote IP for the current
request and include it in log statements

SEG-34

* Added line for formatting

Added line for formatting

SEG-34
2020-09-14 11:22:11 -04:00
Thomas Tracy
0151b80ab7 A modal used to collect demographics information (#24956)
* A modal used to collect demographics information

Add checkmark to final page (#24957)

Remove themeing to get ready for staging

MICROBA-574 | Dismiss CTA after learner finishes answering modal questions (#24965)

[MICROBA-574]
- Dismiss CTA after learner finishes answering demographics questions
- Cleanup comments

* Various initial bugfixes

- fixes 2 issues with the multiselect dropdown erasing state
- prevents input higher than 255 characters in the self describe
- fixes 400 errors when the user selects a default option
- Removes additional page count section

- Re-adding deleted JS file. Can't clean this up until after we cutover to using the new Demographics modal

* Add translatable string to clear button

* Remove extra page counter from the header for the third time

* Remove unneeded template context

Co-authored-by: Matt Tuchfarber <mtuchfarber@edx.org>
Co-authored-by: Justin Hynes <jhynes@edx.org>
2020-09-14 09:28:06 -04:00
Usama Sadiq
7bfd98c037 Merge pull request #24974 from edx/jenkins/upgrade-python-requirements-ee2a149
Python Requirements Update
2020-09-14 12:51:15 +05:00
Régis Behmo
307457a255 Simplify hack to obtain waffle module names
Instead of going up the stacktrace to find the module names of waffle
flags and switches, we manually pass the module __name__ whenever the
flag is created. This is similar to `logging.getLogger(__name__)`
standard behaviour.

As the waffle classes are used outside of edx-platform, we make the new
module_name argument an optional keyword argument. This will change once
we pull waffle_utils outside of edx-platform.

Note that the module name is normally only required to view the list of
existing waffle flags and switches. The module name should not be
necessary to verify if a flag is enabled. Thus, maybe it would make
sense to create a `add` class methor similar to:

    class WaffleFlag:
        @classmethod
        def add(cls, namespace, flag, module):
            instance = cls(namespace, flag)
            cls._class_instances.add((instance, module))
2020-09-14 09:30:24 +02:00