Commit Graph

171 Commits

Author SHA1 Message Date
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
nicolasconnault
9ba38673fa Fixed bugs and typos in grade backups 2007-07-27 13:38:06 +00:00
poltawski
c31f631baa MDL-9742 - converting tabs to spaces 2007-07-23 15:38:31 +00:00
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
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
ca9cd23cf9 more fixes for gradebook backup/restore 2007-05-30 08:45:13 +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
770156e5f8 fixing a typo 2007-05-30 02:22:43 +00:00
toyomoyo
a246d4d269 during backup parent categories need to go before children 2007-05-30 02:20:56 +00:00
toyomoyo
b2fa775cbd MDL-9515, backups for gradebook 2007-05-25 08:54:20 +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
stronk7
01bc98275a Skipping some thousands of require_once() calls because PHP5
is really slow (and heavy) with them. MDL-8700

Merged from MOODLE_18_STABLE
2007-03-02 09:42:52 +00:00
nfreear
88915b1d43 Fixes bug MDL-8059 "... won't restore - error A required parameter (id) was missing" 2007-02-16 15:45:35 +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
c0543ba1f7 mnet: backup_general_info() now indicates whether it includes MNET_REMOTEUSERS 2007-01-16 02:52:51 +00:00
martinlanghoff
54359be4c9 mnet: backup_user_info() is faster, and it store mnethosturl for foreign users
Several changes to backup_user_info() rolled up here

 - The main JOIN happens in SQL instead of PHP
 - We now also join with mnet_host to get the wwwroot
 - As part of the join, all the variables appear in $user -- $user_data is gone
 - If the mnethostid is non-local we include MNETHOSTURL for that user

With this, backup_user_info() should be significantly faster for large
sets of users, though I haven't benchmarked it.
2007-01-16 02:27:36 +00:00
stronk7
a5855a89bf Avoiding some itarations. MDL-7902. Thanks Samuli!
Merged from MOODLE_17_STABLE
2007-01-14 12:11:33 +00:00
skodak
7150226896 MDL-7861 xhtml strict fixes - fixed all <br> in our code 2007-01-04 23:38:17 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
sam_marshall
ae628043a0 MDL-7401 Course format database/backup/lang/stylesheet/capability support 2006-12-11 15:47:23 +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
013b90ed92 a few fixes, for MDL-6836, MDL-6835, and MDL-6765 2006-10-05 04:05:07 +00:00
toyomoyo
5e67946d6c adding support for 1.6->1.7 backups 2006-10-03 08:54:46 +00:00
toyomoyo
89a66e5405 changes in backup/restore for roles. fixed bug related to wrong context in backuplib.php added code to handle addition of new roles in restorelib.php, added code to do role overrides in restore.php new functionalities requires proper handling 2006-09-28 09:15:14 +00:00
toyomoyo
a2a020ea6b adding support for roles in backups 2006-09-27 08:59:27 +00:00
toyomoyo
1ad590e153 more changes, restoring of role assignments now work in course, mods and blocks instances (less user instance), restoring local overrides do not work 2006-09-26 09:05:44 +00:00
toyomoyo
637644fbd1 fixing a get_record bug (multiple instances) 2006-09-26 04:10:33 +00:00