Chris Dodge
|
d7b148d0d9
|
Merge branch 'master' of github.com:MITx/mitx into fix/cdodge/export-draft-modules
Conflicts:
common/lib/xmodule/xmodule/modulestore/draft.py
|
2013-04-08 15:02:47 -04:00 |
|
Chris Dodge
|
5137119f2b
|
add a simple Studio walkthough to check page loads
|
2013-04-08 13:55:38 -04:00 |
|
Chris Dodge
|
288620592a
|
get metadata inheritance to work with draft stores. Fix bug on .publish() method whereby inherited metadata got written to the DB as 'own-metadata'. Change filter in mako_module.py to return list of own-metadata and inherited-metadata as 'editable-metadata'. Also, add unit test for draft metadata-inheritance and publish
|
2013-04-07 19:33:04 -04:00 |
|
Chris Dodge
|
5bbfe87005
|
fix various pop8/pylint violations. switch hasattr() to getattr()
|
2013-04-05 13:18:48 -04:00 |
|
Chris Dodge
|
5f9d7db94d
|
actually we need to start the draft content export from the sequentials. This is because we need the child pointers to the draft verticals. For private items, if we don't do this, then we'll loose those pointers
|
2013-04-03 14:43:01 -04:00 |
|
Chris Dodge
|
f7a83cdc74
|
wip: add test case for exporting/importing a private module
|
2013-04-03 14:03:14 -04:00 |
|
Chris Dodge
|
1a1635d402
|
Fix tests and extend export/import unit test with draft testing.
|
2013-04-03 11:28:25 -04:00 |
|
Don Mitchell
|
c655c814e8
|
Merge pull request #1721 from MITx/feature/cdodge/add-no-inheritable-metadata-on-verticals-to-xlint
add checking for metadata that we can't support editing for in Studio. T...
|
2013-03-29 12:38:42 -07:00 |
|
Don Mitchell
|
80f57db7c3
|
Merge pull request #1762 from MITx/feature/cdodge/course-overview-perf
Feature/cdodge/course overview perf
|
2013-03-29 12:35:41 -07:00 |
|
Jay Zoldak
|
b63aae221e
|
small pep8 pylint and superclass fixes
|
2013-03-29 10:41:27 -04:00 |
|
Will Daly
|
d92533bb51
|
Test case now drops the mongo collection
|
2013-03-28 16:41:55 -04:00 |
|
Will Daly
|
86bc70c3c2
|
Reverted cms changes back
|
2013-03-28 15:00:19 -04:00 |
|
Chris Dodge
|
ee5076bda9
|
fix incorrect comment
|
2013-03-28 14:48:12 -04:00 |
|
Will Daly
|
6f8c9b4a9f
|
Optimized ModuleStoreTestCase to reload templates only once
over all test runs.
|
2013-03-28 12:31:46 -04:00 |
|
Chris Dodge
|
1c2a8a97cd
|
remove unnecessary debug log message
|
2013-03-28 11:38:22 -04:00 |
|
Chris Dodge
|
197f52539f
|
add some unit tests
|
2013-03-28 11:37:53 -04:00 |
|
cahrens
|
227a5e8266
|
Delete converters, move unit tests to test_fields, add new additional test cases.
|
2013-03-27 12:56:06 -04:00 |
|
Victor Shnayder
|
68902b8039
|
Merge pull request #1747 from MITx/fix/cdodge/should-return-404-on-bad-asset-request
if we parse an invalid location in the content store middleware, then re...
|
2013-03-27 07:09:38 -07:00 |
|
Chris Dodge
|
b0e2c82ad3
|
actually.. return a 400 rather than a 404 because the request is malformed. Also add unit test.
|
2013-03-26 20:02:29 -04:00 |
|
Calen Pennington
|
b975d4d90c
|
Fix tests
|
2013-03-26 16:43:58 -04:00 |
|
Chris Dodge
|
269152c4f2
|
add a test scenario to count RT to database when prefetching children. This uses a shim function on pymongo's collection.find to do the counting
|
2013-03-25 23:15:35 -04:00 |
|
Chris Dodge
|
d8f1c2b41a
|
add unit test for proper depth build out
|
2013-03-25 22:49:39 -04:00 |
|
Don Mitchell
|
884019b14c
|
Merge branch 'bug/dhm/date-parse' of github.com:MITx/mitx into bug/dhm/date-parse
Conflicts:
cms/djangoapps/models/settings/course_metadata.py
cms/urls.py
|
2013-03-22 16:56:31 -04:00 |
|
Don Mitchell
|
056b7d3427
|
More unit tests which found another timezone assumption :-)
|
2013-03-22 16:45:21 -04:00 |
|
Don Mitchell
|
8370124e2b
|
Make to and from json for dates use iso format esp for timezone.
|
2013-03-22 16:16:32 -04:00 |
|
Don Mitchell
|
2dcfd1eba1
|
Merge pull request #1719 from MITx/feature/btalbot/studio-checklists
Add course checklists to Studio
|
2013-03-22 12:49:30 -07:00 |
|
cahrens
|
505a382421
|
Re-enable all the tests!
|
2013-03-22 14:00:20 -04:00 |
|
Chris Dodge
|
dc983cb9a5
|
add checking for metadata that we can't support editing for in Studio. This is now an error and will have to be addressed by course authors
|
2013-03-22 11:15:14 -04:00 |
|
Christina Roberts
|
14e0387b20
|
Merge pull request #1716 from MITx/bug/orphan
Bug/orphan
|
2013-03-22 07:33:52 -07:00 |
|
cahrens
|
8385db8518
|
Clean up comments.
|
2013-03-21 21:40:38 -04:00 |
|
cahrens
|
016fe196ae
|
Add Python unit tests, don't convert URLs every time.
|
2013-03-21 21:21:24 -04:00 |
|
cahrens
|
1ae9e9bde3
|
Tests for opening action links.
|
2013-03-21 13:56:11 -04:00 |
|
Don Mitchell
|
e7727fcc6e
|
Pylint muting via docstrings and line wraps
|
2013-03-21 12:30:33 -04:00 |
|
Don Mitchell
|
11c9028f52
|
Merge pull request #1712 from MITx/fix/cdodge/get-import-to-work-with-conditionals
import needs to enumerate through the fields for all content scopes. Als...
|
2013-03-21 08:44:16 -07:00 |
|
Don Mitchell
|
bc8c0b6db2
|
Added unit test for what broke the system, but won't catch such a
regression in future b/c the problem was persisting under one parser and
reading under another.
|
2013-03-21 11:09:55 -04:00 |
|
Don Mitchell
|
ae55cd7533
|
One more unit test for json not containing expected fields.
|
2013-03-21 09:40:57 -04:00 |
|
Chris Dodge
|
9cd38d115e
|
import needs to enumerate through the fields for all content scopes. Also add unit test
|
2013-03-20 21:37:09 -04:00 |
|
Don Mitchell
|
bd2dd9408d
|
Unit tests and minor fixes to course_info_updates. Main fix was
returning the content in same form as it was saved rather than parroting
it back.
|
2013-03-20 17:49:03 -04:00 |
|
Calen Pennington
|
6b64b4214f
|
Make relative imports explicitly relative
|
2013-03-15 11:23:22 -04:00 |
|
Calen Pennington
|
fd3ba7db2a
|
Don't make cms.djangoapps a python module
|
2013-03-15 10:50:46 -04:00 |
|
Calen Pennington
|
531eb80eb2
|
Merge remote-tracking branch 'origin/master' into feature/alex/poll-merged
Conflicts:
cms/djangoapps/contentstore/tests/test_contentstore.py
cms/djangoapps/contentstore/views.py
common/lib/xmodule/xmodule/combined_open_ended_module.py
common/lib/xmodule/xmodule/open_ended_grading_classes/combined_open_ended_modulev1.py
common/lib/xmodule/xmodule/open_ended_grading_classes/open_ended_module.py
common/lib/xmodule/xmodule/open_ended_grading_classes/openendedchild.py
common/lib/xmodule/xmodule/peer_grading_module.py
common/lib/xmodule/xmodule/tests/test_combined_open_ended.py
common/lib/xmodule/xmodule/tests/test_self_assessment.py
lms/djangoapps/open_ended_grading/tests.py
|
2013-03-13 12:18:04 -04:00 |
|
Chris Dodge
|
e5ee0a77ed
|
hot fix for delete_item. The 'delete_all_versions' is useful in that it is set to true when doing explicit deletes as opposed to 'delete draft'. If delete_all_versions=False, then don't remove the deleted item from the parent children collection
|
2013-03-12 15:24:10 -04:00 |
|
Calen Pennington
|
1411fadd28
|
Fix access to children via definition
|
2013-03-12 10:41:10 -04:00 |
|
Calen Pennington
|
2113541632
|
Merge remote-tracking branch 'origin/master' into feature/alex/poll-merged
Conflicts:
.ruby-version
cms/djangoapps/contentstore/tests/test_contentstore.py
cms/djangoapps/models/settings/course_metadata.py
common/lib/xmodule/xmodule/course_module.py
common/lib/xmodule/xmodule/modulestore/tests/factories.py
|
2013-03-12 07:23:28 -04:00 |
|
Chris Dodge
|
bf0e5a2701
|
do a bunch of pylint improvements
|
2013-03-11 21:14:24 -04:00 |
|
Don Mitchell
|
d85f7ac9be
|
Merge pull request #1645 from MITx/feature/cdodge/pylint-cleanup
Feature/cdodge/pylint cleanup
|
2013-03-11 12:10:05 -07:00 |
|
Chris Dodge
|
26f4424581
|
clean up some pylint violations
|
2013-03-11 14:55:37 -04:00 |
|
Calen Pennington
|
9c85d920ee
|
Fixing tests created on master
|
2013-03-11 10:48:06 -04:00 |
|
Chris Dodge
|
d38b37f0b4
|
delete_item should update the parent's list of children to reflect the delete operation. Also added unit test
|
2013-03-11 10:47:22 -04:00 |
|
Victor Shnayder
|
84f05f9f61
|
Merge remote-tracking branch 'origin/master' into feature/alex/poll-merged
Conflicts:
common/lib/xmodule/xmodule/capa_module.py
common/lib/xmodule/xmodule/foldit_module.py
common/lib/xmodule/xmodule/tests/__init__.py
common/lib/xmodule/xmodule/tests/test_capa_module.py
common/lib/xmodule/xmodule/tests/test_combined_open_ended.py
common/lib/xmodule/xmodule/tests/test_conditional.py
common/lib/xmodule/xmodule/tests/test_self_assessment.py
|
2013-03-08 00:40:18 -05:00 |
|