moodle.git
7 years agoMDL-49718 webservices: Fix forced format and force external text cleaning
Juan Leyva [Mon, 13 Apr 2015 12:38:30 +0000 (14:38 +0200)]
MDL-49718 webservices: Fix forced format and force external text cleaning

7 years agoMDL-49994 files: Prevent to browse private files when are disabled
Juan Leyva [Tue, 28 Apr 2015 10:30:17 +0000 (12:30 +0200)]
MDL-49994 files: Prevent to browse private files when are disabled

7 years agoMerge branch 'MDL-50001-master' of git://github.com/damyon/moodle
Andrew Nicols [Wed, 6 May 2015 01:13:19 +0000 (09:13 +0800)]
Merge branch 'MDL-50001-master' of git://github.com/damyon/moodle

7 years agoMDL-50099 auth: less verbose account confirmed message
Marina Glancy [Sun, 3 May 2015 13:57:50 +0000 (21:57 +0800)]
MDL-50099 auth: less verbose account confirmed message

7 years agoMDL-49179 setuplib: print_error() uses local URLs exclusively
Frederic Massart [Thu, 5 Mar 2015 14:00:24 +0000 (15:00 +0100)]
MDL-49179 setuplib: print_error() uses local URLs exclusively

7 years agoMDL-49179 weblib: Secure the direct usage of $_SERVER['HTTP_REFERER']
Frederic Massart [Wed, 4 Mar 2015 15:00:32 +0000 (16:00 +0100)]
MDL-49179 weblib: Secure the direct usage of $_SERVER['HTTP_REFERER']

7 years agoMDL-49179 mod_forum, mod_quiz: Prevent misuse of get_referer()
Frederic Massart [Wed, 4 Mar 2015 11:11:08 +0000 (12:11 +0100)]
MDL-49179 mod_forum, mod_quiz: Prevent misuse of get_referer()

7 years agoMDL-49941 quiz: mod/quiz:grade should declare RISK_XSS
Tim Hunt [Tue, 21 Apr 2015 10:03:26 +0000 (11:03 +0100)]
MDL-49941 quiz: mod/quiz:grade should declare RISK_XSS

7 years agoMDL-49401 moodlelib: PARAM_LOCALURL supports loginhttps
Frederic Massart [Thu, 5 Mar 2015 08:30:52 +0000 (09:30 +0100)]
MDL-49401 moodlelib: PARAM_LOCALURL supports loginhttps

7 years agoMoodle release 2.9rc1 v2.9.0-rc1
Eloy Lafuente (stronk7) [Tue, 5 May 2015 10:29:09 +0000 (12:29 +0200)]
Moodle release 2.9rc1

7 years agoMerge branch 'MDL-49845-fix3-master' of git://github.com/gurgus/moodle
Eloy Lafuente (stronk7) [Tue, 5 May 2015 09:42:08 +0000 (11:42 +0200)]
Merge branch 'MDL-49845-fix3-master' of git://github.com/gurgus/moodle

7 years agoMDL-49845 core_user: Fix behat failures
Dave Cooper [Tue, 5 May 2015 09:28:28 +0000 (17:28 +0800)]
MDL-49845 core_user: Fix behat failures

7 years agoMDL-49845 lang: Remove userspreferences string
Dave Cooper [Tue, 5 May 2015 08:36:30 +0000 (16:36 +0800)]
MDL-49845 lang: Remove userspreferences string

7 years agoMerge branch 'MDL-49983-master-fix-3' of https://github.com/xow/moodle
Andrew Nicols [Tue, 5 May 2015 07:34:00 +0000 (15:34 +0800)]
Merge branch 'MDL-49983-master-fix-3' of https://github.com/xow/moodle

7 years agoMerge branch 'wip-MDL-49778-master' of git://github.com/abgreeve/moodle
David Monllao [Tue, 5 May 2015 07:20:47 +0000 (15:20 +0800)]
Merge branch 'wip-MDL-49778-master' of git://github.com/abgreeve/moodle

7 years agoMDL-49778 lib: Update to upgrade_stale_php_files_present()
Adrian Greeve [Mon, 4 May 2015 04:25:58 +0000 (12:25 +0800)]
MDL-49778 lib: Update to upgrade_stale_php_files_present()

7 years agoMDL-49983 admin: Improve user menu grades setting language strings
John Okely [Tue, 5 May 2015 07:12:59 +0000 (15:12 +0800)]
MDL-49983 admin: Improve user menu grades setting language strings

7 years agoMDL-50001 grunt: Make grunt work on windows
Damyon Wiese [Tue, 5 May 2015 04:02:21 +0000 (21:02 -0700)]
MDL-50001 grunt: Make grunt work on windows

Unfortunately, this is not perfect yet. It will build the entire
repository every time - which takes a while because it builds all the
yui modules (On linux it correctly only builds whats in the current dir).

7 years agoMerge branch 'MDL-49983-master-fix-2' of https://github.com/xow/moodle
Andrew Nicols [Tue, 5 May 2015 03:57:03 +0000 (11:57 +0800)]
Merge branch 'MDL-49983-master-fix-2' of https://github.com/xow/moodle

7 years agoMDL-49983 lang: Remove language strings that were added in 2.9
John Okely [Tue, 5 May 2015 03:35:18 +0000 (11:35 +0800)]
MDL-49983 lang: Remove language strings that were added in 2.9

7 years agoMDL-48002 inbound: Tidy up language in unit test
Andrew Nicols [Tue, 5 May 2015 02:39:47 +0000 (10:39 +0800)]
MDL-48002 inbound: Tidy up language in unit test

7 years agoMerge branch 'MDL-50055-master' of git://github.com/andrewnicols/moodle
David Monllao [Tue, 5 May 2015 02:51:30 +0000 (10:51 +0800)]
Merge branch 'MDL-50055-master' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'MDL-49848-master' of git://github.com/xow/moodle
David Monllao [Tue, 5 May 2015 02:37:53 +0000 (10:37 +0800)]
Merge branch 'MDL-49848-master' of git://github.com/xow/moodle

7 years agoMerge branch 'MDL-49845-fix-master' of git://github.com/gurgus/moodle
Andrew Nicols [Tue, 5 May 2015 02:28:50 +0000 (10:28 +0800)]
Merge branch 'MDL-49845-fix-master' of git://github.com/gurgus/moodle

7 years agoMDL-49848 message: Make messaging interface responsive
John Okely [Wed, 22 Apr 2015 04:07:21 +0000 (12:07 +0800)]
MDL-49848 message: Make messaging interface responsive

7 years agoMDL-50055 enrol: Stop requiring javascript for behat tests
Andrew Nicols [Thu, 30 Apr 2015 01:15:54 +0000 (09:15 +0800)]
MDL-50055 enrol: Stop requiring javascript for behat tests

7 years agoMDL-50055 tests: Add new step to deal with Single Selects
Andrew Nicols [Fri, 1 May 2015 01:18:37 +0000 (09:18 +0800)]
MDL-50055 tests: Add new step to deal with Single Selects

7 years agoMerge branch 'MDL-48002-master' of git://github.com/ankitagarwal/moodle
David Monllao [Tue, 5 May 2015 02:21:06 +0000 (10:21 +0800)]
Merge branch 'MDL-48002-master' of git://github.com/ankitagarwal/moodle

7 years agoMerge branch 'MDL-50084-master' of git://github.com/gurgus/moodle
Andrew Nicols [Tue, 5 May 2015 02:18:21 +0000 (10:18 +0800)]
Merge branch 'MDL-50084-master' of git://github.com/gurgus/moodle

7 years agoMDL-49845 lang: Fixing incorrect component name for deprecated string
Dave Cooper [Tue, 5 May 2015 02:01:48 +0000 (10:01 +0800)]
MDL-49845 lang: Fixing incorrect component name for deprecated string

7 years agoMerge branch 'MDL-50059-master' of git://github.com/damyon/moodle
Andrew Nicols [Tue, 5 May 2015 01:55:11 +0000 (09:55 +0800)]
Merge branch 'MDL-50059-master' of git://github.com/damyon/moodle

7 years agoMDL-50085 output: Remove component and subtype from renderer
Damyon Wiese [Mon, 4 May 2015 06:20:30 +0000 (14:20 +0800)]
MDL-50085 output: Remove component and subtype from renderer

They were only added to support templates, and due to refactoring
are not required any more. So we should remove this API change.

7 years agoMDL-50085 templates: Minor fixes from peer review
Damyon Wiese [Mon, 4 May 2015 06:18:42 +0000 (14:18 +0800)]
MDL-50085 templates: Minor fixes from peer review

* rename get_filename to get_filepath
* phpdocs fixes
* improve formatting of exceptions
* lang string improvement

7 years agoMDL-50085 Mustache : Strictly define the search paths for templates.
Damyon Wiese [Fri, 1 May 2015 08:43:21 +0000 (16:43 +0800)]
MDL-50085 Mustache : Strictly define the search paths for templates.

This change moves several repeated sections of code that was searching
for templates and valid template locations to a new class. It adds
unit tests for the new class and verifies subsystem support for templates.

7 years agoMDL-49983-master lang: Fixing wrong mygrades string location
David Monllao [Mon, 4 May 2015 10:16:53 +0000 (18:16 +0800)]
MDL-49983-master lang: Fixing wrong mygrades string location

7 years agoMerge branch 'MDL-49923-master-fix1' of git://github.com/damyon/moodle
David Monllao [Mon, 4 May 2015 10:06:26 +0000 (18:06 +0800)]
Merge branch 'MDL-49923-master-fix1' of git://github.com/damyon/moodle

7 years agoMDL-48002: inbound: Add outlook fixture
Ankit Agarwal [Mon, 4 May 2015 08:10:36 +0000 (13:40 +0530)]
MDL-48002: inbound: Add outlook fixture

7 years agoMDL-48002 inbound: Update regex for token matching
Ankit Agarwal [Mon, 4 May 2015 08:21:19 +0000 (13:51 +0530)]
MDL-48002 inbound: Update regex for token matching

7 years agoMDL-50059 Output: Remove heading param from full_header
Damyon Wiese [Mon, 4 May 2015 09:02:33 +0000 (17:02 +0800)]
MDL-50059 Output: Remove heading param from full_header

It was only used for a hack in clean to show the logo.

7 years agoMDL-49923 theme_clean: The core renderer was in the wrong folder
Damyon Wiese [Mon, 4 May 2015 08:57:10 +0000 (16:57 +0800)]
MDL-49923 theme_clean: The core renderer was in the wrong folder

Renderers need to follow autoloading rules or be included from renderer.php.

7 years agoMDL-49987 Navigation: Put messages before preferences, not mypreferences
John Okely [Mon, 4 May 2015 08:31:16 +0000 (16:31 +0800)]
MDL-49987 Navigation: Put messages before preferences, not mypreferences

7 years agoMDL-50084 pix: Updated pix to use the templatable interface
Dave Cooper [Mon, 4 May 2015 06:38:16 +0000 (14:38 +0800)]
MDL-50084 pix: Updated pix to use the templatable interface

7 years agoMDL-48002: inbound: Add ios fixture
Ankit Agarwal [Mon, 4 May 2015 07:55:10 +0000 (13:25 +0530)]
MDL-48002: inbound: Add ios fixture

7 years agoMerge branch 'MDL-49954-master' of git://github.com/jleyva/moodle
David Monllao [Mon, 4 May 2015 07:16:01 +0000 (15:16 +0800)]
Merge branch 'MDL-49954-master' of git://github.com/jleyva/moodle

7 years agoMerge branch 'MDL-49845-master' of git://github.com/gurgus/moodle
Andrew Nicols [Mon, 4 May 2015 07:03:22 +0000 (15:03 +0800)]
Merge branch 'MDL-49845-master' of git://github.com/gurgus/moodle

7 years agoMerge branch 'wip-MDL-49846-master-fix' of git://github.com/abgreeve/moodle
David Monllao [Mon, 4 May 2015 06:57:18 +0000 (14:57 +0800)]
Merge branch 'wip-MDL-49846-master-fix' of git://github.com/abgreeve/moodle

7 years agoMDL-49987 upgrade: Correct missing main_savepoint update
Andrew Nicols [Mon, 4 May 2015 06:40:09 +0000 (14:40 +0800)]
MDL-49987 upgrade: Correct missing main_savepoint update

7 years agoMerge branch 'wip-mdl-50042' of git://github.com/rajeshtaneja/moodle
David Monllao [Mon, 4 May 2015 06:16:09 +0000 (14:16 +0800)]
Merge branch 'wip-mdl-50042' of git://github.com/rajeshtaneja/moodle

7 years agoMDL-49846 tool_monitor: Context simplification and clean up.
Adrian Greeve [Mon, 4 May 2015 06:05:44 +0000 (14:05 +0800)]
MDL-49846 tool_monitor: Context simplification and clean up.

Removed some unnecessary variables and simplified the context
usage in the index.php page.

7 years agoMDL-49845 notes: Changed headers for notes index
Dave Cooper [Wed, 29 Apr 2015 04:11:56 +0000 (12:11 +0800)]
MDL-49845 notes: Changed headers for notes index

7 years agoMDL-49845 blog: Changed headers for blog index
Dave Cooper [Wed, 29 Apr 2015 02:05:56 +0000 (10:05 +0800)]
MDL-49845 blog: Changed headers for blog index

7 years agoMDL-49845 profile: changed 'My preferences' display logic
Dave Cooper [Tue, 28 Apr 2015 06:02:49 +0000 (14:02 +0800)]
MDL-49845 profile: changed 'My preferences' display logic

7 years agoMDL-49845 blog: Fixed navigation logic for blog
Dave Cooper [Thu, 23 Apr 2015 10:39:41 +0000 (18:39 +0800)]
MDL-49845 blog: Fixed navigation logic for blog

7 years agoMDL-49845 navigation: Fix breadcrumbs for links in my profile.
Dave Cooper [Wed, 22 Apr 2015 06:05:06 +0000 (14:05 +0800)]
MDL-49845 navigation: Fix breadcrumbs for links in my profile.

7 years agoMerge branch 'MDL-49987-master' of git://github.com/damyon/moodle
Andrew Nicols [Mon, 4 May 2015 05:40:57 +0000 (13:40 +0800)]
Merge branch 'MDL-49987-master' of git://github.com/damyon/moodle

Conflicts:
lib/db/upgrade.php
version.php

7 years agoMerge branch 'MDL-49983-master' of git://github.com/xow/moodle
Andrew Nicols [Mon, 4 May 2015 04:39:48 +0000 (12:39 +0800)]
Merge branch 'MDL-49983-master' of git://github.com/xow/moodle

7 years agoMDL-49983 navigation: Remove 'my' from user context navigation
John Okely [Wed, 29 Apr 2015 03:29:52 +0000 (11:29 +0800)]
MDL-49983 navigation: Remove 'my' from user context navigation

7 years agoMerge branch 'wip-MDL-49846-master-v2' of git://github.com/abgreeve/moodle
Andrew Nicols [Mon, 4 May 2015 04:31:20 +0000 (12:31 +0800)]
Merge branch 'wip-MDL-49846-master-v2' of git://github.com/abgreeve/moodle

7 years agoMDL-49846 tool_monitor: Subscription page now filters on site events.
Adrian Greeve [Thu, 16 Apr 2015 02:04:07 +0000 (10:04 +0800)]
MDL-49846 tool_monitor: Subscription page now filters on site events.

7 years agoMerge branch 'MDL-49923-master' of git://github.com/FMCorz/moodle
David Monllao [Mon, 4 May 2015 03:14:45 +0000 (11:14 +0800)]
Merge branch 'MDL-49923-master' of git://github.com/FMCorz/moodle

7 years agoMDL-48002 inbound: Update fixtures to add client info
Ankit Agarwal [Thu, 30 Apr 2015 04:03:09 +0000 (09:33 +0530)]
MDL-48002 inbound: Update fixtures to add client info

7 years agoMDL-48002 inbound: add tests for evolution
Ankit Agarwal [Tue, 28 Apr 2015 05:56:07 +0000 (11:26 +0530)]
MDL-48002 inbound: add tests for evolution

7 years agoMDL-48002 inbound Unit tests from fixtures for quoted text
Andrew Nicols [Tue, 28 Apr 2015 01:31:10 +0000 (09:31 +0800)]
MDL-48002 inbound Unit tests from fixtures for quoted text

7 years agoMDL-48002 inbound: Remove quoted text from forum emails
Ankit Agarwal [Mon, 13 Apr 2015 08:08:25 +0000 (13:38 +0530)]
MDL-48002 inbound: Remove quoted text from forum emails

7 years agoMerge branch 'wip-MDL-50066-master' of git://github.com/marinaglancy/moodle
Andrew Nicols [Mon, 4 May 2015 01:07:26 +0000 (09:07 +0800)]
Merge branch 'wip-MDL-50066-master' of git://github.com/marinaglancy/moodle

7 years agoMDL-49987 upgrade: Make sure messages is in the user menu
Damyon Wiese [Wed, 29 Apr 2015 08:59:39 +0000 (16:59 +0800)]
MDL-49987 upgrade: Make sure messages is in the user menu

Because we have removed messages from the navigation tree,
it is important that it exists in the user menu. That is the default
behaviour, but if sites previously removed it, we need to make sure it
is inserted back.

7 years agoMDL-49923 theme_clean: Removed nested H1 tags due to new full_header()
Frederic Massart [Wed, 29 Apr 2015 08:14:06 +0000 (16:14 +0800)]
MDL-49923 theme_clean: Removed nested H1 tags due to new full_header()

7 years agoon-demand release 2.9beta+
David Monllao [Fri, 1 May 2015 08:51:51 +0000 (16:51 +0800)]
on-demand release 2.9beta+

7 years agoMDL-49232 enrol_self: Adapting unit test to new can_self_enrol() output
David Monllao [Fri, 1 May 2015 07:43:09 +0000 (15:43 +0800)]
MDL-49232 enrol_self: Adapting unit test to new can_self_enrol() output

7 years agoMerge branch 'MDL-49998' of git://github.com/stronk7/moodle
David Monllao [Fri, 1 May 2015 07:05:42 +0000 (15:05 +0800)]
Merge branch 'MDL-49998' of git://github.com/stronk7/moodle

7 years agoMerge branch 'MDL-49840-master' of git://github.com/andrewnicols/moodle
David Monllao [Fri, 1 May 2015 03:05:59 +0000 (11:05 +0800)]
Merge branch 'MDL-49840-master' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'MDL-49232_master' of git://github.com/markn86/moodle
Andrew Nicols [Fri, 1 May 2015 01:27:11 +0000 (09:27 +0800)]
Merge branch 'MDL-49232_master' of git://github.com/markn86/moodle

7 years agoMerge branch 'MDL-50028' of git://github.com/timhunt/moodle
Dan Poltawski [Thu, 30 Apr 2015 15:06:58 +0000 (16:06 +0100)]
Merge branch 'MDL-50028' of git://github.com/timhunt/moodle

7 years agoMDL-49998 editpdf: Clean code to make it more readable.
Eloy Lafuente (stronk7) [Thu, 30 Apr 2015 08:52:58 +0000 (10:52 +0200)]
MDL-49998 editpdf: Clean code to make it more readable.

There was a big proliferation and reuse of $pdf variable
that was making the code hard to read/review. This commit
does change nothing but makes it more readable.

Also adds a couple of Close() calls, not strictly needed
because they don't have opened files. But think it makes
really clearer the scope of every variable. And, for sure
it frees some resources. That cannot be bad.

7 years agoMDL-50042 behat: Use double quotes to avoid symfony adding it
Rajesh Taneja [Wed, 29 Apr 2015 02:43:49 +0000 (10:43 +0800)]
MDL-50042 behat: Use double quotes to avoid symfony adding it

7 years agoMDL-50066 strings: unable to deprecate string from moodle.php
Marina Glancy [Thu, 30 Apr 2015 08:14:53 +0000 (16:14 +0800)]
MDL-50066 strings: unable to deprecate string from moodle.php

7 years agoMerge branch 'MDL-49986-master' of git://github.com/FMCorz/moodle
Andrew Nicols [Thu, 30 Apr 2015 07:39:13 +0000 (15:39 +0800)]
Merge branch 'MDL-49986-master' of git://github.com/FMCorz/moodle

7 years agoMerge branch 'MDL-49583' of https://github.com/NeillM/moodle
Andrew Nicols [Thu, 30 Apr 2015 07:00:25 +0000 (15:00 +0800)]
Merge branch 'MDL-49583' of https://github.com/NeillM/moodle

7 years agoMerge branch 'MDL-50038-master' of git://github.com/FMCorz/moodle
Andrew Nicols [Thu, 30 Apr 2015 06:55:48 +0000 (14:55 +0800)]
Merge branch 'MDL-50038-master' of git://github.com/FMCorz/moodle

7 years agoMerge branch 'MDL-49281-master' of git://github.com/mastnym/moodle
David Monllao [Thu, 30 Apr 2015 06:53:52 +0000 (14:53 +0800)]
Merge branch 'MDL-49281-master' of git://github.com/mastnym/moodle

7 years agoMDL-49637 mod_assign: Fixing behat test
David Monllao [Thu, 30 Apr 2015 03:04:09 +0000 (11:04 +0800)]
MDL-49637 mod_assign: Fixing behat test

The participant number is dynamically generated so it is not possible to
match known values.

Match on the submission text instead.

7 years agoMDL-49281 grades: Calculation settings upgraded
Martin Mastny [Thu, 16 Apr 2015 06:21:35 +0000 (14:21 +0800)]
MDL-49281 grades: Calculation settings upgraded

7 years agoMDL-49986 messages: Contacts in contact list should not be bold
Frederic Massart [Thu, 30 Apr 2015 04:40:03 +0000 (12:40 +0800)]
MDL-49986 messages: Contacts in contact list should not be bold

7 years agoMerge branch 'MDL-50033-master-enfix' of git://github.com/mudrd8mz/moodle
Andrew Nicols [Thu, 30 Apr 2015 02:47:33 +0000 (10:47 +0800)]
Merge branch 'MDL-50033-master-enfix' of git://github.com/mudrd8mz/moodle

7 years agoMerge branch 'MDL-49932_master' of git://github.com/markn86/moodle
Andrew Nicols [Thu, 30 Apr 2015 02:25:27 +0000 (10:25 +0800)]
Merge branch 'MDL-49932_master' of git://github.com/markn86/moodle

7 years agoMDL-49232 enrol_self: Add behat test for non-guest self-enrolment
Andrew Nicols [Thu, 30 Apr 2015 00:57:02 +0000 (08:57 +0800)]
MDL-49232 enrol_self: Add behat test for non-guest self-enrolment

7 years agoMDL-49232 enrol_self: display continue button
Mark Nelson [Mon, 20 Apr 2015 05:42:25 +0000 (22:42 -0700)]
MDL-49232 enrol_self: display continue button

7 years agoMDL-49932 core_install: removed upgrade step changing 'defaulthomepage'
Mark Nelson [Wed, 29 Apr 2015 01:24:21 +0000 (18:24 -0700)]
MDL-49932 core_install: removed upgrade step changing 'defaulthomepage'

The upgrade step was changing any site that had the setting
'defaulthomepage' set to HOMEPAGE_SITE to HOMEPAGE_MY. We can
not make the assumption that users want this setting changed.

7 years agoMDL-50033 lang: Update Behat scenarios to use the new strings
David Mudrák [Wed, 29 Apr 2015 21:15:44 +0000 (23:15 +0200)]
MDL-50033 lang: Update Behat scenarios to use the new strings

7 years agoMDL-50033 lang: Merge English strings from the en_fix language pack
Helen Foster [Wed, 29 Apr 2015 19:43:00 +0000 (21:43 +0200)]
MDL-50033 lang: Merge English strings from the en_fix language pack

7 years agoMDL-50038 my: Redirect admin users to the notifications page when needed
Frederic Massart [Wed, 29 Apr 2015 10:52:46 +0000 (18:52 +0800)]
MDL-50038 my: Redirect admin users to the notifications page when needed

7 years agoMerge branch 'MDL-50041-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Wed, 29 Apr 2015 10:53:47 +0000 (11:53 +0100)]
Merge branch 'MDL-50041-master' of git://github.com/FMCorz/moodle

7 years agoMDL-50041 gdlib: Badges need PNG files from process_new_icon()
Frederic Massart [Wed, 29 Apr 2015 07:04:47 +0000 (15:04 +0800)]
MDL-50041 gdlib: Badges need PNG files from process_new_icon()

7 years agoMDL-49843 navigation: Fixed fatal error when viewing reports.
Adrian Greeve [Mon, 20 Apr 2015 07:44:22 +0000 (15:44 +0800)]
MDL-49843 navigation: Fixed fatal error when viewing reports.

7 years agoMDL-49583 enrol: enrol/index.php page doesn't handle direct access well
Neill Magill [Thu, 19 Mar 2015 11:32:33 +0000 (11:32 +0000)]
MDL-49583 enrol: enrol/index.php page doesn't handle direct access well

Before this patch if a user who is not logged in to Moodle accesses the
enrol/index.php page directly they were redirected to the Moodle front
page after login, rather than back to a page that would allow them to
self enrol, if it is enabled on the course.

This change will cause a user who directly accesses the page to be
redirected back to it after they have logged in, unless the course has guest
access enabled.

Thanks to Marina Glancy for suggesting the use of get_referer()

7 years agoMerge branch 'MDL-49928-master' of git://github.com/ankitagarwal/moodle
Andrew Nicols [Wed, 29 Apr 2015 05:40:44 +0000 (13:40 +0800)]
Merge branch 'MDL-49928-master' of git://github.com/ankitagarwal/moodle

7 years agoMerge branch 'MDL-50026' of git://github.com/timhunt/moodle
David Monllao [Wed, 29 Apr 2015 05:25:02 +0000 (13:25 +0800)]
Merge branch 'MDL-50026' of git://github.com/timhunt/moodle

7 years agoMDL-49928 userprofile: Reorder blocks
Ankit Agarwal [Wed, 22 Apr 2015 05:19:32 +0000 (10:49 +0530)]
MDL-49928 userprofile: Reorder blocks

7 years agoMerge branch 'wip-MDL-49888-master' of git://github.com/abgreeve/moodle
Andrew Nicols [Wed, 29 Apr 2015 04:18:52 +0000 (12:18 +0800)]
Merge branch 'wip-MDL-49888-master' of git://github.com/abgreeve/moodle

7 years agoMerge branch 'MDL-49637' of git://github.com/NeillM/moodle
David Monllao [Wed, 29 Apr 2015 04:04:43 +0000 (12:04 +0800)]
Merge branch 'MDL-49637' of git://github.com/NeillM/moodle