95899 Commits

Author SHA1 Message Date
Sara Arjona
3cbede6e40 Merge branch 'wip-MDL-67339-master' of https://github.com/Beedell/moodle 2019-12-02 18:06:15 +01:00
John Beedell
82ee6f0d3c MDL-67339 behat: Enhance Behat exception message 2019-12-02 09:46:08 +00:00
Jake Dallimore
842e0a027e Merge branch 'MDL-66581-master' of git://github.com/junpataleta/moodle 2019-12-02 16:12:00 +08:00
Jun Pataleta
658676adc0 MDL-66581 auth: Properly assign the link attribute 2019-12-02 15:28:23 +08:00
Iñigo Zendegi
befbe2838f MDL-66581 auth: Do string concatenation for the password change URL
This reverts the change introduced by MDL-59298 where the password
change URL data is being assigned with a moodle_url object instead
of concatenating it.
2019-12-02 15:20:44 +08:00
Jake Dallimore
398bda4f12 Merge branch 'MDL-67160' of git://github.com/Chocolate-lightning/moodle_forum-project 2019-12-02 11:25:08 +08:00
Jake Dallimore
9d06a24393 Merge branch 'MDL-66877-master' of git://github.com/jleyva/moodle 2019-12-02 10:01:53 +08:00
Eloy Lafuente (stronk7)
800563e415 weekly release 3.9dev 2019-11-29 00:45:41 +01:00
Juan Leyva
f02178c481 MDL-66877 mod: Fix unfiltered activity names in page headings 2019-11-28 17:18:29 +01:00
Juan Leyva
62ff1b954f MDL-66877 mod: Fix WebServices returning unfiltered activity names 2019-11-28 17:18:29 +01:00
Adrian Greeve
f88437b468 Merge branch 'MDL-67348-master' of git://github.com/andrewnicols/moodle 2019-11-27 10:35:30 +08:00
Eloy Lafuente (stronk7)
21418c9942 Merge branch 'MDL-67300-master' of https://github.com/sammarshallou/moodle
(fix trailing whitespace case)
2019-11-26 22:30:05 +01:00
Jun Pataleta
9a37e86c6b Merge branch 'master_MDL-56886' of https://github.com/golenkovm/moodle 2019-11-26 22:32:48 +08:00
Sara Arjona
ae2746b6b2 Merge branch 'MDL-67210-master' of git://github.com/lucaboesch/moodle 2019-11-26 08:29:45 +01:00
Jake Dallimore
d0a4c05dda Merge branch 'MDL-67307' of https://github.com/stronk7/moodle 2019-11-26 14:14:50 +08:00
Jake Dallimore
afc430c90b Merge branch 'MDL-67042-master' of git://github.com/sarjona/moodle 2019-11-26 11:59:08 +08:00
Jun Pataleta
7d9c97ae80 Merge branch 'MDL-66966' of https://github.com/stronk7/moodle 2019-11-26 11:42:25 +08:00
Jake Dallimore
5906251ed2 Merge branch 'MDL-67222-master' of git://github.com/bmbrands/moodle 2019-11-26 10:12:29 +08:00
Mikhail Golenkov
ac8e6f8e19 MDL-56886 navigation: Allow local plugins to modify navigation via AJAX. 2019-11-26 12:11:00 +11:00
Andrew Nicols
d950843a6e MDL-67348 theme: Return CSS from localcache if available 2019-11-26 07:24:45 +08:00
Sara Arjona
f871370c55 Merge branch 'MDL-67342-master' of git://github.com/marinaglancy/moodle 2019-11-25 15:58:54 +01:00
Sara Arjona
ad0a95cc47 Merge branch 'MDL-66627-master' of git://github.com/mickhawkins/moodle 2019-11-25 15:41:47 +01:00
Bas Brands
cb4542b868 MDL-67222 tool_lp: update css classes for Bootstrap 4.3 2019-11-25 13:33:21 +01:00
Jun Pataleta
1eac44f128 Merge branch 'MDL-67217_master' of git://github.com/dmonllao/moodle 2019-11-25 16:13:01 +08:00
Sara Arjona
c1bd4a6760 Merge branch 'MDL-67168-master' of git://github.com/andrewnicols/moodle 2019-11-25 08:54:51 +01:00
Jun Pataleta
f05914739d Merge branch 'MDL-65956-master-1' of git://github.com/mihailges/moodle 2019-11-25 14:23:18 +08:00
Mihail Geshoski
68bd26ef2a MDL-65956 mod_assign: Add behat tests 2019-11-25 10:49:36 +08:00
Mihail Geshoski
8dc45b37b7 MDL-65956 mod_assign: Add proper capability checks and error handling 2019-11-25 10:49:21 +08:00
Adrian Greeve
cab756604b Merge branch 'MDL-67285-master' of git://github.com/andrewnicols/moodle 2019-11-25 10:28:56 +08:00
Jake Dallimore
d35fd6ee1b Merge branch 'MDL-67049' of https://github.com/stronk7/moodle 2019-11-25 09:33:42 +08:00
Luca Bösch
2e7f4fcefd MDL-67210 tool_uploadcourse: Allow only 0 and 1 for visible value. 2019-11-24 18:29:47 +01:00
Marina Glancy
4d2b8ece29 MDL-67342 theme_boost: Do not hardcode tooltip container 2019-11-24 13:42:48 +01:00
Sara Arjona
e49543e8e9 MDL-67042 customfield: Add behat tests to check hidden fields
Fields with the visibility different to Everyone should
be never displayed in the available filters custom field.
2019-11-22 09:57:10 +01:00
Sara Arjona
5a119f31f4 MDL-67042 customfield: Display only fields visible to everybody
When defining the available filters for the Dashboard, only the
fields visible to everyone should be displayed in the Custom field
filter.
2019-11-22 09:10:52 +01:00
Eloy Lafuente (stronk7)
88d88bd92e MDL-67307 core: Fix onject creation from empty value cases
The "creating default object from empty value" warning is now consistently
thrown if a falsy value is promoted into an stdClass object. Previously some
cases like `$null->prop[0] = $val` missed this warning.
2019-11-22 01:40:42 +01:00
Eloy Lafuente (stronk7)
8e98f82f12 MDL-67049 grading: options are array, ensure json_decode() knows it
By default json_decode() returns object for associative arrays. That
was not a problem till now becuause array_key_exists() worked with
objects too. But in php74 that emits a warning.

So we need to ensure that the information arriving to it is
an array, allowing everything to continue working ok.
2019-11-22 01:40:18 +01:00
Eloy Lafuente (stronk7)
544924eb90 MDL-66966 tcpdf: Update readme to point to manual commits to review
Apart from the main import of the library, there are a couple of
commits (with corresponding PRs upstream) that have been added to
provide php74 compatibility.

This commit addes them to the instructions, to ensure that they
will be reviewed on next import.
2019-11-22 01:40:09 +01:00
Eloy Lafuente (stronk7)
59a97b235f MDL-66966 tcpdf: Silence non-existing K_PATH_CACHE
I was fixing this adding a extra dir_exists() check that
is better than the silence operator but that was that already
there was a PR using @. So went to it.

This is https://git.io/JeKft
2019-11-22 01:40:09 +01:00
Eloy Lafuente (stronk7)
034988a10c MDL-66966 tcpdf: Some more curly braces to fix
This is https://git.io/JeKfT
2019-11-22 01:40:09 +01:00
Eloy Lafuente (stronk7)
3dc2e85e7f MDL-66966 tcpdf: PHP 7.4 - cannot use array offset on integers
This is https://git.io/JeKfU
2019-11-22 01:40:09 +01:00
Eloy Lafuente (stronk7)
fe503a3cfb MDL-66966 tcpdf: Bump to tcpdf 6.3.2
Bug fixes and php74 support.
2019-11-22 01:40:09 +01:00
David Monllaó
e477e1350a MDL-67217 unittest: usleep and windows don't get along well 2019-11-22 07:41:07 +08:00
Eloy Lafuente (stronk7)
a5f618d6a9 weekly on-sync release 3.9dev 2019-11-22 00:17:41 +01:00
sam marshall
584500d5ba MDL-67300 Calendar: Inconsistent behaviour of managegroupentries
When calling the calendar_get_allowed_event_types function with
no course id, it is supposed to return true if you have the
relevant permissions in any course.

For users who have the managegroupentries permission, this was not
the case - even though it works correctly if you call the function
with a supplied course id.

This change makes behaviour with and without a supplied course id
consistent.
2019-11-21 10:51:35 +00:00
Andrew Nicols
916d611684 MDL-67168 forum: Correct behaviour of viewfullnames 2019-11-21 15:42:42 +08:00
Jake Dallimore
e9b0505720 Merge branch 'MDL-67035' of https://github.com/stronk7/moodle 2019-11-21 11:55:07 +08:00
Jun Pataleta
d7fc8bda21 Merge branch 'MDL-66964' of https://github.com/stronk7/moodle 2019-11-21 11:36:33 +08:00
Tim Hunt
285c703685 MDL-48024 behat: allow plugins to have data generators
This extends the step
Given the following "users" exist:
to also support things like
Given the following "mod_quiz > user overrides" exist:

Instructions are on the behat_data_generators and
behat_generator_base classes.
2019-11-21 09:18:35 +08:00
Jake Dallimore
6f407fba72 Merge branch 'MDL-67030' of https://github.com/stronk7/moodle 2019-11-21 08:18:46 +08:00
Eloy Lafuente (stronk7)
c22af12f03 MDL-66964 markdown: add details to readme
The commit to apply, from upstream repo, is:

a35858f040

But it doesn't apply clean to our current 1.8.0 version.

So we have ended a slightly different version in core reproducing the same changes.
2019-11-20 10:57:51 +01:00