Commit Graph

2559 Commits

Author SHA1 Message Date
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
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
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
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
Amit
73f26071b6 INCR-116: Run python-modernize on openedx/core/djangoapps/cache_toolbox (#20504) 2019-05-10 08:55:42 -04: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
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
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
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
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
Jeremy Bowman
5eac6aa049 Upgrade to django-pipeline 1.6.14 (#20449) 2019-05-07 16:01:37 -04:00
Bill Tucker
6031b220f5 INCR-208: run python-modernize and isort (#20434)
* INCR-208: run python-modernize and isort

This change supports python2 -> python3 transition.

* INCR-208:  combine import statements for cleaner look.

* INCR-208: combine import from __future__ statements for cleaner look.
2019-05-07 14:15:24 -04:00
Brendan
bef64192bb INCR-225: python-modernize on openedx/core/djangoapps/geoinfo, monkeypatch, plugin_api, and xmodule_django (#20422) 2019-05-07 13:19:14 -04:00
Anthony Wee
54de24596e INCR-114: Run python-modernize on openedx/core/djangoapps/auth_exchange (#20442)
* INCR-114: Run python-modernize on openedx/core/djangoapps/auth_exchange

* isort
2019-05-07 11:14:23 -04:00
Mayank Jain
f7ed283e56 run modernizer on djangoapps-credentials migration, test & setting (#20428) 2019-05-07 01:51:50 -04:00
Anthony Wee
d9cd033e49 INCR-112: python-modernize openedx/core/djangoapps/ace_common (#20409)
* INCR-112: python-modernize openedx/core/djangoapps/ace_common

* isort

* suppress pylint errors

* Fix pylint disable
2019-05-06 22:48:48 -04:00
Kevin Nasto
02f7b75720 INCR-220 (#20414)
* Modernized 220

* Isort 220

* Fixed unused value in key,value dictionary interation
2019-05-06 22:45:27 -04:00
Nimisha Asthagiri
e298004f88 Merge pull request #20394 from edx/arch/fix-synch-learner-data-for-enterprise
Account API: Fix Enterprise enforcement when NOT sync profile_data
2019-05-06 22:12:14 -04:00
Kyle Mulka
f532750a71 ran modernize on openedx/core/djangoapps/user_api/config, validation, migrations, course_tag (#20421) 2019-05-06 17:24:52 -04:00
Peter Pinch
316fbae265 INCR-119 modernize openedx/core/djangoapps/certificates … (#20418)
* modernize openedx/core/djangoapps/certificates
openedx/core/djangoapps/commerce
openedx/core/djangoapps/common_initialization
openedx/core/djangoapps/config_model_utils

* rewmove unused import
2019-05-06 17:04:30 -04:00
Peter Pinch
4f807dd702 INCR-155 Modernize openedx/core/djangoapps/video_config (#20408)
* run modernizer on openedx/core/djangoapps/embargo/

* sorting imports

* sort imports

* docstring

* try removing pylint disable
2019-05-06 16:43:42 -04:00
Michael Youngstrom
97f13f6cf5 Merge pull request #20416 from mulka/incr-212
INCR-212 ran modernize on openedx/core/djangoapps/util/tests and management
2019-05-06 15:20:00 -04:00
Michael Youngstrom
5f9d418d0f Merge pull request #20404 from mitodl/pdpinch/modernize-video_config
INCR-157 Modernize openedx/core/djangoapps/video_config
2019-05-06 14:38:20 -04:00
Kyle Mulka
9221c2dfd1 ran modernize on openedx/core/djangoapps/util/tests and management 2019-05-06 16:41:25 +00:00
Peter Pinch
c01d0ef6e4 modernize video_config 2019-05-06 11:18:57 -04:00
Nimisha Asthagiri
eb0791ec89 Inter-app API cleanup for Grades 2019-05-04 11:35:06 -04:00
Alex Dusenbery
a3ac84f007 Ignore expected call order in cohorts test. 2019-05-03 14:43:07 -04:00