Git commits in Moodle 3.4.x by Shamim Rezaie

commit 2cebb87682780eb9fccf16a6859c6b622da08bba
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 20 Feb 2019 11:54:53 +0800
Tag:    v3.4.8

MDL-64830 core_calendar: Do cap check on event edit form

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

commit a20071b2fe066ab75b554e44049c66e5e019d1ec
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 31 Jul 2018 13:44:58 +0800
Tag:    v3.4.5

MDL-58768 Calendar: Added user param to calendar_set_filters

commit c71fe8690cb5b6223b5655b4a33f20b8b98bef24
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 31 Jul 2018 13:31:58 +0800
Tag:    v3.4.5

MDL-58768 Calendar: Added userid param to calendar_get_default_courses

commit 5dcdf1d1ba7f4b84a84b27aeb66ceaa02541fb4f
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 30 May 2018 10:17:22 +0800
Tag:    v3.4.4

MDL-62588 enrol_paypal: Add missing instanceid field

commit 5604f5977f273901cc1cc8ec1d07e5be33929ce4
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 11 May 2018 15:33:08 +0800
Tag:    v3.4.3

MDL-62251 Privacy: Fix dir separator in export_file()

commit 6d882faecfa18160c418a043fb8d7b34270d2faf
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 11 May 2018 15:31:23 +0800
Tag:    v3.4.3

MDL-62251 Privacy: Url path separator should be platform independant

commit b561a9a3c2b93ec398cbb6eddd14e47fa060b79e
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 11 May 2018 15:27:49 +0800
Tag:    v3.4.3

MDL-62251 Privacy: Fix get_path() and get_full_path() bug in Windows

commit 836f8eb62e9a4551d0f53fd959054c3d9fbab8f1
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 11 May 2018 15:19:12 +0800
Tag:    v3.4.3

MDL-62251 backup: Fix replace_tempdir() bug under Windows

commit 059b45807eb5f6ab3187c99dd225ece4c247a5d9
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Tue, 08 May 2018 21:37:31 +0800
Tag:    v3.4.3

MDL-62318 core_group: Updating cache when deleting group memberships

commit bc36eb358c9fe662b04181c59a54982e8231adb7
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 04 May 2018 21:59:04 +0800
Tag:    v3.4.3

MDL-62318 core_group: Add implementation of privacy API

commit 7bb4d2d88e075742e6f17a83dde3bdf5d25efd1c
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 02 May 2018 20:39:57 +0800
Tag:    v3.4.4

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

commit 75dc5bf14b965887c9f702e0758ec584d8ae6da6
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 30 Apr 2018 13:39:00 +0800
Tag:    v3.4.3

MDL-62231 block_recent_activity: Implement null provider for the block

commit 87abd9b0aa4dbac6a2f5345c38ed9b4210f426d3
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 25 Apr 2018 01:35:17 +0800
Tag:    v3.4.3

MDL-62117 enrol_paypal: Add implementation of Privacy API

commit 970515e932259f7945c4bac566f2f8695cd1a0e8
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 23 Apr 2018 02:45:50 +0800
Tag:    v3.4.3

MDL-62060 core_privacy: Make sure the exported json is human readable

commit 351bfbef06f5ef673974b3c8709be275a4354bc1
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 20 Apr 2018 14:19:06 +0800
Tag:    v3.4.3

MDL-62059 mod_book: Implement null provider for mod_book

commit ac2e6921cb6e4017bb9eb01a07b5eb051cdbc962
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Fri, 20 Apr 2018 02:48:38 +0800
Tag:    v3.4.3

MDL-62005 block_comments: Add implementation of Privacy API

commit 723e5b7533462223c8b30d24a2131c0e1efabb43
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Thu, 05 Apr 2018 16:17:36 +0800
Tag:    v3.4.5

MDL-58768 mod_assign: Added userid param to calendar callbacks

commit 4ac18c8480dafca87d097d534478090575a7521c
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 04 Apr 2018 23:56:56 +0800
Tag:    v3.4.5

MDL-58768 core: Fix a typo for callback name

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

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

commit 856d6bcaf76c9e91db711d5cf526ad466a2cc4b5
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 04 Apr 2018 22:37:56 +0800
Tag:    v3.4.5

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

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

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

commit 991850894e42de97c6fb646579ad70022baaaf49
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 28 Mar 2018 22:58:06 +0800
Tag:    v3.4.5

MDL-58768 Calendar: Update get_raw_events_legacy_implementation

commit bc021bf6c6974d4eb65727819382d01bb6517997
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 28 Mar 2018 08:35:34 +0800
Tag:    v3.4.3

MDL-61020 media_videojs: Fix RTL display issues

commit 77786dec80dcd9c1b15325d1ef7d3db049494ad8
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 12 Feb 2018 11:28:24 +0800
Tag:    v3.4.2

MDL-61425 theme_boost: Made question labels width full in question bank

commit 7edc187fb78769ab24fbc5f17c302f8a6ae9d398
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Wed, 07 Feb 2018 11:35:36 +0800
Tag:    v3.4.2

MDL-61377 Core: Fixed faulty warning when using progress_bar

commit ca40c1f4eede0de12230a997bb4b0e5021054874
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 22 Jan 2018 15:47:06 +0800
Tag:    v3.4.2

MDL-61027 calendar: Fix datetime profile field issue with non-Gregorian

commit 3f81c4a3228897b8ef54a1b906f0fdec39a010bc
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Sun, 14 Jan 2018 06:18:12 +0800
Tag:    v3.4.2

MDL-61166 Groups: Fixed a typo in PHPDoc

commit 6aa7833c7139a09f1ec44b2ffcaaf8eb00bb994c
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 11 Dec 2017 21:36:39 +0800
Tag:    v3.4.2

MDL-51189 Quiz: Edit overrides when quiz is not available to students

commit 00268741c27e73de07d4a0f73e9a6add6f85261a
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 27 Nov 2017 17:37:06 +0800
Tag:    v3.4.1

MDL-47114 core: Improved function description

commit b8e0488c90a1b09b8d720eac9320c61944a664f9
Author: Shamim Rezaie <shamim@moodle.com>
Date:   Mon, 27 Nov 2017 10:19:29 +0800
Tag:    v3.4.1

MDL-60188 groups: cache user's groups and groupings