253 Commits

Author SHA1 Message Date
dwoolhead
1d5bdcd2e4 MDL-10574 Backup and restore event table modulename column 2007-07-23 10:20:15 +00:00
skodak
23207a1a6a MDL-10563 item excluding implemented;
improved/fixed grade edit page;
some other improvements and cleanup
2007-07-21 14:24:39 +00:00
toyomoyo
69b0088cd9 merged fix for MDL-10461, timemodied in role assignments not preserved 2007-07-19 03:37:53 +00:00
stronk7
85250cb314 Adding some course->xxxx missing fields to backup & restore. MDL-10444
Merged from MOODLE_18_STABLE
2007-07-16 20:18:26 +00:00
skodak
ed30fa8e8a MDL-10394 grade_grades field overridden backup/restore support 2007-07-11 18:06:23 +00:00
skodak
aaff71daf4 MDL-10365 Improved handling of history when inserting/updating/deleting in new grade reports;first part 2007-07-06 12:49:28 +00:00
skodak
b3ac6c3ef0 MDL-10224 total course grade implemented + lots of other changes and improvements; there are still some regressions and bugs - going to fix them ASAP; some unit tests still missing too 2007-06-28 13:20:30 +00:00
skodak
61c33818d5 MDL-10231 merge grade_calculations and grade_items table + calculation improvements
MDL-10233 fixed grade_*::fetch() - does not modify $this anymore, we can now use it from normal methods to fetch other objects of the same class.
2007-06-23 16:33:17 +00:00
skodak
ac9b080524 MDL-10202 merge raw and final grade tables 2007-06-20 23:06:29 +00:00
toyomoyo
06e3e967af backup will not back up grade categories and grades if some grade items are not backed up. restore will not resotre grade categories and grades if some grade items are not being restored 2007-06-13 09:06:44 +00:00
toyomoyo
0afbd23c9e gradebook backup and restore fixes 2007-05-31 09:00:09 +00:00
toyomoyo
ca9cd23cf9 more fixes for gradebook backup/restore 2007-05-30 08:45:13 +00:00
toyomoyo
48ca6fd871 fix ordering bug when restoring grade item 2007-05-30 06:38:23 +00:00
toyomoyo
9bfd009441 added itemtype to backup/restore, only restore a mod type gradeitem if user data is included 2007-05-30 06:23:21 +00:00
toyomoyo
bb15b33bf9 respecting sortorder when restoring grade_itmes, other minor fixes 2007-05-30 05:32:47 +00:00
toyomoyo
bc1637c730 restore for gradebook, needs testing for grade_history, outcomes, categories, calculations and text 2007-05-29 09:00:48 +00:00
sam_marshall
c5a3ce0acd MDL-9932 Fixed calendar restore of events on same day with same description (but different names) 2007-05-24 12:09:49 +00:00
skodak
83ee2fe8eb MDL-9483 Problem with question restore relinking when quiz not selected; merged from MOODLE_17_STABLE 2007-04-21 12:38:56 +00:00
tjhunt
0d6f265034 Fix error message to say the right thing. 2007-04-19 17:16:20 +00:00
tjhunt
c85607f0be MDL-9432 - When restoring questions, links are not recoded. Merged from OU moodle. 2007-04-18 15:56:21 +00:00
stronk7
6b8b4bcf86 mnethosturl was never being restored. Detected while checking MDL-9309
Merged from MOODLE_18_STABLE
2007-04-12 22:18:05 +00:00
toyomoyo
49860445a6 fix for MDL-8739, restore in course category 2007-04-03 09:19:09 +00:00
toyomoyo
3ed699287e merged fix for MDL-9064, use $CFG->creatornewroleid setting 2007-03-28 02:31:24 +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
tjhunt
e1a3af61a3 Eliminate bizarre use of function_exists. 2007-03-13 17:42:57 +00:00
toyomoyo
3a35a34e9c merged fix for MDL-8681, course imports creates duplicate roles 2007-03-09 02:39:44 +00:00
toyomoyo
f15850f899 merged fixing a typo 2007-03-08 06:05:32 +00:00
toyomoyo
b3460b8e8a merged fixing xhtml and display issues in restore 2007-03-01 02:46:04 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
nfreear
2ab4e4b87b Followup fix for Bug MDL-8507 "Local language pack-name can appear in language code" 2007-02-21 10:42:50 +00:00
skodak
16ce6c0dcc MDL-8590 auth cleanup - part 2 2007-02-20 17:09:20 +00:00
toyomoyo
b0cb12ac93 merged, apply nick's patch for MDL-8534, typo in restorelib.php 2007-02-20 01:07:18 +00:00
nfreear
05a399d793 Fixes bug MDL-8059 "... won't restore - error A required parameter (id) was missing", reapplied martinl's 16/1 Strict fix. 2007-02-16 15:46:51 +00:00
nfreear
d80a2fe031 Fixes Bug MDL-8545 "Restore bugs, groups-members and role assignments" 2007-02-16 14:45:57 +00:00
skodak
20c63dcf73 MDL-8487 if user language do not exist during restore use site default 2007-02-14 09:54:08 +00:00
nfreear
d8aa3550bb Fixes bug MDL-8057, "Backup/restore code not considered in new groups code" 2007-01-20 09:28:26 +00:00
martinlanghoff
fdce65dd32 mnet: restore_create_users() fixed mnethost lookup
Credit goes to Eloy for catching my error.
2007-01-17 01:00:08 +00:00
martinlanghoff
43f853c908 mnet: restore support - XML parser knows about MNET_EXTERNALUSERS, restore_check.html warns
This may need to be reworked to move the warning to an earlier stage. In the
meantime, we have

 - at INFO parsing time we read MNET_EXTERNALUSERS into the backup info obj
 - at restore_check time, we warn the user that external users are in the
   package. If the situation looks dodgy, we say so. But don't block the
   user, as it may be a valid situation.
2007-01-16 03:28:57 +00:00
martinlanghoff
dd3638e47e XHTML Strrrickt: fixed a problem with a UL and LI tag mix up during restores. 2007-01-16 01:06:11 +00:00
martinlanghoff
da586c3778 mnet: restore_create_users() is now mnet-aware
It will now default to $CFG->mnet_localhost_id and can
handle backup files containing an mnethosturl user property
which will be mapped to mnethostid.

Additional checks are needed to avoid restoring files
with mnethosturls we cannot handle.
2007-01-16 00:56:15 +00:00
skodak
7150226896 MDL-7861 xhtml strict fixes - fixed all <br> in our code 2007-01-04 23:38:17 +00:00
vyshane
ac21137379 Making sure that restore views work in xhtml strict 1.0. MDL-7861. 2006-12-19 07:00:14 +00:00
vyshane
b721223856 Merged from 1.7. Also contains some xhtml fixes for MDL-7861. 2006-12-19 05:02:22 +00:00
toyomoyo
027ce10e0e fixing broken html 2006-12-15 05:23:57 +00:00
sam_marshall
ae628043a0 MDL-7401 Course format database/backup/lang/stylesheet/capability support 2006-12-11 15:47:23 +00:00
tjhunt
2e0ed03e5e Fix error when restoring into a newly created course. The course files folder may not exist yet, so need to do a recursive directory create. 2006-12-05 18:42:39 +00:00
tjhunt
89475b805d Fixed notice when restoring a backup file that was created with Users: none. 2006-12-05 18:38:56 +00:00
skodak
69aaada0f5 fixed problem with apostrophe in role names and description when creating roles during install and restore MDL-7611 2006-11-20 14:08:40 +00:00
skodak
810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
toyomoyo
ccda44599a merged fix for restore support of user data from backups pre granular backup 2006-11-01 03:32:04 +00:00