Juan Leyva
145900708c
MDL-54941 webservice: Refactor file handling in WS
...
This commit reduces boilerplate code.
It also forces WS returning files to always return the following
fields: filename, filepath, mimetype, filesize, timemodified and
fileurl.
2016-07-28 12:07:04 +02:00
Eloy Lafuente (stronk7)
e23faa4c81
Merge branch 'MDL-55046-master' of git://github.com/dpalou/moodle
2016-07-26 19:40:52 +02:00
Dan Poltawski
12811fcc34
Merge branch 'MDL-55284-master' of git://github.com/damyon/moodle
2016-07-25 15:53:41 +01:00
Damyon Wiese
771f8df153
MDL-55284 assign: Add missing webservice param 'onlyids'
...
Mod assign list_participants webservice is supposed to accept a param to limit the
returned data to only show user ids and not the full user details. It is missing
and so the full user records are fetched every time. This has a major impact on the
performance of the new assignment grading interface.
2016-07-20 15:18:01 +08:00
David Monllao
f60a16ad9d
Merge branch 'MDL-55162-master' of git://github.com/jleyva/moodle
...
Conflicts:
mod/assign/externallib.php
2016-07-18 20:35:50 +02:00
Dani Palou
9ac99220c5
MDL-55046 assign: Return submissionstatement in get_assignments
2016-07-18 09:22:12 +02:00
Juan Leyva
b93ea100fc
MDL-55162 mod_assign: Refactor to use new validate_assign helper
2016-07-12 14:39:24 +01:00
Juan Leyva
7336b66f05
MDL-55162 mod_assign: New WS mod_assign_view_assign
2016-07-12 14:39:24 +01:00
Juan Leyva
95624eef09
MDL-55163 mod_assign: Fix mod_assign_copy_previous_attempts
...
- Not exposed via WS
- Have a bug when calling the api function
2016-07-11 10:35:24 +01:00
Eloy Lafuente (stronk7)
ed2d12a125
Merge branch 'MDL-54955-master' of git://github.com/jleyva/moodle
2016-07-05 21:15:31 +02:00
Juan Leyva
7ef49bd393
MDL-54951 webservice: Return intro text files in modules
2016-07-04 09:24:28 +01:00
Eloy Lafuente (stronk7)
4a365babb6
Merge branch 'MDL-54855-master' of git://github.com/crazyserver/moodle
2016-06-30 09:24:57 +01:00
Pau Ferrer Ocaña
ff6de75396
MDL-54991 assign: Invalid submissiongroup when not using groups
2016-06-27 09:24:29 +02:00
Pau Ferrer Ocaña
796161018c
MDL-54855 assign: Add missing field in get_assignments
2016-06-23 15:05:17 +02:00
Juan Leyva
d889b58747
MDL-54955 webservice: Apply external_format_string in course names
2016-06-20 13:16:52 +01:00
Jun Pataleta
5684c89b93
MDL-54623 mod_assign: Fetch correct types for user properties
...
Utilising core_user_external::user_description() to fetch the correct
types for the user properties.
2016-05-20 10:30:29 +08:00
Ryan Wyllie
1b2f9dc60c
MDL-53821 mod_assign: Hide full name when blind marking
...
Hide the student's full name in the new grading intferface when blind
marking is on.
2016-05-10 02:07:02 +00:00
Dan Poltawski
5702a8289b
Merge branch 'MDL-52954-master' of git://github.com/damyon/moodle
2016-04-11 09:52:40 +01:00
Pau Ferrer Ocaña
988065c045
MDL-53461 assign: Fix intro images to be shown in the mobile app
2016-04-05 09:33:15 +02:00
Damyon Wiese
6853cd5ed4
MDL-52954 assign: Fix the reasonable cibot warnings.
2016-03-30 14:07:28 +08:00
Damyon Wiese
bb690849c9
MDL-52954 assign: Rebuild the assignment single grade page.
2016-03-30 13:47:21 +08:00
Damyon Wiese
84a32f156e
MDL-52954 forms: Allow form submission via ajax (ignoring GET and POST)
2016-03-30 11:48:40 +08:00
David Monllao
b756bd551a
Merge branch 'MDL-52924-master' of git://github.com/jleyva/moodle
...
Conflicts:
version.php
2016-03-21 09:25:19 +08:00
Juan Leyva
bdf1ac2796
MDL-52924 mod_assign: New WS mod_assign_get_submission_status
2016-03-16 17:23:20 +01:00
Juan Leyva
8e76a2fadb
MDL-49934 assign: Allow admins, managers to use get_assignments ws
2016-03-14 10:09:54 +01:00
Juan Leyva
711f9468d4
MDL-52901 mod_assign: Check due dates in external save_submission
2016-03-08 00:12:29 +01:00
Juan Leyva
ee6aa74081
MDL-52974 mod_assign: Include missing local library
2016-03-02 10:34:20 +01:00
Andrew Nicols
05b0f579ca
Merge branch 'MDL-52974-master' of git://github.com/jleyva/moodle
2016-03-01 11:48:16 +08:00
Juan Leyva
69115a5a14
MDL-52999 mod_assign: Fix subplugins handling in external functions
2016-02-09 11:22:01 +01:00
Juan Leyva
e3e036ee09
MDL-52974 mod_assign: New Web Service mod_assign_view_submission_status
2016-02-02 13:27:03 +01:00
Juan Leyva
1c2b788256
MDL-49796 webservices: Fix the functions description
2015-07-14 11:31:57 +02:00
Juan Leyva
e0d6d10a83
MDL-49796 assign: New external function view_grading_table
2015-07-13 09:25:23 +02:00
Juan Leyva
13e814bcb1
MDL-49837 assign: Fix external functions return declaration
...
Incorrect use of external_warnings function
2015-04-13 17:34:35 +02:00
Juan Leyva
4e2e3c9528
MDL-49617 webservices: Return additional fields in get_assignments WS
2015-03-26 15:55:22 +01:00
Damyon Wiese
9e3eee671f
MDL-46171 Assign: Always require a submission record if there is a grade
...
Also - update unit tests to match the new expectations.
2014-09-24 15:07:36 +08:00
Damyon Wiese
ad030ab4a5
MDL-46171 assign: And here is the benefit of the new column - simplify the SQL
2014-09-24 15:07:36 +08:00
Juan Leyva
2e1eda559e
MDL-44444 Add fileurl to mod_assign_get_submissions webservice response parameters
2014-03-18 13:46:16 +08:00
Frederic Massart
695a18b6aa
MDL-43468 mod_assign: Webservice parameters were not safely cleaned
2014-03-04 14:49:20 +08:00
Paul Charsley
40c3dacf44
MDL-42425 modify mod_assign_save_grade to process advanced grading data
2014-02-03 09:06:28 +13:00
Damyon Wiese
57fbd5f91f
MDL-28448 Assign: Add a new capability that lets teachers mess with student submissions.
2014-01-15 12:52:08 +08:00
Damyon Wiese
8e1266bf77
MDL-33600 Assign: Add an admin setting to set the default for sendstudentnotifications
2014-01-08 11:03:59 +08:00
Eloy Lafuente (stronk7)
c7df8656be
Revert "MDL-42425 modify mod_assign_save_grade to process advanced grading data"
...
This reverts commit 29932b2112
.
Conflicts:
mod/assign/upgrade.txt
2013-12-20 03:39:14 +01:00
Paul Charsley
29932b2112
MDL-42425 modify mod_assign_save_grade to process advanced grading data
2013-12-19 09:39:22 +13:00
Paul Charsley
e8b443df33
MDL-41738 added web service function mod_assign_set_user_flags
2013-09-30 08:20:52 +13:00
Damyon Wiese
91327d96ca
MDL-37148 assign: Fix missing parameter for submit_for_grading webservice.
...
It is required to specify if the user has accepted the submission statement
to make sure it goes in the log/event.
2013-09-16 09:34:32 +08:00
Damyon Wiese
1561a37cab
MDL-37148 assign: Fix all phpdocs warnings from moodlecheck (except tests)
2013-09-13 13:30:02 +08:00
Damyon Wiese
539af60201
MDL-37148 assign: codechecker cleanups
2013-09-13 13:30:02 +08:00
Damyon Wiese
05a6445a14
MDL-37148 Assignment: Lots more webservices
...
This patch adds lots of webservices to the assignment module.
* mod_assign_revert_submissions_to_draft
* mod_assign_lock_submissions
* mod_assign_unlock_submissions
* mod_assign_save_submission
* mod_assign_submit_for_grading
* mod_assign_save_grade
* mod_assign_save_user_extensions
* mod_assign_reveal_identities
* mod_assign_copy_previous_attempt
All features such as reopening attempts and marking workflow are supported through
the save_grade and save_submission functions.
Uploading files is supported by sending draft item ids for the files_filemanager param the same functions.
2013-09-13 13:29:51 +08:00
Dan Poltawski
d713ba95f0
Merge branch 'MDL-40548' of https://github.com/Lightwork-Marking/moodle
2013-07-30 09:58:21 +08:00
Paul Charsley
07df8c38d9
MDL-40548 added mod_assign_get_user_flags and
...
mod_assign_get_user_mapping
2013-07-29 10:36:17 +12:00