Commit Graph

58450 Commits

Author SHA1 Message Date
Gabe Mulley
9f287165bd log registration failures 2020-05-04 16:20:12 -04:00
Feanil Patel
b0931dd166 Move settings out of bok_choy.py to bok_choy.yml
There's more to do here but get the easy ones first and make sure we didn't break anything.
2020-05-04 16:05:53 -04:00
Feanil Patel
e15c2c5187 Remove load_test.py which we don't use anywhere. 2020-05-04 16:05:24 -04:00
Feanil Patel
0e7a0b6d59 Merge pull request #23893 from edx/revert-23804-feanil/remove_coercion
Revert "We don't run into this case anymore so remove it."
2020-05-04 15:02:12 -04:00
Adam Stankiewicz
6d942bc94d revert learner portal links blocking juniper release 2020-05-04 14:55:06 -04:00
Feanil Patel
ba2c712e4e Revert "We don't run into this case anymore so remove it." 2020-05-04 14:28:54 -04:00
Dave St.Germain
2c400184e4 Redirect to courseware MFE, including unit 2020-05-04 13:49:20 -04:00
Feanil Patel
bc8aa8bf7a Merge pull request #23829 from edx/feanil/settings_adr
An initial draft of a decision around how we manage settings files.
2020-05-04 12:45:38 -04:00
Nick
c673f25cd9 Merge pull request #23890 from edx/ndalfonso/fix-course-outline-reset-banner
Check if subsection is graded on course outline page
2020-05-04 12:44:58 -04:00
Ned Batchelder
41a999717a Merge pull request #23872 from edx/nedbat/ascii-setup-cfg
Ensure setup.cfg is only ASCII.  CRI-169
2020-05-04 12:21:15 -04:00
Nicholas D'Alfonso
4a26d47a06 Check if subsection is graded on course outline page 2020-05-04 12:12:59 -04:00
Dave St.Germain
617cc26a37 Merge pull request #23845 from edx/dcs/staff-access
Allow global staff to access data download tab
2020-05-04 12:01:22 -04:00
Feanil Patel
55303e9233 Bokchoy ADR Updates. 2020-05-04 11:37:46 -04:00
Kyle McCormick
e6acdd080d Change IDv response time to 5-7 days (#23887)
It was previously 1-2 days, but we need to increase it
in response to our increased ID verification demand.
2020-05-04 11:33:53 -04:00
Dave St.Germain
b7927bedc9 Allow global staff to access data download tab 2020-05-04 11:31:53 -04:00
Simon Chen
f8cc58618a Create a new plugin manager called DynamicPartitionGenerators to remove the dependency of openedx.features.content_type_gating by xmodule.partition_services 2020-05-04 11:16:26 -04:00
Dillon Dumesnil
858154a7d6 AA-99: Adding in new date pills for the dates tab 2020-05-04 07:24:01 -07:00
Robert Raposa
b14ebfd9ac fix diff quality (#23875) 2020-05-04 09:49:20 -04:00
edX cache uploader bot
20726002ac Updating Bokchoy testing database cache (#23884) 2020-05-04 09:33:59 -04:00
Kyle McCormick
ec9ac34886 Paginate course card API for Programs Learner Portal
* Pull business logic of ProgramCourseEnrollmentOverviewView
  out of view class and into utils.py.
* Add UserProgramCourseEnrollmentsView, which is a paginated
  version of ProgramCourseEnrollmentOverviewView with a
  URL that is parameterized on the user (to enable masquerading
  in MST-109).
* Add get_certificates_for_user_by_course_keys to certs API
  to make enrollments overviews REST API use fewer SQL queries.
* Document new course cards API with edx-api-doc-tools.

In a follow-up ticket, the Programs Learner Portal will switch
to the new paginatd API in order to speed up its page load.

MST-126
2020-05-04 09:26:23 -04:00
Kyle McCormick
2983fb0af6 Speed up ProgramCourseEnrollmentOverviewGetTests with setUpClass 2020-05-04 09:26:23 -04:00
Kyle McCormick
a86576e69b Fix isort and pylint violations in program_enrollments
Run isort -rc lms/djangoapps/program_enrollments
Run pylint lms/djangoapps/program_enrollment and fix messages.

Stop pylint from complaining about DictFactoryBase instances
2020-05-04 09:26:23 -04:00
Robert Raposa
0d9b2dd4ed add paver_autocomplete.sh (#23868)
This script is being moved from configuration to edx-platform.
It originally lived here:
https://github.com/edx/configuration/blob/master/playbooks/roles/local_dev/files/paver_autocomplete.sh
2020-05-04 08:36:18 -04:00
Zainab Amir
c5395a2a67 Add veda fernet key to LMS (#23722) 2020-05-04 17:27:48 +05:00
adeel khan
0262d0e3ee Merge pull request #23836 from edx/adeel/prod_1477_enable_recovery_email_for_all_learners
Removes enterprise filter for account recovery banner
2020-05-04 17:23:15 +05:00
edX requirements bot
bd9db3dd7e Updating Python Requirements (#23883) 2020-05-04 08:22:40 -04:00
edx-pipeline-bot
bc3fe12a87 Merge pull request #23882 from edx/private_to_public_25e42cb
Mergeback PR from private to public.
2020-05-04 03:25:56 -04:00
Ali Akbar
25e42cb77e Merge pull request #177 from edx/aakbar/PROD-1291
fixes for xss lint issues
2020-05-04 11:36:49 +05:00
edx-pipeline-bot
1d7d28e0ce Merge pull request #23881 from edx/private_to_public_ae014af
Mergeback PR from private to public.
2020-05-04 02:28:26 -04:00
Ahtisham Shahid
ae014afa19 Merge pull request #175 from edx/ahtisham/PROD-1257
Fixed xss linter issue
2020-05-04 10:40:33 +05:00
Ahtisham Shahid
2968550928 Merge pull request #176 from edx/ahtisham/PROD-1253
Fixes xss linter issue
2020-05-04 10:40:25 +05:00
Braden MacDonald
fe06bc872c Fix capa's static_url on devstack in new runtime 2020-05-04 09:28:37 +09:30
Samuel Walladge
71fcf6e725 Fix issues with xss linters
Improve accuracy of javascript-escape linter: Previously this would
match on FOOescape() and FOO.escape calls, but neither are the global
escape function we are worried about.

The regex probably isn't 100% accurate; there may be still false
positives (javascript allows a large range of characters in identifiers,
some of which may not be covered by [\w.$]). The main thing is to avoid
false negatives here though - this will definitely catch any use of
`escape()` or `window.escape()`.

Also remove javascript-interpolate lint - this was deemed unecessary.
StringUtils.interpolate is not in fact safe (it does no html escaping),
so the results of this lint are misleading.
2020-05-04 09:27:18 +09:30
Samuel Walladge
9c4b458d2a Fix elem not selected if id contains special chars
If the id of a `.formulaequationinput input` element contains a special
character, then the selector for $preview was silently failing to match
the element, because no escaping was happening.

This fixes the issue by escaping the id before passing to the jQuery
selector function. CSS.escape is the ideal method, but this isn't
present in IE or Edge, so we use a fallback borrowed from the new
jQuery.escapeSelector method.
2020-05-04 09:27:12 +09:30
edX Transifex Bot
063e1d45c8 fix(i18n): update translations 2020-05-03 17:19:10 -04:00
Nick
ede713002d Revert "add logs for debugging" 2020-05-01 17:32:17 -04:00
Simon Chen
34d4d162f7 MST-108 Add masquerading fix to the upgrade message display 2020-05-01 16:54:43 -04:00
Ned Batchelder
d67a16452f Ensure setup.cfg is only ASCII. CRI-169
I don't understand why this file needs to be ASCII, or why it was only a
problem recently for one installer, since this has been in this file
since 2014.  But CRI-169 has a stack trace, and it's easy enough to make
the file ASCII.
2020-05-01 16:00:53 -04:00
Nick
f47fc73f98 Merge pull request #23871 from edx/ndalfonso/AA-138-banner-debug
add logs for debugging
2020-05-01 15:45:40 -04:00
Nicholas D'Alfonso
21358b764e add logs for debugging 2020-05-01 15:19:26 -04:00
Tim McCormack
5bb89d95c5 Revert "Revert "Fix Jenkins virtualenv issue that masked stale dependency" (#23828)" (#23866)
This reverts commit 70600d79d7.
2020-05-01 17:33:38 +00:00
Matt Tuchfarber
78cd8b472b Merge pull request #23860 from edx/tuchfarber/fix_program_to_slug
Change edx.org theme to use program slug
2020-05-01 13:26:55 -04:00
Matt Tuchfarber
2c64560989 Change edx.org theme to use program slug 2020-05-01 12:04:22 -04:00
Aarif
b13f207e1f Merge pull request #23833 from edx/BOM-1353
remove useless-supression warnings - BOM-1353
2020-05-01 20:05:50 +05:00
Aarif
98af9ce418 remove useless-supression warnings 2020-05-01 19:42:15 +05:00
Aura Milena Alba
ce96d6c92d DEPR-66 Remove pattern library on programs_details (#23416) 2020-05-01 10:39:51 -04:00
Ned Batchelder
92b67cac64 Merge pull request #23861 from regisb/regisb/quiet-imp-deprecation-warnings
CRI-196 Quiet deprecation warnings from imp and courseware modules
2020-05-01 10:29:57 -04:00
Dave St.Germain
2c12792be2 Merge pull request #23857 from edx/dcs/wikitab
Fixes hidden tabs showing up in courseware MFE.
2020-05-01 10:10:26 -04:00
edX requirements bot
10e5b1a2a8 Updating Python Requirements (#23863) 2020-05-01 09:33:10 -04:00
Régis Behmo
cc6e823fe6 Quiet courseware import warnings
As it is explained in courseware/__init__.py:

    Importing 'lms.djangoapps.courseware' as 'courseware' is no longer
    supported

This warning, while relevant, decreased the signal/noise ratio when
investigating the lms logs.

The "bulk_email" app was the only remaining app importing the courseware
module incorrectly. All edx-platform modules and dependencies now follow
the new convention.

This is in part for CRI-196.
2020-05-01 00:07:30 +02:00