Peter Fogg
|
e982d7fcdc
|
Refactor test_contenstore to remove code duplication.
|
2013-06-04 13:22:08 -04:00 |
|
Peter Fogg
|
266938a7b3
|
Finish the comment I forgot about...
|
2013-06-03 16:55:28 -04:00 |
|
Peter Fogg
|
90bbff8965
|
Add test to be sure that advanced components require multiple clicks.
|
2013-06-03 16:53:14 -04:00 |
|
Chris Dodge
|
6fb520f21e
|
add peer grading to the advanced components check
|
2013-06-02 14:39:36 -04:00 |
|
Chris Dodge
|
c0899463e3
|
remove unused import reference
|
2013-06-02 00:18:35 -04:00 |
|
Chris Dodge
|
ba9a5b3824
|
add simple check on whether the expected advanced modules appear in the edit unit page when turned on
|
2013-06-02 00:15:34 -04:00 |
|
Chris Dodge
|
fbbae44988
|
Merge branch 'master' of github.com:edx/edx-platform into feature/cdodge/autoprovision-forums-master
Conflicts:
cms/djangoapps/contentstore/views/course.py
lms/djangoapps/django_comment_client/base/views.py
lms/djangoapps/django_comment_client/management/commands/show_permissions.py
lms/djangoapps/django_comment_client/models.py
lms/djangoapps/django_comment_client/tests/test_utils.py
lms/envs/common.py
|
2013-05-20 10:22:36 -04:00 |
|
cahrens
|
944d2d61f1
|
Make sure to get the correct modulestore on delete (static tabs do not exist in draft modulestore).
#324
|
2013-05-16 17:15:53 -04:00 |
|
Chris Dodge
|
6cec66979a
|
fix broken tests. Also drive by fix for the sporadic failure on tests which may go to a textbook page. The URL formatting was incorrect in the test
|
2013-05-15 11:16:47 -04:00 |
|
Chris Dodge
|
ef78c99f70
|
pep8/pylint violations fixes
|
2013-05-14 10:53:10 -04:00 |
|
Chris Dodge
|
cbe205328a
|
Merge branch 'master' of github.com:edx/mitx into feature/cdodge/autoprovision-forums-master
Conflicts:
cms/djangoapps/contentstore/views.py
|
2013-05-13 15:47:33 -04:00 |
|
Chris Dodge
|
4d197e10ec
|
fix some violations. Build up karma
|
2013-05-13 11:10:11 -04:00 |
|
Chris Dodge
|
3cf865a88f
|
added another unit test check point for export/import of classic textbooks
|
2013-05-13 10:16:18 -04:00 |
|
Chris Dodge
|
1db66957af
|
Merge branch 'master' of github.com:edx/mitx into fix/cdodge/textbooks-not-exporting
|
2013-05-10 15:44:55 -04:00 |
|
Chris Dodge
|
51809965fe
|
Merge branch 'master' of github.com:edx/mitx into feature/cdodge/autoprovision-forums-master
|
2013-05-10 10:01:53 -04:00 |
|
Chris Dodge
|
1b0eff52ed
|
create test cases to simulate error exporting/importing textbooks
|
2013-05-10 10:01:10 -04:00 |
|
Calen Pennington
|
ea859bd6c7
|
Filter out the template course from the mongo modulestore get_courses function
|
2013-05-09 16:22:23 -04:00 |
|
Chris Dodge
|
81ecf0c5df
|
add unit test to verify forum seeding occurs when creating new courses
|
2013-05-07 11:18:15 -04:00 |
|
Chris Dodge
|
d7693d96b7
|
unit test should just use direct store. Also remove unused import and logging.
|
2013-04-29 09:18:49 -04:00 |
|
Chris Dodge
|
ead18f9fbb
|
undo the unit test, as per Jeh, the tests really aren't supposed to run the CMS with 'draft
awareness'
|
2013-04-26 10:30:39 -04:00 |
|
Chris Dodge
|
f6417b4f71
|
add a delete-all-versions flag to the delete_item method in the modulestores. Extend tests to verify. Still wip
|
2013-04-25 15:24:31 -04:00 |
|
Chris Dodge
|
506a9a20aa
|
when updating the list of children of sequentials, we must use the 'direct' store otherwise we end up with draft revisions of sequentials, which is bad
|
2013-04-22 10:13:33 -04:00 |
|
Calen Pennington
|
3cd414afbb
|
Merge pull request #1825 from MITx/fix/cale/gradebook
Fix/cale/gradebook
|
2013-04-17 07:37:02 -07:00 |
|
cahrens
|
8c336ef998
|
Don't try to export orphaned draft items.
#278
|
2013-04-16 17:05:11 -04:00 |
|
Calen Pennington
|
bf6b886ccd
|
Fix pylint and pep8 errors
|
2013-04-16 11:45:21 -04:00 |
|
Calen Pennington
|
6644b78819
|
Fix gradebook when using grade cutoffs other than A/B/C
|
2013-04-16 11:38:58 -04:00 |
|
Chris Dodge
|
00674ee66b
|
need timedelta import
|
2013-04-13 21:21:15 -04:00 |
|
Chris Dodge
|
b4fe23f3a2
|
more cleanups in CMS project
|
2013-04-13 21:13:34 -04:00 |
|
Chris Dodge
|
4345c8e09c
|
add unit test to assert that get_items() is not using revision=None as a wildcard
|
2013-04-12 09:48:11 -04:00 |
|
Christina Roberts
|
c455710cca
|
Merge pull request #1815 from MITx/fix/cdodge/studio-forum-improvements
Fix/cdodge/studio forum improvements
|
2013-04-11 10:37:49 -07:00 |
|
Chris Dodge
|
07b9d6353e
|
Merge branch 'master' of github.com:MITx/mitx into fix/cdodge/studio-forum-improvements
|
2013-04-10 09:26:51 -04:00 |
|
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
|
7c48f9a5ed
|
add unit test to verify that the store updated signal actually fired. Also fix bug where cloning item doesn't update the inherited metadata caches
|
2013-04-06 10:43:40 -04:00 |
|
Chris Dodge
|
a3de4ff625
|
add unit test to confirm 'id' generation
|
2013-04-05 15:59:01 -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 |
|
Chris Dodge
|
ee5076bda9
|
fix incorrect comment
|
2013-03-28 14:48:12 -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 |
|
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 |
|
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 |
|