cescobedo
74860627f2
MDL-68579 core_h5p: Add a check to avoid execute task using BEHAT
2020-05-11 10:15:01 +02:00
David Saylor
8a29ee1722
MDL-52904 completion: reference context in cron query
...
Co-authored-by: Barbara Lawrence <blawrence@harlow-college.ac.uk >
2020-05-04 09:58:06 +08:00
Mikhail Golenkov
3d20910e88
MDL-67980 tasks: Sort ad-hoc tasks by nextruntime.
2020-02-24 09:32:37 +11:00
Eloy Lafuente (stronk7)
9b1e5ee508
Merge branch 'MDL-52189_38' of https://github.com/jonof/moodle into MOODLE_38_STABLE
2020-01-28 22:45:14 +01:00
Mikhail Golenkov
2cb5e23006
MDL-67746 Tasks: Cleanup task logs in chunks.
2020-01-24 14:03:48 +11:00
Víctor Déniz Falcón
b80d4a6b26
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 18:56:38 +00:00
Colin Campbell
b4779307a2
MDL-52189 file: skip deleting temp files that appear during cleanup
2020-01-22 12:09:50 +10:00
Brendan Heywood
8e725dd819
MDL-67486 cron: Improve throughput by holding cron lock for less time
2020-01-12 00:45:02 +11:00
Mikhail Golenkov
70868d8648
MDL-67485 task: Release the task runner lock before throwing exception.
2020-01-09 14:49:38 +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
Amaia Anabitarte
57afd82ab0
MDL-64400 core_messages: Allow cron to delete unread notifications too
2018-12-27 09:15:53 +01:00
David Mudrák
8b52601b1a
MDL-64205 users: Do not delete the actual records of unconfirmed users
...
There is an automatic data privacy request created to get rid of all the
personal data upon the user deletion. With the actual user record
absent, the data privacy requests page throws an error. Let's do here
same as we do in `delete_incomplete_users_task` and let us not delete
the actual user record.
2018-11-25 06:55:23 +01:00
Adrian Greeve
b41e1d7c55
MDL-55188 events: Final deprecation of part of events 1 API.
2018-07-30 09:25:06 +08:00
Shamim Rezaie
da3c76158e
MDL-62251 task: Fix file_temp_cleanup_task::execute() bug in Windows
...
$CFG->tempdir might contain both / and \ in Windows. Therefore, we need to
call realpatch() to be able to compare that with another patch.
2018-05-10 18:39:49 +10:00
Matteo Scaramuccia
40d90f438a
MDL-60923 scheduled tasks: stale temp files in $CFG->backuptempdir too
2018-04-16 23:50:28 +02:00
Andrew Nicols
6ab10c3d77
Merge branch 'wip-MDL-56635-master' of git://github.com/marinaglancy/moodle
2018-04-04 11:27:11 +08:00