Commit Graph

2870 Commits

Author SHA1 Message Date
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
Nimisha Asthagiri
d2d6f81278 Account API: Fix Enterprise enforcement when NOT sync profile_data
ARCH-740
2019-05-03 13:44:22 -04:00
Alex Dusenbery
403fb52e93 Add a GET endpoint to list ProgramCourseEnrollment data. 2019-05-03 13:39:10 -04:00
Nimisha Asthagiri
dfa3728edf Move django_comment_common from common to openedx 2019-05-03 12:10:18 -04:00
Nimisha Asthagiri
7b4b6c3539 Move notifier and notification_prefs to discussion/ 2019-05-03 12:09:47 -04:00
Nimisha Asthagiri
e160b23903 Move django_comment_client to discussion/ 2019-05-03 12:09:46 -04:00
Nimisha Asthagiri
16edae0822 Move comment_client into django_comment_common 2019-05-03 12:07:20 -04:00
Nimisha Asthagiri
ef0e06cc0a Revert "Discussions consolidation" 2019-05-02 14:59:56 -04:00
Hammad Ahmad Waqas
c1c830160a Merge pull request #20340 from edx/hammad/WL-1913
WL-1913 | sync_hubspot_contacts Jenkins job disabled due to OOM
2019-05-02 17:23:53 +05:00
Hammad Ahmad Waqas
0ea3080ed0 slicing users_queryset and fetching users from database according to
initial_sync_days
2019-05-02 15:42:55 +05:00
Nimisha Asthagiri
31e9219c89 Discussion consolidation: review comments 2019-05-01 21:13:57 -04:00
Nimisha Asthagiri
df962a31b7 Move django_comment_common to openedx/core/djangoapps/discussion_common 2019-05-01 19:15:02 -04:00
Nimisha Asthagiri
97862d2ed7 Move notifier and notification_prefs to discussion/ 2019-05-01 19:13:10 -04:00
Nimisha Asthagiri
db89a64d06 Move django_comment_client to discussion/ 2019-05-01 19:13:10 -04:00
Nimisha Asthagiri
2839851bde Move comment_client into django_comment_common 2019-05-01 19:13:09 -04:00
Bill DeRusha
2b11068622 Revert "Convert Account Activation Emails to edx-ACE" 2019-05-01 16:30:09 -04:00
Nimisha Asthagiri
5db761ed5a Merge pull request #20368 from edx/arch/account-settings-toggle
Account Settings: Toggle for Micro-frontend Redirect
2019-05-01 13:39:19 -04:00
David Ormsbee
50a8360b1a Merge pull request #20023 from open-craft/symbolist/capa-xblock-1
CapaModule to ProblemBlock [SE-397]
2019-05-01 12:18:50 -04:00
Alex Dusenbery
20f0bc03d4 Add a GET API endpoint for program enrollments. 2019-05-01 11:35:38 -04:00
Nimisha Asthagiri
2a168a4e1b Account: Toggle for Microfrontend Redirect
ARCH-636
2019-05-01 11:31:48 -04:00
Usman Khalid
41c6236e0a Convert CapaModule to ProblemBlock.
* Minimum possible changes were made to merge CapaModule & CapaDescriptor into
  one ProblemBlock class.
* There are no known changes in behavior.
* CapaModule and CapaDescriptor inherited from a number of classes which inherit
  from XModule or XModuleDescriptor but did not depend on them. For all these
  classes the methods were moved to mixins which did not inherit from either and
  then these mixins were added to ProblemBlock in the order which maintains MRO.
2019-05-01 20:08:36 +05:00
Ned Batchelder
1113c4baec Merge pull request #20286 from edx/nedbat/sec-367
URL patterns should be anchored. SEC-367
2019-05-01 08:25:05 -04:00
Constanza
24981f87f4 INCR-194 (#20318)
* INCR-194

* fixed error, the import absolute_import instruction should have been at the beginning of the file

* added empty line required by PEP 8

* fixed comments order

* trailing whitespace fixed
2019-04-29 10:51:18 -04:00
Ned Batchelder
67008cec68 Merge pull request #18928 from shadinaif/activation-email-to-ace
Convert Account Activation Emails to edx-ACE
2019-04-27 15:06:18 -04:00
Shadi Naif
07f588517b Convert Account Activation Emails to edx-ACE 2019-04-27 13:21:34 +03:00
Michael Youngstrom
9ec16b2272 Merge pull request #20351 from edx/youngstrom/INCR-176
INCR-176
2019-04-26 17:31:26 -04:00
Michael Youngstrom
e868c54a18 INCR-176 2019-04-26 15:42:24 -04:00