ichuang
fa58406c1c
templates/main.html patch: workaround for slow page load bug
2012-05-27 20:13:07 -04:00
ichuang
06910aaf8a
urls: do admin autodiscover if settings.DEBUG
2012-05-27 20:12:47 -04:00
ichuang
4280c791a3
added (temporary?) debugging statements
2012-05-27 20:12:06 -04:00
ichuang
1548293821
dogfood.views: for edx4edx problems about edX problems
2012-05-27 20:10:23 -04:00
ichuang
8bbff1107f
courseware.views - updated quickedit to allow calls from dogfood
2012-05-27 20:08:33 -04:00
ichuang
41a539ed1f
html_module should render_to_string from namespace "course", not "main"
2012-05-27 20:07:38 -04:00
ichuang
6ad4a4f740
add textbox input type to customresponse
2012-05-27 20:05:19 -04:00
ichuang
213b53fcc2
fixed script evaluation in capa_problem: don't parse javascript or
...
perl, and use "context" for both global and local frames
2012-05-27 20:04:20 -04:00
ichuang
6c8abf63d1
created dogfood template (for capa_problem)
2012-05-27 20:03:46 -04:00
ichuang
2298b995a9
updated quickedit template
2012-05-27 20:03:27 -04:00
Piotr Mitros
2c2072dae3
Converted to use more semantic tags. Working snapshot.
2012-05-27 07:39:09 -04:00
ichuang
2dd8bd48f7
fix textbox inputtypes to show default from problem if no student input available yet.
2012-05-26 23:04:06 -04:00
ichuang
472ef4a88e
add codemirror.css back ; it is in static/css for now, until pipeline/coffee fixed.
2012-05-26 22:37:47 -04:00
ichuang
b0c7786245
add dogfood library routine and view - for edx4edx
2012-05-26 22:37:06 -04:00
ichuang
4d9140e151
multicourse: display course in mitxhome only if active = True for course
2012-05-26 22:35:54 -04:00
ichuang
d304261763
added function to check if is_dogfood in multicourse settings
2012-05-26 22:35:10 -04:00
ichuang
dcc72a2a18
added csrf handling to quickedit
2012-05-26 22:34:19 -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
John Jarvis
ffb0bac130
updating gem install list
2012-05-25 16:37:22 -04:00
John Jarvis
f6948d44ff
mkdirs fail silently
2012-05-25 16:22:09 -04:00
John Jarvis
1736eb2125
first commit
2012-05-25 16:15:12 -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
Calen Pennington
4e59e163cf
Merge branch 'master' into asset-pipeline
2012-05-23 16:20:24 -04:00
Matt Jankowski
a46fecf379
add test suite output to gitignore
2012-05-23 13:39:39 -04:00
Calen Pennington
f0c98a939a
Try and get fpm to match exclude patterns
2012-05-23 11:50:06 -04:00
Calen Pennington
b84da37731
Make fpm run in verbose mode
2012-05-23 11:47:16 -04:00
Calen Pennington
a0af847168
Switch to mako template syntax for inline_js template
2012-05-23 11:40:47 -04:00
Calen Pennington
5eae41ee70
Merge branch 'master' into asset-pipeline
2012-05-22 15:44:27 -04:00
Calen Pennington
0af8502c6d
Dirt-simple heartbeat page for use by AWS load balancers
2012-05-22 15:39:40 -04:00
Piotr Mitros
32c50090eb
Very draft/prototype edits. Moving CMS components in LMS.
2012-05-21 19:27:00 -04:00
Piotr Mitros
9906bd2b6b
Moved code examples into snippets
2012-05-21 14:54:03 -04:00
Calen Pennington
8a89309338
Merge branch 'master' into asset-pipeline
...
Conflicts:
static/js/application.js
2012-05-21 14:53:16 -04:00
Calen Pennington
431704ac88
Make courseware work with multicourse disabled
2012-05-21 12:59:51 -04:00
David Ormsbee
77edc4ceee
Merge pull request #62 from MITx/newrelic-handler
...
Add newrelic handler, rather than custom function to log exceptions
2012-05-21 09:19:06 -07:00
Calen Pennington
03a9be7e78
Add newrelic handler, rather than custom function to log exceptions
2012-05-21 12:12:16 -04:00