Commit Graph

205 Commits

Author SHA1 Message Date
stronk7 aa80e16b12 Adding some missing course info when backuping blogs. MDL-9089 2008-04-19 22:40:30 +00:00
stronk7 5d64f72c23 MDL-14072 - 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:55:29 +00:00
stronk7 67a8c620b6 Blogs backup added. MDL-9089 2008-04-13 01:25:55 +00:00
skodak a18258a969 MDL-8270 full block backup/restore - based on patches by Mark Nielsen and code in HEAD by Tim Hunt 2008-03-23 15:50:08 +00:00
skodak 40af907f97 MDL-13393 detect broken cm instances when doing backup - prevents trouble during restore 2008-03-20 19:39:08 +00:00
skodak 8527371af3 MDL-13847 gradebook backup/restore fixes, xhtml strict fixes, other minor fixes 2008-03-17 19:36:35 +00:00
stronk7 a72cd02f9e Ensure only target groups_members are added to backup. MDL-12453 2008-03-09 17:26:25 +00:00
scyrma 7bbd75dc6e MDL-13404 - Modification to all tag_get_tags_* calls needing an array & other improvements 2008-02-26 06:39:10 +00:00
scyrma 3310c48044 MDL-13404 - Several improvements to tag system (re-commit, with locallib.php). 2008-02-25 01:25:42 +00:00
skodak 458544ed1d MDL-13404 reverted - missing file and other minor problems; backported from HEAD 2008-02-22 19:55:11 +00:00
scyrma 65c75c3ca7 MDL-13404 - Several improvements to the tag sub-system. 2008-02-22 10:17:56 +00:00
stronk7 3ecc34b2d5 Messages backup improvement. MDL-13473 2008-02-14 23:32:43 +00:00
stronk7 e0acc94f9f Add missing description to grade_outcomes backup. 2008-02-03 10:32:10 +00:00
stronk7 06e22959d1 Now user profile fileds and user tags are included in backups. Part of MDL-6856 2008-01-30 01:09:40 +00:00
stronk7 5cfbedea89 Added some helper functions, cleanup a bit and add missing parts. MDL-10721 2008-01-26 21:52:20 +00:00
stronk7 d8898325db Merge + General cleanup of backup users. Part of MDL-10721 ; merged from 18_STABLE 2008-01-25 00:46:55 +00:00
stronk7 f0421951ed Prevent grade_grades and grade_grades_history to be exported for non-target users. MDL-13115 2008-01-24 20:02:56 +00:00
stronk7 98e13c2eea Reworked a bit to prevent non-target user role assignments to be exported. MDL-13115 2008-01-24 19:07:43 +00:00
toyomoyo 0abcfef0c9 MDL-12463, do not backup mod gradeitems if not selected 2007-12-11 03:15:33 +00:00
tjhunt 582e15dfd2 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.
2007-11-14 17:03:16 +00:00
stronk7 f2723764f7 There was a mistake in the dir being created. It must be
the backup temp area one. MDL-11912

Merged from MOODLE_18_STABLE
2007-11-02 13:02:37 +00:00
nicolasconnault f6d8678098 MDL-11912 Creating 1000's layer directory first, then userid directory: no need for recursion 2007-11-01 08:45:57 +00:00
nicolasconnault 150692da89 MDL-11912 Removed recursive param 2007-10-31 15:20:58 +00:00
nicolasconnault a7212cb9c7 grade_outcome->description doesn't exist 2007-10-27 06:28:39 +00:00
toyomoyo 4ad8ec74e7 MDL-11513, adding support for grade letters 2007-10-24 07:38:23 +00:00
nicolasconnault 01d786178d MDL-8605 Backup and restore implementation 2007-10-12 20:24:00 +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
tjhunt 1a05537338 MDL-10897 - Backup is horribly inefficient when getting the users to include 2007-08-17 15:03:06 +00:00
skodak 379eaebde1 MDL-10383 - backup/restore of new groups&groupings finished 2007-08-14 20:35:04 +00:00
skodak 2524b0f24c MDL-10383 - major groups patch - see bug i ntracker for more details - authors: Nick, Matt, Enrique and me 2007-08-14 00:50:00 +00:00
toyomoyo f23dea666c replacing _NULL_ with $@NULL@$ during backup/restore 2007-08-13 02:23:10 +00:00
skodak dc35d3ac02 MDL-10365 removing userid - not used in grade_grades_text 2007-08-10 21:12:32 +00:00
toyomoyo e814e7d79c MDL-10770, support null fields in backup/restore 2007-08-10 05:22:20 +00:00
jamiesensei 3bee1ead40 merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 21:50:59 +00:00
toyomoyo d8cfc15848 restore and fixes for grade history tables, not fully working because of MDL-10770 2007-08-09 08:58:15 +00:00
toyomoyo e5aae9775f some fixes and restore for grade histories, not finished 2007-08-08 08:42:28 +00:00
skodak 29d509f59a MDL-10109 optional aggregation of outcomes together with grades 2007-08-06 12:05:45 +00:00
toyomoyo 9107bee680 MDL-10365, adding backup support and GUI for grade history tables, no restore yet 2007-08-03 08:55:26 +00:00
toyomoyo 6cdaa1f43b adding grade_outcomes_courses into backup and restore 2007-08-01 05:55:36 +00:00
toyomoyo a51512c9bc some fixes for gradebook backup/restore, still buggy when viewing outcomes/report, fixing 2007-07-31 08:26:17 +00:00