Commit Graph

1967 Commits

Author SHA1 Message Date
pmitros
585e4c8d52 Merge pull request #68 from MITx/enable-enrollment
Add enrollment link back to main page for development purposes, until we...
2012-05-31 10:43:21 -07:00
Calen Pennington
6eb2914043 Merge pull request #40 from MITx/courseware_module
Courseware module rewrite
2012-05-31 10:32:22 -07:00
Prem Sichanugrist
92971127b3 Minor code style and assets fix
* Change looping code style in seq_module
* Clone and keep the latest version of jasmine-jquery locally
* Use django-pipeline asset tags
2012-05-31 13:24:25 -04:00
Prem Sichanugrist
0baa6293b5 Fix some failing spec after sequence module change 2012-05-31 13:24:25 -04:00
Prem Sichanugrist
6d83534863 Fix bug on flashing speed selector 2012-05-31 13:24:25 -04:00
Prem Sichanugrist
89194892e6 Move CoffeeScripts to asset pipeline 2012-05-31 13:24:25 -04:00
Prem Sichanugrist
60094a1772 Add test coverage for JavaScript 2012-05-31 13:24:25 -04:00
Prem Sichanugrist
b1daa59cea Refactor video caption to use binary search 2012-05-31 13:24:25 -04:00
Prem Sichanugrist
8a87a4ba8b Make staff problem histogram work again 2012-05-31 13:24:25 -04:00
Prem Sichanugrist
4298c920b8 Make show answer button toggleable 2012-05-31 13:24:25 -04:00
Prem Sichanugrist
fc4d4c8295 Fix section convention and code highlight 2012-05-31 13:24:24 -04:00
Prem Sichanugrist
5eac6ffa1d Refactor Problem from changes upstream 2012-05-31 13:24:24 -04:00
Prem Sichanugrist
2bc68c0f25 Add path prefix to all AJAX requests
This will handle the case where the site was deployed under a
path prefix.
2012-05-31 13:24:24 -04:00
Prem Sichanugrist
80ba9bd0ff Remove unused init_js and destroy_js 2012-05-31 13:24:24 -04:00
Prem Sichanugrist
d393a503e6 Remove unused JavaScript on the page bottom 2012-05-31 13:24:24 -04:00
Prem Sichanugrist
59b453488a Rewrite Tab module, refactor Sequence module 2012-05-31 13:24:24 -04:00
Prem Sichanugrist
1abe15d4d9 Rewrite Problem module 2012-05-31 13:24:24 -04:00
Prem Sichanugrist
8e7bf4c182 Fix broken test case 2012-05-31 13:24:24 -04:00
Prem Sichanugrist
afde79da33 Fix the broken caption select 2012-05-31 13:24:24 -04:00
Prem Sichanugrist
823843cd2f Make sure video is working in sequence module 2012-05-31 13:24:23 -04:00
Prem Sichanugrist
b0149541a3 Preserve window.postJSON for now 2012-05-31 13:24:23 -04:00
Prem Sichanugrist
dfb05bbb01 Refactor and removed unused code 2012-05-31 13:24:23 -04:00
Prem Sichanugrist
e58674f220 Rebuild controls in JavaScript to reduce bandwidth 2012-05-31 13:24:23 -04:00
Prem Sichanugrist
80c97c6592 Refactor module loading using class detection 2012-05-31 13:24:23 -04:00
Prem Sichanugrist
8624927fc4 Rewritten video module 2012-05-31 13:24:23 -04:00
Prem Sichanugrist
0b26609846 Rewrite Sequence module to use unobtrusive JS 2012-05-31 13:24:23 -04:00
Calen Pennington
f467134fc5 Don't fail post-install configuration if gunicorn won't stop 2012-05-31 11:59:14 -04:00
Calen Pennington
9fdbdd3b73 Merge pull request #71 from MITx/pmitros/modular-refactor
Pmitros/modular refactor
2012-05-30 13:31:44 -07:00
Calen Pennington
b3f0281130 Merge pull request #69 from MITx/update_dependencies
Update requirement dependencies
2012-05-30 12:56:33 -07:00
Prem Sichanugrist
e46426b196 Update requirement dependencies
* Make sure we're installing django-pipeline from our fork
* Bump rake to 0.9.2.2, as 0.8.3 is already outdated.
2012-05-30 14:22:36 -04:00
Calen Pennington
45715e9280 Add setting for inplace compiles in versions of django-pipeline that support it 2012-05-29 15:57:27 -04:00
Calen Pennington
c524ee7b88 Add enrollment link back to main page for development purposes, until we have the multicourse enrollment stuff worked out 2012-05-29 10:46:01 -04:00
Piotr Mitros
2c2072dae3 Converted to use more semantic tags. Working snapshot. 2012-05-27 07:39:09 -04:00
ichuang
22572bf87b fix multicourse to properly set COURSE_TITLE (navigation.html uses settings.COURSE_TITLE) 2012-05-26 17:05:52 -04:00
Piotr Mitros
fbada1a964 Merge branch 'master' into pmitros/modular-refactor 2012-05-26 11:42:03 -04:00
Piotr Mitros
d7d831b4af Helper script to run django-admin 2012-05-26 09:27:25 -04:00
Calen Pennington
16046aa8e9 Be more specific when deleting mako template cache directory 2012-05-25 15:37:50 -04:00
Calen Pennington
bd7f1c3ab2 Delete mako temp files during .deb install 2012-05-25 15:27:56 -04:00
Calen Pennington
cdf6c87bb8 Exclude things during .deb packaging correctly, so that we don't have a bunch of build detritus left over. FPM still leaves the empty directories, unfortunately 2012-05-25 12:50:21 -04:00
pmitros
cb033b44f2 Merge pull request #65 from MITx/safe-cache-key
Use a key function that is safe for use w/ memcache

This is needed for the asset-pipeline. The pipeline has to map a requested asset name ('css/application.css') to a string that encodes the file contents ('css/application.12323423abcf.css'). It caches these associations in memcache. We have the potential for filenames with spaces in them, which memcache can't handle, so we need to escape the cache keys in such a way that memcache can handle them.

It puts these in a cache named 'staticfiles' (http://django-staticfiles.readthedocs.org/en/latest/helpers/#cachedstaticfilesstorage). In the future, it may make sense to put that cache onto the filesystem, rather than memcache, but we should do that only after performance testing.
2012-05-25 08:26:48 -07:00
Calen Pennington
1b5a9bc547 Moving the 'id' prefix back into content_parser where it exists 2012-05-25 11:04:05 -04:00
Calen Pennington
dea0d28ace Url encode memcache keys, rather than writing a new encoding scheme. Also use fasthash, rather than md5 2012-05-25 10:52:04 -04:00
Calen Pennington
88ff84dd2e Use a key function that is safe for use w/ memcache 2012-05-25 09:30:04 -04:00
Calen Pennington
f632db0e9d Use the coffee, sass, and yui-compressior binaries that are on the current path 2012-05-24 15:11:38 -04:00
David Ormsbee
4bea0f986e Merge pull request #64 from MITx/asset-pipeline
Asset pipeline
2012-05-24 09:08:10 -07:00
Calen Pennington
c5a68f8363 Don't fail silently on errors 2012-05-24 11:38:07 -04:00
Calen Pennington
3fdb117d71 Use the correct command to get the directory name when running collectstatic 2012-05-24 11:34:12 -04:00
Calen Pennington
06e06c81ad Mark the collectstatic alias as executable 2012-05-24 11:22:23 -04:00
Calen Pennington
25e01799bb Add a script to doing the collectstatic run during apt configuration 2012-05-24 10:56:26 -04:00
Calen Pennington
1e9e8847d3 Split the pipeline_mako templates from the namespace used by actual django-pipeline django templates 2012-05-24 10:28:41 -04:00