Git commits in Moodle 1.2.0 by stronk7

commit 75c83282ff7f7d5b66fd0251a12d5198c6c13037
Author: stronk7 <stronk7>
Date:   Fri, 19 Mar 2004 06:55:26 +0800
Tag:    v1.2.0

Bump to update possible release date.

commit 661c23469aee028a675dc7ee6453e339cd39e3ab
Author: stronk7 <stronk7>
Date:   Wed, 17 Mar 2004 01:53:01 +0800
Tag:    v1.2.0

Bump to update possible release date.

commit 13ae7189377693438482a655931828a7fbacd37f
Author: stronk7 <stronk7>
Date:   Mon, 15 Mar 2004 07:05:04 +0800
Tag:    v1.2.0

Avoid one undefined THEME little problem in html_header()

commit 54be24ececadb89f714a69cfdd9249a3ac302e5b
Author: stronk7 <stronk7>
Date:   Sun, 14 Mar 2004 10:17:26 +0800
Tag:    v1.2.0

Avoid login as himself to teachers. One missing USER variable was the cause wink

commit e47543451e9da9d6873ec4cb4d1a82053b681035
Author: stronk7 <stronk7>
Date:   Sun, 14 Mar 2004 09:22:28 +0800
Tag:    v1.2.0

Avoid some division by 9 warnings when showing anonymously and no answers have been introduced.

commit 2e89715bc24afe6b6738b3da6d4665e991921134
Author: stronk7 <stronk7>
Date:   Sun, 14 Mar 2004 09:18:54 +0800
Tag:    v1.2.0

Small typo causing some warnings. $theme ----> $THEME

commit 5cc875eb9e205b88402692f74e463869b48604ff
Author: stronk7 <stronk7>
Date:   Sun, 14 Mar 2004 08:17:59 +0800
Tag:    v1.2.0

Upgrade to new release day

commit 5710554f12dbe745240c00d44dccb9233e12a3a5
Author: stronk7 <stronk7>
Date:   Fri, 12 Mar 2004 16:00:09 +0800
Tag:    v1.2.0

After executing all my test courses, now everything seems to be ready. So I BUMP to 1.2 final now!!  smile

commit 977070f9e8d62f9199a56b981b55a2a593f18544
Author: stronk7 <stronk7>
Date:   Fri, 12 Mar 2004 07:50:05 +0800
Tag:    v1.2.0

Undo one line inserted by error in my previous commit with one change I was trying some time ago...sorry sad But now all should be correct.

commit da0fe63f91c290f40d1233103462a293c70e6863
Author: stronk7 <stronk7>
Date:   Fri, 12 Mar 2004 07:47:18 +0800
Tag:    v1.2.0

Fixed some wrong call to pclzip.lib.php. See: http://moodle.org/bugs/bug.php?op=show&bugid=1138

commit dc47f786f9bf6b6bb9ebd02b91aea2de92b49811
Author: stronk7 <stronk7>
Date:   Thu, 11 Mar 2004 15:26:38 +0800
Tag:    v1.2.0

Bump. To be in sync with Moodle.

commit 39564db029d460798aed8c43c6dca1eb2f217df8
Author: stronk7 <stronk7>
Date:   Thu, 11 Mar 2004 01:12:00 +0800
Tag:    v1.2.0

Solved bug 1123 and two more bugs when restoring users and scales. Solved !!. Bump.

commit 1a6c02fabacdee07a2600984f59bde54f9929862
Author: stronk7 <stronk7>
Date:   Thu, 11 Mar 2004 01:10:26 +0800
Tag:    v1.2.0

Detected 2 bugs when restoring users and scales about recoding the id field !!

commit 063a8895570bf50e0f6dada38027291d63ac393b
Author: stronk7 <stronk7>
Date:   Thu, 11 Mar 2004 00:15:42 +0800
Tag:    v1.2.0

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)

commit 57946b6d47118b6791859f628080bb69279e7ad4
Author: stronk7 <stronk7>
Date:   Wed, 10 Mar 2004 16:35:48 +0800
Tag:    v1.2.0

Take out the "working on it" string when restoring logs

commit dd780a3b4c6f562d28df9cb2d870ff713ab09bdb
Author: stronk7 <stronk7>
Date:   Wed, 10 Mar 2004 07:07:35 +0800
Tag:    v1.2.0

Now, in SEPARATE groups courses, a user cannot access to the info about users in other groups.

commit bdad9dbae85b1229f2d1c3260ece409c96120a9c
Author: stronk7 <stronk7>
Date:   Wed, 10 Mar 2004 06:37:57 +0800
Tag:    v1.2.0

Added the group icon to cordoroyblue theme.

commit 75c591dbb962bc72a1c54f3ab2521d2049431daf
Author: stronk7 <stronk7>
Date:   Wed, 10 Mar 2004 00:32:24 +0800
Tag:    v1.2.0

Leeson icon for cordoroyblue (the standard one)

commit f49306f136025bfb9d26610d5e048271dc836759
Author: stronk7 <stronk7>
Date:   Tue, 09 Mar 2004 19:38:10 +0800
Tag:    v1.2.0

Bump... smile

commit 097015895cf3356bd36561f9272f2e0f7516eb89
Author: stronk7 <stronk7>
Date:   Tue, 09 Mar 2004 19:35:14 +0800
Tag:    v1.2.0

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)

commit cc14c8bd42f46a1a95cb622d674356b9bf05a77c
Author: stronk7 <stronk7>
Date:   Wed, 25 Feb 2004 01:31:48 +0800
Tag:    v1.2.0

Added backuplogdetailed string

commit c95ca8f034109197b3f66f3f5d774e1df3b9573d
Author: stronk7 <stronk7>
Date:   Wed, 25 Feb 2004 01:31:26 +0800
Tag:    v1.2.0

Now the detailed view is available for each course. Enjoy.

commit 89e399dcdad73477b0f899c34e1099f044e01af8
Author: stronk7 <stronk7>
Date:   Tue, 24 Feb 2004 23:45:01 +0800
Tag:    v1.2.0

Now message->groupid is supported in backup & restore.

commit 7a9e8dae461f5092545825d4e2a5323eba3bdb7f
Author: stronk7 <stronk7>
Date:   Tue, 24 Feb 2004 21:46:12 +0800
Tag:    v1.2.0

Preliminary support of backup_logs included. It doesn't show info yet but I need to commit it now (traveling next two hours) smile

commit e39a04d57337358c7940384cc385ee1c3fe1918b
Author: stronk7 <stronk7>
Date:   Tue, 24 Feb 2004 21:18:22 +0800
Tag:    v1.2.0

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...)

commit 7754a0df58dc7723cf91153a31c9615480a84885
Author: stronk7 <stronk7>
Date:   Mon, 23 Feb 2004 20:03:39 +0800
Tag:    v1.2.0

Added the firstdayofweek string (0-Sunday, 1-Monday,....6-Saturday). Needed because this info isn't in locales. This can be used in a lot of places showing weekly info (backup_scheduled, calendar...)

commit fb2c01fbb32c000813b27e317b1a5770f2b20876
Author: stronk7 <stronk7>
Date:   Mon, 23 Feb 2004 06:22:58 +0800
Tag:    v1.2.0

Solved two bugs when restoring and groups or events exists in destination course.

commit 626daa72f70bad94280f5975366486a378a6a403
Author: stronk7 <stronk7>
Date:   Mon, 23 Feb 2004 03:43:26 +0800
Tag:    v1.2.0

Added to strings about backup & restore of events.

commit 63a3695bfacadbfe61581e0ed24cd1f056178362
Author: stronk7 <stronk7>
Date:   Mon, 23 Feb 2004 03:22:05 +0800
Tag:    v1.2.0

Now every all the logs are restored. Please, test it !!

commit 8dad6a690f80a1f09187d183c587c218a049134a
Author: stronk7 <stronk7>
Date:   Mon, 23 Feb 2004 03:19:02 +0800
Tag:    v1.2.0

Opps, returning to version 1.3 (before I put two lines in CVS by mistake). I'll inform Ray about that needed actions and let him to decide. Sorry sad

commit c6c8272ae799f446b845b8cefd26108acbc8c9cd
Author: stronk7 <stronk7>
Date:   Mon, 23 Feb 2004 03:11:09 +0800
Tag:    v1.2.0

Now lesson logs are restored too!!

commit e8ba6e60280f8e92bc219d57c6adaf18488909bc
Author: stronk7 <stronk7>
Date:   Mon, 23 Feb 2004 03:10:23 +0800
Tag:    v1.2.0

Some minor changes because the: /mod/lesson/view.php?id=XXX&action=navigation&pageid=ZZZZZ was not working fine. I'm not really sure if the modifications I've done (basically removing POST['pageid'] use has other implications. So, Ray, if you can check it.... Ciao smile

commit 6e773096a5efe31aa699c7434096fa24a7bf2a89
Author: stronk7 <stronk7>
Date:   Mon, 23 Feb 2004 02:15:45 +0800
Tag:    v1.2.0

Added the lesson_get_participants() function to properly detect all the needed users with data in the activity in order to be able to backup them.

commit 744d723c2caf84fce7574d768bcadb5a514d5aa4
Author: stronk7 <stronk7>
Date:   Sun, 22 Feb 2004 20:34:07 +0800
Tag:    v1.2.0

Now forum logs are restored.

commit b17333be71887ac7ea34b131d647b0d4a5a2be57
Author: stronk7 <stronk7>
Date:   Sun, 22 Feb 2004 19:50:09 +0800
Tag:    v1.2.0

In the delete discussion action, as the discussion no longer exists, point the url to view the forum instead of the discussion.

commit 96d6fc8f14cfda9c4fa64630f40c5e1bf185a5a8
Author: stronk7 <stronk7>
Date:   Sun, 22 Feb 2004 19:40:44 +0800
Tag:    v1.2.0

Solved small bug in delete discussion action, where the info field was storing the post->id rather of the discussion->id field

commit 454e72f7d4b0b5c8ee46e27a42825cc94d1ebea5
Author: stronk7 <stronk7>
Date:   Sun, 22 Feb 2004 19:25:09 +0800
Tag:    v1.2.0

Added the forum->id into the info field for the "view subscribers" action. To make this action easily recovereable and to show forum name when displaying logs.

commit ceafd825e25fbaf8267f1b8ba6db917cc9940897
Author: stronk7 <stronk7>
Date:   Sat, 21 Feb 2004 09:53:12 +0800
Tag:    v1.2.0

Take out all he notices in this form, it had a lot !!

commit cd44fdcb8222cf98f309d7fa004fcc00fcb43c6a
Author: stronk7 <stronk7>
Date:   Sat, 21 Feb 2004 09:30:22 +0800
Tag:    v1.2.0

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)

commit 526234384cd025a55fbbd89e8f75e61985a1da60
Author: stronk7 <stronk7>
Date:   Sat, 21 Feb 2004 09:24:07 +0800
Tag:    v1.2.0

Modified the log of the "change password" action to encode the userid in the info field, instead of the courseid. To be consistent with another user actions (view...). I suppose that this is the propper way.

commit 5d31e5af40465b49ecf6766ad9b46945f21848e5
Author: stronk7 <stronk7>
Date:   Sat, 21 Feb 2004 04:10:14 +0800
Tag:    v1.2.0

Updated a bit.

commit 77885194e3d781a18f828caf081e705bf6720e9b
Author: stronk7 <stronk7>
Date:   Sat, 21 Feb 2004 04:08:14 +0800
Tag:    v1.2.0

Bump to 1.2 alpha (to be synchronized) smile

commit c9ec4c55571b18920aecf847add1de66b5a5ecd3
Author: stronk7 <stronk7>
Date:   Thu, 19 Feb 2004 08:06:19 +0800
Tag:    v1.2.0

Bump. More modules support logs-restore.

commit 73993165186d630e2bb3aecca3b8461f6a789d2a
Author: stronk7 <stronk7>
Date:   Thu, 19 Feb 2004 06:30:35 +0800
Tag:    v1.2.0

Now journal logs are restored too smile

commit 93766dbd6a913794b0c3324f1f7e6a44b7ca569d
Author: stronk7 <stronk7>
Date:   Thu, 19 Feb 2004 06:29:50 +0800
Tag:    v1.2.0

Now glossary logs are restored too !! smile

commit d3acd64d59a2abef7f045025f5519ea63960e884
Author: stronk7 <stronk7>
Date:   Thu, 19 Feb 2004 05:50:33 +0800
Tag:    v1.2.0

Little bug storing wrong comment->id in the info field when performing the "delete comment" action. Now it works fine. smile

commit fabf55e684804e01220cf18f7964363a3345ce33
Author: stronk7 <stronk7>
Date:   Thu, 19 Feb 2004 04:52:44 +0800
Tag:    v1.2.0

Added the cmid field to some add_to_log() calls. To use it when restoring logs. Now I think that everything is ready !! smile

commit f43c695e1eb30a1797e5d2f55b7858d68978255a
Author: stronk7 <stronk7>
Date:   Thu, 19 Feb 2004 04:02:33 +0800
Tag:    v1.2.0

Added cmid to some add_to_log() function calls. Needed to be able to restore logs properly. smile

commit 10672458f952b6eb2272f9e9a740af5683e24b46
Author: stronk7 <stronk7>
Date:   Wed, 18 Feb 2004 01:27:27 +0800
Tag:    v1.2.0

Now "attempt", "submit" and "review" actions use the q=xxx&attempt=yyyy syntax instead of         id=xxxx&attempt=yyyy (not working old one) It's necessary to change the "review" add_to_log() call to use this sintax. It uses the old (nor working) one. I wait to Martin to do this, because I've sent one email about this. For info, the line to correct is number 57 in review.php from: add_to_log($course->id, "quiz", "review", "review.php?id=$cm->id&attempt=$attempt->id", "$quiz->id", "$cm->id"); to: add_to_log($course->id, "quiz", "review", "review.php?q=$quiz->id&attempt=$attempt->id", "$quiz->id", "$cm->id"); Ciao smile

commit 40c287b095ff72a9a53a7e1792b8f2f4e3748e3d
Author: stronk7 <stronk7>
Date:   Wed, 18 Feb 2004 00:19:58 +0800
Tag:    v1.2.0

Added support for "choose" and "choose again" action logs. smile

commit 4130af7552ac081affae702a0ec63e0f0d72595f
Author: stronk7 <stronk7>
Date:   Tue, 17 Feb 2004 04:42:16 +0800
Tag:    v1.2.0

Now label, quiz, resource and survey logs are restored properly (I think) smile

commit eaefa1c0e8af8ee3de7e6fc4d6a724172aa44452
Author: stronk7 <stronk7>
Date:   Tue, 17 Feb 2004 04:22:32 +0800
Tag:    v1.2.0

Added missing cmid parameter when calling add_to_log() function for report and review actions smile

commit 8f583218dfff4bf22b64c573e9f4019f3e941004
Author: stronk7 <stronk7>
Date:   Tue, 17 Feb 2004 03:31:26 +0800
Tag:    v1.2.0

Added missing cmid parameter when calling add_to_log() function.

commit 4866a36714cce1c7fb13fd1328c7ac4a6fd7ebb7
Author: stronk7 <stronk7>
Date:   Mon, 16 Feb 2004 08:41:52 +0800
Tag:    v1.2.0

Initilize selectmod in navmenu() function to avoid some warnings when showing the menu and no cm has been selected. No risk with this change, I suppose. smile

commit 0f318c26b40e154a10ef71b17b0d8b44da722996
Author: stronk7 <stronk7>
Date:   Mon, 16 Feb 2004 05:18:52 +0800
Tag:    v1.2.0

Now logs from: - Assignments - Choices - Workshops are restored too.

commit 530931dd21d885d0372be109fc5a287db3fb3195
Author: stronk7 <stronk7>
Date:   Mon, 16 Feb 2004 04:07:21 +0800
Tag:    v1.2.0

Modified calls to add_to_log() function to include cmid at the end. It was missing in "resubmit" logs.

commit 7c11319ad7e8cd352d47b155d6e5a47c8aa99fdd
Author: stronk7 <stronk7>
Date:   Mon, 16 Feb 2004 04:03:28 +0800
Tag:    v1.2.0

Modified calls to add_to_log() function to include cmid at the end. It was missing in "over allocatio" and "grade" logs.

commit d09ce61d1aa8466770ca1762850dfdd2e4e9bdf4
Author: stronk7 <stronk7>
Date:   Mon, 16 Feb 2004 03:37:26 +0800
Tag:    v1.2.0

Modified calls to add_to_log() function to include cmid at the end. It was missing in "league_table", "submit" and "assess" logs.

commit ea3591e41a3990cec668319d8d9163eecf8ae453
Author: stronk7 <stronk7>
Date:   Sun, 15 Feb 2004 08:54:56 +0800
Tag:    v1.2.0

Now chat logs are included in restore. I've decided to start with this simple module to be ready for the difficults... smile

commit d2c3605c83bc5df1921788075a7b3c3f03bc2e98
Author: stronk7 <stronk7>
Date:   Sat, 14 Feb 2004 07:53:36 +0800
Tag:    v1.2.0

Changed to calls to print_log_selector_form() with modname not set to avoid two notices with debug on. I suppose that there isn't problems with this because modname var doesn't exist in all the file, but...

commit 07bbc2d1c799ffbf02d7205350d2dfd1a9c3a2a9
Author: stronk7 <stronk7>
Date:   Sat, 14 Feb 2004 07:47:08 +0800
Tag:    v1.2.0

Now the questiontextformat is supported in backup/restore too.

commit 2ecad74265094ef40442ca05dccd1df22921caa1
Author: stronk7 <stronk7>
Date:   Sat, 14 Feb 2004 07:28:45 +0800
Tag:    v1.2.0

First version of restore logs !! It restores:     course logs     user logs Todo:     module logs

commit 3a4b33c3b99c054c4c4f4398a6b5b62a6ab9fe01
Author: stronk7 <stronk7>
Date:   Tue, 10 Feb 2004 06:24:34 +0800
Tag:    v1.2.0

Now course->lang is in backup & restore.

commit 2b375658ae4e0b0d0b24bcdb85c86901ea2acaaf
Author: stronk7 <stronk7>
Date:   Mon, 09 Feb 2004 03:40:31 +0800
Tag:    v1.2.0

user_preferences fully supported discussion->usermodified fully supported log->cmid supported in backup Bump previous to implement:    - events    - restore logs

commit 9055368540acd0ca96e841e7dfd180c800e745c8
Author: stronk7 <stronk7>
Date:   Mon, 09 Feb 2004 03:37:43 +0800
Tag:    v1.2.0

Ooops !! Copy/paste typo. smile

commit 63349eb15cada9d0685e33db3b570cb8dadf9604
Author: stronk7 <stronk7>
Date:   Mon, 09 Feb 2004 03:36:42 +0800
Tag:    v1.2.0

log->cmid is included in backup (not processed in restore yet!!)

commit e222ce094472058ff0914d327e4f19e5c76e3d0d
Author: stronk7 <stronk7>
Date:   Mon, 09 Feb 2004 03:34:22 +0800
Tag:    v1.2.0

discussion->usermodified is in backup & restore now.

commit 41fd7fe497fbd5adc837ca1bd800603326485359
Author: stronk7 <stronk7>
Date:   Mon, 09 Feb 2004 03:27:23 +0800
Tag:    v1.2.0

Now user_preferences are fully supported in backup & restore.

commit 0180f73f4801c9c1201db032d90d13ef530f8a34
Author: stronk7 <stronk7>
Date:   Sun, 01 Feb 2004 20:07:36 +0800
Tag:    v1.2.0

Now, this function can be called twice from the same page. In participants list, when showing teaches, the country of the students was not showed. Please, check. I haven't found problems with this, but...

commit 3caa089f49dc0d86106bdf0bb86644269f6f33c8
Author: stronk7 <stronk7>
Date:   Sat, 31 Jan 2004 07:15:11 +0800
Tag:    v1.2.0

Some strange line feeds in the latest version. Solved.

commit 2b80c9d76ad33958fc710afe23724910520e6ada
Author: stronk7 <stronk7>
Date:   Sat, 31 Jan 2004 05:16:52 +0800
Tag:    v1.2.0

Added str. creatinggroups

commit 29856bcba0c7bce188744628c120e0e39ccd861a
Author: stronk7 <stronk7>
Date:   Sat, 31 Jan 2004 03:04:07 +0800
Tag:    v1.2.0

Now everything seems to work fine with the new insert_record() function.

commit 916bb3daeca7fab1d4febd02cff07b122dd7e8fe
Author: stronk7 <stronk7>
Date:   Thu, 29 Jan 2004 08:14:02 +0800
Tag:    v1.2.0

- 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

commit 6be18d4f752c4b1d36d1e16767e2afe1bb14d87e
Author: stronk7 <stronk7>
Date:   Thu, 29 Jan 2004 08:12:17 +0800
Tag:    v1.2.0

Solved one important issue when restoring users due to a bug in revision 1.44, when solving bug 946. Tons of thanks to Jacob Romeyn detecting it.

commit 50dbc51fc99be5a8a448961867273fe82ef3cc82
Author: stronk7 <stronk7>
Date:   Thu, 29 Jan 2004 08:08:25 +0800
Tag:    v1.2.0

Turn off some debug info.

commit e9163ad4814f5928e03d6f60d8f0243be51ede3b
Author: stronk7 <stronk7>
Date:   Thu, 29 Jan 2004 08:07:25 +0800
Tag:    v1.2.0

Now groups are included in scheduled backups. I think that we should use the same exact code in backup_execute.php and backup_scheduled.php to avoid duplicating it in two files !!

commit b50b027b2b2a07be27397737e9012fd3bf2a14ad
Author: stronk7 <stronk7>
Date:   Wed, 28 Jan 2004 07:48:23 +0800
Tag:    v1.2.0

Small typo preventing Excel Sheets to be named correctly.

commit eb74cfd05e4ecdf0712e5667b0999c885a275b98
Author: stronk7 <stronk7>
Date:   Tue, 27 Jan 2004 07:24:12 +0800
Tag:    v1.2.0

Now the destination directory in scheduled bakups have some checks:    - Trailing slashes.    - Trailing backslashes.    - Exists.

commit 61f95aada5bf0b8b8844a5e2fca4690711a8ef05
Author: stronk7 <stronk7>
Date:   Mon, 26 Jan 2004 05:00:06 +0800
Tag:    v1.2.0

Now userid and groupid fields are recoded correctly in the restore process. This should make the backup utility group-compliant !! (when talking about forums, of course) smile

commit dfa14bc98fe676ff399c35397acadb58ddd6b2bd
Author: stronk7 <stronk7>
Date:   Mon, 26 Jan 2004 04:57:58 +0800
Tag:    v1.2.0

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).

commit a4de843e15cf32620734a32a706dfce0468c0dc0
Author: stronk7 <stronk7>
Date:   Mon, 26 Jan 2004 03:26:24 +0800
Tag:    v1.2.0

Groups are now included in backup too. I start working in restore now.

commit e695cd3f36d6aa96fcd2f2580a4a122d7d3da188
Author: stronk7 <stronk7>
Date:   Fri, 23 Jan 2004 04:27:17 +0800
Tag:    v1.2.0

Now groupmode in course_modules is supported too.

commit 282ecaf828a81e1cabaa39195aae412ff3f73665
Author: stronk7 <stronk7>
Date:   Tue, 06 Jan 2004 02:21:42 +0800
Tag:    v1.2.0

Added support to teacherloading, assessmentstodrop and donotuse fields in workshop module.

commit 568d750b41991c66dcee357128c833322478d951
Author: stronk7 <stronk7>
Date:   Mon, 05 Jan 2004 08:57:23 +0800
Tag:    v1.2.0

Now groupmode and groupmodeforce (course table) are in backup and restore too.

commit 148b8edfca2eb70ddfe8a8f22423adeb493e1a2d
Author: stronk7 <stronk7>
Date:   Mon, 05 Jan 2004 08:27:22 +0800
Tag:    v1.2.0

Now, when the status is RUNNING, the function checks how much old is that status in backup_logs table. If there is no activity in that period, then the script status is unlocked automatically. This prevents to become RUNNING for ever !!!

commit 79619daf93a2b464e01f9beb4a4e19b4444988b5
Author: stronk7 <stronk7>
Date:   Mon, 05 Jan 2004 06:58:28 +0800
Tag:    v1.2.0

Added addslashes() to check for existing users, because some characters can break the query (old users containing ', for example).

commit d8e24b78ea279a01bf2bd28bb46ea167b31b6138
Author: stronk7 <stronk7>
Date:   Sun, 04 Jan 2004 20:48:33 +0800
Tag:    v1.2.0

Changed code to use the insert_record() function in the backup/restore backup_putid() function. To solve bug 946 (http://moodle.org/bugs/bug.php?op=show&bugid=946).

commit 1a0c9eff8ebc3e0ca4b0a76ba9fdcd6595748a40
Author: stronk7 <stronk7>
Date:   Sun, 04 Jan 2004 19:51:47 +0800
Tag:    v1.2.0

Removed duplicate showreports field in course table!! That (yy)yanked and (pp)pasted lines!! smile Thanks to Juan Pablo, from Bolivia.

commit e9f3e715ddddb119ac6788f5c397fbe5424a5825
Author: stronk7 <stronk7>
Date:   Sun, 04 Jan 2004 04:53:25 +0800
Tag:    v1.2.0

Add one more eregi_replace, because the 'alnum' allows the comma char and it can cause some problems in filenames.

commit b06021549afd4eafff5549dc947483bc7d507118
Author: stronk7 <stronk7>
Date:   Tue, 30 Dec 2003 04:24:45 +0800
Tag:    v1.2.0

A new parameter (backup_sche_keep) is included. Oldest backup files will be deleted automatically. Try it !!

commit 1b7d0ba271fc3e883cb1a4a306de16589f8c314e
Author: stronk7 <stronk7>
Date:   Tue, 30 Dec 2003 04:22:41 +0800
Tag:    v1.2.0

Included some strings about the "Keep Backup Files" option.

commit 4f7a557d6df6cf6771c197fc5058959302aa1fb8
Author: stronk7 <stronk7>
Date:   Tue, 30 Dec 2003 04:20:03 +0800
Tag:    v1.2.0

Little change in the form that duplicated course shortnames are handled. This should help when detecting copies of backup files.

commit 1ae0dbd1a704288eed2cad3142004882c743fe7a
Author: stronk7 <stronk7>
Date:   Tue, 30 Dec 2003 04:15:56 +0800
Tag:    v1.2.0

Changed to use clean_filename() function when calculating backup file name. Thanks Martin !! smile

commit b35a61221252a92e3788f349caef17d9fdc77eb2
Author: stronk7 <stronk7>
Date:   Sun, 28 Dec 2003 19:15:19 +0800
Tag:    v1.2.0

Solve more bugs in set_field("backup_courses"... calls.

commit b1b589b5ccf1c18d15ed26b3469cc6f686f98e65
Author: stronk7 <stronk7>
Date:   Wed, 24 Dec 2003 20:11:35 +0800
Tag:    v1.2.0

Now admin/configuration/backup strings are included. Happy Christmas smile

commit d13a5d7f0c5787d0db8896fb060b6aeefa8cfbc1
Author: stronk7 <stronk7>
Date:   Wed, 24 Dec 2003 20:03:49 +0800
Tag:    v1.2.0

Now admin/configuration/backup strings are included. Happy Christmas smile

commit 9bc586e0976d5a09e8bf1e1d67a326d2e0aba9da
Author: stronk7 <stronk7>
Date:   Mon, 15 Dec 2003 08:56:12 +0800
Tag:    v1.2.0

max_execution_time and memory_limit to allow backup of large installations. (I've executed it with 50 courses)

commit d997d2d44e8dfe51010163fb412230ea4e9b246f
Author: stronk7 <stronk7>
Date:   Mon, 15 Dec 2003 08:54:16 +0800
Tag:    v1.2.0

Now an email is sent to the admin when some course backup is excecuted. TODO:    - View logs    - Language strings

commit 7f46857afe8de28f0c0a55ce4ea6a55f6bd962f9
Author: stronk7 <stronk7>
Date:   Sun, 14 Dec 2003 08:00:28 +0800
Tag:    v1.2.0

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 smile

commit e6d273ebe7411e6c863b82ef67d9f87ec4ab489f
Author: stronk7 <stronk7>
Date:   Sun, 14 Dec 2003 07:57:16 +0800
Tag:    v1.2.0

Little change to inform in standard output.

commit c4b39dd214cfe7bfa698a3fe2e4e774cf0508be0
Author: stronk7 <stronk7>
Date:   Sat, 13 Dec 2003 03:36:52 +0800
Tag:    v1.2.0

Included backup's cron function (not implemented)

commit d3159192e93cad299341053e250669993a5344cb
Author: stronk7 <stronk7>
Date:   Sat, 13 Dec 2003 03:35:50 +0800
Tag:    v1.2.0

Included call to backup's cron function (not implemented).

commit 08c80128a9b794030b5d8e9d39b07b03390469af
Author: stronk7 <stronk7>
Date:   Thu, 11 Dec 2003 00:47:02 +0800
Tag:    v1.2.0

Start the cron integration task for scheduled backups...

commit b95a986819c547d9e9f30e803c8040f9b691488e
Author: stronk7 <stronk7>
Date:   Wed, 10 Dec 2003 00:16:04 +0800
Tag:    v1.2.0

Included (TODO) a new feature to select manually the desired activities to backup (an Przemyslaw Stencel idea). See http://moodle.org/mod/forum/discuss.php?d=3964

commit be3737bfc04aeb80726553f446422be0db72bae5
Author: stronk7 <stronk7>
Date:   Tue, 09 Dec 2003 06:50:56 +0800
Tag:    v1.2.0

Creation of needed DB structures (prefix_backup_courses and prefix_backup_log) to store info about scheduled backups.

commit c728ec734e89a452e367fe39e911dbacd3a06f86
Author: stronk7 <stronk7>
Date:   Tue, 09 Dec 2003 01:42:45 +0800
Tag:    v1.2.0

Included the 'firstdayofweek' entry to show week days ordered.

commit 1b225eaf65440bc56ff3912a8cdaa26555462e7a
Author: stronk7 <stronk7>
Date:   Tue, 02 Dec 2003 06:00:00 +0800
Tag:    v1.2.0

Wow !! Now backup of one course is ENTIRELY encapsulated inside backup_scheduled.php. And a backup of EVERY course can be executed invoking try.php. Backing up to a custom directory is working too !! They are preliminary versions, of course, but seem to work fine smile Now I'm going to make all the necessay structures to support the cron system and to be able to inform the admin about every scheduled backup process. Ciao smile

commit 78d4084cf1549fda9be5002d3b07956b7c452e7b
Author: stronk7 <stronk7>
Date:   Tue, 02 Dec 2003 05:39:11 +0800
Tag:    v1.2.0

Take out another notice in backup.

commit 97a49e63edbc8b50fb0cd6946cac42df25b687d5
Author: stronk7 <stronk7>
Date:   Tue, 02 Dec 2003 04:38:09 +0800
Tag:    v1.2.0

Take out one notice...

commit 37afa39a5e43db37498a4789a67bcaec0dc55ef1
Author: stronk7 <stronk7>
Date:   Tue, 02 Dec 2003 04:25:50 +0800
Tag:    v1.2.0

Added support in copy_zip_to_course_dir() to save course backup file in a custom directory (via $preferences->backup_destination). Needed in scheduled backups.

commit 90471d6b0bcce6e1a111e56405182a78b4c82269
Author: stronk7 <stronk7>
Date:   Mon, 01 Dec 2003 05:57:43 +0800
Tag:    v1.2.0

Going to "Create the script". Bump.

commit 2ee3c92e4a0893ca9f1dcf6e27fe232e374a3963
Author: stronk7 <stronk7>
Date:   Mon, 01 Dec 2003 05:56:21 +0800
Tag:    v1.2.0

Destination folder is included too.

commit 129cee29fc5b8b855e15eceff8071cba7a5d2cd4
Author: stronk7 <stronk7>
Date:   Mon, 01 Dec 2003 05:37:46 +0800
Tag:    v1.2.0

Now weekdays, active and execution time are included, too.

commit 69c7eba7336628d3a98d6c36e67baeb52d09b31c
Author: stronk7 <stronk7>
Date:   Mon, 01 Dec 2003 02:58:37 +0800
Tag:    v1.2.0

Scheduled weekdays are now stored in DB

commit d31a78675babe35986864ae37d3789f4f42bb335
Author: stronk7 <stronk7>
Date:   Fri, 28 Nov 2003 07:50:46 +0800
Tag:    v1.2.0

Small change to save scheduled days always in 0=Sunday....6=Saturday format, independent from the visual display of the week. smile It uses the "firstdayofweek" string in every languaje pack (defaults to 0-Sunday)

commit 34b1d1a41d212e3836cf5344f3ddc967555995c1
Author: stronk7 <stronk7>
Date:   Fri, 28 Nov 2003 07:42:25 +0800
Tag:    v1.2.0

Comment some debug. I forgot it, sorry. sad

commit 2a0acc00df916cffbf3cdf5f4e19ce9418050d6c
Author: stronk7 <stronk7>
Date:   Fri, 28 Nov 2003 07:38:27 +0800
Tag:    v1.2.0

Changed empty->isset !! Arghh

commit 49b95c306882cedf276fc95bd99dad092d5ad20b
Author: stronk7 <stronk7>
Date:   Fri, 28 Nov 2003 07:33:20 +0800
Tag:    v1.2.0

Return backup_config records as an object instead of an array.

commit de4746a8a23295c377b428af82315676e4c060b3
Author: stronk7 <stronk7>
Date:   Fri, 28 Nov 2003 07:28:29 +0800
Tag:    v1.2.0

Initial release of the configure backup. It now uses backup_config instead of config. Not finished !!

commit 3968be8fce47e271decc160ffdf2ae7dce0cbe90
Author: stronk7 <stronk7>
Date:   Fri, 28 Nov 2003 06:57:18 +0800
Tag:    v1.2.0

Solved one small typo with prefix.. smile

commit fe27d33f4f979290f4a87d88ecf89c8dfa7f4f25
Author: stronk7 <stronk7>
Date:   Fri, 28 Nov 2003 06:53:30 +0800
Tag:    v1.2.0

Included support for new backup_config table. (postgresql and oracle versions not tested !!)

commit 6e980cfa80073aa261012ab7c3aeece914c5572f
Author: stronk7 <stronk7>
Date:   Wed, 26 Nov 2003 18:54:06 +0800
Tag:    v1.2.0

Updated to include scheduled backup status.

commit 5574388a9c543dcd540bd3dfa4108f1229101141
Author: stronk7 <stronk7>
Date:   Sun, 23 Nov 2003 19:15:37 +0800
Tag:    v1.2.0

Search for any 'view%' string in the module log, instead of exact matching.

commit 15d6420f3d2243286f6d4efc9dc2ffc9ab1cd548
Author: stronk7 <stronk7>
Date:   Sun, 23 Nov 2003 04:21:19 +0800
Tag:    v1.2.0

Bump !! Some important changes incoming next days !!

commit 5e4f44b6ad516632e7fa3ed916132748f5e56f03
Author: stronk7 <stronk7>
Date:   Sun, 23 Nov 2003 04:02:34 +0800
Tag:    v1.2.0

Now glossary_ratings are in backup/restore too. !! Solved one errors with glossary_alias. Updated "graphical structure" of the module.

commit a741f7eea821cb530b45e79558f6cc787de29064
Author: stronk7 <stronk7>
Date:   Sat, 22 Nov 2003 06:51:56 +0800
Tag:    v1.2.0

Some needed scales recoding previous to ratings... smile

commit cc652b4d769d49fd6dde0900b895b8bd124da79e
Author: stronk7 <stronk7>
Date:   Fri, 21 Nov 2003 02:45:52 +0800
Tag:    v1.2.0

This report shows the total number of views for each activity in a course. It is based in the "Outline User Activity Report". I commit it here, but you (Martin, of course) decide if you want to link to it from the "logs" page.

commit 73daab351ce37e27ea7c6113d69b7257970d3f1e
Author: stronk7 <stronk7>
Date:   Mon, 17 Nov 2003 06:49:11 +0800
Tag:    v1.2.0

When restoring "teacher" forums, if it exists in destinatio course, discussions are merged mantaining a unique forum (previously, a second "teacher" forum was created). See bug 880 (http://moodle.org/bugs/bug.php?op=show&bugid=880).

commit 40c9e047e01c30d6d8ef5bf286847c1810a96e54
Author: stronk7 <stronk7>
Date:   Fri, 31 Oct 2003 22:24:44 +0800
Tag:    v1.2.0

Another small typo, == instead of =.  big grin

commit 8c844d2d40b8499f09ddca36600241f5341a76cf
Author: stronk7 <stronk7>
Date:   Fri, 31 Oct 2003 22:22:37 +0800
Tag:    v1.2.0

Small typo preventing users to be sorted. smile

commit 961d2828e8f0c34292d73d67929c8be419d7aab7
Author: stronk7 <stronk7>
Date:   Fri, 31 Oct 2003 16:47:03 +0800
Tag:    v1.2.0

globalglossary is included now in backup/restore. smile

commit edfc003cd076b94282385f5f1f48668224a114a7
Author: stronk7 <stronk7>
Date:   Wed, 29 Oct 2003 02:27:22 +0800
Tag:    v1.2.0

Small typo !! smile

commit 8094a84cad0d4a3c3caee50d3b10be48efac9117
Author: stronk7 <stronk7>
Date:   Tue, 28 Oct 2003 01:31:57 +0800
Tag:    v1.2.0

Take out some debug info. Forgot it in previous commit.

commit 91c59b920c97b748512e37ba4bc648fdc020140b
Author: stronk7 <stronk7>
Date:   Tue, 28 Oct 2003 01:26:08 +0800
Tag:    v1.2.0

Bump. timeaccess (students and teachers) working.

commit dabf73b44a08f591e2fb26f9729b2ad090d2d0ce
Author: stronk7 <stronk7>
Date:   Tue, 28 Oct 2003 01:23:43 +0800
Tag:    v1.2.0

timeaccess (students and teachers) included in backup/restore. smile

commit 665ec9436df93d2c0599bcf7b225a5045c0adb25
Author: stronk7 <stronk7>
Date:   Thu, 23 Oct 2003 00:27:12 +0800
Tag:    v1.2.0

Added glossary icon to cordoroyblue theme

commit 8a59942e4c33d1f0cf5ed1183281598fa1990e67
Author: stronk7 <stronk7>
Date:   Thu, 23 Oct 2003 00:19:21 +0800
Tag:    v1.2.0

Take out one notice when the only activity was create a module and delete it. Strange but possible. smile

commit e0234384f43576d4f486177ae673831b4cd94a8c
Author: stronk7 <stronk7>
Date:   Tue, 21 Oct 2003 17:49:55 +0800
Tag:    v1.2.0

Small typo smile

commit 54849831c227eacf23ce967ed9feebf3bf3666a5
Author: stronk7 <stronk7>
Date:   Mon, 20 Oct 2003 07:04:19 +0800
Tag:    v1.2.0

Bump smile

commit d1014ff79f055cd6f875afd1f2422db65a0d9994
Author: stronk7 <stronk7>
Date:   Mon, 20 Oct 2003 06:24:25 +0800
Tag:    v1.2.0

Now, glossary_comments are in restore too !! smile

commit e425fb16218233c9610d73b6dab5d5adee8109a2
Author: stronk7 <stronk7>
Date:   Mon, 20 Oct 2003 06:00:41 +0800
Tag:    v1.2.0

Splited one function into two smile

commit 710c3be1125bd3148db15ca7d4e6e62660e3dd7a
Author: stronk7 <stronk7>
Date:   Mon, 20 Oct 2003 05:38:47 +0800
Tag:    v1.2.0

Now glossary_comments are in backup. Solved one issue when exporting categories.

commit 23f6216b928c8b1ce84d8d92fa84c46aefcdab88
Author: stronk7 <stronk7>
Date:   Fri, 17 Oct 2003 17:54:41 +0800
Tag:    v1.2.0

Do some isset() checkings with $CFG->sessioncookie. Previously when debug turned on, login was impossible due to some notices sent before writing http headers.

commit 68b32c8cf4b84f4188d2a91890131cf6a3b50d8b
Author: stronk7 <stronk7>
Date:   Wed, 15 Oct 2003 01:33:44 +0800
Tag:    v1.2.0

Small typo smile

commit 42960e439a892ee83f4dd4056e4f86ec3bfd40c2
Author: stronk7 <stronk7>
Date:   Wed, 15 Oct 2003 01:31:54 +0800
Tag:    v1.2.0

Function exercise_get_participants() included and working. smile

commit 142a6a46ca19213a651b0587ff44109a8f5576a4
Author: stronk7 <stronk7>
Date:   Wed, 15 Oct 2003 01:26:37 +0800
Tag:    v1.2.0

Take out more notices in restore process. Undefined variables, mainly.

commit e3713e1a3125b47537e4c1be708373ae61bb6604
Author: stronk7 <stronk7>
Date:   Wed, 15 Oct 2003 01:06:58 +0800
Tag:    v1.2.0

Take out more notices in restore process. Undefined variables, mainly.

commit 0e232d1841efb4b9e6ad85c61754fce674c971b9
Author: stronk7 <stronk7>
Date:   Tue, 14 Oct 2003 06:45:36 +0800
Tag:    v1.2.0

Take out some notices !! smile

commit f654deea1192283b07f5361237ef96b0b9625a03
Author: stronk7 <stronk7>
Date:   Tue, 14 Oct 2003 06:44:41 +0800
Tag:    v1.2.0

Now, when copying files/folders, CFG->directorypermissions is forced (previously permissions were copied from original)

commit aefbd27636c98c00f33430ba82e1eac115a367fb
Author: stronk7 <stronk7>
Date:   Sat, 11 Oct 2003 02:57:38 +0800
Tag:    v1.2.0

Added the dialogue_get_participants() function to use it in backup/restore.

commit c163e202c2b462d60642dc5d50437cb5bb81827e
Author: stronk7 <stronk7>
Date:   Thu, 09 Oct 2003 01:51:17 +0800
Tag:    v1.2.0

This image was missing in this theme and '?' images were showded. See http://moodle.org/mod/forum/discuss.php?d=2882

commit 41198449026abfdd5897b72916d36ab8c9c4adcc
Author: stronk7 <stronk7>
Date:   Wed, 08 Oct 2003 15:35:53 +0800
Tag:    v1.2.0

Now scales users are in backup too. See bug 824. Closing it in some hours.

commit 9bc04661718bb3d72fa801d725bc82ef830734b4
Author: stronk7 <stronk7>
Date:   Tue, 07 Oct 2003 20:14:16 +0800
Tag:    v1.2.0

Now assessment->resubmission is in backup/restore too.

commit 4a4f96bd79ac406b1f08dd0f7f39beeef4f2f91c
Author: stronk7 <stronk7>
Date:   Tue, 07 Oct 2003 20:02:19 +0800
Tag:    v1.2.0

Now forum->maxbytes is supported in backup/restore.

commit 6ecc3ea8d3e52d14eb0d49511aec88d91f05540d
Author: stronk7 <stronk7>
Date:   Tue, 07 Oct 2003 19:58:56 +0800
Tag:    v1.2.0

Now course->maxbytes is supported in backup/restore.

commit 5e0f9e613a96e58e60a8539c6eeb98a12d664418
Author: stronk7 <stronk7>
Date:   Tue, 30 Sep 2003 20:28:22 +0800
Tag:    v1.2.0

Bug 801 reopened. Problem occur when adding a new activity to a hidden section, it's visibility defaults to 1. Now, default visibility is "inherited" from the section visibility.

commit 866d33df9b650fd85f9b38f4cd85d9b0341759d8
Author: stronk7 <stronk7>
Date:   Tue, 30 Sep 2003 20:25:11 +0800
Tag:    v1.2.0

Added to avoid one notice when no news exist !!

commit d8cb66a8461b7b9229bd44b82d6d60edc7e6efe9
Author: stronk7 <stronk7>
Date:   Tue, 30 Sep 2003 05:37:54 +0800
Tag:    v1.2.0

Included new format for glossary display "Encyclopedia"

commit f4e08011ad9c7c202838c0144b45ba5f9889c8a8
Author: stronk7 <stronk7>
Date:   Tue, 30 Sep 2003 05:25:59 +0800
Tag:    v1.2.0

Included new format for glossary display "Enciclopedia"

commit 1f32209ef1f43b8e93af20578c7e5c5a397b572a
Author: stronk7 <stronk7>
Date:   Tue, 30 Sep 2003 02:14:23 +0800
Tag:    v1.2.0

Now the module template includes the XXXX_get_participants() function too (in standard area). See bug 807 and 721.

commit 0585509135cf1dc98712c10a9f5f0b09c9022603
Author: stronk7 <stronk7>
Date:   Mon, 29 Sep 2003 23:27:30 +0800
Tag:    v1.2.0

Simply, move the XXXX_get_participants() function from bottom to the common function area. See bug 807

commit ddd0f4ef097a7d8914be0d6bc47645f0d662580c
Author: stronk7 <stronk7>
Date:   Mon, 29 Sep 2003 00:53:17 +0800
Tag:    v1.2.0

Now the JumpMenu is showed when listing activities of this module. See Bug 803

commit 383b5c993c2761bf12677e57e4279aca01c701a4
Author: stronk7 <stronk7>
Date:   Mon, 29 Sep 2003 00:29:32 +0800
Tag:    v1.2.0

Take out CR+LF is some files. Now, when listing activities, entries are dimmed if they are hidden (teacher view). See bug 802.

commit 9ab344eebc3d4363d4a2cc20012148265482e155
Author: stronk7 <stronk7>
Date:   Sun, 28 Sep 2003 18:57:22 +0800
Tag:    v1.2.0

Now, when listing activities, entries are dimmed if they are hidden (teacher view). See bug 802.

commit 7b6d108076723f9c97c4fb0975336885211b1a67
Author: stronk7 <stronk7>
Date:   Fri, 26 Sep 2003 03:40:25 +0800
Tag:    v1.2.0

Fixed small error in overallocation field !! smile

commit 58fb571d4d000cad4c6086989454a482a82ff407
Author: stronk7 <stronk7>
Date:   Fri, 26 Sep 2003 03:38:28 +0800
Tag:    v1.2.0

Now autoattend field is supported in backup/restore. Ciao.

commit 519ed08a44eda188874cdb1ed8b05fca00e22ebc
Author: stronk7 <stronk7>
Date:   Wed, 24 Sep 2003 00:51:57 +0800
Tag:    v1.2.0

Up abit to solve one category issue.

commit 46f1f7822d983c3204c26583ca81c92512e7c5b7
Author: stronk7 <stronk7>
Date:   Wed, 24 Sep 2003 00:40:44 +0800
Tag:    v1.2.0

Now, to restore course category do this: - Check if (category_id, category_name) exists. - Check if (category_name) exists. - Check if category_id = 1 exists. - Create a new, initially invisible category withe the info in backup-file.

commit 57129544d1912127fcade4b763c55066923ee515
Author: stronk7 <stronk7>
Date:   Tue, 23 Sep 2003 08:00:00 +0800
Tag:    v1.2.0

Updated a bit (only date)

commit 543e1c58b594c379e248aaf240f764357ec09c2e
Author: stronk7 <stronk7>
Date:   Mon, 22 Sep 2003 22:58:46 +0800
Tag:    v1.2.0

Take off one notice when there is no news in a course...

commit bd96236e868a6ee1d2e1e3a9d96c18bbb65e31bb
Author: stronk7 <stronk7>
Date:   Mon, 22 Sep 2003 16:30:22 +0800
Tag:    v1.2.0

Solved two possibe bugs:     - Restoring to courses without section 0 (manually deleted).     - Restoring to sections without mods and null values in its sequence field. Thanks to Janne Mikkonen...

commit 86db7a137d632ceaa5f1e542c1b5fa55ae752761
Author: stronk7 <stronk7>
Date:   Mon, 22 Sep 2003 08:06:51 +0800
Tag:    v1.2.0

Now glossary categories are inbackup/restore too !! Not tested !!

commit 0eb61c5e87ff3c8ab0f7e838912716ee99695fc5
Author: stronk7 <stronk7>
Date:   Mon, 22 Sep 2003 07:40:42 +0800
Tag:    v1.2.0

Some cosmetical updates plus one error selecting glossary_categories_entries solved. No backup is working ok... I think.

commit 50164ebaf9a29e9f1bf5abe47086f5c68a67d641
Author: stronk7 <stronk7>
Date:   Mon, 22 Sep 2003 07:07:18 +0800
Tag:    v1.2.0

Fixed small error

commit 3f46ed14b527324e0c43c31f63bfd3c1b3524761
Author: stronk7 <stronk7>
Date:   Mon, 22 Sep 2003 06:43:07 +0800
Tag:    v1.2.0

No restoring categories, but working again.

commit 626aab5d67027533b4e82391b12d9d58b580ecbb
Author: stronk7 <stronk7>
Date:   Mon, 22 Sep 2003 04:45:46 +0800
Tag:    v1.2.0

Now, the "edited" field is included in backup/restore too.

commit 3bd4de22f55c31e9e4c8e1e049df1aaf3eafcdc4
Author: stronk7 <stronk7>
Date:   Sun, 21 Sep 2003 01:33:55 +0800
Tag:    v1.2.0

Changed !empty to isset to avoid warnings.

commit 2832badf384ff505b14ed76f7f54a0481b27cdec
Author: stronk7 <stronk7>
Date:   Sun, 21 Sep 2003 01:08:45 +0800
Tag:    v1.2.0

Added one check to avoid some notices in make_categories_list(). Commented in Moodle's forum: http://moodle.org/mod/forum/discuss.php?d=2627

commit 0249828cf92fb80c7cce5332d5e27df7817b0b63
Author: stronk7 <stronk7>
Date:   Fri, 19 Sep 2003 05:58:04 +0800
Tag:    v1.2.0

Now restore button is always showed here too !! Same behaviour than the restore link in main page. (automatically creates backupdata dir) Closed bug #741

commit 1becf68da2375018755abfc17157f89c1815d6d8
Author: stronk7 <stronk7>
Date:   Fri, 19 Sep 2003 03:28:05 +0800
Tag:    v1.2.0

Small typo smile

commit bb5eb662d0238b331370ad986f0d76c537809ffa
Author: stronk7 <stronk7>
Date:   Fri, 19 Sep 2003 02:52:40 +0800
Tag:    v1.2.0

Labels, attendances and glosaries finished. Updated a bit info in STATUS.txt

commit d1a551a11aaff8a393d6b8cb9403fc331f49aa4f
Author: stronk7 <stronk7>
Date:   Fri, 19 Sep 2003 02:41:15 +0800
Tag:    v1.2.0

Now attendance module is in backup/restore too !! Please test.

commit 5735794924da8dab33a49f5b3e7a0b47a5fe7cf3
Author: stronk7 <stronk7>
Date:   Fri, 19 Sep 2003 02:08:49 +0800
Tag:    v1.2.0

Added attendace_get_participants(). Needed to implement backup & restore.

commit 3f6cc68f6a93c58e1b6ca9711b3f1a410f42165e
Author: stronk7 <stronk7>
Date:   Fri, 19 Sep 2003 01:48:24 +0800
Tag:    v1.2.0

Now glossaries are included too. And backup filename is editable.

commit 11db6f92a26c8ef1f67b33c2d6be2a7638c636ec
Author: stronk7 <stronk7>
Date:   Fri, 19 Sep 2003 01:43:52 +0800
Tag:    v1.2.0

Now more characters are replaced in the backup filename. And it's editable in the backup proccess, too. Bug #763 closed.

commit 2fbd1b81d84806032a8208c4134c593634851c9e
Author: stronk7 <stronk7>
Date:   Thu, 18 Sep 2003 05:27:13 +0800
Tag:    v1.2.0

Now restoring glossaries is included too !! Please, test it !!

commit 7c0a8a1ab62a1f9e0db9ccbb6bbc76fc70defac7
Author: stronk7 <stronk7>
Date:   Thu, 18 Sep 2003 05:07:20 +0800
Tag:    v1.2.0

Some fields missing in backup. Fixed.

commit 46ea6d74da53edc63963305e43969b05ad59d5ce
Author: stronk7 <stronk7>
Date:   Wed, 17 Sep 2003 05:45:50 +0800
Tag:    v1.2.0

Now entries attachments are in backup too. This module is slighty different because when "no user info" is selected, teacher entries are exported so, instead of copying all the moddata/glossary dir (as other modules), files are copied selectively !!

commit b79e51b46c93087d338e96c261ec38bdf13749d3
Author: stronk7 <stronk7>
Date:   Wed, 17 Sep 2003 04:24:02 +0800
Tag:    v1.2.0

Will is having problems, so I upload this...

commit 0611af101dafd7fc1f773e44e970b579dddfc103
Author: stronk7 <stronk7>
Date:   Mon, 15 Sep 2003 05:43:34 +0800
Tag:    v1.2.0

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)

commit 2b9f0625522db8419f9ff8335c693ee504eb68db
Author: stronk7 <stronk7>
Date:   Sun, 14 Sep 2003 23:47:36 +0800
Tag:    v1.2.0

Added "graphical structure". Added label_get_participants() function.