71 Commits

Author SHA1 Message Date
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
martinlanghoff
bce7197321 Merged from MOODLE_14_STABLE moodle--eduforge--1.3.3--patch-335 Now memory_limit can be overriden by higher config settings from php.ini, commandline, httpd.conf, .htaccess 2004-11-18 02:55:06 +00:00
gustav_delius
7ef0797dea some fixes for XHTML compliance 2004-09-12 01:34:24 +00:00
stronk7
f74fd81898 Increase memory_limit to 128 in backups & restore.
Merged from MOODLE_14_STABLE
2004-09-08 22:47:19 +00:00
stronk7
0f3fe4b6ad First Official realease of the "Blocks System".
Integrated with Moodle:
    - Install automatically.
    - Update course->blockinfo for each course at installation time.
    - Modified course creation to insert into blockinfo field.
    - Modified restore to insert into blockinfo field.
    - Admin options (hide, show, delete, config) from admin page.
    - Lang strings inserted (en only).
    - Database support to mysql and postgresql (not tested!!).
Moodle, backup and block versions updated to 2004041800.
Tested with mysql: Install fresh and upgrade from previous.
section_activities block renamed to social_activities and created
its own lang file to support name "Social Activities". This can
be changed at any time.

TODO:
=====
Support it really in backup/restore.
????

Enjoy!! Ciao :-)
2004-04-18 23:20:53 +00:00
stronk7
632d6e50ce Incremented memory max to 80MB. To avoid possible pclzip bug...
See bugs 1216 and 1222
2004-04-05 21:37:29 +00:00
moodler
9069e60346 Restricted users can't do backups 2004-02-04 12:43:05 +00:00