Ned Batchelder
326d9dbeac
Merge pull request #1851 from edx/ned/merge-lti-hotfix
...
Ned/merge lti hotfix
2013-12-04 13:48:22 -08:00
Calen Pennington
e561c1354d
Add managemant command to generate sql to clean up tp truncated student ids in ORA db
2013-12-04 16:18:40 -05:00
Adam Palay
4d506016e7
Add a backwards migration to delete the archive table
2013-12-04 16:07:43 -05:00
Александр
e96108629d
Fix LTI tests.
2013-12-04 15:55:47 -05:00
Александр
c4515faedf
Make has_score to be XField insted of decriptor property.
...
Conflicts:
common/lib/xmodule/xmodule/lti_module.py
2013-12-04 15:55:42 -05:00
polesye
e4403815e7
Fix LTI max_score method.
2013-12-04 15:54:51 -05:00
Calen Pennington
838622f5bd
Handle integrity errors when creating/retrieving AnonymousUserId entries
2013-12-04 13:56:53 -05:00
Adam Palay
7171397d95
extend max_length of anonymous_user_id (LMS-1571)
2013-12-04 13:56:53 -05:00
Calen Pennington
11bbf4c182
Add grading functionality to LTI xmodule
...
Co-author: Alexander Kryklia <kryklia@edx.org >
Co-author: Ned Batchelder <ned@edx.org >
Co-author: Oleg Marchev <oleg@edx.org >
Co-author: Valera Rozuvan <valera@edx.org >
Co-author: polesye
[BLD-384]
2013-11-26 16:30:55 -05:00
Calen Pennington
1205173d6f
Add a per-course anonymous student id
...
This does not yet replace the existing per-student anonymous id, but
is intended to do so in the future.
Co-author: Alexander Kryklia <kryklia@edx.org >
Co-author: Ned Batchelder <ned@edx.org >
Co-author: Oleg Marchev <oleg@edx.org >
Co-author: Valera Rozuvan <valera@edx.org >
Co-author: polesye
2013-11-26 16:29:35 -05:00
Calen Pennington
9b6edea406
Rename the LTIModuleDescriptor to LTIDescriptor to follow convention
2013-11-26 16:29:34 -05:00
Calen Pennington
6d613f9d4e
Enable un-authenticated handler urls
...
Updates to depend on the latest version of XBlock, which includes
support for service-to-service (thirdparty) handler urls, which aren't
authenticated with a user (unlike handler requests coming from the
xblock client-side javascript).
Co-author: Ned Batchelder <ned@edx.org >
2013-11-26 16:29:34 -05:00
Calen Pennington
329419696e
Merge pull request #1746 from cpennington/fix-lms-1532
...
Fix LMS-1532 (partially instantiated XModules after an exception)
2013-11-22 10:01:43 -08:00
David Ormsbee
87f19469b9
Merge pull request #1750 from edx/sarina/dormsbee_grades_download
...
Sarina/dormsbee grades download
2013-11-22 09:28:09 -08:00
Calen Pennington
3c042b52fd
Clear out the cache xmodule_instance after an exception in XModule init
...
This guarantees that the ErrorModule will be created, instead of
potentially using a partially instatiated broken module. Fixes
[LMS-1532].
2013-11-22 12:08:29 -05:00
Calen Pennington
8d62fa14d8
Tests for LMS-1532
2013-11-22 12:08:29 -05:00
Ned Batchelder
75532987ce
Properly convert files from Webob to pure files.
...
Webob represents uploaded files as cgi.FieldStorage objects. The
XModule code expects pure Python file objects. Each FieldStorage object
is wrapped to present the proper file interface, with file names.
LMS-1492
2013-11-22 11:47:34 -05:00
Ned Batchelder
1c27ec3d7e
Add two tests of problems-with-files
...
One test passes already, the other fails. Fix in next commit.
2013-11-22 11:47:33 -05:00
Ned Batchelder
6d94b71203
Clean up test files, no substantive changes.
...
These changes prepare for the changes to the tests that are coming, but
make no change to the behavior themselves.
2013-11-22 11:47:33 -05:00
David Ormsbee
a99fd08004
Fix error case where we have items in our grading csv output
...
that are not present in a given student's gradeset.
General code cleanup and addition of comments.
Instructor dashboard API unit tests.
LMS-58
2013-11-22 10:06:28 -05:00
Don Mitchell
3ab17d7523
Allow colons in Locator fields.
2013-11-21 10:41:49 -05:00
Calen Pennington
b4a1840344
Move xmodule_runtime.xmodule_instance registration earlier
...
This allows XModules (specifically CombinedOpenEnded) to use ajax_url
during their init functions (which would, before, have thrown an
exception).
[LMS-1493]
2013-11-20 10:15:09 -05:00
Calen Pennington
6c9ad30ee1
Update open-ended tests to load the module between 'requests'
...
Under normal operation, XModules are reloaded on each request from a
student. CombinedOpenEnded modules have code that runs at initialization
that validates the students state. These changes makes that code run
during several long-form unit tests (testing CombinedOpenEnded across
multiple 'requests').
These tests are marked as expectedFailure because they now exhibit the
same failures as observed in [LMS-1493] (namely, the students state gets
reset, because CombinedOpenEnded interprets system.ajax_url raising an
error as meaning that the problem definition and the student answers are
in conflict)
2013-11-20 10:15:09 -05:00
Giulio Gratta
745f45090f
Merge pull request #1702 from edx/giulio/anon-user-id-yml
...
Adding a YAML file to demonstrate how to include anonymized user IDs in Studio elements.
2013-11-19 11:29:26 -08:00
Christina Roberts
d4082859f8
Merge pull request #1714 from edx/christina/fix-children
...
The forcing of IDs to non-draft must happen in base.py instead of draft....
2013-11-19 11:18:54 -08:00
cahrens
ed9a61e2d9
The forcing of IDs to non-draft must happen in base.py instead of draft.py.
...
The draft.py solution only worked when the parent was also in the draft store.
2013-11-19 12:08:29 -05:00
Sarina Canelake
69ef753195
Merge pull request #1641 from manuel-freire/master
...
298.15 K is 25 C, not 0 (0 is defined to be at 273.15)
#os
2013-11-19 08:25:49 -08:00
Jim Abramson
57cb983308
Merge pull request #1704 from edx/release-hotfix-2013-11-15
...
merge 2013-11-15 hotfix branch to master
2013-11-19 07:56:12 -08:00
Greg Price
89924c5e61
Alert users when forum AJAX requests fail
...
AJAX requests on forums pages occasionally fail (usually when a request
to the comments service times out), but the user is not made aware of
the failure. This manifests as either the system not appearing to store
state (e.g. if an attempt to flag a post fails) or something taking
forever to load. Now, a modal will pop up to alert the user that a
request has failed and instruct them to reload the page.
In the longer term, we should fix each user gesture that results in an
AJAX call to gracefully handle a failure by resetting the state of the
world appropriately and aleritng the user.
JIRA: FOR-37
2013-11-19 09:55:49 -05:00
Greg Price
0c28858c64
Remove unused forum CoffeeScript code
2013-11-19 09:52:21 -05:00
Julia Hansbrough
dac5d2ac0e
Merge pull request #1634 from edx/flowerhack/feature/refactor-to-track-enrollment
...
Flowerhack/feature/refactor to track enrollment
2013-11-19 06:27:22 -08:00
polesye
38163cf942
BLD-410: Add tests.
2013-11-19 14:37:14 +02:00
Manuel Freire
cdc3ad1cc4
298.15 K is 25 C, not 0 (0 is defined to be at 273.15)
...
Signed-off-by: <manuel.freire@fdi.ucm.es >
2013-11-19 12:52:13 +01:00
Giulio Gratta
f125a604a4
Adding a YAML file to demonstrate how to include anonymized user IDs in Studio elements.
2013-11-18 14:44:46 -08:00
polesye
e9b1d2102d
Merge pull request #1688 from edx/anton/add-template-checkboxes
...
Add template for checkboxes to studio.
2013-11-18 11:24:25 -08:00
Gabe Mulley
4b1974cdbc
fix spammy log messages from course_id tracking in CMS
2013-11-18 08:47:54 -05:00
polesye
4b87237825
BLD-193: Add template for checkboxes to studio.
2013-11-18 09:50:53 +02:00
Calen Pennington
43c0210889
Use correct set of OpenEndedChild states
2013-11-16 11:04:00 -05:00
Calen Pennington
e47e60f68b
Assign a score of 0 to tasks with no attempts
2013-11-16 10:30:05 -05:00
Calen Pennington
347f0c7508
Centralize to a single GradingServiceError, so that it's caught when expected
2013-11-15 15:42:22 -05:00
Calen Pennington
4c21cb200f
Teach OEE to consider old task_states when trying to recover from an xml mismatch
2013-11-15 14:13:19 -05:00
polesye
153bc25d8c
BLD-502: Add improvements to Video player.
2013-11-15 18:12:51 +02:00
Julia Hansbrough
f950ea106d
response to CR
2013-11-15 15:38:21 +00:00
polesye
50250d82d0
Merge pull request #1653 from edx/anton/video-add-test
...
Video: tests to check speed change
2013-11-15 07:12:49 -08:00
Christina Roberts
e2926a94e0
Merge pull request #1621 from edx/christina/item-create
...
Change save_item and create_item to be RESTful.
2013-11-15 06:16:54 -08:00
polesye
526f791800
BLD-424: Add test to check speed change.
2013-11-15 13:39:49 +02:00
Julia Hansbrough
e73489ec31
Response to CR
2013-11-14 22:34:18 +00:00
cahrens
569c86de74
Code review feedback.
2013-11-14 17:09:24 -05:00
David Baumgold
81e1d18de3
Merge pull request #1670 from antoviaque/hidden-module-unicode
...
hidden-module-unicode: Return unicode string to pass assertion
2013-11-14 14:02:07 -08:00
cahrens
53a4016619
Utility method for converting string to bool.
2013-11-14 13:47:46 -05:00