Commit Graph

12296 Commits

Author SHA1 Message Date
ichuang
7dd7de9566 add gitreload to lms migration, so it doesn't have to run separately 2012-08-17 15:57:12 +00:00
Calen Pennington
b0627efc74 Fix the tests of the book url 2012-08-17 09:23:37 -04:00
ichuang
6e3eff304e {} -> {0} etc in .format statements 2012-08-16 16:22:26 -04:00
kimth
9acb1ddaca Hide chapters in addition to sections 2012-08-16 15:06:49 -04:00
Calen Pennington
4e9e65e0e1 Merge pull request #432 from MITx/feature/cale/fix-tests
Move mitxmako out of common lib, and pass template rendering function in...
2012-08-16 10:52:12 -07:00
Calen Pennington
3b36fbf914 Move mitxmako out of common lib, and pass template rendering function into MongoModuleStore 2012-08-16 12:49:42 -04:00
Calen Pennington
9118e585cc Merge pull request #426 from MITx/feature/halogenandtoast/multiple_textbooks
Feature/halogenandtoast/multiple textbooks
2012-08-16 09:47:53 -07:00
Calen Pennington
919b3e2137 Merge pull request #429 from MITx/feature/victor/strip-metadata
Feature/victor/strip metadata
2012-08-16 08:52:23 -07:00
Victor Shnayder
691744e359 Use .display_name instead of metadata['display_name']
* the former does a fallback if metadata['display_name'] isn't set.
2012-08-16 11:37:54 -04:00
kimth
909a368f4a Merge branch 'master' into kimth/xqueue_callback_blocking 2012-08-16 11:27:56 -04:00
Calen Pennington
a3b144045c Merge pull request #427 from MITx/feature/bridger/new_wiki
New wiki installed from pip
2012-08-16 08:01:39 -07:00
Bridger Maxwell
337f109af7 Moved django-wiki submodule to be a pip install from git. 2012-08-16 10:54:34 -04:00
Calen Pennington
3efea9cbb0 Merge pull request #425 from MITx/feature/bridger/new_wiki
Feature/bridger/new wiki
2012-08-16 07:31:56 -07:00
Matthew Mongeau
ae09598d9a Display textbooks in course navigation, handle in urls and views. 2012-08-16 10:31:17 -04:00
kimth
da9a4710ce Merge branch 'master' into kimth/xqueue_callback_blocking 2012-08-16 09:38:25 -04:00
Bridger Maxwell
326a0f61c1 Updated django-wiki submodule. 2012-08-15 23:43:05 -04:00
Bridger Maxwell
8fb83ee33c Added django-wiki as a submodule. 2012-08-15 23:01:06 -04:00
Bridger Maxwell
262a49a6da Permissions on root article no longer allow students to edit it. 2012-08-15 21:47:08 -04:00
Rocky Duan
449da71cd9 fixed vote permission 2012-08-15 18:04:56 -07:00
Bridger Maxwell
a163b486ac Fixed up course_nav to swizzle url reversing too. 2012-08-15 19:34:42 -04:00
Bridger Maxwell
e76be095e9 Middleware for changing redirects to stay in course wiki. 2012-08-15 18:54:22 -04:00
Bridger Maxwell
0d28d286e2 Added creation of Site() object on wiki load. 2012-08-15 18:54:01 -04:00
Mike Chen
d56ac9a71b added comment 2012-08-15 17:22:09 -04:00
Mike Chen
158e978a7e added naive caching. not sure how to expire. 2012-08-15 17:15:08 -04:00
Mike Chen
2454c06b08 Merge branch 'master' of github.com:dementrock/mitx into ccp0101/performance 2012-08-15 16:14:17 -04:00
kimth
58932bb2f7 Drop import of re 2012-08-15 15:23:14 -04:00
kimth
3c1e67e339 Merge master 2012-08-15 15:19:08 -04:00
Calen Pennington
13b9e58f8f Merge pull request #419 from MITx/feature/url_based_course_lists
URL based course lists
2012-08-15 12:07:02 -07:00
Calen Pennington
213e3cdc7c Merge pull request #418 from MITx/feature/victor/strip-metadata
Feature/victor/strip metadata
2012-08-15 12:01:58 -07:00
kimth
02d970c31e Map '/course/' urls to the course's root in the multicourse hierarchy 2012-08-15 14:45:12 -04:00
David Ormsbee
1c2b6e8088 Remove stuff that I should have deleted during the rebase 2012-08-15 14:39:56 -04:00
Victor Shnayder
a4d67bab33 Add support metadata in policy.json
* if there is a policy.json in the course dir, read it
* file format is a dict with keys {category}/{url_name}, and values metadata dictionaries
* apply the policy, overwriting keys that are in the xml
* then do metadata inheritance, inheriting any overwritten keys.

* also a management cmd to generate a policy.json from a course dir.
2012-08-15 14:36:06 -04:00
kimth
f1f80cb1f4 Drop HttpResponseRedirect import 2012-08-15 14:26:41 -04:00
Rocky Duan
7335c1529e show all content in a course in the forum view 2012-08-15 11:21:31 -07:00
kimth
0b4b8ecfdc courseware.get_module passes down course_id triplet (org, course, run) 2012-08-15 14:20:35 -04:00
Calen Pennington
573c58d02b Fix broken docstring 2012-08-15 13:59:25 -04:00
Calen Pennington
4463542159 Merge pull request #415 from MITx/feature/victor/start-dates
Feature/victor/start dates
2012-08-15 10:00:58 -07:00
Bridger Maxwell
099f499efa Fixed access methods for wiki nav. Added tests. 2012-08-15 13:00:17 -04:00
Victor Shnayder
c4afddfd38 Fix staff access check in simplewiki 2012-08-15 12:56:01 -04:00
Victor Shnayder
7c6b9eba1c Note that 'load' access does not check for enrollment 2012-08-15 12:55:13 -04:00
David Ormsbee
7d90617c5e Merge with master 2012-08-15 12:21:59 -04:00
David Ormsbee
7f8f702971 Fix silly error that was pulling the wrong info from COURSE_LISTINGS 2012-08-15 11:53:21 -04:00
David Ormsbee
d0f2641890 Account for the fact that sometimes we don't get HTTP_HOST (like for tests) 2012-08-15 11:53:21 -04:00
David Ormsbee
346d5b91a1 implement subdomain-based course displays 2012-08-15 11:53:20 -04:00
Mike Chen
b4621d0562 added QueryCountDebugMiddleware 2012-08-15 11:21:11 -04:00
Bridger Maxwell
4bc4e87a4e Merge remote-tracking branch 'origin/master' into feature/bridger/new_wiki 2012-08-15 11:15:21 -04:00
Bridger Maxwell
102dcc08e0 Added a test for the wiki course redirection. 2012-08-15 11:14:57 -04:00
Mike Chen
7c22a39aca Merge branch 'master' of github.com:dementrock/mitx into ccp0101/performance
Conflicts:
	common/lib/xmodule/xmodule/discussion_module.py
	lms/djangoapps/django_comment_client/forum/views.py
	lms/templates/discussion/_thread.html
	lms/urls.py
2012-08-15 11:05:20 -04:00
kimth
9805b41655 row --> rows 2012-08-15 10:46:33 -04:00
Calen Pennington
4b2c4e71d2 Merge pull request #414 from MITx/kimth/xqueue_callback_blocking
Rename acquire_lock to select_for_update, add docstring
2012-08-15 07:44:50 -07:00