Jun Pataleta [Mon, 16 Jan 2017 08:02:36 +0000 (16:02 +0800)]
MDL-57660 mod_forum: Preserve forum ID selection after form submission
Eloy Lafuente (stronk7) [Thu, 26 Jan 2017 23:27:34 +0000 (00:27 +0100)]
weekly release 3.3dev
Eloy Lafuente (stronk7) [Thu, 26 Jan 2017 23:27:30 +0000 (00:27 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Dan Poltawski [Thu, 26 Jan 2017 10:45:03 +0000 (10:45 +0000)]
MDL-57690 js: fix core modal uses in amd
Converting the uses to the AMD modules is a bit risky for now, instead
just require the YUI depdency.
Dan Poltawski [Thu, 26 Jan 2017 08:52:50 +0000 (08:52 +0000)]
MDL-57690 js: fix missing requirement before using M.core.dialogue
Andrew Nicols [Wed, 25 Jan 2017 06:04:47 +0000 (14:04 +0800)]
MDL-57550 mod_forum: Set dates to initial checkbox state
Andrew Nicols [Wed, 25 Jan 2017 05:16:25 +0000 (13:16 +0800)]
MDL-57273 report_competency: Use correct getters
Damyon Wiese [Wed, 25 Jan 2017 03:14:00 +0000 (11:14 +0800)]
MDL-57273 persistent: Remove use of helper as getter
get('blah') are for properties
get_blah() are for helpers
Andrew Nicols [Wed, 25 Jan 2017 00:48:27 +0000 (08:48 +0800)]
Merge branch 'MDL-57273-master' of git://github.com/damyon/moodle
wehr [Sat, 14 Jan 2017 20:02:49 +0000 (21:02 +0100)]
MDL-57655 session: Adds igbinary serializer to Redis session handler
Eloy Lafuente (stronk7) [Tue, 24 Jan 2017 21:03:48 +0000 (22:03 +0100)]
Merge branch 'MDL-55915_master' of https://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Tue, 24 Jan 2017 19:22:44 +0000 (20:22 +0100)]
Merge branch 'MDL-57690-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Tue, 24 Jan 2017 18:05:51 +0000 (19:05 +0100)]
Merge branch 'MDL-49423-master' of git://github.com/jleyva/moodle
AMOS bot [Tue, 24 Jan 2017 16:04:31 +0000 (00:04 +0800)]
Automatically generated installer lang files
Dan Poltawski [Tue, 24 Jan 2017 10:11:30 +0000 (10:11 +0000)]
Merge branch 'MDL-57639-master' of git://github.com/andrewnicols/moodle
Dan Poltawski [Tue, 24 Jan 2017 09:38:14 +0000 (09:38 +0000)]
Merge branch 'MDL-57667-master' of https://github.com/snake/moodle
Dan Poltawski [Tue, 24 Jan 2017 09:15:59 +0000 (09:15 +0000)]
Merge branch 'MDL-50539-master' of git://github.com/jleyva/moodle
Dan Poltawski [Tue, 24 Jan 2017 09:15:50 +0000 (09:15 +0000)]
Merge branch 'MDL-50545-master' of git://github.com/jleyva/moodle
Dan Poltawski [Tue, 24 Jan 2017 09:01:59 +0000 (09:01 +0000)]
Merge branch 'MDL-56449_assign_groups' of git://github.com/davosmith/moodle
Damyon Wiese [Tue, 24 Jan 2017 07:25:54 +0000 (15:25 +0800)]
MDL-57273 persistent: Dont allow set and get for helpers
Helper methods (ie custom methods on a persistent) should not be callable via set() or get() even
if they start with set_ or get_. They are not the same as custom getters and setters for real persistent
properties.
Damyon Wiese [Mon, 23 Jan 2017 07:24:08 +0000 (15:24 +0800)]
MDL-57273 persistent: Some more magic __call conversions
I missed all the entry pages when converting from set_abc() and get_abc() to set('abc', ) and get('abc').
Also fixed a wrong namespace for core_competency\external\performance_helper
Andrew Nicols [Tue, 24 Jan 2017 06:57:53 +0000 (14:57 +0800)]
Merge branch 'MDL-57550-master' of git://github.com/danpoltawski/moodle
Andrew Nicols [Tue, 24 Jan 2017 05:26:47 +0000 (13:26 +0800)]
Merge branch 'MDL-50547-master' of git://github.com/jleyva/moodle
Andrew Nicols [Tue, 24 Jan 2017 05:01:45 +0000 (13:01 +0800)]
Merge branch 'MDL-57408-master' of git://github.com/jleyva/moodle
Andrew Nicols [Tue, 24 Jan 2017 00:47:54 +0000 (08:47 +0800)]
Merge branch 'master_MDL-46782' of git://github.com/danmarsden/moodle
Dan Marsden [Tue, 24 Jan 2017 00:05:50 +0000 (13:05 +1300)]
MDL-46782 mod_scorm: fix completion test, remove redundant test.
Dan Poltawski [Mon, 23 Jan 2017 16:21:02 +0000 (16:21 +0000)]
Merge branch 'wip_master_mdl-50625_ldap_better_check_paged_results_support' of https://github.com/iarenaza/moodle
Dan Poltawski [Mon, 23 Jan 2017 15:39:55 +0000 (15:39 +0000)]
Merge branch 'wip-MDL-57511-master' of git://github.com/Beedell/moodle
Dan Poltawski [Mon, 23 Jan 2017 12:24:10 +0000 (12:24 +0000)]
Merge branch 'MDL-57415_m33v1' of https://github.com/sbourget/moodle
Dan Poltawski [Mon, 23 Jan 2017 12:19:22 +0000 (12:19 +0000)]
Merge branch 'MDL-57287-master' of git://github.com/snake/moodle
Dan Poltawski [Mon, 23 Jan 2017 12:05:32 +0000 (12:05 +0000)]
Merge branch 'mdl57668-master' of https://github.com/tlock/moodle
Dan Poltawski [Mon, 23 Jan 2017 11:59:11 +0000 (11:59 +0000)]
Merge branch 'wip-mdl-57700' of https://github.com/rajeshtaneja/moodle
Dan Poltawski [Mon, 23 Jan 2017 09:48:11 +0000 (09:48 +0000)]
Merge branch 'MDL-57677-master-usermodified' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Fri, 30 Dec 2016 09:01:19 +0000 (09:01 +0000)]
MDL-57550 forum: fix template validation issues
* Add some missing example contexts
* Stop using obsolete cell attributes
Dan Poltawski [Thu, 29 Dec 2016 19:35:22 +0000 (19:35 +0000)]
MDL-57550 forum: remove legacy js file
Dan Poltawski [Thu, 29 Dec 2016 19:32:57 +0000 (19:32 +0000)]
MDL-57550 forum: remove legacy forum.js uses
The search form options can be achieved in jquery rather than using
global js function/vars.
forum_get_subscribe_link legacylink had not been useful for some time
Dan Poltawski [Mon, 23 Jan 2017 09:28:32 +0000 (09:28 +0000)]
Merge branch 'master_MDL-46782' of git://github.com/danmarsden/moodle
Dan Poltawski [Mon, 23 Jan 2017 09:26:57 +0000 (09:26 +0000)]
Merge branch 'MDL-57737-master' of git://github.com/crazyserver/moodle
Damyon Wiese [Mon, 23 Jan 2017 06:18:04 +0000 (14:18 +0800)]
MDL-57273 persistent: Fix access to set/get in test
The setters and getters for the path property in the test class need to be protected.
Damyon Wiese [Mon, 23 Jan 2017 03:58:59 +0000 (11:58 +0800)]
MDL-57273 persistent: Improved style
Use \blah::class instead of '\\blah' in define_class functions.
Allow chaining of setters by returning $this.
Juan Leyva [Fri, 30 Dec 2016 17:11:50 +0000 (18:11 +0100)]
MDL-49423 tool_mobile: New setting for disabling features
Juan Leyva [Fri, 30 Dec 2016 13:00:40 +0000 (14:00 +0100)]
MDL-49423 admin: Support optgroup in admin_setting_configmultiselect
Juan Leyva [Thu, 29 Dec 2016 12:06:13 +0000 (13:06 +0100)]
MDL-49423 admin: Support optgroup in admin_setting_configselect
Pau Ferrer Ocaña [Fri, 20 Jan 2017 11:57:36 +0000 (12:57 +0100)]
MDL-57737 glossary: Add entry description accepts HTML
Shamim Rezaie [Fri, 20 Jan 2017 09:30:38 +0000 (20:30 +1100)]
MDL-55915 enrol_manual: let fullname()know if user has viewfullnames cap
fullname() relies on its second parameter to determine wheter it should use fullnamedisplay or alternativefullnameformat.
We need to check for moodle/site:viewfullnames capability and pass true as the second parameter to fullname() whereever
the user has this capability.
Shamim Rezaie [Fri, 20 Jan 2017 09:30:09 +0000 (20:30 +1100)]
MDL-55915 core_user: let fullname() know if user has viewfullnames cap
Added $viewfullnames property to the user_selector_base class so anyone using a child class of this class can
let it know if user has viewfullnames capability or not.
Shamim Rezaie [Fri, 20 Jan 2017 09:29:39 +0000 (20:29 +1100)]
MDL-55915 Gradebook: let fullname() know if user has viewfullnames cap
Instruct fullname() to format names on the gradebook grader report with alternativefullnameformat when user
has moodle/site:viewfullnames capability.
Juan Leyva [Wed, 28 Dec 2016 14:19:18 +0000 (15:19 +0100)]
MDL-57408 tool_mobile: New setting for renaming app strings
Shamim Rezaie [Fri, 20 Jan 2017 09:28:57 +0000 (20:28 +1100)]
MDL-55915 mod_assign: let fullname() know if user has viewfullnames cap
Instruct fullname() to format names on the assignment grading page with alternativefullnameformat when user
has moodle/site:viewfullnames capability.
Juan Leyva [Tue, 3 Jan 2017 11:59:05 +0000 (12:59 +0100)]
MDL-50547 mod_resource: New WS mod_resource_get_resources_by_courses
Damyon Wiese [Fri, 20 Jan 2017 04:53:26 +0000 (12:53 +0800)]
MDL-57273 persistent: protected custom getters
(and setters).
Damyon Wiese [Tue, 17 Jan 2017 08:25:14 +0000 (16:25 +0800)]
MDL-57273 core: Remove magic setters and getters
Remove the magic getters and setters from persistent. They are deprecated only in the persistent
class for competencies.
Frederic Massart [Wed, 28 Dec 2016 03:23:05 +0000 (11:23 +0800)]
MDL-57273 core: Using $renamedclasses for deprecated classes
Frederic Massart [Tue, 20 Dec 2016 03:24:43 +0000 (11:24 +0800)]
MDL-57273 exporter: Clarify why contextname needs to be PARAM_RAW
Frederic Massart [Tue, 20 Dec 2016 03:19:51 +0000 (11:19 +0800)]
MDL-57273 form: Persistent form automatically setType on some fields
Frederic Massart [Fri, 16 Dec 2016 04:21:56 +0000 (12:21 +0800)]
MDL-57273 core: Migrating the persistent form class to core
Frederic Massart [Thu, 15 Dec 2016 10:03:40 +0000 (18:03 +0800)]
MDL-57273 core: Exporters support custom formatting parameters
Frederic Massart [Thu, 8 Dec 2016 06:00:10 +0000 (14:00 +0800)]
MDL-57273 core_competency: Fatal error in external update_plan
Frederic Massart [Fri, 9 Dec 2016 08:08:36 +0000 (16:08 +0800)]
MDL-57273 core: Migrating some exporters from tool_lp & core_competency
Frederic Massart [Thu, 8 Dec 2016 09:11:12 +0000 (17:11 +0800)]
MDL-57273 core: Added a performance helper to use with exporters
Frederic Massart [Thu, 8 Dec 2016 07:57:15 +0000 (15:57 +0800)]
MDL-57273 core: Migrating core_competency exporters into core
Frederic Massart [Mon, 5 Dec 2016 06:44:57 +0000 (14:44 +0800)]
MDL-57273 core: Migrating persistent from core_competency into core
Rajesh Taneja [Fri, 20 Jan 2017 03:01:50 +0000 (11:01 +0800)]
MDL-57700 behat: Updated behat to 3.3.0 and fixed exception
Jake Dallimore [Tue, 17 Jan 2017 00:11:13 +0000 (08:11 +0800)]
MDL-57667 theme: change base layout for boost to columns2
Ensures capability errors are displayed on a page with full navigation.
AMOS bot [Thu, 19 Jan 2017 16:06:58 +0000 (00:06 +0800)]
Automatically generated installer lang files
John Beedell [Thu, 5 Jan 2017 14:34:41 +0000 (14:34 +0000)]
MDL-57511 Quiz: Attempts report shows non-unique debugging
Iñaki Arenaza [Sat, 6 Aug 2016 19:14:48 +0000 (21:14 +0200)]
MDL-50625 auth_ldap: Better check for paged results support
There is at least one LDAP server (Sun Directory Server) that doesn't
support Paged Results extension, even if it supports LDAP version 3. So
checking just for LDAP version is not enough.
If possible, we check the supportedControl attribute of the LDAP rootDSE
and see if the paged results control is available. This needs an LDAP
connection, which might not be possible to establish before we configure
some essential LDAP settings (server, bind user, password, etc.). Thus
we try to establish the connection and check the supportedControl
attribute. But if we fail, we perform only basic checks that are less
accurate and err on the side of cautiousness.
Dan Poltawski [Wed, 18 Jan 2017 12:38:22 +0000 (12:38 +0000)]
MDL-57690 yui: remove the mcore rollup
This was is pre-loading some modules which are not used in boost:
* Block docking
* Popup Help
The other pre-loaded requirements were used for YUI dialogues and
modals. With time we are moving away from these, so rather than
'pre-loading' we can let the yui loader do its job.
Dan Poltawski [Wed, 18 Jan 2017 12:36:50 +0000 (12:36 +0000)]
MDL-57690 output: stop requiring moodle-core-popuphelp on every page
In boost we are not longer using this module, so lets limit it to
bootstrapbase only
Andrew Nicols [Thu, 19 Jan 2017 05:43:50 +0000 (13:43 +0800)]
MDL-57639 mod_forum: Removed unused $forum param from tp function
Andrew Nicols [Thu, 19 Jan 2017 04:17:46 +0000 (12:17 +0800)]
weekly release 3.3dev
Andrew Nicols [Thu, 19 Jan 2017 04:17:44 +0000 (12:17 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Andrew Nicols [Wed, 18 Jan 2017 23:56:27 +0000 (07:56 +0800)]
MDL-57613 enrol_lti: Correct location of upgrade step
Tim Lock [Tue, 17 Jan 2017 01:50:26 +0000 (12:20 +1030)]
MDL-57668 mod_assign: Fix optional_param() form processing
Eloy Lafuente (stronk7) [Wed, 18 Jan 2017 18:23:59 +0000 (19:23 +0100)]
MDL-57570 static store: Basic serialize tests with igbinary
This unit test is not really verifying that internally igbinary
in being used but just igbinary availability and, by double
serializing, that it works for a semi-complex object.
The test will be skipped if igbinary is not available.
Stephen Bourget [Wed, 18 Jan 2017 15:35:11 +0000 (10:35 -0500)]
MDL-57415 user: Add missing bootstrap classes to participants page
Dan Marsden [Tue, 20 Dec 2016 09:56:50 +0000 (22:56 +1300)]
MDL-46782 mod_scorm: Load first incomplete sco on re-entry.
Andrew Nicols [Wed, 18 Jan 2017 08:00:06 +0000 (16:00 +0800)]
Merge branch 'MDL-57604-master' of git://github.com/danpoltawski/moodle
Dan Poltawski [Wed, 18 Jan 2017 07:42:52 +0000 (07:42 +0000)]
MDL-57604 mod_assign: fix empty case in user selector
Sadly the js arguments object gives an arguments.length of 1 when
no arguments are passed, so we have to explicitly check for it.
Andrew Nicols [Wed, 18 Jan 2017 04:51:59 +0000 (12:51 +0800)]
Merge branch 'wip-mdl-45821' of https://github.com/rajeshtaneja/moodle
Rajesh Taneja [Wed, 18 Jan 2017 04:46:11 +0000 (12:46 +0800)]
MDL-45821 behat: navigate back to scorm to avoid scroll
On Exiting scrom activity, it goes back to course
and scrolls to section. On slow machines next step
fails. To avoid such case navigate to home screen
and then follow next step.
Andrew Nicols [Wed, 18 Jan 2017 04:36:45 +0000 (12:36 +0800)]
Merge branch 'MDL-57634-m' of https://github.com/micaherne/moodle
Andrew Nicols [Wed, 18 Jan 2017 04:09:20 +0000 (12:09 +0800)]
Merge branch 'MDL-57490-master' of git://github.com/danpoltawski/moodle
Andrew Nicols [Wed, 18 Jan 2017 00:36:58 +0000 (08:36 +0800)]
Merge branch 'wip_MDL-57590_master_forum_search' of https://github.com/mchurchward/moodle
Eloy Lafuente (stronk7) [Wed, 18 Jan 2017 00:27:36 +0000 (01:27 +0100)]
Merge branch 'MDL-57570-master' of https://github.com/mwehr/moodle
Eloy Lafuente (stronk7) [Tue, 17 Jan 2017 23:16:53 +0000 (00:16 +0100)]
Merge branch 'MDL-57604-master' of git://github.com/danpoltawski/moodle
Andrew Nicols [Tue, 17 Jan 2017 23:46:02 +0000 (07:46 +0800)]
Merge branch 'MDL-42266_m33v2' of https://github.com/sbourget/moodle
Eloy Lafuente (stronk7) [Tue, 17 Jan 2017 23:00:13 +0000 (00:00 +0100)]
Merge branch 'MDL-57488-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Tue, 17 Jan 2017 19:55:05 +0000 (20:55 +0100)]
Merge branch 'MDL-57629-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 17 Jan 2017 19:52:04 +0000 (20:52 +0100)]
Merge branch 'MDL-57409-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 17 Jan 2017 19:40:48 +0000 (20:40 +0100)]
Merge branch 'wip-MDL-57608-master-3' of git://github.com/marinaglancy/moodle
David Mudrák [Tue, 17 Jan 2017 18:27:57 +0000 (19:27 +0100)]
MDL-57677 mod_forum: Fix wrong user displayed as the last post's author
In the recent issue MDL-56225, we started to record the current user as
the usermodified in the forum_discussions table when updating a forum
post. It made sense but it was a mistake.
Even if the current user really modifies the discussion by updating the
post, the field usermodified has actually been always interpreted and
displayed as the last post' author. Not as the last user who touched the
discussion.
This patch reverts that particular change to the previous behaviour and
adds explicit unit test for it.
AMOS bot [Tue, 17 Jan 2017 16:07:09 +0000 (00:07 +0800)]
Automatically generated installer lang files
Dan Poltawski [Tue, 17 Jan 2017 10:28:31 +0000 (10:28 +0000)]
Merge branch 'wip-mdl-57669-m' of https://github.com/rajeshtaneja/moodle
Dan Poltawski [Tue, 17 Jan 2017 10:20:08 +0000 (10:20 +0000)]
Merge branch 'MDL-57515-master' of https://github.com/sammarshallou/moodle
Dan Poltawski [Tue, 17 Jan 2017 07:32:38 +0000 (07:32 +0000)]
Merge branch 'MDL-50542-master' of git://github.com/jleyva/moodle
Dan Poltawski [Tue, 17 Jan 2017 06:52:07 +0000 (06:52 +0000)]
Merge branch 'MDL-50549-master' of git://github.com/jleyva/moodle
Jake Dallimore [Tue, 17 Jan 2017 05:13:08 +0000 (13:13 +0800)]
MDL-57287 themes: fix buttons in default dashboard page header
This fix modifies styling for pages having no navbar, such as the
dashboard, site home and default dashboard pages and fixes an overlap
problem with the buttons and context header.
Rajesh Taneja [Tue, 17 Jan 2017 02:30:45 +0000 (10:30 +0800)]
MDL-57669 behat: Exit with error code if step undefined
Dan Poltawski [Mon, 16 Jan 2017 16:20:05 +0000 (16:20 +0000)]
Merge branch 'MDL-57368-master-2' of https://github.com/snake/moodle