Commit graph

1688 commits

Author SHA1 Message Date
Brendan Heywood
516c8aa506 MDL-67861 libraries: Refactor is_ip_in_subnet_list in ip_utils 2020-03-05 01:28:04 +01:00
Jun Pataleta
9585a6fdf7 Merge branch 'MDL-67584-integration-2' of https://github.com/Chocolate-lightning/moodle 2020-02-27 12:36:33 +08:00
Mathew May
6e1a4477d8 MDL-67584 core_course: Activity chooser favouriting frontend 2020-02-27 12:13:35 +08:00
Mikhail Golenkov
e63040d02b MDL-67980 tasks: Sort ad-hoc tasks by nextruntime. 2020-02-24 09:30:09 +11:00
Eloy Lafuente (stronk7)
245ac91748 Merge branch 'MDL-67309' of https://github.com/Peterburnett/moodle 2020-02-17 22:40:45 +01:00
Peter Burnett
59298ccebc MDL-67309 login: Added check for password policy at login time. 2020-02-17 09:55:07 +10:00
Peter Dias
1cb6c0bb31 MDL-63032 core: Update the timezone to the latest windows list 2020-02-11 07:17:23 +08:00
Andrew Nicols
af3de26941 Merge branch 'MDL-67175-master' of git://github.com/andrewnicols/moodle 2020-02-07 08:08:43 +08:00
Brendan Cox
86b082cece MDL-67175 session: set SameSite=None for Chrome 78 and above
Totara reference TL-22311 (original code by Brendan Cox and Sam Hemelryk)
a3f4de2b7e
2020-02-07 08:05:14 +08:00
Eloy Lafuente (stronk7)
fbde0a7798 Merge branch 'MDL-67052-mysql-locks' of https://github.com/brendanheywood/moodle 2020-02-03 19:32:58 +01:00
Brendan Heywood
262061d661 MDL-67052 locks: Added a native MySQL / MariaDB lock implementation 2020-01-30 09:20:10 +11:00
Eloy Lafuente (stronk7)
fd27c57901 Merge branch 'wip-MDL-67545-master' of https://github.com/Beedell/moodle 2020-01-29 19:28:56 +01:00
Adrian Greeve
aa78c654ba Merge branch 'MDL-67768-master-componentdirs' of git://github.com/mudrd8mz/moodle 2020-01-29 10:01:08 +08:00
Eloy Lafuente (stronk7)
f5cb242afd Merge branch 'MDL-52189' of https://github.com/jonof/moodle 2020-01-28 22:43:22 +01:00
Eloy Lafuente (stronk7)
2aa92150a6 Merge branch 'MDL-57755_master' of https://github.com/t-schroeder/moodle 2020-01-28 10:26:32 +01:00
David Mudrák
3f82b17927 MDL-67768 core: Add some common dirs to core_component::$ignoreddirs
The core_component::$ignoreddirs lists all directories that are reserved
and cannot be used as valid plugin names. This is particularly important
for some plugin types such as 'webservice' that share the same root
location as the core subsystem of the same name.
2020-01-28 10:18:25 +01:00
John Beedell
7aa3444d72 MDL-67545 Antivirus: new option for clam scan failure 2020-01-24 13:05:45 +00:00
Tim Schroeder
1ccc7e6600
MDL-57755 message: fix notificaiton read status when messaging disabled 2020-01-24 08:59:12 +01:00
Mikhail Golenkov
8dff481193 MDL-67746 Tasks: Cleanup task logs in chunks. 2020-01-24 13:53:34 +11:00
Eloy Lafuente (stronk7)
cb701f77b4 Merge branch 'MDL-67296-master' of git://github.com/vmdef/moodle 2020-01-22 23:46:06 +01:00
Víctor Déniz Falcón
d8fe1eddf9 MDL-67296 core_h5p: minor changes
core.php-Avoid to use the factory for each content type
h5p_get_content_types_task-new method to simplify test execution
framework.php-returns error if you get a 404 response after requesting a file
2020-01-22 14:48:16 +00:00
Colin Campbell
eeca35e4ad MDL-52189 file: skip deleting temp files that appear during cleanup 2020-01-22 12:10:00 +10:00
Adrian Greeve
c282319a35 Merge branch 'MDL-59594-SIGINT' of https://github.com/brendanheywood/moodle 2020-01-20 10:39:20 +08:00
Andrew Nicols
4aa4d44a41 Merge branch 'mdl-59562' of https://github.com/Peterburnett/moodle 2020-01-16 12:10:31 +08:00
Peter Burnett
72aac06304 MDL-59562 core: updated type hint of new function 2020-01-16 13:05:30 +10:00
Andrew Nicols
2bdad64e48 Merge branch 'MDL-67486-swap-cron-lock' of https://github.com/brendanheywood/moodle 2020-01-15 13:53:22 +08:00
Andrew Nicols
30afac71d3 Merge branch 'mdl-59562' of https://github.com/Peterburnett/moodle 2020-01-15 13:51:04 +08:00
Peter Burnett
4fac690ace MDL-59562 core: changed branch behaviour during initial install. 2020-01-15 15:46:46 +10:00
Andrew Nicols
20a7746b1e Merge branch 'mdl-59562' of https://github.com/Peterburnett/moodle 2020-01-15 12:40:19 +08:00
[Peter Burnett]
147a895ad0 MDL-59562 upgrade: Plugins can declare supported moodle versions
* Plugins can now explicitly declare supported and incompatible Moodle
  versions in version.php
  - $plugin->supported[37,39];
    supported takes an array of ascending numbers, that correspond to a
    range of branch numbers of supported versions, inclusive. Moodle
    versions that are outside of this range will produce a message
    notifying at install time, but will allow for installation.

  - $plugin->incompatible = 36;
    incompatible takes a single int corresponding to the first incompatible
    branch. Any Moodle versions including and below this will be prevented
    from installing the plugin, and a message will be given when
    attempting installation.
2020-01-15 14:38:27 +10:00
Brendan Heywood
176b5202e0 MDL-59594 cli: Introduce cli helpers for graceful exits
\core\local\cli\shutdown::script_supports_graceful_exit();

    Sets up interception of exit signals and keep the script running.

    \core\local\cli\shutdown::should_gracefully_exit();

    Use this to check whether you should exit, often inside a long running loop.
2020-01-12 01:20:04 +11:00
Brendan Heywood
29e3a223f5 MDL-59594 core: Allow custom signal handlers 2020-01-12 01:20:04 +11:00
Brendan Heywood
b0544ce211 MDL-67486 cron: Improve throughput by holding cron lock for less time 2020-01-12 01:02:57 +11:00
Andrew Nicols
217a9b1ca0 Merge branch 'master_MDL-67485' of https://github.com/golenkovm/moodle 2020-01-09 12:39:28 +08:00
Mikhail Golenkov
6b2e15f6c5 MDL-67485 task: Release the task runner lock before throwing exception. 2020-01-09 14:29:58 +11:00
Mikhail Golenkov
1d0b74b2a3 MDL-64610 task: Add support for per-task concurrency limits. 2020-01-02 16:05:47 +11:00
Jake Dallimore
24c2106293 Merge branch 'MDL-67483-qos-perf' of https://github.com/brendanheywood/moodle 2019-12-19 09:31:28 +08:00
Brendan Heywood
c7ce7601a3 MDL-67483 tasks: Improvements to adhoc task queue at very high scale 2019-12-19 10:49:16 +10:00
Eloy Lafuente (stronk7)
a9e4fa8e95 Merge branch 'master_MDL-66972_Streaming_file_types' of https://github.com/mattporritt/moodle 2019-12-18 19:39:18 +01:00
Eloy Lafuente (stronk7)
acfba73137 Merge branch 'MDL-65722-no-lock-db' of https://github.com/brendanheywood/moodle 2019-12-17 10:10:15 +01:00
Mikhail Golenkov
97324e082a MDL-67502 backup: Fix moodle_exception path. 2019-12-13 09:40:38 +11:00
Brendan Heywood
cdf3fe7b7e MDL-65722 core_lock: Avoid DB calls in postgres lock by using a hash 2019-12-11 12:49:03 +11:00
Matt Porritt
bdf62bba35 MDL-66972 Files API: Add Streaming file mime type support
Adds file type support for the streaming .fmp4, .ts, .m3u8, and .mpd media formats,
so that correct mime type is stored in the database and sent in
headers when files are served. Also update existing mime types for
stored files.
2019-12-08 06:10:01 +11:00
Adrian Greeve
528b979a60 Merge branch 'master-MDL-65729' of https://github.com/yao9394/moodle 2019-12-04 14:11:51 +08:00
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
Mathew May
6b55b28e38 MDL-67359 mod_forum: Relocate notification templates to reallign it 2019-12-03 10:35:33 +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
76b6e6ca08 Merge branch 'MDL-67174' of https://github.com/paulholden/moodle 2019-11-09 08:59:41 +01:00
Jun Pataleta
2e809ec27c Merge branch 'MDL-66893-master-3' of https://github.com/ryanwyllie/moodle 2019-11-08 11:59:44 +08:00