Calen Pennington
dbc99ef8ad
Implement children for pure XBlocks in edx-platform
...
This requires fixing the javascript api implementation, and adding
an implementation of get_block to the ModuleSystem api.
However, the implementation is incomplete, due to mismatches between
the expectations of XModule and XBlock.
Also adds tests using the Acid block to make sure that the javascript
and python apis for children are working correctly.
2014-02-21 15:01:20 -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
polesye
faa97379b7
BLD-658: Add view for field type Dict in Studio.
2014-02-11 14:53:57 +02:00
Adam Palay
f4c6bd1bad
Revert "If unit display name is non-empty string, change it to a defaul (STUD-1284)"
...
This reverts commit b8da1c5bb7 .
2014-02-05 13:07:33 -05:00
Adam Palay
b8da1c5bb7
If unit display name is non-empty string, change it to a defaul (STUD-1284)
2014-02-05 13:05:26 -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
cahrens
5da8de018e
Don't pass variables to gettext.
2014-01-22 14:39:27 -05:00
cahrens
b5726a6889
Front-end work for duplicating components on the unit page.
...
STUD-1186
2014-01-22 10:43:51 -05:00
Andy Armstrong
93675304da
Add sorting to Studio's Files & Uploads page
...
Added sorting to the new pagination logic for STUD-995.
2014-01-08 10:35:40 -05:00
Andy Armstrong
f9c45586a4
Add pagination to Studio's Files and Uploads page
...
These changes implement STUD-813. The commit consists of the
following logical changes:
- a REST API has been implemented for a course's assets
- the page itself now fetches the assets client-side
- the Backbone.Paginator library is used to support pagination
- the AssetCollection has been refactored to extend
Backbone.Paginator.requestPager so that it can be paged
- an abstract PagingView class has been added to generalize
the communication with a paging REST API
- the AssetsView has been reimplemented to extend PagingView
- two new child views have been added:
- PagingHeader: the paging controls above the list of assets
- PagingFooter: the paging controls below the assets
2014-01-05 23:35:12 -05:00
zubiar-arbi
2f1e696621
add validation for grading types (allow only integers)
...
STUD-988
2013-12-31 14:35:25 +05:00
zubiar-arbi
4cb03f43a2
Grading types should not allow empty field for "Total Number" and "Number of Droppable"
...
STUD-988
2013-12-26 13:51:53 +05:00
polesye
b6808d3d13
BLD-541: Fix video controls on iPad.
2013-12-24 14:59:20 +02:00
Zubair Afzal
a6fbcbd781
Add baseview(extended from backbone view), which can further extended by other views + Add fucntion to modify iframe and embed tags + add related tests
...
STUD-823
2013-12-20 18:38:24 +05:00
polesye
70518a4659
BLD-506: Update behavior of start/end time fields.
2013-12-18 09:43:11 +02:00
Christina Roberts
461b805951
Merge pull request #1951 from edx/christina/fix-xhr
...
Workaround for "xhr.restore" failures.
2013-12-17 12:23:10 -08:00
frances botsford
8a23f432c7
Merge pull request #1896 from edx/frances/fix/studio-outline-cleanup
...
FED Cleanup of Studio Outline page
2013-12-17 07:27:14 -08:00
Anton Stupak
8554c3f0ab
Merge pull request #1914 from edx/anton/show-answer-imageresponse
...
Show answer for imageresponse
2013-12-17 07:12:25 -08:00
polesye
6e01ce50c9
Add unit tests.
2013-12-17 13:22:08 +02:00
Zubair Afzal
8fc0590a12
set default value for empty integer/float fields
...
STUD-894
2013-12-17 14:45:33 +05:00
cahrens
9f91935f63
Do not restore sinon global objects in afterEach.
...
STUD-1040
2013-12-16 17:22:05 -05:00
Frances Botsford
2d678d0c5e
Responding to review feedback on studio outline cleanup
...
Bug fix for dragging past last element in list.
STUD-879
2013-12-16 12:52:33 -05:00
Will Daly
4d6c8ccae9
Disable failing JS tests
2013-12-10 13:04:52 -05:00
Frances Botsford
089a61c6af
studio outline test fixes
2013-12-09 15:21:57 -05:00
Will Daly
fa1acae80d
Disabled AJAX Errors Course Overview JS test
2013-12-06 13:55:49 -05:00
David Baumgold
06f400191f
Use window.course instead of window.section
2013-12-05 13:17:39 -05:00
David Baumgold
0d3490374e
Refactor textbooks to use locator URLs
...
STUD-945
2013-12-05 13:13:28 -05:00
cahrens
50128cfb5c
Convert edit_subsection, edit_unit, and publishing to RESTful URLs.
...
STUD-844
2013-11-25 13:55:33 -05:00
Don Mitchell
17864353a5
Restful course settings
...
STUD-946
STUD-947
2013-11-22 10:55:35 -05:00
Christina Roberts
3f44ff2f4b
Merge pull request #1675 from edx/christina/tab-new
...
Convert tabs to use RESTful API
2013-11-21 07:39:31 -08:00
cahrens
1b2be30c45
Convert tabs to RESTful URL.
...
STUD-850
2013-11-21 10:19:43 -05:00
zubair-arbi
df97df6fde
Merge pull request #1606 from zubair-arbi/zub/bugfix/std293-coursehandout
...
Show error on invalid html in course handout edit
2013-11-21 01:53:08 -08:00
Zubair Afzal
783e4b223f
Show error on invalid html in course handout edit + Added tests
...
STUD-293
2013-11-20 17:33:07 +05:00
cahrens
e7c06e3ab1
Change preview view method to use RESTful URL.
...
STUD-848
2013-11-19 16:56:24 -05:00
cahrens
a170c6f4e7
Change save_item and create_item to RESTful URL.
...
Part of STUD-847.
2013-11-14 11:03:31 -05:00
Don Mitchell
99e7daf796
RESTful refactoring for course_info updates and handouts.
...
html page and update access use 2 different urls
GET update can get an individual update
STUD-944
2013-11-13 13:16:41 -05:00
Christina Roberts
cd868efc22
Merge pull request #1580 from edx/christina/item
...
Change delete_item to RESTful URL.
2013-11-06 10:50:56 -08:00
cahrens
16766a5ee9
Change delete_item to RESTful URL.
...
Part of STUD-847.
2013-11-06 13:49:24 -05:00
David Baumgold
b119a90996
Do JS setup immediately when possible
2013-11-04 12:40:14 -05:00
Don Mitchell
45453fae61
Change expect_json to put parsed json in new attr
2013-10-29 16:13:58 -04:00
Diana Huang
d34c4a66c7
Add skip links to both CMS and LMS
...
* add HTML for links
* hide links when they are not focused
* when focused, show link (as recommended)
* move accessibility tools to common
LMS-1311
2013-10-24 17:10:33 -04:00
Christina Roberts
b00d59edf1
Merge pull request #1354 from edx/christina/overview-modal
...
Pull modal cover and date utils into their own files.
2013-10-24 11:32:35 -07:00
cahrens
52f4f6afbc
Pull modal cover and date utils into their own files.
...
Move overview-specific functions into overview.js.
2013-10-23 15:44:58 -04:00
Alexander Kryklia
a236632c95
Fix typo.
2013-10-23 13:06:12 +03:00
Alexander Kryklia
04f224fc16
Fix typo.
2013-10-23 13:06:12 +03:00
polesye
ef3acaa773
Add js unit tests.
2013-10-23 13:03:35 +03:00
Anton Stupak
aecc20af6b
Add Timed Transcripts Editor.
2013-10-22 21:45:03 +03:00
David Baumgold
68f6aa8c98
Merge pull request #1404 from edx/db/requirejs-configure-mathjax
...
Configure MathJax using require.js
2013-10-21 07:33:08 -07:00
Calen Pennington
12cc4a19c0
Merge pull request #1224 from cpennington/lms-xblock-js-execution
...
Add an XBlock javascript runtime, and use it to run XModules
2013-10-21 05:53:36 -07:00