- 16 Dec, 2015 27 commits
-
-
Diana Huang committed
-
Previously, api.update_from_assessments() would call model. update_from_assessments(), then api._serialized_with_details(reqs), which would duplicate the update work we *just* did as part of getting the status. Now, update() and get_details() are totally seperate operations, and _serialized_with_details() is a read-only method that does not need to have requirements passed in. I've also standardized student_training and peer, the two assessment types that do *not* auto-complete on None requirements, to return False if None, and error out if passed {}. This is to allow staff_assess to pass None to indicate "Update thyself, if you don't depend on requirements" to the other step types. Also adding test_requirements_changed(), to confirm that workflows are updated when requirements change, even though thoe requirements are no longer explicitly passed to the getter.
Eric Fischer committed -
Diana Huang committed
-
Fairly simple test, should help to provide some extra peace of mind.
Eric Fischer committed -
Diana Huang committed
-
I misunderstood what was happening in my cursory investigation earlier - all that needs to change here is the type of exception being caught.
Eric Fischer committed -
cahrens committed
-
cahrens committed
-
TNL-3464
cahrens committed -
Add a test to verify that it is working as expected.
Diana Huang committed -
Andy Armstrong committed
-
Staff assessments can now mark workflow as being done, with proper handling for blocking workflows (such as peer), to hide a score if the submitter has not yet fulfilled their obligations. Includes tests. Also contains a tiny bugfix for a previously unexecuted codepath.
Eric Fischer committed -
This test is trying to confirm behavior when an api cannot be loaded. It is no longer possible for an AssessmentWorkflow to have been created without going through __init__(), so the latter part of this test is now trying to confirm assumptions about an impossible state. I recommend we just remove it.
Eric Fischer committed -
Eric Fischer committed
-
Eric Fischer committed
-
TNL-3467
Andy Armstrong committed -
Even when the icon is updated to fa, nothing happens when the icon is clicked. TNL-3799
cahrens committed -
cahrens committed
-
cahrens committed
-
Andy Armstrong committed
-
cahrens committed
-
Eric Fischer committed
-
Staff assessments can now mark workflow as being done, with proper handling for blocking workflows (such as peer), to hide a score if the submitter has not yet fulfilled their obligations. Includes tests.
Eric Fischer committed -
Previously, I moved some assumptions out of class contstants and into code, in `start_workflow()`. Turns out, it's also possible to load a model from the database, which bypasses this check and fails to fill out self.STATUS properly. Refactoring so that `include_staff_in_class()` gets called in both cases.
Eric Fischer committed -
Changes include: -modifies requirements to gt an updated version of edx-submissions -adds set_staff_score to the AssessmentWorkflow model, which will record a new annotated score using edx-submissions functionality -prevents recording non-staff scores if a staff score exists -modifies update_from_assessment to call set_staff_score as needed -this includes changes to both the workflow model and its api -modifies get_score to allow staff overrides as optional -modifies the assessment serializer to include id information -adds this information to get_score method in self, ai, peer, and staff apis, to expose c ontributing_assessments where needed -fixes a small bug regarding None vs {} in the peer api -adds staff-assessment to the xblock, and makes it always available -uses the new force_update_score parameter on the workflow api when recording a staff assessment
Eric Fischer committed -
Diana Huang committed
-
TNL-1162
Usman Khalid committed
-
- 08 Dec, 2015 1 commit
-
-
Increase the comment textarea size to 1000
Andy Armstrong committed
-
- 07 Dec, 2015 1 commit
-
-
Pan Luo committed
-
- 30 Nov, 2015 2 commits
-
-
Fix styling issue with ORA staff tools
Andy Armstrong committed -
TNL-3845
Andy Armstrong committed
-
- 24 Nov, 2015 6 commits
-
-
Speed up the translation process
Andy Armstrong committed -
Andy Armstrong committed
-
Bump the version number to 0.2.3
Andy Armstrong committed -
Andy Armstrong committed
-
Update translations from Transifex
Andy Armstrong committed -
Andy Armstrong committed
-
- 23 Nov, 2015 2 commits
-
-
Miscellaneous small improvements
Andy Armstrong committed -
* Bump version numbers * Introduce JSCS style validation * Address style failures
Andy Armstrong committed
-
- 21 Nov, 2015 1 commit
-
-
fix travis configuration
Muhammad Ammar committed
-