-
Improvement
-
Resolution: Fixed
-
Major
-
2.5
-
MOODLE_25_STABLE
-
MOODLE_26_STABLE
-
MDL-37148-master -
- Run the unit tests
- Do some exploratory tests on the assignment module to look for regressions (all functions in the assignment have had minor updates - so it would be good to test all areas)
-
8
-
FRONTEND Sprint 3
After a small bit of refactoring - most of the process_XXX functions in mod/assign/locallib.php would be suitable for calling from a webservice.
List of simple functions:
Function | Description | Parameters | Returns |
---|---|---|---|
mod_assign_revert_submissions_to_draft | Revert a list of submissions to draft for a single assignment | int assignmentid, array userids | array of external warnings |
mod_assign_lock_submissions | Lock a list of assignment submissions for a single assignment | int assignmentid, array userids List of user ids | array of external warnings |
mod_assign_unlock_submissions | Unlock a list of assignment submissions for a single assignment | int assignmentid, array userids List of user ids | array of external warnings |
mod_assign_submit_for_grading | Submit the current users submission for marking | int assignmentid | array of external warnings |
mod_assign_save_user_extensions | Grant extension due dates to a list of students for a single assignment | int assignmentid, array userids, array duedates | array of external warnings |
mod_assign_reveal_identities | Reveal the identities for users in a blind marking assignment | int assignmentid | array of external warnings |
More complicated functions:
Function | Description | Parameters | Returns |
---|---|---|---|
mod_assign_save_submission | Save a submission to the assignment as the current user | int assignmentid, plugindata array of fields used by plugins to save the submission. The valid list of fields is dependent on the installed plugins | array of external warnings |
mod_assign_save_grade | Save a grade to the assignment as the current user | int assignmentid, int userid, float grade, bool applytoall, plugindata array of fields used by plugins to save the feedback. The valid list of fields is dependent on the installed plugins | array of external warnings |
Other contenders - download_all_submissions (link to download a zip - TBD)
- blocks
-
MDL-39954 Replace Legacy events - Assessable content
- Closed
- caused a regression
-
MDL-55163 Fix mod_assign_copy_previous_attempts
- Closed
- has a non-specific relationship to
-
MDL-40055 Replace add_to_log with an event trigger - mod_assign
- Closed
- is blocked by
-
MDL-22236 Design way to send files by web service (upload)
- Closed
- will help resolve
-
MDL-31274 Assignment Web Services: Implement new web services
- Closed