90156 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
a9428fab11 weekly release 3.6dev 2018-08-17 17:37:15 +02:00
Eloy Lafuente (stronk7)
beaff3f103 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2018-08-17 17:37:12 +02:00
David Mudrák
784883e1ee MDL-63174 user: user_create_user to throw exception on empty username
The core API function user_create_user() did not check the case when the
given username was empty.

Also adding a missing string 'usernamelowercase' for the existing lower
case check and unit tests.
2018-08-17 13:24:31 +02:00
David Mudrák
0e99d58c35 MDL-63174 user: core_user_create_users to throw exception on empty names
To be consistent with the web administration UI, we should not allow to
create invalid user records with empty username, lastname or firstname
via the web services.
2018-08-17 13:24:31 +02:00
Jake Dallimore
215ecb017a Merge branch 'MDL-62884-master' of git://github.com/damyon/moodle 2018-08-17 16:02:05 +08:00
Damyon Wiese
a3124b15dc MDL-62884 privacy: Additional fix for popper.js
For a table with action menus inside a scrollable region, we need to ensure
the table is at least big enough.
2018-08-17 15:12:05 +08:00
Stephen Vickers
1272a926d5
MDL-63176 enrol_lti: Add $COURSE to global
Ensure that capabilities using $COURSE can be parsed.
2018-08-16 22:41:57 +01:00
cescobedo
ea3c5ba14b MDL-57741 enrol_lti: Add Launch URL to Published as LTI tools 2018-08-16 09:08:38 +02:00
Nick Phillips
9a2da73753 MDL-59169 gradebook: Add groupid to gpr tracking & use
Added groupid to grade_plugin_return tracking, modified constructor
to use query params as defaults if passed-in params not supplied,
used groupid tracking in core reports.

grade_get_graded_users_select also fixed to use gpr (otherwise using
it breaks when course current group has changed between render and
submit).

Fixed coding style issue in gpr constructor & documented properties.

Added upgrade.txt noting gpr changes.
2018-08-16 04:03:51 +02:00
AMOS bot
e28bc33b19 Automatically generated installer lang files 2018-08-16 00:08:08 +00:00
Jake Dallimore
71926adb0d Merge branch 'MDL-63050-master' of git://github.com/andrewnicols/moodle 2018-08-15 10:59:37 +08:00
Andrew Nicols
6cf24801a9 Merge branch 'MDL-62600-master' of git://github.com/mickhawkins/moodle 2018-08-15 08:53:30 +08:00
AMOS bot
21b1892843 Automatically generated installer lang files 2018-08-15 00:07:31 +00:00
Luke Carrier
6b6fd4b0b7 MDL-61238 cohort: require_once all libraries 2018-08-15 00:12:38 +02:00
Eloy Lafuente (stronk7)
92af6a3998 Merge branch 'MDL-62341-master' of git://github.com/mihailges/moodle 2018-08-15 00:03:18 +02:00
Eloy Lafuente (stronk7)
326792694e Merge branch 'MDL-58409-master_needs_clean_in_autocomplete_element' of https://github.com/dravek/moodle 2018-08-14 17:29:48 +02:00
Eloy Lafuente (stronk7)
9c1c0de78c Merge branch 'MDL-61650-master' of git://github.com/damyon/moodle 2018-08-14 16:49:44 +02:00
David Monllao
8e6c2ce300 Merge branch 'MDL-36754-master' of git://github.com/andrewnicols/moodle 2018-08-14 10:18:55 +02:00
Andrew Nicols
2e8d476165 MDL-36754 core_files: Add back missing baseurl line 2018-08-14 15:54:12 +08:00
David Monllao
3ff9233a18 Merge branch 'MDL-36754-master' of git://github.com/andrewnicols/moodle 2018-08-14 08:49:45 +02:00
Jake Dallimore
ed9d61ef4a Merge branch 'MDL-63031-master' of https://github.com/prg3/moodle 2018-08-14 12:11:25 +08:00
Paul Greidanus
05f6ed0034 MDL-63031 administration: Allow plugins to define trace storage
This will allow the use of other storage systems implemented
in plugins.
It also allows for disabling the built in DB based profiling, which
will be useful when using an external target to not waste DB storage.
2018-08-13 21:54:48 -06:00
Michael Hawkins
161a5c8ab9 MDL-62600 tool_dataprivacy: Corrected availability of PO pages to admins 2018-08-14 11:28:31 +08:00
Andrew Nicols
bc51085174 Merge branch 'MDL-62643-master' of git://github.com/damyon/moodle 2018-08-14 09:04:17 +08:00
Andrew Nicols
b426a2840f Merge branch 'MDL-62896-master' of git://github.com/k-holland/moodle 2018-08-14 07:44:04 +08:00
Andrew Nicols
7fa3089753 MDL-36754 mod_forum: Use token for emailed pictures 2018-08-14 07:08:29 +08:00
Andrew Nicols
88d89512e4 MDL-36754 output: Support token pluginfiles in userpic 2018-08-14 07:08:29 +08:00
Andrew Nicols
883f655552 MDL-36754 output: Support token pluginfiles in group pic 2018-08-14 07:06:09 +08:00
Andrew Nicols
8af75f08e8 MDL-36754 tests: Move moodle_url tests to own file 2018-08-14 07:06:09 +08:00
Andrew Nicols
91f1f28233 MDL-36754 core_files: Support tokens when rewriting text
Support use of a token for access to pluginfile.php when rewriting text
content.

This is primarily intended for notifications where the user is unlikely
to be logged into Moodle when receiving the notification.
2018-08-14 06:57:32 +08:00
Andrew Nicols
4a74ab0200 MDL-36754 core_files: Add a token version of pluginfile 2018-08-14 06:57:32 +08:00
David Monllao
49a973014c Merge branch 'MDL-62761-master' of https://github.com/jmvedrine/moodle 2018-08-13 15:29:34 +02:00
David Monllao
bf19506dfb Merge branch 'MDL-62886-master' of https://github.com/lucaboesch/moodle 2018-08-13 14:25:26 +02:00
David Monllao
93e0b1593c Merge branch 'MDL-59015-master' of git://github.com/mihailges/moodle 2018-08-13 12:19:13 +02:00
David Monllao
66be962523 Merge branch 'MDL-62994-master' of git://github.com/mihailges/moodle 2018-08-13 12:12:09 +02:00
Karen Holland
179a9f24db MDL-62896 Privacy: External plugin Additional label update. 2018-08-13 08:32:21 +00:00
Jake Dallimore
e99564e51b Merge branch 'MDL-60114_master_radio-option-choose' of https://github.com/awagner/moodle 2018-08-13 16:02:54 +08:00
Mihail Geshoski
4e829d2d75 MDL-59015 blocks: Confusing View more button in course overview block 2018-08-13 08:53:19 +08:00
Mihail Geshoski
be38df119d MDL-62341 privacy: Add behat test 2018-08-13 07:52:09 +08:00
Mihail Geshoski
e55e9df388 MDL-62341 privacy: Add link to previous page in viewall policies page 2018-08-13 07:52:09 +08:00
Jean-Michel Vedrine
a4ffdbf3f0 MDL-62761 lesson: wrong deadlines on index with overrides 2018-08-12 07:44:41 +02:00
Andreas Wagner
288cbbf2d5 MDL-60114 mod_data: adding db activity lost radio field choose option 2018-08-11 07:41:40 +02:00
Luca Bösch
fba3c3be8e MDL-62886 boost: radio form element required icon 2018-08-10 17:11:28 +02:00
Eloy Lafuente (stronk7)
6e445671c1 weekly release 3.6dev 2018-08-10 13:21:51 +02:00
Eloy Lafuente (stronk7)
cd69396ab4 NOBUG: Fixed SVG browser compatibility 2018-08-10 13:21:49 +02:00
Andrew Nicols
89db4cc26e Merge branch 'MDL-62619' of git://github.com/stronk7/moodle 2018-08-10 08:43:43 +08:00
Eloy Lafuente (stronk7)
2bf974e7ef MDL-63097 phpunit: decouple user lastping and session start in tests
Previously the test was assuming that the user last ping, when
accessing to a chat should match the first (enter) system message
sent to the chat. And that's ok 99% of times but, if seconds advance
between the creation of the chat_users record and the chat_messages
one, then they don't match.

So now, the assumption is not used anymore and the expectation
is the timestamp of that first (enter) system message, explicitly.
2018-08-10 02:32:37 +02:00
Eloy Lafuente (stronk7)
c9840c0144 MDL-62619 privacy: Prevent action when boolean queries are involved
Before the patch, queries like:

SELECT 1 FROM dual UNION SELECT 2 FROM dual

were failing badly, with everything but the first numeric element
being ignored by the optimization.

So, being conservative, now we reduce the query being analysed,
ignoring any subquery, inline view (anything within parenthesis
in general) and, in the remaining query, if a boolean query (UNION,
MINUS, INTERSECT...) is found, we don't apply any optimization.
2018-08-09 16:05:55 +02:00
Eloy Lafuente (stronk7)
b76d8da4a6 Merge branch 'MDL-62581-master' of git://github.com/damyon/moodle 2018-08-09 00:09:12 +02:00
Jun Pataleta
2454ddb6ef Merge branch 'MDL-45170-master' of git://github.com/junpataleta/moodle 2018-08-08 16:27:55 +08:00