vyshane
9a7538a35b
Fixed notice
2006-08-23 06:56:23 +00:00
skodak
dedb2304cd
upgrade logging cleanup, fixes - more improvements ahead
2006-08-17 22:37:34 +00:00
skodak
8549af11d1
fixed upgrade success notification, backup and blocks success messages are not red anymore...
2006-08-14 08:37:19 +00:00
stronk7
615b4a1391
An example of how one unitialized variable can generate really
...
dificult-to-trace bugs. Thanks to Jens Gammelgaard and support B-)
(http://moodle.org/bugs/bug.php?op=show&bugid=6233 )
Merged from MOODLE_16_STABLE
2006-08-12 09:14:40 +00:00
skodak
583fad994c
Bug #5352 - upgrade might be interrupted by user - upgrades are now logged into moddata/upgradelogs/, user abor is ignored and concurrent running of upgrades is prevented from one browser
2006-08-01 07:46:19 +00:00
skodak
15a6cf334f
Bug #6099 - Restore alternatively failing on data module - fixed status codes of module restore process; merged from MOODLE_16_STABLE
2006-07-13 15:38:03 +00:00
tjhunt
a36f058e53
Bug 6101 - Automatically scroll to any errors when upgrading the database. JavaScript thanks to Andrew Walker. PHP changes are my fault.
2006-07-13 09:48:56 +00:00
stronk7
062a84a62a
Columns cannot be null anymore. Bug 5343.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5343 )
Please document it in coding guidelines!!!
2006-04-28 23:42:12 +00:00
skodak
25580a01bc
finally now the restore should work and with correct unicode related coding style, sorry
2006-03-07 19:53:56 +00:00
skodak
c07549b6e2
fixed coding style of unicode db detection
2006-03-06 20:30:00 +00:00
skodak
fd5ca378e6
fixed UTF-8 restore problems caused by utf8_restore
2006-03-03 22:22:07 +00:00
mjollnir_
510b75ae64
Merged from MOODLE_15_STABLE: Moved check_dir_exists function from backup/lib.php to moodlelib
2006-02-02 20:30:34 +00:00
stronk7
b1a88d0413
Part of Bug 4583. Now backup tables are moodle-style compliant.
...
Also, the 4th parameter used in insert_record() has been erased
to avoid the bug itself. PortgreSQL upgrade not tested!
(http://moodle.org/bugs/bug.php?op=show&bugid=4583 )
2006-01-16 10:23:48 +00:00
mjollnir_
f90666aa5c
Abstracted a bit of the restore procedure to allow for silent restoring.
...
Added new function, import_backup_file_silently
Changed everything that prints stuff to check for a constant first.
Backup_flush checks a different constant, this is so that output can still
get flushed to the browser when necessary but not print <li>s everywhere.
Please test this!
2006-01-15 21:09:13 +00:00
stronk7
9704c86631
Split line into two separated commands to allow people with
...
chmod disabled to run backup/restore code. Credits go to
Grigory Rubtsov. Bug 4299.
(http://moodle.org/bugs/bug.php?op=show&bugid=4299 )
Merged from MOODLE_15_STABLE
2005-11-08 19:33:21 +00:00
mjollnir_
d27920b9ad
Merged from MOODLE_15_STABLE Fix for bug 3508 -- only do the clam log on backup/restore for restoring course/user/group files, not for temp backup data
2005-06-16 02:33:42 +00:00
stronk7
41bac9d0af
The get_directory_list() function was being executed with
...
directories excluded so backup_delete_old_dirs() was no
working fine! This should delete REALLY old dirs in sites
with problems in their scheduled backup.
Merged from MOODLE_14_STABLE
2004-09-24 11:51:12 +00:00
mjollnir_
8930f90071
Logging new file paths from backup/restore. Since the files don't have any metadata, we're logging against the logged in user (ie, the teacher restoring the course).
...
These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3
Index of arch patches in this commit:
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-85
2004-09-20 05:33:06 GMT
Penny Leach <penny@catalyst.net.nz>
adding log entries when restoring files
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-86
2004-09-20 05:34:59 GMT
Penny Leach <penny@catalyst.net.nz>
fix related to logging uploads
Full logs:
Revision: moodle--eduforge--1.3.3--patch-85
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Mon Sep 20 17:33:06 NZST 2004
Standard-date: 2004-09-20 05:33:06 GMT
Modified-files: backup/lib.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-85
Summary: adding log entries when restoring files
Keywords:
Revision: moodle--eduforge--1.3.3--patch-86
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Mon Sep 20 17:34:59 NZST 2004
Standard-date: 2004-09-20 05:34:59 GMT
Modified-files: lib/uploadlib.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-86
Summary: fix related to logging uploads
Keywords:
2004-09-20 05:51:42 +00:00
gustav_delius
7ef0797dea
some fixes for XHTML compliance
2004-09-12 01:34:24 +00:00
stronk7
dfd0229026
Modified to delete temp files older than 4 hours (previously it was
...
configured to 48 hours). Force to execute the clean before doing the
backup itself. This should avoid the disk full of temp backup files
issue. See bug 1520.
http://moodle.org/bugs/bug.php?op=show&bugid=1520
Changes merged from MOODLE_13_STABLE.
2004-06-27 22:35:27 +00:00
stronk7
0f3fe4b6ad
First Official realease of the "Blocks System".
...
Integrated with Moodle:
- Install automatically.
- Update course->blockinfo for each course at installation time.
- Modified course creation to insert into blockinfo field.
- Modified restore to insert into blockinfo field.
- Admin options (hide, show, delete, config) from admin page.
- Lang strings inserted (en only).
- Database support to mysql and postgresql (not tested!!).
Moodle, backup and block versions updated to 2004041800.
Tested with mysql: Install fresh and upgrade from previous.
section_activities block renamed to social_activities and created
its own lang file to support name "Social Activities". This can
be changed at any time.
TODO:
=====
Support it really in backup/restore.
????
Enjoy!! Ciao :-)
2004-04-18 23:20:53 +00:00
stronk7
01f50e060e
First attempt to encode/decode some absolute path parts
...
in the backup/restore process in order to have every call to file.php
working in destination courses. Specially useful to contents created
with th HTML editor because it uses this type of URLs to images, smiles...
NOTE: This make 1.3 backups not restorable in 1.2 systems !!
2004-04-01 23:31:56 +00:00
stronk7
2ecad74265
First version of restore logs !!
...
It restores:
course logs
user logs
Todo:
module logs
Coming soon :-)
2004-02-13 23:28:45 +00:00
stronk7
3a4b33c3b9
Now course->lang is in backup & restore.
2004-02-09 22:24:34 +00:00
stronk7
29856bcba0
Now everything seems to work fine with the new insert_record() function.
...
Please, test :-)
2004-01-30 19:04:07 +00:00
stronk7
6be18d4f75
Solved one important issue when restoring users due to a bug in
...
revision 1.44, when solving bug 946. Tons of thanks to Jacob Romeyn
detecting it.
2004-01-29 00:12:17 +00:00
stronk7
d8e24b78ea
Changed code to use the insert_record() function in
...
the backup/restore backup_putid() function. To solve
bug 946 (http://moodle.org/bugs/bug.php?op=show&bugid=946 ).
2004-01-04 12:48:33 +00:00
stronk7
97a49e63ed
Take out one notice...
2003-12-01 20:38:09 +00:00
stronk7
37afa39a5e
Added support in copy_zip_to_course_dir() to save course
...
backup file in a custom directory (via $preferences->backup_destination).
Needed in scheduled backups.
2003-12-01 20:25:50 +00:00
stronk7
49b95c3068
Return backup_config records as an object instead of an array.
2003-11-27 23:33:20 +00:00
stronk7
de4746a8a2
Initial release of the configure backup.
...
It now uses backup_config instead of config.
Not finished !!
2003-11-27 23:28:29 +00:00
stronk7
f654deea11
Now, when copying files/folders, CFG->directorypermissions is forced
...
(previously permissions were copied from original)
2003-10-13 22:44:41 +00:00
stronk7
41923e7511
Solved one problem when copying empty directories.
2003-08-23 17:33:34 +00:00
stronk7
6a0e7bafd4
XML support
2003-08-21 22:54:47 +00:00
moodler
81d3268da1
Remove login link on first install
2003-08-07 06:56:34 +00:00
stronk7
35ea159433
delete_dir_contents function now allows excluding a dir
2003-08-03 00:40:08 +00:00
stronk7
e9346b95b7
backup_release is now saved to config too. It was losed in lastest changes
...
to update module facility !!
2003-08-01 23:46:49 +00:00
moodler
10dcde409b
Further integration of backup into main Moodle.
...
The database checks/upgrades are now done on the main
admin page like the other modules.
The database files are now standard format .sql and .php files
PostgreSQL support was added - BUT HAS NOT BEEN TESTED YET!!
2003-08-01 13:59:17 +00:00
stronk7
d538d4008f
Changed calls to backup_version.php to version.php
...
(to be more consistent with the rest of the modules)
2003-07-31 16:54:05 +00:00
stronk7
c11c6fed95
//Added some debug (commented in production)
2003-07-27 21:26:51 +00:00
stronk7
9380866797
Little modification to use $CFG->directorypermissions in mkdir
2003-07-16 07:57:10 +00:00
stronk7
bc66e327c6
Small typo when creating structures in a fresh installation
...
(no previous backup installed)
2003-07-10 18:21:32 +00:00
stronk7
783ab2b07c
Bug in backup_getid cause return record when no record
...
must be returned. Solved.
2003-06-23 22:36:42 +00:00
stronk7
af9cd9552e
Changes in:
...
- Saving temp data to fs, instead of db
(mysql limit bug OUT)
- Modified clean directories (moodle standard delete dir
function seems to work wrong with large dirs
- Send info to browser continuosly to avoid timeouts.
- Increase php execution time limit
- More checks.
- Restore into existing course now works fine
- Create course_dir if it doesn't exist in the final step
of backup.
2003-06-20 19:42:20 +00:00
stronk7
60b420af99
Added the backup_flush function use to send some data to the browser
...
flushing output inmediately
2003-06-12 17:29:16 +00:00
stronk7
d2c94f4b5b
Typoooo :-)
2003-06-12 15:37:25 +00:00
stronk7
fe3c84ab46
Added backup_required_functions to pre-check required functions in
...
backup/restore process.
2003-06-12 15:33:25 +00:00
stronk7
6d18c5a214
Added backup_todb to addslashes and decode
...
from UTF before inserting info in db.
2003-05-31 10:08:44 +00:00
stronk7
1bdeb2ca8e
Implemented copying course_files and user_files.
2003-05-28 19:43:11 +00:00
stronk7
a2c7397c42
Restore into new course and existing course implemented.
...
Restore sections and mod implemented.
Restore users (all, course and none) implemented
2003-05-25 22:58:13 +00:00