Sarina Canelake
725e9a2a7b
Add facility for fixed number of problem attempts
2012-08-16 14:27:28 -04:00
Calen Pennington
56fc4e2fe8
Merge pull request #433 from MITx/feature/kfiedler/courseware-style
...
Made video go to the center of the screen in full screen
2012-08-16 10:52:27 -07: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
Kyle Fiedler
c2ee844704
Made video go to the center of the screen in full screen
2012-08-16 13:47:15 -04:00
Calen Pennington
4798a46948
Add docstring for load_function
2012-08-16 13:08:10 -04:00
Bridger Maxwell
9411bdaaa2
Merge remote-tracking branch 'origin/master' into feature/bridger/new_wiki
2012-08-16 13:02:00 -04:00
Bridger Maxwell
034bd7308e
The django/mako template loader now caches mako templates by loading them from file.
2012-08-16 13:01:04 -04: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
Matthew Mongeau
ae3cb4ec7b
Nest textbooks under data
2012-08-16 12:06:37 -04:00
Calen Pennington
6bca6cdc28
Merge pull request #430 from MITx/feature/ichuang/fix-modulestore-etree-parser
...
Fix bug preventing comments from being in course.xml
2012-08-16 09:06:14 -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
Matthew Mongeau
4ff80287f7
Remove TextbookDescriptor from setup.
2012-08-16 11:52:10 -04:00
ichuang
7553dac2f3
etree parser needs to be set on each call in modulestore load_course
2012-08-16 11:50:04 -04:00
Matthew Mongeau
945632362b
Get rid of TextbookModule and TextbookDescriptor.
2012-08-16 11:49:03 -04:00
Victor Shnayder
61478f4ba0
fix string format bug
2012-08-16 11:46:56 -04:00
Victor Shnayder
c02313a099
hackish cleanup script
2012-08-16 11:43:40 -04:00
Victor Shnayder
00d9ecd600
New policy organization:
...
* course roots live in roots/{url_name}.xml
- one is linked from course.xml
* policies live in policies/url_name.json
- loaded based on course url_name
* Updated to pass policy through into xml parsing, so it takes effect
before descriptor constructors are called.
* Update toy test course to new structure, fix up tests
2012-08-16 11:41:19 -04: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
Victor Shnayder
5e2f676153
backcompat warnings
2012-08-16 11:36:05 -04:00
Kyle Fiedler
ad7061e41f
Added styles to grade out the top and bottom of the sidebar border and fixed spacing with the video and the sequence nav
2012-08-16 11:33:05 -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
4a7b163ce3
Keep textbooks out of displayable items.
2012-08-16 10:31:18 -04:00
Matthew Mongeau
34010a38a8
Fix textbook module.
2012-08-16 10:31:17 -04:00
Matthew Mongeau
ae09598d9a
Display textbooks in course navigation, handle in urls and views.
2012-08-16 10:31:17 -04:00
ichuang
f39e589625
do replace_urls within capa_module get_answer (eg for img in <solution>s)
2012-08-15 21:57:33 -04:00
Victor Shnayder
f717b0421f
fix bug in backcompat section replacement
...
(s/sequence/sequential/)
2012-08-15 21:39:10 -04:00
Victor Shnayder
ce29b5aec2
Special case handling of course url_names in policy.json
2012-08-15 16:06:42 -04:00
Tom Giannattasio
13c2bb588e
added styles for main article, sidebar and breadcrumb
2012-08-15 15:59:46 -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
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
Tom Giannattasio
8daea9c465
Merge branch 'feature/bridger/new_wiki' of github.com:MITx/mitx into feature/bridger/new_wiki
2012-08-15 13:11:00 -04:00
Tom Giannattasio
abf26dced9
started styles
2012-08-15 13:10:47 -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
Victor Shnayder
a2057f9ea4
fix docstring
2012-08-15 11:47:01 -04:00
Bridger Maxwell
4bc4e87a4e
Merge remote-tracking branch 'origin/master' into feature/bridger/new_wiki
2012-08-15 11:15:21 -04:00
Victor Shnayder
9a14af4ba1
address comment on #412
2012-08-15 10:27:07 -04:00
Victor Shnayder
e4fb9ec63a
Remove is_staff from ModuleSystem
...
- now handling access control via get_module
2012-08-14 23:30:37 -04:00
Victor Shnayder
b782e2ff5d
Make start dates work for all modules
...
* error modules now hidden via access control
* get_module() returns None if user doesn't have access
2012-08-14 23:30:37 -04:00
Victor Shnayder
2df3a6ef11
Big access control refactor
...
* All access control logic is now in access.py
* It exports a single method for general use: has_access(user, object, action)
- possible actions depend on object type (e.g. 'see_exists', 'enroll', 'staff')
* Removed DARK_LAUNCH feature flag--it is now the default behavior
* Replaced check_course with three separate more focused functions that use has_access
Minor things:
* note on using pdb in testing
* moved time parsing helper into timeparse.py
* x_modules now have a .start attribute (None if not in metadata)
2012-08-14 23:30:37 -04:00
Rocky Duan
449d665b00
Merge branch 'master' of github.com:MITx/mitx into merge
2012-08-14 17:48:08 -07:00
Rocky Duan
50e95de9ef
a place to start for the user profiel & fixed some bugs
2012-08-14 15:04:36 -07:00
Rocky Duan
04387289fa
fixed bugs caused by merging
2012-08-14 13:43:04 -07:00
Calen Pennington
9c0e41691c
Make XQueueInterface a new-style class
2012-08-14 15:57:07 -04:00
Rocky Duan
eb47093b1c
Merge branch 'master' of github.com:MITx/mitx into merge
...
Conflicts:
common/djangoapps/student/models.py
lms/djangoapps/courseware/views.py
lms/templates/course_navigation.html
2012-08-14 12:54:43 -07:00
Bridger Maxwell
1f43ae6d3e
Renamed namespace to wiki_slug in course_module.py.
2012-08-14 13:49:53 -04:00