Git commits in Moodle 3.6.0 by Shamim Rezaie

commit ba81c26c792dfe71b42444298d9856f73814e088
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 25 Oct 2018 11:44:52 +0800
Tag:    v3.6.0-beta

MDL-63712 core_message: support removal of multiple users in a context

commit 523342964242afc6ca87e2deb74493c3c6486810
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 24 Oct 2018 01:53:44 +0800
Tag:    v3.6.0-beta

MDL-63712 core_message: Data should be in user context, not system

commit e38dc3d604ffb2250f2a5143749f8daf5846d6c5
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 23 Oct 2018 13:19:52 +0800
Tag:    v3.6.0-beta

MDL-63634 enrol_paypal: Fix a typo in unit tests

commit c37407ba9d230a0d39b8b506b5801ea6cc1c63e9
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 19 Oct 2018 11:28:17 +0800
Tag:    v3.6.0-beta

MDL-63713 core: Support for removal of context users

commit 8839feb90e1e086dae322061de100209a0f768d7
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 17 Oct 2018 14:19:58 +0800
Tag:    v3.6.0-beta

MDL-63665 mod_choice: no exception when course_modules doesn't exist

commit b96446f3afba8393cc42e303fe8a605f6539b66c
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 17 Oct 2018 14:17:00 +0800
Tag:    v3.6.0-beta

MDL-63665 mod_choice: support removal of multiple users in a context

commit 9f8a30c27c627c646c0e10c85f65a35acf9566a1
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 16 Oct 2018 09:39:59 +0800
Tag:    v3.6.0-beta

MDL-63649 enrol_lti: support removal of multiple users in a context

commit acaacb6c492c8e7c11b8d30e6a62c695bf3fab64
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Sat, 13 Oct 2018 23:02:45 +0800
Tag:    v3.6.0-beta

MDL-63647 enrol_flatfile: Improving existing unit tests

commit e4290b49453b79eea97c7db7d352603aa0e2fd44
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Sat, 13 Oct 2018 22:39:58 +0800
Tag:    v3.6.0-beta

MDL-63647 enrol_flatfile: support removal of multiple users in context

commit c0bafa27775ab15b6106db1f1e305790c19bf147
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Sat, 13 Oct 2018 01:18:31 +0800
Tag:    v3.6.0-beta

MDL-63634 enrol_paypal: Improve query performance

commit cb21486c660d8f92e7dfe10ea156b97577fb00aa
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 12 Oct 2018 23:00:14 +0800
Tag:    v3.6.0-beta

MDL-63634 enrol_paypal: support removal of multiple users in a context

commit 6cd2de3ceb4aa32c52f3730279ef3788da5b6523
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 11 Oct 2018 23:47:40 +0800
Tag:    v3.6.0-beta

MDL-63564 mod_quiz: Added delete_quizaccess_data_for_users to polyfill

commit 44b30f9ced47c4c08ade25f4e1d4a89a6b11d156
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 11 Oct 2018 21:42:49 +0800
Tag:    v3.6.0-beta

MDL-63626 mod_quiz: Fixed a bug when there was no attempt on the quiz

commit 0db66dcf5def5b2363c7190e0733e0f635b0060a
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 11 Oct 2018 19:56:05 +0800
Tag:    v3.6.0-beta

MDL-63564 mod_quiz: support removal of multiple users in a context

commit 92d26b3940820a3957e9bf47e256ce44ab019024
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 11 Oct 2018 13:14:44 +0800
Tag:    v3.6.0-beta

MDL-63564 mod_quiz: Added quizaccess_user_provider interface

commit bdba3b97fdbe056bc4db613f807d9a904b8c7090
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 11 Oct 2018 00:06:07 +0800
Tag:    v3.6.0-beta

MDL-63564 question: Add helper to fetch users in context

commit c8aff683cb5837be96c0f20cc9929ece391fdf03
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 09 Oct 2018 13:33:05 +0800
Tag:    v3.6.0-beta

MDL-63564 core_question: support removal of multiple users in a context

commit 19fc6012cf9898123380ab11d34689427f20af88
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 21:12:18 +0800
Tag:    v3.6.0-beta

MDL-63554 cachestore_session: Support for removal of context users

commit 936c06f8bb2261910b1a6424c2401d5f8b9ac4a8
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 21:08:29 +0800
Tag:    v3.6.0-beta

MDL-63554 cachestore_redis: Support for removal of context users

commit a42c9a71bb0d455af627ecc223a447c1ce85dec1
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 21:05:36 +0800
Tag:    v3.6.0-beta

MDL-63554 cachestore_mongodb: Support for removal of context users

commit 81684f7c8b01253787ea8679ed92d5c06cac50e0
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 17:09:04 +0800
Tag:    v3.6.0-beta

MDL-63554 cachestore_memcached: Support for removal of context users

commit b36687b5e23e229a12e5b63b2c775a3659b5acf2
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 04:29:40 +0800
Tag:    v3.6.0-beta

MDL-63500 enrol_cohort: refactoring get_contexts_for_userid

commit e66a60b9c0f0c06c4a1adc1f7e7ae22363c2940c
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 04:27:34 +0800
Tag:    v3.6.0-beta

MDL-63500 enrol_meta: refactoring get_contexts_for_userid

commit 89d468eb39521a3c6bcc21883e409f399ce82c7f
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 04:20:32 +0800
Tag:    v3.6.0-beta

MDL-63500 core_group: get_contexts_for_userid should respect component

commit 882c53dc146fa75ec9b0513e4f15a3ae05f8ce62
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 02:18:37 +0800
Tag:    v3.6.0-beta

MDL-63500 enrol_cohort: Support for removal of multiple context users

commit 8091629306d650ac3906cdc0c48b565e374aec91
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 01:09:08 +0800
Tag:    v3.6.0-beta

MDL-63500 enrol_meta: Support for removal of multiple context users

commit e114ac6ec0b3a5662300303684e7cce810e7be0b
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 04 Oct 2018 19:33:30 +0800
Tag:    v3.6.0-beta

MDL-63500 core_group: support removal of multiple users in a context

commit 0ce3fef70a7c665ddfb65c8d3608c9517aa0e66d
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 28 Sep 2018 14:49:35 +0800
Tag:    v3.6.0-beta

MDL-63390 quiz_statistics: Remove Min/Median/Maximum rows

commit 422d78648cc29b91ef04b591f77a597cc787937f
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 28 Sep 2018 14:41:56 +0800
Tag:    v3.6.0-beta

MDL-63390 quiz_statistics: Make the summary row more distinguishable

commit 24c28f3c9b5b294d5a954cd21d1e187428989154
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 28 Sep 2018 14:29:28 +0800
Tag:    v3.6.0-beta

MDL-63390 Quiz: Use lang rules to format quiz summark as a percentage

commit bef224c6e4f3c30d03d83bec54b39950bd958cdc
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 28 Sep 2018 14:26:17 +0800
Tag:    v3.6.0-beta

MDL-63390 quiz_statistics: Added formating functions

commit 84140b91379ab266f796913fd90e249a8fa81bd4
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 28 Sep 2018 14:09:32 +0800
Tag:    v3.6.0-beta

MDL-63390 quiz_statistics, question: Handling variants as well

commit f4bc55871c59970632f2c82385e4223040b69d73
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 28 Sep 2018 13:41:02 +0800
Tag:    v3.6.0-beta

MDL_63390 question: Fixed get_min_max_of and get_min_max_of_sd

commit 8ce2f61789f3d235615545e2f7eb78edd69e437f
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 14 Sep 2018 18:16:43 +0800
Tag:    v3.6.0-beta

MDL-63143 mod_lesson: Check if the module is visible to the user

commit e56833ca06979dc38effc6836db2bde95e2076be
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 14 Sep 2018 18:05:02 +0800
Tag:    v3.6.0-beta

MDL-63143 mod_lesson: Add userid param to mod_lesson calendar callbacks

commit cbeb3995dc8f707c65e848ed57659b4021e13ce0
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 14 Sep 2018 15:39:21 +0800
Tag:    v3.6.0-beta

MDL-63142 mod_label: Check if the module is visible to the user

commit a7da4c5fc85ec7f88c161611a4a4f43726fd4cb0
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 14 Sep 2018 15:07:40 +0800
Tag:    v3.6.0-beta

MDL-63142 mod_label: Add userid param to mod_label calendar callbacks

commit 52c9bbbfae34ebb6eb8c3dfc58b74169b6551d91
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 11 Sep 2018 13:35:21 +0800
Tag:    v3.6.0-beta

MDL-63141 mod_imscp: Check if the module is visible to the user

commit 06800b5414bf2c09f6222f1b90d9ac697d35b696
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 11 Sep 2018 12:25:45 +0800
Tag:    v3.6.0-beta

MDL-63141 mod_imscp: Add userid param to mod_imscp calendar callbacks

commit 50f347214eeea3600c865c8fc2a9d4ee2a0e662e
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 07 Sep 2018 16:28:22 +0800
Tag:    v3.6.0-beta

MDL-63140 mod_glossary: Check if the module is visible to the user

commit 00aa8d3f3238c4632f6bbf08d94a5c3648dea02f
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 07 Sep 2018 16:20:03 +0800
Tag:    v3.6.0-beta

MDL-63140 mod_glossary: Add userid param to glossary calendar callbacks

commit 46b29219e3acb53308c348bb7fa53689e7e8c9a6
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 07 Sep 2018 14:55:19 +0800
Tag:    v3.6.0-beta

MDL-63139 mod_forum: Check if the module is visible to the user

commit d46da4aadc83e60f3d255fd8e187271024b4345a
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 07 Sep 2018 14:47:56 +0800
Tag:    v3.6.0-beta

MDL-63139 mod_forum: Add userid param to mod_forum calendar callbacks

commit ac0f38b1d84e8d18b2e0175c5c50b3ed594d0a05
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 07 Sep 2018 12:55:28 +0800
Tag:    v3.6.0-beta

MDL-63138 mod_folder: Check if the module is visible to the user

commit a0e19ccf32a333e3cde1136c57ff5e6117d30193
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 07 Sep 2018 12:30:56 +0800
Tag:    v3.6.0-beta

MDL-63138 mod_folder: Add userid param to mod_folder calendar callback

commit a8df987e07e62768d7b4d0b59f4e8778cf917b71
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 06 Sep 2018 18:14:04 +0800
Tag:    v3.6.0-beta

MDL-63135 mod_choice: Check if the module is visible to the user

commit dd1ba60f30f3264f344f34fe588365d32c823a3c
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 06 Sep 2018 15:41:06 +0800
Tag:    v3.6.0-beta

MDL-63117 mod_book: Check if the module is visible to the user

commit eb4c801cefd6a7219f8163fc74206f2d34841fc9
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 06 Sep 2018 12:19:43 +0800
Tag:    v3.6.0-beta

MDL-63136 mod_data: Check if the module is visible to the user

commit b5fff70bdd43d9d2c5467c390b422abfb3f7386e
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 30 Aug 2018 12:18:19 +0800
Tag:    v3.6.0-beta

MDL-63186 quiz_statistics: Highlight the summary row if is dubious

commit 666889f0f81d5b7bca351ab6847e92b471db92bf
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 28 Aug 2018 22:21:28 +0800
Tag:    v3.6.0-beta

MDL-63186 quiz_statistics: Show each columns min,max in the summary row

commit 6a966ea8d47d845b5e33dbbdc8ad9c5b9e61163d
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 28 Aug 2018 22:19:43 +0800
Tag:    v3.6.0-beta

MDL-63186 workshopform_numerrors: Move percents lang string to core

commit d79fef2ab51b520879ce11b2dc48853bd47c1359
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 28 Aug 2018 16:15:20 +0800
Tag:    v3.6.0-beta

MDL-63186 question: Calculate extremums of summarised questions

commit 6ee2b972c9a473c9636cb6ea7f63457d1445a249
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 21 Aug 2018 13:05:26 +0800
Tag:    v3.6.0-beta

MDL-63186 quiz_statistics: Remove q number from the summary row

commit 362f9e7c6153c9c6e1a8a9078f8d230106f6f0f8
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 20 Aug 2018 13:10:16 +0800
Tag:    v3.6.0-beta

MDL-63136 mod_data: Add userid param to mod_data calendar callbacks

commit 1b82088f984499c854287c24c8a8a867598af803
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 17 Aug 2018 14:06:24 +0800
Tag:    v3.6.0-beta

MDL-63135 mod_choice: Add userid param to mod_choice calendar callback

commit 0ec076ef3457c8ca96ee0d5a8dd3915ed99c1c75
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 17 Aug 2018 13:12:10 +0800
Tag:    v3.6.0-beta

MDL-63135 mod_choice: Added choice_get_user_response function

commit a4fd6c07ba5568d6e03952db289841f8c395a817
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 14 Aug 2018 12:52:28 +0800
Tag:    v3.6.0-beta

MDL-63117 mod_book: Add userid param to mod_book calendar callbacks

commit b0e5f22961cc25c7ace7ccfcd57ff631964ff49e
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 06 Aug 2018 15:36:36 +0800
Tag:    v3.6.0-beta

MDL-62960 calendar: Visuall indicator for valid course event drop zones

commit 084d5ee46c28c6469fc91c62c0d6a23daf07dfff
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 06 Aug 2018 15:35:04 +0800
Tag:    v3.6.0-beta

MDL-62960 calendar: Rename get_module_timestamp_min/max_limit methods

commit 586886b3469bbc89b57f1b2a7ee4e23ae4d5522d
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 06 Aug 2018 14:42:10 +0800
Tag:    v3.6.0-beta

MDL-62960 calendar: Implementing course events validity check callback

commit 5974bfebb93a6937918c122e04b29aabafaa6087
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 06 Aug 2018 14:35:45 +0800
Tag:    v3.6.0-beta

MDL-62960 calendar: Added range check callback for course events

commit 3f0a60e33dd15243fb818fcb95352e7dff44d03e
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 20 Jul 2018 16:11:32 +0800
Tag:    v3.6.0-beta

MDL-62897 Questions: Find duplicate top cats per context and fix them

commit 94fe904ed6a0a0442a5a72ab1a563cfa3137bb69
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 20 Jul 2018 11:20:15 +0800
Tag:    v3.6.0-beta

MDL-62897 Questions: Fix multi top cats in question_save_from_deletion

commit 30dd3c5d0fa4a3aadde008873216b6e6c430f6bd
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 20 Jul 2018 10:31:08 +0800
Tag:    v3.6.0-beta

MDL-62897 restore: Fix component name in get_string()

commit 32338e7bdaf8072bee4d2656f9442b94009fb819
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 19 Jul 2018 12:29:13 +0800
Tag:    v3.6.0-beta

MDL-62931 Questions: Escaping lang strings properly

commit f84df305c0c04b1ae74c9b0493d1c8959137826a
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 30 May 2018 10:17:22 +0800
Tag:    v3.6.0-beta

MDL-62588 enrol_paypal: Add missing instanceid field

commit 3722c7d697d1ac4e9fb6b03092c2058052e6e645
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 25 May 2018 17:11:57 +0800
Tag:    v3.6.0-beta

MDL-62532 core_question: Include standard tags in the tags autocomplete

commit d6e821294e0f89a73345d668cf0f5a725dfc3c54
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 02 May 2018 20:39:57 +0800
Tag:    v3.6.0-beta

MDL-62325 enrol_paypal: Added some keys and indexes to enrol_paypal.

commit fda4374a678302c36c89594671568651714b9357
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 05 Apr 2018 16:17:36 +0800
Tag:    v3.6.0-beta

MDL-58768 mod_assign: Added userid param to calendar callbacks

commit 907b175c050c987eb64c8559e6554e4323a9ab46
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 04 Apr 2018 23:56:56 +0800
Tag:    v3.6.0-beta

MDL-58768 core: Fix a typo for callback name

commit faa5d173cc59bf2b47893ea87a425177d6c3ea6e
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 04 Apr 2018 23:15:47 +0800
Tag:    v3.6.0-beta

MDL-58768 mod_assign: Add $user param to assign::can_grade

commit 95ae74a7bc2972c2f5b9b48dc8c01a041a576634
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 04 Apr 2018 22:37:56 +0800
Tag:    v3.6.0-beta

MDL-58768 calendar: Add $requestinguser to the container class

commit f7115c2e805e269d889c680520ed6c7ee74a8ae7
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 04 Apr 2018 22:17:40 +0800
Tag:    v3.6.0-beta

MDL-58768 coursecat: coursecat::get to accept a $user parameter

commit 7385ee37f9c3f5e80a926922ada4b424be463457
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 28 Mar 2018 22:58:06 +0800
Tag:    v3.6.0-beta

MDL-58768 Calendar: Update get_raw_events_legacy_implementation

commit d8c6c21c9566b8e3757800fd2fa6f77eab7d0936
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 27 Mar 2018 21:19:10 +0800
Tag:    v3.6.0-beta

MDL-58768 Calendar: Added user param to calendar_set_filters

commit bd8705732def4c7515bf2217d5c3a119973821eb
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 06 Mar 2018 12:22:11 +0800
Tag:    v3.6.0-beta

MDL-58768 Calendar: Added userid param to calendar_get_default_courses