David Baumgold
40e540284f
wait to load video module until YT API is ready
2013-10-16 13:28:28 +03:00
David Baumgold
eec7118f2b
enable tender
...
This reverts commit 96485694d3 .
2013-10-15 14:19:26 -04:00
cahrens
6a7b88df4d
Move sock JS code into its own file.
2013-10-15 12:59:22 -04:00
David Baumgold
96485694d3
disable tender
...
because their Javascript breaks our page
2013-10-15 10:25:48 -04:00
David Baumgold
1007f5aeb4
load gettext on every page
2013-10-11 17:11:59 -04:00
David Baumgold
3e9c09e097
Ensure that jQuery loads before any other JS dependency
2013-10-10 14:27:29 -04:00
David Baumgold
7a24188ca6
Merge pull request #1278 from edx/db/increase-requirejs-timeout
...
Increase requirejs load timeout to 60 seconds
2013-10-10 09:37:39 -07:00
David Baumgold
7f783da16c
Increase requirejs load timeout to 60 seconds
2013-10-09 11:53:37 -04:00
David Baumgold
61c25fa6ee
load common libs via require
...
using requirejs config to define deps
2013-10-09 11:38:14 -04:00
David Baumgold
f1a104754e
load jquery in requirejs deps
2013-10-08 11:40:42 -04:00
cahrens
61cfb91218
Cleanup to drag and drop implementation.
...
Also includes RequireJS changes.
Fixes bugs:
STUD-755, STUD-152, STUD-700, STUD-699
2013-10-07 17:18:40 -04:00
David Baumgold
d97921e6e2
Convert Studio JS to use require.js
2013-10-04 13:43:50 -04:00
David Baumgold
1eae675952
Create a dedicated CMS.Models.Course Backbone model
...
Initialize on every page that has a context_course set
2013-08-01 13:39:47 -04:00
David Baumgold
a6f349dab9
Studio i18n
2013-07-12 16:25:39 -04:00
David Baumgold
c45dbca771
Fix JS dependency issues
...
textbook.js is apparently being loaded on every page, so I just made sure that
Backbone Associations was also loaded on every page to be sure that the dependency
was always being met.
2013-07-09 19:16:06 -04:00
Peter Fogg
72e08456a8
Refactor Advanced Settings page to use Backbone notifications.
2013-06-24 09:48:37 -04:00
David Baumgold
aa24508024
Add underscore.string library
...
http://epeli.github.io/underscore.string/
2013-06-18 10:23:18 -04:00
David Baumgold
b6e3b0ee03
Refactor Backbone Notifications
...
Models are extraneous for something as temporary as a notifaction -- this change
moves all the configuration into the views, and removes the models entirely.
2013-06-18 10:20:31 -04:00
David Baumgold
4f1e6c484e
Put the advanced settings notifications back in
2013-05-30 15:08:40 -04:00
Frances Botsford
dfb623a29f
removed old icon css and js files and references that are no longer needed
2013-05-24 09:01:15 -04:00
David Baumgold
dc2acb18ee
Moved global AJAX Error handler definition to main.coffee
2013-05-22 15:55:55 -04:00
David Baumgold
9e864834bd
Unify system feedback templates
...
Also, a SystemFeedback model no longer has a `type`, it has an `intent`. This is
because SystemFeedback views have `type`, as well, and this prevents a naming
collision.
2013-05-22 15:55:55 -04:00
David Baumgold
55cd8afe34
Fixing copy for default server error message on notification
2013-05-22 15:55:54 -04:00
Brian Talbot
52b10df805
studio - revises copy of server error notification to include a default message and removes associated actions from notifications
2013-05-22 15:55:53 -04:00
David Baumgold
a0a71c0df2
Internationalization for JS
2013-05-22 15:55:53 -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
0c368011da
Move underscore templates into separate files, included in Mako templates
2013-05-22 15:55:50 -04:00
David Baumgold
1333717871
Message action callbacks have model set to this
2013-05-22 15:55:50 -04:00
David Baumgold
f5f7cf705f
Subclass CMS.Models.SystemFeedback
...
To create handy WarningMessage, ErrorMessage, and ConfirmationMessage classes
2013-05-22 15:55:50 -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
772be3b8b3
Make the system feedback template more generic
...
Not that it really matters, since the changes are invisible :)
2013-05-22 15:55:49 -04:00
David Baumgold
355162c7f6
Handle fleeting notifications
2013-05-22 15:55:49 -04:00
David Baumgold
0dc3446523
Handle saving popup
2013-05-22 15:55:49 -04:00
David Baumgold
91cdb1e3df
Use "class" instead of "cls"
...
Matching docstring in feedback.js models
2013-05-22 15:55:49 -04:00
David Baumgold
5746121f5c
Set up Notification and Prompt
2013-05-22 15:55:49 -04:00
David Baumgold
5c2116a4b3
Make abstract view, make Alert inherit from it
2013-05-22 15:55:49 -04:00
David Baumgold
c0d69022cb
Set up Backbone model/view for alerts
2013-05-22 15:55:48 -04:00
David Baumgold
7e22278fcb
Simplify Youtube API script link
2013-05-22 15:55:48 -04:00
Chris Dodge
d807b955f7
add leading slash to the jsi18n include
2013-05-01 15:27:36 -04:00
Steve Strassmann
cdfd7c807f
fix bad url for jsi18n
2013-04-29 17:13:24 -04:00
Steve Strassmann
8baddc0645
Merge branch 'master' of https://github.com/MITx/mitx into feature/i18n
2013-04-24 10:41:09 -04:00
Steve Strassmann
6e34c668bb
introduce i18n
2013-04-17 11:30:29 -04:00
Brian Talbot
512e4fe3bd
resolving local merge with master and sprucing style and templates for merge with master
2013-04-05 15:13:21 -04:00
Christina Roberts
33d39a85a9
Merge pull request #1809 from MITx/feature/btalbot/studio-helpsock
...
Studio Help Sock
2013-04-05 11:37:57 -07:00
Brian Talbot
3c3a6e7503
studio - adding in view-based banners UI tweaks and removing global banner UI for now
2013-04-04 16:46:38 -04:00
Mark L. Chang
8439013f64
studio: added segment.io tracking
2013-04-04 01:51:14 -04:00
Brian Talbot
d87c4e3866
resolving local merge with master
2013-04-03 15:01:55 -04:00
Brian Talbot
65768e813b
resolving local merge conflict
2013-04-03 10:00:38 -04:00
Mark L. Chang
1d70509da1
fixed merge on env
2013-04-03 00:31:48 -04:00
Mark L. Chang
43f6f0ce8f
put survey behind MITX_FEATURES flag
2013-04-03 00:28:08 -04:00