moodle.git
4 years agoMerge branch 'MDL-56532-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Mon, 24 Oct 2016 18:05:03 +0000 (20:05 +0200)]
Merge branch 'MDL-56532-master' of git://github.com/andrewnicols/moodle

4 years agoMerge branch 'MDL-56538-master' of git://github.com/crazyserver/moodle
Dan Poltawski [Mon, 24 Oct 2016 14:50:55 +0000 (15:50 +0100)]
Merge branch 'MDL-56538-master' of git://github.com/crazyserver/moodle

4 years agoMerge branch 'MDL-56531-master' of git://github.com/andrewnicols/moodle
Dan Poltawski [Mon, 24 Oct 2016 14:43:27 +0000 (15:43 +0100)]
Merge branch 'MDL-56531-master' of git://github.com/andrewnicols/moodle

4 years agoMerge branch 'wip-MDL-56439-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Mon, 24 Oct 2016 13:33:53 +0000 (14:33 +0100)]
Merge branch 'wip-MDL-56439-master' of git://github.com/marinaglancy/moodle

4 years agoMDL-56532 tool_usertours: Improve help for step editing
Andrew Nicols [Fri, 21 Oct 2016 06:40:52 +0000 (14:40 +0800)]
MDL-56532 tool_usertours: Improve help for step editing

4 years agoMDL-56531 tool_usertours: Run step title/content through filters
Andrew Nicols [Fri, 21 Oct 2016 05:23:18 +0000 (13:23 +0800)]
MDL-56531 tool_usertours: Run step title/content through filters

4 years agoMDL-56213 theme_boost: Visual inconsistencies in backup/restore
Frédéric Massart [Mon, 3 Oct 2016 13:09:45 +0000 (15:09 +0200)]
MDL-56213 theme_boost: Visual inconsistencies in backup/restore

* Some additional SCSS rules were added to be more visually pleasing
* Javascript had to be tweaked as targets were too specific

4 years agoMerge branch 'MDL-56350-master' of git://github.com/andrewnicols/moodle
Dan Poltawski [Mon, 24 Oct 2016 08:17:52 +0000 (09:17 +0100)]
Merge branch 'MDL-56350-master' of git://github.com/andrewnicols/moodle

4 years agoMerge branch 'MDL-56516-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 24 Oct 2016 07:41:34 +0000 (15:41 +0800)]
Merge branch 'MDL-56516-master' of git://github.com/andrewnicols/moodle

4 years agoMerge branch 'mdl56466-master' of https://github.com/tlock/moodle
David Monllao [Mon, 24 Oct 2016 07:23:51 +0000 (15:23 +0800)]
Merge branch 'mdl56466-master' of https://github.com/tlock/moodle

4 years agoMerge branch 'MDL-55981-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 24 Oct 2016 06:06:17 +0000 (14:06 +0800)]
Merge branch 'MDL-55981-master' of git://github.com/andrewnicols/moodle

4 years agoMDL-55981 core: Correct availability tests to use editingteacher
Andrew Nicols [Mon, 24 Oct 2016 05:59:28 +0000 (13:59 +0800)]
MDL-55981 core: Correct availability tests to use editingteacher

4 years agoMerge branch 'MDL-56321-master' of git://github.com/damyon/moodle
Andrew Nicols [Mon, 24 Oct 2016 05:29:31 +0000 (13:29 +0800)]
Merge branch 'MDL-56321-master' of git://github.com/damyon/moodle

4 years agoMerge branch 'MDL-55981-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 24 Oct 2016 05:20:42 +0000 (13:20 +0800)]
Merge branch 'MDL-55981-master' of git://github.com/andrewnicols/moodle

4 years agoMDL-55074 theme_boost: Deleting old file
David Monllao [Mon, 24 Oct 2016 05:11:38 +0000 (13:11 +0800)]
MDL-55074 theme_boost: Deleting old file

4 years agoMDL-55074 boost: Fixing issues reported by stylelint
David Monllao [Mon, 24 Oct 2016 04:40:40 +0000 (12:40 +0800)]
MDL-55074 boost: Fixing issues reported by stylelint

4 years agoMerge branch 'MDL-55074-master' of git://github.com/damyon/moodle
David Monllao [Mon, 24 Oct 2016 04:33:51 +0000 (12:33 +0800)]
Merge branch 'MDL-55074-master' of git://github.com/damyon/moodle

4 years agoMDL-56321 theme_boost: Remove extra styling from context_header
Damyon Wiese [Mon, 24 Oct 2016 03:36:01 +0000 (11:36 +0800)]
MDL-56321 theme_boost: Remove extra styling from context_header

4 years agoMDL-56321 theme_boost: Profile page adjustments
Frédéric Massart [Fri, 7 Oct 2016 10:31:25 +0000 (12:31 +0200)]
MDL-56321 theme_boost: Profile page adjustments

- Removed the border overlapping a user's avatar. This only affected
  course profiles and the default preset.
- Do not break the sections when they wrap from one column to another
- Sneaked in a change to remove left/right padding on .box. I've been
  wanting to change that since I added it. The padding on top and bottom
  is sometimes useful to separate boxes, but the left/right padding
  should be applied by the general structure.

4 years agoMerge branch 'MDL-56533-master' of git://github.com/crazyserver/moodle
Andrew Nicols [Mon, 24 Oct 2016 04:07:40 +0000 (12:07 +0800)]
Merge branch 'MDL-56533-master' of git://github.com/crazyserver/moodle

4 years agoMDL-55074 theme_behat: Behat fixes for user_grade_navigation
Damyon Wiese [Mon, 24 Oct 2016 04:00:23 +0000 (12:00 +0800)]
MDL-55074 theme_behat: Behat fixes for user_grade_navigation

4 years agoMerge branch 'MDL-56129-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 24 Oct 2016 03:56:06 +0000 (11:56 +0800)]
Merge branch 'MDL-56129-master' of git://github.com/andrewnicols/moodle

4 years agoMDL-56129 core: Set a timeout on the session cookie
Andrew Nicols [Sun, 16 Oct 2016 12:13:28 +0000 (20:13 +0800)]
MDL-56129 core: Set a timeout on the session cookie

This is primarily because iOS has changed something under the hood which
means that only session cookies which have an expiry are passed around the
OS.

In order to make media playable outside of the browser (e.g. a video), we
must set a session cookie timeout.

Since the session timeout is configurable, this patch sets the cookie
timeout to the session timeout plus a period of one week.

This ensures that videos continue to work, and that the expired session
message is shown on the login page, but without requiring excessively long
session times.

4 years agoMDL-56516 tool_usertours: Cache tours and steps
Andrew Nicols [Thu, 20 Oct 2016 01:55:46 +0000 (09:55 +0800)]
MDL-56516 tool_usertours: Cache tours and steps

4 years agoDML-53048 forms: Remove conflict resultion remaining bit
David Monllao [Mon, 24 Oct 2016 03:16:53 +0000 (11:16 +0800)]
DML-53048 forms: Remove conflict resultion remaining bit

Change wrong alternative references as well.

4 years agoMerge branch 'MDL-53048-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 24 Oct 2016 03:12:25 +0000 (11:12 +0800)]
Merge branch 'MDL-53048-master' of git://github.com/andrewnicols/moodle

4 years agoMDL-55074 theme_boost: Phantomjs robustness
Damyon Wiese [Mon, 24 Oct 2016 02:37:07 +0000 (10:37 +0800)]
MDL-55074 theme_boost: Phantomjs robustness

Raj was seeing some fails with phantomjs because the action menus were not open after clicking
on the link to open them. Make sure we look for the open menu before continuing.

4 years agoMerge branch 'MDL-56252-master' of git://github.com/ryanwyllie/moodle
David Monllao [Mon, 24 Oct 2016 02:25:32 +0000 (10:25 +0800)]
Merge branch 'MDL-56252-master' of git://github.com/ryanwyllie/moodle

4 years agoMerge branch 'MDL-56341-master' of git://github.com/damyon/moodle
Andrew Nicols [Mon, 24 Oct 2016 02:11:20 +0000 (10:11 +0800)]
Merge branch 'MDL-56341-master' of git://github.com/damyon/moodle

4 years agoMerge branch 'MDL-56380_master' of git://github.com/markn86/moodle
David Monllao [Mon, 24 Oct 2016 02:04:45 +0000 (10:04 +0800)]
Merge branch 'MDL-56380_master' of git://github.com/markn86/moodle

4 years agoMDL-55074 theme_boost: Undefined variable in perf footer
Damyon Wiese [Mon, 24 Oct 2016 02:03:04 +0000 (10:03 +0800)]
MDL-55074 theme_boost: Undefined variable in perf footer

4 years agoMerge branch 'MDL-56355-master' of git://github.com/ryanwyllie/moodle
Andrew Nicols [Mon, 24 Oct 2016 01:47:43 +0000 (09:47 +0800)]
Merge branch 'MDL-56355-master' of git://github.com/ryanwyllie/moodle

4 years agoMerge branch 'MDL-56090_master' of git://github.com/markn86/moodle
David Monllao [Mon, 24 Oct 2016 01:35:28 +0000 (09:35 +0800)]
Merge branch 'MDL-56090_master' of git://github.com/markn86/moodle

4 years agoMDL-53048 form: Rewrite passwordunmask
Andrew Nicols [Sun, 21 Aug 2016 23:03:51 +0000 (07:03 +0800)]
MDL-53048 form: Rewrite passwordunmask

This version:
* should work with the Behat Goutte driver
* should not suffer from password autofill anxiety
* should allow unmasking (and masking) of a password
* should allow editing of passwords in either masked, or unmasked form

AMOS BEGIN
 MOV [revealpassword,core_form],[passwordunmaskrevealhint,core_form]
AMOS END

4 years agoMDL-53048 forms: Deprecate prevent_form_autofill_password
Andrew Nicols [Thu, 25 Aug 2016 07:17:29 +0000 (15:17 +0800)]
MDL-53048 forms: Deprecate prevent_form_autofill_password

4 years agoMerge branch 'MDL-56529-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Fri, 21 Oct 2016 11:03:56 +0000 (13:03 +0200)]
Merge branch 'MDL-56529-master' of git://github.com/junpataleta/moodle

4 years agoMDL-56538 assign: Fix new grading interface UI popouts
Pau Ferrer Ocaña [Fri, 21 Oct 2016 09:58:46 +0000 (11:58 +0200)]
MDL-56538 assign: Fix new grading interface UI popouts

4 years agoMDL-56533 course: Add outcome scale information on get_course_module WS
Pau Ferrer Ocaña [Fri, 21 Oct 2016 07:38:04 +0000 (09:38 +0200)]
MDL-56533 course: Add outcome scale information on get_course_module WS

4 years agoMDL-56090 core_message: added API unit tests
Mark Nelson [Tue, 18 Oct 2016 06:14:22 +0000 (14:14 +0800)]
MDL-56090 core_message: added API unit tests

4 years agoMDL-55074 theme_boost: Behat fixes for latest theme changes
Damyon Wiese [Fri, 14 Oct 2016 07:21:13 +0000 (15:21 +0800)]
MDL-55074 theme_boost: Behat fixes for latest theme changes

Fix I edit profile steps
Apply fixed header in css
Remove transitions from menus for behat
Be more specific about some "I follow" steps
Navigation path changes
"Current course" node removed from nav tree
Adapt tests because there are no default blocks
Force some space between action menu items

4 years agoMDL-56350 tool_usertours: Apply aria-hidden to other page elements
Andrew Nicols [Fri, 21 Oct 2016 04:41:40 +0000 (12:41 +0800)]
MDL-56350 tool_usertours: Apply aria-hidden to other page elements

Note: This patch is in the upstream library.

4 years agoMDL-56272 theme_boost: Differentiate between freeze and hardFreeze
Frédéric Massart [Wed, 5 Oct 2016 13:30:43 +0000 (15:30 +0200)]
MDL-56272 theme_boost: Differentiate between freeze and hardFreeze

4 years agoMDL-55074 theme_boost: Unit test fixes for all these changes
Damyon Wiese [Fri, 14 Oct 2016 06:15:17 +0000 (14:15 +0800)]
MDL-55074 theme_boost: Unit test fixes for all these changes

4 years agoMDL-55074 theme_boost: Styling for grade reports
Damyon Wiese [Fri, 14 Oct 2016 05:15:40 +0000 (13:15 +0800)]
MDL-55074 theme_boost: Styling for grade reports

4 years agoMDL-55074 theme_boost: Improve the display of the menus in the footer
Damyon Wiese [Fri, 14 Oct 2016 05:05:34 +0000 (13:05 +0800)]
MDL-55074 theme_boost: Improve the display of the menus in the footer

4 years agoMDL-55074 navigation: Menu and nav changes
Damyon Wiese [Fri, 14 Oct 2016 03:58:14 +0000 (11:58 +0800)]
MDL-55074 navigation: Menu and nav changes

"Grades" belongs in the navigation block, not the settings block.
Course / Activity menus should not include a link to the full settings page list, if it is the same as the menu.
Competencies belongs in the navigation block not the settings block.

4 years agoMDL-55074 theme_boost: Make dropdowns consistent
Damyon Wiese [Fri, 14 Oct 2016 02:26:19 +0000 (10:26 +0800)]
MDL-55074 theme_boost: Make dropdowns consistent

Links in drop down menu items should fill the entire row and be
displayed as normal text color (they are like buttons).

4 years agoMDL-55074 theme_boost: Move the custom menu into the footer
Damyon Wiese [Thu, 13 Oct 2016 07:42:48 +0000 (15:42 +0800)]
MDL-55074 theme_boost: Move the custom menu into the footer

On mobile screen sizes only.

4 years agoMDL-55074 theme_boost: Custom renderer fails on book
Damyon Wiese [Thu, 13 Oct 2016 06:43:33 +0000 (14:43 +0800)]
MDL-55074 theme_boost: Custom renderer fails on book

Handle nav tree nodes with action_links in them.

4 years agoMDL-55074 theme_boost: Workaround for popovers
Damyon Wiese [Thu, 13 Oct 2016 06:38:27 +0000 (14:38 +0800)]
MDL-55074 theme_boost: Workaround for popovers

The custom-interaction events have a bug where if they are used twice, they fire 2 events.

The bug still exists - this is a workaround.

4 years agoMDL-55074 blocks: Remove default blocks from course and site
Damyon Wiese [Thu, 13 Oct 2016 05:46:38 +0000 (13:46 +0800)]
MDL-55074 blocks: Remove default blocks from course and site

4 years agoMDL-55074 theme_boost: Fix weird text wrapping in block titles
Damyon Wiese [Thu, 13 Oct 2016 04:51:34 +0000 (12:51 +0800)]
MDL-55074 theme_boost: Fix weird text wrapping in block titles

4 years agoMDL-55074 theme_boost: Rename default only block region
Damyon Wiese [Thu, 13 Oct 2016 04:49:37 +0000 (12:49 +0800)]
MDL-55074 theme_boost: Rename default only block region

4 years agoMDL-55074 theme_boost: Do not show flatnav by default before login
Damyon Wiese [Thu, 13 Oct 2016 04:47:49 +0000 (12:47 +0800)]
MDL-55074 theme_boost: Do not show flatnav by default before login

4 years agoMDL-55074 nav: Put the course nav above the site nav
Damyon Wiese [Thu, 13 Oct 2016 04:45:04 +0000 (12:45 +0800)]
MDL-55074 nav: Put the course nav above the site nav

4 years agoMDL-55074 theme_boost: Current flat nav node should be subtle
Damyon Wiese [Thu, 13 Oct 2016 03:50:34 +0000 (11:50 +0800)]
MDL-55074 theme_boost: Current flat nav node should be subtle

4 years agoMDL-55074 theme_boost: Move blocks back into the page
Damyon Wiese [Thu, 13 Oct 2016 03:40:56 +0000 (11:40 +0800)]
MDL-55074 theme_boost: Move blocks back into the page

4 years agoMDL-55074 theme_boost: Only show activity edit menu on first page
Damyon Wiese [Thu, 13 Oct 2016 03:40:14 +0000 (11:40 +0800)]
MDL-55074 theme_boost: Only show activity edit menu on first page

4 years agoMDL-55074 navigation: Add editing links back to nav
Damyon Wiese [Thu, 13 Oct 2016 03:38:17 +0000 (11:38 +0800)]
MDL-55074 navigation: Add editing links back to nav

In theme boost - don't support edit_buttons in the page.

4 years agoMDL-55074 theme_boost: Make sections different in flat nav
Damyon Wiese [Thu, 13 Oct 2016 03:36:06 +0000 (11:36 +0800)]
MDL-55074 theme_boost: Make sections different in flat nav

4 years agoMDL-55074 navigation: Always show dashboard/home in flat nav
Damyon Wiese [Thu, 13 Oct 2016 03:34:57 +0000 (11:34 +0800)]
MDL-55074 navigation: Always show dashboard/home in flat nav

4 years agoMDL-55074 blocks: navigation and settings blocks optional
Damyon Wiese [Wed, 12 Oct 2016 08:50:46 +0000 (16:50 +0800)]
MDL-55074 blocks: navigation and settings blocks optional

This is a theme config setting.
They are forced on for behat always.

4 years agoMDL-55074 theme_boost: Prevent page scrolling when scrolling in a drawer
Damyon Wiese [Wed, 12 Oct 2016 05:21:06 +0000 (13:21 +0800)]
MDL-55074 theme_boost: Prevent page scrolling when scrolling in a drawer

4 years agoMDL-55074 theme_boost: Navigation and blocks
Damyon Wiese [Thu, 6 Oct 2016 06:10:14 +0000 (14:10 +0800)]
MDL-55074 theme_boost: Navigation and blocks

This patch includes a big set of changes that are all designed to work together to provide
a better way to navigate in the new theme, and a different way of working with blocks.

Blocks have been moved to a "drawer" that can be opened and closed (this is remembered in a user pref).

A new "flat navigation" element is also available in a drawer - which should let you do 90% of things
without needing to open the "blocks" drawer.

The flat navigation is build from specific parts of the nav tree - the top nodes like "calendar, dashboard" are
hand picked. There is a mycourses node listing your enrolled courses.

There is a node for the current course, built from the top nodes in the current course node in the nav tree.

Administrators have a link to the Site admin settings here too.

These nav elements are used by the templates for the new theme, which also has a resigned layout for login and signup.

There have also been some additional fixes / improvements to the scss for the new theme which goes along with these
layout changes.

This set of changes is a collaboration between Martin, Damyon and Alberto (thanks!).

4 years agoMDL-56529 enrol_lti: Fix for tool_provider_test
Jun Pataleta [Fri, 21 Oct 2016 04:34:00 +0000 (12:34 +0800)]
MDL-56529 enrol_lti: Fix for tool_provider_test

* Use -1 for simulating a non-existent tool for
  tool_provider_testcase::test_constructor_with_non_existent_tool()

4 years agoMDL-55981 core: Remove site:accessallgroups from teacher
Andrew Nicols [Tue, 18 Oct 2016 06:44:26 +0000 (14:44 +0800)]
MDL-55981 core: Remove site:accessallgroups from teacher

4 years agoweekly release 3.2dev
Eloy Lafuente (stronk7) [Thu, 20 Oct 2016 15:52:33 +0000 (17:52 +0200)]
weekly release 3.2dev

4 years agoNOBUG: Fixed file access permissions
Eloy Lafuente (stronk7) [Thu, 20 Oct 2016 15:52:32 +0000 (17:52 +0200)]
NOBUG: Fixed file access permissions

4 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Thu, 20 Oct 2016 15:52:29 +0000 (17:52 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

4 years agoMDL-56380 core_message: prevent default behaviour for links
Mark Nelson [Thu, 20 Oct 2016 08:36:59 +0000 (16:36 +0800)]
MDL-56380 core_message: prevent default behaviour for links

4 years agoMerge branch 'MDL-52777-master-bug' of github.com:andrewnicols/moodle
Dan Poltawski [Thu, 20 Oct 2016 07:02:08 +0000 (08:02 +0100)]
Merge branch 'MDL-52777-master-bug' of github.com:andrewnicols/moodle

4 years agoMDL-52777 tool_usertours: Stop testing pending upgrades
Andrew Nicols [Thu, 20 Oct 2016 06:51:26 +0000 (14:51 +0800)]
MDL-52777 tool_usertours: Stop testing pending upgrades

4 years agoMDL-52777 tool_usertours: Fix matching tour test
Andrew Nicols [Thu, 20 Oct 2016 06:50:38 +0000 (14:50 +0800)]
MDL-52777 tool_usertours: Fix matching tour test

4 years agoMDL-56252 message: clean message text in message area
Ryan Wyllie [Tue, 18 Oct 2016 07:26:53 +0000 (07:26 +0000)]
MDL-56252 message: clean message text in message area

Remove the HTML tags from any message in the message area when updating
the last message on the contact otherwise the styling breaks and also
allows <script> tags to be added to the page.

4 years agoMerge branch 'MDL-52777-master-bug' of github.com:andrewnicols/moodle
David Monllao [Thu, 20 Oct 2016 06:09:57 +0000 (14:09 +0800)]
Merge branch 'MDL-52777-master-bug' of github.com:andrewnicols/moodle

4 years agoMDL-52777 tool_usertours: Only return tours with steps
Andrew Nicols [Thu, 20 Oct 2016 05:44:18 +0000 (13:44 +0800)]
MDL-52777 tool_usertours: Only return tours with steps

4 years agoMDL-56341 mustache: JS engines handles strings wrapped in quote
Frédéric Massart [Tue, 11 Oct 2016 12:03:48 +0000 (14:03 +0200)]
MDL-56341 mustache: JS engines handles strings wrapped in quote

Prior to the patch the strings wrapped as the following one
where not found and replaced when rendering the template via Javascript

{{#quote}}{{#str}}string,component{{/str}}{{/quote}}

4 years agoMerge branch 'MDL-52777-master-bug' of github.com:andrewnicols/moodle
David Monllao [Thu, 20 Oct 2016 03:50:32 +0000 (11:50 +0800)]
Merge branch 'MDL-52777-master-bug' of github.com:andrewnicols/moodle

4 years agoMerge branch 'wip-mdl-55926' of https://github.com/rajeshtaneja/moodle
David Monllao [Thu, 20 Oct 2016 03:48:53 +0000 (11:48 +0800)]
Merge branch 'wip-mdl-55926' of https://github.com/rajeshtaneja/moodle

4 years agoMDL-55926 behat: Fixed undefined steps
Rajesh Taneja [Thu, 20 Oct 2016 03:26:27 +0000 (11:26 +0800)]
MDL-55926 behat: Fixed undefined steps

4 years agoMDL-52777 tool_usertours: Only check plugin for needs update
Andrew Nicols [Thu, 20 Oct 2016 03:16:52 +0000 (11:16 +0800)]
MDL-52777 tool_usertours: Only check plugin for needs update

The moodle_needs_upgrade() function includes every version.php in Moodle
which poses a performance issue, especially when called on every page.

4 years agoMerge branch 'MDL-52777-master-bug' of github.com:andrewnicols/moodle
David Monllao [Thu, 20 Oct 2016 02:09:28 +0000 (10:09 +0800)]
Merge branch 'MDL-52777-master-bug' of github.com:andrewnicols/moodle

4 years agoMDL-52777 tool_usertours: Correct & to && in test
Andrew Nicols [Thu, 20 Oct 2016 01:54:26 +0000 (09:54 +0800)]
MDL-52777 tool_usertours: Correct & to && in test

4 years agoMerge branch 'MDL-53832-master-review-fixes' of https://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Thu, 20 Oct 2016 00:25:59 +0000 (02:25 +0200)]
Merge branch 'MDL-53832-master-review-fixes' of https://github.com/junpataleta/moodle

4 years agoMerge branch 'MDL-55823_master' of git://github.com/markn86/moodle
Dan Poltawski [Wed, 19 Oct 2016 09:47:35 +0000 (10:47 +0100)]
Merge branch 'MDL-55823_master' of git://github.com/markn86/moodle

4 years agoMDL-55823 core_message: added WS unit tests
Mark Nelson [Fri, 9 Sep 2016 09:07:58 +0000 (17:07 +0800)]
MDL-55823 core_message: added WS unit tests

4 years agoMDL-53832 enrol_lti: Update codes to use the new DB field names
Jun Pataleta [Wed, 19 Oct 2016 07:37:01 +0000 (15:37 +0800)]
MDL-53832 enrol_lti: Update codes to use  the new DB field names

4 years agoMDL-53832 enrol_lti: Update data_connector to use the new DB field names
Jun Pataleta [Wed, 19 Oct 2016 07:24:07 +0000 (15:24 +0800)]
MDL-53832 enrol_lti: Update data_connector to use  the new DB field names

4 years agoMDL-53832 enrol_lti: Make DB column names more moodle-ish
Jun Pataleta [Wed, 19 Oct 2016 07:15:33 +0000 (15:15 +0800)]
MDL-53832 enrol_lti: Make DB column names more moodle-ish

4 years agoMDL-52777 tool_usertours: Prepare target data when displaying form
Andrew Nicols [Wed, 19 Oct 2016 07:35:54 +0000 (15:35 +0800)]
MDL-52777 tool_usertours: Prepare target data when displaying form

4 years agoMerge branch 'MDL-52777-master-bug' of github.com:andrewnicols/moodle
David Monllao [Wed, 19 Oct 2016 07:02:44 +0000 (15:02 +0800)]
Merge branch 'MDL-52777-master-bug' of github.com:andrewnicols/moodle

4 years agoMDL-52777 tool_usertours: Less strict comparison for tour ID
Andrew Nicols [Wed, 19 Oct 2016 06:57:07 +0000 (14:57 +0800)]
MDL-52777 tool_usertours: Less strict comparison for tour ID

4 years agoMDL-56337 message: fix behat for phantomjs
Ryan Wyllie [Wed, 19 Oct 2016 06:35:12 +0000 (06:35 +0000)]
MDL-56337 message: fix behat for phantomjs

4 years agoMDL-52777 tool_usertours: Remove unused template
Andrew Nicols [Wed, 19 Oct 2016 05:26:54 +0000 (13:26 +0800)]
MDL-52777 tool_usertours: Remove unused template

4 years agoMDL-53832 enrol_lti: Map consumer to tool and handle instance deletion
Jun Pataleta [Fri, 30 Sep 2016 08:18:56 +0000 (16:18 +0800)]
MDL-53832 enrol_lti: Map consumer to tool and handle instance deletion

4 years agoMDL-53832 enrol_lti: Unit tests for tool_provider
Jun Pataleta [Fri, 9 Sep 2016 10:06:50 +0000 (18:06 +0800)]
MDL-53832 enrol_lti: Unit tests for tool_provider

Original subtask: MDL-55647.

4 years agoMDL-53832 enrol_lti: Improve provider logic
Jun Pataleta [Fri, 16 Sep 2016 09:39:55 +0000 (17:39 +0800)]
MDL-53832 enrol_lti: Improve provider logic

* onRegister
  - Validate returnUrl and consumer object.
  - Use moodle_url for the returnURL.
  - Set success message on successful registration.
  - Reorganise code.
* Constructor
  - Remove required params we don't need (Original sub-task: MDL-56035)
* onLaunch
  - Validate consumer object.
  - Set appropriate values for OK flag and message.
* Import classes.

4 years agoMDL-53832 enrol_lti: Allow multiple LTI1 consumers with the same key
John Okely [Thu, 15 Sep 2016 08:40:09 +0000 (16:40 +0800)]
MDL-53832 enrol_lti: Allow multiple LTI1 consumers with the same key

4 years agoMDL-53832 enrol_lti: Support user images
John Okely [Tue, 13 Sep 2016 08:32:43 +0000 (16:32 +0800)]
MDL-53832 enrol_lti: Support user images

Original subtask MDL-55718.

4 years agoMDL-53832 enrol_lti: Only allow certain consumers for each shared tool
John Okely [Fri, 9 Sep 2016 06:28:33 +0000 (14:28 +0800)]
MDL-53832 enrol_lti: Only allow certain consumers for each shared tool

Original subtask: MDL-55753.