53 Commits

Author SHA1 Message Date
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
stronk7
fb2fcf3af5 Added some optional_variables to avoid some NOTICES 2003-08-24 14:46:52 +00:00
moodler
63bcc9b55b Use isteacheredit instead of isteacher 2003-08-16 06:37:06 +00:00
stronk7
1692281e40 Minor change to allow continue after upgrade_backup 2003-08-02 10:32:57 +00:00
moodler
bd38123e98 Completed mods to allow teachers to make backups 2003-08-01 14:42:14 +00:00
moodler
9c1ae5ae32 Removed $moodle_home and $mods_home references.
Also removed direct references to $backup_version and $backup_release

backup.php now accepts teachers of their own course
2003-08-01 14:34:11 +00:00
moodler
10dcde409b Further integration of backup into main Moodle.
The database checks/upgrades are now done on the main
admin page like the other modules.

The database files are now standard format .sql and .php files

PostgreSQL support was added - BUT HAS NOT BEEN TESTED YET!!
2003-08-01 13:59:17 +00:00
stronk7
d538d4008f Changed calls to backup_version.php to version.php
(to be more consistent with the rest of the modules)
2003-07-31 16:54:05 +00:00
moodler
5351f569c6 Updated paths for new location (that was easy!) 2003-07-09 04:43:10 +00:00
stronk7
ac6a7b144d Changed max_execution_time to 3000.
Call to backup_required_functions included.
2003-06-12 15:35:37 +00:00
stronk7
55513d3ec5 Changed max_execution_time and memory_limit php variables
to execute long and heavy scripts (restore and backup)  :-)
Only affects current script execution
2003-06-11 19:13:07 +00:00
stronk7
7641819df0 Moved the check_version code to lib.php
Formatted portions of code
2003-05-16 21:51:07 +00:00
stronk7
52376d940f Now backuplib.php includes all the functions needed in backup, restorelib.php all
the functions needed in restore and lib.php the rest of common functions.
2003-05-14 22:09:30 +00:00
stronk7
52b538621e Changes to support xml sections generation.
And convert htmlentities an utf8
2003-05-07 22:15:14 +00:00
stronk7
95f6c01b03 Only admins can execute me !! 2003-05-07 16:09:34 +00:00
stronk7
000969becd Included to get Moodle's version into xml file 2003-05-06 22:47:06 +00:00
stronk7
674b30f5f7 Begin the execute process. Created temporary structures (dir) 2003-05-04 23:24:48 +00:00
stronk7
b0778a76c3 Changed to link with new files (backup_form.html, backup_check.html
and backup_execute.html)
2003-05-04 21:32:11 +00:00
stronk7
3868b9c666 Finished the check phase. Ready to begin the execute phase. 2003-05-04 21:01:47 +00:00