Calen Pennington
cfcbdc0145
Move to OpaqueKey implementations from the external library
...
[LMS-2757]
2014-05-29 17:03:35 -04:00
Andy Armstrong
6b3e100cc1
Allow editing of container xblocks/xmodules
...
STUD-1312
2014-05-29 14:02:45 -04:00
Don Mitchell
1be1283f26
Redirect most studio access through draft modulestore
...
rather than have caller figure out whether to call draft or direct.
Fixes get_children to always find draft children in studio.
STUD-1662
2014-05-27 11:16:29 -04:00
Calen Pennington
240fcc1d5a
Fix merge conflicts
2014-05-22 16:24:02 -04:00
Calen Pennington
cd862b3253
Merge remote-tracking branch 'edx/master' into opaque-keys
...
Conflicts:
cms/djangoapps/contentstore/tests/test_contentstore.py
cms/djangoapps/contentstore/views/component.py
cms/djangoapps/contentstore/views/item.py
cms/djangoapps/contentstore/views/preview.py
cms/djangoapps/contentstore/views/tests/test_container.py
cms/static/js/spec/views/unit_spec.js
cms/static/js/utils/module.js
cms/templates/container.html
cms/templates/studio_vertical_wrapper.html
cms/templates/studio_xblock_wrapper.html
common/djangoapps/student/views.py
lms/templates/notes.html
lms/templates/textannotation.html
lms/templates/videoannotation.html
2014-05-22 10:52:00 -04:00
zubair-arbi
72d9a91f1d
Merge pull request #3766 from edx/zub/bugfix/std1616-editdraft
...
create draft request gets already created version if it exists
2014-05-22 18:18:56 +05:00
Andy Armstrong
541d20ef83
Allow creation of components on container page
...
This commit implements STUD-1490, allowing creation of components
on the container page. It also enables the delete and duplicate
buttons now that new content can be created that would benefit.
Note that it also creates shared functionality for adding components,
and refactors the unit page to use it too.
2014-05-21 15:40:31 -04:00
zubair-arbi
6d0e2b215c
update _xmodule_recurse method
2014-05-21 18:31:19 +05:00
zubair-arbi
6bdf984e8d
update _xmodule_recurse to ignore some exception
2014-05-21 16:36:55 +05:00
zubair-arbi
83db659f94
create draft request gets already created version if it exists
...
STUD-1616
2014-05-21 16:36:54 +05:00
Calen Pennington
c72b0bb293
Resolve merge conflicts relative to master
2014-05-09 15:31:20 -04:00
Calen Pennington
155ffe37ca
Merge remote-tracking branch 'edx/master' into opaque-keys-merge-master
...
Conflicts:
cms/djangoapps/contentstore/views/item.py
cms/djangoapps/contentstore/views/tests/test_container.py
cms/djangoapps/contentstore/views/tests/test_tabs.py
common/lib/xmodule/xmodule/modulestore/mongo/draft.py
lms/djangoapps/certificates/management/commands/gen_cert_report.py
lms/djangoapps/certificates/queue.py
lms/djangoapps/certificates/views.py
lms/djangoapps/courseware/module_render.py
lms/djangoapps/courseware/tests/test_module_render.py
lms/djangoapps/instructor/views/api.py
lms/djangoapps/instructor/views/instructor_dashboard.py
lms/djangoapps/instructor/views/legacy.py
lms/djangoapps/shoppingcart/tests/test_models.py
lms/djangoapps/verify_student/views.py
2014-05-09 15:29:32 -04:00
Calen Pennington
0d88379eeb
Make course ids and usage ids opaque to LMS and Studio [partial commit]
...
This commit adds all of cms.
These keys are now objects with a limited interface, and the particular
internal representation is managed by the data storage layer (the
modulestore).
For the LMS, there should be no outward-facing changes to the system.
The keys are, for now, a change to internal representation only. For
Studio, the new serialized form of the keys is used in urls, to allow
for further migration in the future.
Co-Author: Andy Armstrong <andya@edx.org >
Co-Author: Christina Roberts <christina@edx.org >
Co-Author: David Baumgold <db@edx.org >
Co-Author: Diana Huang <dkh@edx.org >
Co-Author: Don Mitchell <dmitchell@edx.org >
Co-Author: Julia Hansbrough <julia@edx.org >
Co-Author: Nimisha Asthagiri <nasthagiri@edx.org >
Co-Author: Sarina Canelake <sarina@edx.org >
[LMS-2370]
2014-05-07 12:56:43 -04:00
Andy Armstrong
f3a23f3973
Only show drag handles in draft mode
2014-05-02 16:20:12 -04:00
zubair-arbi
87408d2399
Revert "remove location of item from loc_mapper and cache"
...
This reverts commit d2b8b4f0dd .
2014-04-29 18:53:35 +05:00
zubiar-arbi
d2b8b4f0dd
remove location of item from loc_mapper and cache
2014-04-23 13:29:39 +05:00
Andy Armstrong
a3b2809601
Fix duplicate save and cancel buttons in Studio
...
STUD-1531
Also add support for refreshing the modal on custom save
2014-04-15 14:04:55 -04:00
Andy Armstrong
7770d9d427
Implement editing from the Studio container page.
...
STUD-1306
2014-04-09 10:32:11 -04:00
Ned Batchelder
732bf3f307
Fix hash_resource to avoid encode errors.
2014-04-02 20:13:50 -04:00
Christina Roberts
cbbf38b40a
Merge pull request #2838 from edx/andya/container-publishing
...
Support publishing of nested xblocks
2014-03-13 12:34:22 -04:00
Andy Armstrong
58483c0649
Fix split_test xblock so that it can render in Studio
...
This change addresses STUD-1403 where split_test modules could not render in Studio.
It changes Studio to pass a new parameter 'runtime-type' of 'studio' when rendering
an xblock. In split_test, this will then cause all of the children to be rendered,
rather than just the one that matches the conditional.
2014-03-12 17:21:04 -04:00
Andy Armstrong
ad27107343
Support making drafts of nested xblocks
2014-03-12 19:33:52 +00:00
zubiar-arbi
c17cb38cd9
add location of handouts in loc_mapper
...
STUD-1248
2014-03-06 15:53:45 +05:00
Don Mitchell
b44780812c
Merge pull request #2738 from edx/dbarch/mixed_ms_router
...
Dbarch/mixed ms router
2014-03-05 17:17:07 -05:00
Don Mitchell
e915a32aed
xblock save only affects draft
...
Fix test which caused error
2014-03-05 14:40:36 -05:00
Don Mitchell
ca0dd8390f
Mixed no longer translates
2014-03-05 14:40:33 -05:00
Don Mitchell
432249e9cf
making mixed ms capable of front ending all modulestores for most operations including CRUD
...
STUD-600
2014-03-05 14:32:56 -05:00
cahrens
0dbabc7ad8
Support xblocks with children on the container page.
...
STUD-1363
2014-03-04 17:11:01 -05:00
Andy Armstrong
fcc0231d4d
Add new container page that can display nested xblocks
...
This is the changes for STUD-1244, which introduces the ability for Studio to display
arbitrarily nested xblocks. In this change, a new container page is introduced which can
display nested xblocks. In particular, the xblock type of 'vertical' is special cased
to be shown inline as a collapsible section. The unit page is mostly unchanged, except
that container xblock's are shown as a link to their container page, rather than being
shown inline.
2014-02-27 14:53:05 -05:00
Will Daly
fbd2e3a0bc
Merge pull request #2724 from edx/will/studio-xblock-save
...
Native XBlock Studio Save UI
2014-02-27 10:50:51 -05:00
Will Daly
5f09953125
Hide save/cancel buttons for native XBlocks in Studio
...
Add Studio client-side runtime notifications for saving/cancelling XBlock edits.
2014-02-26 16:17:02 -05:00
Calen Pennington
a2137cec35
Merge pull request #2603 from cpennington/xblock-acid-resources-test
...
Add tests of local_resource_url
2014-02-25 16:46:10 -05:00
Calen Pennington
9126777ed7
Add test of local_resource_url in AcidBlock
2014-02-25 14:01:37 -05:00
Alexander Kryklia
25407ef3e7
BLD-642: Allow multiple transcripts with video.
2014-02-24 21:57:08 +02:00
Calen Pennington
3093efc889
Make bok-choy correctly publish units with children
2014-02-21 15:00:32 -05:00
Calen Pennington
1eec47a604
Fix STUD-1316
...
This bug affected unpublishing content (and would trigger an error
message in studio). The fix was to uncouple the rendering of the studio_view
of an xblock with the student_view, so that content that wasn't in
draft mode already wouldn't be modified by early rendering of the
studio_view.
[STUD-1316]
2014-02-19 14:58:41 -05:00
Julia Hansbrough
d6c0ce161e
Merge branch 'release'
2014-02-12 21:24:19 +00:00
Calen Pennington
4403eb7209
Fix STUD-1311 (Don't overwrite published content w/ draft content accidentally)
2014-02-12 11:11:01 -05:00
Don Mitchell
1de9d55844
Review-driven changes (to-be-squashed)
2014-02-05 16:34:24 -05:00
Don Mitchell
b8ea7f3c43
update_item and other refactorings continued
2014-02-05 10:24:24 -05:00
Don Mitchell
c601b75675
MixedModulestore wraps most getters, update_item, delete_item
...
with code to translate between addressing schemes based on app
and persistence layer addressing scheme specification.
STUD-1206
2014-02-05 09:34:30 -05:00
Calen Pennington
f6731342de
Make Studio load XBlock fragment js and css on the client-side
...
[LMS-1421][LMS-1517]
2014-02-04 15:38:13 -05:00
Calen Pennington
49217ebe8b
Allow multiple client-side runtimes on a single page
...
Make XBlock client-side runtimes proper classes, so that handlerUrl can
be defined in a per-runtime way, and we can have multiple runtimes on a
single page.
[LMS-1630][LMS-1421][LMS-1517]
2014-02-04 08:55:36 -05:00
David Baumgold
7cab3869c4
Fall back on category is display_name is empty or unset
2014-02-03 12:10:55 -05:00
David Baumgold
a78dad77ff
Pass component display name to Mako template
...
STUD-1241
2014-02-03 11:40:47 -05:00
cahrens
b5726a6889
Front-end work for duplicating components on the unit page.
...
STUD-1186
2014-01-22 10:43:51 -05:00
Don Mitchell
d999d0af1b
Detached categories don't access control on date
2014-01-17 17:53:14 -05:00
Christina Roberts
a3d22097b9
Merge pull request #2182 from edx/christina/duplicate
...
Support duplicating an existing xblock to a supplied parent location.
2014-01-16 11:04:39 -08:00
cahrens
81fecf3e6c
Duplicate children so as to not create a DAG.
2014-01-16 11:24:35 -05:00
cahrens
0d8d7cb393
Support duplicating an existing xblock to a supplied parent location.
...
STUD-1190
2014-01-15 14:36:40 -05:00