Commit Graph

9300 Commits

Author SHA1 Message Date
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
E. Kolpakov
2b45e10f34 Bok choy acceptance tests 2015-01-12 13:40:59 +03:00
E. Kolpakov
e06b6fea62 Filtering children by CAPA input type. 2015-01-12 13:40:59 +03:00
E. Kolpakov
db813d1eb1 List of CAPA input types + setting to choose one 2015-01-12 13:40:59 +03:00
Braden MacDonald
7303966c13 Check permissions when updating LibraryContent blocks 2015-01-12 13:40:59 +03:00
Braden MacDonald
c41f607a34 Remove unused method, apply fixes needed after latest rebase 2015-01-12 13:37:58 +03:00
Braden MacDonald
5f5b41d03f Remove state summary from the unit author page until SOL-192 2015-01-12 13:37:58 +03:00
Braden MacDonald
6f3b46c9df Move code that uses the modulestore to an XBlock service 2015-01-12 13:37:57 +03:00
Braden MacDonald
99c3692902 Validation should be on the descriptor, not the module 2015-01-12 13:37:57 +03:00
Braden MacDonald
76b6d33b80 Refresh children automatically when library setting is changed 2015-01-12 13:37:57 +03:00
Braden MacDonald
904007a9e4 Fix: don't need to reload the whole page to refresh_children from the container view 2015-01-12 13:37:57 +03:00
Braden MacDonald
e498872ab1 Move update link to the validation area 2015-01-12 13:37:57 +03:00
Jonathan Piacenti
80ea764c9d Made errors on Library blocks use validate functionality. 2015-01-12 13:37:56 +03:00
Jonathan Piacenti
9f85c0f0aa Added explanation to container view of Library Block. 2015-01-12 13:37:56 +03:00
Braden MacDonald
d4e8242477 Friendly error message when library key is invalid 2015-01-12 13:37:56 +03:00
E. Kolpakov
d25673ec72 LibraryContent bok choy acceptance tests 2015-01-12 13:37:56 +03:00
Braden MacDonald
e1f6ca93ec Unit and integration tests of content libraries 2015-01-12 13:37:56 +03:00
Braden MacDonald
eddf44d853 Library Content XModule 2015-01-12 13:37:56 +03:00
Jonathan Piacenti
074e4cfa22 Addressed further review notes for Library Pagination 2015-01-12 13:37:56 +03:00