3429 Commits

Author SHA1 Message Date
paca70
fdc60fd20d Ask only naminattribute when searching for user. 2003-08-03 09:20:05 +00:00
paca70
da7b210a75 Fix from Martin Wwellard to fix PHPs case issue with attribute names. 2003-08-03 09:07:42 +00:00
stronk7
4398d023a9 Updated:
- Teachers can backup/restore their courses.
- New option "restore to existing, deleting old".
- backupdata dirname harcoded.
- backup and restore buttons in main course page.
2003-08-03 01:05:38 +00:00
stronk7
be2a6fc6ca Teacher restoring and admin restoring finished.
Allow restore into new course (only admins),
      restore into existing course deleting old and
      restore into existing course adding to old
Teachers are limited to "current course" while admins ca
select any course. :-)
2003-08-03 00:42:41 +00:00
stronk7
35ea159433 delete_dir_contents function now allows excluding a dir 2003-08-03 00:40:08 +00:00
stronk7
642ac84855 Added suport to new restoreto options 2003-08-02 23:37:41 +00:00
stronk7
ed8ee0910c Take out backupdir string due to some backup
detected problems related to it.
2003-08-02 23:36:13 +00:00
giro123
565ff246e5 *** empty log message *** 2003-08-02 19:44:16 +00:00
stronk7
03162427df The restore option in course page is only showed if th
"backupdata" dir exists
2003-08-02 18:23:58 +00:00
stronk7
0c6e10b33e Now "backupdir" string is hardcoded in backup process. 2003-08-02 16:13:44 +00:00
stronk7
9e426d54ee Added preliminary support to teachers.
Not working yet.
2003-08-02 16:06:33 +00:00
stronk7
8f7ab28112 Now "backupdir" string is hardcoded in backup process.
Backup of logs in chunks is included, but the limit
clause doesn't seem to work. I'll test it later.
2003-08-02 16:03:00 +00:00
moodler
07aeb7b0bf Move the code for clearing out a course into a new function:
remove_course_contents()
2003-08-02 11:32:59 +00:00
stronk7
1692281e40 Minor change to allow continue after upgrade_backup 2003-08-02 10:32:57 +00:00
stronk7
2bd19d60cf Restore option allowed to teachers too.
The course_id is passed to restore.php as a parameter
2003-08-02 10:08:57 +00:00
danielfetzer
47c3f0d4d9 *** empty log message *** 2003-08-02 09:39:38 +00:00
danielfetzer
07f0986e16 *** empty log message *** 2003-08-02 09:00:37 +00:00
moodler
835ad8ef7a Adding missing strings.
Instead of Multi Answers, how about "Embedded Answers" ..?
2003-08-02 05:09:04 +00:00
moodler
8883c4a885 Less fiddly looking icon 2003-08-02 05:05:09 +00:00
moodler
567b01bceb Quick icon for multiple answers 2003-08-02 05:01:02 +00:00
danielfetzer
610faab9e6 *** empty log message *** 2003-08-02 00:40:18 +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
stronk7
d37ca7c7f8 Chanfed to locate the pclzip properly. 2003-08-01 23:36:07 +00:00
danielfetzer
bcd269d24d *** empty log message *** 2003-08-01 22:21:06 +00:00
danielfetzer
1ffb0f1ac3 *** empty log message *** 2003-08-01 21:06:55 +00:00
moodler
001f747fbe Detailed howto needs to be here ... 2003-08-01 15:30:08 +00:00
moodler
274bc21a11 More links 2003-08-01 15:28:53 +00:00
moodler
59d2b54235 Backup stuff 2003-08-01 15:28:07 +00:00
moodler
dd167d59c9 Added a missing help file! 2003-08-01 15:26:51 +00:00
moodler
434d01398a Backup and restore buttons on home page 2003-08-01 15:19:23 +00:00
moodler
f354106d46 Some tidying up 2003-08-01 15:14:49 +00:00
moodler
65c59e30b8 New restore link for admins so they can restore courses ... 2003-08-01 15:09:35 +00:00
moodler
4210bec136 A quick backup icon 2003-08-01 14:51:19 +00:00
moodler
bd38123e98 Completed mods to allow teachers to make backups 2003-08-01 14:42:14 +00:00
moodler
9c1ae5ae32 Removed $moodle_home and $mods_home references.
Also removed direct references to $backup_version and $backup_release

backup.php now accepts teachers of their own course
2003-08-01 14:34:11 +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
kaipe
2e3e1ac76b Added the choice of 16.666% for multichoice fraction 2003-08-01 13:24:05 +00:00
kaipe
8b439f8c16 New question type - multianswer 2003-08-01 08:37:11 +00:00
moodler
4d55f46b0f More details on backups 2003-08-01 02:32:45 +00:00
danielfetzer
76a8a326cd *** empty log message *** 2003-08-01 01:02:40 +00:00
stronk7
101735cc89 Included fix_category_courses() to
adjust the new category structure
2003-07-31 18:01:45 +00:00
johncaptain
3136f5fa70 added: backup Q&A 2003-07-31 17:18:39 +00:00
stronk7
f5786441aa Changed to version.php
(to be more consistent with the rest of the modules)
2003-07-31 16:56:40 +00:00
stronk7
2c54aa080b Copied from old backup_version.php
(to be more consistent with the rest of the modules)
2003-07-31 16:55:11 +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
2b96840769 Variables passed by reference warning is out !! 2003-07-31 16:44:52 +00:00
danielfetzer
4712035bec *** empty log message *** 2003-07-31 13:27:25 +00:00
moodler
e92fe848ab Removed needless pass-by-reference to avoid warnings BUG 573 Thanks Eloy! 2003-07-31 12:23:49 +00:00
moodler
0eeac484f3 Extended get_records so it can deal with LIMITs now 2003-07-31 12:18:22 +00:00
moodler
7e1a999c10 Moved fix_category_courses to datalib.php so it's more accessible 2003-07-31 12:09:17 +00:00