Don Mitchell
aad5015a82
Merge pull request #1398 from MITx/feature/christina/misc2
...
Fixes date bug (#149 ).
2013-01-31 10:59:07 -08:00
Don Mitchell
fbd9a126ba
Merge pull request #1393 from MITx/fix/cdodge/export-static-tabs
...
add exporting of course info
2013-01-31 10:55:45 -08:00
Christina Roberts
5f170d118f
Merge pull request #1395 from MITx/bug/dhm/mar13
...
Remove format field as it's the one for grading type.
2013-01-31 10:51:44 -08:00
Jay Zoldak
c590c24e25
Add vendor files to files.json for the cms jasmine tests to work.
2013-01-31 13:48:38 -05:00
cahrens
b613bdc336
Fixes date bug ( #149 ).
2013-01-31 13:37:45 -05:00
Don Mitchell
f257f12124
Meant to add the file here
2013-01-31 12:56:18 -05:00
Don Mitchell
6491363647
Remove format field as it's the one for grading type.
2013-01-31 12:11:11 -05:00
Chris Dodge
ab9d30cbc6
Merge branch 'master' of github.com:MITx/mitx into fix/cdodge/export-static-tabs
2013-01-31 10:51:24 -05:00
Chris Dodge
fc57e7afdb
add testing for course info export. Plus DRY things out a bit
2013-01-31 10:51:20 -05:00
Calen Pennington
76b367e062
Merge pull request #1388 from MITx/bug/dhm/mar13
...
Swallow event calls to squash 404 errors (and remove an unused var in
2013-01-30 14:10:02 -08:00
Don Mitchell
756a071634
misspelled request (altho as an unused identifier)
2013-01-30 17:08:21 -05:00
Calen Pennington
c4f56620df
Revert "Merge pull request #1374 from MITx/feature/cale/no-course-collectstatic"
...
This reverts commit ab437b9463 , reversing
changes made to 7a8e87c789 .
2013-01-30 16:49:49 -05:00
Don Mitchell
85faab1dc6
Swallow event calls to squash 404 errors (and remove an unused var in
...
another function)
2013-01-30 15:18:51 -05:00
Calen Pennington
ab437b9463
Merge pull request #1374 from MITx/feature/cale/no-course-collectstatic
...
Don't run collectstatic on course content
2013-01-30 12:07:47 -08:00
Christina Roberts
54c1fe9c67
Merge pull request #1384 from MITx/fix/cdodge/export-static-tabs
...
adding exporting of tabs and custom_tags. Also added unit tests
2013-01-30 10:52:31 -08:00
Chris Dodge
c676046341
adding exporting of tabs and custom_tags. Also added unit tests
2013-01-30 13:25:17 -05:00
Christina Roberts
91b3a220b8
Merge pull request #1367 from MITx/fix/cdodge/static-tab-reordering
...
support reordering of static tabs in studio
2013-01-30 08:51:36 -08:00
Chris Dodge
7f32aae47d
rename method to something that actually better reflects what it is doing. Also rename a variable to help with readability
2013-01-30 11:50:11 -05:00
Chris Dodge
e5115953ad
rework redorder tabs so that we account for the fact that static tabs can be in any arbitrary order (with respect to non-static tabs) when working with an imported course
2013-01-30 11:36:28 -05:00
Don Mitchell
19927a83a5
Ensure settings and course info CRUD operations tell the user if there's
...
a server error and pull the server error handler into a common function.
2013-01-30 11:24:55 -05:00
Chris Dodge
74fcf96611
don't hard code the ordering of the tabs in the test. Take the current ordering defintion (in the test data) and reverse it
2013-01-30 09:43:57 -05:00
Don Mitchell
ab4fd03dd8
Catch any and all save errors
2013-01-30 09:43:27 -05:00
Calen Pennington
9ae83338c6
Whitespace cleanup
2013-01-30 09:12:50 -05:00
Calen Pennington
89f984c08b
Prefix courseware urls with /static, since they are no longer served through collectstatic
2013-01-30 09:12:50 -05:00
Don Mitchell
b8c1dba1cb
Catch save error and throw it in the user's face (bug 147). May need to
...
add catches in more places or put in $.ajaxSetup?
2013-01-29 17:31:12 -05:00
Jay Zoldak
c3eba0d2da
Add RequireJS.js to files.json so that the cms jasmine tests will run without erroring when importing RequireJS.
2013-01-29 16:22:37 -05:00
Don Mitchell
574d6e8e28
Simple zIndex rather than fancy stack works best.
2013-01-29 15:00:49 -05:00
Don Mitchell
63d269acf1
draggable is not the collapsed item :-( but ui.helper seems to be.
2013-01-29 14:31:14 -05:00
Chris Dodge
855c8bb7e7
add unit test for tab reordering
2013-01-29 13:44:42 -05:00
Don Mitchell
87d8598abe
subsection drag
2013-01-29 13:43:58 -05:00
Don Mitchell
b3d7dc779d
Merge branch 'feature/dhm/drag' of github.com:MITx/mitx into feature/dhm/drag
2013-01-29 13:17:15 -05:00
Don Mitchell
5fcb6bfcd4
Remove debug code
2013-01-29 13:16:21 -05:00
Don Mitchell
ba95cf2385
Auto expand on hover of drag&drop unit
2013-01-29 13:10:23 -05:00
Chris Dodge
28a2dd9a18
support reordering of static tabs in studio
2013-01-28 16:33:28 -05:00
Victor Shnayder
6847779f22
Merge remote-tracking branch 'origin/master' into feature/victor/cohorts
...
Conflicts:
common/djangoapps/student/models.py
2013-01-26 12:37:26 -05:00
Victor Shnayder
87e92644b6
Make all tests pass
...
caveat: with a bit of hackery. Need to do better testing once things are live.
2013-01-25 16:13:55 -05:00
Brian Talbot
8a6dc040a9
studio - styled first children in an overview's subsection list for drag and drop work
2013-01-25 15:26:25 -05:00
Don Mitchell
0009430b59
min height on droppable areas and add padding to top/bottom on hover.
2013-01-25 14:30:51 -05:00
Don Mitchell
45393ac6f8
Merge branch 'feature/dhm/drag' of github.com:MITx/mitx into feature/dhm/drag
2013-01-25 12:46:09 -05:00
Don Mitchell
5ef3f3ee66
Update jquery ui. Overrode draggable w/ an in place fix for scroll
...
racing condition.
2013-01-25 12:44:58 -05:00
Chris Dodge
9c3e727889
add unit test to assert that the flag is not set on course metadata
2013-01-23 15:14:36 -05:00
Don Mitchell
3e048d7072
Removed old function
2013-01-23 14:15:09 -05:00
Don Mitchell
2db0401273
Merge branch 'feature/dhm/drag' of github.com:MITx/mitx into feature/dhm/drag
...
Conflicts:
cms/envs/common.py
2013-01-23 14:13:17 -05:00
Brian Talbot
25df02fedd
studio - syncing cheatsheet language with new class name for heading 1 again
2013-01-23 13:04:16 -05:00
Brian Talbot
0e061ca726
studio - syncing cheatsheet language with new class name for heading 1
2013-01-23 13:02:33 -05:00
Don Mitchell
7cca46e691
Requirejs doesn't belong here
2013-01-23 13:00:01 -05:00
Brian Talbot
5fee7eeaec
studio - further resolved bug with .header CSS inheritance and problem editor menu UI
2013-01-23 12:58:20 -05:00
Don Mitchell
b0bbb34644
Merge pull request #1331 from MITx/feature/christina/tiny-mce
...
Feature/christina/tiny mce
2013-01-23 09:14:42 -08:00
Don Mitchell
4d0d46462c
Fixed the y axis drop problem by requiring it to be within the x bounds.
2013-01-23 12:12:40 -05:00
Don Mitchell
ad5f00f270
Drag and drop for sections, subsections, and units works with following
...
caveats: - it drops wherever the y of the cursor is no matter the x for
the cursor. I've constrained the draggables to never change x; so, the
drop doesn't care where the x of the cursor is only the y.
- if you force auto scroll, the visual thing you'll dragging gets out of
sync w/ the mouse cursor; however, the mouse cursor is the "true"
location; so, the drop's posit is the mouse cursor y not the visual
clone's y.
2013-01-23 11:16:04 -05:00