moodle.git
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-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-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-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 agoMerge branch 'MDL-62950-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Fri, 27 Jul 2018 08:19:22 +0000 (16:19 +0800)]
Merge branch 'MDL-62950-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-62950 behat: Disable editing for boost test
Andrew Nicols [Fri, 27 Jul 2018 02:05:17 +0000 (10:05 +0800)]
MDL-62950 behat: Disable editing for boost test

2 years agoweekly release 3.6dev
Eloy Lafuente (stronk7) [Thu, 26 Jul 2018 17:56:33 +0000 (19:56 +0200)]
weekly release 3.6dev

2 years agoNOBUG: Fixed file access permissions
Eloy Lafuente (stronk7) [Thu, 26 Jul 2018 17:56:32 +0000 (19:56 +0200)]
NOBUG: Fixed file access permissions

2 years agoMDL-62871 quiz: incorrect foreign key declaration
Vadim Tabunshchik [Thu, 19 Jul 2018 08:29:34 +0000 (18:29 +1000)]
MDL-62871 quiz: incorrect foreign key declaration

2 years agoMDL-62950 behat: Correct navbar references
Andrew Nicols [Thu, 26 Jul 2018 07:29:05 +0000 (15:29 +0800)]
MDL-62950 behat: Correct navbar references

2 years agoMDL-62950 behat: Correct use of nav
Andrew Nicols [Thu, 26 Jul 2018 06:56:35 +0000 (14:56 +0800)]
MDL-62950 behat: Correct use of nav

2 years agoMDL-62950 behat: Correct path to P&P
Andrew Nicols [Thu, 26 Jul 2018 06:49:04 +0000 (14:49 +0800)]
MDL-62950 behat: Correct path to P&P

2 years agoMerge branch 'MDL-54742-master-integration' of https://github.com/mihailges/moodle
Andrew Nicols [Thu, 26 Jul 2018 02:34:15 +0000 (10:34 +0800)]
Merge branch 'MDL-54742-master-integration' of https://github.com/mihailges/moodle

2 years agoMDL-54742 general: Remove 'revealpassword' string deprecated in 3.2
Mihail Geshoski [Thu, 26 Jul 2018 02:09:35 +0000 (10:09 +0800)]
MDL-54742 general: Remove 'revealpassword' string deprecated in 3.2

2 years agoMerge branch 'MDL-62771-master_move_plag_disclosure' of https://github.com/jmcgettric...
Eloy Lafuente (stronk7) [Wed, 25 Jul 2018 22:34:37 +0000 (00:34 +0200)]
Merge branch 'MDL-62771-master_move_plag_disclosure' of https://github.com/jmcgettrick/moodle

2 years agoMerge branch 'MDL-57622-master' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Wed, 25 Jul 2018 16:59:05 +0000 (18:59 +0200)]
Merge branch 'MDL-57622-master' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-62852-master' of git://github.com/sarjona/moodle
Jun Pataleta [Wed, 25 Jul 2018 08:38:47 +0000 (16:38 +0800)]
Merge branch 'MDL-62852-master' of git://github.com/sarjona/moodle

2 years agoMDL-62852 policy: Display policy audience in the viewall.php page
Sara Arjona [Wed, 4 Jul 2018 05:57:25 +0000 (07:57 +0200)]
MDL-62852 policy: Display policy audience in the viewall.php page

2 years agoMerge branch 'MDL-62807-master' of git://github.com/damyon/moodle
Jun Pataleta [Wed, 25 Jul 2018 05:48:15 +0000 (13:48 +0800)]
Merge branch 'MDL-62807-master' of git://github.com/damyon/moodle

2 years agoMerge branch 'MDL-60826-master-fix' of https://github.com/lameze/moodle
Andrew Nicols [Wed, 25 Jul 2018 05:40:25 +0000 (13:40 +0800)]
Merge branch 'MDL-60826-master-fix' of https://github.com/lameze/moodle

2 years agoMerge branch 'MDL-55259_master' of git://github.com/markn86/moodle
Andrew Nicols [Wed, 25 Jul 2018 05:35:53 +0000 (13:35 +0800)]
Merge branch 'MDL-55259_master' of git://github.com/markn86/moodle

2 years agoMDL-60826 calendar: fix group event type logic
Simey Lameze [Wed, 25 Jul 2018 02:31:54 +0000 (10:31 +0800)]
MDL-60826 calendar: fix group event type logic

2 years agoMerge branch 'MDL-62897-master' of git://github.com/rezaies/moodle
Andrew Nicols [Wed, 25 Jul 2018 04:42:31 +0000 (12:42 +0800)]
Merge branch 'MDL-62897-master' of git://github.com/rezaies/moodle

2 years agoMDL-62897 Questions: Find duplicate top cats per context and fix them
Shamim Rezaie [Fri, 20 Jul 2018 08:11:32 +0000 (18:11 +1000)]
MDL-62897 Questions: Find duplicate top cats per context and fix them

2 years agoMerge branch 'MDL-60826-master' of git://github.com/lameze/moodle
Andrew Nicols [Wed, 25 Jul 2018 01:18:53 +0000 (09:18 +0800)]
Merge branch 'MDL-60826-master' of git://github.com/lameze/moodle

2 years agoMDL-60826 calendar: further performance improvements
Simey Lameze [Wed, 25 Jul 2018 00:40:28 +0000 (08:40 +0800)]
MDL-60826 calendar: further performance improvements

This commit does few tweaks and other performance improvements to
calendar_get_allowed_event_types to be more efficient. Also some minor
queries optimizations on the event form to fetch the list of courses
without groups.

2 years agoMerge branch 'MDL-61652-master' of git://github.com/mihailges/moodle
Andrew Nicols [Wed, 25 Jul 2018 00:32:22 +0000 (08:32 +0800)]
Merge branch 'MDL-61652-master' of git://github.com/mihailges/moodle

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

2 years agoMerge branch 'MDL-62935-master' of git://github.com/bmbrands/moodle
Eloy Lafuente (stronk7) [Tue, 24 Jul 2018 23:16:38 +0000 (01:16 +0200)]
Merge branch 'MDL-62935-master' of git://github.com/bmbrands/moodle

2 years agoMerge branch 'MDL-55365-master' of git://github.com/cescobedo/moodle
Eloy Lafuente (stronk7) [Tue, 24 Jul 2018 23:02:33 +0000 (01:02 +0200)]
Merge branch 'MDL-55365-master' of git://github.com/cescobedo/moodle

2 years agoMerge branch 'MDL-62653-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 24 Jul 2018 22:37:05 +0000 (00:37 +0200)]
Merge branch 'MDL-62653-master' of git://github.com/andrewnicols/moodle

2 years agoMerge branch 'MDL-54551_master' of git://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Tue, 24 Jul 2018 22:26:16 +0000 (00:26 +0200)]
Merge branch 'MDL-54551_master' of git://github.com/markn86/moodle

2 years agoMerge branch 'MDL-60874-master-enrolautocomplete' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 24 Jul 2018 17:03:32 +0000 (19:03 +0200)]
Merge branch 'MDL-60874-master-enrolautocomplete' of git://github.com/mudrd8mz/moodle

2 years agoMDL-55778 enrol_self: New string for 'Notify before..' options
Amaia Anabitarte [Wed, 18 Jul 2018 16:24:21 +0000 (17:24 +0100)]
MDL-55778 enrol_self: New string for 'Notify before..' options

AMOS BEGIN
 CPY [expirynotifyall,core_enrol],[expirynotifyall,enrol_self]
 CPY [expirynotifyenroller,core_enrol],[expirynotifyenroller,enrol_self]
AMOS END

2 years agoMerge branch 'MDL-62925_master' of git://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Tue, 24 Jul 2018 16:31:48 +0000 (18:31 +0200)]
Merge branch 'MDL-62925_master' of git://github.com/markn86/moodle

2 years agoMerge branch 'MDL-62919-master' of git://github.com/cescobedo/moodle
Jun Pataleta [Tue, 24 Jul 2018 08:24:39 +0000 (16:24 +0800)]
Merge branch 'MDL-62919-master' of git://github.com/cescobedo/moodle

2 years agoMDL-62935 boost: slideshow view page overflow
Bas Brands [Tue, 24 Jul 2018 08:15:24 +0000 (10:15 +0200)]
MDL-62935 boost: slideshow view page overflow

2 years agoMDL-61652 tool_dataprivacy: Add capabilities to control data downloads
sam marshall [Wed, 20 Jun 2018 16:44:51 +0000 (17:44 +0100)]
MDL-61652 tool_dataprivacy: Add capabilities to control data downloads

2 years agoMerge branch 'MDL-62939-master-cleanhtmluserdesc' of git://github.com/mudrd8mz/moodle
Jun Pataleta [Tue, 24 Jul 2018 03:58:38 +0000 (11:58 +0800)]
Merge branch 'MDL-62939-master-cleanhtmluserdesc' of git://github.com/mudrd8mz/moodle

2 years agoMDL-60826 groups: deprecate groups_get_all_groups_for_courses function
Simey Lameze [Mon, 16 Jul 2018 03:40:30 +0000 (11:40 +0800)]
MDL-60826 groups: deprecate groups_get_all_groups_for_courses function

2 years agoMDL-60826 calendar: restrict course fields to be retrieved
Simey Lameze [Mon, 16 Jul 2018 03:39:22 +0000 (11:39 +0800)]
MDL-60826 calendar: restrict course fields to be retrieved

2 years agoMDL-60826 calendar: update manage subscription page to use new function
Simey Lameze [Mon, 16 Jul 2018 03:30:02 +0000 (11:30 +0800)]
MDL-60826 calendar: update manage subscription page to use new function

2 years agoMDL-60826 calendar: deprecate calendar_get_all_allowed_types
Simey Lameze [Mon, 16 Jul 2018 02:14:54 +0000 (10:14 +0800)]
MDL-60826 calendar: deprecate calendar_get_all_allowed_types

2 years agoMDL-60826 calendar: lazy load groups on event form
Simey Lameze [Mon, 16 Jul 2018 02:10:50 +0000 (10:10 +0800)]
MDL-60826 calendar: lazy load groups on event form

2 years agoMDL-60826 calendar: tests for calendar_get_allowed_event_types
Simey Lameze [Mon, 16 Jul 2018 02:06:31 +0000 (10:06 +0800)]
MDL-60826 calendar: tests for calendar_get_allowed_event_types

2 years agoMDL-60826 calendar: introduce calendar_get_allowed_event_types function
Simey Lameze [Mon, 16 Jul 2018 02:00:03 +0000 (10:00 +0800)]
MDL-60826 calendar: introduce calendar_get_allowed_event_types function

2 years agoMDL-62961 mod_feedback: style buttons appropriately
Mark Nelson [Mon, 23 Jul 2018 05:03:38 +0000 (13:03 +0800)]
MDL-62961 mod_feedback: style buttons appropriately

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

2 years agoMerge branch 'MDL-62948-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Mon, 23 Jul 2018 07:20:47 +0000 (15:20 +0800)]
Merge branch 'MDL-62948-master' of git://github.com/andrewnicols/moodle

2 years agoMerge branch 'MDL-62949-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Mon, 23 Jul 2018 06:55:18 +0000 (14:55 +0800)]
Merge branch 'MDL-62949-master' of git://github.com/andrewnicols/moodle

2 years agoMerge branch 'MDL-62962-master' of git://github.com/junpataleta/moodle
Andrew Nicols [Mon, 23 Jul 2018 06:51:18 +0000 (14:51 +0800)]
Merge branch 'MDL-62962-master' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-54742-master' of git://github.com/mihailges/moodle
Andrew Nicols [Mon, 23 Jul 2018 06:29:55 +0000 (14:29 +0800)]
Merge branch 'MDL-54742-master' of git://github.com/mihailges/moodle

2 years agoMDL-54742 general: Remove strings deprecated in 3.2
Mihail Geshoski [Mon, 23 Jul 2018 06:25:14 +0000 (14:25 +0800)]
MDL-54742 general: Remove strings deprecated in 3.2

2 years agoMDL-62962 tool_dataprivacy: Move user generation within the test
Jun Pataleta [Mon, 23 Jul 2018 05:35:50 +0000 (13:35 +0800)]
MDL-62962 tool_dataprivacy: Move user generation within the test

2 years agoMDL-62897 Questions: Fix multi top cats in question_save_from_deletion
Shamim Rezaie [Fri, 20 Jul 2018 03:20:15 +0000 (13:20 +1000)]
MDL-62897 Questions: Fix multi top cats in question_save_from_deletion

2 years agoMDL-62897 restore: Fix component name in get_string()
Shamim Rezaie [Fri, 20 Jul 2018 02:31:08 +0000 (12:31 +1000)]
MDL-62897 restore: Fix component name in get_string()

2 years agoMDL-62931 Questions: Escaping lang strings properly
Shamim Rezaie [Thu, 19 Jul 2018 04:29:13 +0000 (14:29 +1000)]
MDL-62931 Questions: Escaping lang strings properly

2 years agoMerge branch 'MDL-61707-master' of git://github.com/mihailges/moodle
Andrew Nicols [Mon, 23 Jul 2018 03:33:20 +0000 (11:33 +0800)]
Merge branch 'MDL-61707-master' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-29701-master' of https://github.com/phuchau1509/moodle
Andrew Nicols [Mon, 23 Jul 2018 01:42:24 +0000 (09:42 +0800)]
Merge branch 'MDL-29701-master' of https://github.com/phuchau1509/moodle

2 years agoMDL-61707 authentication: Remove presignup session upon user signup
Mihail Geshoski [Tue, 10 Jul 2018 02:25:52 +0000 (10:25 +0800)]
MDL-61707 authentication: Remove presignup session upon user signup

2 years agoMDL-57622 behat: Remove behat steps deprecated in 3.2
Mihail Geshoski [Tue, 17 Jul 2018 07:04:08 +0000 (15:04 +0800)]
MDL-57622 behat: Remove behat steps deprecated in 3.2

2 years agoMDL-35977 comments: Missing label in blog and assignment comment area
Mihail Geshoski [Mon, 16 Jul 2018 08:00:58 +0000 (16:00 +0800)]
MDL-35977 comments: Missing label in blog and assignment comment area

2 years agoMDL-55365 behat: Remove deprecated api's in behat_config_mananger.php
cescobedo [Fri, 20 Jul 2018 07:34:26 +0000 (09:34 +0200)]
MDL-55365 behat: Remove deprecated api's in behat_config_mananger.php

2 years agoweekly release 3.6dev
Andrew Nicols [Fri, 20 Jul 2018 07:09:02 +0000 (15:09 +0800)]
weekly release 3.6dev

2 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Andrew Nicols [Fri, 20 Jul 2018 07:09:00 +0000 (15:09 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 years agoMDL-62949 calendar: Fix behat nav to calendar
Andrew Nicols [Fri, 20 Jul 2018 03:48:15 +0000 (11:48 +0800)]
MDL-62949 calendar: Fix behat nav to calendar

2 years agoMDL-62948 tool_policy: Increase window size
Andrew Nicols [Fri, 20 Jul 2018 03:10:44 +0000 (11:10 +0800)]
MDL-62948 tool_policy: Increase window size

In the default window size the floating footer detaling the privacy
policies covers the "Login as guest" button.

2 years agoMDL-29701 editor: mform disableif doesn't work on editor element
Jake Hau [Tue, 17 Jul 2018 03:24:09 +0000 (10:24 +0700)]
MDL-29701 editor: mform disableif doesn't work on editor element

2 years agoMerge branch 'MDL-62811' of git://github.com/timhunt/moodle
Jun Pataleta [Wed, 18 Jul 2018 08:12:16 +0000 (16:12 +0800)]
Merge branch 'MDL-62811' of git://github.com/timhunt/moodle

2 years agoMerge branch 'MDL-62769' of https://github.com/timhunt/moodle
Jun Pataleta [Wed, 18 Jul 2018 07:10:56 +0000 (15:10 +0800)]
Merge branch 'MDL-62769' of https://github.com/timhunt/moodle

2 years agoMerge branch 'MDL-62781-master' of git://github.com/junpataleta/moodle
Jun Pataleta [Wed, 18 Jul 2018 02:07:45 +0000 (10:07 +0800)]
Merge branch 'MDL-62781-master' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-59447-master' of https://github.com/nwp90/moodle
David Monllao [Tue, 17 Jul 2018 12:34:02 +0000 (14:34 +0200)]
Merge branch 'MDL-59447-master' of https://github.com/nwp90/moodle

2 years agoMerge branch 'MDL-53972-master' of git://github.com/mihailges/moodle
David Monllao [Tue, 17 Jul 2018 12:04:42 +0000 (14:04 +0200)]
Merge branch 'MDL-53972-master' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-54830-master' of https://github.com/snake/moodle
David Monllao [Tue, 17 Jul 2018 11:55:00 +0000 (13:55 +0200)]
Merge branch 'MDL-54830-master' of https://github.com/snake/moodle

2 years agoMerge branch 'MDL-61355' of git://github.com/danmarsden/moodle
David Monllao [Tue, 17 Jul 2018 10:39:31 +0000 (12:39 +0200)]
Merge branch 'MDL-61355' of git://github.com/danmarsden/moodle

2 years agoMerge branch 'MDL-61351_master' of git://github.com/markn86/moodle
David Monllao [Tue, 17 Jul 2018 10:31:41 +0000 (12:31 +0200)]
Merge branch 'MDL-61351_master' of git://github.com/markn86/moodle

2 years agoMerge branch 'MDL-62868-master' of https://github.com/snake/moodle
David Monllao [Tue, 17 Jul 2018 08:20:17 +0000 (10:20 +0200)]
Merge branch 'MDL-62868-master' of https://github.com/snake/moodle

2 years agoMerge branch 'MDL-62663' of https://github.com/andrewhancox/moodle
David Monllao [Tue, 17 Jul 2018 07:58:09 +0000 (09:58 +0200)]
Merge branch 'MDL-62663' of https://github.com/andrewhancox/moodle

2 years agoMDL-62939 user: Fix field type of the user profile description
David Mudrák [Wed, 18 Jul 2018 12:27:14 +0000 (14:27 +0200)]
MDL-62939 user: Fix field type of the user profile description

As this is an editor element field, the it is supposed to be PARAM_RAW.
Otherwise it cleans-up certain non-HTML syntax such as Markdown
blockquote characters.

2 years agoMDL-54551 core: touch-up after review
Mark Nelson [Wed, 18 Jul 2018 09:52:34 +0000 (17:52 +0800)]
MDL-54551 core: touch-up after review

1. Reworded the string.
2. Removed logic handling form data.
3. Do not use window.location.replace.

2 years agoMDL-54551 core: AJAX call redirects to login page when session expired
Thom Rawson [Sun, 6 May 2018 05:25:39 +0000 (14:25 +0900)]
MDL-54551 core: AJAX call redirects to login page when session expired

2 years agoMDL-55259 core: removed lib/password_compat/lib/password.php
Mark Nelson [Wed, 18 Jul 2018 07:21:09 +0000 (15:21 +0800)]
MDL-55259 core: removed lib/password_compat/lib/password.php

2 years agoMDL-62781 core_question: Remove unnecessary assertion
Jun Pataleta [Wed, 18 Jul 2018 01:57:46 +0000 (09:57 +0800)]
MDL-62781 core_question: Remove unnecessary assertion

2 years agoMDL-62781 question/privacy: fix tests with CodeRunner is installed
Tim Hunt [Fri, 22 Jun 2018 09:45:56 +0000 (10:45 +0100)]
MDL-62781 question/privacy: fix tests with CodeRunner is installed

The tests were assuming that no plugin ever created questions on
install.

Also change the tests to do the counting in the DB. That is more
efficient.

2 years agoAutomatically generated installer lang files
AMOS bot [Wed, 18 Jul 2018 00:07:26 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 years agoMDL-62919 auth_shibboleth: Use the right shibboleth_auth_instructions
cescobedo [Tue, 17 Jul 2018 18:59:48 +0000 (20:59 +0200)]
MDL-62919 auth_shibboleth: Use the right shibboleth_auth_instructions

Change $CFG->auth_instructions by shibboleth/auth_instructions in the index_form.html

2 years agoMDL-61351 auth_shibboleth: removed redundant session handler class check
Tim Schroeder [Mon, 16 Jul 2018 15:20:36 +0000 (17:20 +0200)]
MDL-61351 auth_shibboleth: removed redundant session handler class check

2 years agoMDL-61351 core: added \core\session\manager\get_handler_class()
Tim Schroeder [Mon, 16 Jul 2018 15:19:40 +0000 (17:19 +0200)]
MDL-61351 core: added \core\session\manager\get_handler_class()

* This is needed e.g. by the shibboleth logout handler to check which
type of sessions are used.

2 years agoMDL-61351 auth_shibboleth: move new functions to separate class
Mark Nelson [Mon, 9 Jul 2018 08:51:33 +0000 (16:51 +0800)]
MDL-61351 auth_shibboleth: move new functions to separate class

This reduces the amount of code to an already confusing logout.php
file and prevents conflicts if someone else happens to be using
the same function name in a file.

2 years agoMerge branch 'MDL-60924-master' of git://github.com/sarjona/moodle
David Monllao [Tue, 17 Jul 2018 07:38:04 +0000 (09:38 +0200)]
Merge branch 'MDL-60924-master' of git://github.com/sarjona/moodle

2 years agoMDL-61351 shibboleth: Logout: fix session handler class not being used
Tim Schroeder [Wed, 4 Jul 2018 15:56:11 +0000 (17:56 +0200)]
MDL-61351 shibboleth: Logout: fix session handler class not being used

* use $CFG->session_handler_class to determine which type of session is
  used
* if not set, use $CFG->dbsession instead

2 years agoMerge branch 'MDL-62889_master' of git://github.com/markn86/moodle
Andrew Nicols [Tue, 17 Jul 2018 04:11:34 +0000 (12:11 +0800)]
Merge branch 'MDL-62889_master' of git://github.com/markn86/moodle

2 years agoMDL-62889 message_popup: redirect using moodle_url
Mark Nelson [Wed, 11 Jul 2018 05:26:11 +0000 (13:26 +0800)]
MDL-62889 message_popup: redirect using moodle_url

Without this relative URLs passed (like /message/index.php)
were being redirected to HOST/message/index.php rather than
$CFG->wwwroot/message/index.php.