Commit Graph

3555 Commits

Author SHA1 Message Date
Matthew Piatetsky
85f0720c50 fix broken FBE banner dates in firefox 2019-05-16 09:33:24 -04:00
Syed Muhammad Dawoud Sheraz Ali
fd8c959604 Merge pull request #20536 from edx/dsheraz/prod-256
add visual check for due dates in self-paced courses
2019-05-16 17:58:51 +05:00
DawoudSheraz
4329168810 add visual check for due dates in self-paced courses 2019-05-16 16:35:42 +05:00
Hammad Ahmad Waqas
a8e92120be Merge pull request #20541 from edx/hammad/WL-1934
WL-1934 | We need a way to reset the DSC flag for Ent clients
2019-05-16 15:19:19 +05:00
Jason Myatt
ab8ffe6dac Merge pull request #20552 from edx/jmyatt/registration-form-gdpr-fix
Update registration form text for GDPR
2019-05-15 15:20:36 -04:00
Amit
b5725b9f29 INCR-233 (#20512)
* INCR-233: Run python-modernize and isort on openedx/core/djangoapps/django_comment_common

* INCR-233: Fixes for basestring type as the six.string_types is tuple

* INCR-233: Grouped absolute_import and unicode_literals imports

* INCR-233: Grouped absolute_import and unicode_literals imports for migrations
2019-05-15 12:12:46 -04:00
emma-green
3c97b5778e Merge pull request #20540 from edx/emma-green/REVEM-282/D/Connect-discount-lms-display-and-applicability-calc
connect discount display to applicability
2019-05-15 10:49:37 -04:00
Emma Green
7bcce26f85 spell receive correctly when discounting 2019-05-15 09:54:20 -04:00
Emma Green
6439070121 connect discount display to applicability 2019-05-14 17:21:48 -04:00
Jason Myatt
1530124e01 Update registration form text for GDPR 2019-05-14 16:26:54 -04:00
Douglas Hall
60ea09dff3 Send duplicate provider to account MFE. 2019-05-14 13:45:56 -04:00
Hammad Ahmad Waqas
cdc8ddf190 clearing all relevant cache if enterprise customer change DSC enable flag. 2019-05-14 17:50:48 +05:00
Uzair Rasheed
82ce621e0f Merge pull request #20489 from edx/LEARNER-7057/anomaly-in-certificates-visibility
Anomaly in certs visibility on user profile.
2019-05-14 14:46:52 +05:00
Amit
d0810a5c94 INCR-249: Make compatible with Python 3.x without breaking Python 2.7 support (#20528)
* INCR-249: Make compatible with Python 3.x without breaking Python 2.7 support --> openedx/core/djangoapps/content/block_structure

* INCR-249: Grouped six package

* INCR-249: Remove the duplicate lines for absolute_import
2019-05-13 12:15:05 -04:00
Amit
3a1c68fb30 INCR-243: Make compatible with Python 3.x without breaking Python 2.7 support for openedx/core/djangoapps/models openedx/core/djangoapps/debug (#20532) 2019-05-13 09:29:07 -04:00
Amit
f587bb8297 INCR-234 (#20511)
* INCR-234: Run python-modernize and isort on openedx/core/djangoapps/oauth_dispatch

* INCR-234: [ADD] Missing module docstring
2019-05-10 14:10:35 -04:00
Amit
fd7527e136 INCR-239 (#20510)
* INCR-239: Run python-modernize and isort on openedx/core/djangoapps/programs [tests, tasks]

* INCR-239: Grouped six package and represent unused variables with _
2019-05-10 12:35:41 -04:00
Bill Tucker
eb0f52d110 INCR-211: run python-modernize and isort (#20432)
* INCR-211:  run python-modernize and isort to support python2 --> python3 transition

* INCR-211: fix pylint errors.

Removed unused module import request and error.
Used import as to avoid too deep a function call.

Altering imports and using suppression of pylint's import error.

* INCR-211: ignore pylint's import error from six module.

* INCR-211: remove unused modules.  Ignore pylint import error from six module.

* INCR-211:  ignore pylint's import error from six module.  Group imports.

* INCR-211:  disable error of 'must be called with literal string'

The specific context for this error means we can disable this.

* INCR-211: change import to satisfy pylint by renaming import

* INCR-211: fix imports so six.unichr works.
2019-05-10 12:14:41 -04:00
emma-green
7dcd8071c4 Merge pull request #20258 from edx/emma-green/REVEM-282/A/Add-discount-applicability-endpoint
Add applicability endpoint
2019-05-10 11:23:57 -04:00
Amit
13fc8a7dd5 INCR-240 (#20509)
* INCR-240: Run python-modernize and isort on openedx/core/djangoapps/util

* INCR-240: [ADD] Missing module docstring at ratelimit
2019-05-10 11:23:05 -04:00
Amit
833d0af8cc INCR-149 (#20516)
* INCR-149: Run python-modernize on openedx/core/djangoapps [self_paced, coursegraph]

* INCR-149: Groups to absolute_import and unicode_literals
2019-05-10 11:11:42 -04:00
Amit
3fdb4fc2f5 INCR-235: Run python-modernize and isort on openedx/core/djangoapps/user_authn [tests, user_authn] (#20514) 2019-05-10 10:52:29 -04:00
Stu Young
0e84d8fa4d Merge pull request #20518 from amitvadhel/INCR-INCR-158
INCR-158
2019-05-10 10:29:44 -04:00
Stu Young
293d8f95f0 Merge pull request #20519 from amitvadhel/INCR-141
INCR-141
2019-05-10 10:12:07 -04:00
Emma Green
7ae68aa383 add applicability endpoint 2019-05-10 09:11:54 -04:00
Amit
73f26071b6 INCR-116: Run python-modernize on openedx/core/djangoapps/cache_toolbox (#20504) 2019-05-10 08:55:42 -04:00
uzairr
cefebce67a Anomaly in certs visibility on user profile.
While visiting a profile of another user from a non-staff account,
backend is returning html of its certs in page source.To avoid it,
a check is added in backend so that certs are only added when the
visiting user is itself visiting its profile or it would be a staff.

LEARNER-7057
2019-05-10 16:13:16 +05:00
amitvadhel
467eb70f50 INCR-141: Run python-modernize on openedx/core/djangoapps/content/block_structure [migrations, management, config] 2019-05-10 12:13:17 +03:00
amitvadhel
49b3d05375 INCR-INCR-158: Run python-modernize on openedx/core/djangoapps/site_configuration 2019-05-10 12:01:15 +03:00
Amit
1d1bbc3176 INCR-145 (#20486)
* INCR-145: Run python-modernize on openedx/core/djangoapps/contentserver

* INCR-145: [FIXED] line over length limit

* INCR-145: [ADD] Missing whitespace
2019-05-09 17:44:45 -04:00
Amit
a74cddefee INCR-160 (#20490)
* INCR-160: Run python-modernize on openedx/core/djangoapps/verified_track_content

* INCR-160: [FIX] line over length limit, datetime - pytz import
2019-05-09 15:00:06 -04:00
aliciaerwin
140fb1394e INCR-166 Run python-modernize on openedx/core/djangolib (#20473)
* INCR-166 Run python-modernize on openedx/core/djangolib

* INCR-166 disabled harmless errors and added docstring
2019-05-09 13:59:48 -04:00
aliciaerwin
d03f970be6 INCR-159 Run python-modernize on openedx/core/djangoapps/zendesk_proxy (#20474)
* INCR-159 Run python-modernize on openedx/core/djangoapps/zendesk_proxy

* INCR-159 added docstring and disabled spurious import error
2019-05-09 13:39:37 -04:00
Kyle Mulka
bf47cd0cc2 incr-178: ran modernize on openedx/features/content_type_gating (#20470)
*  incr-178: ran modernize on openedx/features/content_type_gating

* removed unused imports

* ran isort on openedx/features/content_type_gating/migrations
2019-05-09 13:25:59 -04:00
Amit
7f403e8785 INCR-146 [Python2 > Python3] (#20488)
* INCR-146: Run python-modernize on openedx/core/djangoapps/cors_csrf

* INCR-146: Disable pylint warning for import-error
2019-05-09 13:17:51 -04:00
aliciaerwin
ba1e7b953d INCR-161 Run python-modernize on openedx/core/djangoapps/video_pipeline (#20472) 2019-05-09 11:59:01 -04:00
aliciaerwin
6d3e3bf876 INCR-163 python-modernize on openedx/core/djangoapps/waffle_utils (#20469) 2019-05-09 11:54:17 -04:00
Amit
e01fa86755 INCR-154 (#20485)
* INCR-154: Run python-modernize on openedx/core/djangoapps/dark_lang

* INCR-154: Grouping for absolute_import and unicode_literals at migrations
2019-05-09 11:42:43 -04:00
Amit
5d7e58c3cb INCR-152: Run python-modernize on openedx/core/djangoapps/crawlers (#20487) 2019-05-09 10:52:31 -04:00
Amit
b7052778b7 INCR-134: Run python-modernize on openedx/core/djangoapps/django_comment_common/migrations (#20484) 2019-05-09 10:12:38 -04:00
Amit
3b79bf85fe INCR-175: Run python-modernize on openedx/features/announcements (#20475) 2019-05-09 00:15:23 -04:00
kill-gear
69584ca573 incr-177 run python-modernize on openedx/features/learner_profile (#20454)
* incr-172

* incr-177 run modernize

* fixed bug due to running modernize
2019-05-08 16:50:04 -04:00
Mayank Jain
40ce96a8e3 INCR-209 move python 2 to 3 djangoapps user_api accounts (#20436)
* move python 2 to 3 djangoapps user_api accounts

* fix import and pylint issues

* refactor translation error string in user_api.accounts.utils
2019-05-08 16:26:46 -04:00
Bill Tucker
b1ff149953 INCR-207 ran python-modernize and isort as described in the case. (#20430) 2019-05-08 14:17:46 -04:00
Kyle Mulka
68c1c19478 INCR-206 ran modernize and isort on files (#20464)
ran modernize and isort on openedx/core/djangoapps/header_control and
openedx/core/djangoapps/session_inactivity_timeout
2019-05-08 13:32:55 -04:00
Jeremy Bowman
47292e5f92 Update StringIO usage for Python 3 (#20462) 2019-05-08 12:13:22 -04:00
Christie Rice
6db32a36bc REVEM-239 Add audit access expiration deadline to user-metadata 2019-05-08 08:53:21 -04:00
Mayank Jain
9bffa9a914 INCR-219: Run modernizer (#20415)
* INCR-219: Run python-modernize on `openedx/core/djangoapps/safe_sessions`

* disable pylint on six import to avoid isort and pylint guideline conflict
2019-05-07 16:41:53 -04:00
Anthony Wee
a73dd36f60 INCR-143: Run python-modernize on openedx/core/djangoapps/content/course_overviews (#20443)
* INCR-143: Run python-modernize on openedx/core/djangoapps/content/course_overviews

* isort

* pylint
2019-05-07 16:34:04 -04:00
Mayank Jain
ff6b58dfd8 INCR-213 run modernizer on djangoapps migrations & management (#20426)
* INCR-213 run modernizer on djangoapps migrations & management

* fix python 2 to 3 pylint redefined built in `reduce` warning

* regroup imports

* group the `__future__` imports in programs migration files
2019-05-07 16:05:40 -04:00