Commit Graph

6818 Commits

Author SHA1 Message Date
John Eskew
6de1137f67 Optimize large amounts of asset metadata in the Split modulestore.
Use binary search instead of linear search.
Add tests for saving asset metadata lists.
Refactor to use common code across modulestores.
2015-01-13 15:20:42 -05:00
Braden MacDonald
6be35e0fc1 Merge pull request #6459 from edx/content-libraries
Content libraries MVP
2015-01-13 11:20:20 -08:00
Adam
2b9b531c16 Merge pull request #6597 from edx/release
Release
2015-01-13 13:46:34 -05:00
Piotr Mitros
b7484ea7ac Adds testability to the EIA file 2015-01-13 11:01:41 -05:00
John Eskew
6873c04599 First iteration of code which tests performance of asset metadata
during course import/export. Uses external code_block_timer module.
   Also, add script which validates XML file against an XSD file.
   Uses the unittest framework - but is currently skipped.
2015-01-13 08:47:24 -05:00
Shrhawk
c3f789021a Merge pull request #6285 from Shrhawk/shr/bug/TNL-904-tolerance-is-broken
Fix tolerance broken
2015-01-13 17:08:52 +05:00
Syed Hassan Raza
66b949b745 Fix tolerance broken 2015-01-13 16:01:46 +05:00
Waheed Ahmed
47fbda9dd9 Merge pull request #6370 from edx/waheed/tnl920-fix-code-mirror-xml-editor-height
Fixed CodeMirror editor view height in studio.
2015-01-13 13:31:55 +05:00
Aamir
05575ecce4 Merge pull request #6548 from edx/aamir-khan/ECOM-335-caching
ECOM-335 Created new branch from master and put all changes from aamir-k...
2015-01-13 12:11:37 +05:00
Waheed Ahmed
05d9d139b5 Fixed CodeMirror editor view height in studio.
TNL-920
2015-01-13 12:11:20 +05:00
Don Mitchell
ed3f609757 Change split to handle dags and fix
children references on copy and delete w/ more than one parent
2015-01-12 15:11:45 -05:00
Braden MacDonald
05fc6738f6 Add in "previous_count" and "max_count" 2015-01-12 11:14:35 -08:00
Braden MacDonald
10fe9c0180 pylint fixes 2015-01-12 11:00:51 -08:00
Adam Palay
7e45858276 resolve merge conflicts between release and master 2015-01-12 13:47:30 -05:00
Braden MacDonald
3a973d4274 Unit tests for library content analytics 2015-01-12 10:39:12 -08:00
Braden MacDonald
3973317aa9 Report the original LibraryUsageLocator in LMS analytics 2015-01-12 10:39:12 -08:00
Braden MacDonald
407265bc45 Store the usage locator of library blocks in split when they are inherited into a course 2015-01-12 10:39:12 -08:00
Braden MacDonald
91cb371de0 Emit per-student library content events to the tracking log for analytics 2015-01-12 10:39:12 -08:00
E. Kolpakov
195d5b57bc pylint fixes 2015-01-12 09:58:51 -08:00
Awais
beeaec5a55 ECOM-335 Created new branch from master and put all changes from aamir-khan/ECOM-335-caching-api into this branch. 2015-01-12 20:58:48 +05:00
Don Mitchell
2bf3966716 Add a fix_not_found command to get rid
of dangling children references to blocks.
TNL-1141
2015-01-12 10:42:52 -05:00
Braden MacDonald
134a75b367 Minor tweaks to reduce conflicts with PR 6492 2015-01-12 13:42:56 +03:00
E. Kolpakov
6a2af3ebdc pylint fixes 2015-01-12 13:42:55 +03:00
E. Kolpakov
1a387d8217 Test for paging in items.py 2015-01-12 13:42:55 +03:00
E. Kolpakov
f51329039a Tests for LibraryList 2015-01-12 13:42:55 +03:00
E. Kolpakov
84edced10a Render tests for library content block preview and author views 2015-01-12 13:42:55 +03:00
E. Kolpakov
184fd01ae9 Created dedicated LibraryRoot test file and moved rendering tests from modulestore/tests/test_libraries 2015-01-12 13:42:55 +03:00
E. Kolpakov
23baab6b01 Added test to exercise library root paged rendering 2015-01-12 13:42:54 +03:00
Jonathan Piacenti
5342fa27b9 Quality fixes. 2015-01-12 13:42:54 +03:00
Matjaz Gregoric
a0c590e50c Mark Library 'mode' field non-editable.
The only supported mode is currently 'random', so it doesn't make sense
to expose the 'mode' in the edit form.
2015-01-12 13:42:53 +03:00
Jonathan Piacenti
198d099a82 Added 'Display Name' to Library content module. 2015-01-12 13:41:47 +03:00
Braden MacDonald
4d8251066c Fix bug w/ publishing ( + test), move copy_from_template tests to their own file 2015-01-12 13:41:02 +03:00
Braden MacDonald
ea579bf54b Workaround an issue with capa modules 2015-01-12 13:41:02 +03:00
Braden MacDonald
e768fb9a4b Fix two split mongo bugs that were causing problems... 2015-01-12 13:41:02 +03:00
Braden MacDonald
325c36069a Unrelated: fix two bugs when duplicating a LibraryContentModule 2015-01-12 13:41:02 +03:00
Braden MacDonald
3857a1c1ee Support for overriding Scope.settings values when library content is used in a course 2015-01-12 13:41:02 +03:00
E. Kolpakov
21b02544c0 Added tests for editor_saved library content xblock method
Retriggering Jenkins
2015-01-12 13:41:01 +03:00
Braden MacDonald
2be036fe0e Simplifications and changes to reduce conflicts with PR 6399 2015-01-12 13:41:01 +03:00
Jonathan Piacenti
d82da9e740 Test filter for problems with multiple capa response types. 2015-01-12 13:41:01 +03:00
Jonathan Piacenti
7c11a83faa Addressed nits. 2015-01-12 13:41:01 +03:00
E. Kolpakov
4e5b6c8bca Added problem type filtering related tests. 2015-01-12 13:41:01 +03:00
E. Kolpakov
07241aa1de Addressed review notes:
* Added tests for `problem_types` CapaDescriptor property
* Improved indentation in tests
* Improved validation messages
2015-01-12 13:41:01 +03:00
E. Kolpakov
f2f363c8f0 Added reference to TNL ticket mentioned in TODO + improved formatting of XML templates in tests 2015-01-12 13:41:01 +03:00
Jonathan Piacenti
332d2b0368 Addressed notes from reviewers about Library content filters. 2015-01-12 13:41:01 +03:00
E. Kolpakov
6ac258850f Improved help message. 2015-01-12 13:41:00 +03:00
E. Kolpakov
b2a17b35b0 Validation warning if library content XBlock configured to fetch more problems
than libraries and filtering allow
2015-01-12 13:41:00 +03:00
E. Kolpakov
620ba8a164 Test for warning message when no content is configured. 2015-01-12 13:41:00 +03:00
E. Kolpakov
33ce3d42ff Validation warning when no content matches configured filters 2015-01-12 13:41:00 +03:00
E. Kolpakov
ea428273e6 Switched to filtering by response type rather than input type 2015-01-12 13:41:00 +03:00
E. Kolpakov
fcbc8446d6 Problem type filtering on update_children event 2015-01-12 13:41:00 +03:00