Commit Graph

101 Commits

Author SHA1 Message Date
stronk7 e07fcc6ef8 Bump. New and improved relinking system available.
No changes at DB layer so I'm free to update the version
and maintain it syncronished with HEAD, isn't it?
2005-07-04 22:31:04 +00:00
stronk7 816f68c8aa Upgraded backup/restore TODO list. Only two points remains open:
- SCORM: restore. See bug 3404.
- QUIZ: 1.5 <=> 1.5 backup and restore. Gustav's team is polishing it.

Bump to 1.5 (Final)
2005-06-03 17:43:46 +00:00
moodler 27437410f4 file survey.php was added on branch MOODLE_15_STABLE on 2006-03-10 07:27:54 +0000 2005-04-05 20:54:43 +00:00
stronk7 b1a88d0413 Part of Bug 4583. Now backup tables are moodle-style compliant.
Also, the 4th parameter used in insert_record() has been erased
to avoid the bug itself. PortgreSQL upgrade not tested!
(http://moodle.org/bugs/bug.php?op=show&bugid=4583)
2006-01-16 10:23:48 +00:00
stronk7 bcba85618f Bump. New and improved relinking system available.
No changes at DB layer so I'm free to update the version
and maintain it syncronished with 15_STABLE, isn't it?

Merged from MOODLE_15_STABLE
2005-07-04 22:33:02 +00:00
stronk7 9a3725c22e Upgraded backup/restore TODO list. Only two points remain open:
- SCORM: restore. See bug 3404.
- QUIZ: 1.5 <=> 1.5 backup and restore. Gustav's team is polishing  it.

Bump to 1.5 (Final)

Merged from MOODLE_15_STABLE
2005-06-03 17:45:26 +00:00
stronk7 000b822e54 Now restore code for quizzes is enabled again. pre15 restore
seems to work and 1.5 backup 1.5 is in being done by Gustav's team.
2005-05-22 19:25:48 +00:00
stronk7 cf416cc429 Advance a bit... 2005-05-20 23:17:48 +00:00
stronk7 aacf918b5d Bump to 1.5 Beta's Day :-) 2005-05-17 22:51:41 +00:00
stronk7 e61aa22042 Version Updated to a Rounded Number.
We'll use this number to determinate the code to be used
in quiz restore making these assumptions:

- backup_version < 2005043000, old quiz version.
- backup_version >=2005043000, new quiz version.

This will cover near every backup in the world, only
some backups generated last week will be wrong but I
think we can ignore them (we are in alpha stage).
2005-05-09 19:18:37 +00:00
stronk7 04592aec06 Now event->repeatid is included in backup/restore. Thanks for
your support Jon!
Bump to 1.5 beta
2005-04-22 23:49:48 +00:00
stronk7 2191bf1fa2 Although there are some work todo, this practically can be considered beta! 2005-04-22 00:29:22 +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
stronk7 a819238cb2 Bump!
quiz module backup and restore is now working (although some important
bugs remains in the module, creating strange versions and hidden questions).

Only some minor final things need to be finished to be 1.5 ready! B-)
2005-03-20 23:44:00 +00:00
stronk7 e4fa95c287 Bump! Workshops are done. 2005-03-13 00:14:47 +00:00
stronk7 bbab80d1fc Some minor XML indentation, some changes in the XML structure and
some important bugs. Now everything seems to work properly with
lessons and backup/restore.

Only 1 pending change: Should the answer->grade field in old backups
  go to the new score field??????
2005-03-07 01:32:05 +00:00
stronk7 22bb909b57 Now forum_read is included in backup & restore 2005-02-18 19:05:09 +00:00
stronk7 6d1e416208 Now MIM is restored completely too!!!
It was more complex than I thought!
2005-02-13 19:09:41 +00:00
stronk7 1bbf415fe8 Now the restore process is XHTMLised 2005-02-07 23:28:52 +00:00
stronk7 f2d5737825 Now manual backups are XHTML 1.0 Transitional.
And version bump!
2005-02-05 01:00:33 +00:00
defacer 3ecf46a193 Blocks are now saved to and restored from course backups!
Backward compatibility is maintained, i.e. you can restore ANY version
backups without problems in 1.5. When "adding backup data to an existing
course", no blocks are added. I 'm not sure what the correct behavior
would be in this case.

When restoring a backup from Moodle <= 1.2, the new course SHOULD be given
default blocks when it is restored. I have not actually tested this, my
tests were with version 1.3 and 1.4 backup format.
2004-10-29 17:07:11 +00:00
stronk7 40385a0219 Syncronished with 14_STABLE. Bump to 1.4.2. 2004-10-16 16:11:18 +00:00
stronk7 ed187d7506 Sync with 14_STABLE version. Not needed but, for now I prefer
both being the same.
2004-10-01 09:27:32 +00:00
stronk7 eb811077de Bump (sync with 14_STABLE) 2004-10-01 07:31:44 +00:00
stronk7 a09859bd1c Bumped a bit after 1.4 release. 2004-08-29 10:16:29 +00:00
stronk7 0083049b21 Now user->auth is in backup & restore
Bug 1789
(http://moodle.org/bugs/bug.php?op=show&bugid=1789)

Merged from MOODLE_14_STABLE
2004-08-28 10:26:06 +00:00
stronk7 3cde8e9a99 Life continues in 1.5.... :-D 2004-08-24 22:30:56 +00:00
stronk7 42ad99c5a8 Bump!! Calculated questions are now included 2004-08-06 23:44:27 +00:00
stronk7 b619008d27 Simple bump. Now 1.3<--->1.4 resource backup & restore is finished...I hope :-) 2004-07-30 20:24:38 +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 27e2dea647 Bump to support plugin formats in glossaries.
Bug 936
(http://moodle.org/bugs/bug.php?op=show&bugid=936)
2004-07-27 17:21:23 +00:00
stronk7 27757bee57 User->maildigest supported now. 2004-07-23 17:10:55 +00:00
stronk7 baadcd6560 Ooops!! I thought I had sent this to CVS some days ago.
Now both type of links (slasharguments on and off) are
detected in the backup process. And the restore process
take care of the slasharguments seting in destination
and translate all the links to the correct format.
I think it's really a nice addition, ;-)
Ready to 1.3.3 bump!!!
Bug 1634
(http://moodle.org/bugs/bug.php?op=show&bugid=1634)

Merged from MOODLE_13_STABLE
2004-07-15 23:04:22 +00:00
stronk7 68b59d7256 Now only restored wikis (posts and resources) are re-encoded when
restoring to a existing course. Bug 1571.
(http://moodle.org/bugs/bug.php?op=show&bugid=1571)

Merged from MOODLE_13_STABLE
2004-07-08 06:05:34 +00:00
stronk7 d902b189e0 Added course->cost to backup/restore 2004-06-26 12:36:55 +00:00
stronk7 e41ba0024b Bump to possible release day.
Note: not relevant, but my 2nd Wedding Anniversary!! :-)
2004-05-23 19:28:22 +00:00
stronk7 13cbc82969 Bump. 2004-05-23 10:26:34 +00:00
stronk7 fcd6cf2340 Now "none-users" backups are allowed. See bug 1420.
(http://moodle.org/bugs/bug.php?op=show&bugid=1420)
2004-05-20 18:39:18 +00:00
stronk7 30f649342c Bump to 1.3 Final. Ready...
(only bug 1420 ) remains in process...
2004-05-20 08:22:15 +00:00
stronk7 ba484b2108 Now day-names are showed properly always. Bug 1422.
Using gmt functions to avoid TZ displacements...
(http://moodle.org/bugs/bug.php?op=show&bugid=1422)
And BUMP version.
2004-05-19 23:08:03 +00:00
stronk7 c6e02da78f Just to be "aligned" with main Moodle version...:-) 2004-05-13 16:00:48 +00:00
stronk7 646c20b5ff Solved a small bug in scheduled backups when encoding links!!
I've tested it against 10 courses (manual and scheduled) and
everything seems to work fine. In some days I'll test it againt
some BIG course (if moodle.org is updated to this version).
Dump version to 1.3 beta (as I think everything is finished now).

:-)
2004-05-09 23:15:56 +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 3a238a355a Changed the system to recode links to forums. Now it it detect
that the link doesn't belong to the course being restored, then
the original link is mantained.
With this, the backup/restore should be finished. Now some
tests to check everything !!
2004-05-07 23:40:41 +00:00
stronk7 b9f2b9bd99 Small typo in las cvs version. Arghhh!! 2004-04-28 22:29:39 +00:00
stronk7 70da9e72ce Update it a bit too! 2004-04-27 19:57:18 +00:00
stronk7 559d33f678 Bump 2004-04-27 16:44:47 +00:00
stronk7 56eea82e08 First version of inter-activities mantained in backup/restore.
All the conversion to some pseudo-codes are done at backup time.
In the restore process, every link is decoded to new ids.
For now, this is supported:
- In backup:
  -all links to forums are encoded.
- In restore:
  - all links to forums are decoded.
      - from forums (post->message).
      - from resources (resource->alltext).
The process requires a backup made with the same version (because it
has to be properly encoded at backup time). Old backups will work
without conversions at all.
Only tested with some little courses.
It would be perfect to have some "big" course to test it.
Please, test and feedback, ciao :-)
2004-04-24 00:40:45 +00:00
stronk7 229f852a8a Now blockinfo is fully supported in backup & restore. For old backups
(without blockinfo field, default blocks are applied). Every block
visibility is mantained in the process.
Bump versions a bit (2004042100) :-)
2004-04-20 23:28:46 +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