94 Commits

Author SHA1 Message Date
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
stronk7
75766456f9 Now all the wiki formated texts are converted to markdown
by the restore process. Such conversion is performed for
every backup file prior to 2005041100.
Wiki internal links are dinamically changed and then,
converted to Markdown.
2005-04-12 23:40:40 +00:00
moodler
9ff5e44a93 Added Blackboard restore using XSLT. Works with BB 5.5 and BB 6.0.
Completely untested by me but it LOOKS like it should work.  It's quite
standalone, and is basically a single function call during the restore
precheck which looks in the backup to see if it's a BB file, then
converts it using XSLT.

Apart from a little tidyup and renaming, I added a check so that it
should just silently fail if XSLT functions aren't available

Many thanks to Ziba Scott <ziba@linuxbox.com> who wrote it!
2005-02-08 07:19:49 +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
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
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +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
b7318874b9 Don't allow restricted users to do restores 2004-02-04 12:44:06 +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
9e426d54ee Added preliminary support to teachers.
Not working yet.
2003-08-02 16:06:33 +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
907933f6ae Included course/lib.php to execute rebuild_course_cache() 2003-05-31 14:51:38 +00:00
stronk7
5f94815096 Included lib/xmlize.php to use it intensively
restoring mods.
Perhaps, in a future, the rest of the reading must be
xmlized too !!! (users, course_info, header...), but not now.
2003-05-30 21:30:47 +00:00
stronk7
7ba7461530 Finished restoring course, course_sections and course_modules.
When ending the restore process, we've to update the instance
field of course_modules and the modinfo field of course. Now
we haven´t the necessary info to do that.
2003-05-24 00:27:45 +00:00
stronk7
7c934d06ed Finished the check phase.
Tomorrow I'll start recovering course info !!
2003-05-22 22:11:17 +00:00
stronk7
7e092fdaed Now call restore_check.html too. 2003-05-19 22:28:39 +00:00
stronk7
f2deadb30c Control when cancel has been selected. Inform and finalize. 2003-05-18 22:53:11 +00:00
stronk7
c563a9a0d1 added check login, check admin and check site to every page.
If not, it was possible to execute them...!!
2003-05-18 17:15:05 +00:00
stronk7
a4ad03f175 Debug a bit 2003-05-17 08:56:53 +00:00
stronk7
b9846a9b9e Copy, expand and do preliminary checks from backup file 2003-05-16 21:52:49 +00:00
stronk7
0f192e2cd6 Initial version of restore. Simply, a copy from backup.php 2003-05-14 23:25:00 +00:00