skodak
d4b5bd4393
MDL-20169 fixed coding style, parameter type required
2009-08-27 19:20:03 +00:00
skodak
92ebcabeb3
MDL-20169 fixed coding style, parameter type required
2009-08-27 19:14:45 +00:00
nicolasconnault
c4c7d936ac
MDL-19789 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno
2009-08-20 08:39:27 +00:00
nicolasconnault
9549b98659
MDL-19789 Upgraded calls to helpbutton, print_simple_box* and notify
2009-08-18 04:29:16 +00:00
nicolasconnault
e11adf4884
MDL-19789 Migrated calls to print_heading
2009-08-06 08:19:03 +00:00
stronk7
64acc5a55d
MDL-19246 restore - cleanup of "restoreto" options. Prev. site restrictions out. Merged from 19_STABLE
2009-05-22 15:02:44 +00:00
stronk7
2a8435c4ce
MDL-19163 restore - avoid some notices. Merged from 19_STABLE
2009-05-19 18:50:24 +00:00
stronk7
a34947c283
MDL-19163 restore - warn if restoring over SITEID course ; merged from 19_STABLE
2009-05-19 18:35:38 +00:00
stronk7
e43806a018
MDL-19163 - Fixed problem when cancreatecourse users were restoring to sites with only 1 course ; merged from 19_STABLE
2009-05-19 10:35:59 +00:00
stronk7
94ba4c9eb8
MDL-19163 restore - enable course selection for teachers having perms in more than 1 course ; merged from 19_STABLE
2009-05-12 14:57:40 +00:00
tjhunt
d61f7b7641
backup/restore: MDL-16614 more reliable test for when we are restoring a backup that was made of the same site that we are restoring to.
...
* Use this to fix a question restore bug.
* Replace older code that does something similar with the new test.
* Refactor initialisation of $CFG->siteidentifier into a function. There were about 4 copies of this code ;-)
2009-01-20 03:16:30 +00:00
skodak
93f66983cc
MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks
2009-01-02 22:56:48 +00:00
stronk7
6c928b4cfe
MDL-12922 restore roll dates - prevent wrong rolls to 0 happening to teachers. Merged from 19_STABLE
2009-01-02 17:59:01 +00:00
stronk7
b1ee0c8690
MDL-17009 restore of mnet users - Prevent teachers to restore this type of backups to different sites. Merged from 19_STABLE
2008-12-17 23:36:10 +00:00
dongsheng
771dc7b298
"MDL-14129, fix error() in moodle2"
2008-12-12 05:45:43 +00:00
stronk7
b0126ac9da
MDL-17009 Restore of mnet users: Fix incorrectly named MNET_EXTERNALUSERS. Merged from 19_STABLE
2008-12-11 16:40:09 +00:00
tjhunt
df73f8d4e1
restore: MDL-17480 Potentially expensive function user_can_create_courses called repeatedly from restore UI.
2008-12-01 06:55:11 +00:00
skodak
294ce9870f
MDL-15189 magic quotes finally removed
2008-06-09 16:53:30 +00:00
skodak
ad4375ac7f
MDL-14679 towards /backup conversion
2008-06-01 14:46:48 +00:00
dongsheng
d3b7ea93de
"MDL-14129, fix print_error"
2008-05-08 08:43:17 +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
2f1cd7daec
Fixed typo causing restore to existing courses not to work. MDL-14549 ; merged from 19_STABLE
2008-04-24 21:49:07 +00:00
stronk7
8b6ccde7b0
Restore of blogs in SITE page added. MDL-9089 ; merged from 19_STABLE
2008-04-20 02:03:00 +00:00
stronk7
6a775a8075
Restore to the frontpage should work now (interface). MDL-12760 ; merged from 19_STABLE
2008-04-13 23:56:14 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +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
nfreear
b0dc3e563d
Fixes bug MDL-2674, "backup always backsup/restores groups regardless of user settings" - restore group/grouping option.
2007-12-10 10:26:47 +00:00
tjhunt
db451e99f6
XHTML Strict.
2007-09-20 15:35:19 +00:00
toyomoyo
05a71b3341
change restore code to use the more efficient get_user_courses_bycap
2007-09-20 09:16:49 +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
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
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
jamiesensei
3bee1ead40
merging MOODLE_19_QUESTIONS with HEAD
2007-08-09 21:50:59 +00:00
toyomoyo
8556ba1740
fixing typos of a wrong capability
2007-06-14 07:04:15 +00:00
toyomoyo
49860445a6
fix for MDL-8739, restore in course category
2007-04-03 09:19:09 +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
stronk7
63013fb804
PHP 4 assignment is by value so course_header (containing edited names)
...
wasn't being modified. MDL-8298
Merged from MOODLE_18_STABLE
2007-02-14 23:54:20 +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
toyomoyo
4e3ea0e0d9
adding long time warning MDL-7890
2006-12-15 05:34:35 +00:00
moodler
91a9559092
Fixed some potential XHTML strict errors MDL-7861
2006-12-12 07:30:37 +00:00
toyomoyo
95f7634d4d
merged removing evil semicolon
2006-10-31 07:34:03 +00:00
toyomoyo
5e67946d6c
adding support for 1.6->1.7 backups
2006-10-03 08:54:46 +00:00
toyomoyo
8020a0162f
roles and capability support for backups. role mapping is in, please help test, thanks
2006-10-02 08:49:07 +00:00
thompson697
163ff97e84
Complete work on Roll Forwards - Restore from previous semester (MDL-5532)
...
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
* Activity Modules use offset to change dates
* Activity Modules write changes to Restorelog
2006-09-13 13:19:39 +00:00
thompson697
c3b307b777
Initial work on Roll Forwards - Restore from previous semester (ongoing MDL-5532)
...
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
2006-09-13 09:40:55 +00:00
toyomoyo
17d6a25e5c
adding capabilitiies
2006-09-13 09:08:14 +00:00
toyomoyo
ec7a8b7999
adding capabilities
2006-09-07 08:57:56 +00:00
stronk7
5f8556bcd5
And one more collection of innocent notices avoided. Bug 5712.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5712 )
Merged from MOODLE_16_STABLE
2006-06-03 20:01:24 +00:00
stronk7
c3cb69e5f4
Now restore checks that we are coming from the form page to delete any
...
previously stored $SESSION->restore data.
Also, the "restore to existing" feature is working again. It was broken
because of the pseudo-register-globals hack. Now course_id is retrieved
with the standar param() methods.
Bug 5145 was the original cause for investingating this.
(http://moodle.org/bugs/bug.php?op=show&bugid=5145 )
2006-04-10 19:02:39 +00:00