moodle.git
2 years agoMerge branch 'MDL-62899-search-icons-master' of https://github.com/dmitriim/moodle
Andrew Nicols [Wed, 8 Aug 2018 05:17:34 +0000 (13:17 +0800)]
Merge branch 'MDL-62899-search-icons-master' of https://github.com/dmitriim/moodle

2 years agoMerge branch 'MDL-56335-master' of git://github.com/mihailges/moodle
Andrew Nicols [Wed, 8 Aug 2018 05:14:00 +0000 (13:14 +0800)]
Merge branch 'MDL-56335-master' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-62993_master' of git://github.com/markn86/moodle
Andrew Nicols [Wed, 8 Aug 2018 05:10:41 +0000 (13:10 +0800)]
Merge branch 'MDL-62993_master' of git://github.com/markn86/moodle

2 years agoMerge branch 'MDL-50225_master' of git://github.com/markn86/moodle
Andrew Nicols [Wed, 8 Aug 2018 00:14:55 +0000 (08:14 +0800)]
Merge branch 'MDL-50225_master' of git://github.com/markn86/moodle

2 years agoMerge branch 'MDL-62619-master-privacycontexts' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 7 Aug 2018 23:02:16 +0000 (01:02 +0200)]
Merge branch 'MDL-62619-master-privacycontexts' of git://github.com/mudrd8mz/moodle

2 years agoMerge branch 'MDL-43334-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Tue, 7 Aug 2018 22:11:16 +0000 (00:11 +0200)]
Merge branch 'MDL-43334-master' of git://github.com/damyon/moodle

2 years agoMerge branch 'MDL-50325_inconsistent_check_missing_module' of http://github.com/enova...
Eloy Lafuente (stronk7) [Tue, 7 Aug 2018 22:06:09 +0000 (00:06 +0200)]
Merge branch 'MDL-50325_inconsistent_check_missing_module' of github.com/enovation/moodle

2 years agoMerge branch 'MDL-61839-master' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Tue, 7 Aug 2018 21:52:08 +0000 (23:52 +0200)]
Merge branch 'MDL-61839-master' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-61870-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Tue, 7 Aug 2018 21:48:31 +0000 (23:48 +0200)]
Merge branch 'MDL-61870-master' of git://github.com/damyon/moodle

2 years agoMerge branch 'MDL-62750_master' of https://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Tue, 7 Aug 2018 15:10:14 +0000 (17:10 +0200)]
Merge branch 'MDL-62750_master' of https://github.com/aanabit/moodle

2 years agoMerge branch 'MDL-63026_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Tue, 7 Aug 2018 13:59:51 +0000 (15:59 +0200)]
Merge branch 'MDL-63026_master' of git://github.com/dmonllao/moodle

2 years agoMerge branch 'MDL-53297-master' of git://github.com/cescobedo/moodle
Eloy Lafuente (stronk7) [Tue, 7 Aug 2018 13:57:00 +0000 (15:57 +0200)]
Merge branch 'MDL-53297-master' of git://github.com/cescobedo/moodle

2 years agoMerge branch 'MDL-62065-master' of git://github.com/cescobedo/moodle
Eloy Lafuente (stronk7) [Tue, 7 Aug 2018 13:51:34 +0000 (15:51 +0200)]
Merge branch 'MDL-62065-master' of git://github.com/cescobedo/moodle

2 years agoMDL-62899 search: add document icons
Dmitrii Metelkin [Tue, 7 Aug 2018 05:40:40 +0000 (15:40 +1000)]
MDL-62899 search: add document icons

2 years agoMerge branch 'MDL-62975_master' of git://github.com/markn86/moodle
Andrew Nicols [Tue, 7 Aug 2018 06:38:00 +0000 (14:38 +0800)]
Merge branch 'MDL-62975_master' of git://github.com/markn86/moodle

2 years agoMerge branch 'MDL-62798-master' of git://github.com/mihailges/moodle
Andrew Nicols [Tue, 7 Aug 2018 05:07:31 +0000 (13:07 +0800)]
Merge branch 'MDL-62798-master' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-54741-master' of git://github.com/mihailges/moodle
Andrew Nicols [Tue, 7 Aug 2018 04:19:44 +0000 (12:19 +0800)]
Merge branch 'MDL-54741-master' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-55449-master' of git://github.com/abgreeve/moodle
Andrew Nicols [Tue, 7 Aug 2018 03:44:38 +0000 (11:44 +0800)]
Merge branch 'MDL-55449-master' of git://github.com/abgreeve/moodle

2 years agoMDL-55449 messages: Remove support for stdClass messages.
Adrian Greeve [Tue, 24 Jul 2018 01:49:53 +0000 (09:49 +0800)]
MDL-55449 messages: Remove support for stdClass messages.

This also makes message_sent::create_from_ids() $courseid
parameter required.

2 years agoMerge branch 'MDL-63012-master' of https://github.com/jobyh/moodle
Andrew Nicols [Tue, 7 Aug 2018 01:32:55 +0000 (09:32 +0800)]
Merge branch 'MDL-63012-master' of https://github.com/jobyh/moodle

2 years agoMerge branch 'wip-MDL-61424-master' of git://github.com/marinaglancy/moodle
Andrew Nicols [Tue, 7 Aug 2018 00:18:58 +0000 (08:18 +0800)]
Merge branch 'wip-MDL-61424-master' of git://github.com/marinaglancy/moodle

2 years agoMerge branch 'MDL-62945-master' of https://github.com/HuongNV13/moodle
Andrew Nicols [Tue, 7 Aug 2018 00:08:18 +0000 (08:08 +0800)]
Merge branch 'MDL-62945-master' of https://github.com/HuongNV13/moodle

2 years agoMerge branch 'MDL-62237-master' of https://github.com/lucaboesch/moodle
Eloy Lafuente (stronk7) [Mon, 6 Aug 2018 12:22:21 +0000 (14:22 +0200)]
Merge branch 'MDL-62237-master' of https://github.com/lucaboesch/moodle

2 years agoMDL-62750 lang: Trim langlist setting values
Amaia Anabitarte [Thu, 26 Jul 2018 16:01:16 +0000 (17:01 +0100)]
MDL-62750 lang: Trim langlist setting values

2 years agoMDL-61515 theme: Pre-compile boost
Andrew Nicols [Mon, 6 Aug 2018 07:21:11 +0000 (15:21 +0800)]
MDL-61515 theme: Pre-compile boost

2 years agoMerge branch 'MDL-61515-master' of git://github.com/bmbrands/moodle
Andrew Nicols [Mon, 6 Aug 2018 05:55:04 +0000 (13:55 +0800)]
Merge branch 'MDL-61515-master' of git://github.com/bmbrands/moodle

2 years agoMerge branch 'MDL-62996-master' of git://github.com/junpataleta/moodle
Andrew Nicols [Mon, 6 Aug 2018 04:10:51 +0000 (12:10 +0800)]
Merge branch 'MDL-62996-master' of git://github.com/junpataleta/moodle

2 years agoMDL-62798 repositories: Report sections by name in server repository
Mihail Geshoski [Mon, 2 Jul 2018 06:54:25 +0000 (14:54 +0800)]
MDL-62798 repositories: Report sections by name in server repository

2 years agoMDL-61839 glossary: One letter search in glossary returns all entries
Mihail Geshoski [Fri, 1 Jun 2018 00:43:56 +0000 (08:43 +0800)]
MDL-61839 glossary: One letter search in glossary returns all entries

2 years agoMDL-54741 general: 3.2 final deprecation in lib/deprecatedlib.php
Mihail Geshoski [Mon, 6 Aug 2018 01:29:54 +0000 (09:29 +0800)]
MDL-54741 general: 3.2 final deprecation in lib/deprecatedlib.php

2 years agoMDL-56335 behat: prefixed_tablenode_transformations final deprecation
Mihail Geshoski [Wed, 18 Jul 2018 06:32:56 +0000 (14:32 +0800)]
MDL-56335 behat: prefixed_tablenode_transformations final deprecation

2 years agoMerge branch 'MDL-62969_master' of git://github.com/markn86/moodle
Andrew Nicols [Mon, 6 Aug 2018 01:21:14 +0000 (09:21 +0800)]
Merge branch 'MDL-62969_master' of git://github.com/markn86/moodle

2 years agoMDL-62237 repositories: Add SVG icons for built-in repositories
Luca Bösch [Thu, 26 Apr 2018 20:49:57 +0000 (22:49 +0200)]
MDL-62237 repositories: Add SVG icons for built-in repositories

2 years agoMDL-62945 Quiz: Increase max group of Question type Gap Select
Huong Nguyen [Tue, 31 Jul 2018 08:28:07 +0000 (15:28 +0700)]
MDL-62945 Quiz: Increase max group of Question type Gap Select

2 years agoweekly release 3.6dev
Andrew Nicols [Fri, 3 Aug 2018 03:30:11 +0000 (11:30 +0800)]
weekly release 3.6dev

2 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Andrew Nicols [Fri, 3 Aug 2018 03:30:09 +0000 (11:30 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 years agoMerge branch 'MDL-57244-master-text' of git://github.com/abgreeve/moodle
Eloy Lafuente (stronk7) [Thu, 2 Aug 2018 17:16:58 +0000 (19:16 +0200)]
Merge branch 'MDL-57244-master-text' of git://github.com/abgreeve/moodle

2 years agoMDL-61870 mod_assign: Conditionally backup groups
Damyon Wiese [Mon, 2 Jul 2018 02:31:47 +0000 (10:31 +0800)]
MDL-61870 mod_assign: Conditionally backup groups

When group info is not backed up, do not backup assignment submissions or overrides that related to a specific group.
We are already correctly not restoring them, but it is more robust not to include them in the backup file at all.

2 years agoMDL-61870 mod_assign: Fix/clean up imported group override duedates
Zig Tan [Fri, 29 Jun 2018 09:07:35 +0000 (17:07 +0800)]
MDL-61870 mod_assign: Fix/clean up imported group override duedates

Applying patch supplied from Damyon Wiese to address the root-cause
of this issue in the backup/restore logic.

2 years agoMDL-61870 mod_assign: Fix/clean up imported group override duedates
Zig Tan [Fri, 29 Jun 2018 03:21:45 +0000 (11:21 +0800)]
MDL-61870 mod_assign: Fix/clean up imported group override duedates

- Prevent group override duedate events from being imported when groups are excluded
- Clean up any existing group override duedate events when editing assignment in upgradelib.php
- Updated lib.php unit tests

2 years agoMerge branch 'MDL-59847-master' of https://github.com/snake/moodle
Andrew Nicols [Thu, 2 Aug 2018 03:39:50 +0000 (11:39 +0800)]
Merge branch 'MDL-59847-master' of https://github.com/snake/moodle

2 years agoMerge branch 'MDL-62983-master' of git://github.com/sarjona/moodle
Andrew Nicols [Thu, 2 Aug 2018 03:17:13 +0000 (11:17 +0800)]
Merge branch 'MDL-62983-master' of git://github.com/sarjona/moodle

2 years agoMDL-57244 lib: Update to upgrade.txt files about renamed classes.
Adrian Greeve [Thu, 2 Aug 2018 02:25:25 +0000 (10:25 +0800)]
MDL-57244 lib: Update to upgrade.txt files about renamed classes.

2 years agoMDL-59847 core: Stop supporting custom identity fields in user selectors
David Mudrák [Tue, 17 Jul 2018 17:07:22 +0000 (19:07 +0200)]
MDL-59847 core: Stop supporting custom identity fields in user selectors

The user_selector classes supported custom list of extra identity
fields. But they should obey the configured user policy and respect the
privacy setting made by site administrators. So the list of user
identifiers should never be hard-coded, but the setting
$CFG->showuseridentity should be always respected.

2 years agoMDL-59847 core: Fix display of hidden identity fields in user selectors
David Mudrák [Fri, 13 Jul 2018 10:58:12 +0000 (12:58 +0200)]
MDL-59847 core: Fix display of hidden identity fields in user selectors

User selectors now respect the user's permission to view other users'
hidden profile fields.

2 years agoMerge branch 'MDL-57666-master' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Wed, 1 Aug 2018 23:27:41 +0000 (01:27 +0200)]
Merge branch 'MDL-57666-master' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-62965-master-userprofilesignup' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Wed, 1 Aug 2018 22:37:40 +0000 (00:37 +0200)]
Merge branch 'MDL-62965-master-userprofilesignup' of git://github.com/mudrd8mz/moodle

2 years agoMerge branch 'MDL-57244-master' of git://github.com/abgreeve/moodle
Eloy Lafuente (stronk7) [Wed, 1 Aug 2018 22:24:14 +0000 (00:24 +0200)]
Merge branch 'MDL-57244-master' of git://github.com/abgreeve/moodle

2 years agoMerge branch 'MDL-59595-master-2' of git://github.com/snake/moodle
Eloy Lafuente (stronk7) [Wed, 1 Aug 2018 22:21:23 +0000 (00:21 +0200)]
Merge branch 'MDL-59595-master-2' of git://github.com/snake/moodle

2 years agoMerge branch 'MDL-51883-master' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Wed, 1 Aug 2018 14:38:45 +0000 (16:38 +0200)]
Merge branch 'MDL-51883-master' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-62977_master' of git://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Tue, 31 Jul 2018 23:59:36 +0000 (01:59 +0200)]
Merge branch 'MDL-62977_master' of git://github.com/markn86/moodle

2 years agoMerge branch 'MDL-61041-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Wed, 1 Aug 2018 14:36:12 +0000 (16:36 +0200)]
Merge branch 'MDL-61041-master' of git://github.com/damyon/moodle

2 years agoMDL-62983 core_user: Hold multiple filters when clicking any link
Jonathon Fowler [Wed, 25 Jul 2018 10:53:06 +0000 (12:53 +0200)]
MDL-62983 core_user: Hold multiple filters when clicking any link

2 years agoMDL-51883 libraries: 3.1 final deprecation in lib/deprecatedlib.php
Mihail Geshoski [Wed, 1 Aug 2018 02:32:37 +0000 (10:32 +0800)]
MDL-51883 libraries: 3.1 final deprecation in lib/deprecatedlib.php

2 years agoMerge branch 'MDL-62344-master-final' of https://github.com/Tsheke/moodle
Eloy Lafuente (stronk7) [Tue, 31 Jul 2018 21:53:52 +0000 (23:53 +0200)]
Merge branch 'MDL-62344-master-final' of https://github.com/Tsheke/moodle

2 years agoMerge branch 'MDL-41847-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Tue, 31 Jul 2018 21:50:43 +0000 (23:50 +0200)]
Merge branch 'MDL-41847-master' of git://github.com/sarjona/moodle

2 years agoMerge branch 'MDL-61290_master' of https://github.com/aanabit/moodle
David Monllao [Tue, 31 Jul 2018 15:18:17 +0000 (17:18 +0200)]
Merge branch 'MDL-61290_master' of https://github.com/aanabit/moodle

2 years agoMDL-61290 mod_feedback: adding groups to csv download
Amaia Anabitarte [Wed, 25 Jul 2018 16:39:45 +0000 (17:39 +0100)]
MDL-61290 mod_feedback: adding groups to csv download

Thanks Christine LEGEMBLE for your proposal

2 years agoMerge branch 'MDL-63001_master' of git://github.com/markn86/moodle
David Monllao [Tue, 31 Jul 2018 11:52:49 +0000 (13:52 +0200)]
Merge branch 'MDL-63001_master' of git://github.com/markn86/moodle

2 years agoMerge branch 'master_MDL-58015' of https://github.com/danmarsden/moodle
David Monllao [Tue, 31 Jul 2018 11:36:21 +0000 (13:36 +0200)]
Merge branch 'master_MDL-58015' of https://github.com/danmarsden/moodle

2 years agoMerge branch 'MDL-59611-master' of git://github.com/damyon/moodle
David Monllao [Tue, 31 Jul 2018 11:30:41 +0000 (13:30 +0200)]
Merge branch 'MDL-59611-master' of git://github.com/damyon/moodle

2 years agoMerge branch 'MDL-44538-master' of https://github.com/lucaboesch/moodle
David Monllao [Tue, 31 Jul 2018 09:18:39 +0000 (11:18 +0200)]
Merge branch 'MDL-44538-master' of https://github.com/lucaboesch/moodle

2 years agoMerge branch 'MDL-58768-master-2' of git://github.com/rezaies/moodle
Jun Pataleta [Tue, 31 Jul 2018 08:18:44 +0000 (16:18 +0800)]
Merge branch 'MDL-58768-master-2' of git://github.com/rezaies/moodle

2 years agoMDL-63026 course: Fix reference to unexisting capability
David Monllao [Tue, 31 Jul 2018 06:30:55 +0000 (08:30 +0200)]
MDL-63026 course: Fix reference to unexisting capability

2 years agoMerge branch 'MDL-61960-master' of git://github.com/farhan6318/moodle
Andrew Nicols [Mon, 30 Jul 2018 23:23:50 +0000 (07:23 +0800)]
Merge branch 'MDL-61960-master' of git://github.com/farhan6318/moodle

2 years agoMerge branch 'MDL-57977-master' of git://github.com/vmdef/moodle
Eloy Lafuente (stronk7) [Mon, 30 Jul 2018 19:09:55 +0000 (21:09 +0200)]
Merge branch 'MDL-57977-master' of git://github.com/vmdef/moodle

2 years agoMerge branch 'MDL-56712-master' of git://github.com/mihailges/moodle
David Monllao [Mon, 30 Jul 2018 15:47:51 +0000 (17:47 +0200)]
Merge branch 'MDL-56712-master' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-54858-master' of git://github.com/mihailges/moodle
David Monllao [Mon, 30 Jul 2018 15:41:06 +0000 (17:41 +0200)]
Merge branch 'MDL-54858-master' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-55188-master' of git://github.com/abgreeve/moodle
David Monllao [Mon, 30 Jul 2018 15:33:21 +0000 (17:33 +0200)]
Merge branch 'MDL-55188-master' of git://github.com/abgreeve/moodle

2 years agoMerge branch 'MDL-63002_master' of git://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Mon, 30 Jul 2018 14:15:16 +0000 (16:15 +0200)]
Merge branch 'MDL-63002_master' of git://github.com/markn86/moodle

2 years agoMDL-61424 admin: reset registration if token is rejected
Marina Glancy [Wed, 6 Jun 2018 04:54:50 +0000 (12:54 +0800)]
MDL-61424 admin: reset registration if token is rejected

2 years agoMDL-63002 core: fixed incorrect calls to non-existent delete_record()
Mark Nelson [Mon, 30 Jul 2018 12:47:57 +0000 (20:47 +0800)]
MDL-63002 core: fixed incorrect calls to non-existent delete_record()

2 years agoMDL-63002 core_grade: fixed deletion of overriden letters
Adrian Perez [Fri, 20 Jul 2018 12:25:25 +0000 (14:25 +0200)]
MDL-63002 core_grade: fixed deletion of overriden letters

2 years agoMerge branch 'MDL-60435_master' of git://github.com/markn86/moodle
David Monllao [Mon, 30 Jul 2018 11:37:12 +0000 (13:37 +0200)]
Merge branch 'MDL-60435_master' of git://github.com/markn86/moodle

2 years agoMerge branch 'MDL-62931-master' of git://github.com/rezaies/moodle
Jun Pataleta [Mon, 30 Jul 2018 08:34:57 +0000 (16:34 +0800)]
Merge branch 'MDL-62931-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-62943-master' of git://github.com/mihailges/moodle
Jun Pataleta [Mon, 30 Jul 2018 08:05:03 +0000 (16:05 +0800)]
Merge branch 'MDL-62943-master' of git://github.com/mihailges/moodle

2 years agoMDL-62993 ltiservice_memberships: make message an array per spec
Claude Vervoort [Thu, 26 Jul 2018 15:20:04 +0000 (11:20 -0400)]
MDL-62993 ltiservice_memberships: make message an array per spec

Also added resultSourcedId to member for BC.

2 years agoMDL-62975 core_form: deprecate the htmleditor element
Mark Nelson [Wed, 25 Jul 2018 10:09:06 +0000 (18:09 +0800)]
MDL-62975 core_form: deprecate the htmleditor element

2 years agoMDL-50225 core: replace usages of print_textarea()
Mark Nelson [Tue, 24 Jul 2018 08:28:01 +0000 (16:28 +0800)]
MDL-50225 core: replace usages of print_textarea()

2 years agoMDL-50225 core: removed unused message bulk action files
Mark Nelson [Tue, 24 Jul 2018 06:02:13 +0000 (14:02 +0800)]
MDL-50225 core: removed unused message bulk action files

In core we now use a modal to perform these actions. I
initially thought these were kept because they were a fall
back if JS was disabled. However, the functionality is
broken and doesn't work. Since we do not have to support
non-JS anymore these files have simply been removed as well
as relevant strings deprecated.

2 years agoMDL-50225 mod_wiki: removed unused file wiki/editors/html.php
Mark Nelson [Mon, 23 Jul 2018 10:27:42 +0000 (18:27 +0800)]
MDL-50225 mod_wiki: removed unused file wiki/editors/html.php

2 years agoMDL-50225 core: properly deprecate print_textarea
Mark Nelson [Tue, 24 Jul 2018 08:28:27 +0000 (16:28 +0800)]
MDL-50225 core: properly deprecate print_textarea

2 years agoMDL-62943 core_output: Final deprecation of update_module_button
Mihail Geshoski [Thu, 19 Jul 2018 06:15:19 +0000 (14:15 +0800)]
MDL-62943 core_output: Final deprecation of update_module_button

2 years agoMDL-57666 repositories: Error when copying file from Dropbox repository
Mihail Geshoski [Thu, 21 Jun 2018 06:15:23 +0000 (14:15 +0800)]
MDL-57666 repositories: Error when copying file from Dropbox repository

2 years agoMDL-56712 media: Remove 3.2 deprecated functions and classes
Mihail Geshoski [Wed, 18 Jul 2018 08:38:24 +0000 (16:38 +0800)]
MDL-56712 media: Remove 3.2 deprecated functions and classes

2 years agoMDL-55188 events: Final deprecation of part of events 1 API.
Adrian Greeve [Mon, 16 Jul 2018 02:21:49 +0000 (10:21 +0800)]
MDL-55188 events: Final deprecation of part of events 1 API.

2 years agoMDL-55188 events: First deprecation of eventslib.php
Adrian Greeve [Mon, 16 Jul 2018 02:21:16 +0000 (10:21 +0800)]
MDL-55188 events: First deprecation of eventslib.php

2 years agoMDL-55188 events: Final deprecation events_trigger.
cescobedo [Thu, 12 Jul 2018 13:18:59 +0000 (15:18 +0200)]
MDL-55188 events: Final deprecation events_trigger.

2 years agoMDL-54858 user: Final deprecation of useredit_update_picture
Mihail Geshoski [Thu, 19 Jul 2018 02:34:44 +0000 (10:34 +0800)]
MDL-54858 user: Final deprecation of useredit_update_picture

Credit to Ankit Agarwal.

2 years agoMDL-62065 core_access: First deprecation of get roles on exact context
cescobedo [Sun, 29 Jul 2018 20:43:06 +0000 (22:43 +0200)]
MDL-62065 core_access: First deprecation of get roles on exact context

2 years agoMDL-63012 grunt: Update Node version check message
Joby Harding [Sun, 29 Jul 2018 20:06:52 +0000 (21:06 +0100)]
MDL-63012 grunt: Update Node version check message

2 years agoAutomatically generated installer lang files
AMOS bot [Sun, 29 Jul 2018 00:07:10 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 years agoMDL-58768 mod_assign: Added userid param to calendar callbacks
Shamim Rezaie [Thu, 5 Apr 2018 08:17:36 +0000 (18:17 +1000)]
MDL-58768 mod_assign: Added userid param to calendar callbacks

The mod_assign_core_calendar_is_event_visible and mod_assign_core_calendar_provide_event_action
functions now accept a new parameter ($userid) so they are not always dependet to the logged in user.

2 years agoMDL-58768 core: Fix a typo for callback name
Shamim Rezaie [Wed, 4 Apr 2018 15:56:56 +0000 (01:56 +1000)]
MDL-58768 core: Fix a typo for callback name

2 years agoMDL-58768 mod_assign: Add $user param to assign::can_grade
Shamim Rezaie [Wed, 4 Apr 2018 15:15:47 +0000 (01:15 +1000)]
MDL-58768 mod_assign: Add $user param to assign::can_grade

2 years agoMDL-58768 calendar: Add $requestinguser to the container class
Shamim Rezaie [Wed, 4 Apr 2018 14:37:56 +0000 (00:37 +1000)]
MDL-58768 calendar: Add $requestinguser to the container class

The requesting user is not always the same as the current user. The container class now allows a different user
to be set as the requesting user. All capability checks are done against the requesting user.

Also, the $requestinguser is passed to core_calendar_provide_event_action and core_calendar_is_event_visible
callback functions. These callback functions need to be updated in all activity modules to accept a $user parameter.

2 years agoMDL-58768 coursecat: coursecat::get to accept a $user parameter
Shamim Rezaie [Wed, 4 Apr 2018 14:17:40 +0000 (00:17 +1000)]
MDL-58768 coursecat: coursecat::get to accept a $user parameter

2 years agoMDL-58768 Calendar: Update get_raw_events_legacy_implementation
Shamim Rezaie [Wed, 28 Mar 2018 14:58:06 +0000 (01:58 +1100)]
MDL-58768 Calendar: Update get_raw_events_legacy_implementation

Update get_raw_events_legacy_implementation to work with the passed $users parameter instead of the logged in user.
Also, fixed a bug where get_raw_events_legacy_implementation was failing when $users was set to true, and a list of
$groups was given.

2 years agoMDL-58768 Calendar: Added user param to calendar_set_filters
Shamim Rezaie [Tue, 27 Mar 2018 13:19:10 +0000 (00:19 +1100)]
MDL-58768 Calendar: Added user param to calendar_set_filters

Decoupled calendar_set_filters from $USER.
Also removed the backward compatibility bit from the function because it was a left over.

2 years agoMDL-58768 Calendar: Added userid param to calendar_get_default_courses
Shamim Rezaie [Tue, 6 Mar 2018 04:22:11 +0000 (15:22 +1100)]
MDL-58768 Calendar: Added userid param to calendar_get_default_courses