Commit Graph

26 Commits

Author SHA1 Message Date
stronk7
1ba1b3977a Now resource/view.php?r=XXX links are recoded properly in backup/restore. MDL-9450
Merged from MOODLE_18_STABLE
2007-04-22 22:07:03 +00:00
nfreear
88915b1d43 Fixes bug MDL-8059 "... won't restore - error A required parameter (id) was missing" 2007-02-16 15:45:35 +00:00
moodler
fdb1cf2cc1 FIxed to use the new debugging function 2006-09-18 09:13:04 +00:00
stronk7
1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00
stronk7
2070370cfa Typo. 2006-03-28 23:31:12 +00:00
stronk7
4128597a44 Solved one bug when decoding encoded links for
resource->reference
(http://moodle.org/mod/forum/discuss.php?d=38801)

Merged from MOODLE_15_STABLE
2006-02-01 19:10:30 +00:00
mjollnir_
f90666aa5c Abstracted a bit of the restore procedure to allow for silent restoring.
Added new function, import_backup_file_silently
Changed everything that prints stuff to check for a constant first.
Backup_flush checks a different constant, this is so that output can still
get flushed to the browser when necessary but not print <li>s everywhere.
Please test this!
2006-01-15 21:09:13 +00:00
mjollnir_
1ecea97679 Granular backup & restore:
This patch allows the much requested selection of individual instances of modules within a course to backup and restore.
It needs A LOT of testing and probably some prettyifying too.
2006-01-13 03:45:31 +00:00
moodler
f5e1319ec3 Merged SC139 from stable 2005-07-12 08:00:51 +00:00
stronk7
25ef0370d5 Improved automatic relinking in backup and restore. Credits go to skodak.
Complete refactoring of the system that was really awful (my fault!).
Now everything is in its place and working like a charm, making things really
easier to be implemented and amplied. Bug 3678
(http://moodle.org/bugs/bug.php?op=show&bugid=3678)
(http://moodle.org/mod/forum/discuss.php?d=26530)

Note: Everything is merged from stable but the quiz module because it has
other changes not merged for now. I've skyped a message to Gustav about it.

Merged from MOODLE_15_STABLE
2005-07-04 18:56:03 +00:00
stronk7
85b9471fb4 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. Bye, Wiki! ;-)
2005-04-12 23:42:56 +00:00
moodler
bfe839b8ce Fixed missing bracket 2005-04-06 16:52:07 +00:00
stronk7
72f6ad8627 Now resource->name is working under filterall. 2005-04-05 22:37:06 +00:00
stronk7
ea9572f68f Manual links from lesson pages to resources are now preserved
between backup/restore anywhere.
(see discussion http://moodle.org/mod/forum/discuss.php?d=21044)

Merged from MOODLE_14_STABLE
2005-04-02 00:13:49 +00:00
stronk7
e09087bc76 Some minor changes to each module to XHTMLise the restore process 2005-02-07 23:33:17 +00:00
stronk7
6446885595 Included one more translation of links from
assignments to resources. Required in bug 2027.
Easy and not risky.

Merged from MOODLE_14_STABLE
2004-10-01 11:33:26 +00:00
gustav_delius
d1290cec39 fixed capitalization and quoting of attribute values 2004-09-12 17:34:35 +00:00
gustav_delius
a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +00:00
moodler
3d30a455cb Lots of little cleanups and these new things:
- Reference resources are now history -> converted to HTML pages
      (the backup/restore has been taken care of, Eloy)

  - HTML pages and Text pages can now have popups!

  - Summaries are not shown when they should be blank (eg if they
    just contain a <br /> as the HTML editor usually inserts.

  - Fixed some notices for PHP 5
2004-08-08 14:33:23 +00:00
moodler
19223525fa Removed Martin's mistaken addition from a few days ago 2004-08-05 18:13:59 +00:00
stronk7
903536cf37 Adjusted the 'frame' option for some mimetypes when restoring 1.3 courses... 2004-07-30 20:23:04 +00:00
stronk7
d735b7ba9c Now new resources are included in backup & restore.
1.4--->1.4 and 1.3--->1.4 conversions are working fine.
Tomorrow I'll try the backwards conversion (1.4--->1.3).
Bug 1674
(http://moodle.org/bugs/bug.php?op=show&bugid=1674)
2004-07-27 23:05:05 +00:00
stronk7
5b76e6fc51 Now every link to forums (from resources and forums) and every link
to resources (from resources and forums) are re-encoded in backup/restore.

I could reduce the code size but for now I prefer to have it this looong
form to clarify what it's doing.

Please, test, test and test...
2004-05-08 18:30:30 +00:00
stronk7
4130af7552 Now label, quiz, resource and survey logs
are restored properly (I think) :-)
2004-02-16 20:42:16 +00:00
stronk7
902142c079 Added language support 2003-07-28 19:32:51 +00:00
moodler
d7c93ec8fa Moving the backup libraries for each module into their new homes.
There's some beer and pies in the fridge, guys, settle in.
2003-07-09 04:40:35 +00:00