Commit Graph

218 Commits

Author SHA1 Message Date
stronk7
392f5e2403 Added missing join condition. Credit goes to Colin Chambers. MDL-16385 ; merged from 19_STABLE 2008-09-08 14:27:32 +00:00
skodak
ed94cb66c6 MDL-15928 switched to zip PHP extensions 2008-08-04 16:45:08 +00:00
sam_marshall
4e781c7b50 MDL-15498: Completion system 2008-07-28 12:31:29 +00:00
skodak
290a47ae85 MDL-15160 backup gradebook categories even when user not included; merged from MOODLE_19_STABLE 2008-07-02 22:47:57 +00:00
skodak
42f1bfe02a fixed dml conversion typo 2008-06-30 13:24:42 +00:00
skodak
a4e315c6d5 MDL-15094 fixed regression 2008-06-04 23:58:23 +00:00
skodak
bae736241a MDL-15095 core backup/restore conversion finished 2008-06-04 20:51:02 +00:00
danmarsden
a0127802d3 MDL-12037 - backup does not report errors correctly in backup_module() 2008-05-13 00:41:34 +00:00
danmarsden
078d8bf448 MDL-14550 really inefficient db calls. 2008-05-13 00:29:04 +00:00
stronk7
77022d9e5d Role custom names (aliases) are now preserved during backup/restore. MDL-14783 ; merged from 19_STABLE 2008-05-12 23:07:42 +00:00
danmarsden
2ea2bfadfa MDL-14736 this doesn't need to be an error call, as the backup should still succeed - changing to use notify() instead. 2008-05-08 22:28:06 +00:00
dongsheng
957f6fc9d2 "MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE" 2008-05-02 04:37:02 +00:00
stronk7
d9063e928f Adding some missing course info when backuping blogs. MDL-9089 ; merged from 19_STABLE 2008-04-19 22:41:48 +00:00
stronk7
feb351cfae MDL-14072 - Merged from 19_STABLE. Prevent NULLs, empties and numbers to be processed by:
- backup_encode_absolute_links() at backup
- restore_decode_absolute_links() at restore
2008-04-18 16:58:06 +00:00
stronk7
fe75799dcf Blogs backup added. MDL-9089 ; merged from 19_STABLE 2008-04-13 01:28:59 +00:00
skodak
5cfefc9b02 MDL-8270 full block backup/restore - based on patches by Mark Nielsen and code in HEAD by Tim Hunt; merged from MOODLE_19_STABLE 2008-03-23 15:54:42 +00:00
skodak
0cdf4aad05 MDL-13393 detect broken cm instances when doing backup - prevents trouble during restore; merged from MOODLE_19_STABLE 2008-03-20 19:40:09 +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
stronk7
bef163c889 Ensure only target groups_members are added to backup. MDL-12453 ; merged from 19_STABLE 2008-03-09 17:28:17 +00:00
scyrma
537aa65c5d MDL-13404 - Modification to all tag_get_tags_* calls needing an array & other improvements (merge from 1.9) 2008-02-26 06:43:54 +00:00
scyrma
3d535996db MDL-13404 - Merge from 1.9 (re-commit, including missing file) 2008-02-25 01:58:17 +00:00
skodak
bb06244703 MDL-13404 reverted - missing file and other minor problems 2008-02-22 19:53:48 +00:00
scyrma
db32b054d1 MDL-13404 - Merge from 1.9 2008-02-22 10:25:36 +00:00
stronk7
42af26a396 Messages backup improvement. MDL-13473 ; merged from 19_STABLE 2008-02-14 23:35:03 +00:00
stronk7
5170a7a440 Add missing description to grade_outcomes backup. Merged from 19_STABLE 2008-02-03 10:33:15 +00:00
stronk7
9e56dd25d3 Now user profile fileds and user tags are included in backups. Part of MDL-6856 ; merged from 19_STABLE 2008-01-30 01:10:57 +00:00
stronk7
56ef28a4a3 Added some helper functions, cleanup a bit and add missing parts. MDL-10721 ; merged from 19_STABLE 2008-01-26 22:00:40 +00:00
stronk7
c648a2259c General cleanup of backup users. Part of MDL-10721 ; merged from 19_STABLE 2008-01-25 00:50:08 +00:00
stronk7
2462e5eb20 Prevent grade_grades and grade_grades_history to be exported for non-target users. MDL-13115 ; merged from 19_STABLE 2008-01-24 20:04:15 +00:00
stronk7
a03320fcf9 Reworked a bit to prevent non-target user role assignments to be exported. MDL-13115 ; merged from 19_STABLE 2008-01-24 19:09:04 +00:00
toyomoyo
dfbe1fa473 MDL-12463, do not backup mod gradeitems if not selected 2007-12-11 03:16:15 +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
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
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
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
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
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
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
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
toyomoyo
58a0097f39 do not backup/restore course grade item/category, instead, just fetch it. Pointing all orphan categories and grade items to the course grade item 2007-08-22 09:02:32 +00:00
toyomoyo
f9bb6a98d8 category grades and course grades should not be dependent on restore_userdata_selectee 2007-08-20 06:20:53 +00:00
toyomoyo
7e09821038 MDL-10884, import is copying all grade_items into course, creating duplicate course grade_item. Other backup/restore fixes 1) if user_data is not selected, grade_item will still be copied but the grades and grades_text are ignored. 2) Grade histories not imported during import. 2007-08-20 04:15:49 +00:00