865 Commits

Author SHA1 Message Date
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
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
nicolasconnault
e295df447f MDL-10870 All files updated to new build_navigation() method. 2007-08-17 11:18:58 +00:00
jamiesensei
863be1a95c Added a help button to the backup form. 2007-08-17 10:03:18 +00:00
jamiesensei
1a73a3d84e Fixes for some notices because of unitialized vars and elements that may not be present in older backup xml. 2007-08-17 10:00:00 +00:00
jamiesensei
7c1c94872e Fix for notice on first page of restore. 2007-08-17 09:53:00 +00:00
skodak
fe3a91e7f1 MDL-10383 - fixed stupid bug from last commit, sorry 2007-08-15 12:21:45 +00:00
skodak
e0aac7f323 MDL-10383 - some more groupings related restore problems fixed - groupings are now restored before course sections+course_modules - groupingsids now restored properly in course_modules table; fixed object initialization; fixed typos when restoring course modules that were causing missing group mode 2007-08-15 10:43:25 +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
moodler
f12621d332 Fixed course theme MDL-10833 2007-08-13 13:36:52 +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
stronk7
4f6bd3b9c1 Increasing the displayed size of course->shortinfo to 20. MDL-10026
(bigger but enough smaller than the fullname field)
2007-08-09 12:26:43 +00:00
stronk7
8851fdf92d Changed one place where the old course->shorname size was still 10. MDL-10026
Credit goes to Josh Benner by finding it.
2007-08-09 12:05:56 +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
stronk7
5ba3928959 Fixed two places where course->shortname was harcoded to 15. MDL-10026 2007-08-08 19:39:56 +00:00
toyomoyo
e5aae9775f some fixes and restore for grade histories, not finished 2007-08-08 08:42:28 +00:00
toyomoyo
ea326cf190 adding some more tables to be stored in temp id backup table to help with grade history tables restore 2007-08-07 07:15:48 +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
c345bb584a MDL-10679, improvement to context_rel table and load_user_capability 2007-08-02 08:28:29 +00:00
toyomoyo
df9f4b0f07 fixing scale backup/restore 2007-08-01 06:24:15 +00:00
toyomoyo
6cdaa1f43b adding grade_outcomes_courses into backup and restore 2007-08-01 05:55:36 +00:00
toyomoyo
b2af9c5895 some more fix on grade outcome scaleid, should be working now 2007-07-31 09:04: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
f04873a9ea MDL-10636
Attempting to fix a number of bugs related to backup/restore for gradebook
2007-07-28 09:23:32 +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