77 Commits

Author SHA1 Message Date
Jason Fowler
c8d1e4aa8c MDL-35056 - Backup/Restore - Converting the 'Unmet Dependencies' Message to be a Developer Debug message to make moodle less confusing to the average user 2012-12-18 09:58:53 +13:00
Adrian Greeve
a689cd1def MDL-34469 - lib - replacement of the deprecated get_context_instance and get_context_by_id functions (group 15) 2012-07-30 14:59:57 +08:00
Tim Hunt
ff5d6f8872 MDL-33682 backup: cope with sections called '0'
It was not previously possible to have a section called 0 because of
bugs in the standard course formats, but we hit this with the OU course
format. You got an exception because backup settings tested to see if
their lable was empty, which means a section name of '0' was fatal.
Should work now.
2012-06-12 17:46:47 +01:00
Petr Skoda
748e96512b MDL-32095 fix backup API to be E_STRICT compatible 2012-03-26 16:04:16 +02:00
Sam Hemelryk
71e0b3b5c7 MDL-29188 multilang Reviewed the uses of section name and ensured things were being formatted consistently 2011-09-08 09:27:38 +12: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
4886029cba backup MDL-22142 Several changes to the backup UI and it's classes as noted below
*  backup moodleforms for specific stages are now cached between stage processing and display making it possible to leave all validation up to the bridge.
    * The backup stage now relies entirely on the backup controllers save, load, and check methods + dependency checks rather then previous stage processing to ensure accuracy.
    * filename is now a required field and validated to ensure it ends with .zip and is a valid filename.
    * There is now a previous button for backup stages after the initial and before the complete.
    * The progress bar previous stages are now links as well allowing the user to jump to previous stages (not linked on complete of course).
    * The root settings are only shown on the schema stage now if they were changed because of dependency.
    * Stages are now numbered in the progress bar.
    * The complete page now shows a notice that the backup was complete and provides a continue button to view the backup file.
    * Adds administration blocks to the backup pages.
2010-05-10 02:53:31 +00:00
Sam Hemelryk
8c6d7f34ed backup MDL-22142 P19 - Moved optional_param call for backupid out of load controller static method and into backup.php 2010-05-02 03:36:26 +00:00
Sam Hemelryk
105f805c01 backup MDL-22142 P15 - Backup.php now adds meaningful heading 2010-05-02 03:08:56 +00:00
Sam Hemelryk
9c27e9ab11 backup MDL-22142 P10 - Backup.php now checks more backup capabilities 2010-05-02 02:35:01 +00:00
Sam Hemelryk
a2190f5c22 backup MDL-22142 P9 - Properly check section/cm in backup.php 2010-05-02 02:25:26 +00:00
Sam Hemelryk
1904e9b35b backup MDL-22142 This is the user interface for backups, several minor/cosmetic issues still to be ironed out. See the tracker for details 2010-05-01 09:51:39 +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
7e7089e359 MDL-20901 fixed input validation 2009-11-19 18:11:14 +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
e6a40d2231 backup MDL-19789 Added set_url calls 2009-10-15 03:05:35 +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
skodak
f1953d38f3 MDL-17847 moved backup install.xml and upgrade.php to core 2009-01-10 20:03:08 +00:00
skodak
93f66983cc MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks 2009-01-02 22:56:48 +00:00
skodak
ad4375ac7f MDL-14679 towards /backup conversion 2008-06-01 14:46:48 +00:00
dongsheng
a4f9dc75da MDL-14129, fix misuse string 2008-04-23 01:53:30 +00:00
dongsheng
fa6086a84b MDL-14129, fix print_error 2008-04-22 08:52:25 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
fbb51be65a cosmetic fix for CONTEXT:SYSTEM fetching; merged from MOODLE_19_STABLE 2008-03-08 15:36:52 +00:00
nicolasconnault
e295df447f MDL-10870 All files updated to new build_navigation() method. 2007-08-17 11:18:58 +00:00
moodler
f12621d332 Fixed course theme MDL-10833 2007-08-13 13:36:52 +00:00
jamiesensei
3bee1ead40 merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 21:50:59 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +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
moodler
91a9559092 Fixed some potential XHTML strict errors MDL-7861 2006-12-12 07:30:37 +00:00
skodak
d8247de55e problem with incorrect redirect url - wwwroot without the trailning slash in not standard compliant MDL-6193 2006-10-08 18:55:18 +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
tjhunt
a7c3953d1c SC 289, small, but non-exploitable hole in backup permissions checking. Merged from MOODLE_16_STABLE. 2006-08-13 20:39:21 +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
c1543b80e9 Avoid one notice in backup. Bug 5709.
(http://moodle.org/bugs/bug.php?op=show&bugid=5709&)

Merged from MOODLE_16_STABLE
2006-06-03 19:01:07 +00:00
mjollnir_
a94baeaf20 Abstracted all the stuff that gets backup prefs from request, and put
it into session. This makes it easier to add a new stages
	and not have to write hidden fields and such like
2006-01-16 00:39:01 +00:00
stronk7
804b151595 Now the cancel button goes to the course (or site) page. Bug 2817.
(http://moodle.org/bugs/bug.php?op=show&bugid=2817)

Merged from MOODLE_15_STABLE
2005-06-19 17:52:17 +00:00
thepurpleblob
35a4a791c2 Merged from STABLE 2005-06-09 09:41:06 +00:00
stronk7
ad4f774cd4 THEME is out of this directory.
I hope to have done it correctly!
2005-01-28 00:01:20 +00:00
mjollnir_
873bf8758f Initial checkin for import course content functionality (uses backup/restore). Probably needs wording changes and new icon! Please test me *thoroughly*! 2005-01-27 02:35:10 +00:00
mjollnir_
e6d1d120b1 Merged from MOODLE_14_STABLE: Changes to calls to get_courses to not get all fields 2004-11-22 05:41:14 +00:00