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
Matjaz Gregoric
ccc392893e
Update tests.
...
Most of the updates are related to the My Courses -> Studio Home change.
2015-01-12 13:41:45 +03:00
Jonathan Piacenti
eabd6c8d27
Quality check and test fixes.
2015-01-12 13:41:03 +03:00
Jonathan Piacenti
fc4eed4240
Added test for /home/ redirect.
2015-01-12 13:41:03 +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
55fb45fb24
Acceptance test
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
66874aca34
Fixed typo + combined problem type tests into single test
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
4d454e3078
Documentation updates from catong
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
d38e69c69a
Acceptance & Jasmine tests for library permissions editor
2015-01-12 13:37:59 +03:00
Braden MacDonald
c477bab6f4
Update the REST API course_team_handler to support library roles, fix bugs
2015-01-12 13:37:58 +03:00
Braden MacDonald
fefc70c405
Three levels of user permissions for content libraries:
...
Admin ("Instructor") - Can edit and assign permissions to other users
Normal ("Staff") - Can edit
User - Can view the library and use content from it but cannot edit it or its blocks.
2015-01-12 13:37:58 +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