Git commits in Moodle 3.4.6 by Shamim Rezaie

commit 23d4767f8c12fc33ecf9db21b00a152bcc30d19e
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 26 Oct 2018 14:25:16 +0800
Tag:    v3.4.6

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

commit 734d9f403b10605fe0935d4a6f5fae6ca2af6d48
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 26 Oct 2018 14:07:52 +0800
Tag:    v3.4.6

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

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

MDL-63634 enrol_paypal: Fix a typo in unit tests

commit 991aa49b7be4ce984b705c5372cd286059347408
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 19 Oct 2018 11:28:17 +0800
Tag:    v3.4.6

MDL-63713 core: Support for removal of context users

commit 821a5d9efb25226bbe9c3e0dbf70a0f98f8f2e60
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 17 Oct 2018 14:19:58 +0800
Tag:    v3.4.6

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

commit 89c6cddff5caeca706a71b1b46270190a2bcb20a
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 17 Oct 2018 14:17:00 +0800
Tag:    v3.4.6

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

commit e5a542a73eb4b304f2f265b0535290a3e0825cb0
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 16 Oct 2018 09:39:59 +0800
Tag:    v3.4.6

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

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

MDL-63647 enrol_flatfile: Improving existing unit tests

commit 88e280588868c179b0e55362735bcc554b1bb081
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Sat, 13 Oct 2018 22:39:58 +0800
Tag:    v3.4.6

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

commit 0eb06128864617c94cb1f219605f7a1dad072323
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Sat, 13 Oct 2018 01:18:31 +0800
Tag:    v3.4.6

MDL-63634 enrol_paypal: Improve query performance

commit 9109e547ae8991ebc3aa3e262e329bccae6c9bcd
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 12 Oct 2018 23:00:14 +0800
Tag:    v3.4.6

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

commit 465256bf631963ef8f2d23f66b8796f847f34ac3
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 11 Oct 2018 23:47:40 +0800
Tag:    v3.4.6

MDL-63564 mod_quiz: Added delete_quizaccess_data_for_users to polyfill

commit c5d2f4d0b3281a0c53cfef43efacdb9f3c9d4a0a
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 11 Oct 2018 21:42:49 +0800
Tag:    v3.4.6

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

commit 80ea64da26026c89a5089c5215da10cdaa314b33
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 11 Oct 2018 19:56:05 +0800
Tag:    v3.4.6

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

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

MDL-63564 mod_quiz: Added quizaccess_user_provider interface

commit 53ccb0ac475e53f7c817078748e03f3beb41f1bd
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 11 Oct 2018 00:06:07 +0800
Tag:    v3.4.6

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

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

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

commit 518ebb332336030864d8261eaa94b754b2c702c9
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 21:28:42 +0800
Tag:    v3.4.6

MDL-63554 cachestore_memcache: Support for removal of context users

commit 1335e0bc3e0e9bec258ebd4dd0062635b4fb51c2
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 21:12:18 +0800
Tag:    v3.4.6

MDL-63554 cachestore_session: Support for removal of context users

commit 6ea63bc54c05fc91ae196ac993b2854ce63f3d74
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 21:08:29 +0800
Tag:    v3.4.6

MDL-63554 cachestore_redis: Support for removal of context users

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

MDL-63554 cachestore_mongodb: Support for removal of context users

commit 699847af7bd2b88fd53db5e4aa52c50ceb3ef9d1
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 17:09:04 +0800
Tag:    v3.4.6

MDL-63554 cachestore_memcached: Support for removal of context users

commit 5a49fe3f51ffc8a6d27280f64e9eb578dbe01e7e
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 04:29:40 +0800
Tag:    v3.4.6

MDL-63500 enrol_cohort: refactoring get_contexts_for_userid

commit 3fcb71bd539ad24019060771fe915089ca55a8f6
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 04:27:34 +0800
Tag:    v3.4.6

MDL-63500 enrol_meta: refactoring get_contexts_for_userid

commit 3afb54530771a798cb4663378e8ae35511e3cc93
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 04:20:32 +0800
Tag:    v3.4.6

MDL-63500 core_group: get_contexts_for_userid should respect component

commit cfe3ba39e847721f041d95ceaa5ccb138070ea16
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 02:18:37 +0800
Tag:    v3.4.6

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

commit 1b0fc6098eaef305fb2aa36420579e088e2342ae
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 05 Oct 2018 01:09:08 +0800
Tag:    v3.4.6

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

commit 8f30bd5945ec98466059e1f9a8caa7a77cf5c3dd
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 04 Oct 2018 19:33:30 +0800
Tag:    v3.4.6

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

commit 308fda5fb1f4859d6a057baa94aa0cd1ace42cad
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 14 Sep 2018 18:16:43 +0800
Tag:    v3.4.6

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

commit 6ebe20ee9b37a6abd75b9e24dc331aea0c862d20
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 14 Sep 2018 18:05:02 +0800
Tag:    v3.4.6

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

commit 73fb05948fce15b3d63f6130125a0ff3d4f393ab
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 14 Sep 2018 15:39:21 +0800
Tag:    v3.4.6

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

commit 10da17c8b89a6da5050fcfa046bfdc28f7f72fe4
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 14 Sep 2018 15:07:40 +0800
Tag:    v3.4.6

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

commit 2b58ab02743c0afd2813937cae399798959ce2e7
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 11 Sep 2018 13:35:21 +0800
Tag:    v3.4.6

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

commit e0f7f1ef95cebbc47f6736caab7150ff813cad78
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 11 Sep 2018 12:25:45 +0800
Tag:    v3.4.6

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

commit 9fc96f244c9ba41aad02af64562ab2c558110ccf
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 07 Sep 2018 16:28:22 +0800
Tag:    v3.4.6

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

commit 236636ea00bbd8cce7a1d029222e45a9f5876990
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 07 Sep 2018 16:20:03 +0800
Tag:    v3.4.6

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

commit 5eae317838a1071eda0aa486c3249b1c99b1d899
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 07 Sep 2018 14:55:19 +0800
Tag:    v3.4.6

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

commit 445be5614ab6869171b975367223c5eacf25e8b6
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 07 Sep 2018 14:47:56 +0800
Tag:    v3.4.6

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

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

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

commit 08392add89c65b491473ddd7b7fc211dad8766ca
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 07 Sep 2018 12:30:56 +0800
Tag:    v3.4.6

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

commit 75bad7de801d3146814beb2f402a41ecbe055758
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 06 Sep 2018 18:14:04 +0800
Tag:    v3.4.6

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

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

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

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

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

commit 8f8093ac0fad97bd5c928ef06de401c3128a5c73
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 20 Aug 2018 13:10:16 +0800
Tag:    v3.4.6

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

commit 056dd08cd2107572183b3be32691520495683672
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 17 Aug 2018 14:06:24 +0800
Tag:    v3.4.6

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

commit 1f9034982eca961098ceb853621e65fea0e08d2e
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 17 Aug 2018 13:12:10 +0800
Tag:    v3.4.6

MDL-63135 mod_choice: Added choice_get_user_response function

commit 5892083e987bf331998b7f56d4206cbac455e3a4
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 14 Aug 2018 12:52:28 +0800
Tag:    v3.4.6

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

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

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

commit c0e7ba026dfa554693422103498c16e7a3a718ce
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 06 Aug 2018 15:35:04 +0800
Tag:    v3.4.6

MDL-62960 calendar: Rename get_module_timestamp_min/max_limit methods

commit 9211b03e8631191273d49f5355d5fe9cfd574fb7
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 06 Aug 2018 14:42:10 +0800
Tag:    v3.4.6

MDL-62960 calendar: Implementing course events validity check callback

commit b43f9b39fa5c3d2a65161d94f598fb52c0aa0aba
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 06 Aug 2018 14:35:45 +0800
Tag:    v3.4.6

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