Commit graph

27108 commits

Author SHA1 Message Date
John Yao
d0734df404 MDL-65729 Backup: Split individual backups into ad-hoc tasks
* refactor run automated backup
* new backup status of Queued
* adhoc task for backing up a course
* course locking for course backup adhoc task
* use Moodle locking instead of custom locking for run automated backup task
* add unit tests to extracted methods
2019-12-04 15:10:23 +11:00
Andrew Nicols
96302b7aec Merge branch 'MDL-67359' of git://github.com/Chocolate-lightning/moodle_forum-project 2019-12-04 10:32:03 +08:00
Tim Hunt
45c4d4aa8c MDL-46123 accesslib: improve get_component_string 2019-12-03 23:11:11 +01:00
Sara Arjona
d3b25ffaa0 Merge branch 'MDL-67363-adhoc-qos' of https://github.com/brendanheywood/moodle 2019-12-03 12:08:29 +01:00
Shamim Rezaie
83a7336f57 MDL-67373 lib: Upgrade PHPmailer to 6.1.3 2019-12-03 21:11:40 +11:00
Andrew Nicols
28ce554e10 Merge branch 'MDL-65229-stop-cron' of https://github.com/brendanheywood/moodle 2019-12-03 14:59:30 +08:00
Brendan Heywood
0bcc273f63 MDL-65229 cron: Add cli option --stop to notify all cron to stop 2019-12-03 17:51:56 +11:00
Shamim Rezaie
35ca1475b5 MDL-67151 core_question: Support scientific format at question preview 2019-12-03 16:52:22 +11:00
Shamim Rezaie
2bfc16ad2a MDL-67151 forms: Support for the scientific format in the float element 2019-12-03 16:52:22 +11:00
Shamim Rezaie
ac384d1d88 MDL-67151 core: format_float can auto detect number of decimal points 2019-12-03 16:52:17 +11:00
Jake Dallimore
cdf835e9b5 Merge branch 'MDL-65693-http-head' of https://github.com/brendanheywood/moodle 2019-12-03 11:22:47 +08:00
Mathew May
6b55b28e38 MDL-67359 mod_forum: Relocate notification templates to reallign it 2019-12-03 10:35:33 +08:00
Adrian Greeve
e6d8792369 Merge branch 'MDL-54799-master' of git://github.com/crazyserver/moodle 2019-12-03 09:35:53 +08:00
Brendan Heywood
4971da0bfa MDL-67363 task: Add adhoc task quality of service balancing 2019-12-03 12:21:10 +11:00
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
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
Brendan Heywood
d46dba32d4 MDL-65693 files: Honor http HEAD requests for files 2019-11-30 16:02:23 +11:00
Pau Ferrer Ocaña
4ed6010a61 MDL-54799 webservice: Handle exception in WS format ASAP 2019-11-29 09:44:09 +01:00
Jun Pataleta
9a37e86c6b Merge branch 'master_MDL-56886' of https://github.com/golenkovm/moodle 2019-11-26 22:32:48 +08:00
Jake Dallimore
d0a4c05dda Merge branch 'MDL-67307' of https://github.com/stronk7/moodle 2019-11-26 14:14:50 +08:00
Jun Pataleta
7d9c97ae80 Merge branch 'MDL-66966' of https://github.com/stronk7/moodle 2019-11-26 11:42:25 +08:00
Mikhail Golenkov
ac8e6f8e19 MDL-56886 navigation: Allow local plugins to modify navigation via AJAX. 2019-11-26 12:11:00 +11:00
Jun Pataleta
1eac44f128 Merge branch 'MDL-67217_master' of git://github.com/dmonllao/moodle 2019-11-25 16:13:01 +08:00
Adrian Greeve
cab756604b Merge branch 'MDL-67285-master' of git://github.com/andrewnicols/moodle 2019-11-25 10:28:56 +08: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)
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
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
Jun Pataleta
6e35779a63 Merge branch 'MDL-67077' of https://github.com/stronk7/moodle 2019-11-20 16:08:30 +08:00
Jake Dallimore
bfd43d4351 Merge branch 'MDL-67034' of https://github.com/stronk7/moodle 2019-11-20 13:16:28 +08:00
Jake Dallimore
364d927bc4 Merge branch 'MDL-67029' of https://github.com/stronk7/moodle 2019-11-20 11:45:10 +08:00
Adrian Greeve
230ed37d49 Merge branch 'MDL-67017' of https://github.com/stronk7/moodle 2019-11-20 09:57:50 +08:00
Eloy Lafuente (stronk7)
20d4ecc409 MDL-67034 lti_provider: php74 fix (curly braces) for LTI Provider lib 2019-11-19 10:03:12 +01:00
Andrew Nicols
04e67878f9 MDL-67285 core: YUI dialogues must use focuslock
YUI Dialogues were using an older method for locking focus to modals,
but this way conflicts with the way in which we lock focus for AMD
modules.

As a result, when an AMD dialogue launches a YUI dialogue the focus is
not correctly locked and it is not possible to focus on anything in the
YUI dialogue.

This includes a minor changes to the focuslock AMD module to ensure that
it is possible to loop the focus in both directions. Many of our older
YUI dialogues are themselves focusable. As a result we need to include
the lock region in the calculation when calculating the possible
descendants.
If we do not do so then the reverse looping does not work.
2019-11-19 07:40:36 +08:00
Jun Pataleta
3299602276 Merge branch 'MDL-67073-master' of git://github.com/marinaglancy/moodle 2019-11-18 16:02:05 +08:00
Eloy Lafuente (stronk7)
492d047d11 MDL-67284 upgrade: add 3.8.0 separation line to all upgrade scripts 2019-11-17 11:40:19 +01:00
Eloy Lafuente (stronk7)
712a321db2 MDL-67077 h5p: php74 fix (curly braces) for the H5P lib
This has been sent also upstream @ https://github.com/h5p/h5p-php-library/pull/69
2019-11-16 20:04:04 +01:00
Eloy Lafuente (stronk7)
b69028e626 MDL-67034 google: php74 fix (curly braces) for the Google-Client lib 2019-11-16 20:03:37 +01:00
Eloy Lafuente (stronk7)
15c8da60d4 MDL-67034 adodb: php74 fix (curly braces) for the AdoDB lib 2019-11-16 20:03:37 +01:00
Eloy Lafuente (stronk7)
6b83451251 MDL-67034 horde: php74 fix (curly braces) for the Horde lib 2019-11-16 20:03:37 +01:00
Eloy Lafuente (stronk7)
30e5aca81d MDL-67030 htmlpurifier: add details to readme 2019-11-16 20:03:18 +01:00