32 Commits

Author SHA1 Message Date
Dan Poltawski
098312b149 Merge branch 'wip-mdl-30051' of git://github.com/rajeshtaneja/moodle 2012-04-10 11:05:59 +08:00
David Mudrak
19d11b3b34 MDL-20438 introducing the cron_notifications() method
This method accepts all detected changes in cron-based fetch and picks
those the site admins want to be informed about (based on the maturity
level etc).
2012-03-30 11:05:42 +02:00
Rajesh Taneja
a415ecc21c MDL-30051 cron: login error sql is now cross db 2012-03-30 16:48:31 +08:00
Petr Skoda
e2bb3c9275 MDL-32094 some more E_STRICT fixes 2012-03-18 20:40:20 +01:00
Tim Hunt
c2f5e2ab81 MDL-30635 enable standard cron for all question and quiz plugin types.
* Support for old non-standard cron for quiz reports dropped. (Standard
cron support was added in 2.2

* Cron support added for qbehaviour, qformat and quizacces plugins.

* qtypes were already supported in the standard way.
2012-01-06 18:42:35 +00:00
Petr Skoda
daa8b1ac06 MDL-30948 do not generate new passwords for suspended accounts because they would not get any emails 2012-01-03 16:48:15 +01:00
Petr Skoda
4332cc468c MDL-29670 add more timeout resets 2011-10-25 22:07:04 +02:00
Petr Skoda
50ed196e51 MDL-29670 cron cleanup and minor fixing
Auth and enrol is moved to the top because other plugin types depend on accurate user list and enrolments. Passwords and failed login messages are generated during every cron execution.  Contexts are build properly in each execution. Fixed deleting of unconfirmed users. And minor phpdocs and comments improvements.
2011-10-22 14:31:18 +02:00
Sam Hemelryk
f08d258cd4 Merge branch 'master_MDL-29519' of git://github.com/danmarsden/moodle 2011-09-27 14:09:18 +13:00
Petr Skoda
67a6243ad4 MDL-29509 add cron support for admin tools 2011-09-27 00:39:19 +02:00
Dan Marsden
8cf1862ccc MDL-29519 move plagiarism cron to after event queue 2011-09-26 13:15:15 +13:00
Petr Skoda
f91f3f63a7 MDL-28182 always use full user object when deleting users 2011-07-22 22:46:32 +02:00
Tim Hunt
a2ac234956 MDL-20636 Merge remote-tracking branch 'moodle/master' into upgrade
Conflicts:
	lib/filestorage/file_storage.php
	mod/quiz/attemptlib.php
	mod/quiz/lib.php
	mod/quiz/mod_form.php
	mod/quiz/report/overview/overview_table.php
	mod/quiz/report/overview/report.php
	mod/quiz/report/responses/report.php
	mod/quiz/report/responses/responses_table.php
	mod/quiz/report/statistics/db/install.xml
	mod/quiz/report/statistics/qstats.php
	mod/quiz/report/statistics/report.php
	mod/quiz/report/statistics/statistics_question_table.php
	mod/quiz/report/statistics/statistics_table.php
	mod/quiz/report/statistics/version.php
	mod/quiz/review.php
	mod/quiz/reviewquestion.php
	mod/quiz/startattempt.php
	mod/quiz/styles.css
	mod/quiz/view.php
	question/type/essay/questiontype.php
	question/type/match/backup/moodle2/backup_qtype_match_plugin.class.php
	question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php
	question/type/numerical/display.html
	question/type/numerical/questiontype.php
	question/type/questiontype.php
	question/type/random/questiontype.php
	question/type/shortanswer/questiontype.php
	theme/base/style/question.css
2011-05-11 20:29:49 +01:00
Petr Skoda
bc61aa4085 MDL-26803 add missing forcing of password reset when new password created in cron 2011-03-16 19:59:33 +01:00
Tim Hunt
f255782339 MDL-20636 You can now create a quiz, and edit the settings.
Little else works, but this is just the first step.
2011-02-09 20:18:06 +00:00
sam marshall
cd092eceee cron MDL-25370 Update to use simpler api to get component directory 2010-12-23 10:32:42 +00:00
sam marshall
e4a626b983 cron MDL-25370 Update Petr's changes to fix bug regarding lastcron, add comments/doc 2010-12-21 16:37:22 +00:00
Petr Skoda
b554173562 MDL-25370 general cron support for nearly all plugin types 2010-12-21 15:18:29 +00:00
sam marshall
546380244f cron MDL-25370 Added support for course report cron
- Adds support for course report cron
- Moves existing admin report cron support to end of cron function
- Adds new core API get_plugin_list_with_function

note: default shipping course and admin reports do not use cron
function, this is only to support plugins.
2010-12-13 13:00:44 +00:00
Eloy Lafuente
cbb9e9b8b4 MDL-25310 backup - some minor tasks related to cleaning/old options 2010-11-18 21:34:01 +00:00
Sam Hemelryk
bac233d326 backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
 MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
 MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
 MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
 MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
 MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
 MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
 CPY [schedule,core],[automatedbackupschedule,core_backup]
 MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
Andrew Davis
46505ee75e message MDL-24694 removed references to user->emailstop. the column itself will be removed in a later version 2010-11-05 08:04:40 +00:00
Andrew Davis
7868480ab3 message MDL-24879 removed commented out code 2010-10-28 04:00:38 +00:00
Andrew Davis
212badff4d message MDL-24879 added something to cron to remove read notifications 2010-10-28 03:59:40 +00:00
Petr Skoda
41209c1e0f MDL-24751 upgrades may need more memory 2010-10-19 10:17:48 +00:00
Petr Skoda
346c5887b1 MDL-24751 using new memory constants 2010-10-19 10:13:15 +00:00
Petr Skoda
c22473a214 MDL-24751 fixed default memory limit when deciding to use apache_child_terminate(), apache_child_terminate() is now called from one place only 2010-10-19 10:00:29 +00:00
Petr Skoda
4c56c7bf0c MDL-24726 prevent cron execution when upgrade pending 2010-10-18 17:06:44 +00:00
Petr Skoda
9957af6810 MDL-24723 prevent cron execution in CLI maintenance mode 2010-10-18 12:52:25 +00:00
Dan Marsden
bce59524ce Plagiarism API MDL-13680 add plagiarism support for user submitted files - currently only added to single and advanced Assignment types - other modules to come in future. 2010-09-20 07:32:31 +00:00
Petr Skoda
f685e83030 MDL-14679 fixed remaining old style set_field()s 2010-09-03 18:14:55 +00:00
Petr Skoda
28bd3d9ad3 MDL-23824 CLI script improvements - just define('CLI_SCRIPT', true) before require config.php; all incorrect uses of cli and web scripts are detected; refactored cron script - now in two separate sctipts; fix cli inline docs and help - we have to sudo to apache account; standardised cli script locations in auth plugins 2010-08-17 12:33:30 +00:00