Commit Graph

54282 Commits

Author SHA1 Message Date
Ahtisham Shahid
0d8c99aa2f Merge pull request #23807 from edx/ahtisham/PROD-1491
Fixed unicode-objects must be encoded before hashing mako template error
2020-05-05 11:59:24 +05: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
Feanil Patel
ba2c712e4e Revert "We don't run into this case anymore so remove it." 2020-05-04 14:28:54 -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
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
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
edX Transifex Bot
063e1d45c8 fix(i18n): update translations 2020-05-03 17:19:10 -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
Régis Behmo
cfe311be0f Quiet deprecation warnings from imp module
The "imp" module is deprecated and should be replaced by "importlib". As
a consequence, loading the django settings used to raise deprecation
warnings:

    DeprecationWarning: the imp module is deprecated in favour of
    importlib; see the module's documentation for alternative uses

It should be noted that python 3.5.1 ships with an older release of
distutils which still relies on the imp module. Thus, users of python
3.5.1 (for instance: edx.org developers) will continue to see the
deprecation warning for some time, despite this patch. We suggest
upgrading to python 3.5.9.

This addresses part of CRI-196.
2020-04-30 23:41:40 +02:00
Robert Raposa
8ed8d1ed9f add find_order_dependent_test_failures.py script (#23851)
In the case that that are order dependent failures on Jenkins, this
script can be used to automatically find the minimal set of tests
required to continue to test the failure locally.
2020-04-30 15:58:13 -04:00
Michael Terry
cce2c0e015 Merge pull request #23858 from edx/mikix/less-upselling
Reduce upselling on Dates tab
2020-04-30 15:55:37 -04:00
Michael Terry
70c9170ed2 Reduce upselling on Dates tab
The dates tab has a lot of redundant calls to action around
upgrading to verified track. This replaces them with a single
banner at the top of the page.

AA-102
2020-04-30 15:31:58 -04:00
Calen Pennington
810f29c12c Merge pull request #23855 from cpennington/aa-138-reset-dates-graded-only
Only show the resets date banner if you have missed the due date on a…
2020-04-30 14:02:39 -04:00
Dave St.Germain
2def3f427d Fixes hidden tabs showing up in courseware MFE. TNL-7149
Refactors courseware metadata code.
Enables masquerading in the courseware metadata API.
2020-04-30 12:19:43 -04:00
Feanil Patel
c0f28a73ca Make updates to better match up with OEP-45 2020-04-30 11:51:33 -04:00
Feanil Patel
db8348f733 Added more info based on feedback. 2020-04-30 11:51:33 -04:00
Feanil Patel
27b699e5a1 An initial draft of a decision around how we manage settings files. 2020-04-30 11:51:33 -04:00
Calen Pennington
ff88f3d423 Only show the resets date banner if you have missed the due date on a graded subsection
[AA-138]
2020-04-30 11:50:45 -04:00