Commit Graph

80 Commits

Author SHA1 Message Date
David Mudrak f666f14930 The first attempt to include backup conversion in the restore process
With this initial implementation, we do not display any information
about the backup contents yet. The non-standard backup file is just
silently converted at the beginning of the settings stage, as soon as
the restore controller is available.

In the future we will probably want to display the information about the
contents of the converted file as if we were restoring from standard
MBZ format. However this includes more work in the restore UI machinery
and I leave it open for now.
2011-05-18 01:55:27 +02:00
Sam Hemelryk 44bb101dfe backup MDL-24962 Backup, Restore, and Import all now explicitly destroy the UI, controller, and stage objects upon completion. 2010-11-18 02:09:23 +00:00
Sam Hemelryk ad93ddd5f7 course-import MDL-23752 Implemented course import functionality back into Moodle 2.0
The course import now makes use of the backup and restore processed and the backup UI to allow the user to import one course into another.
The new UI is much the same as the backup ui except preceeded by a course selector to choose the course to import from.
2010-08-17 02:07:30 +00:00
Sam Hemelryk 573cdf85e1 backup MDL-23563 numerous minor backup changes
* Root settings are now check boxes rather than selects
* Language strings adjusted as requested
* Final continue on backup now redirecteds to restore pre ui
2010-07-29 04:25:56 +00:00
Sam Hemelryk 39bc4c6fa6 restore MDL-23109 Fixed several minor issues with restore UI
* Category + course selectors now perform required capability checks
* Show/Hide settings from UI tested and implemented for overwrite_conf setting
* Final continue button is GET rather than post
* Temp zip file is deleted after successfull extraction
* Removed previous button from settings stage MDL-23480
2010-07-26 07:10:54 +00:00
Eloy Lafuente 1d6b83ec58 MDL-21432 backup - supress already included include 2010-07-24 18:41:24 +00:00
Sam Hemelryk 6583afb373 navigation MDL-23109 Fixed bug with navigation in restore code 2010-07-23 08:08:37 +00:00
Sam Hemelryk 785d6603dd backup MDL-23109 Implemented base restore UI within Moodle and linked through the navigation. 2010-07-22 07:48:02 +00:00
Eloy Lafuente 157aa3a22d MDL-21666 backup & restore caps - renaming the import one 2010-02-19 19:11:06 +00:00
Eloy Lafuente d294000348 MDL-21666 backup & restore caps - moving to new naming schema. More to come. 2010-02-19 17:50:14 +00:00
Petr Skoda a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda f54c4273da MDL-20901 fixed input validationand removed annoying redirect which must not be clicked during course import 2009-11-19 18:48:34 +00:00
Petr Skoda 795b694516 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 15:39:15 +00:00
Petr Skoda 2a250a0b2e MDL-20697 removing duplicate error string cannotfindsite, fixing get_site() which is now using exceptions 2009-11-01 09:21:41 +00:00
samhemelryk 33ab48a4d0 backup MDL-19789 Added missing set_url call 2009-10-16 03:09:31 +00:00
samhemelryk e6a40d2231 backup MDL-19789 Added set_url calls 2009-10-15 03:05:35 +00:00
stronk7 53fd7cae8d MDL-17469 - Revert incorrect handling of restore parameters in restore.php file. It was
causing restore dates to be rolled based in the course where the backupfile is stored
and not in the target course. Merged from 19_STABLE
2009-10-05 16:32:15 +00:00
samhemelryk 67c351d2d8 backup MDL-19789 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 06:18:27 +00:00
skodak 92ebcabeb3 MDL-20169 fixed coding style, parameter type required 2009-08-27 19:14:45 +00:00
nicolasconnault 9549b98659 MDL-19789 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:29:16 +00:00
nicolasconnault 3474860fa0 MDL-19789 Converted all print_footer() calls 2009-08-06 14:23:15 +00:00
nicolasconnault e11adf4884 MDL-19789 Migrated calls to print_heading 2009-08-06 08:19:03 +00:00
tjhunt 93d4a373f9 blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +00:00
dongsheng 1ed8e660fd "MDL-18540, change the uses of option" 2009-03-30 10:07:24 +00:00
dongsheng 7022dd3930 "MEMORY/MDL-18540,remove hard-coded php memory limit, added system setting for it, create a function reduce_memory_limit to reduce memroy limit and respect php.ini setting in the meanwhile, merged from 1.9" 2009-03-26 02:09:28 +00:00
skodak f1953d38f3 MDL-17847 moved backup install.xml and upgrade.php to core 2009-01-10 20:03:08 +00:00
skodak 6bf25708b6 DML 2.0 regression 2009-01-05 23:42:51 +00:00
skodak 93f66983cc MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks 2009-01-02 22:56:48 +00:00
dongsheng 60e40dda6c "MDL-14129, remove the rest error() in moodle2" 2008-12-12 04:53:32 +00:00
dongsheng 0dfd9e97ea "MDL-17469, fix assignment date when restore course, merged from 1.9" 2008-12-11 04:39:33 +00:00
skodak ad4375ac7f MDL-14679 towards /backup conversion 2008-06-01 14:46:48 +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
dongsheng 5832a6f34b MDL-14129, fix print_error call 2008-04-24 02:48:36 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
poltawski b3ec4f86cf MDL-9925 - When a user presses cancel on restore they are sent to
/admin/. For teachers this gives an ugly access denied message,
so instead send them back to the course they came from.

Thanks to Wen Hao Chuang for the fix!

merged from MOODLE_19_STABLE
2007-12-29 20:31:10 +00:00
toyomoyo d4c550f5d1 MDL-12081, teacher with import capability can not import course 2007-11-26 02:39:28 +00:00
skodak ee6eac332c MDL-10833 some more course theme fixes; merged from MOODLE_18_STABLE 2007-09-24 15:50:34 +00:00
nicolasconnault e295df447f MDL-10870 All files updated to new build_navigation() method. 2007-08-17 11:18:58 +00:00
skodak 8891e81c92 MDL-8469 - 192M is much nicer than 196M 2007-02-14 20:58:31 +00:00
skodak 4eefee9779 MDL-8469 increase memory limit everywhere due to changed calculation of used memory in PHP 5.2.x - the real memory useage is the same, but the reported size of used memory is now more accurate 2007-02-14 20:46:38 +00:00
toyomoyo 3f1c7233c7 restore is NOT WORKING!!! role assignment and capability overrides are not in 2006-09-25 09:10:19 +00:00
toyomoyo ec7a8b7999 adding capabilities 2006-09-07 08:57:56 +00:00
moodler 51df210337 Upgrade_log stuff needed adminlib.php included 2006-09-03 09:00:13 +00:00
moodler bade10e350 Removed all of the "Restricted users" hack because Roles can do it all better. 2006-08-13 07:01:57 +00:00
stronk7 8812e31233 And another notice in restore out. Bug 5711.
(http://moodle.org/bugs/bug.php?op=show&bugid=5711)

Merged from MOODLE_16_STABLE
2006-06-03 19:51:28 +00:00
mjollnir_ b8a25300b6 Fixing bug #5148: I don't know how this worked for restore and not for import, but it works for both now 2006-04-25 20:47:44 +00:00
stronk7 6917949483 Deleting $SESSION structures before starting manual restore. 2006-04-10 18:34:37 +00:00
stronk7 359484a063 Wrong syntax fixed. Bug 4014.
Curiosly, the bug is in 1.4 and HEAD, but no in 1.5... Uhmmm,
be careful with those merges... ;-)

(http://moodle.org/bugs/bug.php?op=show&bugid=4014)

Merged from MOODLE_14_STABLE
2005-09-05 16:21:18 +00:00
thepurpleblob 35a4a791c2 Merged from STABLE 2005-06-09 09:41:06 +00:00
stronk7 6472f6357f Prevent multiple execution of restore. Bug 3291
(http://moodle.org/bugs/bug.php?op=show&bugid=3291)

Merged from MOODLE_14_STABLE
2005-05-18 18:07:02 +00:00