Commit Graph

5700 Commits

Author SHA1 Message Date
Don Mitchell
dc9654283e Fix unit tests for generated
course ids.
2014-09-29 11:25:56 -04:00
Don Mitchell
8fe55c9aee Fix acceptance tests to work w/ split
11300
2014-09-29 11:25:55 -04:00
Don Mitchell
4ca5012f3c Use split to test views 2014-09-29 11:25:55 -04:00
zubair-arbi
40f270c945 add couse key verification decorator in common for use in both studio and lms
PLAT-88
2014-09-29 13:26:43 +05:00
Mark Hoeber
792c8eaf82 Merge pull request #5304 from edx/markhoeber-doc910
Updated help link and content of Studio container page
2014-09-26 08:52:21 -04:00
Ned Batchelder
4d56f62d99 Merge pull request #5199 from edx/ned/remove-jsdraw
Remove JSDraw
2014-09-25 23:03:50 -04:00
John Eskew
fcf57a8e0d Merge pull request #5370 from edx/jeskew/wrap_studio_views_in_bulk_ops
Wrap studio views in bulk operations to minimize mongo calls.
2014-09-24 20:41:33 -04:00
John Eskew
46cd9b0ad9 Add bulk_operations wrapper around all course-query-intensive Studio views. 2014-09-24 19:23:00 -04:00
Carlos Andrés Rocha
fc04d8f262 Use strings instead of tuples as keys in SessionKeyValueStore
Some Django packages expect only strings as keys in the user session,
and it is also a recommended practice in the Django manual.
2014-09-24 15:17:46 -04:00
Ned Batchelder
364989b9ee Remove JSDraw 2014-09-24 09:56:05 -04:00
Andy Armstrong
fe6668a550 Merge branch 'release'
Conflicts:
	common/lib/xmodule/xmodule/video_module/video_module.py
	requirements/edx/github.txt
2014-09-23 15:53:10 -04:00
David Ormsbee
4f5d8b30de Basic Mobile API (v0.5) and Video Abstraction Layer integration.
Note that the features in this release are opt-in, and course and video
behavior will remain the same unless a course explicitly opts in.

Major pieces of functionality with this commit:

Allows the listing of a user's enrollments, course videos, and updates. In
order to make a course available for mobile use, course staff must explicitly
set the Course Advanced Setting "Mobile Course Available" to true. Course staff
will always see their own courses through the Mobile API regardless of this
setting, but students will only be allowed to see a course through the Mobile
API if this setting is set to "true". By default, a Course will *not* be
available for mobile use.

This is a Django app for video resource management. It is completely optional,
and is intended to allow video and operations teams to create new encodings of
videos (e.g. low res for mobile) and change CDNs without having to edit course
data directly. Course teams can now use a "EdX Video ID" setting for Videos,
which will leverage VAL. Video units that do not fill in an "EdX Video ID" will
behave exactly as they always have.

* The Mobile API is enabled with the ENABLE_MOBILE_REST_API feature flag.
* VAL is enabled with the ENABLE_VIDEO_ABSTRACTION_LAYER_API feature flag.
* VAL and the Mobile API both require ENABLE_OAUTH2_PROVIDER).
* The Mobile API is a read-only API, but VAL requires database migrations.
* Applications that make use of either the Mobile API or VAL must be registered
  with the OAuth2 provider app in Django Admin.
2014-09-23 12:31:46 -04:00
Mark Hoeber
1f4ae3fb2b Updated help link and content of container page 2014-09-19 15:10:35 -04:00
Ned Batchelder
10bd2b003f Merge pull request #5129 from edx/ned/python-zip-assets
Python zip file importable from an asset
2014-09-18 19:31:47 -04:00
Ned Batchelder
616bbbab4e Importable python_lib.zip assets
Lots of plumbing to allow an asset named python_lib.zip to be imported
by jailed Python code.

This function can find the "python_lib.zip" asset, and is passed down
through ModuleSystem and LoncapaSystem so that capa problems have access
to the zipfile.
2014-09-18 17:59:12 -04:00
John Eskew
9e830d08c4 Merge branch 'release' into 'master' after successful rc/2014-09-17 deploy. 2014-09-18 12:27:32 -04:00
Andy Armstrong
7c4d8d3752 Revert the changes from PR 5152
The changes in 5152 appear to have introduced a
 performance problem on stage, so we're going to
 revert them for now.
2014-09-17 12:24:59 -04:00
polesye
2997a80aa5 Video link obfuscation. [BLD-1230] 2014-09-16 18:13:07 +02:00
Mark Hoeber
c6bbae3903 Merge pull request #5126 from edx/markhoeber-doc408
Updated Files & Uploads template help
2014-09-15 22:03:11 -04:00
Mark Hoeber
77311e03c9 Updated Files & Uploads template help
To include size warning of 10 MB.  Also updated styling on existing learn more
links
2014-09-15 20:14:33 -04:00
Don Mitchell
040b1c3da5 Merge pull request #5197 from edx/reruns/count_queries
Explain query counts
2014-09-15 15:57:11 -04:00
Don Mitchell
6568463513 Merge pull request #5223 from edx/bug/lms-11361
Bug/lms 11361
2014-09-15 15:25:26 -04:00
Don Mitchell
bf0c4f5185 Don't let destructive loc change
leak out to callers.
Also, use the return from update_item rather than assume
it was just side effecting.
LMS-11361
2014-09-15 13:47:07 -04:00
Piotr Mitros
78ed5c2c54 Merge pull request #5194 from edx/pmitros/pyfs-convention-cleanup
Clean up conventions for underscores vs. dashes in config setting.
2014-09-15 12:08:20 -04:00
Don Mitchell
b137f8d7ad Explain query counts
Fix trivial excesses (2 splits configured & don't fetch courses if there are none)
LMS-11220, LMS-11391, LMS-11390
2014-09-15 08:50:10 -04:00
Waheed Ahmed
f336d0490c Html escaped from display name in xblock.
LMS-11194
2014-09-15 13:33:48 +05:00
Piotr Mitros
af12acc904 Clean up conventions for underscores vs. dashes in config setting. 2014-09-12 11:52:11 -04:00
Waheed Ahmed
a1e911ae39 Fixed InvalidKeyError in course handler in studio.
LMS-11141
2014-09-12 15:16:36 +05:00
Adam
d9567c3537 Merge pull request #5178 from edx/release
Release
2014-09-11 15:15:13 -04:00
Usman Khalid
fc895fe8bf Moved imports to startup.py. 2014-09-11 20:14:37 +05:00
Nimisha Asthagiri
2930e29a01 LMS-11373 Fix Studio drag and drop race condition. 2014-09-11 10:53:05 -04:00
Don Mitchell
935d5dee34 LMS-11331, LMS-11345 Make auth check branch agnostic; fix deserialize keys 2014-09-11 10:53:05 -04:00
Nimisha Asthagiri
3a772752de LMS-11286 Paver Bokchoy support for Split; default store set to Split. 2014-09-11 10:48:09 -04:00
Nimisha Asthagiri
4d36276573 LMS-11297 BokChoy and Acceptance tests configure default_store with update_module_store_settings. 2014-09-11 10:48:08 -04:00
Calen Pennington
7b81dcc3ea Make split_mongo assert block identity uniqueness only over (block_type, block_id) tuples [LMS-11364] 2014-09-11 09:38:13 -04:00
Tim Babych
f1da4efb8e Merge pull request #5152 from edx/tim/less-has-changes
Calculate has_changes only Section/Subsection only on Outline page
2014-09-11 16:11:42 +03:00
Tim Babych
8b37dd7f95 Calculate has_changes only Section/Subsection only on Outline page 2014-09-11 12:42:56 +03:00
Ben Patterson
b3594b699a Merge pull request #5169 from edx/benp/solano2-jstest-failure
TE-468 JS test improvement: test for attributes specifically
2014-09-10 18:44:16 -04:00
Ben Patterson
32071af4b6 TE-468 JS test improvement: test for attributes specifically
This test is failing in a different test environment (Solano) because
the built html has reversed the order of the width and height attributes
from what we are expecting. This change focuses the assertion to the
pieces that are important (as noted in the unchanged comment above
the assertion).
2014-09-10 16:59:28 -04:00
Don Mitchell
8f90e39626 Merge pull request #5149 from edx/mongo/bulk_operation
Generalize bulk_operations logic
2014-09-10 16:16:40 -04:00
Don Mitchell
4faed64859 Generalize bulk_operations logic
LMS-11366
2014-09-10 15:35:28 -04:00
Sarina Canelake
b58b6882a6 Merge pull request #5115 from mitocw/cg/bugfix/add_git_clean
Fixes git export to support repositories with dots in their name and cleans export repo
2014-09-09 09:15:33 -04:00
Sarina Canelake
3a73fccc8e Merge pull request #5101 from mitocw/cg/bugfix/remove_translated_log_messages
Remove some uneeded translation strings in git_export
2014-09-09 09:06:45 -04:00
Piotr Mitros
6d914e2b0a AWS settings for XBlocks to have filesystem-like storage
Upgrades to latest pyfs to support auth not through environment variables
2014-09-09 08:43:18 -04:00
Usman Khalid
92a745b638 CodeMirror should use monospace fonts.
TNL-197
2014-09-09 08:41:59 -04:00
Usman Khalid
d5973a0e44 Merge pull request #5124 from edx/usman/tnl197-codemirror-font
CodeMirror should use monospace fonts.
2014-09-09 00:38:49 +05:00
Piotr Mitros
a12c795944 Merge pull request #5120 from edx/pmitros/aws-djpyfs
AWS settings for XBlocks to have filesystem-like storage
2014-09-08 11:59:23 -04:00
Piotr Mitros
31176aeb37 AWS settings for XBlocks to have filesystem-like storage
Upgrades to latest pyfs to support auth not through environment variables
2014-09-08 10:46:18 -04:00
Usman Khalid
10f05798e7 CodeMirror should use monospace fonts.
TNL-197
2014-09-08 19:45:52 +05:00
zubair-arbi
fc7d491cdc show upload progress on import course view + display last import status on import page load
STUD-2017
2014-09-08 17:51:51 +05:00