David Mudrák [Wed, 27 Jul 2016 20:49:49 +0000 (22:49 +0200)]
MDL-55166 admin: Fix display of misleading debug warning on manage block
Blocks can declare has_config() as true without actually using the
default node in the admin tree. Typical use case is when the block
injects its settings to other parts of the admin tree and it assigns
null to its $setting node in its settings.php file.
As Janek L.B. correctly spotted, this led to false debugging message
on admin/blocks.php as the code interpreted it as missing settings.php
file.
The patch adds explicit file existence test for this rare case.
Eloy Lafuente (stronk7) [Thu, 21 Jul 2016 09:44:48 +0000 (11:44 +0200)]
weekly release 3.2dev
Eloy Lafuente (stronk7) [Thu, 21 Jul 2016 09:44:42 +0000 (11:44 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Andrew Nicols [Wed, 20 Jul 2016 05:06:22 +0000 (13:06 +0800)]
Merge branch 'wip-mdl-51758' of https://github.com/rajeshtaneja/moodle
Rajesh Taneja [Wed, 20 Jul 2016 04:55:09 +0000 (12:55 +0800)]
MDL-51758 libraries: Reworded password.php not required
Andrew Nicols [Wed, 20 Jul 2016 03:20:08 +0000 (11:20 +0800)]
Merge branch 'MDL-50937-fixes' of git://github.com/andrewnicols/moodle
Andrew Nicols [Wed, 20 Jul 2016 02:29:41 +0000 (10:29 +0800)]
MDL-50937 tag: Stop using deprecated context
$.context has been deprecated for a long time - since before this code was
written. Unfortunately jQuery does not emit anything for deprecated code so
this was not picked up sooner.
Andrew Nicols [Wed, 20 Jul 2016 02:08:39 +0000 (10:08 +0800)]
MDL-50937 theme: langmenu should not have a href value
AMOS bot [Tue, 19 Jul 2016 16:05:02 +0000 (00:05 +0800)]
Automatically generated installer lang files
Dan Poltawski [Tue, 19 Jul 2016 12:01:34 +0000 (13:01 +0100)]
Merge branch 'MDL-31356_master' of https://github.com/StudiUM/moodle
Eloy Lafuente (stronk7) [Tue, 19 Jul 2016 11:21:36 +0000 (13:21 +0200)]
Merge branch 'MDL-55220-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 19 Jul 2016 10:13:00 +0000 (12:13 +0200)]
Merge branch 'wip-mdl-55258-m' of https://github.com/rajeshtaneja/moodle
Dan Poltawski [Tue, 19 Jul 2016 09:52:13 +0000 (10:52 +0100)]
Merge branch 'MDL-55206-master' of git://github.com/junpataleta/moodle
Dan Poltawski [Tue, 19 Jul 2016 09:34:17 +0000 (10:34 +0100)]
MDL-50937 jquery: remove instances of migrate plugin
Dan Poltawski [Tue, 19 Jul 2016 09:27:10 +0000 (10:27 +0100)]
Merge branch 'MDL-50937-master' of git://github.com/damyon/moodle
Dan Poltawski [Tue, 19 Jul 2016 08:38:23 +0000 (09:38 +0100)]
Merge branch 'MDL-54915-master' of github.com/damyon/moodle
Dan Poltawski [Tue, 19 Jul 2016 08:37:01 +0000 (09:37 +0100)]
Revert "Merge branch 'MDL-54915-master' of git://github.com/andrewnicols/moodle"
This reverts commit
fa57043eb695d8c52755cf96c7b0034fb130398b, reversing
changes made to
36a19ecc26d9299af09e7bec9e8dfa99729e1973.
David Monllao [Tue, 19 Jul 2016 07:29:41 +0000 (09:29 +0200)]
Merge branch 'MDL-51758-master' of git://github.com/andrewnicols/moodle
Conflicts:
lib/upgrade.txt
David Monllao [Tue, 19 Jul 2016 06:58:09 +0000 (08:58 +0200)]
Merge branch 'MDL-55141' of https://github.com/creator23/moodle
David Monllao [Tue, 19 Jul 2016 06:53:28 +0000 (08:53 +0200)]
Merge branch 'MDL-49599-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Mon, 11 Jul 2016 07:27:52 +0000 (15:27 +0800)]
MDL-49599 core: Fully deprecate the boxclient class
David Monllao [Tue, 19 Jul 2016 06:41:29 +0000 (08:41 +0200)]
Merge branch 'MDL-55157_m32v6' of https://github.com/sbourget/moodle
Damyon Wiese [Tue, 19 Jul 2016 04:02:28 +0000 (12:02 +0800)]
MDL-54915 templates: Fix async rendering of js blocks
Mustache JS helper can overwrite JS blocks when using nested templates.
Each call to render should have it's own scope.
Stephen Bourget [Wed, 13 Jul 2016 22:26:17 +0000 (18:26 -0400)]
MDL-55157 mod_feedback: Deprecate unused strings
Stephen Bourget [Tue, 19 Jul 2016 02:08:00 +0000 (22:08 -0400)]
MDL-55157 mod_feedback: Course reset should update dates
Eloy Lafuente (stronk7) [Mon, 18 Jul 2016 23:48:02 +0000 (01:48 +0200)]
MDL-52544 oracle: small tweaks
This commit just:
- Moves the null => '' to better place, restricting it to PHP >= 7.0
(bug https://bugs.php.net/bug.php?id=72524)
- Adds a couple of notes here and there.
- Changes some small details to keep the file using the same coding.
Eloy Lafuente (stronk7) [Tue, 19 Jul 2016 02:04:18 +0000 (04:04 +0200)]
Merge branch 'MDL-52544-master' of git://github.com/damyon/moodle
Damyon Wiese [Fri, 8 Jul 2016 05:05:30 +0000 (13:05 +0800)]
MDL-50937 jquery: Upgrade to 3.1, remove migrate plugins
Rajesh Taneja [Tue, 19 Jul 2016 01:23:44 +0000 (09:23 +0800)]
MDL-55258 behat: Set focus on button before clicking it
Set the focus on button to ensure it is in
viewport before clicking on it.
Eloy Lafuente (stronk7) [Tue, 19 Jul 2016 00:31:24 +0000 (02:31 +0200)]
Merge branch 'MDL-51410_m32v2' of https://github.com/sbourget/moodle
Eloy Lafuente (stronk7) [Tue, 19 Jul 2016 00:26:58 +0000 (02:26 +0200)]
Merge branch 'MDL-55207-configiplist-errors' of https://github.com/brendanheywood/moodle
Eloy Lafuente (stronk7) [Tue, 19 Jul 2016 00:09:17 +0000 (02:09 +0200)]
Merge branch 'wip-mdl-55111' of https://github.com/rajeshtaneja/moodle
David Monllao [Mon, 18 Jul 2016 23:48:28 +0000 (01:48 +0200)]
Merge branch 'MDL-55173-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 18 Jul 2016 23:19:13 +0000 (01:19 +0200)]
Merge branch 'MDL-54943-master' of git://github.com/jleyva/moodle
Conflicts:
version.php
David Monllao [Mon, 18 Jul 2016 22:50:41 +0000 (00:50 +0200)]
Merge branch 'MDL-55158_m32v3' of https://github.com/sbourget/moodle
Stephen Bourget [Mon, 18 Jul 2016 22:35:37 +0000 (18:35 -0400)]
MDL-55158 mod_data: Add calendar events for database activities
David Monllao [Mon, 18 Jul 2016 18:50:47 +0000 (20:50 +0200)]
Merge branch 'wip-MDL-55126-master' of git://github.com/abgreeve/moodle
Conflicts:
lib/upgrade.txt
David Monllao [Mon, 18 Jul 2016 18:41:07 +0000 (20:41 +0200)]
Merge branch 'MDL-55200_master'
Steffen Pegenau [Mon, 18 Jul 2016 09:42:30 +0000 (11:42 +0200)]
MDL-55200 question type ddmarker: Display coordinates on image
To make the creation of dropzones easier, the mouse coordinates are shown.
David Monllao [Mon, 18 Jul 2016 18:35:50 +0000 (20:35 +0200)]
Merge branch 'MDL-55162-master' of git://github.com/jleyva/moodle
Conflicts:
mod/assign/externallib.php
David Monllao [Mon, 18 Jul 2016 18:00:18 +0000 (20:00 +0200)]
Merge branch 'MDL-55161-m' of https://github.com/micaherne/moodle
David Monllao [Mon, 18 Jul 2016 17:42:46 +0000 (19:42 +0200)]
Merge branch 'MDL-55163-master' of git://github.com/jleyva/moodle
Dan Poltawski [Mon, 18 Jul 2016 14:06:22 +0000 (15:06 +0100)]
Merge branch 'MDL-14448_m32v1' of https://github.com/sbourget/moodle
Dan Poltawski [Mon, 18 Jul 2016 13:49:48 +0000 (14:49 +0100)]
Merge branch 'wip-mdl-55174' of https://github.com/rajeshtaneja/moodle
Dan Poltawski [Mon, 18 Jul 2016 13:21:03 +0000 (14:21 +0100)]
Merge branch 'MDL-55190-master' of git://github.com/merrill-oakland/moodle
Dan Poltawski [Mon, 18 Jul 2016 12:55:50 +0000 (13:55 +0100)]
Merge branch 'MDL-55012-master' of git://github.com/damyon/moodle
Dan Poltawski [Mon, 18 Jul 2016 12:38:36 +0000 (13:38 +0100)]
Merge branch 'MDL-54963_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Mon, 18 Jul 2016 12:27:48 +0000 (13:27 +0100)]
Merge branch 'wip-mdl-54977' of https://github.com/rajeshtaneja/moodle
Dan Poltawski [Mon, 18 Jul 2016 09:51:06 +0000 (10:51 +0100)]
Merge branch 'MDL-55240-master' of git://github.com/junpataleta/moodle
Dan Poltawski [Mon, 18 Jul 2016 08:17:53 +0000 (09:17 +0100)]
Merge branch 'MDL-54915-master' of git://github.com/andrewnicols/moodle
Rajesh Taneja [Fri, 15 Jul 2016 06:18:43 +0000 (14:18 +0800)]
MDL-55174 core_tests: Use proper itemid while creating file
Andrew Nicols [Wed, 14 Oct 2015 04:20:46 +0000 (12:20 +0800)]
MDL-51758 libraries: Remove password_compat library from core
Andrew Nicols [Sun, 10 Jul 2016 23:50:56 +0000 (07:50 +0800)]
MDL-55173 mod_forum: Perform final deprecations
Andrew Nicols [Mon, 11 Jul 2016 07:46:49 +0000 (15:46 +0800)]
MDL-54915 core: JS Blocks must not used shared variables
The JS blocks in a template must _not_ use a shared variable as they can be
executed asynchronously and complete in any order.
Instead it is stored in the only local variable available - the current
context.
Since the context can be passed in from elsewhere, we namespace it to
reduce the chance of collission.
AMOS bot [Fri, 15 Jul 2016 16:05:30 +0000 (00:05 +0800)]
Automatically generated installer lang files
Jun Pataleta [Fri, 15 Jul 2016 06:44:35 +0000 (14:44 +0800)]
MDL-55206 admin: Some code cleanup
* Removed unnecessary TODOs.
* Changed message prompt case to sentence case.
Jun Pataleta [Fri, 15 Jul 2016 06:40:54 +0000 (14:40 +0800)]
MDL-55206 admin: Remove div tags in password policy error message
Brendan Heywood [Wed, 13 Jul 2016 04:50:53 +0000 (14:50 +1000)]
MDL-55207 adminlib: Improve help and validation errors for configiplist
Rajesh Taneja [Fri, 15 Jul 2016 05:51:33 +0000 (13:51 +0800)]
MDL-55174 core_testing: Use proper directory separator
While searching for existing files if directory
separator is not correct then original files
and directories will be deleted. So use DIRECTORY_SEPARATOR.
Damyon Wiese [Sun, 26 Jun 2016 00:20:54 +0000 (17:20 -0700)]
MDL-55012 Atto: no style attrs on paste
Specifically on paste - we don't need all the random style attributes
from content on the clipboard. When you copy from a webpage - the browser
inlines all the styles from the page so that the pasted content will look
like the place it was copied from. But this is never what you want - you
want the content on paste, but with no special styling.
Jun Pataleta [Fri, 15 Jul 2016 02:06:51 +0000 (10:06 +0800)]
MDL-55240 editpdf: Revert changes in MDL-54772
* Revert rendering of annotations and comments back to the
drawing region.
* Bind events to stamp annotation when editing only.
Anant [Tue, 12 Jul 2016 23:32:43 +0000 (16:32 -0700)]
MDL-55141 task: Add CLI debugging for tasks
Serge Gauthier [Thu, 7 Jul 2016 18:32:23 +0000 (14:32 -0400)]
MDL-31356 enrol_imsenterprise: Continue development for added features
* Add the possibility to make it works as before (with categrory name or idnumber).
* Add possibility to specify nested categories by name or idnumber.
* Fix error in core_course_courselib_testcase::test_course_created_event because dependency with imsenterprise
Serge Gauthier [Wed, 1 Jun 2016 18:10:47 +0000 (14:10 -0400)]
MDL-31356 enrol_imsenterprise: merge with moodle3.2
Dan Poltawski [Fri, 27 Sep 2013 06:41:18 +0000 (14:41 +0800)]
MDL-31356 enrol_imsenterprise: add additional test coverage
Dan Poltawski [Fri, 27 Sep 2013 03:44:35 +0000 (11:44 +0800)]
MDL-31356 enrol_imsenterprise: Fix behaviour with course idnumber
When not set we shouldn't throw a warning
Brian Biggs [Tue, 24 Sep 2013 03:43:37 +0000 (11:43 +0800)]
MDL-31356 enrol_imsenterprise: New Features
* Feature 1: Allow nested categories when creating courses.
* Feature 2: Allow updates to course Full Name and Short Name.
* Feature 3: Allow setting authentication type for users.
* Feature 4: Allow updates to users.
Also added tests and updated course update routines so it doesn't
muck with DB directly.
David Monllao [Thu, 14 Jul 2016 09:28:40 +0000 (11:28 +0200)]
weekly release 3.2dev
David Monllao [Thu, 14 Jul 2016 09:28:37 +0000 (11:28 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Juan Leyva [Thu, 14 Jul 2016 08:10:07 +0000 (09:10 +0100)]
MDL-55220 forum: Add string filtering in WS
The following external functions now filter the discussion and post
name and subject.
- get_forum_discussions_paginated
- get_forum_discussion_posts
Stephen Bourget [Wed, 13 Jul 2016 23:10:06 +0000 (19:10 -0400)]
MDL-14448 mod_lesson: Add view permissions
Eric Merrill [Wed, 13 Jul 2016 10:05:33 +0000 (06:05 -0400)]
MDL-55190 search: Limit search to non-files if disabled
Michael Aherne [Fri, 8 Jul 2016 09:48:00 +0000 (10:48 +0100)]
MDL-55161 assign: Check for existence of gradebook feedback plugin
Adrian Greeve [Wed, 13 Jul 2016 05:57:59 +0000 (13:57 +0800)]
MDL-55126 files: Deprecate get_records_csv and put_records_csv.
Initial deprecation of the above functions.
JD [Tue, 12 Jul 2016 23:45:08 +0000 (19:45 -0400)]
MDL-54977 blocks_navigation: Use html_writer::random_id for id
uniqid() may returns the same id for faster machines (seen on iis)
so use html_writer::random_id(), to ensure id is different and
navigation don't break
Andrew Nicols [Wed, 13 Jul 2016 04:07:36 +0000 (12:07 +0800)]
Merge branch 'MDL-47371-master-fix' of git://github.com/cameron1729/moodle
Cameron Ball [Wed, 13 Jul 2016 02:24:58 +0000 (10:24 +0800)]
MDL-47371 mod_book: Fix out of scope $unescapedtitle
Damyon Wiese [Tue, 12 Jul 2016 08:44:23 +0000 (16:44 +0800)]
MDL-52544 oracle: Apply upstream pull request to AdoDB oracle driver
Upstream: https://github.com/ADOdb/ADOdb/pull/259
Prevent segfault with ocipo driver on php7.
The OCIFetchinto function is causing segfaults on php7 - probably because the fields array
is not initialised or it is optimised out. This fixes just changes to use the safer function
oci_fetch_array instead.
Stephen Bourget [Wed, 13 Jul 2016 00:07:35 +0000 (20:07 -0400)]
MDL-51410 mod_survey: fix notifications when saving analysis
Eloy Lafuente (stronk7) [Tue, 12 Jul 2016 22:09:08 +0000 (00:09 +0200)]
Merge branch 'MDL-55083_master' of https://github.com/tunele/moodle
tunele [Fri, 1 Jul 2016 10:43:20 +0000 (12:43 +0200)]
MDL-55083 admin: provide friendly error in case phpxml is missing
Eloy Lafuente (stronk7) [Tue, 12 Jul 2016 19:01:02 +0000 (21:01 +0200)]
Merge branch 'MDL-54629-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 12 Jul 2016 16:14:17 +0000 (18:14 +0200)]
Merge branch 'MDL-54671-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Tue, 12 Jul 2016 16:05:32 +0000 (18:05 +0200)]
MDL-53803 mod_choice: fix trailing whitespace
Eloy Lafuente (stronk7) [Tue, 12 Jul 2016 16:03:08 +0000 (18:03 +0200)]
Merge branch 'MDL-53803_m32v1' of https://github.com/sbourget/moodle
Eloy Lafuente (stronk7) [Tue, 12 Jul 2016 15:51:36 +0000 (17:51 +0200)]
Merge branch 'MDL-54892-master' of https://github.com/tobiasreischmann/moodle
Eloy Lafuente (stronk7) [Tue, 12 Jul 2016 13:58:59 +0000 (15:58 +0200)]
Merge branch 'MDL-11369_m32v2' of https://github.com/sbourget/moodle
Eloy Lafuente (stronk7) [Tue, 12 Jul 2016 13:48:13 +0000 (15:48 +0200)]
Merge branch 'MDL-55136_dataobject' of git://github.com/davosmith/moodle
Juan Leyva [Fri, 8 Jul 2016 11:52:26 +0000 (12:52 +0100)]
MDL-55162 mod_assign: Refactor to use new validate_assign helper
Juan Leyva [Fri, 8 Jul 2016 11:51:41 +0000 (12:51 +0100)]
MDL-55162 mod_assign: New WS mod_assign_view_assign
David Monllao [Tue, 12 Jul 2016 12:53:32 +0000 (14:53 +0200)]
Merge branch 'MDL-54771-master' of git://github.com/cameron1729/moodle
Eloy Lafuente (stronk7) [Tue, 12 Jul 2016 11:26:46 +0000 (13:26 +0200)]
MDL-37250 mod_lesson: Move conditions to queries for better performance
While this ony seems to affect MySQL, better put the filter/conditions
on every query so the temporary view/table does not need to handle
thousands of potentially unrelated records.
Eloy Lafuente (stronk7) [Tue, 12 Jul 2016 10:20:53 +0000 (12:20 +0200)]
Merge branch 'wip-MDL-37250-master' of git://github.com/abgreeve/moodle
David Monllao [Tue, 12 Jul 2016 11:16:27 +0000 (13:16 +0200)]
Merge branch 'MDL-55133-master' of git://github.com/damyon/moodle
David Monllao [Tue, 12 Jul 2016 11:03:19 +0000 (13:03 +0200)]
Merge branch 'wip-MDL-55107-master' of git://github.com/abgreeve/moodle
David Monllao [Tue, 12 Jul 2016 10:20:35 +0000 (12:20 +0200)]
Merge branch 'MDL-55048-master' of git://github.com/danpoltawski/moodle
Dan Poltawski [Tue, 12 Jul 2016 09:38:56 +0000 (10:38 +0100)]
Merge branch 'MDL-54891-master' of git://github.com/ryanwyllie/moodle
Dan Poltawski [Tue, 12 Jul 2016 09:15:57 +0000 (10:15 +0100)]
Merge branch 'MDL-47371-master' of git://github.com/cameron1729/moodle
Damyon Wiese [Thu, 7 Jul 2016 03:26:31 +0000 (11:26 +0800)]
MDL-52544 oracle: php7 fixes for oci driver
These are our bugs actually - the oci docs are very clear that bound
params should be in-scope when oci_execute is called - and due to pass by value etc,
this was not true for our driver.
There is another bug that needed fixing - OCI barfs if null values are bound - this
can be avoided by setting them to '' which oci treats as null.
And finally - all our lob/clob/blob hacks were also binding to local "out-of-scope" vars.
David Monllao [Tue, 12 Jul 2016 08:30:31 +0000 (10:30 +0200)]
Merge branch 'MDL-55170_master' of https://github.com/nadavkav/moodle
Conflicts:
theme/bootstrapbase/style/moodle.css