Chris Dodge
bca2018ab5
add unit tests for all methods in MixedModuleStore
2013-08-16 00:53:15 -04:00
Chris Dodge
cf715cb727
fix pylint violations
2013-08-15 22:58:04 -04:00
Chris Dodge
ed584a9abb
fix pep8 violations
2013-08-15 22:58:04 -04:00
Chris Dodge
c6cde6a722
resolve incorrect merge conflict resolution
2013-08-15 22:58:04 -04:00
Chris Dodge
61219169d4
change over the modulestore configuration to be a dict and use a property accessor. Also update some django-admin configs to use this means to set the runtime configuration
2013-08-15 22:58:04 -04:00
Chris Dodge
0b8866ef29
forgot to return dictionary on get_errored_courses
2013-08-15 22:58:04 -04:00
Chris Dodge
9cc796df83
fix one more 'revision' -> 'branch' argument name change
2013-08-15 22:58:03 -04:00
Chris Dodge
7a80a9c02a
fix broken test after rebase
2013-08-15 22:58:03 -04:00
Chris Dodge
7bdc4c5134
fix errant conflict resolution
2013-08-15 22:58:03 -04:00
Chris Dodge
52928d165a
update SplitModuleStore tests to pull the course_id from the locator
2013-08-15 22:58:03 -04:00
Chris Dodge
9f14f1ee62
update file comment on MixedModuleStore
2013-08-15 22:58:03 -04:00
Chris Dodge
54bd3170bc
remove another debug logging message
2013-08-15 22:58:03 -04:00
Chris Dodge
fa61bdf69f
remove debugging logging
2013-08-15 22:58:02 -04:00
Chris Dodge
5298f54f4c
fix tests
2013-08-15 22:58:02 -04:00
Chris Dodge
cff93d324b
WIP
2013-08-15 22:58:02 -04:00
Chris Dodge
2616d8f7a2
remove unneeded type check on the modulestore
2013-08-15 22:58:02 -04:00
Chris Dodge
82988972ad
WIP: added a get_modulestore_type. Added some unit tests. changed over the isinstance() with respect to modulestores to use this get_modulestore_type()
2013-08-15 22:58:02 -04:00
Chris Dodge
b5253b52b6
add a set_modulestore_configuration to the modulestore interface. This can be used to pass in settings run the Django tier
2013-08-15 22:56:32 -04:00
Chris Dodge
6f11b98b4f
initial commit for a mixed module store which can interoperate with both XML and Mongo module stores
2013-08-15 22:56:32 -04:00
David Ormsbee
5f8eab5f95
Merge pull request #687 from edx/bugfix/ichuang/optioninput-msg
...
capa optioninput template was missing msg output (needed for hints)
2013-08-15 13:52:50 -07:00
Christina Roberts
03b6050348
Merge pull request #667 from edx/christina/read-only-api
...
Make split mongo read-only API consistent with other modulestores.
2013-08-15 13:05:58 -07:00
Carlos Andrés Rocha
f4fe6de38f
Merge pull request #684 from rocha/test-invalid-youtube-ids
...
Add test for invalid YouTube IDs strings
2013-08-15 10:13:26 -07:00
cahrens
9f229a4605
Make get_errored_courses part of the modulestore API (with default implementation).
...
Also clarifies the contraction of location.course_id by throwing an exception for lcoations that are not of category course.
Add test for course_id method.
2013-08-15 12:50:37 -04:00
Vik Paruchuri
c9e0d36d16
Merge pull request #621 from edx/fix/vik/oe-issues
...
Fix/vik/oe issues
2013-08-15 08:27:34 -07:00
Carlos Andrés Rocha
9199f1d08b
Add test for invalid YouTube IDs strings
2013-08-15 11:06:53 -04:00
Peter Baratta
55b67e39bb
Merge pull request #680 from edx/peterb/move-numpy-seterr
...
Move the silencing of numpy's warnings into test_calc.py
2013-08-15 07:31:03 -07:00
Peter Baratta
5f3dd37f98
Move the silencing of numpy's warnings into test_calc.py
...
..because that is where it is the most annoying/visible. Otherwise it really
has no effect on the LMS or anything else.
2013-08-15 08:54:43 -04:00
Valera Rozuvan
8ba9497fd9
Merge pull request #675 from edx/anton/disable_0-25x_speed
...
Add filter for playback rates.
2013-08-14 19:46:58 -07:00
ichuang
501c089f41
capa optioninput template was missing msg output (needed for hints)
2013-08-14 21:51:40 -04:00
Sarina Canelake
6a1e88cf77
Merge pull request #681 from edx/sarina/hotfix/fix-combinedopenended
...
Fix error seen in combinedopenended modules
2013-08-14 13:53:52 -07:00
Sarina Canelake
f438922a88
Fix error seen in combinedopenended modules
2013-08-14 16:36:33 -04:00
John Jarvis
4c469cc414
Merge pull request #666 from edx/jarv/add-get-grades
...
adding django-admin commands to dump grades to a csv file
2013-08-14 11:42:51 -07:00
John Jarvis
7dc7406d3c
updating help for --course
2013-08-14 14:42:24 -04:00
David Ormsbee
57a8063517
Merge pull request #651 from edx/ormsbee/enrollment_modes
...
Add mode and is_active to CourseEnrollment, shift enrollment logic to model
2013-08-14 10:45:27 -07:00
David Ormsbee
3ce87583ab
Shift enroll/unenroll logic to CourseEnrollment model, add is_active and mode.
...
Features coming down the pipe will want to be able to:
* Refer to enrollments before they are actually activated (approval step).
* See what courses a user used to be enrolled in for when they re-enroll in
the same course, or a different run of that course.
* Have different "modes" of enrolling in a course, representing things like
honor certificate enrollment, auditing (no certs), etc.
This change adds an is_active flag and mode (with default being "honor").
The commit is only as large as it is because many parts of the codebase were
manipulating enrollments by adding and removing CourseEnrollment objects
directly. It was necessary to create classmethods on CourseEnrollment to
encapsulate this functionality and then port everything over to using them.
The migration to add columns has been tested on a prod replica, and seems to be
fine for running on a live system with single digit millions of rows of
enrollments.
2013-08-14 13:23:06 -04:00
Anton Stupak
b4df2c4d73
Add filter for playback rates.
2013-08-14 18:15:18 +03:00
cahrens
13ef870b1b
pylint/pep8 cleanup.
...
cleanup.
2013-08-14 09:59:44 -04:00
cahrens
aed29cb01f
Add get_instance method.
2013-08-14 09:50:00 -04:00
cahrens
70d5ec6ea4
Make it clear that get_course_for_item is only a helper method in mongo modulestore.
2013-08-14 09:04:58 -04:00
Valera Rozuvan
b583a4e793
Optimizing code. Caching an element selector.
2013-08-14 11:56:13 +03:00
Valera Rozuvan
99ae63777e
Removed unnecessary tabindex = 0 from <a /> - they get it by default.
2013-08-14 11:51:15 +03:00
Valera Rozuvan
3b326c3072
Fixing spelling typos in comments.
2013-08-14 11:49:27 +03:00
Valera Rozuvan
efac70e6b3
Adding documentation to the event handlers for volume and speed control.
2013-08-14 10:51:45 +03:00
Valera Rozuvan
da3e21ceee
Fixed tabbing backwards.
...
Now you can tab through all of the controls in Video forwards, and then tab backwards.
2013-08-14 10:51:45 +03:00
Valera Rozuvan
0a5d261fc4
For YouTube videos tabbing from Speeds to Volume closes Speeds dialog.
...
An old TODO item was done. It turns out a simple case of calling
the method to bind handlers after the Spees dialog was re-rendered.
2013-08-14 10:51:45 +03:00
Carlos Andrés Rocha
a2225aad01
Merge pull request #655 from rocha/cleanup-xmodule-test-imports
...
Cleanup some xmodule tests imports and data directory location
2013-08-13 14:48:26 -07:00
cahrens
e0aa46ab2d
Make split mongo read-only API consistent with other modulestores.
2013-08-13 15:06:08 -04:00
Joe Blaylock
d6530fa633
Anonymized ID mapping fixups
...
Fixups to Nate's anonymized id mapper, repairing pep8 and pylint errors,
and rebasing on recent master.
2013-08-13 11:39:50 -07:00
Nate Hardison
e4994b15cd
Add mgmt cmd to generate anonymized ID mapping
...
So that instructors have easy access to the mapping from anonymized
IDs (a simple MD5 hash of the user ID that's used when integrating
with third-party services like Qualtrics) to user IDs, we have a
simple Django management command to generate a CSV mapping. To run,
use the following:
rake django-admin[anonymized_id_mapping,<system>,<env>,<course_id>]
And, of course, substitute the appropriate values for <system>, <env>,
and <course_id>. (E.g., lms, dev, and MITx/6.002x/Circuits)
2013-08-13 11:10:05 -07:00
John Jarvis
d0a64f2c2a
adding django-admin commands to dump grades to a csv file
2013-08-13 13:29:48 -04:00