David Baumgold
c628a8a360
Fix test
2013-05-22 15:55:53 -04:00
David Baumgold
525fe2d581
Expose a dummy gettext function in the Jasmine test env
2013-05-22 15:55:53 -04:00
David Baumgold
9cbfee9894
Fix Jasmine tests related to invalid messages for section model
2013-05-22 15:55:53 -04:00
David Baumgold
2b01273f7f
Added some Jasmine tests for section views in Backbone
2013-05-22 15:55:52 -04:00
David Baumgold
6ed5a2aa01
Added tests for Backbone section models
2013-05-22 15:55:52 -04:00
David Baumgold
56d8a467c8
Add tests for minShown and maxShown in views
2013-05-22 15:55:52 -04:00
David Baumgold
d10e644c6e
Added sinon.js to project
2013-05-22 15:55:52 -04:00
David Baumgold
dc76d71c42
4-space indents for coffeescript
2013-05-22 15:55:52 -04:00
David Baumgold
4af3325976
Move display logic into view
...
Model shouldn't know about things like close buttons, visibility, and so on
2013-05-22 15:55:51 -04:00
David Baumgold
528987342a
Add tests for primary and secondary CSS classes
2013-05-22 15:55:51 -04:00
David Baumgold
fedfe8627f
Add tests for click events on views
2013-05-22 15:55:51 -04:00
David Baumgold
070d24cf61
Jasmine doesn't like asserting on the <body> element :(
2013-05-22 15:55:51 -04:00
David Baumgold
10ec604630
Got jasmine tests working with fixtures properly
2013-05-22 15:55:50 -04:00
David Baumgold
5275e41e4a
Adding new feedback view tests
2013-05-22 15:55:50 -04:00
David Baumgold
39f81df476
Added a few more tests for feedback models
2013-05-22 15:55:50 -04:00
David Baumgold
e440580c79
Started writing Backbone tests
...
Hacking the Python, because our JS dependency management is borked.
2013-05-22 15:55:50 -04:00
cahrens
c01410626f
Jasmine test for changedMetadata method.
2013-05-02 13:39:20 -04:00
cahrens
c7713b6211
Merge branch 'master' into feature/christina/fields
2013-05-02 12:32:56 -04:00
cahrens
93f10ae8a0
Only save changed metadata fields.
2013-05-02 11:41:38 -04:00
cahrens
01ede40b03
Switching branches
2013-05-02 09:43:03 -04:00
Jay Zoldak
aa4e29d2f1
Add leanModal vendor src to files.json for cms jasmine tests. Also .gitignore compiled js from coffee specs
2013-04-30 15:22:08 -04:00
Calen Pennington
8dc0df3e6b
Don't ignore the old directories for xmodule sass and coffeescript
2013-04-29 07:32:16 -04:00
Mark L. Chang
8fb6ce2eca
added tracking to unit page and components
2013-04-04 01:51:15 -04:00
Mark L. Chang
22bd8da1f2
added event tracking to static pages
2013-04-04 01:51:14 -04:00
cahrens
eebef1e647
Don't save subsection and unit names until the change event. Fixes bugs #18 and #228 .
2013-03-22 15:32:13 -04:00
Don Mitchell
3ea70eac9d
Also clean up children after sort saved.
2013-03-20 17:59:24 -04:00
Don Mitchell
af136e75ca
Fix bug 249 the ugly way (decerebrate the moronically impotent model)
2013-03-19 18:07:46 -04:00
Will Daly
6b94090e67
Fixed jasmine test issue with cms caused by previous change
...
to order of file import. Introduced static_files list
in files.json (supported in original django_jasmine implementation)
that loads static files before any compiled files.
2013-03-11 11:27:49 -04:00
cahrens
596de8ab2c
Hook up "View Live" buttons and get "New Static Tab" working again.
2013-02-19 11:34:41 -05: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
Don Mitchell
f257f12124
Meant to add the file here
2013-01-31 12:56:18 -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
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
Chris Dodge
28a2dd9a18
support reordering of static tabs in studio
2013-01-28 16:33:28 -05:00
Don Mitchell
c05d887904
Handle metadata from save being empty
2013-01-11 10:39:57 -05:00
cahrens
bcafc5fdfb
Bug fix for modal cover not going way when click outside of edit ( #106 ).
2013-01-10 11:07:11 -05:00
Brian Talbot
7921b32b63
studio - set viewport to scroll to bottom of component type list in component editor
2013-01-09 15:04:20 -05:00
cahrens
5daa6e7b73
Tom cruft to be deleted.
2013-01-09 10:49:59 -05:00
Don Mitchell
76f2ef6f7c
Empty template now recognized as allowing markdown editing
...
Save saves markdown and updates the xml
2013-01-08 10:53:45 -05:00
cahrens
1c886b33cd
Get buttons working again (with old behavior).
2013-01-03 12:24:17 -05:00
cahrens
b91e85c09f
Remove tiny_mce.
2013-01-03 10:53:42 -05:00
Don Mitchell
4f32d5f34d
Merge commit 'af908104df8d18555ed2804b2e7f70577844de16' into feature/cas/speed-editor
...
Conflicts:
cms/static/sass/_assets.scss
cms/static/sass/_base.scss
cms/static/sass/_unit.scss
cms/templates/unit.html
2013-01-02 17:39:27 -05:00
Jay Zoldak
b19aa06540
Fix broken jasmine tests for CMS. All (11) specs are now passing.
2012-12-19 11:26:36 -05:00
Tom Giannattasio
2be1f852e7
clean up of users page
2012-12-13 11:28:59 -05:00
Tom Giannattasio
75c4909785
added modal cover for editors
2012-12-13 11:28:59 -05:00
Tom Giannattasio
d7b3f28d17
reworked add component steps
2012-12-13 11:28:59 -05:00
Tom Giannattasio
5b81d6b8cc
cleaned up subsection and unit page
2012-12-13 11:28:59 -05:00
Tom Giannattasio
052b6f695a
cleaned up editor styles; cleaned up static tabs page
2012-12-13 11:26:10 -05:00
Chris Dodge
79e48dde97
move the underscore tempaltes to /static/client-templates and update the references
2012-12-10 10:01:08 -05:00