toyomoyo
90164c7098
expecting multiple groups from sql
2007-11-26 03:21:46 +00:00
toyomoyo
d4c550f5d1
MDL-12081, teacher with import capability can not import course
2007-11-26 02:39:28 +00:00
toyomoyo
b486ef1ae3
MDL-8270, full block backup/restore routine with code
2007-11-15 05:00:44 +00:00
tjhunt
43457dc87c
MDL-12066 - Links in the HTML block are not recoded on backup and restore.
...
This is messy because the links are hidden in the configdata column, which is serialized and base64encoded. So we have to untangle that, then ask the block whether there are any bits of $config that need to be fixed, then re-encode it before backup up. And reverse that on restore. It needs to remain base64 encoded in the backup file, so that the file format is backwards compatible.
I disucssed this with Eloy before doing it.
Merged from MOODLE_19_STABLE.
2007-11-14 17:03:32 +00:00
toyomoyo
b25d9087ec
backup/restore of grade histories should be off by default
2007-11-07 01:11:41 +00:00
stronk7
7244ac4ba7
There was a mistake in the dir being created. It must be
...
the backup temp area one. MDL-11912
Merged from MOODLE_19_STABLE
2007-11-02 13:02:56 +00:00
nicolasconnault
98a85772f5
MDL-11912 Creating 1000's layer directory first, then userid directory: no need for recursion
2007-11-01 08:45:30 +00:00
nicolasconnault
96515c3cc8
MDL-11912 Removed recursive param
2007-10-31 19:04:33 +00:00
nicolasconnault
dd9e946b0e
MDL-11912 Removed recursive param
2007-10-31 15:21:30 +00:00
nicolasconnault
96aad15ced
grade_outcome->description doesn't exist
2007-10-27 06:28:00 +00:00
toyomoyo
1a27182bc6
MDL-11513, adding support for grade_letters
2007-10-24 07:41:45 +00:00
skodak
e3516b2da1
MDL-8605 fixed user image restore code
2007-10-20 20:57:06 +00:00
skodak
ffb2a56ff1
MDL-11857 missing addslashes on idnumber field during backup restore
2007-10-20 19:31:51 +00:00
skodak
549bf9cd73
MDL-11857 missing addslashes on idnumber field during backup restore
2007-10-20 19:25:10 +00:00
tjhunt
01b609d9fa
Fix restore notice when a role has no capabilities. Merged from MOODLE_19_STABLE.
2007-10-16 14:03:23 +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
stronk7
13bf86a3ba
Bump to beta 2 (real branch)
2007-10-10 16:06:12 +00:00
skodak
03cedd6283
MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-)
2007-10-10 12:19:27 +00:00
toyomoyo
9031e46f94
MDL-11510, adding missing backup/restore gradebook fields
2007-10-10 08:28:43 +00:00
toyomoyo
1c03128e06
MDL-11510, missing gradebook fields in backup
2007-10-10 07:25:41 +00:00
toyomoyo
e66481e1eb
MDL-11510, adding missing fields
2007-10-10 07:08:50 +00:00
toyomoyo
313fcb6aea
MDL-11510, referencing to wrong fields
2007-10-10 07:05:48 +00:00
skodak
b5116f2afd
MDL-11510 added missing fields in new gradebook backup
2007-09-29 16:07:52 +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
stronk7
28271c7205
Second pass. Some more default comments are out. MDL-11385
2007-09-24 22:10:13 +00:00
stronk7
7529139a8d
First pass. Deleting some default comments. MDL-11385
2007-09-24 19:08:00 +00:00
skodak
ee6eac332c
MDL-10833 some more course theme fixes; merged from MOODLE_18_STABLE
2007-09-24 15:50:34 +00:00
skodak
3f2b0c8aba
MDL-11363 merged tables grade_grades with grade_grades_text - it is now possible to define fields as required and optional
...
finally fixed formula validation in calculation edit form
2007-09-22 11:39:59 +00:00
tjhunt
db451e99f6
XHTML Strict.
2007-09-20 15:35:19 +00:00
toyomoyo
05a71b3341
change restore code to use the more efficient get_user_courses_bycap
2007-09-20 09:16:49 +00:00
toyomoyo
3c13c1eacc
removed a slow call from restore code, this is a trouble maker if you have a lot of courses.
2007-09-20 08:58:12 +00:00
martinlanghoff
2960a5525a
backup/restore_form.html: tiny XHTML compliance fix
...
There is something _weird_ about the table setup on this page
and I cannot figure it out. This change "fixes" it in that
FF stops complaining.
However, the fix looks very broken to me.
2007-09-19 07:28:54 +00:00
toyomoyo
461af59ac1
MDL-11234, if role definitions matches, restore role mapping should be allowed with or without role assign capabilities
2007-09-18 07:00:57 +00:00
toyomoyo
e5d30fdcc9
added needsupdate flag into backup/restore, added a new switch for restore on/off for grade histories, fixed some NULL related warnings
2007-09-18 04:03:02 +00:00
stronk7
7a2957d3e9
Hide the metacourse dropdown menu if the course
...
isn't a metacourse and general XHTML compliance. MDL-9922
Merged from MOODLE_18_STABLE
2007-09-16 19:26:13 +00:00
stronk7
111e12615b
Prevent some warning when restoring site courses... MDL-10054 MDL-10118
...
Merged from MOODLE_18_STABLE
2007-09-16 18:34:22 +00:00
stronk7
bac43d633c
Show the roll dates option only if the backup course has a start date
...
(some formats like main page, social..., haven't it and rolling dates
from 0 produces crazy dates. MDL-10125
Merged from MOODLE_18_STABLE
2007-09-16 17:34:54 +00:00
nicolasconnault
2de7b82759
MDL-10723 Another file that escaped the update
2007-09-10 04:58:09 +00:00
stronk7
3ab03633c3
Fix excess of slashing in course names when restoring. MDL-11151
...
Merged from MOODLE_18_MERGED
2007-09-08 22:58:50 +00:00
stronk7
205847badf
Fix link in email to new admin report. MDL-7850
...
Merged from MOODLE_18_STABLE
2007-09-08 22:49:13 +00:00
stronk7
73d753c79d
Redirecting old backup log to the new one. MDL-7850
...
Merged from MOODLE_18_STABLE
2007-09-08 22:41:27 +00:00
toyomoyo
dae9e82d88
MDL-11128, creating grade items after restoring from a pre 1.9 backup
2007-09-06 05:04:55 +00:00
stronk7
f12d645a8d
Bump backup version!
2007-09-05 23:12:31 +00:00
stronk7
ce1b964592
Fixed bug commented in my previous commit. Was caused by the
...
commit itselfl. My fault. (blush)
2007-09-05 23:08:52 +00:00
stronk7
a2cdd7645e
Now restoring groups is cross-db (the detection of existing groups)
...
(NOTE: There is one pending bug about restoring old groups to 1.9.
Commented to Petr. Added here because I've to go NOW!)
Merged from MOODLE_18_STABLE
2007-09-05 19:19:34 +00:00
stronk7
e9ecf33932
Repeated fields aren't necessary at all since Moodle 1.7
...
and, in fact, they throw error if using limits! MDL-9592
Merged from MOODLE_18_STABLE
2007-09-05 15:46:16 +00:00
skodak
d374613bce
MDL-11037 restore status ignored and reset in several places in restore code
2007-08-28 16:30:39 +00:00
moodler
33bd434d07
FIxed some XHTML bugs
2007-08-24 04:26:19 +00:00