81318 Commits

Author SHA1 Message Date
Damyon Wiese
4821f45961 MDL-56188 theme_boost: Better alignment for form fields help 2016-10-28 14:40:00 +08:00
Damyon Wiese
0f13ffbc63 MDL-56297 theme_boost: Obey usefilepicker option
URL form fields support 'usefilepicker' option to show/hide the file picker in some forms.
2016-10-28 12:57:08 +08:00
Marina Glancy
3abda0332d MDL-56615 portfolio_googledocs: add basic unittests 2016-10-28 12:13:33 +08:00
Jun Pataleta
5306a00ab0 MDL-56580 core_form: Unescape select attributes 2016-10-28 12:02:06 +08:00
Marina Glancy
761ef5d33a MDL-56615 portfolio: fix php 7.0.9 warning 2016-10-28 11:56:42 +08:00
Adrian Greeve
1d4490d366 MDL-56625 authentication: Email registration works again.
Creation via email accounts was broken due to a missing
require for the auth library.
2016-10-28 11:17:28 +08:00
Damyon Wiese
70f0010712 MDL-56627 theme_boost: Move help buttons outside labels
For radios and checkboxes where clicking on the label would toggle the state.
2016-10-28 11:04:28 +08:00
Jun Pataleta
f30f627501 MDL-56339 enrol_lti: Force page layout to embedded from custom setting 2016-10-28 10:05:02 +08:00
Jun Pataleta
59eb63612b MDL-56573 enrol_lti: Non-null default for tool_consumer_instance_name 2016-10-28 10:03:19 +08:00
Eloy Lafuente (stronk7)
a29bcf7819 MDL-47162 core_message: debug whenever courseid is missing
Instead of silently defaulting to SITEID when courseid (coming
from message_send()/\core\message\manager::send_message()) is missing,
now a debugging message is shown to allow developers to fix their
messages to, always, include courseid.

Raw creation of events via message_sent::create() missing other[courseid]
leads to coding exception since now (there shouldn't be any legacy use, as far as
they are always created via create_from_ids() when sending a message.

Updated upgrade.txt notes a little bit, added references the 3.6 final
deprecation issue (MDL-55449) and covered with unit tests.
2016-10-28 00:30:02 +02:00
Eric Merrill
9d0e8a4f6d MDL-47162 core_message: Remove changes to small messages 2016-10-27 18:12:43 +02:00
Eric Merrill
0e8b51607b MDL-47162 core_message: Cleanup of messaging course ids code 2016-10-27 18:12:42 +02:00
Amanda Doughty
cc350fd9c8 MDL-47162 core_message: Add course id to message eventdata 2016-10-27 18:11:27 +02:00
lazydaisy
13a8c3d89b MDL-56523 theme_boost: Removed region-main-box in maintenance.mustache 2016-10-27 15:18:58 +01:00
Pau Ferrer Ocaña
59111fa937 MDL-56583 assign: Add info about the user submission capability 2016-10-27 15:40:03 +02:00
Dan Poltawski
577bd70d38 weekly release 3.2dev 2016-10-27 12:19:27 +01:00
Dan Poltawski
2062b6de90 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2016-10-27 12:19:25 +01:00
Dan Poltawski
1810eb1bf8 Revert "Merge branch 'MDL-56129-master' of git://github.com/andrewnicols/moodle"
This reverts commit aaa2788e42361b5e3032feacd9c0534fe47cb69c, reversing
changes made to 80b74762c9dad6c5127115f7146cfdf46ad70ab4.
2016-10-27 09:59:38 +01:00
Eloy Lafuente (stronk7)
6a17bdec92 Merge branch 'MDL-56594-master' of git://github.com/damyon/moodle 2016-10-27 10:47:51 +02:00
Simey Lameze
4a7fdb4abb MDL-56427 message: style fixes for notification and message preferences 2016-10-27 15:27:11 +08:00
Andrew Nicols
77cfc19a85 Merge branch 'MDL-56015-master-fix1' of http://github.com/damyon/moodle 2016-10-27 15:12:49 +08:00
Andrew Nicols
ce434c7664 Merge branch 'wip-mdl-55074-fix2' of https://github.com/rajeshtaneja/moodle 2016-10-27 12:16:43 +08:00
Rajesh Taneja
0fa66b5383
MDL-55074 behat: Remove js tag as the feature can run without it 2016-10-27 12:11:45 +08:00
Damyon Wiese
bff9fd896a MDL-56597 theme_boost: Maintenance warning styles 2016-10-27 10:41:42 +08:00
Damyon Wiese
f1f6d80e69 MDL-56610 theme_boost: White background on the maintenance pages 2016-10-27 09:39:39 +08:00
lazydaisy
8b590de0b7 MDL-56523 theme_boost: Removed region-main-box in maintenance.mustache 2016-10-27 09:32:19 +08:00
Damyon Wiese
58473a6776 MDL-56015 theme_boost: change theme preview screenshot 2016-10-27 09:20:35 +08:00
Eloy Lafuente (stronk7)
6f01090159 Merge branch 'MDL-56448-master' of git://github.com/danpoltawski/moodle 2016-10-26 16:11:44 +02:00
Dan Poltawski
f07cb88c57 MDL-56448 mustache: fix json errors in example context 2016-10-26 12:35:45 +01:00
Dan Poltawski
2300b95dbf Merge branch 'MDL-56184-master-master' of git://github.com/damyon/moodle 2016-10-26 12:11:56 +01:00
Dan Poltawski
add9db49f4 MDL-56334 tests: add some trivial cases to domain tests
This gets us to 100% code coverage.
2016-10-26 09:58:05 +01:00
Dan Poltawski
e376b4bd64 Merge branch 'MDL-56334-master-v2' of git://github.com/snake/moodle 2016-10-26 09:57:50 +01:00
David Mudrák
dfe73442f7 MDL-56542 lang: Fix coding style of qtype_calculated strings file
This patch does not actually change the value of strings. It only fixes
the coding style issues raised by the prechecker (missing spaces around
the assignment operator).
2016-10-26 10:47:15 +02:00
Damyon Wiese
11774d9014 MDL-56599 theme_boost: Move region settings menu out of content div
This is because the content div has it's own rules for scrolling and overflow,
and they don't work well with the action menu for the region.
2016-10-26 16:46:29 +08:00
Eloy Lafuente (stronk7)
c64230234f Merge branch 'MDL-56090-master-fix' of github.com:andrewnicols/moodle 2016-10-26 10:38:36 +02:00
Adrian Greeve
020c98e373 MDL-56334 libraries: Addition of domain checker.
Added a function for checking if a domain is allowed
against a list of domains that could contain wildcards.
2016-10-26 15:51:32 +08:00
Jake Dallimore
6d6e36923b MDL-56334 libraries: Add new internet protocol library to core
New library providing utilities for IP addresses, DNS and other
internet-protocol-related information.
2016-10-26 15:49:03 +08:00
Andrew Nicols
ebc746dcc2 MDL-56090 message: Make key in union unique
This also fixes the unit test to use the correct indices.
2016-10-26 15:43:56 +08:00
Damyon Wiese
76132d1eb9 MDL-56078 theme_boost: Preset settings for release
Allow user uploaded preset files and remove the bootswatch based existing presets.
2016-10-26 15:27:43 +08:00
David Monllao
01435b4ebd Merge branch 'MDL-53048-master-fix' of git://github.com/andrewnicols/moodle 2016-10-26 15:11:27 +08:00
Frédéric Massart
a4a6d85b5b MDL-56184 theme_boost: Constrain inline form elements to form width 2016-10-26 15:06:59 +08:00
Andrew Nicols
7eafebbcf7 Merge branch 'MDL-53366-master' of github.com:ankitagarwal/moodle 2016-10-26 14:15:49 +08:00
Andrew Nicols
3778a9226f MDL-53048 core_form: passwordunmask must exist on page for validation
The initial approach I took was to provide a noscript area containing the
standard input element, and to move it to a hidden input element as part of
the passwordunmask setup.

This allowed behat tests to pass both with and without JS enabled (i.e.
with Goutte and real browsers), and also ensured that the real input did
not appear on screen.

However, the standard formslib validation occurs before other page JS is
run and hooks into the elements on page during its setup.
Since noscript elements are not accessible to scripts as standard elements,
the form validation would fail for _client_ side validation and work for
server-side validation.

This change creates creates the hidden input element in the template
instead, as well as the password element in the noscript tag.

Doing this means that when JS is disabled, the form has two elements of the
same name - one hidden, and the second a visible password field.
Since the latter element will always override the former one on form
submission, and the noscript variant is last, the noscript variant wins
when JS is disabled and tests continue to pass.

When JS is enabled, the noscript variant is not a valid part of the DOM
(the browser sees it as a hidden text field essentially). The password is
not automatically entered into the hidden field, so the autocomplete
prevention continues to work as expected.
2016-10-26 13:33:10 +08:00
Ankit Agarwal
ff67562eca MDL-53366 antivirus_clamav: Remove Quarantine directory setting 2016-10-26 09:47:27 +05:30
David Monllao
ee61e3ef83 Merge branch 'wip-mdl-55074-fix' of https://github.com/rajeshtaneja/moodle 2016-10-26 10:31:09 +08:00
Damyon Wiese
181179de54
MDL-55074 message: Display modal window in message, BS2 compatible 2016-10-26 10:24:20 +08:00
Damyon Wiese
33cb7031de
MDL-55074 behat: Fix zoom in/out dom insertion 2016-10-26 10:18:52 +08:00
Rajesh Taneja
eb1335c63c
MDL-55074 behat: Click on the internal div to ensure driver don't click at wrong node 2016-10-26 10:15:59 +08:00
Rajesh Taneja
7f8c9bb852
MDL-55074 behat: Use full navigation path 2016-10-26 10:15:18 +08:00
Andrew Nicols
71c47e774f Merge branch 'wip-mdl-56532-fix' of https://github.com/rajeshtaneja/moodle 2016-10-26 10:12:25 +08:00