Commit Graph

55 Commits

Author SHA1 Message Date
John Eskew
b5ab64505a Merge pull request #11331 from CredoReference/invalid-studio-user-permissions
Invalid StudioPermissionsService object in API to show/save xblock settings in CMS
2016-05-03 13:16:43 -04:00
Christina Roberts
2497f0a0eb WIP: xblock pipeline work (#10176)
[PERF-303] Integer XBlocks/XModules into the static asset pipeline.

This PR, based on hackathon work from Christina/Andy, implements a way to discover all installed XBlocks and XModules and to enumerate their public assets, then pulling them in during the collectstatic phase and hashing them.  In turn, the methods for generating URLs to resources will then returned the hashed name for assets, allowing them to be served from nginx/CDNs, and cached heavily.
2016-04-29 10:52:42 -04:00
Dmitry Viskov
bab4428297 Invalid StudioPermissionsService object in API to show/save xblock settings in CMS.
Randomized Content Block editor did not check Studio user's permissions
2016-04-21 19:52:25 +03:00
muzaffaryousaf
3cbbb8f3b1 Add/Remove Bookmark button to each unit in LMS courseware.
TNL-1957
2015-12-17 22:07:32 +05:00
David Adams
66a52497b4 Remove unused filter field from Randomized Content Block edit form. 2015-12-10 11:48:38 -08:00
Ned Batchelder
f5d0f3ff55 Remove useless pylint suppressions 2015-11-22 07:41:19 -05:00
Nimisha Asthagiri
a78b94d83a Transformer: ContentLibraryTransformer 2015-11-05 16:22:06 -05:00
Renzo Lucioni
2f0e663581 Use ugettext_noop instead of lambdas assigned to the underscore
Replaces instances of an old hack with the more clear ugettext_noop.
2015-11-04 09:17:18 -05:00
Ned Batchelder
f54fe787c6 Remove needless 'disable=no-member' pragmas 2015-08-03 17:47:44 -04:00
Sven Marnach
3d7246ecc8 Allow masquerading as a specific user different from the logged in user. 2015-07-13 18:55:45 -07:00
Jonathan Piacenti
e95e5e7090 Changed RCB recursive copy function to private function. 2015-04-03 10:40:44 -05:00
Jonathan Piacenti
51905f0cd5 Addressed notes for RCB duplication, removed management buttons from RCB container 2015-04-02 18:26:04 +00:00
Jonathan Piacenti
a6c00635b2 Fix issues with overrides on duplicated RCBs. 2015-04-02 18:23:28 +00:00
Braden MacDonald
7764f364cd Fix two content library analytics issues (SOL-521) 2015-03-20 20:47:03 -07:00
Ned Batchelder
7d799e34f3 Remove unused imports 2015-03-17 07:10:31 -04:00
Jonathan Piacenti
8ad4d081fb Added library import and export via .tar.gz'd XML files. 2015-03-10 21:29:29 +00:00
Braden MacDonald
2e0beac378 Update some strings to reflect the new behaviour 2015-03-04 13:38:55 -08:00
Braden MacDonald
93e5a56d79 Show a select box when editing a library content block 2015-03-04 13:32:15 -08:00
Jonathan Piacenti
f1fff439a6 Add clearer error message for library content blocks on incompatible modulestores. 2015-01-29 20:36:19 +00:00
Ned Batchelder
0c9d687fc9 One place in the new library code that used the old user service 2015-01-16 11:40:07 -05:00
Jonathan Piacenti
f7fd2aa56f Fixed pluralization of matching problems in Library Content Module. 2015-01-13 22:34:01 +00: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
Braden MacDonald
3973317aa9 Report the original LibraryUsageLocator in LMS analytics 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
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
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
7c11a83faa Addressed nits. 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
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
e498872ab1 Move update link to the validation area 2015-01-12 13:37:57 +03:00