Git commits in Moodle 1.3.0 by stronk7

commit fc7b0911f248701ceb16b447f52d824dcfb82de0
Author: stronk7 <stronk7>
Date:   Tue, 25 May 2004 02:14:55 +0800
Tag:    v1.3.0

Changed to single quotes... smile

commit e8bce1c8064f93ac04836d98f0771f7988faf6a0
Author: stronk7 <stronk7>
Date:   Tue, 25 May 2004 02:12:59 +0800
Tag:    v1.3.0

Cambiado a comillas sencillas...smile

commit f7e7a51a6bfd62f289dc331f7b55fd06b60be450
Author: stronk7 <stronk7>
Date:   Tue, 25 May 2004 02:06:58 +0800
Tag:    v1.3.0

Traduccion para el filtro activitynames. Incluido por Eloy para que salga en la 1.3. en unas horitas...

commit 341d554fdb9264df5ad05dcfc455857a568aae39
Author: stronk7 <stronk7>
Date:   Tue, 25 May 2004 01:43:11 +0800
Tag:    v1.3.0

Avoid linking to labels and to hidden activities...

commit 45a1ad99a2814478e24a9cc2becffb1f973cf28b
Author: stronk7 <stronk7>
Date:   Tue, 25 May 2004 01:30:56 +0800
Tag:    v1.3.0

Allow every activity name in texts to be linked to the original activity. Bug 1454. (http://moodle.org/bugs/bug.php?op=show&bugid=1454)

commit d980b5da2268e22f404ab5744ad99d11d5c7a221
Author: stronk7 <stronk7>
Date:   Mon, 24 May 2004 08:10:38 +0800
Tag:    v1.3.0

Now only approved entries are showed in RSS feeds...

commit e41ba0024b090e4e1a7a0cc789cdf328a86dcbac
Author: stronk7 <stronk7>
Date:   Mon, 24 May 2004 03:28:22 +0800
Tag:    v1.3.0

Bump to possible release day. Note: not relevant, but my 2nd Wedding Anniversary!! smile

commit ea596d330b72a473431b97d34803f0d204230a71
Author: stronk7 <stronk7>
Date:   Mon, 24 May 2004 02:54:01 +0800
Tag:    v1.3.0

Now integers < 1000 in conceps and aliases are avoided in the filter. Bug 1446. (http://moodle.org/bugs/bug.php?op=show&bugid=1446)

commit d1aebae82e1e45bc74bdd717df01b95484e30595
Author: stronk7 <stronk7>
Date:   Mon, 24 May 2004 02:20:50 +0800
Tag:    v1.3.0

Now only integers < 1000 are avoided...  Bug 1441 (http://moodle.org/bugs/bug.php?op=show&bugid=1441)

commit bbb9be5c9f07c670f3bfc55c23790550d03a22ee
Author: stronk7 <stronk7>
Date:   Sun, 23 May 2004 19:49:58 +0800
Tag:    v1.3.0

Avoid filtering names whose lenght is 2 or less chars. Bug 1441. (http://moodle.org/bugs/bug.php?op=show&bugid=1441)

commit 13cbc82969ee4b674a7b5963d2285e8e00c8571f
Author: stronk7 <stronk7>
Date:   Sun, 23 May 2004 18:26:34 +0800
Tag:    v1.3.0

Bump.

commit e30a2762495525ca164c24173ac58bd1752b1206
Author: stronk7 <stronk7>
Date:   Sat, 22 May 2004 03:24:23 +0800
Tag:    v1.3.0

Now paging will mantain the "fullsearch" option. Bug 1438. (http://moodle.org/bugs/bug.php?op=show&bugid=1438)

commit e2ba5060d4c4d07c38e69388ebf90fc90a863909
Author: stronk7 <stronk7>
Date:   Sat, 22 May 2004 02:56:21 +0800
Tag:    v1.3.0

Escape "/" char in preg_quote(). Bug 1436. (http://moodle.org/bugs/bug.php?op=show&bugid=1436)

commit 43d2c51413f02bf1023971a58908c8302ffac4b7
Author: stronk7 <stronk7>
Date:   Fri, 21 May 2004 07:07:59 +0800
Tag:    v1.3.0

Avoid one more notice...

commit 1c908d9b12737f90c94a5cc03631c3ccb7a54c80
Author: stronk7 <stronk7>
Date:   Fri, 21 May 2004 07:04:23 +0800
Tag:    v1.3.0

Solved one bug causing category->name to be cleared when editing them.

commit 165278015e9ba3c335b0bbaa18cc3cb8730e62b1
Author: stronk7 <stronk7>
Date:   Fri, 21 May 2004 03:51:23 +0800
Tag:    v1.3.0

Solve some notice with debug = on. Thanks to skodak. Bug 1405. (http://moodle.org/bugs/bug.php?op=show&bugid=1405)

commit e84ce5c8cabcd97a7b6deb841fe0e16f9f0973b4
Author: stronk7 <stronk7>
Date:   Fri, 21 May 2004 03:04:42 +0800
Tag:    v1.3.0

Avoid some notices in edit page (debug=on) smile

commit e1e108d41dcbdb73680841c51556bcd946956e5f
Author: stronk7 <stronk7>
Date:   Fri, 21 May 2004 03:01:42 +0800
Tag:    v1.3.0

Avoid one notice in course page (debug=on) smile

commit fcd6cf234069252014a6043067080f8dbee415d6
Author: stronk7 <stronk7>
Date:   Fri, 21 May 2004 02:39:18 +0800
Tag:    v1.3.0

Now "none-users" backups are allowed. See bug 1420. (http://moodle.org/bugs/bug.php?op=show&bugid=1420)

commit fa96ad2f97b1be5aacfbac58687553e9ad9ffaf7
Author: stronk7 <stronk7>
Date:   Fri, 21 May 2004 02:36:59 +0800
Tag:    v1.3.0

New feature implemented allowing none-user course backups. See bug 1420. (http://moodle.org/bugs/bug.php?op=show&bugid=1420)

commit b4d3bed7144cad33806142e6b9ae07dedf0e8280
Author: stronk7 <stronk7>
Date:   Fri, 21 May 2004 02:19:07 +0800
Tag:    v1.3.0

Now in glossary module, preferences->backup_users = 2 (none users) has precedence over include teacher entries in the backup. Used to support the glossary module in "none users" backups. See bug 1420. (http://moodle.org/bugs/bug.php?op=show&bugid=1420)

commit a3a1b66d14854d70a4cbcb7cd75e43a34887e018
Author: stronk7 <stronk7>
Date:   Fri, 21 May 2004 01:39:40 +0800
Tag:    v1.3.0

Added "includenoneusers" string

commit 520b115d977d8ac39d25eb6eb528b2745e0bc06a
Author: stronk7 <stronk7>
Date:   Fri, 21 May 2004 01:18:02 +0800
Tag:    v1.3.0

Added the backupnoneusersinfo string to inform users about the consequences of select "None Users". Please, check it!!

commit 64d6c09b7a7bffa48142db05f8268a70a02e9a8c
Author: stronk7 <stronk7>
Date:   Fri, 21 May 2004 00:05:29 +0800
Tag:    v1.3.0

Now the Admin/Variables and Admin/Backup pages show a warning if XML support isn't enabled. Bug 1432 (http://moodle.org/bugs/bug.php?op=show&bugid=1432)

commit 2f29ee130c241cecda3ce8bd184dc3b06fbcef31
Author: stronk7 <stronk7>
Date:   Thu, 20 May 2004 23:19:19 +0800
Tag:    v1.3.0

Now scheduled bakup checks for required XML functions to work. Bug 1432. Closed now... smile (http://moodle.org/bugs/bug.php?op=show&bugid=1432)

commit 1029856e40dd3121c67db4ad03e23ef210430931
Author: stronk7 <stronk7>
Date:   Thu, 20 May 2004 23:17:39 +0800
Tag:    v1.3.0

Now scheduled bakup checks for required XML functions to work. Bug 1432 related. (http://moodle.org/bugs/bug.php?op=show&bugid=1432)

commit 30f649342ce45f127c309d13e1e81ff612c8baf8
Author: stronk7 <stronk7>
Date:   Thu, 20 May 2004 16:22:15 +0800
Tag:    v1.3.0

Bump to 1.3 Final. Ready... (only bug 1420 ) remains in process...

commit 3168c823a4ce5057408cdbe950c3e8a46f440f58
Author: stronk7 <stronk7>
Date:   Thu, 20 May 2004 07:34:51 +0800
Tag:    v1.3.0

Hi !! Solved one bug before being posted to the Bugs System. Incredible !!! (http://moodle.org/mod/forum/discuss.php?d=8089) big grin

commit ba484b210886d8cbc5212b045cc613d6a1eadeca
Author: stronk7 <stronk7>
Date:   Thu, 20 May 2004 07:08:03 +0800
Tag:    v1.3.0

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.

commit 4b929531505f16b46621c89eaabefa3fbf7291b7
Author: stronk7 <stronk7>
Date:   Wed, 19 May 2004 15:12:40 +0800
Tag:    v1.3.0

Patched file. Bug 1425 closed. (http://moodle.org/bugs/bug.php?op=show&bugid=1425)

commit b66dcd725d0e4c6fa62c1470f1b2a41def18db45
Author: stronk7 <stronk7>
Date:   Wed, 19 May 2004 01:08:41 +0800
Tag:    v1.3.0

Fixed bug avoiding teachers create new scales... NEED BUG 1425 SOLVED!! (http://moodle.org/bugs/bug.php?op=show&bugid=1425)

commit 9c0026334934ffc2689cfea53eed8d5309976fb9
Author: stronk7 <stronk7>
Date:   Tue, 18 May 2004 06:19:23 +0800
Tag:    v1.3.0

Completely rewritten scales interface. It allows to delete unused scales, edit and move them between custom and standar (only admins). Editing teacher can modify only custom scales. Bug 1223. (http://moodle.org/bugs/bug.php?op=show&bugid=1223) Please, test and decide...

commit 8e82f5ac4f3644595ddc08abbd450e8167b58473
Author: stronk7 <stronk7>
Date:   Tue, 18 May 2004 06:08:42 +0800
Tag:    v1.3.0

Added a new string for the new scales.php alternative. Bug 1223 (http://moodle.org/bugs/bug.php?op=show&bugid=1223)

commit 35055d3786f42f8ad3451f061564a800e514aa58
Author: stronk7 <stronk7>
Date:   Mon, 17 May 2004 02:05:02 +0800
Tag:    v1.3.0

Step4 done. smile

commit 4f006bc149618062620a16a3757bdd6953a39fcd
Author: stronk7 <stronk7>
Date:   Sun, 16 May 2004 18:26:04 +0800
Tag:    v1.3.0

Added support for CFG->forcelogin in some files. Bug 1396 (http://moodle.org/bugs/bug.php?op=show&bugid=1396)

commit 2127fedda8645854dc7088e379fb627bd7847b8a
Author: stronk7 <stronk7>
Date:   Sun, 16 May 2004 08:36:00 +0800
Tag:    v1.3.0

Step 2 of Bug 1223 done. (http://moodle.org/bugs/bug.php?op=show&bugid=1223)

commit 0f1a97c2fb99e932a44598d51136ffbae8ee579b
Author: stronk7 <stronk7>
Date:   Sun, 16 May 2004 07:18:24 +0800
Tag:    v1.3.0

Step 1 of Bug 1223 done. (http://moodle.org/bugs/bug.php?op=show&bugid=1223)

commit 9d05e26118d56ee366a69be92340361836e7ce5c
Author: stronk7 <stronk7>
Date:   Sun, 16 May 2004 06:18:53 +0800
Tag:    v1.3.0

Now firstname and lastname fields are trimmed before saving them to db. This should close Bug 1235 (http://moodle.org/bugs/bug.php?op=show&bugid=1235)

commit d9ddff71d7a9849d82865066558b1232a3aea30c
Author: stronk7 <stronk7>
Date:   Sun, 16 May 2004 02:52:12 +0800
Tag:    v1.3.0

Change one comment. Simply. Bug 1393 (http://moodle.org/bugs/bug.php?op=show&bugid=1393)

commit e0147c9bc733e93819d66c9358aef001c5cc351a
Author: stronk7 <stronk7>
Date:   Sun, 16 May 2004 01:34:43 +0800
Tag:    v1.3.0

Now entry->concept is always printed in FORMAT_MOODLE format, instead of using the entry->format field. This should close Bug 1298. (http://moodle.org/bugs/bug.php?op=show&bugid=1298)

commit c2e684d6d77c13c2d497f0d074a43bf958c76e7b
Author: stronk7 <stronk7>
Date:   Sun, 16 May 2004 01:30:30 +0800
Tag:    v1.3.0

One missing "</ul>" tag...

commit 7856dd5949a5f49049cb388dd045286b6a4b43f4
Author: stronk7 <stronk7>
Date:   Sun, 16 May 2004 01:27:50 +0800
Tag:    v1.3.0

Opps. I forgot to commit this files yesterday... sad This close Bug 1370 (http://moodle.org/bugs/bug.php?op=show&bugid=1370)

commit 4528ab53dd14e0b1d19dc19f0ab9bf7cb9ed35b6
Author: stronk7 <stronk7>
Date:   Sat, 15 May 2004 03:36:39 +0800
Tag:    v1.3.0

Added missing Id: cvs tag. Bug 1394 http://moodle.org/bugs/bug.php?op=show&bugid=1394

commit 187e22dbe0a42ec5c29977321d60335d600dfbe9
Author: stronk7 <stronk7>
Date:   Sat, 15 May 2004 03:14:57 +0800
Tag:    v1.3.0

Upgraded glossary to 2004051400. The process will launch an update of entry->concept and alias->alias to trim them. This should close bug 985 forever... (http://moodle.org/bugs/bug.php?op=show&bugid=985)

commit b965603072f459b2174a7859f4d42b8a5dabb907
Author: stronk7 <stronk7>
Date:   Sat, 15 May 2004 02:37:30 +0800
Tag:    v1.3.0

Now, the entry->concept and alias->alias fields are trimmed in edit, import, export, backup and restore. To solve bug 985 (http://moodle.org/bugs/bug.php?op=show&bugid=985)

commit 5cca2496459f9f68fa9e994c639aa4c697b7119a
Author: stronk7 <stronk7>
Date:   Sat, 15 May 2004 01:23:42 +0800
Tag:    v1.3.0

Reverted to revision 1.8 (left join) to continue working in bug 985.

commit 26a71d0d055997d22ab0743b418b618fbe7ffda1
Author: stronk7 <stronk7>
Date:   Sat, 15 May 2004 01:07:48 +0800
Tag:    v1.3.0

Changed an "if" a bit... smile

commit eab0f15aa3c296961a8689c0e485a2df13283d6b
Author: stronk7 <stronk7>
Date:   Sat, 15 May 2004 00:37:45 +0800
Tag:    v1.3.0

Now, nextexecutiontime is recalculated everytime the form is submitted to have the time updated in the logs page.

commit c484d58cf86cc4cb4ecc741b4aec6e12670664a0
Author: stronk7 <stronk7>
Date:   Fri, 14 May 2004 08:17:29 +0800
Tag:    v1.3.0

Now wiki links to activities are decoded to its new location when restoring courses. If the link belongs to the course, it's adjusted as internal, else it's modified to link its original source.

commit 00f7f08d6b6d29338f4f478b969d502c247e6058
Author: stronk7 <stronk7>
Date:   Fri, 14 May 2004 03:27:52 +0800
Tag:    v1.3.0

Now the show=concept|alias has been decoupled into 2 sql statements to make it works under every MySQL version. Hope this close Bug 985 forever...

commit c6e02da78f89f25fbb289cd24337066edc9ec5ea
Author: stronk7 <stronk7>
Date:   Fri, 14 May 2004 00:00:48 +0800
Tag:    v1.3.0

Just to be "aligned" with main Moodle version...smile

commit 189bec8895457002b357098f128710b963bfd97c
Author: stronk7 <stronk7>
Date:   Thu, 13 May 2004 04:39:34 +0800
Tag:    v1.3.0

Bug 1296 solved. Now duplicate entries are showed in all the lists. Simply I've changed the fields order in select statements to make entryid (unique) the first.

commit 5f5fb0c44113ca2495dfe11909ac5bff839f723f
Author: stronk7 <stronk7>
Date:   Thu, 13 May 2004 03:12:54 +0800
Tag:    v1.3.0

Solved bug 1377. Now scheduled backups config will use CFG->admin instead of hardcoded admin. (http://moodle.org/bugs/bug.php?op=show&bugid=1377)

commit 8e68d64a2d05e69408e06cea913d21d682815f98
Author: stronk7 <stronk7>
Date:   Thu, 13 May 2004 03:03:42 +0800
Tag:    v1.3.0

Added some harcoded strings in glossary module (Bug 1062) (http://moodle.org/bugs/bug.php?op=show&bugid=1062)

commit 465e3ae35d8ba6914d6e2b59b80db0096b401a34
Author: stronk7 <stronk7>
Date:   Thu, 13 May 2004 02:44:15 +0800
Tag:    v1.3.0

Solved bug 985. Now "show" will work with aliases and with concepts with and without aliases. Changed the cuery to a left join to be able to process entries without aliases. This type of operation should be changed to boolean queries sometime in MySQL 4!! Test it!! http://moodle.org/bugs/bug.php?op=show&bugid=985

commit 2a2525257f8de2138712afd35653ebbbab375b72
Author: stronk7 <stronk7>
Date:   Thu, 13 May 2004 01:59:07 +0800
Tag:    v1.3.0

Solved bug 1378. Missing encoding in glossary/print.php (http://moodle.org/bugs/bug.php?op=show&bugid=1378)

commit 3a4b8c823d8bc2e3f46f70ebfe242f32490676a1
Author: stronk7 <stronk7>
Date:   Thu, 13 May 2004 00:55:48 +0800
Tag:    v1.3.0

Changed some incorrect <?= tags to <php p()... Skodak has found more incorrect tags. See bug 1376 (http://moodle.org/bugs/bug.php?op=show&bugid=1376)

commit ab892a4fa230c3b88fb78b4b274d7f26f418927c
Author: stronk7 <stronk7>
Date:   Wed, 12 May 2004 07:17:25 +0800
Tag:    v1.3.0

Modified slighty the format_text() function!! Now, in PLAIN AND WIKI formats, the rebuildnolinktag() function is called to rebuild:

commit 3eb2f7ecf8630cd8c130ca6842edb262ae080c7a
Author: stronk7 <stronk7>
Date:   Wed, 12 May 2004 06:38:45 +0800
Tag:    v1.3.0

Solved bug 1086. Please, verify (and close) it. Patch submitted by Petr Skoda. Thanks! I've modified some lines in formats to avoid some Notices and make everything display more consistent. Please, test it!!

commit 701fff2145cc8fff038aed419b613377f158f79c
Author: stronk7 <stronk7>
Date:   Wed, 12 May 2004 03:59:17 +0800
Tag:    v1.3.0

Now, concept and aliases are not linked when viewing entry itself. This will close bugs 1145 and 1295. Thanks to Petr Skoda and his patch!

commit d34b9c5f2d15b0bf48c521f6c2f01ccbe049fd76
Author: stronk7 <stronk7>
Date:   Wed, 12 May 2004 02:06:56 +0800
Tag:    v1.3.0

Now concepts are not enclosed by paragraph tags. Bug 1298.

commit 3483856eb8c2ec625f1680da6e579fa2fb2a1aac
Author: stronk7 <stronk7>
Date:   Wed, 12 May 2004 01:31:43 +0800
Tag:    v1.3.0

Now glossary concepts are not linked (bug 1366). Patch submitted by Petr Skoda.

commit 87299b3133fe176e8a2642221f09b3e1f829e624
Author: stronk7 <stronk7>
Date:   Tue, 11 May 2004 02:24:58 +0800
Tag:    v1.3.0

Solved another notice in glossary config page with glossary_entbypage

commit fce0e06d8112dab3e4878628d9528cd9487788a6
Author: stronk7 <stronk7>
Date:   Tue, 11 May 2004 02:10:17 +0800
Tag:    v1.3.0

Solved some notices (debug mode) when creating new entries...

commit 2a72282163f8fa50f969e15f0d814e0dd16a4644
Author: stronk7 <stronk7>
Date:   Tue, 11 May 2004 00:02:03 +0800
Tag:    v1.3.0

Added some messages in integrity checks to be more explicit. Howard Miller suggested it.

commit f30541559a7c9b0f5987d0addb88da647d6d2948
Author: stronk7 <stronk7>
Date:   Mon, 10 May 2004 23:55:44 +0800
Tag:    v1.3.0

Deleted one string. It had a typo and es version was fine!!

commit 646c20b5ff8b2def9658c1f291285280a4253452
Author: stronk7 <stronk7>
Date:   Mon, 10 May 2004 07:15:56 +0800
Tag:    v1.3.0

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

commit 7923318e97bc58beb192bfeea03bfb79ed96c5ef
Author: stronk7 <stronk7>
Date:   Mon, 10 May 2004 07:10:46 +0800
Tag:    v1.3.0

Included some missing colons...I forgot.

commit 294c52b46c5b1901818a898b28497399a4a2daa3
Author: stronk7 <stronk7>
Date:   Mon, 10 May 2004 06:30:56 +0800
Tag:    v1.3.0

Opps. reordering some lines...

commit 87b00f0ee16de8b9a9f0954ef209971fac56dc84
Author: stronk7 <stronk7>
Date:   Mon, 10 May 2004 06:27:44 +0800
Tag:    v1.3.0

Now glossary->rsstype and glossary->rssarticles are in backup & restore. Added two missing strings too.

commit 2dda0bbbc7199303c5b1c7e81efd6776298e53ec
Author: stronk7 <stronk7>
Date:   Mon, 10 May 2004 06:20:05 +0800
Tag:    v1.3.0

Now glossaries can produce RSS feeds too !! Some strings (RSS related) has been moved from forum.php to moodle.php to avoid suplicating them once per module. It seems to work fine, please test...smile

commit c0f778a2693351185a008b0ad7e6c4d57fbacfd8
Author: stronk7 <stronk7>
Date:   Mon, 10 May 2004 02:59:36 +0800
Tag:    v1.3.0

Added some consistency with the show/hide feature in Moodle. Now if the course is hidden or the activity is hidden, only teachers cand download the feed.

commit ca87cbe100a08c851be81c296665c8260fc1b844
Author: stronk7 <stronk7>
Date:   Mon, 10 May 2004 02:34:33 +0800
Tag:    v1.3.0

Some improvements in RSS: - Article's author is showed if present. - In forum posts feeds, show post->subject instead of discussion->name - Description contents in every article are passed to format_text() to   show contents like the rest of Moodle.

commit 5b76e6fc51138457c9468702edea6e28b8a142db
Author: stronk7 <stronk7>
Date:   Sun, 09 May 2004 02:30:30 +0800
Tag:    v1.3.0

Now every link to forums (from resources and forums) and every link to resources (from resources and forums) are re-encoded in backup/restore.

commit 3a238a355a11d5ff2d148c047369db9870e2105f
Author: stronk7 <stronk7>
Date:   Sat, 08 May 2004 07:40:41 +0800
Tag:    v1.3.0

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 !!

commit 3c01fbf4ba124e12b7158c9fad713866fb562e4f
Author: stronk7 <stronk7>
Date:   Sat, 08 May 2004 06:39:37 +0800
Tag:    v1.3.0

Now $course->showrecent is out from backup & restore

commit 18b13a83701bbef54ba933b97a8c74d6fc3500ae
Author: stronk7 <stronk7>
Date:   Sat, 08 May 2004 02:09:23 +0800
Tag:    v1.3.0

Added rss needed images for this theme

commit 1adf511c7eb50b0aa12b5381442c026226addbb6
Author: stronk7 <stronk7>
Date:   Sat, 08 May 2004 02:08:54 +0800
Tag:    v1.3.0

Included global $THEME to support custom images...

commit c9c89845822a315bb1d0c590baf9faaff91e4bd1
Author: stronk7 <stronk7>
Date:   Fri, 07 May 2004 07:20:25 +0800
Tag:    v1.3.0

Now ORIGINAL_WWWROOT is saved in backup and restored too!!

commit 1ea2e64c65456bedf9b2396edd6c5d00a7ecb8e0
Author: stronk7 <stronk7>
Date:   Fri, 07 May 2004 06:53:04 +0800
Tag:    v1.3.0

Now links to forums are encoded properly

commit c3ff2d75c6a278a2151ff96c20e0ee1e1bea54b0
Author: stronk7 <stronk7>
Date:   Fri, 07 May 2004 06:41:55 +0800
Tag:    v1.3.0

Added two strings about deleting blocks from admin interface...

commit 4c49c802d0172f5184707b7ba06c00d848f41416
Author: stronk7 <stronk7>
Date:   Fri, 07 May 2004 06:17:45 +0800
Tag:    v1.3.0

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.

commit 6b7deae41853d166fbf6c532e0ba7e266408d013
Author: stronk7 <stronk7>
Date:   Tue, 04 May 2004 03:50:24 +0800
Tag:    v1.3.0

Added two help files for forum rsstype & rssarticles. Please, check them...

commit bbe3c5e391c8bf7b3a5d7ee63dc2a982664a8240
Author: stronk7 <stronk7>
Date:   Tue, 04 May 2004 02:25:30 +0800
Tag:    v1.3.0

Added two missing strings for scheduled backups. Please, check them...

commit c05e7d7e53908fdc82d363e988f3acd92d8204c4
Author: stronk7 <stronk7>
Date:   Tue, 04 May 2004 02:18:54 +0800
Tag:    v1.3.0

Added support for rsstype and rssarticles in forum's backup & restore.

commit 759a8abbad96fe6cc9936cd18d159661ca43ecf4
Author: stronk7 <stronk7>
Date:   Mon, 03 May 2004 07:14:53 +0800
Tag:    v1.3.0

I suppose that now forum needs current version of Moodle to work (modified cron system...), isn't it?

commit 8adcb49f8e8661e46c6bc2dd49bfaee6e9ad74f5
Author: stronk7 <stronk7>
Date:   Mon, 03 May 2004 07:08:19 +0800
Tag:    v1.3.0

First version of RSS System. Discussion and post forum feeds supported. Integrated in cron system. Some strings missing. Test, test, test...

commit 750024e833c97f533e34db8e9189c51a92d8e3df
Author: stronk7 <stronk7>
Date:   Mon, 03 May 2004 06:34:13 +0800
Tag:    v1.3.0

Changed hiddentopics to hiddensections in backup and restore

commit 67591c670604d2661be96ef42c0b646e4d7e6380
Author: stronk7 <stronk7>
Date:   Sun, 02 May 2004 07:46:02 +0800
Tag:    v1.3.0

Small change in navmenu() to hide hiddensections, aplying latest Martin's changes... Ciao smile

commit b9f2b9bd992120621cb3f3addf54684768192924
Author: stronk7 <stronk7>
Date:   Thu, 29 Apr 2004 06:29:39 +0800
Tag:    v1.3.0

Small typo in las cvs version. Arghhh!!

commit 22c8200ff45bf196e9205ff1628f5dd5ec5cbf12
Author: stronk7 <stronk7>
Date:   Wed, 28 Apr 2004 06:37:01 +0800
Tag:    v1.3.0

If group isn't detected when restoring events, default it to 0

commit 70da9e72cebf36f397038f71939e488ad3cebb5d
Author: stronk7 <stronk7>
Date:   Wed, 28 Apr 2004 03:57:18 +0800
Tag:    v1.3.0

Update it a bit too!

commit d2b5f1e8bf55aee7e6c95090d6c0e0b39d1d267e
Author: stronk7 <stronk7>
Date:   Wed, 28 Apr 2004 03:51:12 +0800
Tag:    v1.3.0

event->format is now in backup & restore.

commit 723507f36e1f92d7a8a30d85a97a07a2053d24ca
Author: stronk7 <stronk7>
Date:   Wed, 28 Apr 2004 01:23:45 +0800
Tag:    v1.3.0

Bump because some changes have arrived...smile

commit 19a40309249a904eccc3cffb2e83e6222bb3885b
Author: stronk7 <stronk7>
Date:   Wed, 28 Apr 2004 01:21:02 +0800
Tag:    v1.3.0

As changes to version are comming very often, I save this now. To be used in rss feeds...

commit 559d33f67882f42b7bba246c7f7927d4047b6870
Author: stronk7 <stronk7>
Date:   Wed, 28 Apr 2004 00:44:47 +0800
Tag:    v1.3.0

Bump

commit 86a4eb2bd4b7faf5b83899dc68359216eecaea23
Author: stronk7 <stronk7>
Date:   Wed, 28 Apr 2004 00:38:47 +0800
Tag:    v1.3.0

Now, in topics format, every course can decide about how to display hidden topics (collapsed or invisible) Version bump.

commit 87808d0a013c3ec1b1937dbbdef4c7dd169c4283
Author: stronk7 <stronk7>
Date:   Wed, 28 Apr 2004 00:37:53 +0800
Tag:    v1.3.0

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

commit eccc37c0333b73609697e66062a7ecb8046dfe17
Author: stronk7 <stronk7>
Date:   Wed, 28 Apr 2004 00:36:01 +0800
Tag:    v1.3.0

Now, in topics format, every course can decide about how to display hidden topics (collapsed or invisible) Now it can be set in every course and it's applicable in topics format

commit 5b044cc1205e919176fecfa3c81b1bf3733e7320
Author: stronk7 <stronk7>
Date:   Wed, 28 Apr 2004 00:32:29 +0800
Tag:    v1.3.0

Now, in topics format, every course can decide about how to display hidden topics (collapsed or invisible) Some strings and one help file. Please, review it!!

commit ca189cecf8145fd737e018daa74d89ab80718999
Author: stronk7 <stronk7>
Date:   Wed, 28 Apr 2004 00:29:21 +0800
Tag:    v1.3.0

Now, in topics format, every course can decide about how to display hidden topics (collapsed or invisible) Small change to navmenu() to support it

commit 009cc72698f9d6874b9ebde7cac66dc40e39381d
Author: stronk7 <stronk7>
Date:   Wed, 28 Apr 2004 00:27:11 +0800
Tag:    v1.3.0

Now, in topics format, every course can decide about how to display hidden topics (collapsed or invisible)

commit ff4c50a9a27dd18610ec1bf04422e02bb81a5592
Author: stronk7 <stronk7>
Date:   Sun, 25 Apr 2004 17:16:19 +0800
Tag:    v1.3.0

As showing/hiding "Save my answers" button was based in empty($results), moved $results->attemptbuildsonthelast to $attemptbuildsonthelast. This was introduced in my latest CVS version, trying to take out some notices...solved now.

commit c18490b89b9172bed449b5de0a896d40278ae608
Author: stronk7 <stronk7>
Date:   Sun, 25 Apr 2004 16:43:42 +0800
Tag:    v1.3.0

Take our some notices...

commit 9b690d2b4813f23759ce6569aa989e1f9749d60f
Author: stronk7 <stronk7>
Date:   Sat, 24 Apr 2004 08:48:57 +0800
Tag:    v1.3.0

Now encoding some fields to be non-ASCII aware. Thanks to Petr Skoda. See bug 1266 (http://moodle.org/bugs/bug.php?op=show&bugid=1266&pos=14). Applied the same patch to alias too!!

commit 56eea82e085e7c45b157fd1eb454892d9400ebc6
Author: stronk7 <stronk7>
Date:   Sat, 24 Apr 2004 08:40:45 +0800
Tag:    v1.3.0

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 smile

commit e91e2b6a36de3bc0947b50140b21ec2695ccf9d4
Author: stronk7 <stronk7>
Date:   Thu, 22 Apr 2004 21:49:45 +0800
Tag:    v1.3.0

Now the scheduled_backup needs lib/blocklib.php to be able to backup & restore blocks configuration. Done!!

commit acf4fe17733f96a588d9fadeef8e0992e330c8d2
Author: stronk7 <stronk7>
Date:   Thu, 22 Apr 2004 00:18:51 +0800
Tag:    v1.3.0

Solved one issue that caused the show/hide option to fail. See bug 1255 (http://moodle.org/bugs/bug.php?op=show&bugid=1255)

commit 229f852a8afddd2947a4be4d8effddda868ee1f7
Author: stronk7 <stronk7>
Date:   Wed, 21 Apr 2004 07:28:46 +0800
Tag:    v1.3.0

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

commit 5216e2c63c8ff3646ac60266592499e7d9e928f0
Author: stronk7 <stronk7>
Date:   Wed, 21 Apr 2004 01:47:36 +0800
Tag:    v1.3.0

This hasn't sense because get_list_of_plugins() exclude it using its new parameter.

commit 1eb25080df02c7527a35049de9d8b26e017c6967
Author: stronk7 <stronk7>
Date:   Tue, 20 Apr 2004 03:24:42 +0800
Tag:    v1.3.0

Detected a display bug when looking for possible causes of bug 1248. Widhts were only calculated in teacher mode and they were down to 100px in student mode!! Perhaps we could make some session caching to avoid some calculations every time the course is displayed. Seems to work fine now. Anyway, if I compare the right column width in my server (with blocks running) against moodle.org (without blocks), it seems that the right column is narrower in my test server...

commit 9f336d716d0ef22628e1fd8368401f32cbb9575b
Author: stronk7 <stronk7>
Date:   Tue, 20 Apr 2004 01:40:57 +0800
Tag:    v1.3.0

Forgot to include blocks in this page. Closing bug 1246.

commit 7ef144842f3f392228afa52fae7f70c524959354
Author: stronk7 <stronk7>
Date:   Mon, 19 Apr 2004 07:33:00 +0800
Tag:    v1.3.0

Forgot this BUMP !! smile

commit 0f3fe4b6ad1570940839b181261aee2003254d6a
Author: stronk7 <stronk7>
Date:   Mon, 19 Apr 2004 07:20:53 +0800
Tag:    v1.3.0

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.

commit c7f3fdf70c57dcaba02cf5132c9cf7b6609e5fa8
Author: stronk7 <stronk7>
Date:   Thu, 15 Apr 2004 02:09:41 +0800
Tag:    v1.3.0

Modified the clean_filename() function to strip parenthesis and slashes. Not really sure if the method used is 100% correct ot no so, if you can check it.... Perhpas I should make the stripping in backup process, istead of using this central function. What do you think?

commit 1a930732babfe6e9e635723dc5c46d4ab600e922
Author: stronk7 <stronk7>
Date:   Sun, 11 Apr 2004 07:44:50 +0800
Tag:    v1.3.0

Exclude "db" dir when detecting plugins (to be used in blocks registration). No problems (I think) at all with mod registration.

commit 5fef34d7a92c412175ea93f8c3c679c5ce206a5e
Author: stronk7 <stronk7>
Date:   Sun, 11 Apr 2004 06:24:23 +0800
Tag:    v1.3.0

Avoid one warning where $content and $list were empty.

commit c72e41bc77dd5366d43d84845cead72146877bdc
Author: stronk7 <stronk7>
Date:   Sat, 10 Apr 2004 08:03:45 +0800
Tag:    v1.3.0

Added string "refreshingevents". Used in restore.

commit 9c48354debbb374d18f456a248af839e8d530edb
Author: stronk7 <stronk7>
Date:   Sat, 10 Apr 2004 07:55:02 +0800
Tag:    v1.3.0

Modified the function. Now it accepts a courseid to restrict the check to assignments belonging to one exact course. if not specified all assignments in site are checked (old approach). This function in used by restore_refresh_events() to recalculate module events. Perhaps it should become a standard function in NEWMODULE to allow new modules implement it. Ciao smile

commit df9a165ecc2f153314f9ab87f0f8d5178167884b
Author: stronk7 <stronk7>
Date:   Sat, 10 Apr 2004 07:40:37 +0800
Tag:    v1.3.0

Now, after restoring the course, the restore proccess executes every MODULE_refresh_events() function to recalculate every activity event automatically.

commit 866eb2ffbdb0f2a0dc7c56b47083e7bfb5c7abdf
Author: stronk7 <stronk7>
Date:   Sat, 10 Apr 2004 05:41:00 +0800
Tag:    v1.3.0

Update a bit.

commit 464edd6d2e1f5ccde63c7b6c87f5e9dd2f1ec9cc
Author: stronk7 <stronk7>
Date:   Thu, 08 Apr 2004 07:38:48 +0800
Tag:    v1.3.0

Solved two small typos preventing quiz being deleted properly in quiz_delete_instance() function: public----------------------------------->publish get_record("quiz_attempts")------------->get_records("quiz_attempts")

commit f895027eebec58913e5cb4fa2386c56c4b49bd2a
Author: stronk7 <stronk7>
Date:   Tue, 06 Apr 2004 06:49:23 +0800
Tag:    v1.3.0

Fix one SQL...

commit 632d6e50ce792b6653b92957abac9e91618e61db
Author: stronk7 <stronk7>
Date:   Tue, 06 Apr 2004 05:37:29 +0800
Tag:    v1.3.0

Incremented memory max to 80MB. To avoid possible pclzip bug... See bugs 1216 and 1222

commit b31355aa81df1cb5ca652703c023323763caf644
Author: stronk7 <stronk7>
Date:   Mon, 05 Apr 2004 02:44:35 +0800
Tag:    v1.3.0

One new string...to restore.

commit 70441d0f8c0517e494dfc51f029125140755b384
Author: stronk7 <stronk7>
Date:   Sun, 04 Apr 2004 07:52:23 +0800
Tag:    v1.3.0

Now, all "with/without user data" can be selected from one option. This should avoid a lot of clicks to Gustav. big grin Current implementation can  be modified to buttons...if desirable.

commit 01f50e060e59e45b8cdb41af1f764593eced9476
Author: stronk7 <stronk7>
Date:   Fri, 02 Apr 2004 07:31:56 +0800
Tag:    v1.3.0

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