Feanil Patel
1f7b12a38d
Remove references to push notifications.
...
Push notifications was only ever setup to connect to Parse.com a service
that has been discontinued. Since we haven't replaced the functionality
for a few years now, remove this dead code.
In cms/templates/js/course_info_update.underscore we're allowing content
to not be escaped because this is by design according to the tests.
Long term there should be a better fix for this but for now this is
intended behavior.
2019-07-24 11:45:46 -04:00
Brian Jacobel
d43e915dab
Run eslint autofixer on /cms
2016-08-08 15:04:06 -04:00
Nimisha Asthagiri
11044ebdf2
MA-614 Mobile Push Notification Studio UI
2015-04-18 15:30:25 -04: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
David Baumgold
d97921e6e2
Convert Studio JS to use require.js
2013-10-04 13:43:50 -04:00
David Baumgold
fd8b375f3a
Translated …
2013-09-06 09:17:19 -04:00
cahrens
a061c7ece7
Rewriting of links for Course Updates and Course Handouts.
...
STUD-669.
2013-08-29 14:35:16 -04:00
Peter Fogg
1ebedc9a4b
Don't show update in the DOM on AJAX error.
2013-08-01 17:17:36 -04:00
Peter Fogg
d2194b2211
Notifications for course updates.
2013-08-01 13:23:41 -04:00
David Baumgold
4f5c2cce75
Re-added missing render() call
2013-07-30 11:22:13 -04:00
David Baumgold
372992244c
Removed course_info_handouts AJAX load
2013-07-29 14:30:16 -04:00
David Baumgold
5b9e283552
Load course info update template on page instead of via AJAX
2013-07-29 14:29:04 -04:00
David Baumgold
c6c5e50d86
Hook up notification framework to default AJAX error callback
...
And delete `CMS.ServerError`
2013-05-22 15:55:49 -04:00
David Baumgold
e9a8f408bf
Add {reset: true} to all collection.fetch() calls
...
This is to fix a bug with the Backbone 1.0 upgrade; some views were listening to
reset events that were not longer getting fired
2013-05-14 16:43:41 -04:00
David Baumgold
7f69e45b9e
whitespace changes
2013-05-08 09:29:20 -04:00
Mark L. Chang
22bd8da1f2
added event tracking to static pages
2013-04-04 01:51:14 -04:00
Brian Talbot
f181a454e4
studio - added in basic JS confirm UI when deleting course updates
2013-03-20 11:20:16 -04:00
Don Mitchell
de3a75d29d
Don't prepopulate models which may have script tags in their payloads
...
but fetch async via json get.
2013-03-04 12:54:58 -05:00
Don Mitchell
e55bb845b2
Fix for script tags w/in json objects being oddly evaluated on html page
...
load by doing load separately. In process, upgraded backbone which
necessitated changing getByCid to get and got rid of obsolete
course_settings master object.
2013-03-01 16:05:58 -05:00
Brian Talbot
266e8951a4
made necessary code revisions per https://github.com/MITx/mitx/pull/1515/files#r3069750
2013-02-19 17:18:09 -05:00
Brian Talbot
47c117bf03
studio - page headers: resolved new course update creation JS issue caused by new markup
2013-02-14 10:52:25 -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
Don Mitchell
b5fd6c9012
Send back error to client if failed to save malformed update and have it
...
show an alert.
2012-12-18 15:22:07 -05:00
Brian Talbot
91713cbe18
editing UI - added in preventDefault() to all editing actions on course info
2012-12-14 11:14:09 -05:00
Chris Dodge
35317b0679
more tweeks on CodeMirror. Also do a re-ordering of operations when creating a new Update, put the CodeMirror binding after the form has been inserted into the DOM. It appears to improve some rendering characteristics.
2012-12-12 20:47:37 -05:00
Chris Dodge
84b08b5ef5
call remove() on CodeMirror
2012-12-12 15:03:49 -05:00
Chris Dodge
0c68ba8bfa
dispose of when we close the editor
2012-12-12 14:09:09 -05:00
Chris Dodge
53f40e8d85
on AWS instances, base.js gets wrapped into a single JS file, but it's in a different scope. So to reference one of the globals in base.js, we have to reference it as window.XXXXXX.
2012-12-10 11:25:25 -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
Chris Dodge
402e031ecc
forgot to add a if {} guard on the CodeMirror instantiation on one use case
2012-12-07 15:27:00 -05:00
Chris Dodge
b81f802b1d
get CodeMirror to work - set the right background in the .scss, make sure the textarea is visible before binding it to CodeMirror
2012-12-07 14:38:03 -05:00
Chris Dodge
130de49b49
support the editing of course handouts via a generic editor until we have implemented the Rich HTML editor completed
2012-12-07 09:45:12 -05:00
Tom Giannattasio
63e38822bd
course handouts styled and basic view handling added
2012-11-30 10:41:10 -05:00
Tom Giannattasio
b75bca2583
new styles for the handouts sidebar
2012-11-30 10:41:10 -05:00
Tom Giannattasio
a25d6b0862
wrapped up data syncing and date format issues
2012-11-30 10:41:10 -05:00
Tom Giannattasio
335c6949f8
started consolidating editor functions
2012-11-30 10:41:10 -05:00
Tom Giannattasio
5dd90aa9cb
working on date picker; conflicts with ids
2012-11-30 10:41:10 -05:00
Tom Giannattasio
3d9961f874
started adding date picker
2012-11-30 10:41:10 -05:00
Tom Giannattasio
46d4e27cdc
update styles fixed; tweaks to white button mixins; add update to top of list; render updates upon save
2012-11-30 10:41:10 -05:00
Don Mitchell
0b7bff4c3f
Everything tested and ready for Tom to fix
2012-11-30 10:40:19 -05:00