Petr Skoda
2f67a9b3a5
MDL-20700 whitespace terror returns yet again
2009-12-16 22:22:37 +00:00
Penelope Leach
70fbfb2c25
MDL-20596 - fixes to backup_course_silently and import_backup_file_silently
...
Merged from MOODLE_19_STABLE - even though backup/restore is broken in HEAD, for a reference for Eloy's backup 2.0
2009-11-09 13:05:39 +00:00
Petr Skoda
795b694516
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 15:39:15 +00:00
skodak
fc29e51b2d
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 18:34:43 +00:00
stronk7
0990f7aa99
towards db layer 2.0
2009-05-23 22:40:55 +00:00
stronk7
64acc5a55d
MDL-19246 restore - cleanup of "restoreto" options. Prev. site restrictions out. Merged from 19_STABLE
2009-05-22 15:02:44 +00:00
stronk7
73ac87a4a9
MDL-19084 - backup_course_silently() missing call to xxx__check_backup_mods()
...
causing quizzes to be incorrect (thanks Piers Harding) plus problems with users,
files and role assignments. Merged from 19_STABLE
2009-05-10 23:17:19 +00:00
tjhunt
4e1132a8c5
forum: MDL-19119 missing requires now course/lib.php is not included everywhere.
...
Put in most of the obvious missing require_once($CFG->libdir . '/completionlib.php');
2009-05-08 09:00:41 +00:00
danmarsden
062173b09b
MDL-18818 - don't define var if already defined - happens when these functions are called more than once at a time.
2009-04-15 02:16:17 +00:00
dongsheng
1ed8e660fd
"MDL-18540, change the uses of option"
2009-03-30 10:07:24 +00:00
dongsheng
7022dd3930
"MEMORY/MDL-18540,remove hard-coded php memory limit, added system setting for it, create a function reduce_memory_limit to reduce memroy limit and respect php.ini setting in the meanwhile, merged from 1.9"
2009-03-26 02:09:28 +00:00
danmarsden
bc7ec91a0d
MDL-12037 Backup Log - add new field to backup_log table to allow other backup related functions to save log data
2009-03-03 00:06:08 +00:00
stronk7
40c530f2d5
MDL-18066 import_backup_file_silently() - delete dangerous code ; merged from 19_STABLE
2009-02-06 01:56:14 +00:00
stronk7
8f7bd455d5
MDL-18066 import_backup_file_silently - reverting last commit. Merged from 19_STABLE
2009-01-30 13:19:19 +00:00
stronk7
569c693719
MDL-18066 - import_backup_file_silently - better handling of missing $USER. Merged from 19_STABLE
2009-01-30 09:58:59 +00:00
stronk7
0130c489f2
MDL-17886 backup & restore - Add some defaults to import_backup_file_silently()
...
Credit goes to Mark Nielsen. Thanks! ; merged from 19_STABLE
2009-01-23 23:29:44 +00:00
tjhunt
d61f7b7641
backup/restore: MDL-16614 more reliable test for when we are restoring a backup that was made of the same site that we are restoring to.
...
* Use this to fix a question restore bug.
* Replace older code that does something similar with the new test.
* Refactor initialisation of $CFG->siteidentifier into a function. There were about 4 copies of this code ;-)
2009-01-20 03:16:30 +00:00
skodak
eb6a973cdf
MDL-17847 moev backup_config to config_plugin table
2009-01-11 15:49:35 +00:00
skodak
f1953d38f3
MDL-17847 moved backup install.xml and upgrade.php to core
2009-01-10 20:03:08 +00:00
skodak
1b813f5c2a
MDL-17772 fixed guest access; MDL-17754 $USER object initialisation cleanup
2009-01-02 21:05:16 +00:00
skodak
eee5d9bb85
MDL-14956 DDL exceptions
2008-06-22 16:51:55 +00:00
jmg324
eb7687ea96
MDL-15223 need to default backup_blogs for backup_course_silently not to have PHP notice errors
2008-06-12 11:07:03 +00:00
skodak
294ce9870f
MDL-15189 magic quotes finally removed
2008-06-09 16:53:30 +00:00
skodak
a4e315c6d5
MDL-15094 fixed regression
2008-06-04 23:58:23 +00:00
skodak
9db7dab2ca
MDL-15095 towards restore lib dml conversion
2008-06-03 22:36:54 +00:00
skodak
ad4375ac7f
MDL-14679 towards /backup conversion
2008-06-01 14:46:48 +00:00
skodak
f33e1ed4ae
MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs
2008-05-15 21:40:00 +00:00
skodak
71f165a499
MDL-14599 removed support for old backup $CFG->dbtype.php upgrade and install support
2008-05-01 19:59:29 +00:00
dongsheng
5832a6f34b
MDL-14129, fix print_error call
2008-04-24 02:48:36 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
jmg324
68e3ffbbfa
added new gradebook preference for backup silently function to avoid notice errors later in backup process.
2008-03-25 15:40:23 +00:00
skodak
7f9bd1499b
MDL-13847 gradebook backup/restore fixes, xhtml strict fixes, other minor fixes; merged from MOODLE_19_STABLE
2008-03-17 19:56:41 +00:00
mjollnir_
2f13f94ccc
New feature: Command line installer. Credit: Dilan Anurudda.
...
This was a Google Summer of Code 2007 Project.
This introduces two new files, admin/cliupgrader.php and lib/installlib.php.
It also introduces a new PEAR library, Console_GetOpt. I have recieved permission from the upstream author to include this in GPL Moodle (essentially dual license it) - notes in lib/pear.
Most stuff that outputs html during install gets suppressed by the use of a constant.
Run the script like php admin/cliupgrade.php --help for info.
Note that this all uses strings from install/ rather than lang, so I have updated stringnames.txt accordingly and they'll all be broken until the cronjob that generates them runs.
2008-01-07 01:54:28 +00:00
skodak
220a90c5a1
MDL-11561 admin tree improvements and bugfixing
2007-12-19 17:35:20 +00:00
nicolasconnault
96515c3cc8
MDL-11912 Removed recursive param
2007-10-31 19:04:33 +00:00
nicolasconnault
ed818bbdbf
MDL-10905 iterating correctly with readdir (as shown in php doc)
2007-10-15 05:18:58 +00:00
nicolasconnault
907ef7f89a
MDL-8605 using remove_dir instead of rmdir, which doesn't support deleting non-empty directories
2007-10-12 20:25:45 +00:00
nicolasconnault
ddaadc7c78
MDL-8605 More changes to upgrade and restore, and some unit tests with db and rs mock objects
2007-10-12 19:13:18 +00:00
tjhunt
f8f95b454a
MDL-10898 - Option to back up only selected role assignements when backing up a course with users.
2007-09-25 14:44:53 +00:00
nicolasconnault
2de7b82759
MDL-10723 Another file that escaped the update
2007-09-10 04:58:09 +00:00
nicolasconnault
e295df447f
MDL-10870 All files updated to new build_navigation() method.
2007-08-17 11:18:58 +00:00
skodak
e0aac7f323
MDL-10383 - some more groupings related restore problems fixed - groupings are now restored before course sections+course_modules - groupingsids now restored properly in course_modules table; fixed object initialization; fixed typos when restoring course modules that were causing missing group mode
2007-08-15 10:43:25 +00:00
toyomoyo
f23dea666c
replacing _NULL_ with $@NULL@$ during backup/restore
2007-08-13 02:23:10 +00:00
toyomoyo
e814e7d79c
MDL-10770, support null fields in backup/restore
2007-08-10 05:22:20 +00:00
jamiesensei
3bee1ead40
merging MOODLE_19_QUESTIONS with HEAD
2007-08-09 21:50:59 +00:00
mjollnir_
9e3775dbc2
Backup refactor: moved backup_execute.html into functions, added new backup_course_silently function as proof of concept (matches import_backup_file_silently)
2007-03-23 06:14:40 +00:00
skodak
348d6827b3
MDL-7722 fixed wrong cleaning in backup paths
2007-02-15 09:43:14 +00:00
skodak
8891e81c92
MDL-8469 - 192M is much nicer than 196M
2007-02-14 20:58:31 +00:00
skodak
4eefee9779
MDL-8469 increase memory limit everywhere due to changed calculation of used memory in PHP 5.2.x - the real memory useage is the same, but the reported size of used memory is now more accurate
2007-02-14 20:46:38 +00:00
skodak
371a32e308
(MDL-8250) install/upgrade autopilot
2007-01-22 20:15:12 +00:00