52 Commits

Author SHA1 Message Date
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
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
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
f49306f136 Bump... :-) 2004-03-09 11:38:10 +00:00
moodler
98d4782e8a Match backup version to main version 2004-02-24 07:51:10 +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
77885194e3 Bump to 1.2 alpha (to be synchronized) :-) 2004-02-20 20:08:14 +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
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
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
916bb3daec - some debug info turned off.
- scheduled backups now supports groups info (need to centralize the code!!)
- solved an important issue when restoring users introduced in lib.php v1.44

Bump
2004-01-29 00:14:02 +00:00
stronk7
dfa14bc98f Now groups and members are restored and recoded when restoring courses.
Existing courses are searched by name+description to add members to
existing groups (when restoring over another course).
2004-01-25 20:57:58 +00:00
stronk7
e695cd3f36 Now groupmode in course_modules is supported too. 2004-01-22 20:27:17 +00:00
stronk7
b06021549a A new parameter (backup_sche_keep) is included. Oldest backup files
will be deleted automatically. Try it !!
2003-12-29 20:24:45 +00:00
stronk7
b1b589b5cc Now admin/configuration/backup strings are included.
Happy Christmas :-)
2003-12-24 12:11:35 +00:00
stronk7
d997d2d44e Now an email is sent to the admin when some course backup is excecuted.
TODO:
   - View logs
   - Language strings
2003-12-15 00:54:16 +00:00
stronk7
7f46857afe Now scheduled backups seem to be fully functional. Please, test it !!
TODO:
   - Insert info about process in backup_log
   - Be able to see that info from admin/backup.php
   - Email to the admin with the execution progress
   - Create all languaje strings
Bye :-)
2003-12-14 00:00:28 +00:00
stronk7
be3737bfc0 Creation of needed DB structures (prefix_backup_courses and
prefix_backup_log) to store info about scheduled backups.

NOTE: PostreSQL and Oracle not tested !!
2003-12-08 22:50:56 +00:00
stronk7
90471d6b0b Going to "Create the script". Bump. 2003-11-30 21:57:43 +00:00
stronk7
de4746a8a2 Initial release of the configure backup.
It now uses backup_config instead of config.
Not finished !!
2003-11-27 23:28:29 +00:00
stronk7
15d6420f3d Bump !!
Some important changes incoming next days !!
2003-11-22 20:21:19 +00:00
stronk7
91c59b920c Bump. timeaccess (students and teachers) working. 2003-10-27 17:26:08 +00:00
stronk7
54849831c2 Bump :-) 2003-10-19 23:04:19 +00:00
stronk7
519ed08a44 Up abit to solve one category issue. 2003-09-23 16:51:57 +00:00
stronk7
57129544d1 Updated a bit (only date) 2003-09-23 00:00:00 +00:00
stronk7
bb5eb662d0 Labels, attendances and glosaries finished.
Updated a bit info in STATUS.txt
2003-09-18 18:52:40 +00:00
stronk7
3f6cc68f6a Now glossaries are included too.
And backup filename is editable.
2003-09-18 17:48:24 +00:00
stronk7
0611af101d Now, "needed" users are included in backup/restore when
"course users" are selected.  This uses the xxxx_get_participants()
function in every module.
This solves an issue about info in modules belonging to
unenrolled users (Bug #692 closed).
Mantain compatibility with old backups (1.1 and 1.1.1).
Updated version to "1.2 development".
Included support to "label" module (by Martin)
2003-09-14 21:43:34 +00:00
stronk7
3b16f21626 Ready !! :-) 2003-08-28 00:50:11 +00:00
stronk7
202ba3902e Now STAMP fiel is supported in backup & restore.
If it exists in backup-file used, else, old search-by-name is used.
When inserting new categories, stamp is filled it it doesn't exist.
Updated version to 1.1 Beta +++ !!
2003-08-27 17:09:01 +00:00
stronk7
461da6bdb6 Now existing categories are used only if their publish
field is set to yes. Else, a new "local" category is created.
Added some lines of code to mantain old compatibility when detecting
existing questions (do it by name if the stamp is not found) and insert
the stamp too !!
Please, test.
2003-08-27 00:40:14 +00:00
stronk7
d04983d8a3 Now restoring workshops are working too !!
Now all is ready to be 1.1 Beta 1.
Congratulations everybody !!
Anyway, some polish must be done, friends...
2003-08-25 22:40:38 +00:00
stronk7
6252f5dcd3 Now workshops backup are included too !!
Only one step to Beta !! (workshop restore)
2003-08-25 19:56:42 +00:00
stronk7
1923285635 Now stamp and version are fully supported in backup/restore.
The process look for category, stamp and version to calculate
when to create a question or use a existing one.
This avoid duplicates in RANDOM and RANDOMSAMATCH qtypes.
2003-08-23 15:21:58 +00:00
stronk7
a057e13d1f Up to 0.8.9 alpha.
Now multianswer questions are working too.
Too complicated !!
2003-08-23 00:36:08 +00:00
stronk7
42f1ff47b4 Scales are now supported in backup/restore.
Updated version to 0.8.8 alpha. Please test.
2003-08-18 00:00:22 +00:00
stronk7
f43f3f65bc Solved one important bug in RANDOM(4) and RANDOMSAMATCH(6)
question types.
And modified some of the quiz_answers restore system to
allow remapping answers with existing questions.
//Detected by scott dot elliott at mchsi dot com in Bug 84
2003-08-15 11:08:51 +00:00
stronk7
80de201bfc Updated.
Now chat modules are included in backup and restore
2003-08-03 22:48:41 +00:00