Git commits in Moodle 2.8.x by Juan Leyva

commit 0f989a4c70a6d516196f4e85db537593f9d10b39
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 27 Jan 2016 18:10:24 +0800
Tag:    v2.8.11

MDL-52901 mod_assign: Check due dates in external save_submission

commit d63ac148b95e5f909618e75efd76f6b5032da158
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 18 Jan 2016 22:06:36 +0800
Tag:    v2.8.11

MDL-52808 calendar: Do not return events for hidden activities

commit 535fd9678f6b69943247b50581cd85c6973e286e
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 16 Nov 2015 23:01:53 +0800
Tag:    v2.8.10

MDL-52072 enrol: Fix course visibility checks in external functions

commit 72885a572538e65d85b635027be5ae25b885e804
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Sat, 24 Oct 2015 23:03:35 +0800
Tag:    v2.8.9

MDL-51569 mod_choice: Check choice availability prior to do any action

commit d28eedd5363b4f081f9e66d0c9014d84792a89d7
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 22 Oct 2015 14:03:12 +0800
Tag:    v2.8.9

MDL-50837 mod_scorm: Fix availability checks

commit 2b6e9e40dcf1582f5f04893650df240e3f46fdc9
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 14 Oct 2015 20:06:05 +0800
Tag:    v2.8.9

MDL-51772 webservice: Export add_user_private_files as Web Service

commit 43654c48727996064cee3324cb128ad23e501083
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 12 Oct 2015 19:53:57 +0800
Tag:    v2.8.9

MDL-51563 core_user: Fix invalid passed parameteres in get_user

commit 8eb8681b5ecd266435af109719bb01e79b34764f
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 12 Oct 2015 19:30:17 +0800
Tag:    v2.8.9

MDL-51565 webservice: Fix return types definitions

commit cc595febe4dd744c94db363fdbf0c406391e884e
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Fri, 09 Oct 2015 22:26:59 +0800
Tag:    v2.8.9

MDL-51703 mod_survey: Trigger response_submitted event in correct place

commit ccefec7360f942d92e749264c5deaa3ca39cb50f
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 30 Sep 2015 15:34:23 +0800
Tag:    v2.8.9

MDL-50613 webservice: Remove risk bit masks for Web Service protocols

commit 94540f233eddd0eba0c4780933c5247ffc34eb66
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 13 Jul 2015 21:05:16 +0800
Tag:    v2.8.8

MDL-50816 notes: Delete never met condition code

commit 32d3490d55408e4168c9442de9b2993df1c84292
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 13 Jul 2015 20:34:46 +0800
Tag:    v2.8.8

MDL-50814 badges: Fix incorrect default ordering

commit 13513264fafb11746793a34fabb8345ee7a89b74
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 10 Jun 2015 16:57:09 +0800
Tag:    v2.8.7

MDL-50107 webservices: Enable CORS in login/token.php

commit 346cd4085939ded1d1b7beb95a97d89667543356
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 08 Jun 2015 20:38:01 +0800
Tag:    v2.8.7

MDL-50459 messages: Handle deleted users in external functions

commit a4f93d57accdeb2242a3cf2a8a83cb60ca955657
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Sat, 06 Jun 2015 06:00:56 +0800
Tag:    v2.8.8

MDL-50493 forum: Handle correctly qanda forums in get_discussion_posts

commit e2b7ee6662848bb93840b8e379304f5dc8d2a532
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Fri, 05 Jun 2015 21:23:24 +0800
Tag:    v2.8.8

MDL-50489 forum: Handle qanda forums in get_forum_discussions_paginated

commit e06ea6d9e2dd9227878dd6ad4fbbd1d6c084347b
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Fri, 05 Jun 2015 04:27:38 +0800
Tag:    v2.8.8

MDL-42626 messages: Hide deleted users in contact/blocked list

commit caf3cb78e57f09cb652ee558658b00ebe7717a88
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue, 19 May 2015 19:18:30 +0800
Tag:    v2.8.7

MDL-50271 webservices: Allow to load multiple themes in WS_SERVER mode

commit 7b15a363201109354bbd6d51a7c70f50dac7b9d8
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 14 May 2015 23:42:54 +0800
Tag:    v2.8.7

MDL-50130 users: Filter profile fields data in external functions

commit 8e8ee7530427a10e409386657484e9fd5effc438
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue, 28 Apr 2015 18:30:17 +0800
Tag:    v2.8.6

MDL-49994 files: Prevent to browse private files when are disabled

commit 0c19d0828a2c47c0eb7ea678633d8e0b055530fd
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue, 28 Apr 2015 00:22:49 +0800
Tag:    v2.8.6

MDL-49954 forum: Use clean_returnvalue properly in external unit tests

commit 5f155af825fe5734b5cc057adf3f4bf2205e8004
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 20 Apr 2015 18:23:20 +0800
Tag:    v2.8.6

MDL-49921 forum: Handle exceptions correctly in get_forums_by_courses

commit c58cafbbaa40e18da7f7334ffd16fe8212d1f186
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 16 Apr 2015 20:53:11 +0800
Tag:    v2.8.6

MDL-49894 forum: Add deprecated information for get_forum_discussions

commit 19ddaeb78284a6a5c370e282ef6ebe9585f1ba7e
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 16 Apr 2015 16:23:18 +0800
Tag:    v2.8.6

MDL-45131 notes: Add validation for returned parameters in WS tests

commit 7dedfc8b799a1bb626682404586313041a474fc7
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 13 Apr 2015 23:35:20 +0800
Tag:    v2.8.6

MDL-49837 assign: Use correct assertions and fix return params cleaning

commit 88045d94aea06a7958d64928e24eec2ee659424e
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 13 Apr 2015 23:34:35 +0800
Tag:    v2.8.6

MDL-49837 assign: Fix external functions return declaration

commit a1b54310e14de765d1c94b91577c36ab9b87bbe4
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 13 Apr 2015 22:38:19 +0800
Tag:    v2.8.6

MDL-45131 user: Add validation for returned parameters in WS tests

commit 728b068e24d7690226a4b81220be868c1513c95e
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 13 Apr 2015 22:38:11 +0800
Tag:    v2.8.6

MDL-45131 message: Add validation for returned parameters in WS tests

commit 772f17a280360b785208811e8d2159690c3eff2c
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 13 Apr 2015 22:37:59 +0800
Tag:    v2.8.6

MDL-45131 files: Add validation for returned parameters in WS tests

commit db4f496b52231356ea86e0ae7b331fa7ce6235a6
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 13 Apr 2015 22:37:49 +0800
Tag:    v2.8.6

MDL-45131 enrol: Add validation for returned parameters in WS tests

commit 43d75763327b85e27d69508cd36bf998d53f5968
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 13 Apr 2015 22:37:37 +0800
Tag:    v2.8.6

MDL-45131 course: Add validation for returned parameters in WS tests

commit 58611999f3ac0063fe87893a7bb0d8bf58b385b9
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 13 Apr 2015 22:37:29 +0800
Tag:    v2.8.6

MDL-45131 cohort: Add validation for returned parameters in WS tests

commit 1bfd51f16bf89ce754b7ac34a42d1d992d1b3202
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 13 Apr 2015 22:37:18 +0800
Tag:    v2.8.6

MDL-45131 calendar: Add validation for returned parameters in WS tests

commit 77067fbb3a248ac2f1fa4b3c20e5b81f768940e5
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 13 Apr 2015 20:38:30 +0800
Tag:    v2.8.6

MDL-49718 webservices: Fix forced format and force external text cleaning

commit e51a432d0f14eb042e4190db6a1dcf0e1f2b89df
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Sat, 11 Apr 2015 04:21:42 +0800
Tag:    v2.8.6

MDL-49763 webservices: Handle correctly deleted users for forums

commit c8d1553d0e3f2ef375d8ba6521af32c0a87a8a8f
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Fri, 10 Apr 2015 16:21:01 +0800
Tag:    v2.8.6

MDL-49426 webservices: Allow upload to draft area always

commit b610727b5bcc9eab69d7c02276e7635457dea9e0
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 02 Mar 2015 23:52:24 +0800
Tag:    v2.8.6

MDL-49351 ratings: Correct check of viewallratings permission

commit 4567c1c3a048b99ce7ec215735d7fdd03865e269
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 02 Mar 2015 20:27:56 +0800
Tag:    v2.8.6

MDL-49346 ratings: ratingarea should be a required parameter

commit abde87bf413d520b28bc6322799a193c27de0717
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 26 Feb 2015 19:07:08 +0800
Tag:    v2.8.6

MDL-48443 webservices: Prevent duplicated user devices

commit 6c1a52e67cf300fc5f539a7c860cc5615679f7ef
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 11 Feb 2015 19:39:23 +0800
Tag:    v2.8.4

MDL-49174 webservices: Return front page contents in get_contents ws

commit 14a59f1eee7c9e65f6107034cbdf008fd4acee63
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Fri, 30 Jan 2015 20:11:14 +0800
Tag:    v2.8.4

MDL-48294 settings: enablemobilewebservice appears twice

commit 0899c0adc036e34e0c37ea1a8d3551610cdb4233
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 29 Jan 2015 23:56:20 +0800
Tag:    v2.8.4

MDL-48691 webservices: Check if the user must be changing password

commit 060c2d3c9c83fd32a7eabb6acb603e004f237491
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 29 Jan 2015 20:30:09 +0800
Tag:    v2.8.4

MDL-48357 webservices: Missing instance property in course contents ws

commit 6dbf42a60091de23721b4c8f5966f1173321b7db
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 29 Jan 2015 00:20:02 +0800
Tag:    v2.8.4

MDL-48525 webservices: Fixed profile user image is not always returned

commit 4a97b8476bf41e972ec3aed899780f233e4b5c41
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 28 Jan 2015 21:31:26 +0800
Tag:    v2.8.4

MDL-48578 webservices: Fixed missing required library

commit f47eeafdfde024ef29af0154419ab5daa8737e19
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue, 28 Oct 2014 06:14:13 +0800
Tag:    v2.8.0-rc1

MDL-47916 web services: Fixed invalid returned value type

commit a7b572e29d198ce07f4f2380e7e187e3cfec3a20
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Fri, 24 Oct 2014 16:40:06 +0800
Tag:    v2.8.0-rc1

MDL-47850 message_airnotifier: Incorrect Airnotifier Web Service URL

commit 938728739b512220dec779765e867cc129d2ba4f
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 23 Oct 2014 21:24:07 +0800
Tag:    v2.8.0-rc1

MDL-47847 Web Services: Add messaging functions to the mobile service

commit 0c5481e43d64afdbfab0841346a9f8c1ff8092c8
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 23 Oct 2014 21:24:07 +0800
Tag:    v2.8.0-rc1

MDL-47847 Web Services: Add messaging functions to the mobile service

commit a0095e5a893190ec28f63a89deba7fd89ad1839a
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 23 Oct 2014 17:05:57 +0800
Tag:    v2.8.0-rc1

MDL-47766 web services: get_grades exposes hidden grades to students

commit e13c152e82f9fd96c014866b4eaa250c7ff06e72
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 15 Oct 2014 19:14:42 +0800
Tag:    v2.8.0-rc1

MDL-47690 web services: Fixed invalid return parameter type in mod_url

commit a7888487f0a1921c9033d78a5fa93e778f7b5c49
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue, 14 Oct 2014 23:12:39 +0800
Tag:    v2.8.0-rc1

MDL-46527 grades: grade_get_grades external function rewritten

commit 3ca3d259e5c41cdcf299af8da117604b75d4c255
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue, 14 Oct 2014 17:59:47 +0800
Tag:    v2.8.0-rc1

MDL-47545 web services: Allow cross origin requests for file downloads

commit 5e28991e78d7c452e80722ed74c2f86fe68e1c93
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue, 07 Oct 2014 05:18:44 +0800
Tag:    v2.8.0-rc1

MDL-47545 web services: Allow cross origin requests

commit ef8a44dea05bcddcf371bcade6e1c212251ff0c1
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 02 Oct 2014 18:33:55 +0800
Tag:    v2.8.0-beta

MDL-46458 forum: get_forum_discussions deprecated

commit 2ce8934b3520f08cd1bfcf2a6c6ba94f9bbf85bc
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 02 Oct 2014 18:23:23 +0800
Tag:    v2.8.0-beta

MDL-46458 forum: New WS get_forum_discussions_paginated services

commit c258667257d7ea19ebebb8ddbb976515e80ee719
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 02 Oct 2014 18:23:09 +0800
Tag:    v2.8.0-beta

MDL-46458 forum: New WS get_forum_discussions_paginated tests

commit 7c51b40ab135f953b9a79f21f008a97806bc9b3e
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 02 Oct 2014 18:22:43 +0800
Tag:    v2.8.0-beta

MDL-46458 forum: New WS get_forum_discussions_paginated

commit ffb8abc29054665dd5cf83a003e9c92be194abc4
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 01 Oct 2014 17:19:12 +0800
Tag:    v2.8.0-beta

MDL-45374 messages: Bump version number

commit 193edf7f775259415aa96ac0b9211e6c0025a698
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 01 Oct 2014 17:10:42 +0800
Tag:    v2.8.0-beta

MDL-45374 messages: Created new API function message_get_messages

commit da1be050bc2e412092c70ff966f8e3b566d97dcd
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 29 Sep 2014 21:07:04 +0800
Tag:    v2.8.0-beta

MDL-47084 forum: New moodle_url method make_webservice_pluginfile_url

commit 7ea6ada3432bff95eec98832f2da29b635b9190d
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 29 Sep 2014 19:19:07 +0800
Tag:    v2.8.0-beta

MDL-47389 forum: Return discussions count in get_forums_by_courses ws

commit 694bf0c74b805adb2250a536ddb75a357acd6c0b
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Sat, 20 Sep 2014 03:45:22 +0800
Tag:    v2.8.0-beta

MDL-47084 forum: Return user picture URL in get_posts WS

commit 29ad8f9746bb38beeb23b75070ece18374b4f424
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 15 Sep 2014 19:46:02 +0800
Tag:    v2.8.0-beta

MDL-47163 messages: Upgrade Mobile notifications to use  Airnotifier v2

commit 48fb0250d28494d28af2fddb3ba259fe9d070c4c
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 10 Sep 2014 23:39:26 +0800
Tag:    v2.8.0-beta

MDL-47084 forum: Return attachments and pluginfiles in get_posts WS

commit feae0f9f42325c3847fc748054995eae28bb714e
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 10 Sep 2014 19:34:02 +0800
Tag:    v2.8.0-beta

MDL-47200 WebServices: Add core_files_get_files to the mob app service

commit eac1383edb5f294352b9d38c681700841ef421dd
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue, 09 Sep 2014 15:22:20 +0800
Tag:    v2.8.0-beta

MDL-46588 web services: Fixed system context instanceid eq 0 case

commit 10c5fd10d7cdb8572d623d042110cee939c5563b
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 08 Sep 2014 02:03:17 +0800
Tag:    v2.8.0-beta

MDL-46054 web_services: Fixed invalid parameter definitions

commit 60ac6e2915b0eef5641c92a4fd5aead538145e74
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 04 Sep 2014 17:06:48 +0800
Tag:    v2.8.0-beta

MDL-46588 web services: Unit tests added

commit 98dece220bdfc095fac5434a434ed8579fa8fa96
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 04 Sep 2014 04:26:40 +0800
Tag:    v2.8.0-beta

MDL-46588 web services: Fixed invalid check of empty contextid in function get_context_from_params

commit 10f1cfc18cfe1fc5388882d3bcc80b7b0576a496
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 04 Sep 2014 00:08:48 +0800
Tag:    v2.8.0-beta

MDL-46613 grades ws: Fixed external function declaration

commit ff831a44ed4278c83c61b98bcf4f21209b3b122c
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 03 Sep 2014 23:04:11 +0800
Tag:    v2.8.0-beta

MDL-46587 files: Invalid $itemid conversion in core_files_get_files Web Service

commit b893dc2252b11419212176082b3654de0215479a
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 03 Sep 2014 22:58:02 +0800
Tag:    v2.8.0-beta

MDL-46586 files: Invalid return parameters definition in core_files_get_files external function

commit 7cfe4419c27fd65872c79ba862d8b54c045ba025
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 03 Sep 2014 19:45:21 +0800
Tag:    v2.8.0-beta

MDL-47014 airnotifier: Missing require of filelib.php

commit a1bacaf13d6575d2a6b8293f73983161fea99d4d
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Fri, 25 Jul 2014 16:35:24 +0800
Tag:    v2.8.0-beta

MDL-45041 Web Service: add_user_device doesn't store entries for different users using the same push key

commit 40afeb4044c9718bf175c347f0f9099a037ce9f0
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 24 Jul 2014 05:42:25 +0800
Tag:    v2.8.0-rc1

MDL-45303 Web Services: forum_discussions not checking groups

commit c03946bcceed2504181d059b7cf07e5782f3e753
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Thu, 24 Jul 2014 00:03:47 +0800
Tag:    v2.8.0-beta

MDL-46460 Web Services: Invalid check of grades visibility for missing grades

commit 253c3f36bba42a29028918709064cb214cb5e909
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 23 Jul 2014 23:33:20 +0800
Tag:    v2.8.0-beta

MDL-46459 Web Services: Incorrect return parameters get_grades external function

commit a4496bdde92f13cee9962865590182ce320c394f
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Tue, 13 May 2014 22:05:39 +0800
Tag:    v2.8.0-beta

MDL-36670 logging: action parameter length restricted to 40 chars

commit 6ff4464b430cdc7ecd3851774fb928f71ddc1c60
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Wed, 07 May 2014 00:01:41 +0800
Tag:    v2.8.0-beta

MDL-45374 messages: get_messages ws unit tests

commit aff9da176a50e00104ba3aca92ddf5b884c132b0
Author: Juan Leyva <juanleyvadelgado@gmail.com>
Date:   Mon, 05 May 2014 20:34:17 +0800
Tag:    v2.8.0-beta

MDL-45374 messages: get_messages ws definition