540 Commits

Author SHA1 Message Date
stronk7
4c49c802d0 Some minor changes about the system to encode file.php calls included.
Solve an important issue about scheduled backups not working properly
    when encoding links...
Added support for event->visible in backup & restore.

TODO: Add wwwroot to backup/restore to use it when decoding.
      Change the system to encode forum calls.
2004-05-06 22:17:45 +00:00
stronk7
750024e833 Changed hiddentopics to hiddensections in backup and restore 2004-05-02 22:34:13 +00:00
stronk7
b9f2b9bd99 Small typo in las cvs version. Arghhh!! 2004-04-28 22:29:39 +00:00
stronk7
22c8200ff4 If group isn't detected when restoring events, default it to 0 2004-04-27 22:37:01 +00:00
stronk7
70da9e72ce Update it a bit too! 2004-04-27 19:57:18 +00:00
stronk7
d2b5f1e8bf event->format is now in backup & restore. 2004-04-27 19:51:12 +00:00
stronk7
559d33f678 Bump 2004-04-27 16:44:47 +00:00
stronk7
87808d0a01 Now, in topics format, every course can decide about how to
display hidden topics (collapsed or invisible)
Added support for course->hiddentopics in backup & restore
2004-04-27 16:37:53 +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
moodler
0043ddbb1a decalre $THEME to stop some notices ... 2004-04-17 13:37:54 +00:00
stronk7
df9a165ecc Now, after restoring the course, the restore proccess executes
every MODULE_refresh_events() function to recalculate every
activity event automatically.
2004-04-09 23:40:37 +00:00
stronk7
866eb2ffbd Update a bit. 2004-04-09 21:41:00 +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
stronk7
70441d0f8c Now, all "with/without user data" can be selected from one option. This
should avoid a lot of clicks to Gustav. :-D
Current implementation can  be modified to buttons...if desirable.
2004-04-03 23:52:23 +00:00
stronk7
01f50e060e First attempt to encode/decode some absolute path parts
in the backup/restore process in order to have every call to file.php
working in destination courses. Specially useful to contents created
with th HTML editor because it uses this type of URLs to images, smiles...

NOTE: This make 1.3 backups not restorable in 1.2 systems !!
2004-04-01 23:31:56 +00:00
stronk7
39e7e1abf8 One more day... 2004-03-24 23:27:09 +00:00
stronk7
2147cbda7e preparing for micro-release in a day or two. Bump to 1.2.1 2004-03-22 19:42:46 +00:00
stronk7
1163776529 Bump to 1.2 + :-) 2004-03-21 10:46:05 +00:00
stronk7
75c83282ff Bump to update possible release date. 2004-03-18 22:55:26 +00:00
stronk7
661c23469a Bump to update possible release date. 2004-03-16 17:53:01 +00:00
stronk7
5cc875eb9e Upgrade to new release day 2004-03-14 00:17:59 +00:00
stronk7
5710554f12 After executing all my test courses, now everything seems to be ready.
So I BUMP to 1.2 final now!!  :-)
2004-03-12 08:00:09 +00:00
stronk7
dc47f786f9 Bump. To be in sync with Moodle. 2004-03-11 07:26:38 +00:00
stronk7
39564db029 Solved bug 1123 and two more bugs when restoring
users and scales. Solved !!. Bump.
2004-03-10 17:12:00 +00:00
stronk7
1a6c02faba Detected 2 bugs when restoring users and scales about
recoding the id field !!
2004-03-10 17:10:26 +00:00
stronk7
063a889557 Now user_files are restored if the user existed previously but he
doesn't have a dir under the users dir.
See bug 1123 (http://moodle.org/bugs/bug.php?op=show&bugid=1123)
2004-03-10 16:15:42 +00:00
stronk7
57946b6d47 Take out the "working on it" string when restoring logs 2004-03-10 08:35:48 +00:00
stronk7
f49306f136 Bump... :-) 2004-03-09 11:38:10 +00:00
stronk7
097015895c When restoring to existing course, the list of
available courses was previously ordered by sortorder.
Now it's ordered by fullname. See bug 1108.
(http://moodle.org/bugs/bug.php?op=show&bugid=1108)
2004-03-09 11:35:14 +00:00
stronk7
c95ca8f034 Now the detailed view is available for each course. Enjoy. 2004-02-24 17:31:26 +00:00
stronk7
7a9e8dae46 Preliminary support of backup_logs included.
It doesn't show info yet but I need to commit it now
(traveling next two hours) :-)
2004-02-24 13:46:12 +00:00
stronk7
e39a04d573 First attempt to view scheduled backup logs.
Currently it shows laststatus only.
Detailed view comming this afternoon.
====
Note: As you have released 1.2beta and this is a new little functionality,
   please, let me know if I must "delete" it from CVS before 1.2 (although
   I think that we are on time to add this...)
2004-02-24 13:18:22 +00:00
moodler
98d4782e8a Match backup version to main version 2004-02-24 07:51:10 +00:00
stronk7
fb2c01fbb3 Solved two bugs when restoring and groups or events exists in destination
course.
2004-02-22 22:22:58 +00:00
stronk7
63a3695bfa Now every all the logs are restored.
Please, test it !!
2004-02-22 19:22:05 +00:00
stronk7
cd44fdcb82 Some important changes:
- Now course events are supported in backup & restore.
        - in manual backups
        - in scheduled backups
    - Fixed important bug when restoring groups.
    - Added support to the "user change password" action
      (with some changes done in login/change_password.php)

Please, test it !!!!
2004-02-21 01:30:22 +00:00
stronk7
5d31e5af40 Updated a bit. 2004-02-20 20:10:14 +00:00
stronk7
77885194e3 Bump to 1.2 alpha (to be synchronized) :-) 2004-02-20 20:08:14 +00:00
moodler
8199e3f09a New user field called "emailstop" ... to stop emails.
I had to do it ... this is driving me nuts with some people
on moodle.org
2004-02-20 09:02:27 +00:00
stronk7
c9ec4c5557 Bump. More modules support logs-restore. 2004-02-19 00:06:19 +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
0f318c26b4 Now logs from:
- Assignments
- Choices
- Workshops
are restored too.
2004-02-15 21:18:52 +00:00
moodler
3c0561cfe7 New field in the groups table to "hidepicture" from being displayed
in locations like forums etc.

Backups done too, Eloy.  :-)
2004-02-15 07:29:55 +00:00
stronk7
ea3591e41a Now chat logs are included in restore. I've decided to start with this
simple module to be ready for the difficults... :-)
2004-02-15 00:54:56 +00:00
stronk7
2ecad74265 First version of restore logs !!
It restores:
    course logs
    user logs
Todo:
    module logs

Coming soon :-)
2004-02-13 23:28:45 +00:00
stronk7
3a4b33c3b9 Now course->lang is in backup & restore. 2004-02-09 22:24:34 +00:00
stronk7
2b375658ae user_preferences fully supported
discussion->usermodified fully supported
log->cmid supported in backup
Bump previous to implement:
   - events
   - restore logs
2004-02-08 19:40:31 +00:00
stronk7
9055368540 Ooops !! Copy/paste typo. :-) 2004-02-08 19:37:43 +00:00