Commit Graph

40039 Commits

Author SHA1 Message Date
Renzo Lucioni
2adb03ec8d Merge pull request #14417 from edx/renzo/update-catalog-factories
Update catalog factories
2017-01-28 12:25:25 -05:00
Renzo Lucioni
1e929897f0 Merge pull request #14411 from edx/renzo/86-program-editor
Remove the program admin tool from Studio
2017-01-28 00:51:38 -05:00
Renzo Lucioni
87ff585ef9 Update catalog factories
More accurately represent serialized catalog data. Also switch to using Faker.

ECOM-4422
2017-01-28 00:50:01 -05:00
Renzo Lucioni
31f5c8ddcb Remove the program admin tool from Studio
All programs are now managed using the Django admin on the catalog service. This is the first in a series of commits removing use of the old programs service from edx-platform.

ECOM-4422
2017-01-27 19:33:06 -05:00
Gregory Martin
db99423cc8 Merge pull request #14414 from edx/yro_bump-ora2-version
update ora2 version
2017-01-27 14:59:18 -05:00
alisan617
69d002a1bf Merge pull request #14413 from edx/alisan/discussion-a11y-TNL-6363
discussion all topics button in breadcrumbs markup change
2017-01-27 14:52:46 -05:00
Renzo Lucioni
2545c67f94 Merge pull request #14412 from edx/renzo/remove-program-certification-view
Remove program certification view from the support app
2017-01-27 13:53:12 -05:00
Gregory Martin
ddc1d2bc98 update ora2 version 2017-01-27 13:49:42 -05:00
alisan617
ac93935486 discussion all topics in breadcrumbs moved away from h6 2017-01-27 13:45:20 -05:00
Brian Jacobel
9991024029 Merge pull request #14406 from edx/bjacobel/TNL-6364
Visually indicate fields in new post form are required (TNL-6364)
2017-01-27 13:26:53 -05:00
Renzo Lucioni
136e7f9b16 Remove program certification view from the support app
This functionality hasn't been used since it was introduced. It is superseded by the backpopulate_program_credentials management command. This is another commit in a series removing use of the old programs service from edx-platform.

ECOM-4422
2017-01-27 13:14:45 -05:00
David Ormsbee
41ea1383d4 Merge pull request #14399 from edx/ormsbee/csm_crawler_locking
Disable student state writes for crawlers.
2017-01-27 12:28:11 -05:00
Brian Jacobel
c407127db9 Use a capital letter where 'Required' is a separate sentence 2017-01-27 12:23:52 -05:00
Jesse Zoldak
1c8cf285d1 Merge pull request #14409 from edx/zoldak/fix-pep8
Fix pep8 violation
2017-01-27 09:50:17 -05:00
Ari Rizzitano
c79718be5b Merge pull request #14387 from open-craft/jill/bump-xblock-poll-v1.2.5
Bumps the xblock-poll version to v1.2.5
2017-01-27 09:17:18 -05:00
Jesse Zoldak
6f8b39807a Fix pep8 violation 2017-01-27 07:42:43 -05:00
Clinton Blackburn
4884678834 Merge pull request #14398 from edx/clintonb/docker-devstack-settings
Updated Docker Devstack settings
2017-01-27 02:44:01 -05:00
Clinton Blackburn
47ae3791e9 Added test settings for Docker-based devstack
Fixes https://github.com/edx/devstack/issues/47
2017-01-27 00:42:52 -05:00
Renzo Lucioni
379d789cf2 Merge pull request #14405 from edx/renzo/fix-backpopulation
Fix program credential backpopulation command
2017-01-26 22:15:54 -05:00
Renzo Lucioni
4391a577c2 Fix program credential backpopulation command
This command was updated to request programs from the catalog, but it wasn't changed to deal with the new response structure. I'm updating all code in the LMS to deal with catalog service responses separately.

ECOM-6900.
2017-01-26 20:40:37 -05:00
Jillian Vogel
f06be21f11 Merge pull request #14305 from open-craft/jill/bump-django-storage-swift
Bumps django-storage-swift to 1.2.15
2017-01-27 09:50:29 +10:30
Clinton Blackburn
576fc30e8e Corrected URLs for the E-Commerce Service when using Docker Devstack
ECOM-6634
2017-01-26 18:04:39 -05:00
Clinton Blackburn
5ff02315cc Merge pull request #14397 from edx/clintonb/update-edx-drf-extensions
Updated edx-rest-api-client to 1.7.1
2017-01-26 16:24:30 -05:00
Brian Jacobel
c67b8aa0bb Visually indicate fields in new post form are required 2017-01-26 15:48:35 -05:00
Dennis Jen
a107754ff4 Merge pull request #14386 from edx/dsjen/tracking
Added user tracking id to profile scope in oauth2 handler.
2017-01-26 15:20:42 -05:00
Clinton Blackburn
aec759fd65 Updated edx-rest-api-client to 1.7.1
https://github.com/edx/edx-rest-api-client/compare/1.6.0...1.7.1

ECOM-6634
2017-01-26 15:13:01 -05:00
Eric Fischer
d4df42687e Merge pull request #14381 from edx/efischer/xml_cache_logging
Log course on no-retry update_course_in_cache errors
2017-01-26 14:01:18 -05:00
David Ormsbee
608fceb0b5 Remove select_for_update option for FieldDataCache
We've already been ignoring the param for a long time. This just
removes it entirely.
2017-01-26 12:51:22 -05:00
Ned Batchelder
36d454fe6e Merge pull request #14403 from edx/nedbat/i18n-tools-from-pypi
edx-i18n-tools is on PyPI, get it from there.
2017-01-26 11:45:15 -05:00
Ned Batchelder
7f4ce79ca4 edx-i18n-tools is on PyPI, get it from there. 2017-01-26 10:52:45 -05:00
Ned Batchelder
8a2411e3e6 Merge pull request #14396 from edx/ned/pip9
Try pip 9.0.1 and setuptools 34.0.2
2017-01-26 10:48:53 -05:00
sanfordstudent
09c021e7ee Merge pull request #14370 from edx/sstudent/grades-tasks-logging
add task id to logging and log database exceptions for TNL-6332
2017-01-26 10:44:09 -05:00
Sanford Student
dd93496f7a add task id to logging and log database exceptions
for TNL-6332, TNL-6373
2017-01-26 10:06:34 -05:00
Dennis Jen
080f2b90db Added tracking claim to profile scope in oauth handler. 2017-01-26 09:49:47 -05:00
Cliff Dyer
c3e284f5bd Merge pull request #14345 from edx/beryl/rerun-failed-tasks
Create infrastructure for reapplying tasks
2017-01-26 09:46:03 -05:00
David Ormsbee
5ef1e08050 Disable student state writes for crawlers.
When crawlers like edX-downloader make requests on courseware, they are
often concurrently loading many units in the same sequence. This causes
contention for the rows in courseware_studentmodule that store the
student's state for various XBlocks/XModules, most notably for the
sequence, chapter, and course -- all of which record and update user
position information when loaded.

It would be nice if we could actually remove these writes altogether
and come up with a cleaner way of keeping track of the user's position.
In general, GETs should be side-effect free. However, any such change
would break backwards compatibility, and would require close
coordination with research teams to make sure they weren't negatively
affected.

This commit identifies crawlers by user agent (CrawlersConfig model),
and blocks student state writes if a crawler is detected. FieldDataCache
writes simply become no-ops. It doesn't actually alter the rendering
of the courseware in any way -- the main impact is that the blocks
won't record your most recent position, which is meaningless for
crawlers anyway.

This can also be used as a building block for other policy we want to
define around crawlers. We just have to be mindful that this only works
with "nice" crawlers who are honest in their user agents, and that
significantly more sophisticated (and costly) measures would be
necessary to prevent crawlers that try to be even trivially sneaky.

[PERF-403]
2017-01-26 09:36:53 -05:00
Jillian Vogel
322ac8a468 Bumps the xblock-poll version to v1.2.5
and removes the -e from the install, as per the requirements rules.
2017-01-26 12:05:01 +10:30
Clinton Blackburn
01d79c518e Merge pull request #14394 from edx/clintonb/fix-oauth-settings
Corrected OAuth URL for Docker-base devstack
2017-01-25 17:46:45 -05:00
mikedikan
d9ccdbc45e Merge pull request #14385 from edx/mdikan/disable-course-code-in-rerun-form
Disable changes to course code in re-run form
2017-01-25 17:33:41 -05:00
J. Cliff Dyer
df7c2715d3 Create infrastructure for reapplying tasks
and cleaning up tasks that have been resolved.

TNL-6252
2017-01-25 16:22:40 -05:00
Ben Patterson
f993576511 Merge pull request #14390 from edx/benp/expose-python-cyclo-complexity
Print the paver output for python cyclomatic complexity to console.
2017-01-25 16:18:06 -05:00
Mike Dikan
de569e4522 Disable changes to course code in re-run form
ECOM-6898

Disable (make read-only) the field for course code in the re-run form.  This will prevent creation of course runs with a different course code in the course key that are intended to stand for the same course in a program, which presents problems for the course catalog mapping process.
2017-01-25 16:01:38 -05:00
Ned Batchelder
4433edd05c Pyparsing might need to be in pre? 2017-01-25 15:15:33 -05:00
Ned Batchelder
84b25dd896 Keep the sandbox reqs in sync 2017-01-25 15:11:23 -05:00
Ned Batchelder
8d791b5823 Use latest pyparsing 2.0.x to avoid setuptools entanglement
With 2.0.1, and setuptools 34.0.2, errors happen like:

File "/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/packaging/requirements.py", line 59, in <module>
    MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
TypeError: __call__() takes exactly 2 arguments (1 given)

(cherry picked from commit 73519b3547359a0b791e39d4665f51ac66449a17)
2017-01-25 15:10:02 -05:00
Ned Batchelder
041fede334 Try the latest of pip and setuptools 2017-01-25 15:04:22 -05:00
Ned Batchelder
a117416ed2 Add versions to all non-dash-e installations 2017-01-25 14:51:36 -05:00
Ned Batchelder
91a235a96d Fix two wrong egg names
These are the only two egg names that are wrong in this file.  We have
to uninstall i18n-tools, because the distribution name changed.  The
lti-consumer XBlock hasn't changed named, we just had the wrong name in
the requirements file.
2017-01-25 14:22:58 -05:00
Clinton Blackburn
bb7c5b3384 Corrected OAuth URL for Docker-base devstack
ECOM-6634
2017-01-25 13:13:50 -05:00
Eric Fischer
0dd617897b Log course on no-retry update_course_in_cache errors 2017-01-25 12:41:39 -05:00