Mikhail Golenkov
e63040d02b
MDL-67980 tasks: Sort ad-hoc tasks by nextruntime.
2020-02-24 09:30:09 +11:00
Eloy Lafuente (stronk7)
f5cb242afd
Merge branch 'MDL-52189' of https://github.com/jonof/moodle
2020-01-28 22:43:22 +01:00
Mikhail Golenkov
8dff481193
MDL-67746 Tasks: Cleanup task logs in chunks.
2020-01-24 13:53:34 +11: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
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
Mikhail Golenkov
97324e082a
MDL-67502 backup: Fix moodle_exception path.
2019-12-13 09:40:38 +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
Brendan Heywood
4971da0bfa
MDL-67363 task: Add adhoc task quality of service balancing
2019-12-03 12:21:10 +11:00
Victor Deniz Falcon
5315acb47c
MDL-67058 core_h5p: task to get latest content types version from H5P
2019-11-06 18:17:34 +00:00
David Monllaó
bf25fb166c
MDL-65585 analytics: Global on/off switch
2019-10-10 10:06:31 +08:00
Andrew Nicols
e044c3debe
MDL-66570 admin: Add setting to hide captured cron log output
2019-09-17 14:03:31 +08:00
Cameron Ball
315e4342f1
MDL-66279 task: Test if logger is_a database_logger
2019-07-30 14:49:27 +08:00
David Mudrák
07839e6af3
MDL-65694 grade: Fix missing gradelib library
...
In the be8f453b74 the gradelib loading was removed by mistake. So
the library may not be loaded and executing the task may end with
the exception - class 'grade_grade' not found.
2019-05-23 10:45:55 +02:00
Adrian Greeve
cbe23e7666
Merge branch 'MDL-64851-master' of https://github.com/s-cenni/MDL-64851
2019-05-03 10:43:28 +08:00
sam marshall
ef3f92c70a
MDL-65459 Logging: Missed two points relying on non-JSON log format
2019-05-01 12:11:17 +01:00
Jake Dallimore
26a94308ee
Merge branch 'MDL-65276-master' of git://github.com/lameze/moodle
2019-04-30 20:47:26 +02:00
Sara Cenni
d78d97de8c
MDL-64851 badge: reviewing badges of invisible courses
2019-04-12 09:50:33 +02:00
Adrian Greeve
29bc29ed4f
Merge branch 'master_MDL-28505_Asynchronous_backup_and_restore' of https://github.com/mattporritt/moodle
2019-04-09 10:00:23 +08:00
Matt Porritt
2cd901a4e7
MDL-28505 Backup: Asynchronous backup and restore
...
This patch adds asynchronous backup and restore functionality
to Moodle. This is an optional feature and is not enabled by
default. It can be enabled by site administrators.
Asynchronous backup and restores are actioned by the Moodle
adhoc task API. The progress of backup and restores is
displayedin the Moodle UI. Users can also be sent a message
when a backup or restore operation completes via the
Moodle messaging API.
2019-04-09 00:15:42 +00:00
Eloy Lafuente (stronk7)
dabc69afe5
Merge branch 'MDL-65191-master' of git://github.com/lameze/moodle
2019-04-09 00:46:47 +02:00
Simey Lameze
846c585910
MDL-65276 core: fix CiBoT complains
2019-04-08 10:30:09 +08:00
Simey Lameze
ea9428be7b
MDL-65276 core: move functions to completion_regular_task
...
This commit shifts the content of legacy completion_cron_criteria()
and completion_cron_completions() functions to completion_regular_task.
Also, those functions are deleted as part of this commit.
2019-04-05 13:44:53 +08:00
Simey Lameze
a5a0d10e70
MDL-65276 core: convert legacy cron function to task
2019-04-05 13:38:07 +08:00
Simey Lameze
48a4b33a4b
MDL-65191 core: convert legacy cron to scheduled task
2019-04-04 09:36:20 +08:00
Simey Lameze
2b40d66b65
MDL-65191 core_badges: add badges_message_task task
2019-04-04 09:36:20 +08:00
Simey Lameze
6e049bdbc6
MDL-65050 core: add missing lib file include
2019-04-01 15:59:03 +08:00
Simey Lameze
9c164d26fc
MDL-65050 core: add question_stats_cleanup_task scheduled task
...
This commit also removes orphaned question/engine/statisticslib.php
2019-04-01 12:57:05 +08:00
Simey Lameze
10810f421b
MDL-65050 core: move function code to question_preview_cleanup_task
...
This commit also deletes the legacy question_preview_cron() function.
2019-04-01 12:57:05 +08:00
Simey Lameze
5a01c2409a
MDL-65050 core: rename task to question_preview_cleanup_task
2019-04-01 12:57:01 +08:00
Eloy Lafuente (stronk7)
199d0b01e1
Merge branch 'MDL-65044-master' of git://github.com/lameze/moodle
2019-03-27 22:47:30 +01:00
Eloy Lafuente (stronk7)
18f460edea
Merge branch 'MDL-65047-master' of git://github.com/lameze/moodle
2019-03-27 22:30:18 +01:00
Simey Lameze
3528bce1a6
MDL-65051 plagiarism: convert legacy cron function to task
2019-03-27 11:34:04 +08:00
Simey Lameze
5acef15175
MDL-65044 core: add task for grade history cleanup
2019-03-27 11:17:36 +08:00
Simey Lameze
219422e420
MDL-65047 core: convert legacy cron to scheduled task
2019-03-22 13:13:55 +08:00
Simey Lameze
be8f453b74
MDL-65044 core: convert legacy cron to scheduled task
2019-03-22 09:46:30 +08:00
Dmitrii Metelkin
2085e8603a
MDL-62869 search: implement searching for all courses
2019-03-01 07:18:37 +11:00
Andrew Nicols
b51b696927
MDL-46881 core: Allow adhoc tasks to be rescheduled
2019-01-30 10:55:48 +08:00
Andrew Nicols
4129d898f7
MDL-46881 forum: Tidy up trace variables
2019-01-30 10:55:48 +08:00
Andrew Nicols
28fd710f84
MDL-46881 core_task: Add a logging trait
2019-01-30 07:48:38 +08:00
Andrew Nicols
987d112340
MDL-49399 task: Remove hardcoded LIMIT
2019-01-17 08:02:24 +08:00
Andrew Nicols
cca12f68d0
MDL-49399 core: Allow creation of a new per-request basedir
...
Shutdown handlers are processed in order. If something in a shutdown
handler uses a file which is stored in a per-request directory, and
another, unrelated, per-request directory was created before the handler
started. then a fresh per-request directory will be required.
2019-01-16 12:14:25 +08:00
Andrew Nicols
8c69e86cd4
MDL-49399 task: Add admin log viewer
...
AMOS BEGIN
CPY [eventstarttime,core_calendar],[task_starttime,core_admin]
CPY [eventduration,core_calendar],[task_duration,core_admin]
CPY [result,core_cache],[task_result,core_admin]
CPY [database,install],[task_dbstats,core_admin]
CPY [fail,install],[task_result:failed,core_admin]
AMOS END
2019-01-16 12:14:25 +08:00
Andrew Nicols
4b71596fc9
MDL-49399 task: Add task logging API
2019-01-16 12:14:25 +08:00