Git commits in Moodle 2.0.0 by Eloy Lafuente

commit 77151075dcbfcd748c2d6445aaadbf1efaa3b723
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 24 Nov 2010 22:55:29 +0800
Tag:    v2.0.0

NOBUG: Changed to _sql() variant to properly use sql_compare_text(). Kudos to aparup for latest improvs. in where_clause()

commit 636444e8b686bd1d87daf57ae3104da8991a946e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 24 Nov 2010 18:46:15 +0800
Tag:    v2.0.0

MDL-25019 backup - course_startdate may not exist

commit 6bfe81293f5458cafbd133baa2f360bc6f04b709
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 20 Nov 2010 08:49:01 +0800
Tag:    v2.0.0

MDL-25268 dml - change whitespace capture in limitfrom/limitnum regexp. Fixes some border cases

commit 8be6dfcc4a29fb2bf98bdf7f712d291f91421b93
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 20 Nov 2010 07:58:53 +0800
Tag:    v2.0.0

MDL-25340 external blof - fix problem with extra tags processing

commit a742eb1f8bbdee2e121a8481f0fb4904936cd9c3
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 20 Nov 2010 05:57:15 +0800
Tag:    v2.0.0

MDL-25340 external blog - fix sql_compare_text() use

commit 296f6c99b1bf4bbd83ddd2f128ed7e237b34f94c
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 20 Nov 2010 02:25:27 +0800
Tag:    v2.0.0

NOBUG: moodle/blog:manageexternal is SYSTEM cap, not USER at all

commit 33a87f14c6101a6b5ecd981f9638555388a5aed3
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 20 Nov 2010 01:45:38 +0800
Tag:    v2.0.0

NOBUG: Add one missing cap. definition string

commit 295474bda984c5af56709020f14aed773a2b8308
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 19 Nov 2010 05:35:40 +0800
Tag:    v2.0.0

MDL-25310 backup - Bump!

commit cbb9e9b8b489028694a33b9ad8cfd494e670578f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 19 Nov 2010 05:34:01 +0800
Tag:    v2.0.0

MDL-25310 backup - some minor tasks related to cleaning/old options

commit 39cf0e8e74393f92a8fa9626b3fa8eb97a16b905
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 18 Nov 2010 22:02:02 +0800
Tag:    v2.0.0

MDL-24863 unit tests - tidy up a bit some tests

commit 9882b2c824b5a2c606091c99ebb4cbd28e780c8e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 18 Nov 2010 09:27:49 +0800
Tag:    v2.0.0

MDL-25276 dml - fix/implement sql_cast2int/real() across the 5 drivers. Tests passing.

commit a018adf0389f2c155f7c2b818c738b05b19be3da
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 18 Nov 2010 09:10:41 +0800
Tag:    v2.0.0

MDL-25276 dml - completed sql_cast_char2int/real tests to reveal some problems

commit 80c2a742b6dc60cd7c1bbf1f6048b7152a3e5c44
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 18 Nov 2010 05:47:08 +0800
Tag:    v2.0.0

MDL-21437 data - fixed navigation from list to single

commit 6e6878b5ecd25a3901c1e8595b2e4d3afbd21370
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 18 Nov 2010 05:18:53 +0800
Tag:    v2.0.0

MDL-21437 data - fixed the sort by fuctionality to be cross-db for all fields

commit be4d5a927bc6714839817dff109217565263a654
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 18 Nov 2010 03:27:47 +0800
Tag:    v2.0.0

MDL-21437 data - latlong, menu, radiobutton, text, textarea, url

commit 15a182827fe8f984238920dc6e8931e93839ff0a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 18 Nov 2010 03:13:26 +0800
Tag:    v2.0.0

MDL-21437 data - checkbox and multimenu fields search working + require all too

commit 1675129e35e6869b9258040dd4e865a8566b3bdb
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 18 Nov 2010 01:54:00 +0800
Tag:    v2.0.0

MDL-21437 data - number and date fields search under mssql and oracle

commit eca891267ca9be3f15e2c3f09afb1f7bae8d7784
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 18 Nov 2010 00:57:56 +0800
Tag:    v2.0.0

MDL-21437 data - latlong, radio menu and multimenu now working under sqlserver & oracle

commit b9e8c6a6f22edfbcfe1e26a26d39cc23900a2a5e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 17 Nov 2010 19:02:32 +0800
Tag:    v2.0.0

NOBUG: I hate the shut-up operator, really!

commit 3a55ee2f5e08dda91ae37ac72769abd629ae80a1
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 17 Nov 2010 18:39:56 +0800
Tag:    v2.0.0

MDL-25268 dml - improved limitnum/limitfrom regexp in ms drivers + tests

commit f81f5133255e241219f14251ef7f517adcd52a2a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 16 Nov 2010 01:10:11 +0800
Tag:    v2.0.0

MDL-25161 restore - keep course->numsections unmodified

commit 8231bb159b47cf7cf80e233071f03f153f4e0756
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 16 Nov 2010 00:08:02 +0800
Tag:    v2.0.0

MDL-24962 backup - clean plan/settings circular refs on restore

commit 32df07b4c35b3ea75fa0165ce0953781132d7b7a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 15 Nov 2010 23:46:14 +0800
Tag:    v2.0.0

MDL-24959 glossary_random - render images in picked entries properly

commit 3b953472ac717b186a34de6b934a84dcc77521ea
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 15 Nov 2010 23:16:57 +0800
Tag:    v2.0.0

MDL-25227  glossary - fix delete_instance() and clean orphaned entries

commit f2364c93ed945416e4c2ad74b3d3a820e7e7dd63
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 15 Nov 2010 15:17:24 +0800
Tag:    v2.0.0

MDL-24962 backup - cache xmldb_tables for multiple operations. Apply destroyer to temp controller.

commit ab1c069e111d528796ea7910118b2bf7ca2c2c2c
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 15 Nov 2010 15:16:51 +0800
Tag:    v2.0.0

MDL-24962 backup - circular refs. cleaner in backup_controller

commit 287e80405885d6712fd11f8a739389d515ab16e0
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 15 Nov 2010 15:16:24 +0800
Tag:    v2.0.0

MDL-24962 backup - circular refs destroyer for backup settings

commit 4f6ed68c1c7ecc51aeb0363c276a648238fbac8c
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 15 Nov 2010 15:15:48 +0800
Tag:    v2.0.0

MDL-24962 backup - circular refs destroyer for backup plan

commit f395cbddbdadac81dfee79b2f2e081c314ba3973
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 13 Nov 2010 00:15:26 +0800
Tag:    v2.0.0-rc2

MDL-23479 backup - now restoring workshop logs, thanks David for support!

commit ab00250268a0cc0f58ccba42aade543b5a2e4572
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 12 Nov 2010 06:57:39 +0800
Tag:    v2.0.0-rc2

MDL-24924 course/import - delete one more file I missed in my prev commit

commit 96c726b663b188649119f2c703cf83dc60be5505
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 12 Nov 2010 06:52:17 +0800
Tag:    v2.0.0-rc2

MDL-24924 course/import - plugin not available anymore. Killed!

commit dc2abd40205f3a50717f60c7dcd7a995f9da07a9
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 12 Nov 2010 06:17:09 +0800
Tag:    v2.0.0-rc2

MDL-24718 import - always import adding

commit 0f66acede00ed04826ae43a36b877251ea17a486
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 12 Nov 2010 03:46:04 +0800
Tag:    v2.0.0-rc2

MDL-22135 - logs restore, course and activities + cleanup

commit 384437085a932b2ff2670a1c9717d64d58c0ebb8
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 02 Nov 2010 09:59:20 +0800
Tag:    v2.0.0-rc2

MDL-24996 - make forum_print_post() to specify context on format_text() calls

commit d0ff90ed4f0935239c4e13604743900c489e2d9a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 02 Nov 2010 09:05:43 +0800
Tag:    v2.0.0-rc2

MDL-25000 backup - prevent calling get_mapping() with empty ids. Yay, 25000!

commit d0ad98607df0e1451b938b87e2b2312d0850e8d3
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 02 Nov 2010 06:09:44 +0800
Tag:    v2.0.0-rc2

MDL-24962 backup - now destroying circular refs manually to help PHP 5.2

commit b31763f8b31570e5cfb87215d92fa189fe6c023a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 01 Nov 2010 23:55:59 +0800
Tag:    v2.0.0-rc2

NOBUG: Clean already implemented TODO

commit f79e0753d46a75e7dce26c81f86b2c2b3b4c6b47
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 01 Nov 2010 23:55:12 +0800
Tag:    v2.0.0-rc2

MDL-23478 backup - Implement glossary_random & quiz_results after_restore() methods

commit 648a575eda9f16bc9bce8874013ec9f8bab9413b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 01 Nov 2010 23:53:35 +0800
Tag:    v2.0.0-rc2

NOBUG: Added support for after_restore() methods on restore. Will help some blocks.

commit fe575d8215bb0278644687672a61a77c9244c5ed
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 01 Nov 2010 23:52:18 +0800
Tag:    v2.0.0-rc2

NOBUG: Added note to avoid forgetting it

commit a03867380d1d3f4cb9546729e2673b4ee0c8e18e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 01 Nov 2010 23:51:20 +0800
Tag:    v2.0.0-rc2

MDL-22164 backup - cleaning old backup & restore code in blocks

commit 9f68f2d5a6b3e397b67f237d2569471185ef6e49
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 01 Nov 2010 23:49:01 +0800
Tag:    v2.0.0-rc2

MDL-24817 backup - added support for decode contents in plugins (and qtypes)

commit b5e58c183175b4bd798d0ffec7052443e033ad14
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 01 Nov 2010 23:47:07 +0800
Tag:    v2.0.0-rc2

MDL-22164 backup - more cleanup of old 1.9 backup/restore code

commit e3c2e1b2f93680619a1108b19a433e24458ca7fb
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 29 Oct 2010 06:38:03 +0800
Tag:    v2.0.0-rc2

MDL-24921 backup - on restore create missing sections up to max one to avoid some warns

commit 9af849fa73be01478feb3d147db6168e8f10a916
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 29 Oct 2010 02:04:35 +0800
Tag:    v2.0.0-rc2

MDL-24918 backup - fix setting use leading to wrong security check error

commit 5d31799af81d7f9fdb03d062f4ac507c08c4d77d
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 28 Oct 2010 18:53:55 +0800
Tag:    v2.0.0-rc2

MDL-24397 dml - added some tests for limits with subqueries

commit 08edad78ccbb14c34a1a8f88c04be9636485a4b7
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 24 Oct 2010 23:37:55 +0800
Tag:    v2.0.0-rc2

MDL-22138 backup - added missing required lib

commit 41941110fdecb6313637a6ad77c6e6e26aa79833
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 24 Oct 2010 18:43:42 +0800
Tag:    v2.0.0-rc2

MDL-22138 backup - I know smaller cathedrals than this, yay quizzes!

commit 84dcdbdb583e699c28c0a25c1a2d3c9c90896c1a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 05 Oct 2010 16:21:57 +0800
Tag:    v2.0.0-rc2

MDL-24470 data->notification - apply correct default if null is found on restore

commit e521039d22294813fb562257fe529bfcdacd145e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 29 Sep 2010 05:26:11 +0800
Tag:    v2.0.0-rc2

MDL-24381 backup - avoid infinite iteration under windows caused by platform-dependent dirname()

commit e7eca65d987d276338329b505512e7c2c8d6e06f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 28 Sep 2010 17:37:16 +0800
Tag:    v2.0.0-rc2

MDL-23752 backup - export/import add one missing string

commit dc1e4ccebd7853b7c25cfc5e8e6d427583374bab
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 28 Sep 2010 17:33:54 +0800
Tag:    v2.0.0-rc2

MDL-23752 backup - export/import mode. Fixed various details.

commit 5423b5f5b10c8fa2ead02e21bf1e247c1fe76adf
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 28 Sep 2010 05:10:00 +0800
Tag:    v2.0.0-rc2

MDL-13435 xmlize - now throwing exceptions on parsing error. Credit goes to Tim/Mahmoud

commit f2a9be5f8ac2f3167a712378446acfc3449c6bd1
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 21 Sep 2010 18:42:19 +0800
Tag:    v2.0.0-rc1

MDL-22148 backup - support for manual/self/guest enrolments. Credit goes to Petr.

commit e3c3b72ad7d8ce3ff2613225aa1b3859115db6f3
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 21 Sep 2010 09:47:56 +0800
Tag:    v2.0.0-rc1

MDL-22138 backup - rest of qtypes backup landed

commit 1eb2aa184aa20b6e3e8a18b91f26306244c2382b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 21 Sep 2010 09:44:35 +0800
Tag:    v2.0.0-rc1

MDL-22138 backup - calculated and numericals

commit 767cb7f03abc2336dcbaf1611e0e9e5781132f96
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 21 Sep 2010 09:28:30 +0800
Tag:    v2.0.0-rc1

MDL-22151 & MDL-22138 - Quiz activity backup & questions banks too! CV S: ----------------------------------------------------------------------

commit 7660715f65729d4895868544e56e85e07f593407
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 21 Sep 2010 08:23:26 +0800
Tag:    v2.0.0-rc1

MDL-22164 backup - finished cleaning of questions backup code

commit a0dc1293d1f5c559b60d00c072a04a11b57eae02
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 21 Sep 2010 08:08:52 +0800
Tag:    v2.0.0-rc1

MDL-22164 backup - more cleaning of old questions backup code

commit 215bfaf369acf81a3619b8da12d68b4d40ed70d7
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 21 Sep 2010 05:30:01 +0800
Tag:    v2.0.0-rc1

MDL-22164 backup - cleaning questions from old backup code

commit 0f8941e208504bf91ae5a091c75ab5b812e58618
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 21 Sep 2010 05:06:21 +0800
Tag:    v2.0.0-rc1

MDL-24302 backup - not using unexisting block->multiple anymore. Credit goes to skodak!

commit 29af95f1d01c9c05e3c3bb2a0cc28616ab8a23ba
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 20 Sep 2010 07:03:33 +0800
Tag:    v2.0.0-rc1

MDL-22153 backup - deleted old quiz backup code (replacement is on the way)

commit 8b6f4e6626fec74d7a428f9592a21e9ad58db821
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 17 Sep 2010 21:22:15 +0800
Tag:    v2.0.0-rc1

MDL-22153 backup - removing old files, sniff, sniff

commit e060e77a9f2d623b824c82a07837327bbc3d731f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 17 Sep 2010 21:21:15 +0800
Tag:    v2.0.0-rc1

MDL-22153 backup - delete all the old *.html files

commit 9e0eb41d8720f46c32acfb6a3b0a7a6646ff9bdf
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 17 Sep 2010 09:08:57 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - better handling of null sql params

commit 8ad676588794461b1d9b3fd8036a315d795dc1d5
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 17 Sep 2010 09:07:17 +0800
Tag:    v2.0.0-rc1

NOBUG quiz - overview & responses reports fixes

commit fc92674d7a8577704a9cbfed7535f08fef6dc59f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 16 Sep 2010 18:07:32 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - keep any empty() value to offset unmodified

commit b9077c2e5cdf15b3a73f6d201d0aeaa6d5417b34
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 16 Sep 2010 03:47:35 +0800
Tag:    v2.0.0-rc1

MDL-24177 backup - delete some lines causing mess in source lesson because of some lines I left by mistake in my prev commit. sad

commit d90e49f238d3afd5591d1530d914ff2aae9f320e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 15 Sep 2010 21:43:06 +0800
Tag:    v2.0.0-rc1

MDL-22179 backup - ensure we have the old/new courseid mapping available always

commit cfea745e41aa00bde684836c87545784871ab7f8
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 15 Sep 2010 18:58:13 +0800
Tag:    v2.0.0-rc1

NOBUG: Restore section names and descriptions when restoring deleting. Somehow related wit Q3 @ MDL-24219

commit 58328ce8a69b9f749ce74bba434e0025fa1ca698
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 15 Sep 2010 06:59:43 +0800
Tag:    v2.0.0-rc1

MDL-23362 backup - on restore detect missing modules / skipped activities, for gradebook.

commit 3643aadf80ff2a7eb35c8244953221a71367ae88
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 14 Sep 2010 16:58:24 +0800
Tag:    v2.0.0-rc1

MDL-24177 backup - fix page next/prev ids to be propely mapped

commit 2959db4a2bb854088b9b4e72e6d8c06b9751ffa1
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 09 Sep 2010 00:56:42 +0800
Tag:    v2.0.0-rc1

MDL-16106 report - fix old double-column trick causing problems in backup logs. Merged from 19_STABLE

commit bd7a95ddbc6ba3f99b0a5fac9c8e22bdf88ac0ff
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 07 Sep 2010 16:53:58 +0800
Tag:    v2.0.0-rc1

MDL-22151 backup - clean old data backup & restore code

commit 4d88beed231021ecf0da23f6c826f7aa12031779
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 07 Sep 2010 16:35:51 +0800
Tag:    v2.0.0-rc1

NOBUG - Reverting last commit of this file (local change sent by error, sorry)

commit fd3f6bf99d869f3d72bbc96e103cd60808e4d7ee
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 07 Sep 2010 16:32:41 +0800
Tag:    v2.0.0-rc1

MDL-22151 backup - data activity backup & restore first cut

commit 58f8ca39b2dc48cb2c48e5e0bc686bddc18d32fe
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 07 Sep 2010 16:21:48 +0800
Tag:    v2.0.0-rc1

MDL-24107 backup - add missing course->legacyfiles col. Thanks Tim Lock

commit 12c80f79b4eb095274999c8f38f6cffe04b517e7
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 06 Sep 2010 17:33:20 +0800
Tag:    v2.0.0-rc1

MDL-23993 backup - enforce in UI and save all backup files with .mbz

commit 11d6233451bcfcbb77416f19a84be1ba0555f54b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 06 Sep 2010 16:42:43 +0800
Tag:    v2.0.0-rc1

MDL-24041 format_module_intro() - observe the $filter parameter properly.

commit df7264331b97d3f3aee67b0a1232eae89b94c9dc
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 06 Sep 2010 05:49:34 +0800
Tag:    v2.0.0-rc1

MDL-23437 backup - restore security checks

commit 7efd488e76ca60f8c6c0c0cdeb50a527db526e02
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 06 Sep 2010 00:58:30 +0800
Tag:    v2.0.0-rc1

MDL-23437 backup - move restore:restoreactivity cap from module to course context

commit b212f87e32146ef1bc6cfe9c6f07cef9b7021ede
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 05 Sep 2010 23:42:11 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - proper fallback of user if missing orig one

commit dc362c44e3d432b12dbb6c897d93a8fbab29c1fd
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 31 Aug 2010 17:17:11 +0800
Tag:    v2.0.0-rc1

MDL-23362 backup - save grade_item orig category properly, my fault, sorry Andrew

commit 2a918d8f551b45dfcb06081f2dbbf8a138cffbc1
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 31 Aug 2010 17:15:38 +0800
Tag:    v2.0.0-rc1

MDL-23362 backup - allow set_mapping() to specify one parentitemid to be saved

commit e016d12603b7ae15c5250f4bc6742d5151ddc9b2
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 30 Aug 2010 21:45:26 +0800
Tag:    v2.0.0-rc1

NOBUG mssql driver, fix some wrong uses recently introduced

commit 41276c9ed8bf65b89e4295700dc511832205fc1f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 30 Aug 2010 20:24:42 +0800
Tag:    v2.0.0-rc1

MDL-23997 add some unconvertible contents to the tests, just to be sure

commit 7a45a5f1ecad660dbb8341450da9eb5860948ff8
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 30 Aug 2010 20:05:35 +0800
Tag:    v2.0.0-rc1

MDL-23997 modified char comparison tests to ensure they are executed without metadata at all

commit c899cbeae97bb0a91f9d6771e97d2d711f46ebb0
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 30 Aug 2010 19:46:34 +0800
Tag:    v2.0.0-rc1

MDL-23997 re-added text comparison tests for bound query now using sql_compare_text() properly.

commit 78b3faa98cd5a7c35548320f6768fe50032f0657
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 30 Aug 2010 18:45:54 +0800
Tag:    v2.0.0-rc1

NOBUG mssql - nasty regression causing silent script abort without notice at all, grrr.

commit aada726ccc7c46fb55cca6519a50db21afa7fb88
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 30 Aug 2010 08:27:38 +0800
Tag:    v2.0.0-rc1

MDL-22164 backup - clean already implemented old code (wip)

commit 5095f3258f4e5bfd412875ec0e5e1d54d58f43c6
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 30 Aug 2010 08:24:51 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - activity completion and availability implemented

commit 28b6ff82d989bf06926e5bde46d3a83497707dbb
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 25 Aug 2010 05:05:47 +0800
Tag:    v2.0.0-rc1

MDL-23898 backup - avoid role assignments for deleted users

commit bb584d5053ca0f5b87722e461545fc3e42c8fc63
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 24 Aug 2010 22:12:41 +0800
Tag:    v2.0.0-rc1

MDL-23796 backup - delete temp hack in choice, not needed because parser now handles that ok

commit f35de258865de8ff8afc21d7c4cf473bb1190a60
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 24 Aug 2010 22:07:31 +0800
Tag:    v2.0.0-rc1

MDL-23796 backup - improve parser to discard whitespace-empty tags

commit 7dcce475038375506a752033738f96cb7acba9be
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 23 Aug 2010 05:02:56 +0800
Tag:    v2.0.0-rc1

MDL-23781 lesson - files upgrade fatal error fixed

commit a789ac6f6bb87e5a9f4e06a2b5fbe63695782bfc
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 07 Aug 2010 06:23:18 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - my fault, fixing wrong var

commit 9a1cfcbc9289d2f30d14c9cd34bc5d92b511dde7
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 07 Aug 2010 06:22:02 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - restore of activity grade items added. Blame MDL-23701 for the delay!

commit 8b494c68d3b1b7be7d14ee7707117d8123379fb4
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 07 Aug 2010 00:13:58 +0800
Tag:    v2.0.0-rc1

MDL-19936 backup - added restore of eval->best and form->accumulative

commit a713e27db0410c399c56225b3a4ce6a783e18751
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 07 Aug 2010 00:12:59 +0800
Tag:    v2.0.0-rc1

MDL-19936 backup - added missing "scale" annotation in accumulative subplugin

commit 9ee45db967b2ed31de9d00324bcec9021bf1da04
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 07 Aug 2010 00:11:42 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - restore of workshop activity. MDL-19936

commit bb41dadd29e24ab3546f7e7b116628ad9fb59ce2
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 07 Aug 2010 00:09:28 +0800
Tag:    v2.0.0-rc1

MDL-22164 backup - clean important parts of old code. Leaving rest for reference

commit f2745cbe673a27c5c02df5ebef6d32ce3e9a5113
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 07 Aug 2010 00:08:29 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - allow restore of only one itemid (instead of the whole itemname)

commit 329e67fbded0ed9cfcea528d4e17d08d8b4cdf76
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 07 Aug 2010 00:07:06 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - inform about missing restore subpluggins to developers

commit 4d6743f7774271947a420f0dc1acda4b0f4e462a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 07 Aug 2010 00:05:03 +0800
Tag:    v2.0.0-rc1

MDL-19936 backup - tiny problem on encoding of workshop interlinks

commit 51ea278bf03f324cd6caae2c01287de6387a0719
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 06 Aug 2010 10:29:43 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - example assignment offline subplugin support

commit 1e7dc21300428c2719c414f5769f41979987579e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 06 Aug 2010 10:27:36 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - assignment revised & old code deleted (but restore logs). Support for subpluggins added

commit 91d1105756bbb9ea0278dd1b43af529c590a22a3
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 06 Aug 2010 10:20:21 +0800
Tag:    v2.0.0-rc1

MDL-22245 backup - added support for subplugins in activities

commit 113065d2fa1ceb6674bc2d07abf980b6ea6e35cf
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 03 Aug 2010 23:38:25 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - lesson revised & old code deleted (but restore logs)

commit 3362dfdca537febadced25522027de863a9be139
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 03 Aug 2010 18:56:35 +0800
Tag:    v2.0.0-rc1

NOMDL - edit_button() change internals to be 100% in pair with settings block urls

commit d68c337f5bafe0001921fb26599144282721efff
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 03 Aug 2010 07:31:29 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - various fixes in feedback backup & restore + delete old code (but logs restore)

commit 59c9d381aee847a923994075927a568f0b06b42c
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 03 Aug 2010 05:09:38 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - chat revised & old code deleted (but non-existing restore logs)

commit 1737d4dee998157093f6eaba583333de72bb91ff
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 03 Aug 2010 03:11:29 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - resource (file) revised and working (but restore logs)

commit e6c9df4ead033353b2f779cdb0ef50d4e6a0fdf3
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 03 Aug 2010 01:12:34 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - restore of imscp resources (supporting "archived" versions)

commit 70c1ad583662b2da8251e935eb62445aa049219f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 03 Aug 2010 01:06:49 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - exceptions are not good, so imscp imaginative use of itemid sucks, imo. tongueout

commit ea7c398e55a2429a50310581d3bfc34c1ae717a4
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 02 Aug 2010 22:10:43 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - survey revised & old code deleted (but restore logs)

commit e00d99624724e4bb3106d1f0bc47427140ce79cc
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 02 Aug 2010 20:17:36 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - wiki revised & old code deleted (but restore logs)

commit 07f7954d1ec329aaae244a6798652d58d58862b1
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 02 Aug 2010 20:16:16 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - fix files/tags/comments/links backup & restore (thanks Pigui for adapting module core so quickly)

commit dec303ade9fcfbfaa33ecf370bf756ec4e1332b9
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 02 Aug 2010 19:58:04 +0800
Tag:    v2.0.0-rc1

NOMDL wiki - adding missing savepoint

commit b287039a8cb63bdc8bfaa05afd4fc0fdd147d451
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 02 Aug 2010 17:56:41 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - fix wrong column on restore

commit b3d2aa67f4ed8bf8a1ba8665e0791b2546c776a5
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 01 Aug 2010 06:33:41 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - glossary restore & old code deleted (but restore logs)

commit 82793abdeb7992399c22116a3e391e57a1bd9eec
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 01 Aug 2010 06:28:21 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - minor fixes to page & url

commit c9b8b18389e64b7088660c4c4fef82e29a15b3ee
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 01 Aug 2010 06:25:41 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - delete not needed mapping. apply_activity_instance() does it

commit 39aa0280e101f4dded1e461451d3fe75a3b88d9e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 01 Aug 2010 06:22:51 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - fix for non-page comments (glossary...)

commit c26f9188426c0629994c711836950cee105de732
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 31 Jul 2010 07:27:16 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - oops! deleted too much in my prev commit. Decode contents are back

commit 967a68fd640365eacc4660322e92bde5e87ae539
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 31 Jul 2010 07:14:08 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - chat revised & old code deleted (but restore logs)

commit c61b92fd4904b7e8e7ed0bce46366800ffb8ea1f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 31 Jul 2010 07:01:20 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - label revised & old code deleted (but restore logs)

commit 1ef927d9f9c83f42ba32d593cba2a836d532ad3a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 31 Jul 2010 03:39:50 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - choice revised & old code deleted (but restore logs)

commit 01b4ca0171c0f7255c52589afdb10a8b906b3a25
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 31 Jul 2010 02:47:44 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - restore forum & delete old stuff but restore logs

commit 0aa78279aeff926dd75eea39b18754d2e69ae064
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 29 Jul 2010 06:23:15 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - fix for section and activity restore

commit 327f3fdacc59ae8c87ed1cbd9769fddf8dd76f4b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 29 Jul 2010 06:21:56 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - One ordered backup plan leads to one easier ordered restore

commit 62ab566eb7a2d37e7ccc176c1ea763256cd1fe53
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 29 Jul 2010 00:02:22 +0800
Tag:    v2.0.0-rc1

NOMDL survey - fix crazy query cross-joining like hell

commit 84cdf7de5193480c619c5cbf670e3b770657ba44
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 28 Jul 2010 23:52:09 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - improve restore of files (user and sortorder)

commit aa39be201fcaa57ec10689293a366f89ea5df82a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 28 Jul 2010 23:50:21 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - improve section target detection on restore

commit 162d02c3624a54d5a302fdfeadde20244010b145
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 28 Jul 2010 18:30:30 +0800
Tag:    v2.0.0-rc1

NOBUG backup - choice_answers aren't children of choice_options

commit 6ad734cab6bb66bde90dc4e9980834eedd388414
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 28 Jul 2010 07:50:15 +0800
Tag:    v2.0.0-rc1

MDL-23479 backup - choice restore implementation

commit dd0a7508d03b59c8c0b3c89352f5f8a3929be6a2
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 28 Jul 2010 07:47:12 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - specialised blocks use the interlinks decoder

commit bad08e7f0fec4d320533c59f3bf29c05e6bca304
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 28 Jul 2010 07:42:00 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - need course/lib to rebuild course cache.

commit 5ab8d2de398052135b027e2d8eae98ddaa8e298e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 28 Jul 2010 07:40:35 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - let the tasks to use the steps

commit 394edb7e0ec3a48aab8f88f3023b29399a27f6e6
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 28 Jul 2010 07:36:38 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - modules/activity/decoder steps (and others)

commit ca2ba065ddf12ee923cbae83fad5272fd797e20d
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 28 Jul 2010 07:33:31 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - minor improvements to builders

commit aae0d2fad0a6c7dd394e0f7d50e30c023d8885e3
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 28 Jul 2010 07:15:09 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - need to acces gradelib API on restore

commit cdc680110a3c508e43cf142122abc33d2f70c053
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 28 Jul 2010 07:14:28 +0800
Tag:    v2.0.0-rc1

MDL-22179 backup interlinks - save a bunch (zillions) of regexps to happen

commit 03307846353112ce22daa1fcf3bc6fe78fe6db8b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 28 Jul 2010 07:12:53 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - add links decoder processor to restore plan/tasks

commit fc46764db66f145e8129eff75cdd53832a1f5587
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 28 Jul 2010 07:11:54 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - improve start date offset

commit 6c4a3a8c1e1044e4f59e1084cc9843971da3e4a6
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 27 Jul 2010 23:16:31 +0800
Tag:    v2.0.0-rc1

MDL-22179 backup - speed up decoder access by adding new index

commit 5b457d265740148310ba75954120351d2d363002
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 27 Jul 2010 22:45:44 +0800
Tag:    v2.0.0-rc1

MDL-22179 backup - final implementation of the interlinks decoder for restore

commit bd4543729caf35fa91eefb4cb6659171c1d072af
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 25 Jul 2010 07:05:44 +0800
Tag:    v2.0.0-rc1

MDL-23478 backup - rss_client block restore supporting own structures

commit a4586dae778e4915be28aeef2a67f9fbc33a0cef
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 25 Jul 2010 07:03:23 +0800
Tag:    v2.0.0-rc1

MDL-23478 backup - html block restore supporting serialized contents and fileareas

commit b8e455a789d283de7bbff09e734b641ce19429ae
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 25 Jul 2010 06:56:30 +0800
Tag:    v2.0.0-rc1

MDL-23478 backup - restore blocks (instances an positions)

commit 1d6b83ec58864030b30e4987c908c3976ad6ede8
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 25 Jul 2010 02:41:24 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - supress already included include

commit 245491b062961c2c395f472d820dd10ba45c4487
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 25 Jul 2010 00:31:16 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - improve a bit detection of errors on restore structured steps

commit 2d7cd7983941ce566be358a8321ce1f0d750cb07
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 24 Jul 2010 08:15:59 +0800
Tag:    v2.0.0-rc1

MDL-23478 backup - change in block positions structure. Break BC, so up minversion

commit 4a15bb7660317de32f398c241143a732177123a5
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 24 Jul 2010 01:36:38 +0800
Tag:    v2.0.0-rc1

MDL-23478 backup - adding support for fileareas to blocks

commit 25d3cf44e9f7b993deef1dcbe75910be1af47398
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 23 Jul 2010 17:56:38 +0800
Tag:    v2.0.0-rc1

MDL-23503 restore without users - fixed two incorrect function calls

commit fbd7413708389fbbc1dca08c15d99410878c5b88
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 22 Jul 2010 19:37:23 +0800
Tag:    v2.0.0-rc1

MDL-23109 backup - exclude info in moodle_backup.xml about non-included task. Thanks SamH!

commit 71aa9472eb17a767f24023fe30b2e1aaec795088
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 22 Jul 2010 18:36:11 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - enable startdate offset now that UI and setting is available

commit b1eaf633eb1d3341f439a471d87d78c5f9950f96
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 22 Jul 2010 18:33:27 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - solve problem deleting restore temp dirs, thanks SamH!

commit 396ee01f539a2bea1e682a862dd2c384e0255d25
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 22 Jul 2010 16:22:29 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - access to userid is done across task

commit ba8bead5b6e4c0935b9cf49af1e439fbb63edbcf
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 22 Jul 2010 16:19:21 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - fix some get_userid() calls

commit 3223cc95c6cc0caee87046f9afd14def52fc220a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 22 Jul 2010 08:23:52 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - restore sections

commit 1459becf884c8b9430ddf123abdb1d0da6b840f2
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 22 Jul 2010 07:27:13 +0800
Tag:    v2.0.0-rc1

NOBUG fixed notice - when creating missing sections

commit 21e51c868e6b1db75bc65dd1bf1f26e775b6da5d
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 22 Jul 2010 06:18:42 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - filters and comments

commit 024c288dab844d5443887f9a0d32c52c0a4b1188
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 22 Jul 2010 03:30:15 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - now restoring ras/caps and "manual" enrolment plugins. TODO: Complete the enrolments part and fix current implementation, it's only one skeleton

commit 395dae3084c2adf2d0ad6edbaaf127229638e4a4
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 21 Jul 2010 23:52:03 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - restore course/tags/rolenames/files

commit 4bca307a4014721641ecd5420593717840ca3cab
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 21 Jul 2010 23:50:06 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - helper function for restoring course/role names and date_offset

commit 560811a91b54b3461a868c4d81e386e0a63cf171
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 21 Jul 2010 08:42:55 +0800
Tag:    v2.0.0-rc1

MDL-23109 backup - define some original course bits for easier access from UI

commit ce28d9993a9511497b19d42017838e287a9f7bf4
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 21 Jul 2010 07:47:30 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - change format of allowed_modules to correct one

commit 8287122673f688efd2eb94c9e7ca3f145e2c4811
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 21 Jul 2010 06:54:29 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - added missing langstring

commit 8d4e41f4ec99470ea6b1c78a8e7fb6642a8ace26
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 21 Jul 2010 06:51:04 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - role load/mappings and integration with UI via controller (MDL-23109)

commit c8730ff028466080e3bf820160816bb5032461e4
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 20 Jul 2010 18:36:37 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - complete standard/course outcomes backup & restore

commit 3e09bb690b691fffc6246a478f132dded416612d
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 20 Jul 2010 01:51:17 +0800
Tag:    v2.0.0-rc1

MDL-23400 accesslib - get_assignable_roles() now accepts $user param

commit 71a50b133d490fb53ce194850bb3a7de4ef9969b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 19 Jul 2010 22:06:16 +0800
Tag:    v2.0.0-rc1

MDL-21432 - backup finished groupings restore + introduced role precheck/execution step

commit a7ce4231bed32068222a7f6a912d73eb460c692c
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 19 Jul 2010 21:59:54 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - added role parser processor to be used on prechecks/execution

commit 5cc70f32c72e0b8c9bf180f01592e3376513de9b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 19 Jul 2010 21:45:19 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - add support for grouping description files

commit e14dd3434b4ab4292aaa886bf15830c1bebb9351
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 19 Jul 2010 07:57:24 +0800
Tag:    v2.0.0-rc1

MDL-23109 backup - added some restore precheck strings

commit b4009391411dbb6bd805982df31b466f1dd10a97
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 19 Jul 2010 07:54:06 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - restore prechecks are now being executed. Pending role mapping one

commit c3ea499d53ea8b8e33ad026137d08c64a34640e1
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 19 Jul 2010 07:49:55 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - handle mnet_remoteusers and support for prechecks

commit c0440b3f0e580263b6eafaa3b3fdb8f1fdbc23ed
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 19 Jul 2010 02:11:20 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - allow arbitrary contexts restoring files. original sysctxid + scales

commit 3a1cccc6d4f81a26258eaba7db2ea7f79c424197
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 19 Jul 2010 01:52:33 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - allow arbitrary contexts when annotating files. Record orignal sysctxid

commit b8bb45b001af2c549c114a64edff7e00580d51ab
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 18 Jul 2010 19:13:03 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - move all the files handling on restore to use new backup_files_temp table

commit 8bc29d46b482d373d8e4f2c1629abd1775d2f122
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 18 Jul 2010 19:03:07 +0800
Tag:    v2.0.0-rc1

MDL-21840 backup - table for files handling on restore. Big thanks to MySQL for being so... limited?

commit c44d4aeeeec63d2e352f84110270198135ccc68c
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 18 Jul 2010 18:59:43 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - fix minor problem with anon backups and course format

commit 76cfb124a17e37be55a74944e5f9dd52b9185168
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 18 Jul 2010 09:37:59 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - fixes in backup final task and reorder restore root task

commit 2df0f295b4fbb258bbb38a64e861cf58d92f9fce
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 18 Jul 2010 09:35:18 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - file handling and other changes. Saving before changes tomorrow due to MySQL temp tables limits

commit 2a97328522939999251a5af11a2a73a2145c0a0b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 17 Jul 2010 19:36:34 +0800
Tag:    v2.0.0-rc1

NOBUG xmldb editor - make php code generated to follow the 2-slash coding style

commit d1c1105248c156969f6b1271134c7bfcef8676ea
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 17 Jul 2010 19:23:52 +0800
Tag:    v2.0.0-rc1

MDL-21432  backup - make itemname bigger so it can store file component/area named

commit e2a4f9492f15e230bdc419ebabd54f84aceec5c0
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 17 Jul 2010 00:16:17 +0800
Tag:    v2.0.0-rc1

MDL-23196 html block - prevent this update to happen. It cleans all the HTML blocks!

commit 482aac657a1d6a2ade471336fc7a7b0de04eb796
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 15 Jul 2010 07:59:19 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - root task, inforef and users handling completed, various fixes

commit 2087babba1efb99cf0649054ac7e226b24f92532
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 15 Jul 2010 07:53:29 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - added inforef and users parsers

commit d39595cc09b7e42f25f92000dcc59a24b239c53b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 13 Jul 2010 17:36:34 +0800
Tag:    v2.0.0-rc1

MDL-22139 backup - Move gradebook.xml generation from course to final task

commit 3b6a42094559f83f5e04d4c0199a842a24114bd0
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 13 Jul 2010 17:34:24 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - allow conditional (dynamic) execution of structure steps

commit c60a8c82ac1282376ff929543b0261da8f520b48
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 13 Jul 2010 17:29:25 +0800
Tag:    v2.0.0-rc1

MDL-22139 backup - minor fix to query (grade_item->id is in backup_ids_temp->itemid)

commit c3c8f8b87db58d88aad9dd8609ef897bd156eee3
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 13 Jul 2010 06:50:20 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - restore element to completely guide parsing

commit 767ae73d008274f59db40437fa5f19281b755e7d
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 13 Jul 2010 06:45:52 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - minor fix to xml transformer (32cc)

commit 690234554fe822d5307a87f483593c76639c9e9d
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 13 Jul 2010 06:44:46 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - restore_structure_step implementation

commit a4e13312bf57e36a6a22884e989a55bed9d675b7
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 13 Jul 2010 06:35:28 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - get target on restore

commit ccb5335f41a1325f208d947acbe42468b5a18108
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 12 Jul 2010 06:23:57 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - prevent blocks backup from excluded activities

commit 90338ad14b5b0bc9875d60ac0e0165cbcf87db0c
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 12 Jul 2010 02:25:53 +0800
Tag:    v2.0.0-rc1

MDL-21432 restore - block tasks, factories

commit 2801883fd5ac821cae6bb90bbbf5fbb879d005aa
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 12 Jul 2010 02:22:38 +0800
Tag:    v2.0.0-rc1

MDL-21432 restore - spreading restore plan with block tasks

commit 61243f3a96594be02bb062e424108ee827ffe097
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 12 Jul 2010 01:41:19 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - add missing parentcontextid in blocks backup

commit 78d47b30eb440eace176514c75c55328cef1def0
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 11 Jul 2010 22:46:31 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - include both user and group "icon" areas (MDL-14589, MDL-23202)

commit 5f8354eb0680f463bf733e5873718953c3797d3f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 11 Jul 2010 02:18:39 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - detect array/object on xml_transformer + add contextid to blocks backup

commit 8909da85aecfc035d53e9c64711be87b9ea0e847
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 10 Jul 2010 22:30:04 +0800
Tag:    v2.0.0-rc1

NOBUG forms - formslib isn't available everywhere anymore. Add it when necessary!

commit a9f877152f0cf703ff76ccbe563e09c59edc22d4
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 08 Jul 2010 21:34:09 +0800
Tag:    v2.0.0-rc1

MDL-23149 install - fixed problem under Oracle using reserved words as placeholders. Thanks Dan Marsen!

commit c0bd6249280574b4ed543f3fcc41f6fad57efb4f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 08 Jul 2010 06:56:14 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - Small change in API after discussion in MDL-22245

commit f2e34ee52b2e52eea9ec5613bd650054d0c25e26
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 08 Jul 2010 01:26:34 +0800
Tag:    v2.0.0-rc1

MDL-22245 backup - keep subplugin branches connected all the time. Thanks for spotting it David!

commit 3f9d86cd69d5c2cddce0318f6ce04e883198237a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 07 Jul 2010 06:38:53 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - choice restore (missing steps). Enables activity settings

commit fbc2778d1cfeb1f2688316f2d7e1670c5f9ca0ac
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 07 Jul 2010 06:35:02 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - rest of helper files

commit c9d8234a9cb390debc1c00fcd9d069b4fdbc7680
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 07 Jul 2010 06:30:49 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - restore plan builder (still missing blocks support)

commit 864842aa832da81a7b61e464b4622c026c3091de
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 07 Jul 2010 06:28:38 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - all sort of restore tasks

commit 754a102b130ba8be800d525de8f4ed064d0e4e9b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 07 Jul 2010 06:25:54 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - restore controller

commit 4086bc776aea8c90457f43040595697baabc4222
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 06 Jul 2010 07:22:12 +0800
Tag:    v2.0.0-rc1

MDL-21840 backup - unify temp table support for backup & restore (more coming)

commit ffe50258747f224fd06fc32d604351ba42086f08
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 06 Jul 2010 06:48:07 +0800
Tag:    v2.0.0-rc1

NOBUG DB syntax - fix/improve some uses. I haven't tested completion, have you?

commit b5d45a0430a8d8fe11a36a405e2e558c500d6f03
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 06 Jul 2010 06:23:00 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - plan/task/step basis

commit dc5a2f8a5ab6623751b995944675288593f7895f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 06 Jul 2010 06:10:51 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - using grouped parser in moodle_backup.xml + minor changes in common stuff

commit d12fd69be0d07b0b6a9e5f846a56bf05d25fca81
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 06 Jul 2010 05:14:09 +0800
Tag:    v2.0.0-rc1

NOBUG backup - delete whitespace typo causing problems in section settings

commit f60f4666f9059fb7f98570861be881ca76660a74
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 06 Jul 2010 00:37:50 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - added operation to separate backup & restore

commit 21f96041dd0f52b9ba6161e0f7db67262e57ccca
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 05 Jul 2010 15:36:14 +0800
Tag:    v2.0.0-rc1

NOBUG backup - fix two recently broken tests

commit 4c7f6ac69353d1c0b30bde2eb6774ab6f130909c
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 05 Jul 2010 08:50:06 +0800
Tag:    v2.0.0-rc1

MDL-22699 restore parser - new grouped parser, useful for multilevel tags

commit 332437c51135a811e6c1ca1e3c4095f20f490862
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 04 Jul 2010 01:15:49 +0800
Tag:    v2.0.0-rc1

MDL-22245 backup - implementing changes in subplugins to offline assignments demo

commit 4abf04ea061471617c91e9c8b8f6e6cd134afa4c
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 04 Jul 2010 01:12:39 +0800
Tag:    v2.0.0-rc1

MDL-22245 backup - improving subplugin support a bit, thanks to David for his comments

commit 8bf1e5295e585e1c994315b7fc9e91361e004269
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 02 Jul 2010 19:24:56 +0800
Tag:    v2.0.0-rc1

MDL-22151 assignment backup - added backup for assignment with subplugin support MDL-22245

commit 060df4c8f77fda8dac09da5209e6839b4074e1f4
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 02 Jul 2010 19:13:00 +0800
Tag:    v2.0.0-rc1

MDL-22245 backup - added activities subplugin support

commit 93e9978ef900e378006d5b010cddd0bce8d4159e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 29 Jun 2010 04:54:21 +0800
Tag:    v2.0.0-rc1

MDL-22245 optigroup tests - check elements without conditions are applied by default

commit 1555681b0832919ba9b46386853077f77a06afa7
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 26 Jun 2010 23:38:16 +0800
Tag:    v2.0.0-rc1

MDL-22922 password validation - complete removal of unicode conversion

commit 7e60d0d6d712bcaaa207360a51e4381283401d7c
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 25 Jun 2010 00:48:11 +0800
Tag:    v2.0.0-rc1

MDL-22906 install - allow MS native drivers to be used everywhere

commit 850ea1eea973f12d979c8e8a60b9add2061f88e3
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 24 Jun 2010 17:48:31 +0800
Tag:    v2.0.0-rc1

NOBUG: Instructing Typo3 stuff we are curl-enabled always since 2.0

commit a42dcde415d886baa2a1f786b629e1af68384fe7
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 22 Jun 2010 18:31:37 +0800
Tag:    v2.0.0-rc1

MDL-21432 move some stuff from base to backup plan classes

commit 4751e470db14da5609f99f483e134268b9cfcfd9
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 22 Jun 2010 17:50:30 +0800
Tag:    v2.0.0-rc1

MDL-22503 blocks upgrade - avoid problems with orphaned sticky blocks

commit b31f126a2a073e7778af392b5a4f150f185a2678
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 22 Jun 2010 00:56:28 +0800
Tag:    v2.0.0-rc1

NOBUG: nothing

commit 68949e5d5f0c43ed59c370fb511eff0496814149
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 17 Jun 2010 17:52:41 +0800
Tag:    v2.0.0-rc1

MDL-22140 backup default settings - anonymize defaulting to no

commit 33add024083d8acd3bae63882411dac359465d3c
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 17 Jun 2010 17:43:50 +0800
Tag:    v2.0.0-rc1

NOBUG minibump - to get some settings defaults applied

commit 67a2f1c1d7617da94d038fa69b9f00d91faff498
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 17 Jun 2010 00:15:23 +0800
Tag:    v2.0.0-rc1

MDL-22804 hyphens in index names - Now the big-four handle/quote them properly

commit 471dc4d30719c738687f3a63f371346973435206
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 16 Jun 2010 23:46:08 +0800
Tag:    v2.0.0-rc1

NOBUG postgresql driver - better index names detection. Related to MDL-22804

commit be866f9d6cae13cdbe036ab44664dc6cbe86d0df
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 07 Jun 2010 22:40:12 +0800
Tag:    v2.0.0-rc1

MDL-22699 xml parser - to be used by restore

commit b46ba22bf570d243d6d7eb94ee00fb6403c64d49
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 05 Jun 2010 02:38:33 +0800
Tag:    v2.0.0-rc1

NOBUG: reduce to 1 whitespace. ctags was crying

commit 2e300e139a836a58692e68f370890db0e4d68d80
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 04 Jun 2010 16:26:11 +0800
Tag:    v2.0.0-rc1

NOBUG: Fix some queries preventing showentry "popup" to work

commit c86fa1a2ce156e868e97a4709ce6a2b1944b6d4a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 28 May 2010 17:25:21 +0800
Tag:    v2.0.0-rc1

MDL-22588 restore scales - fix scales not being assigned to target course. Merged from 19_STABLE

commit 12ffe203719ab17a0e8d24721eece3794bf44353
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 27 May 2010 01:45:40 +0800
Tag:    v2.0.0-rc1

NOBUG: Formatting and adding some comments about row versioning required

commit a2b9bca5c77cc31c5fd74af736805572c7c70258
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 27 May 2010 00:32:09 +0800
Tag:    v2.0.0-rc1

MDL-22556 mssql - Enable HEAD installations using the mssql (freetds) driver

commit d440bcfa28594c4eabcb61e6307e239bfeb3f5e5
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 27 May 2010 00:06:17 +0800
Tag:    v2.0.0-rc1

NOBUG fix typo causing problems using config-dist.php as base

commit 7874b33dd19268e15506842fb2d59785659ac8be
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 26 May 2010 02:25:50 +0800
Tag:    v2.0.0-rc1

MDL-22503 upgrade - fixing typo. How is it possible this to be here?

commit 57c3a358875365a76fd852c0e4a7f86cebcc1f82
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 25 May 2010 23:42:49 +0800
Tag:    v2.0.0-rc1

MDL-22503 blocks upgrade - delete orphan block instances before enforcing NOT NULL constraints

commit 982fd65f2dab617d78b76a27b5c91f22723dc677
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 23 May 2010 17:24:08 +0800
Tag:    v2.0.0-rc1

MDL-22540 mssql driver - release lock doesn't use mode param

commit b11bbdd16db70c14e69974d63a6bc18fb2efc730
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 23 May 2010 17:23:05 +0800
Tag:    v2.0.0-rc1

MDL-22540 portfoliolib - cross db text comparison requires sql_compare_text() to be used

commit 5cada36315c3e669a6e46650c768e01365b9adc1
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 07 May 2010 00:03:02 +0800
Tag:    v2.0.0-rc1

MDL-22366 upgrade - always drop DB objects conditionally

commit a8c53b983e7cfcbb38832d30c8dc82a9618475a1
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 06 May 2010 23:28:00 +0800
Tag:    v2.0.0-rc1

MDL-18576 timezones - updated to 2010i from 2009c (2147 rules)

commit 253063a29b648b3d544bec4d20c47765161a62bc
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 05 May 2010 21:16:25 +0800
Tag:    v2.0.0-rc1

MDL-22151 backup - added survey module backup

commit a345de6e59edb21512de508126bca3da3b7d3410
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 05 May 2010 06:19:22 +0800
Tag:    v2.0.0-rc1

MDL-22151 backup - added resource (file) module backup

commit 7db1f6b99f312c461baabc4560236b25a49cbdaa
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 05 May 2010 05:58:11 +0800
Tag:    v2.0.0-rc1

MDL-22151 backup - added page module backup

commit f58a9e3707b2cec63e7fe899888f5a3b6c214768
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 05 May 2010 04:21:13 +0800
Tag:    v2.0.0-rc1

MDL-22151 backup - added label module backup

commit 1fce7f2d59649b369ab07c0005a1ecf724c276bd
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 05 May 2010 02:36:03 +0800
Tag:    v2.0.0-rc1

NOBUG: Updated to have PR1 backups under control

commit 5a06da3c7099164ffd6a49cf27e9a8969c4c35a3
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 05 May 2010 02:28:31 +0800
Tag:    v2.0.0-rc1

MDL-22151 backup - implement imscp backup. Incomplete. See MDL-22315

commit 637a60dc5fde253587f53b097bfd45652dadec53
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 04 May 2010 22:19:00 +0800
Tag:    v2.0.0-rc1

NOBUG mimetypes - improve a bit mimeinfo_from_icon() so, before using the "return last" strategy (leading to all images returning image/tiff always) it will try one "return by extension match" if possible.

commit d3ce7c2cc76b6812a4e3d1cfa7b1bf3a082d9beb
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 04 May 2010 07:18:33 +0800
Tag:    v2.0.0-rc1

MDL-22151 backup - glossary implemented

commit 78692f23810418699dcc1d8474acdb6158985ea1
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 04 May 2010 01:42:18 +0800
Tag:    v2.0.0-rc1

MDL-22151 backup - folder implemented

commit 02488b86a87e2c07ac39fda7edd1f33b796ff0a2
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 04 May 2010 00:33:43 +0800
Tag:    v2.0.0-rc1

MDL-22151 backup - added scorm backup

commit b84fb38c0e44a08b455e502f104913f34de7a2b5
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 03 May 2010 22:10:23 +0800
Tag:    v2.0.0-rc1

NOBUG: user_backup area uses itemid 0 always

commit cf10078dba3299aa7ac0eed9be2b9d30882ab3dd
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 03 May 2010 18:00:19 +0800
Tag:    v2.0.0-rc1

MDL-22142 - quick hack until P26 gets fixed

commit b0f35692ce7f4fb067c3942e0e9e2ba1637ec75a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 03 May 2010 17:02:26 +0800
Tag:    v2.0.0-rc1

MDL-21432 restore - also disabled in front page

commit 2e14f78bd720064391c8b86fa260c93657c41c20
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 03 May 2010 16:54:30 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - enforce users = no on hub/import backups

commit 3eeb2fd55d6a0b555c447e760c13bd5becd22a21
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 03 May 2010 06:41:07 +0800
Tag:    v2.0.0-rc1

MDL-22141 backup - security always throw exception

commit c0772270d7b7dd632db6747bf949ef148ba6fbd5
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 03 May 2010 06:02:02 +0800
Tag:    v2.0.0-rc1

MDL-22141 implement security checks. sensible settings applied and locked

commit de4bf1ff9d6a12d5f77c47362c2de3b6496f026a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 03 May 2010 02:31:54 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - this is finally out. Any backup / restore should use the API

commit a934bd23ffa820e7980377d461000e31a9961b47
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 03 May 2010 01:35:51 +0800
Tag:    v2.0.0-rc1

MDL-21839 backup - added new backup logs table and cleaned some anymore in use

commit c717a0d3bc505dc6774116e692d54443b44b7242
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 03 May 2010 00:54:58 +0800
Tag:    v2.0.0-rc1

MDL-21432, MDL-22184 scheduled backup - disabled until implemented

commit 530fa9815a2a6d7ee4d6f4e0aaa785d366f976c2
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 02 May 2010 22:52:23 +0800
Tag:    v2.0.0-rc1

MDL-21432 restore & import - disabled until ready

commit b65e0220349749bca6a08eda3cb982a5c750314d
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 02 May 2010 18:35:51 +0800
Tag:    v2.0.0-rc1

MDL-22142 backup - P3: add all the remaining dependencies

commit 9c643dec87a00551d894c4e642ec6ab154fb16ad
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 02 May 2010 18:02:51 +0800
Tag:    v2.0.0-rc1

MDL-22217 backup file areas - fixed course backups string usage

commit 1386bc0905177f9186a25e22cd128f276ce6c1c6
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 02 May 2010 17:21:05 +0800
Tag:    v2.0.0-rc1

MDL-22145 backup storage - anonymised courses go to user_backup file area too

commit 9eeaea5fa4c86eddce233151c28c5e60e298a056
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 02 May 2010 08:19:51 +0800
Tag:    v2.0.0-rc1

NOBUG backup - on OS temp area, use backup.zip. When storing, rename to utf-8 name

commit be3e542d111cdf12b833f635c5301ba113c73470
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 02 May 2010 08:10:19 +0800
Tag:    v2.0.0-rc1

MDL-22145 backup - calculate default backup filename

commit 5cc4e210d9c2139d3276cf66897c68d98a4ce7cf
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 02 May 2010 01:45:20 +0800
Tag:    v2.0.0-rc1

MDL-22270 ratings - avoid breackage in forum/glossary/data and inform to developer. Thanks Penny.

commit 57ca97b3a7cbf91fadc4c191755b3d123b0e8fd8
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 02 May 2010 00:42:29 +0800
Tag:    v2.0.0-rc1

MDL-21668 backup - New capabilities creation

commit dacd7becbf19c8f0b2ffa7890dce35e8ef095deb
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 01 May 2010 22:13:23 +0800
Tag:    v2.0.0-rc1

MDL-22142 backup - tidy up logger defaults for production envs

commit dec2c30c0a01325cb34bd3f8ddacb0a8c67fe681
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 30 Apr 2010 16:34:53 +0800
Tag:    v2.0.0-rc1

NOBUG: Use correct cap name

commit 2de3539b43126de0567f80d9041ebdbcb9297d1f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 30 Apr 2010 02:30:17 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - clean temps after execution

commit 98baf0d721cd00aa67e87bbd6b4ff10c0adf999a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 29 Apr 2010 08:00:41 +0800
Tag:    v2.0.0-rc1

MDL-22234 backup - implement choice backup (used for backup tutorial)

commit 3930e8b806c64b749b07f75199f57d52308c0581
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 29 Apr 2010 05:43:48 +0800
Tag:    v2.0.0-rc1

MDL-22145 backup - use more clear constant names

commit 1f8bacd20fdbbc41c1e01b16bb79802d8bf473a8
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 29 Apr 2010 05:42:50 +0800
Tag:    v2.0.0-rc1

MDL-22145 backup - allowing longer backup types in DB

commit cd0034d8600af8f728493b4ac423d611f57d82ce
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 28 Apr 2010 05:42:54 +0800
Tag:    v2.0.0-rc1

MDL-22145 backup - implemented storage into proper file areas

commit 633fedbceab527de2a6e5f7b2fcf65112c2a348d
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 27 Apr 2010 09:10:15 +0800
Tag:    v2.0.0-rc1

MDL-22145 backup storage - add missing userid

commit ce937f99574718135ee3ce827e75126e77eb8f10
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 27 Apr 2010 09:02:38 +0800
Tag:    v2.0.0-rc1

MDL-22145 backup storage - provide 'user_tohub' storage for HUB files

commit 777f6eb3d65146457d904a9cd8abcf66072a9530
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 27 Apr 2010 01:17:01 +0800
Tag:    v2.0.0-rc1

NOBUG: Fix tests that were using the old forum_ratings table (moved to rating).

commit 1c9e93c77a7fa1cad1d1434dd17c9f97358e8189
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 25 Apr 2010 23:51:42 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup settings - added root "activities" setting and section settings

commit 9dbe1980c4cecc8d1e7657afa867cb1c25a7345b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 24 Apr 2010 00:35:08 +0800
Tag:    v2.0.0-rc1

MDL-22176 backup & restore links - Added support for course encoder

commit cd00f9b78f03c1e7b8aa5f8e34f26ff33ca27ce9
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 23 Apr 2010 20:35:40 +0800
Tag:    v2.0.0-rc1

MDL-20628 section backup - add new field and missing alias

commit 57a535cd428128c2fa29c0a89548a074b3d054d1
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 22 Apr 2010 00:41:37 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup - plan builder can have harcoded format

commit 10f375aa2ec884f61205c7c04ea2659874115f80
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 22 Apr 2010 00:12:27 +0800
Tag:    v2.0.0-rc1

MDL-22076 temptables - warn and dropped on disposal

commit 4bfdcfcf6065404a0af60deba77e1386e7a7434b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 21 Apr 2010 22:17:11 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup 2.0 - initial commit. Enable forum backup

commit ee4d3dee7ac7a9f5daa8220773ad16ba8e8bb0cb
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 21 Apr 2010 22:05:12 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup 2.0 - initial commit. backup DB structures

commit 16d0b44022852599737d2770a8ed6f660bf276dd
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 21 Apr 2010 17:37:26 +0800
Tag:    v2.0.0-rc1

NOBUG: Improve vis. of exception params.

commit a8fb453011dc4c7f163afd7b9ec1a0452ab43457
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 21 Apr 2010 17:35:30 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup 2.0 - initial commit. forum moodle2 backup

commit 691946222bfc2155929f19cda9fc7205a7597649
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 21 Apr 2010 17:33:31 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup 2.0 - initial commit. blocks custom bits

commit c6cc9726955dc3e968bd97dc6bc71c9ec3b998d5
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 21 Apr 2010 17:26:06 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup 2.0 - initial commit. controller

commit 77547b466627c841ae97b8ab5f953a6e715e9b30
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 21 Apr 2010 17:19:30 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup 2.0 - initial commit. moodle2 format

commit 69dd0c8cbf4c0898dfbb366645d8d4578ac64f68
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 21 Apr 2010 17:17:06 +0800
Tag:    v2.0.0-rc1

MDL-21432 backup 2.0 - initial commit. util dir

commit 1a6b93675b25cd66989b898bfea48e5d1b052e25
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 09 Apr 2010 02:16:26 +0800
Tag:    v2.0.0-rc1

NOBUG: BOM rebombed from 19_STABLE

commit 3d732d8487653b68c73546b63e0a457115d0f86e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 23 Mar 2010 19:14:26 +0800
Tag:    v2.0.0-rc1

NOBUG: Now editorlib is using PEAR (forms) stuff. Move the include path definition before including all the Moodle stuff.

commit ac94303a4261d6e03d4073d2a15e62d52b7d2613
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 23 Mar 2010 06:33:30 +0800
Tag:    v2.0.0-rc1

MDL-19233 restore of roles - prevent role creation, role assignment and permission overrides by observing corresponding caps. Improve role mapping a bit. Credit goes to Daniel Neis. Merged from 19_STABLE

commit cd6d35239636eec48f24f267522c138f357fa537
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 23 Mar 2010 02:06:59 +0800
Tag:    v2.0.0-rc1

NOBUG: Normalise generated param names so we can safely use sql_xxx() helper functions everywhere.

commit cea304d432f3d2bc4cc3419e54ae6fb969a9d63f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 23 Mar 2010 01:49:42 +0800
Tag:    v2.0.0-rc1

NOBUG: comment is a reserved word for oracle. I reserve my comments about it wink

commit 438d73f84f2fb80c3166e591eb48d7192e51d1f9
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 23 Mar 2010 01:00:46 +0800
Tag:    v2.0.0-rc1

NOBUG: Handle duplicated NAMED params in set_field() uses

commit bc4fd49d2946048fcae129c417745a82e0aa8b3a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 22 Mar 2010 22:41:57 +0800
Tag:    v2.0.0-rc1

NOBUG: Adding 3 new tests that reveal 2 different problems with NAMED params

commit a1656ddf79eb1c474bc4bb80b0f6d939dfdbd0f4
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 22 Mar 2010 17:27:35 +0800
Tag:    v2.0.0-rc1

MDL-21874 - phisics are physics tongueout

commit 90d07fa4966044962b7eb55532c3c12eb619cb46
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 22 Mar 2010 17:24:57 +0800
Tag:    v2.0.0-rc1

MDL-21874 - ddl object names cache. Don't use cache keys anymore. Leads to conflicts.

commit 2ab686ee714eb9c171d841489d67a976a9f05338
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 22 Mar 2010 03:36:50 +0800
Tag:    v2.0.0-rc1

MDL-21868 mssql generator - improve integer meta type detection + test

commit dd884a3ac51e690d73ecfa6d35660ad683a7c76e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 18 Mar 2010 09:50:32 +0800
Tag:    v2.0.0-rc1

NOBUG: Get back Oracle to normality (fix trigger/seq generation) after latest cache changes

commit 38af117a915f49572b0608de2b7048ae87346c7f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 18 Mar 2010 08:48:48 +0800
Tag:    v2.0.0-rc1

NOBUG: partially re-introduce DB object static cache, as we need to avoid dupes when two indexes are created in the same sentence and initials are the same (contenthash, contextid) This introduces some problems in Oracle but... better to keep the rest working.

commit 237e66198db38e7ec3ec85c9e7ef560cee698e6c
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 17 Mar 2010 10:17:26 +0800
Tag:    v2.0.0-rc1

MDL-21834 DDL tests - static caches aren't good for multiple connections in same request

commit d61b3d02695a7eb38c8a6fe99ec0c278910f1017
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 17 Mar 2010 09:34:29 +0800
Tag:    v2.0.0-rc1

MDL-21834 DDL tests - fix concurrent temp tables for mssql + 1 incorrect test

commit 00511e2101ba30de15d520ce2da98aa4ac502672
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 17 Mar 2010 09:32:59 +0800
Tag:    v2.0.0-rc1

MDL-21834 DDL tests - fix concurrent temp tables for postgresql

commit fbff152d226d4e789556885d3e2b79e6d6fb0b1a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 17 Mar 2010 03:02:18 +0800
Tag:    v2.0.0-rc1

MDL-21834 DDL tests - reveal some problems using concurrent temp tables

commit e6c4b5f2bb4d376f7a9ae4c1cd130d040d7a6a88
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 05 Mar 2010 06:01:38 +0800
Tag:    v2.0.0-rc1

MDL-17510 calendar - added 2 missing labels plus space/comments cleaning. Credit goes to Daniel Neis ; merged from 19_STABLE

commit 64cc243f34934b138833eb2110b2cf37e39200a9
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 05 Mar 2010 05:32:29 +0800
Tag:    v2.0.0-rc1

MDL-21750 ims-cc restore - avoid requiring net conection on validation. Credit goes to Darko ; merged from 19_STABLE

commit 5c34c4baa4a2490454fdbce948bd716a2f7e71a4
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 25 Feb 2010 18:17:46 +0800
Tag:    v2.0.0-rc1

MDL-14934 excel dates. Rely in excellib's format_date() to otput dates. It supports base/timezones properly. Merged from 19_STABLE

commit a0abea77a24897b5f75d759532902d44d768e9fd
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 21 Feb 2010 23:04:22 +0800
Tag:    v2.0.0-rc1

Adding two new installer langs: mr_utf8 and zu_utf8

commit 177c1a6cf567ebbfd12a5528101fa715c8056798
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 20 Feb 2010 03:27:12 +0800
Tag:    v2.0.0-rc1

MDL-21666 backup & restore caps. Bump version and lang strings

commit 157aa3a22d6a8ce7d98977e2d4ce3cfcbcbd92ce
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 20 Feb 2010 03:11:06 +0800
Tag:    v2.0.0-rc1

MDL-21666 backup & restore caps - renaming the import one

commit 2fdde5d1784f0d5cb26fd3a5ac674910207a096e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 20 Feb 2010 02:33:26 +0800
Tag:    v2.0.0-rc1

MDL-21666 backup & restore caps - upload/download renamed

commit d2940003482336d97a148e954f393c309f05f472
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 20 Feb 2010 01:50:14 +0800
Tag:    v2.0.0-rc1

MDL-21666 backup & restore caps - moving to new naming schema. More to come.

commit 1f6a59517f04b66fa3c888822673087c3d48d2d7
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 12 Feb 2010 17:24:28 +0800
Tag:    v2.0.0-rc1

NOBUG: Fix upgrade, plz review

commit 40be01445b3b7fb04f8be0b5f5c2cd1f0eb02e12
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 11 Feb 2010 01:01:44 +0800
Tag:    v2.0.0-rc1

MDL-20204 checkboxes small regression - two "showsearch" are way too much! tongueout

commit 099820aac8827c0382454085b46ccc8ddb171143
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 11 Feb 2010 00:48:44 +0800
Tag:    v2.0.0-rc1

MDL-7647 confirmation email - usernames with slashes causing confirmation problems ; merged from 19_STABLE

commit 073d380425a250b528f35952f742959e0b6b135b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 03 Feb 2010 17:23:37 +0800
Tag:    v2.0.0-rc1

MDL-21407 tex filter - trim leading whitespace from latex preamble. Merged from 19_STABLE

commit 193caa7f5bb20eb5d777e74e5c767a7baa5b5be9
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 26 Jan 2010 00:11:20 +0800
Tag:    v2.0.0-rc1

MDL-21438 xmldb editor - add missing sesskey to the save option

commit eb712e4280d61bd80081c7851ea6bccdb4230b60
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 22 Jan 2010 07:43:11 +0800
Tag:    v2.0.0-rc1

MDL-21265 wiki - fix problem for students not able to see entries in other groups until own entry is created by teacher. Merged from 19_STABLE

commit 26a8a8c8af9b2a6d3c9b5774b313f05c7a4c8acc
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 22 Jan 2010 03:28:28 +0800
Tag:    v2.0.0-rc1

MDL-21293 tag_youtube block - apply conversion of old tags to new ones in specialization() and start using new ones in configuration

commit 4f42e4663dbd26fb3d5b8729eeaf3dcc6c7c0dfb
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 22 Jan 2010 02:54:50 +0800
Tag:    v2.0.0-rc1

MDL-21293 tag_youtube block - migratin from YouTube API to Google one TODO: fix the configuration form to use the new stuff...

commit d51eee7e39b399d82c0efec2a9b9c161f13a0b9f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 22 Jan 2010 02:25:58 +0800
Tag:    v2.0.0-rc1

NOBUG: Wrong variable name preventing page to render

commit 054d3924f200bcbfc02dc38954724426e6d2f716
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 21 Jan 2010 18:04:03 +0800
Tag:    v2.0.0-rc1

NOBUG: On upgrade, cli must not override current config. Just set undefined (new) ones

commit ba9806511bd6282fe42c6b1d8931cd0c47c3aefb
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 20 Jan 2010 19:24:42 +0800
Tag:    v2.0.0-rc1

MDL-21393 completely remove old executabble (by everybody) script (only cleaned in 1.x versions)

commit 0c8952c309ce5e56e7b7519b3eed10a5114fe4a1
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 19 Jan 2010 03:39:38 +0800
Tag:    v2.0.0-rc1

MDL-21370 restore - avoid adding slashes twice to user info. Merged from 19_STABLE Credit goes to jean-christophe zulian

commit 1fb0e43005c4c49f989eb01382a1dae4a08c775f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 14 Jan 2010 00:50:27 +0800
Tag:    v2.0.0-rc1

NOBUG: Fix notice (and something more?). Like MDL-12961 but in data module; merged from 19_STABLE

commit ecbeab1a953f8107dd3397078a6508881c1cfb1c
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 12 Jan 2010 22:08:50 +0800
Tag:    v2.0.0-rc1

MDL-21296 - Adding timing info to test in order to compare results ; merged from 19_STABLE

commit 2b2acf756358fd51c8d6ea1fe917f7db5da3cd92
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 12 Jan 2010 21:40:56 +0800
Tag:    v2.0.0-rc1

MDL-21168 - Support encoded chars in query part of URL. Done in review day, but it's tested, grrr. Merged from 19_STABLE

commit 9dd05f1db777a09a0a48d954df2c76c6390a2959
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 12 Jan 2010 21:33:25 +0800
Tag:    v2.0.0-rc1

MDL-21168 - Added test for URLs with encoded paths and queries and fixed some onew. Merged from 19_STABLE

commit 49c8fe19bd16242f2922f470a3c55fb62534ad15
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 10 Jan 2010 07:13:20 +0800
Tag:    v2.0.0-rc1

First commit of ast_utf8 installer file

commit fd81d5bd37aa496fa86469e026a5229bd8a7c085
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 09 Jan 2010 06:25:13 +0800
Tag:    v2.0.0-rc1

MDL-21168 avoid http://www.whatever to be linked twice ; merged from 19_STABLE

commit 42759733188664b68dcd12792bbf766b25efa90e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 09 Jan 2010 06:18:42 +0800
Tag:    v2.0.0-rc1

MDL-21168 avoid http://www.whatever to be linked twice ; merged from 19_STABLE

commit bd9255c5285f8e2c9fb46ad225aa9ac03ae93d3b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 09 Jan 2010 01:20:56 +0800
Tag:    v2.0.0-rc1

MDL-21168 convert_urls_into_links() - changed solution to avoid linking inside <img> tags by negative look-behind assertion of =" string ; merged from 19_STABLE

commit 0559076a3c4087974ce029fb9cc4e1a5b3c06d22
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 09 Jan 2010 00:44:11 +0800
Tag:    v2.0.0-rc1

MDL-21168 convert_urls_into_links() - minor changes to tests (code formatting, utf_decode() out and properly escape % chars. Merged from 19_STABLE

commit 63b3d8abb42d86360435cbbe639f1a054edaf900
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 07 Jan 2010 22:59:54 +0800
Tag:    v2.0.0-rc1

MDL-21264 sql_isnotempty() fixed. Thanks Tim! Added (and passed) a bunch of tests for that function.

commit 59f05b16023efac6b8e61ceb0b175049d5ae7c93
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 31 Dec 2009 02:00:34 +0800
Tag:    v2.0.0-rc1

NOBUG: Fix use of output_tag() causing warnings here and there.

commit 5e934890c9fbe28bf89362d3eb6140208b5e3464
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 31 Dec 2009 01:35:36 +0800
Tag:    v2.0.0-rc1

MDL-16658 restore - new restore:createuser cap + pre-check users before restoring; merged from 19_STABLE

commit 2944c6c182883de7a0efa4c97b7899f183e0455e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 30 Dec 2009 03:36:08 +0800
Tag:    v2.0.0-rc1

NOBUG: Whitespace and XHTML ; merged from 19_STABLE

commit 1fe2e2ded287b7476028909363f2cd7b3c2878fe
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 28 Dec 2009 22:34:50 +0800
Tag:    v2.0.0-rc1

MDL-21203 delete dupe code - Credit goes to Antoine G ; merged from 19_STABLE

commit dc98ad65de621c71c2a8d5014cb6b4f9a1bcc5d8
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 19 Dec 2009 19:03:03 +0800
Tag:    v2.0.0-rc1

NOBUG: XHTML strict

commit ead791ddd503268a018e5acbe8ed5874ab6408fe
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 19 Dec 2009 02:48:44 +0800
Tag:    v2.0.0-rc1

MDL-21045, MDL-21046 restore - gradebook categories, letters and outcomes are now restored no matter if user info is enabled or no (as far as they are user-independent) Merged from 19_STABLE

commit f12c95734ab093fd827b8b7c77821c0eec09308e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 19 Dec 2009 02:11:13 +0800
Tag:    v2.0.0-rc1

Related to MDL-6489 - advanced search template was missing in backup/restore ; merged from 19_STABLE

commit a1b4e1f2eb307f40fb22863a40a54e0720694f32
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 19 Dec 2009 01:53:47 +0800
Tag:    v2.0.0-rc1

MDL-11507, MDL-15157 database activity - avoid some notices on restore ; merged from 19_STABLE

commit 14594faa80f1e843082f17bdf1e680fc433a5f88
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 19 Dec 2009 01:40:16 +0800
Tag:    v2.0.0-rc1

MDL-21160 database activity - remap scale on restore ; merged from 19_STABLE

commit 8ef5f17dc33de3216047330601f0a28cfac354b8
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 17 Dec 2009 22:41:15 +0800
Tag:    v2.0.0-rc1

NOBUG minor typo in phpdocs ; merged from 19_STABLE

commit 69d4a56e62da4a89a43ef2179c338fef393d92d4
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 15 Dec 2009 02:31:22 +0800
Tag:    v2.0.0-rc1

Test. Ignore this.

commit b72db8b3484b297da443a171cf902ef800d6e251
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 07 Dec 2009 19:42:18 +0800
Tag:    v2.0.0-rc1

MDL-20961 customize notices showed when user information is not included in backup ; merged from 19_STABLE

commit d3c68b087d188a031baca9b6f0050e5e29b5c971
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 06 Dec 2009 01:46:58 +0800
Tag:    v2.0.0-rc1

MDL-21029 glossary - fix display of entries belonging to site/course global glossaries ; merged from 19_STABLE

commit 5dc8870fa65eff74afda1e61f4814c8b93c53c78
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 02 Dec 2009 07:05:08 +0800
Tag:    v2.0.0-rc1

MDL-21015 testreportlib migrated to UnitTestCaseUsingDatabase. Easy one!

commit 8eb321419f9a288e92e0d973137f1d6895d0909d
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 02 Dec 2009 07:00:45 +0800
Tag:    v2.0.0-rc1

MDL-21015 migrate testsimpletestlib to UnitTestCaseUsingDatabase

commit 2d786d9bfbe72a67523d3e580ebf661462f2d89c
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 02 Dec 2009 06:31:22 +0800
Tag:    v2.0.0-rc1

MDL-21015 migrating conditionlib test from FakeDBUnitTestCase to UnitTestCaseUsingDatabase

commit 320bb66ea13fffda2ee7b7bb35ef64712d86f8ef
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 02 Dec 2009 02:58:07 +0800
Tag:    v2.0.0-rc1

NOBUG switch to new header comments + delete some usused Mockup objects

commit 3d90fbc498cf4f5c193c62d43a23d620c56351bc
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 02 Dec 2009 02:42:49 +0800
Tag:    v2.0.0-rc1

MDL-21015 grade tests migrated to UnitTestCaseUsingDatabase

commit de3940e794288ec67eb5a3eb323fa23a922f9129
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 02 Dec 2009 02:32:53 +0800
Tag:    v2.0.0-rc1

MDL-21015 copy/paste typo spreaded over various grade classes fixed

commit c6adec25bbbc74a994e52bc77e6a8ceb9dee12b8
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 02 Dec 2009 02:30:21 +0800
Tag:    v2.0.0-rc1

MDL-21015 enable xmldb_structures cache for UnitTestCaseUsingDatabase. Example: Yay, grade tests 40 mins down to 50 secs!

commit a97c0dd5980bf2dc336aa0373b6199e0ec32fded
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 02 Dec 2009 02:10:51 +0800
Tag:    v2.0.0-rc1

MDL-21015 - add optional xmldb_structure cache in the install_one_table_from_xmldb_file() method. 100x speedup for UnitTestCaseUsingDatabase tests. Defaults to false (old behaviour)

commit 7401a7cd25a089a3a2eaac45dd118c97def4ef89
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 01 Dec 2009 22:47:14 +0800
Tag:    v2.0.0-rc1

MDL-21015 - typo detected when working on grade tests...

commit 04aa2fd6c678890a577772e4f2280b79f77d7374
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 01 Dec 2009 22:27:39 +0800
Tag:    v2.0.0-rc1

MDL-21015 - prevent dead end under uncontrolled situations where cleanup doesn't happen on destruct

commit 6f5a517f68d386049122d430873d058fa77d65bb
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 01 Dec 2009 07:33:24 +0800
Tag:    v2.0.0-rc1

MDL-21007 - take out the box saying FakeTests are disabled. Not needed anymore.

commit 2319bdedd6cb9836f71bcad821abb83efaa5080e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 01 Dec 2009 07:18:34 +0800
Tag:    v2.0.0-rc1

MDL-21007 UnitTestCaseUsingDatabase misconfigured unit tests now reported as skipped

commit 776b85474d367593d688ecad9fdd6dd284a0ea3a
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 01 Dec 2009 05:36:28 +0800
Tag:    v2.0.0-rc1

MDL-21007 FakeDBUnitTestCase unit tests now reported as exceptions

commit 3f296828701957a36d0b01d274590323b822c7e4
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 01 Dec 2009 02:33:11 +0800
Tag:    v2.0.0-rc1

MDL-21007 fix blog tests to fulfill all the DB required records needed to be executed. Not really what the hell is being tested there, but now works and there aren't exceptions anymore.

commit ff8c7b2ac83b3ea00fb0230b445943c18bb576fc
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 01 Dec 2009 00:45:07 +0800
Tag:    v2.0.0-rc1

MDL-19057 DML tests - prevent CLOB/BLOB contents to be in error/pass output

commit 08061aa27740aba88a10326d9272db04421b56cf
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 01 Dec 2009 00:24:44 +0800
Tag:    v2.0.0-rc1

MDL-21007 exclude log files from tests as far as some drivers/extensions are prone to save own log files into working dirs

commit d021256774a1735b6f63c428ae6d297f925aa415
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 30 Nov 2009 23:45:36 +0800
Tag:    v2.0.0-rc1

MDL-21007 testpagelib_moodlepage - change -1 contexts (breaks SQL) to 13

commit b9ad17beb68fea63254cdbd5e4ab8809d63708f4
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 30 Nov 2009 23:21:29 +0800
Tag:    v2.0.0-rc1

MDL-20826 convert_urls_into_links() - target="_blank" is out in 2.0 (XHTML I guess). Adjusting tests for that.

commit db4f638aa9ed99fa5e90284b383327eb839b8aab
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 30 Nov 2009 10:06:43 +0800
Tag:    v2.0.0-rc1

MDL-20826 convert_urls_into_links() - add some test to reveal (side?) problems and allow comparing of alternatives. Merged from 19_STABLE

commit 5d9ab024ac9c311c84716628cce9a124173a2e8b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 30 Nov 2009 05:24:05 +0800
Tag:    v2.0.0-rc1

MDL-16658 restore users pre-check. Reviewed logic with latest discussions. Continues disabled. Merged from 19_STABLE

commit a9b8a84c0e8bcefdfd35ead6472c51732630cf61
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 27 Nov 2009 22:50:25 +0800
Tag:    v2.0.0-rc1

MDL-19697 mnet auth - start saving user->firstaccess ; merged from 19_STABLE

commit 1f1cae831152c9dc1d442844f1c03c2676382eb3
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 26 Nov 2009 19:35:25 +0800
Tag:    v2.0.0-rc1

MDL-20982 glossary - make print view to respect current theme ; merged from 19_STABLE

commit c211560381955bda51dbede4ea4a7dbabec8b69b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 25 Nov 2009 08:10:44 +0800
Tag:    v2.0.0-rc1

Fix lang string breaking XHTML in admin/index.php page

commit 55f5b2e8b84e6390c0917195d01a3b34c33ff398
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 24 Nov 2009 18:06:13 +0800
Tag:    v2.0.0-rc1

MDL-16658 users pre-check. Committing current *disabled* code to have it already under CVS control and better handling ; merged from 19_STABLE

commit 321ee52976dda9ca22a8d1554c58f4a574221129
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 24 Nov 2009 08:45:11 +0800
Tag:    v2.0.0-rc1

MDL-20939 backup & restore - avoid admins to be always included. Two things were causing this: wrong get_users_by_capability() call and standard scales. Improved scales restore to observe the 'moodle/course:managescales' cap. Merged from 19_STABLE

commit 451db461773bca6937e4ce90c4c2d14157584c48
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 24 Nov 2009 02:50:47 +0800
Tag:    v2.0.0-rc1

MDL-20941 store hashed username into user->email field for deleted users. Merged from 19_STABLE

commit 886e63dda9d92aac72928a194dbb834a896ad8cf
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sun, 22 Nov 2009 21:36:19 +0800
Tag:    v2.0.0-rc1

MDL-20932 user->secret out - merged from 19_STABLE

commit a89fcd7a2cc3b50343ce8e895802652bbbca86f6
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 21 Nov 2009 19:56:27 +0800
Tag:    v2.0.0-rc1

MDL-9251 backup/restore *all* users - is now forbidden for users lacking backup/restore permission at system level. Merged from 19_STABLE

commit f25d53a992273eba86a5649f8cd2504a922d5e5e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 21 Nov 2009 03:48:01 +0800
Tag:    v2.0.0-rc1

MDL-20916 protect the whole xmldb editor with sesskey. Merged from 19_STABLE

commit a805123bda675d090bc8c3754d407fad8f25a863
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 21 Nov 2009 01:48:47 +0800
Tag:    v2.0.0-rc1

MDL-20849 - improved lang string, thanks, Helen. Merged from 19_STABLE

commit f6459d125e63e3c8196e5566b6ea4926cbad801d
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 20 Nov 2009 08:32:16 +0800
Tag:    v2.0.0-rc1

MDL-20849 moodle/restore:userinfo - new cababilty to allow/deny permissions to restore any (users, messages, modulesactivity...) user-level information. Merged from 19_STABLE

commit f2a0da6c41022a794c4b8ea5bdd80b17964eda55
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 19 Nov 2009 03:38:51 +0800
Tag:    v2.0.0-rc1

MDL-20834 new cap moodle/backup:userinfo - controls who can backupuser related info. Disabled by default to teachers, oh my! sad Merged from 19_STABLE

commit 3af6f43a77dec17d4e092fd30749d8dfb7a1eeef
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 18 Nov 2009 09:25:33 +0800
Tag:    v2.0.0-rc1

MDL-20846 creating users on restore - new strings. Merged from 19_STABLE

commit e58269e4fafbfb1cc89185028eea916b466bb6dd
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 18 Nov 2009 09:05:58 +0800
Tag:    v2.0.0-rc1

MDL-20846 creating users on restore - part2 - hack login to inform and allow 'restored' users to reset their password. Merged from 19_STABLE

commit 089f1f065e312c108fb19306c1c89e064d417669
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 17 Nov 2009 23:51:27 +0800
Tag:    v2.0.0-rc1

MDL-20846 creating users on restore - part1 - mark password as 'restored' so login will detect that for resetting password. Also some minor improvements into user/auth detection. Merged from 19_STABLE

commit 07fce85b9725138c002ef182f0e22965c629c6b4
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Fri, 13 Nov 2009 07:55:06 +0800
Tag:    v2.0.0-rc1

MDL-20728 ims-cc import - fix importing of quiz with only 1 question ; merged from 19_STABLE

commit 7baf478491169c9d9ca711c98adbdb0a3d9c275d
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 09 Nov 2009 07:15:02 +0800
Tag:    v2.0.0-rc1

MDL-20625 concurrent tests - added note about MySQL and MSSQL

commit 9d3cbeb69565d7c005856f1d156d8552241a7bc1
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 09 Nov 2009 07:13:31 +0800
Tag:    v2.0.0-rc1

MDL-17491 oracle connections - fix annoyance when multiple connections are used and enforce new connections by using oci_new_connect()

commit 2055df938b6535d88d47bb6190f60b70ee66c6aa
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 09 Nov 2009 00:16:19 +0800
Tag:    v2.0.0-rc1

NOBUG: Initial commit of Dhivehi installer lang pack

commit 54c72f84a0d01a17aaea7292375f406b7fe7ddf4
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 05 Nov 2009 23:43:32 +0800
Tag:    v2.0.0-rc1

MDL-20749 annihilating last ocurrences of PAGE/OUTPUT from xmldb actions.

commit fb9514e361b6aa161fed78c63e53e20950582995
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 05 Nov 2009 23:40:26 +0800
Tag:    v2.0.0-rc1

MDL-20749 correct error output - sentences/tables checkers fixed.

commit bc1148bcc78375cbfdc249c172198b0379c5609e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 05 Nov 2009 21:58:48 +0800
Tag:    v2.0.0-rc1

MDL-20749 correct error output - some more strings added

commit d3859b134035612ebe59d88cba90fbc7b6652b20
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 05 Nov 2009 21:58:22 +0800
Tag:    v2.0.0-rc1

MDL-20749 correct error output - key/index checkers fixed.

commit 60a3e22b623aabc6185d03272dbd8f8298ee8d1b
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Thu, 05 Nov 2009 21:38:02 +0800
Tag:    v2.0.0-rc1

MDL-20749 fixed the class edit_field_save to output errors properly. Will be beutifying the output a bit later

commit e3acc8af7acc0b97c6b1bf25f5dc56a345161e73
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 04 Nov 2009 21:19:11 +0800
Tag:    v2.0.0-rc1

MDL-20734 normalise_value() - moving from private to protected everywhere and abstracting

commit 8fb501e96c2bd470ebf316d92fca80ffb38ce244
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 04 Nov 2009 07:34:43 +0800
Tag:    v2.0.0-rc1

MDL-20734 empties and zeros - implemented the normalise_value() function in mysql and postgres to perform central normalisation of values for insert/ update/set_field. Now all DB drivers cast empty strings to 0 when working with numeric columns (integer and decimal)

commit 2f9c1693a0d69aa9b815f36a9d6598bc7ef6b81f
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 04 Nov 2009 03:53:11 +0800
Tag:    v2.0.0-rc1

MDL-20734 Changed tests behaviour so insert/update/set_field will be expected to cast empty strings (in numeric columns) to 0

commit fdc45ac360f33a8e6a20776e480fc21c33f1ebc3
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Wed, 04 Nov 2009 02:11:18 +0800
Tag:    v2.0.0-rc1

NOBUG: Added some tests with empty strings in insert_record/update_record/set_field that reveal inconsistencies between DBs

commit 0f0801f499c24f4400da3cd791f7aa7dd62ad966
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 03 Nov 2009 19:02:07 +0800
Tag:    v2.0.0-rc1

Added missing global that was causing perfinfo and others not to be respected.

commit 7c476352203a0b782889ae2787f1b3d72b9c322e
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Tue, 03 Nov 2009 18:20:56 +0800
Tag:    v2.0.0-rc1

Added missing PK causing problems in MySQL. Will test that later in proper DDL tests...

commit a380f30158a02c67754e2a2d2795e21b4fa277d7
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Sat, 31 Oct 2009 01:07:21 +0800
Tag:    v2.0.0-rc1

MDL-20288 add_to_log() - No need for any check in 2.0 as far as insert_record_raw() already hadles that for Oracle on binding. Merged from 19_STABLE

commit 79a7bcfd0b5aaff8594786a41c6436cb7ddfddc6
Author: Eloy Lafuente <stronk7@moodle.org>
Date:   Mon, 26 Oct 2009 17:21:50 +0800
Tag:    v2.0.0-rc1

MDL-20591 IMS-CC import: Integration committed. Next weeklies will include it. Merged from 19_STABLE

commit d463dc4a4f7046949c821ef2f82934a91781c606
Author: stronk7 <stronk7>
Date:   Fri, 23 Oct 2009 04:33:00 +0800
Tag:    v2.0.0-rc1

MDL-20620 ims-cc import - load resources in object, so navigation doesn't get lost ; merged from 19_STABLE

commit 1e4d75c736164f23e924612ba0da2f239262ddda
Author: stronk7 <stronk7>
Date:   Thu, 22 Oct 2009 22:52:09 +0800
Tag:    v2.0.0-rc1

NOBUG. Added missing return causing dupe output after saving xml file.

commit 1a193a89163cc0335c84e9ab9030485ceb26ce56
Author: stronk7 <stronk7>
Date:   Tue, 20 Oct 2009 01:22:27 +0800
Tag:    v2.0.0-rc1

MDL-20591 check for min libxml 2.6.30 version on ims-cc import ; merged from 19_STABLE

commit 6dd60ce445ab57c80d724cc0b7a09099b202d573
Author: stronk7 <stronk7>
Date:   Mon, 19 Oct 2009 21:42:58 +0800
Tag:    v2.0.0-rc1

MDL-20591 ims cc import: fix two calls by reference ; merged from 19_STABLE

commit ac83a8fd2ae764b32f69c6f95d2f88dea6441ca2
Author: stronk7 <stronk7>
Date:   Mon, 19 Oct 2009 05:40:46 +0800
Tag:    v2.0.0-rc1

MDL-20591 IMS CC Import - lang file added ; merged from 19_STABLE

commit df73d19d195e4aebbdf35f7afdce4b8c58ea3cb1
Author: stronk7 <stronk7>
Date:   Mon, 19 Oct 2009 05:36:22 +0800
Tag:    v2.0.0-rc1

MDL-20591 IMS CC Import: All the code (but its integration in restore) goes here. Great job, UVCMS! Merged from 19_STABLE

commit 5d91786a3523accb865d63cd9ca95424ce25800d
Author: stronk7 <stronk7>
Date:   Fri, 16 Oct 2009 22:16:18 +0800
Tag:    v2.0.0-rc1

MDL-19057 dml tests: Complete limitfrom/limitnum tests and delete some dupes

commit 72a3902f5a16d11b874fe96e73aafaf28469df8e
Author: stronk7 <stronk7>
Date:   Fri, 16 Oct 2009 22:14:03 +0800
Tag:    v2.0.0-rc1

MDL-14679 fixing limitfrom, limitnum queries under pgsql, mssql and oracle

commit a0394be409af1079ea344656f40f0766bb00c386
Author: stronk7 <stronk7>
Date:   Fri, 16 Oct 2009 06:34:34 +0800
Tag:    v2.0.0-rc1

NOBUG. Typo

commit 628dff250f602c29d6ef1709b420ad0261d41b57
Author: stronk7 <stronk7>
Date:   Fri, 16 Oct 2009 06:20:02 +0800
Tag:    v2.0.0-rc1

MDL-19057 dml tests: Completed (and passed in all the big four!) the insert_record() and update_record() tests. Including nulls, booleans, zeros, empties, quotes and backslashes, some php operations, clobs and blobs. Also covering get_record()/get_recordset() for all those cases.

commit 489ef94fa8725413ab868b66a399379bcc1afdf1
Author: stronk7 <stronk7>
Date:   Thu, 15 Oct 2009 23:17:21 +0800
Tag:    v2.0.0-rc1

Fix storing onf NULLs by set_field_xxx() into binary columns.

commit fbabe35a56b4b3d2dc903977636aa2f88ade1194
Author: stronk7 <stronk7>
Date:   Thu, 15 Oct 2009 01:53:38 +0800
Tag:    v2.0.0-rc1

MDL-19057 dml tests: Completed (and passed in all the big four!) the set_field_select() tests. Including nulls, booleans, zeros, empties, quotes and backslashes, some php operations, clobs and blobs. Going to mimic all them to insert/update_record tests.

commit f95cc12575ce73d27d6e232001ad90ca3f874540
Author: stronk7 <stronk7>
Date:   Thu, 15 Oct 2009 01:27:13 +0800
Tag:    v2.0.0-rc1

MDL-17491 oci driver: exception when binding strings into int/float colums. PHP casting was causing unexpected behaviour. Grrr.

commit 8a89be3c24dc54286d948fe9e44e95a082d74b5a
Author: stronk7 <stronk7>
Date:   Wed, 14 Oct 2009 22:14:00 +0800
Tag:    v2.0.0-rc1

MDL-17969 mssql driver: Fix boolean values in text columns

commit 2b4cf032fa9718795c17e2dcbec81a0b8541f949
Author: stronk7 <stronk7>
Date:   Wed, 14 Oct 2009 18:32:48 +0800
Tag:    v2.0.0-rc1

Fix retrieving of NULLs in PG databases and binary fields

commit 3e322a88fccb014024765580fbfcdbd82b64566a
Author: stronk7 <stronk7>
Date:   Tue, 13 Oct 2009 01:07:57 +0800
Tag:    v2.0.0-rc1

Changed recent commit to new DB API 2.0

commit 15a0ffc8f098a65dd34a943611cedfbb94620096
Author: stronk7 <stronk7>
Date:   Mon, 12 Oct 2009 05:52:40 +0800
Tag:    v2.0.0-rc1

MDL-20349 find_sequence_name() is out. No need to use it anymore.

commit 3c41bba0f237fa5fed360d274ea4a68907cc3155
Author: stronk7 <stronk7>
Date:   Sat, 10 Oct 2009 02:39:16 +0800
Tag:    v2.0.0-rc1

MDL-17969 mssql native driver: improve temp tables detection. Now they can be concurrently created in different sessions.

commit 4efab18ebd97f4d83876a3b29cd6e1dc440eb6e8
Author: stronk7 <stronk7>
Date:   Sat, 10 Oct 2009 01:21:03 +0800
Tag:    v2.0.0-rc1

NOBUG: xhtml

commit ab62bd23ff33ed082e1d93c142bde55a42e775d9
Author: stronk7 <stronk7>
Date:   Fri, 09 Oct 2009 18:02:39 +0800
Tag:    v2.0.0-rc1

MDL-14679 tidy phpdocs for sql_substr() a bit

commit 212f17c354587c7003682e04bb70fbddc2d7dfba
Author: stronk7 <stronk7>
Date:   Thu, 08 Oct 2009 23:14:01 +0800
Tag:    v2.0.0-rc1

MDL-17491 oracle native driver - now defaulting to it! cool

commit 2c51695987a85a507d7e83e33423606203dba1a1
Author: stronk7 <stronk7>
Date:   Thu, 08 Oct 2009 22:46:00 +0800
Tag:    v2.0.0-rc1

MDL-20352 - raising oracle 2.0 min req. to 10.2

commit 08559d7de0779a56cb5e41447e1189febccd5739
Author: stronk7 <stronk7>
Date:   Thu, 08 Oct 2009 22:39:58 +0800
Tag:    v2.0.0-rc1

MDL-17491 oci native driver - now supporting db locks (hence db sessions)

commit b3fab0f876656a0f25610dd63bf92f4150edbe46
Author: stronk7 <stronk7>
Date:   Tue, 06 Oct 2009 09:58:36 +0800
Tag:    v2.0.0-rc1

MDL-12922 'moodle/restore:rolldates' capability - added missing string. Merged from 19_STABLE

commit 81b06e9b171cd437bf0c6e49d004eed37c6bdb36
Author: stronk7 <stronk7>
Date:   Tue, 06 Oct 2009 09:27:37 +0800
Tag:    v2.0.0-rc1

MDL-12922 'moodle/restore:rolldates' capability - Implement logic on restore. Merged from 19_STABLE

commit 982e45af49858310a84652d29f730cc073acce71
Author: stronk7 <stronk7>
Date:   Tue, 06 Oct 2009 09:14:47 +0800
Tag:    v2.0.0-rc1

MDL-12922 adding 'moodle/restore:rolldates' cap to control who can roll dates on restore (defaults to current settings: only course creators (and admins) are able to roll) Merged from 19_STABLE

commit 4eb9f9cc849d4910c636ad69ae2de8f5df594a95
Author: stronk7 <stronk7>
Date:   Tue, 06 Oct 2009 01:45:02 +0800
Tag:    v2.0.0-rc1

MDL-18469 restore checksums - add error message string. Merged from 19_STABLE

commit cf59fbc036e284c99f8f936045271682284f4722
Author: stronk7 <stronk7>
Date:   Tue, 06 Oct 2009 01:23:31 +0800
Tag:    v2.0.0-rc1

MDL-18469 checksum restore in-session objects - both in manual restore and import, create checksums of the critical in-session objects (info, course_header and restore) to be able to check in restore_execute.html that all the information has arrived properly without any trim/error. Merged from 19_STABLE

commit 0a6baa4e47c12b3793786c98748485361e94f3a4
Author: stronk7 <stronk7>
Date:   Tue, 06 Oct 2009 00:56:52 +0800
Tag:    v2.0.0-rc1

NOBUG. Restoring of backups performed in different TZ/DST was causing incorrect roll to happen. Prevent any roll of dates if differences are < 24h. Merged from 19_STABLE

commit 53fd7cae8d6a67c8c32f7f69ba0c89e3c20b529a
Author: stronk7 <stronk7>
Date:   Tue, 06 Oct 2009 00:32:15 +0800
Tag:    v2.0.0-rc1

MDL-17469 - Revert incorrect handling of restore parameters in restore.php file. It was causing restore dates to be rolled based in the course where the backupfile is stored and not in the target course. Merged from 19_STABLE

commit 5758d88262f5db9f29a31e18e68598d5e07f20f7
Author: stronk7 <stronk7>
Date:   Mon, 05 Oct 2009 18:31:46 +0800
Tag:    v2.0.0-rc1

MDL-18469 restore missing session info - add a quick re-test of xml file before any further processing by restore_execute(). More coming. Merged from 19_STABLE

commit eb25bbcbc81e4127df1b0befcef97c37af5f8eb0
Author: stronk7 <stronk7>
Date:   Fri, 02 Oct 2009 20:50:19 +0800
Tag:    v2.0.0-rc1

MDL-18469 Minor changes to restore silenty/import before implementing checksum. Merged from 19_STABLE

commit 1c13ff2330b95d525b21da112e43ce5160a50dc0
Author: stronk7 <stronk7>
Date:   Thu, 01 Oct 2009 23:02:00 +0800
Tag:    v2.0.0-rc1

NOBUG: Just adding some "database" words here and there to help a bit when debugging problems.

commit 30c79d7c42fca24ce689fa8c8d91f4db5ec4d2b9
Author: stronk7 <stronk7>
Date:   Tue, 29 Sep 2009 07:19:20 +0800
Tag:    v2.0.0-rc1

MDL-17491 oci native driver: fix LOB meta length and minor whitespace

commit 2b29d0fa8390a146a8fc2d0bf97a6f2634716fd8
Author: stronk7 <stronk7>
Date:   Tue, 29 Sep 2009 07:16:55 +0800
Tag:    v2.0.0-rc1

MDL-17491 oci native driver: alter column from TEXT to integer/number now working

commit f713581bc38b9909411cac076adf7349355495e4
Author: stronk7 <stronk7>
Date:   Tue, 29 Sep 2009 07:16:05 +0800
Tag:    v2.0.0-rc1

MDL-14679 table/column meta cache is reset on each request and DDL operation. No need to call it with false parameter but in very exceptional ocasions.

commit faceaf558001e82443eb98072e5355a6f536c81f
Author: stronk7 <stronk7>
Date:   Tue, 29 Sep 2009 02:17:59 +0800
Tag:    v2.0.0-rc1

MDL-14679: mssql and oracle generators now supporting new temptables impl.

commit c6a1e0329a3803145f7f779752cf074d923a8458
Author: stronk7 <stronk7>
Date:   Tue, 29 Sep 2009 02:15:42 +0800
Tag:    v2.0.0-rc1

MDL-17491 oci native driver: adding support for local temp tables, via store

commit 4b1ee2b3c4bd0917920b6f420fb1a40d16be9a36
Author: stronk7 <stronk7>
Date:   Tue, 29 Sep 2009 02:10:07 +0800
Tag:    v2.0.0-rc1

MDL-14679 temporary tables: modify approach so name changes are now phisically stored and not only calculated on the fly. Oracle will need that.

commit 21e4f4b2127fa46af9d6ac2d0ac06f8008e9631f
Author: stronk7 <stronk7>
Date:   Mon, 28 Sep 2009 18:27:24 +0800
Tag:    v2.0.0-rc1

MDL-17491 oci native driver: prevent get_columns() to execute huge queries and fix return binding to proper SQLT_INT. Truncation was happening with LONG!

commit 31c05684c3b48b41c166446a70b2e7e879a7f4c7
Author: stronk7 <stronk7>
Date:   Sat, 26 Sep 2009 07:21:18 +0800
Tag:    v2.0.0-rc1

MDL-17491 oracle driver: specify cache size always (20 = RDBMS default)

commit 24dc733e16aa33432ae6ddfa7bb27c3e980edb5d
Author: stronk7 <stronk7>
Date:   Sat, 26 Sep 2009 07:08:32 +0800
Tag:    v2.0.0-rc1

MDL-17491 oracle native driver: when renaming tables, 1st task is to drop the associated on insert trigger, to avoid problems later.

commit 17f8278c34d3fbc4f1e6e03a3473c2d34d44d76c
Author: stronk7 <stronk7>
Date:   Fri, 25 Sep 2009 05:55:44 +0800
Tag:    v2.0.0-rc1

MDL-19057 fix default test, rename one reserved word ("number") and add a few more default tests

commit 7d9c92a846bd7ac9a3e147a239775787604ff90f
Author: stronk7 <stronk7>
Date:   Fri, 25 Sep 2009 05:52:23 +0800
Tag:    v2.0.0-rc1

MDL-17491 oracle native driver: disable sequence cache before renaming, enable later

commit 07f27ecd718321f9b58519623d104afaa4b1239c
Author: stronk7 <stronk7>
Date:   Fri, 25 Sep 2009 05:51:32 +0800
Tag:    v2.0.0-rc1

MDL-17491 oracle native driver: add missing tables cache and improve NUMBER and defaults detection

commit 8928d9256c72120db74c0c0f9f8630879b57ed40
Author: stronk7 <stronk7>
Date:   Fri, 25 Sep 2009 00:40:43 +0800
Tag:    v2.0.0-rc1

Better handling of FLOATS in oracle generator

commit d578c197579ee967f7dc225ade0dda3a3ed29e07
Author: stronk7 <stronk7>
Date:   Thu, 24 Sep 2009 21:51:41 +0800
Tag:    v2.0.0-rc1

MDL-19057 No more exceptions in tests for oracle. If tests fail, MDL-20339 can be the culprit.

commit 2b3d33535137898317fe01679e1c0efffca9f137
Author: stronk7 <stronk7>
Date:   Thu, 24 Sep 2009 21:47:20 +0800
Tag:    v2.0.0-rc1

NOBUG. Quick fix to provide cross-db comparison of TEXT fields.

commit 9b7d912b80b0704e92adaff7de16a928cf181eee
Author: stronk7 <stronk7>
Date:   Thu, 24 Sep 2009 21:40:45 +0800
Tag:    v2.0.0-rc1

whitespace cleanup

commit 190ff43b8ad07e05023c8d21c32ec19c9f4054b4
Author: stronk7 <stronk7>
Date:   Wed, 23 Sep 2009 21:42:31 +0800
Tag:    v2.0.0-rc1

MDL-17020 pgsql native driver: use same solution than mssql and oci to disable driver verbosity

commit 5c08b24b220a9b41c5f5b94de9ae4e84101bcbee
Author: stronk7 <stronk7>
Date:   Wed, 23 Sep 2009 21:35:59 +0800
Tag:    v2.0.0-rc1

MDL-17969 mssql native driver: better solution to avoid driver verbosity

commit a9ad1798ba014448f40a495125d8eb730a4304ce
Author: stronk7 <stronk7>
Date:   Wed, 23 Sep 2009 21:33:42 +0800
Tag:    v2.0.0-rc1

MDL-17491 oracle native driver: prevent verbosity of the driver

commit 96158ee548228a9f7e10d48b6e3aa33c95e5c991
Author: stronk7 <stronk7>
Date:   Wed, 23 Sep 2009 04:26:23 +0800
Tag:    v2.0.0-rc1

Properly truncating temp tables before dropping them.

commit 8127db52dbe0436dbc1feb86a8d05ae984d5df2a
Author: stronk7 <stronk7>
Date:   Wed, 23 Sep 2009 01:57:08 +0800
Tag:    v2.0.0-rc1

Added some DDL tests to check for proper empty defaults.

commit 692ae9122e064927ee13543f66640f279a1a87c5
Author: stronk7 <stronk7>
Date:   Wed, 23 Sep 2009 01:26:40 +0800
Tag:    v2.0.0-rc1

MDL-14679, MDL-17491 empty defaults: when passing empty ('') default to char/clob columns apply correct $default_for_char, so each DB will get its correct empty value

commit 9a61e6ba1f11760f3fca4c8484050ebc5751ef9a
Author: stronk7 <stronk7>
Date:   Wed, 23 Sep 2009 00:44:27 +0800
Tag:    v2.0.0-rc1

MDL-17491 oracle native driver: normalise empty behaviour (dirty hack) to work with all CHAR/CLOB columns and implemente oracle transactions support.

commit cf874b2949b10f75e17d67c8f7a1de3f0cf22417
Author: stronk7 <stronk7>
Date:   Wed, 23 Sep 2009 00:26:14 +0800
Tag:    v2.0.0-rc1

MDL-17491 dml tests4oracle empties/null/hack added.

commit 52a016264781255432ec3be99082d87364f1fb64
Author: stronk7 <stronk7>
Date:   Tue, 22 Sep 2009 16:58:22 +0800
Tag:    v2.0.0-rc1

MDL-17491 oracle native driver: LOB handling near finished + some helper functions

commit d3f9913a4fc16a8a853aa3ec6fcfe04cf1582e1b
Author: stronk7 <stronk7>
Date:   Mon, 21 Sep 2009 19:43:58 +0800
Tag:    v2.0.0-rc1

MDL-17491 oci native driver: reverting 2 debug-like bits I left in previous commit

commit 8b30c9533280bd61a0631abca3f81958bb267260
Author: stronk7 <stronk7>
Date:   Mon, 21 Sep 2009 19:38:04 +0800
Tag:    v2.0.0-rc1

MDL-17491 Better fetching this way smile

commit 515cb65357292110e52fa9aee6227989c831784b
Author: stronk7 <stronk7>
Date:   Mon, 21 Sep 2009 19:32:45 +0800
Tag:    v2.0.0-rc1

MDL-19057 added hack for oracle testing (random oci bug) and some missing close() statements.

commit 8089f8f67ec4f0d35edfc9c5d2fce54322d1360f
Author: stronk7 <stronk7>
Date:   Mon, 21 Sep 2009 19:28:42 +0800
Tag:    v2.0.0-rc1

MDL-17491 oci native driver: preparing to support transactions, oracle dirty hack and others. WIP

commit df5f91657093a46a1bbd2252467c0d987d84d8b7
Author: stronk7 <stronk7>
Date:   Wed, 16 Sep 2009 06:14:54 +0800
Tag:    v2.0.0-rc1

Fix incorrect var name and unnecessary (object) cast

commit 7cfaef13aa707d709d3ac49939b22c30c26ebd64
Author: stronk7 <stronk7>
Date:   Fri, 11 Sep 2009 17:38:42 +0800
Tag:    v2.0.0-rc1

MDL-17491 oci native driver - improve exception/error handling to know what the hell is happening. wink

commit 81f5be122be0ec8eaee23cd1d82b432295800f54
Author: stronk7 <stronk7>
Date:   Thu, 10 Sep 2009 00:35:17 +0800
Tag:    v2.0.0-rc1

s/DB tra/BD Tra/g

commit 167cbee855f0fd0206f1b2cd5d17bdae0e571c0b
Author: stronk7 <stronk7>
Date:   Thu, 10 Sep 2009 00:33:45 +0800
Tag:    v2.0.0-rc1

couple tests for DBs not supporting transactions

commit 8a4f9c06299c0e4be4e9e943a752fe360b6bcf6c
Author: stronk7 <stronk7>
Date:   Thu, 10 Sep 2009 00:04:49 +0800
Tag:    v2.0.0-rc1

oci driver regexp abilities default to moodle_database ones

commit dd67e10c8ec40070dabcda901c0ca1aa4d8231cb
Author: stronk7 <stronk7>
Date:   Thu, 10 Sep 2009 00:01:31 +0800
Tag:    v2.0.0-rc1

begin_sql() now uses current storage engine info to know if transactions are going to work (only InnoDB detected as trasaction-able)

commit dd1611a5bdc130b49f83fcc8c03fed815062ac0c
Author: stronk7 <stronk7>
Date:   Wed, 09 Sep 2009 21:21:08 +0800
Tag:    v2.0.0-rc1

Pair number of DML tests in all DB, no matter if regexp is supported or no

commit bad9a043a475c9303d73772988dba00ce7878b84
Author: stronk7 <stronk7>
Date:   Wed, 09 Sep 2009 20:55:01 +0800
Tag:    v2.0.0-rc1

Test drop_enum_from_field() and friends. Interim tests for the 1.9 => 2.0 upgrade. Will be out after branching for 2.1

commit 4d163d02bedc6e11e4bb02d3d614032beaba9b72
Author: stronk7 <stronk7>
Date:   Wed, 09 Sep 2009 17:44:39 +0800
Tag:    v2.0.0-rc1

Do not force table type for temporary tables

commit f94f10ca812e8cf13198c7def2bcc5f496c35aa0
Author: stronk7 <stronk7>
Date:   Wed, 09 Sep 2009 17:41:37 +0800
Tag:    v2.0.0-rc1

temp tables behaviour change: exception if exits on creation (like normal tables)

commit 63dc5bfcb2d3ad2ae586c3439b4923ee229fb647
Author: stronk7 <stronk7>
Date:   Tue, 08 Sep 2009 16:41:43 +0800
Tag:    v2.0.0-rc1

Getting same records twice... wink

commit 8e6e14ae3aeae3a0311a23d485604b07d685345e
Author: stronk7 <stronk7>
Date:   Mon, 07 Sep 2009 16:05:01 +0800
Tag:    v2.0.0-rc1

fixed notice (and bug) introduced by MDL-19787

commit c51ca8350e869d0cead080fed11ddfd84d5d2208
Author: stronk7 <stronk7>
Date:   Thu, 03 Sep 2009 00:24:43 +0800
Tag:    v2.0.0-rc1

Proper connection exception handling in the DB functional tests.

commit 6d682bae11e42326954a5fbaa9e06dae2b52f577
Author: stronk7 <stronk7>
Date:   Wed, 02 Sep 2009 00:31:09 +0800
Tag:    v2.0.0-rc1

MDL-17969 mssql (freetds/odbtp) native driver. Now supporting DB sessions with proper locking.

commit 3f33c9e25045c51a001298981cdb61104e18bdaf
Author: stronk7 <stronk7>
Date:   Tue, 01 Sep 2009 00:14:43 +0800
Tag:    v2.0.0-rc1

MDL-15181 temporary tables - now mysql driver uses the temptables object to solve its carences handling temp tables.

commit 4ff402d68ecdc1052ea4714786df7894b8f2905e
Author: stronk7 <stronk7>
Date:   Mon, 31 Aug 2009 23:47:46 +0800
Tag:    v2.0.0-rc1

MDL-15181 temporary tables support. No more differences in table_exists() + implemented temptables store for mysql.

commit 896a2a916cb296d1f39c1c4316c2aae08662deb8
Author: stronk7 <stronk7>
Date:   Mon, 31 Aug 2009 22:25:51 +0800
Tag:    v2.0.0-rc1

MDL-17969 mssql (freetds/odbtp) native driver. Both import_record and reset_sequence implemented. Only session locking support pending.

commit b1ca138716dc6f801cccf32ac4e7be6563e6b42d
Author: stronk7 <stronk7>
Date:   Mon, 31 Aug 2009 22:23:40 +0800
Tag:    v2.0.0-rc1

SQL generators must not execute changes in DB. Just provide the needed SQL in order to make database_manager to execute it. reset_sequence reimplemented.

commit be127d7922d0f268b05c49adceff3c68dfa2833d
Author: stronk7 <stronk7>
Date:   Mon, 31 Aug 2009 07:26:23 +0800
Tag:    v2.0.0-rc1

MDL-17969 Now defaulting to new mssql native driver instead of adodb one. Yay!

commit 18672a3e220392f8d9b2ab204a114322f98b20fd
Author: stronk7 <stronk7>
Date:   Mon, 31 Aug 2009 07:24:08 +0800
Tag:    v2.0.0-rc1

MDL-17969 mssql sql generator. Now works with temptables store and facilities

commit c6ea7fc24e535afa9e5ba84d059fc553364eb7e7
Author: stronk7 <stronk7>
Date:   Mon, 31 Aug 2009 07:18:24 +0800
Tag:    v2.0.0-rc1

Clean-up some conflicts introduced in my prev commit.

commit f78c21037e3aaf845352fc42959d5057defa3441
Author: stronk7 <stronk7>
Date:   Mon, 31 Aug 2009 07:04:35 +0800
Tag:    v2.0.0-rc1

MDL-19057 adding some pending bits

commit 520b730c5607a3856eaf09d573488b4baaaf3080
Author: stronk7 <stronk7>
Date:   Mon, 31 Aug 2009 07:00:25 +0800
Tag:    v2.0.0-rc1

MDL-17969 mssql (freetds/odbtp) native driver. Passes all the tests but: - import record - reset sequence ... so it's a good moment to add it.

commit 7a3ade00cd7806880ce5fc37bbde69bb3333edf3
Author: stronk7 <stronk7>
Date:   Mon, 31 Aug 2009 06:55:45 +0800
Tag:    v2.0.0-rc1

MDL-15181 cross-db temporary tables support. First-cut.

commit 38d0db9f31692a19257f78930bcfb240f12aa27c
Author: stronk7 <stronk7>
Date:   Mon, 31 Aug 2009 04:53:12 +0800
Tag:    v2.0.0-rc1

Concatenating NULLs with anything returns NULL

commit 71a71d591be72ec70728010edc5a356678cfbb28
Author: stronk7 <stronk7>
Date:   Mon, 31 Aug 2009 00:01:31 +0800
Tag:    v2.0.0-rc1

Added more sql_concat tests. MySQL and PG broken sad Fix coming soon.

commit f906838a4ea904c444a10573bd67a0a23abc104a
Author: stronk7 <stronk7>
Date:   Sat, 29 Aug 2009 09:17:57 +0800
Tag:    v2.0.0-rc1

Added some more tests to temp tables to show current implementation problems in mysql and mssql. Fix coming soon.

commit e4a16bdc88b3b69c3d11d942206fb76562474220
Author: stronk7 <stronk7>
Date:   Sat, 29 Aug 2009 08:08:55 +0800
Tag:    v2.0.0-rc1

Delegate prefix subtitution to each db driver to enforce calls to fix_sql_params() everywhere

commit 0f887b881e56dbe458ece21074eb58dc35894fcd
Author: stronk7 <stronk7>
Date:   Sat, 29 Aug 2009 01:30:18 +0800
Tag:    v2.0.0-rc1

Delete the tweakTempTable() thing used to support temp tables in mssql. Was hacky and incomplete. Proper solution must be mssql exclusive.

commit 77abbc47f6a8bf74a4965fbde62e23e12aba3e9f
Author: stronk7 <stronk7>
Date:   Fri, 28 Aug 2009 19:17:47 +0800
Tag:    v2.0.0-rc1

Enforce strict mode in mysqli session in order to get consistent behaviour in various operations (casting, altering columns...)

commit c402af03a84627fc596e782451c51c266e79b816
Author: stronk7 <stronk7>
Date:   Fri, 28 Aug 2009 09:19:49 +0800
Tag:    v2.0.0-rc1

To alter columns back and forth between numeric types and text, we need upto 3 intermediate alters. Corolary: MSSQL implicit conversions aren't transitive at all! smile

commit eb8f775d97238d9ddbf80af4b72a37e55f126b94
Author: stronk7 <stronk7>
Date:   Fri, 28 Aug 2009 09:14:32 +0800
Tag:    v2.0.0-rc1

Fix one wrong test. To get defaults applied, new column must be not null.

commit 76b6daf2b2f51965aad7b442aa6b9f7b6195fabd
Author: stronk7 <stronk7>
Date:   Thu, 27 Aug 2009 22:01:28 +0800
Tag:    v2.0.0-rc1

NOBUG. Add 2 missing fix_sql_params() calls in insert/update_record_raw() causing named and qm parameters to be mixed in the same query. Curiously, due to the ordered nature of the qms it wasn't breaking, but was incorrect.

commit e871fb87bbbae58e7914be471ad210e5a42bde70
Author: stronk7 <stronk7>
Date:   Wed, 26 Aug 2009 05:06:14 +0800
Tag:    v2.0.0-rc1

workarround MSSQL (RDBMS) bug with float types. Not important as far as we don't use floats within Moodle, but XMLDB layer supports them.

commit 0e4a719b153c5385906df218ddc391bf20512a34
Author: stronk7 <stronk7>
Date:   Wed, 26 Aug 2009 04:39:00 +0800
Tag:    v2.0.0-rc1

fix sql_substr() behaviour

commit d60a7bc20fc0fc441e69b4416b021ab68e05fe24
Author: stronk7 <stronk7>
Date:   Wed, 26 Aug 2009 02:52:36 +0800
Tag:    v2.0.0-rc1

Buggy ADOdb was returning PKs in the list of indexes. Look for it in information schema and extract from results.

commit 2ef655beac5b79337e43028ddd0ecea7a0379b72
Author: stronk7 <stronk7>
Date:   Wed, 26 Aug 2009 01:41:10 +0800
Tag:    v2.0.0-rc1

Fix get_columns() for mssql adodb driver by custom-implementing it. This implementation should be the used one in native drivers.

commit 5d9827e4423fc5134edccf08a5f76a6fb945a00a
Author: stronk7 <stronk7>
Date:   Sat, 22 Aug 2009 02:11:04 +0800
Tag:    v2.0.0-rc1

Added missing global that was causing discussions to fail with fatal error.

commit 338c94e27c1bf9bd6f3a0e3da7262dcb5ddeb6d1
Author: stronk7 <stronk7>
Date:   Thu, 20 Aug 2009 05:44:24 +0800
Tag:    v2.0.0-rc1

Adding support for T_ABSTRACT token in PHP code coverage parser

commit de5645aa6f3f9c0209d6793c65c10236564719b5
Author: stronk7 <stronk7>
Date:   Mon, 17 Aug 2009 02:59:15 +0800
Tag:    v2.0.0-rc1

fix course display

commit 35554f50458f130ba474efe109a88c317c0b9898
Author: stronk7 <stronk7>
Date:   Tue, 11 Aug 2009 01:41:26 +0800
Tag:    v2.0.0-rc1

NOBUG: Added missing savepoint

commit 8c61317a4cc8c98ad1a60fcf6459b8811faceaba
Author: stronk7 <stronk7>
Date:   Mon, 10 Aug 2009 16:24:28 +0800
Tag:    v2.0.0-rc1

MDL-19690 - fix mailyes|no icon

commit 4ecbf8568b30203692459eb89fe636b4f033b51c
Author: stronk7 <stronk7>
Date:   Thu, 06 Aug 2009 18:02:41 +0800
Tag:    v2.0.0-rc1

MDL-19077 heading() - level is now optional, defaulting to 2

commit 4d51214ae93b08dbc1359cea28f2234509a9b861
Author: stronk7 <stronk7>
Date:   Tue, 04 Aug 2009 23:41:00 +0800
Tag:    v2.0.0-rc1

NOBUG: Extend param_file and param_path to nicely support utf-8 chars

commit fe8ce24aacb3599a13e34572535abbcb962ce390
Author: stronk7 <stronk7>
Date:   Tue, 04 Aug 2009 21:57:00 +0800
Tag:    v2.0.0-rc1

NOBUG: Fix wrong(4) default for label->introformat. Must be 0

commit 25e9ef26eb6c6d60b9764a480b52502a5a383ec0
Author: stronk7 <stronk7>
Date:   Fri, 31 Jul 2009 06:16:09 +0800
Tag:    v2.0.0-rc1

MDL-19974 postgres sql generator - delete unused variable

commit c5ec08d67e807e445a4a014db70efc9c162aec17
Author: stronk7 <stronk7>
Date:   Fri, 31 Jul 2009 06:12:42 +0800
Tag:    v2.0.0-rc1

MDL-19057, MDL-19974 DDL tests - WIP: from 365 to 473 tests (add/drop field and change_field_type)

commit 4411f0d5f5278f70e7a5e2e1ba7f98b30aaa9e03
Author: stronk7 <stronk7>
Date:   Fri, 31 Jul 2009 06:08:47 +0800
Tag:    v2.0.0-rc1

MDL-19974 postgres sql generator - simplified a lot thanks to 8.x as min req in Moodle 2.0 (alter column & defaults handling)

commit d274f2096b530d538a4753de904be027e38b9ddd
Author: stronk7 <stronk7>
Date:   Fri, 31 Jul 2009 02:54:54 +0800
Tag:    v2.0.0-rc1

MDL-19695 dependencies - now every change_field_xxx() method looks for dependencies

commit da750a51823a93250d22ffb96b7c5dce799196d2
Author: stronk7 <stronk7>
Date:   Fri, 31 Jul 2009 02:48:42 +0800
Tag:    v2.0.0-rc1

MDL-19701, MDL-19695 ddl stuff - review upgrade to enforce dependencies on every field operation

commit ce11763a23bcb7a596692428880bc61fd1746ddc
Author: stronk7 <stronk7>
Date:   Thu, 30 Jul 2009 21:40:59 +0800
Tag:    v2.0.0-rc1

MDL-19969 standarising plugin names - prevent dupes in case record is already there

commit 1a861d244b0d365447f9a8b4e9e565b88bf99ff5
Author: stronk7 <stronk7>
Date:   Thu, 30 Jul 2009 03:00:55 +0800
Tag:    v2.0.0-rc1

NOBUG Fixed error happening when restoring missingtype questions if answers weren't present (cast error) Merged from 19_STABLE

commit a184479acbf9720cf218096f537c96c2686a345f
Author: stronk7 <stronk7>
Date:   Wed, 29 Jul 2009 00:47:01 +0800
Tag:    v2.0.0-rc1

MDL-18658 add support for m4a files in the multimedia filter + missing mimetypes. Credit goes to Ralf Krause, thanks! Merged from 19_STABLE

commit 4e1cb3397e60b599c432211afa0f731e0551c082
Author: stronk7 <stronk7>
Date:   Sun, 26 Jul 2009 17:36:14 +0800
Tag:    v2.0.0-rc1

MDL-18901 formatXXX fields - changed missed occurrence

commit 0a7e899d86168cb913fa5f3f1d2dadce235f97d0
Author: stronk7 <stronk7>
Date:   Fri, 03 Jul 2009 09:12:59 +0800
Tag:    v2.0.0-rc1

MDL-6218 TEXT/BINARY columns and default clauses - forbidden since ages, warn and autofix them if found

commit 122e7ef56cd66a31e93ba6a890eb37b4f3479800
Author: stronk7 <stronk7>
Date:   Fri, 03 Jul 2009 00:13:30 +0800
Tag:    v2.0.0-rc1

MDL-19057 ddl tests - slowly advancing. Added some test to check for MDL-19695 behaviour

commit 2baf1380d4898e15328fa6aa62e13115ce6092a8
Author: stronk7 <stronk7>
Date:   Fri, 03 Jul 2009 00:08:44 +0800
Tag:    v2.0.0-rc1

MDL-19695 field dependencies - defined new exception ddl_dependency_exception that will be thrown when one DDL operation (drop only for now) is attempted over one field being part of indexes.

commit 4276a19a781923df98c3cccbfd7fe8b48c988f19
Author: stronk7 <stronk7>
Date:   Fri, 03 Jul 2009 00:05:47 +0800
Tag:    v2.0.0-rc1

MDL-19695 field dependencies - before committing the dependency checker, fix all places in upgrade that will break once running with dependencies enabled

commit fdc391470e6553aafb4d9347e184236a35e4fd2f
Author: stronk7 <stronk7>
Date:   Thu, 02 Jul 2009 23:30:30 +0800
Tag:    v2.0.0-rc1

Enums are out in 2.0, so we cannot introduce any in the 1.9 => 2.0 upgrade. Deleting the upgrade block.

commit fcae2e3ba39919c7e67a4b016112855746f0faa3
Author: stronk7 <stronk7>
Date:   Tue, 30 Jun 2009 01:11:34 +0800
Tag:    v2.0.0-rc1

Fixed typo that was breaking badly custom_corner deprecated uses.

commit 86ffb13965d325f948e9023f1c5c13e0d75b6ba0
Author: stronk7 <stronk7>
Date:   Mon, 29 Jun 2009 06:12:20 +0800
Tag:    v2.0.0-rc1

MDL-19057 ddl tests - complete a bit ddl table tests (and partially drop enum fields)

commit 81d18ad5c4e02369b3abfffa1d84eb258dcba45a
Author: stronk7 <stronk7>
Date:   Sat, 27 Jun 2009 02:25:46 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - finished adding initial $includecoverage attributes

commit ce40c8ff2bdebd426ed9913626246d1fbfa46837
Author: stronk7 <stronk7>
Date:   Sat, 27 Jun 2009 02:12:05 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - add more initial $includecoverage attributes

commit 081a63a9eb7604e44f1b12088c0ff8b44c41adc5
Author: stronk7 <stronk7>
Date:   Sat, 27 Jun 2009 01:49:15 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - add more initial $includecoverage attributes

commit d47cf63decf308f84ab3917bc26c08ce26ce43b6
Author: stronk7 <stronk7>
Date:   Sat, 27 Jun 2009 01:21:36 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - add initial $includecoverage attributes

commit e5d06af22ee502e2841203da90d3de123b57f750
Author: stronk7 <stronk7>
Date:   Sat, 27 Jun 2009 01:07:33 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - show link to latest complete report

commit f40184265a6a916941d3e92b4b864fa89b826c99
Author: stronk7 <stronk7>
Date:   Fri, 26 Jun 2009 23:51:12 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - add lang strings and open complete report in new window

commit 70013fdcf91ab803d361cb292b5867e41c2dcbd4
Author: stronk7 <stronk7>
Date:   Fri, 26 Jun 2009 23:46:25 +0800
Tag:    v2.0.0-rc1

XHTML Strict

commit 2e10368ab1784c9de90ba73c978e41dad253c43e
Author: stronk7 <stronk7>
Date:   Fri, 26 Jun 2009 18:05:49 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - fix error when reporting number of lines in summary 2nd try sad

commit dc77a7a8313dd6de50f5d36de7d412a1239b73bf
Author: stronk7 <stronk7>
Date:   Fri, 26 Jun 2009 18:03:44 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - fix error when reporting number of lines in summary

commit 021a4a5ed9775956ad0c1188ec6ad91c9b635002
Author: stronk7 <stronk7>
Date:   Fri, 26 Jun 2009 17:58:09 +0800
Tag:    v2.0.0-rc1

Fix coverage summary OUTPUT

commit 5d902b5da5972df000118064e18d68d1bd92ac77
Author: stronk7 <stronk7>
Date:   Fri, 26 Jun 2009 17:50:06 +0800
Tag:    v2.0.0-rc1

Fix unit|db tests OUTPUT

commit e2074b8b43c0da92b6ee7c2333af68f784ae50c8
Author: stronk7 <stronk7>
Date:   Fri, 26 Jun 2009 17:10:01 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - initial frontend for both unit and db tests

commit e1fe1b24fd9080f545fb2937e820975b783a6618
Author: stronk7 <stronk7>
Date:   Fri, 26 Jun 2009 17:07:58 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - summary reporting

commit c530a78a1c4591f52d3f08a9ac5465740696949e
Author: stronk7 <stronk7>
Date:   Fri, 26 Jun 2009 07:54:22 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - add file.php-like script to serve static reports from dataroot/codecoverage/[dbtest|unittest]. Requires login + site:config cap

commit 0f53569f83a8bfb321528ee74ff0e2924b0c2b42
Author: stronk7 <stronk7>
Date:   Fri, 26 Jun 2009 05:01:25 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - fix report paths and totals. Yay, I'm back!

commit f33e30fb8d1481f3fa773c19fd431b9ef79608a7
Author: stronk7 <stronk7>
Date:   Wed, 24 Jun 2009 00:50:03 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - xhtml compliant fixes

commit 4bf4e9443dd67142c8a9fbce07eca7a91c202091
Author: stronk7 <stronk7>
Date:   Tue, 23 Jun 2009 19:32:32 +0800
Tag:    v2.0.0-rc1

Added spikephpcoverage to the list of libs

commit 8a97d871769f85f747554461f345a22faff30b29
Author: stronk7 <stronk7>
Date:   Tue, 23 Jun 2009 17:31:49 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - initial lang strings required

commit db3a1eb8fdff7668b975209eb0a7d103e969dc46
Author: stronk7 <stronk7>
Date:   Tue, 23 Jun 2009 17:30:59 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - prepare ddl & moodlelib tests to support code coverage

commit b5ba94e5a56bfe8eb66e708d412e94d1aec9504f
Author: stronk7 <stronk7>
Date:   Tue, 23 Jun 2009 17:23:06 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - add Spike PHPCoverage lib (LGPL)

commit 86cc669c1b1898fb534e3e91778caeda522c4afe
Author: stronk7 <stronk7>
Date:   Tue, 23 Jun 2009 17:09:54 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - add library supporting all the extensions both to simpletest and spikephpcoverage required to have code coverage available

commit d83bcdfcc7e9939013c6a56171188cc93078ad8f
Author: stronk7 <stronk7>
Date:   Tue, 23 Jun 2009 16:24:50 +0800
Tag:    v2.0.0-rc1

Oops, I left some debugging info in my prev commit.

commit 16a2a41273d90a179e1d2846aec7e995c05cd92d
Author: stronk7 <stronk7>
Date:   Tue, 23 Jun 2009 08:24:52 +0800
Tag:    v2.0.0-rc1

Fix one test failing depending of the debug/debugdisplay settings.

commit feb828819ed893cf6ee543c5ecbf67d0f9721483
Author: stronk7 <stronk7>
Date:   Tue, 23 Jun 2009 07:52:11 +0800
Tag:    v2.0.0-rc1

Adding pear/XML/Parser to the list of 3rd part libraries used by code sniffer.

commit 95b588478e95a2d1fdbce90b5d419acd60325666
Author: stronk7 <stronk7>
Date:   Tue, 23 Jun 2009 02:50:57 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - added XML/Parser information to README file (New BSD = np)

commit 66f29dc2d17fabeeb035443edb6f5007da1e5e51
Author: stronk7 <stronk7>
Date:   Tue, 23 Jun 2009 02:35:56 +0800
Tag:    v2.0.0-rc1

MDL-19579 code coverage - add PEAR/XML lib, required by Spike PHP Coverage. New BSD license.

commit b5b948267ea5f1fed9cc4b0188b17d13bb7bf5a6
Author: stronk7 <stronk7>
Date:   Tue, 23 Jun 2009 01:55:40 +0800
Tag:    v2.0.0-rc1

Commit new ur_utf8 lang installer file to HEAD. Automatically generated.

commit 3cf4c8fabf1bc61f1b4c5b81705615c34f5ef577
Author: stronk7 <stronk7>
Date:   Tue, 23 Jun 2009 01:30:15 +0800
Tag:    v2.0.0-rc1

MDL-19452 Fix oracle/mssql drivers behaviour when using magic_quotes_sybase leading to wrongly escaped contents. Many thanks to Sam Moffatt! Merged from 19_STABLE

commit f59309921bc2a088cc08c38bc4524169412325d6
Author: stronk7 <stronk7>
Date:   Tue, 16 Jun 2009 23:34:55 +0800
Tag:    v2.0.0-rc1

MDL-19465 accesslib - improve get_user_access_sitewide() performance (~10%)

commit ce174f776f38b058dee59ac792735aa2cbb5bd50
Author: stronk7 <stronk7>
Date:   Mon, 15 Jun 2009 23:11:20 +0800
Tag:    v2.0.0-rc1

MDL-19460 wiki - disable by default undocumented interwiki links. Can be ebabled with $CFG->wiki_allow_interwiki = true; merged from 19_STABLE

commit cab8690d4b0c0f5ea72b6ba4c30c8f6bbc0d3ceb
Author: stronk7 <stronk7>
Date:   Mon, 15 Jun 2009 00:34:34 +0800
Tag:    v2.0.0-rc1

MDL-19331 Changes is table name/comments now flag xmldb as changed

commit 302fe95867658d6b585d6756f116370c10a2f2d5
Author: stronk7 <stronk7>
Date:   Sat, 06 Jun 2009 07:55:19 +0800
Tag:    v2.0.0-rc1

MDL-19403 glossary settings - add support to pixpath. Credit goes to Red Morris ; merged from 19_STABLE

commit 5e1f1a6e6190a05a78c21b99e51d2269d67b2edd
Author: stronk7 <stronk7>
Date:   Thu, 04 Jun 2009 18:31:12 +0800
Tag:    v2.0.0-rc1

MDL-17327 data module - improve adv. search by avoiding all the extra joins when getting max number of records ; merged from 19_STABLE

commit 6aa104ed961536d0cb78b4a1ee6f99d930226e0e
Author: stronk7 <stronk7>
Date:   Thu, 04 Jun 2009 01:31:09 +0800
Tag:    v2.0.0-rc1

MDL-19350 upgrade blocks - tiding up minor bits in repo plugins

commit 577ba35087323753e5e8c4f818bc5fb5e9e6f925
Author: stronk7 <stronk7>
Date:   Thu, 04 Jun 2009 01:27:07 +0800
Tag:    v2.0.0-rc1

MDL-19350 upgrade blocks - adding missing savepoints to question types

commit b0ec60f10d216a6c784e0b064f97c35c56b99b11
Author: stronk7 <stronk7>
Date:   Thu, 04 Jun 2009 01:16:01 +0800
Tag:    v2.0.0-rc1

MDL-19350 upgrade blocks - adding missing savepoints to mod/quiz/reports

commit 3e179763322a4287a8b794a59fe8e3f634d6c206
Author: stronk7 <stronk7>
Date:   Thu, 04 Jun 2009 01:01:51 +0800
Tag:    v2.0.0-rc1

MDL-19350 upgrade blocks - fixing minor bits in modules

commit 3eb7ecda67f4d0f9a0494e0d0f6eac3f98850a67
Author: stronk7 <stronk7>
Date:   Thu, 04 Jun 2009 00:50:25 +0800
Tag:    v2.0.0-rc1

MDL-19350 upgrade blocks - adding missing savepoints to message/output

commit a54e16380e3a4f8ac15792c369397cfb47ad5eb3
Author: stronk7 <stronk7>
Date:   Wed, 03 Jun 2009 23:18:53 +0800
Tag:    v2.0.0-rc1

MDL-19350 upgrade review - adding missing savepoints to main upgrade.

commit fa7640f3f06c3ff023e9431db308f9cbc0d1006f
Author: stronk7 <stronk7>
Date:   Wed, 03 Jun 2009 23:09:23 +0800
Tag:    v2.0.0-rc1

MDL-19350 upgrade review - savepoints added to enrol plugins

commit 942cd61b2e36cab52a40f476693d37fd461dc6b7
Author: stronk7 <stronk7>
Date:   Wed, 03 Jun 2009 22:49:57 +0800
Tag:    v2.0.0-rc1

MDL-19350 upgrade review - adding missing savepoints to blocks

commit 4ff9ba7d7ce608fd7e7834b1cdadc038ab121d1c
Author: stronk7 <stronk7>
Date:   Wed, 03 Jun 2009 22:38:25 +0800
Tag:    v2.0.0-rc1

towards 2.0 DML

commit bd79ec5639b87a6d2a2aec712df299c0f3b107f3
Author: stronk7 <stronk7>
Date:   Sun, 31 May 2009 07:45:07 +0800
Tag:    v2.0.0-rc1

MDL-13204 xmlb editor checks - give extra time to checker because they can run looong

commit 11e167a9d06317f7e6f4e3762017ccf3fed3f932
Author: stronk7 <stronk7>
Date:   Sun, 31 May 2009 02:57:00 +0800
Tag:    v2.0.0-rc1

MDL-16059 xmldb editor - now all the php auto-generated code include proper upgrade_xxx_savepoint() calls

commit ba04999cebdf85b461133449df4b70002255cab1
Author: stronk7 <stronk7>
Date:   Sun, 31 May 2009 02:51:47 +0800
Tag:    v2.0.0-rc1

MDL-19349 upgrade_plugin_savepoint() added 2 suggestions

commit 76b6c644b26c618fade27b243b9b0170651452d1
Author: stronk7 <stronk7>
Date:   Sat, 30 May 2009 23:33:21 +0800
Tag:    v2.0.0-rc1

MDL-19346 get_db_directories() - make it use core get_plugin_types() where all the plugins are defined

commit c97b24bf735885906973f88102078f403c119c90
Author: stronk7 <stronk7>
Date:   Fri, 29 May 2009 07:48:39 +0800
Tag:    v2.0.0-rc1

MDL-9176 xmldb editor - now it's possible to save from edit table page

commit 024b7605e4b80b978299fb26b718fc5badc61e7e
Author: stronk7 <stronk7>
Date:   Fri, 29 May 2009 07:27:05 +0800
Tag:    v2.0.0-rc1

MDL-9176 xmldb editor - now it's possible to save from edit file page (always forget strings, grrr)

commit d5810e1d725de0b57693ae9f3a17a5ba44c979a4
Author: stronk7 <stronk7>
Date:   Fri, 29 May 2009 07:25:27 +0800
Tag:    v2.0.0-rc1

MDL-9176 xmldb editor - now it's possible to save from edit file page

commit 4f237e248b2c1c2c67224cdd095d59e84875fcf3
Author: stronk7 <stronk7>
Date:   Fri, 29 May 2009 07:20:53 +0800
Tag:    v2.0.0-rc1

MDL-9176 xmldb editor - enable the possibility to avoid unload after save (default)

commit c1b8eeda6847eef49b3c57d6e9c4143564d03d08
Author: stronk7 <stronk7>
Date:   Fri, 29 May 2009 05:57:56 +0800
Tag:    v2.0.0-rc1

MDL-19305 renaming string because I'm going to need both

commit 9dd35834eebae9c9d4bbc1ad0521197f8949eb28
Author: stronk7 <stronk7>
Date:   Fri, 29 May 2009 05:48:13 +0800
Tag:    v2.0.0-rc1

MDL-19305 xmldb editor - throw message when there are changes pending to save and perms don't allow it.

commit 17fe4b1f32eed0412ec2f4fb2eda040b76d7db40
Author: stronk7 <stronk7>
Date:   Fri, 29 May 2009 05:32:04 +0800
Tag:    v2.0.0-rc1

MDL-19304 xmldb editor - added "viewxml" string for new option

commit 0dd435add1a5f42d3b7d7e1b6147a28b9f7ec471
Author: stronk7 <stronk7>
Date:   Fri, 29 May 2009 02:59:08 +0800
Tag:    v2.0.0-rc1

MDL-19304 xmldb editor - files default action changet to edit

commit f802a79b7095c5bfb3255f94a355a6411c790ef2
Author: stronk7 <stronk7>
Date:   Fri, 29 May 2009 02:41:02 +0800
Tag:    v2.0.0-rc1

MDL-19304 xmldb editor - fixed default action for tables & statements

commit 8d38291f766bae6326e555bc4aff93dde2acf613
Author: stronk7 <stronk7>
Date:   Fri, 29 May 2009 02:19:10 +0800
Tag:    v2.0.0-rc1

MDL-19304 xmldb editor - default action (click on name) for field/key/index is now "edit". New "xml" button added.

commit 620ba7c3721b2effe3cd13f7bd8283cd7e4d62c6
Author: stronk7 <stronk7>
Date:   Thu, 28 May 2009 23:22:27 +0800
Tag:    v2.0.0-rc1

MDL-19325 lang string - escape $ properly

commit 47ff1b64ed81daf444fe78b8c2e222d61c0b7893
Author: stronk7 <stronk7>
Date:   Thu, 28 May 2009 22:45:04 +0800
Tag:    v2.0.0-rc1

MDL-19229 backup regexp - some servers seem to require the /u modifier if unicode classes are used (sadly Macs don't). Merged from 19_STABLE

commit 1f9c62b0faf84f5c51b482267a0eb6a62e81cac0
Author: stronk7 <stronk7>
Date:   Thu, 28 May 2009 08:24:38 +0800
Tag:    v2.0.0-rc1

MDL-19319, MDL-19307 xmldb documentation - add new strings

commit 98d1895fe002acc50434061df990d8c1dc7dd87e
Author: stronk7 <stronk7>
Date:   Thu, 28 May 2009 08:21:42 +0800
Tag:    v2.0.0-rc1

MDL-19307 xmldb documentation - add link from main page to global docs generator

commit 0fa07dab85f6c96ea55d22d04e3ee5e76c18ea2e
Author: stronk7 <stronk7>
Date:   Thu, 28 May 2009 08:19:59 +0800
Tag:    v2.0.0-rc1

MDL-19307 xmldb documentation - generate all the documentation in a BIG report

commit 12bef9fe301bcb7d073a654c3cf404f734f52e58
Author: stronk7 <stronk7>
Date:   Thu, 28 May 2009 08:07:59 +0800
Tag:    v2.0.0-rc1

MDL-19319 xmldb docs - move intro paragraph out from xlst

commit 6ef8b35a4b961073df0076c4c8636d820544e88f
Author: stronk7 <stronk7>
Date:   Thu, 28 May 2009 06:55:36 +0800
Tag:    v2.0.0-rc1

MDL-19319 xmldb documentation - improve output to show complete field specs

commit 3a0a3d7a6cbb661640872c9c813bdf58056ecfa0
Author: stronk7 <stronk7>
Date:   Wed, 27 May 2009 02:47:02 +0800
Tag:    v2.0.0-rc1

MDL-19058 xmldb editor & enums - inform about ENUM info detected in all the loaded files, suggesting different options depending of active/inactive ENUMs found

commit 16454b0f1cbe4fd569d56ae16ac363465a833dbd
Author: stronk7 <stronk7>
Date:   Wed, 27 May 2009 02:45:02 +0800
Tag:    v2.0.0-rc1

MDL-19058 xmldb editor & enums - detect used/unused enums when loading XML files

commit f3acc06c2d5be923fd62c477f2de17cec98296da
Author: stronk7 <stronk7>
Date:   Wed, 27 May 2009 01:24:52 +0800
Tag:    v2.0.0-rc1

NOBUGNUM xmldb - add some more generic (object) checks to the XMLDB loader

commit 8fdb24f0794312793d223d00dd75f74761e18b47
Author: stronk7 <stronk7>
Date:   Tue, 26 May 2009 22:46:01 +0800
Tag:    v2.0.0-rc1

MDL-14992 sessions - proper destructor method and fixed dispose() behaviour.

commit 5b49a67cc1f57bc6658716242b7d9aafd208f0ec
Author: stronk7 <stronk7>
Date:   Mon, 25 May 2009 22:43:29 +0800
Tag:    v2.0.0-rc1

MDL-18577 drop enums - annotating one more function to be dropped in Moodle 2.1

commit ba73136eabdc150ea128a9253ddb67f54042324e
Author: stronk7 <stronk7>
Date:   Sun, 24 May 2009 06:51:53 +0800
Tag:    v2.0.0-rc1

2.0 prefixes syntax

commit 2b212777b00392802c17ca3d3d6702280a1827df
Author: stronk7 <stronk7>
Date:   Sun, 24 May 2009 06:49:46 +0800
Tag:    v2.0.0-rc1

Fixing xmldb uses, deleting ENUM parameters. Seem the blocks upgrade code was written in the middle of the ENUMs drop.

commit 0990f7aa99838d5a2f0aff098a0575eb7f4e3d3e
Author: stronk7 <stronk7>
Date:   Sun, 24 May 2009 06:40:55 +0800
Tag:    v2.0.0-rc1

towards db layer 2.0

commit a547c180f63262be8e8bdf8fcf7250c4df2b91ad
Author: stronk7 <stronk7>
Date:   Sun, 24 May 2009 04:56:32 +0800
Tag:    v2.0.0-rc1

MDL-15355 restore - proper category selection when restoring from SITE + improved defaults ; merged from 19_STABLE

commit 528862df0478938e0f5572bde0fe66c5a7f7ab47
Author: stronk7 <stronk7>
Date:   Fri, 22 May 2009 23:16:13 +0800
Tag:    v2.0.0-rc1

MDL-19246 file manager - improved security message. Unused in HEAD. Thanks Helen.

commit 64acc5a55d45319f6e84f878852750ac2a51a597
Author: stronk7 <stronk7>
Date:   Fri, 22 May 2009 23:02:44 +0800
Tag:    v2.0.0-rc1

MDL-19246 restore - cleanup of "restoreto" options. Prev. site restrictions out. Merged from 19_STABLE

commit 77a7b86529212595c79f1167e081fbe95722b0e8
Author: stronk7 <stronk7>
Date:   Fri, 22 May 2009 18:32:34 +0800
Tag:    v2.0.0-rc1

MDL-19246 restore - cleanup of "restoreto" options. Some more extra uses updated. Merged from 19_STABLE

commit 2a8435c4ced0c2c6ba6e6eb48ff9c8762d1494e8
Author: stronk7 <stronk7>
Date:   Wed, 20 May 2009 02:50:24 +0800
Tag:    v2.0.0-rc1

MDL-19163 restore - avoid some notices. Merged from 19_STABLE

commit 66f8c14c2eedcf8b6c7aed614dd280f99f12433d
Author: stronk7 <stronk7>
Date:   Wed, 20 May 2009 02:37:43 +0800
Tag:    v2.0.0-rc1

MDL-19163 restore - 2 new strings to warn about restore over SITEID ; merged from 19_STABLE

commit a34947c283730ea36b2b3e91f867583d1c8123ee
Author: stronk7 <stronk7>
Date:   Wed, 20 May 2009 02:35:38 +0800
Tag:    v2.0.0-rc1

MDL-19163 restore - warn if restoring over SITEID course ; merged from 19_STABLE

commit e43806a018ccab9e55c98305630c50408f3c58e7
Author: stronk7 <stronk7>
Date:   Tue, 19 May 2009 18:35:59 +0800
Tag:    v2.0.0-rc1

MDL-19163 - Fixed problem when cancreatecourse users were restoring to sites with only 1 course ; merged from 19_STABLE

commit 6861b6fe33ed7f8c84814f24feeeb804ad116760
Author: stronk7 <stronk7>
Date:   Fri, 15 May 2009 04:42:53 +0800
Tag:    v2.0.0-rc1

Adding one more require_once($CFG->dirroot . '/course/lib.php') to another rebuild_course_cache()

commit 94ba4c9eb858b427f7ee95c11df2fba2667fcd6a
Author: stronk7 <stronk7>
Date:   Tue, 12 May 2009 22:57:40 +0800
Tag:    v2.0.0-rc1

MDL-19163 restore - enable course selection for teachers having perms in more than 1 course ; merged from 19_STABLE

commit d4e15ca389d232fbf97177e0e4b75d0fb11bfcc4
Author: stronk7 <stronk7>
Date:   Tue, 12 May 2009 17:29:18 +0800
Tag:    v2.0.0-rc1

MDL-19161 - DB 2.0 reqs. Updated to fulfil 2.0 Roadmap ; merged from 19_STABLE

commit a12fbc0125b4981e9ea5215ce1dcf7e3d1d62c5c
Author: stronk7 <stronk7>
Date:   Tue, 12 May 2009 16:32:16 +0800
Tag:    v2.0.0-rc1

MDL-18547 xmldb floats - recommend to switch to number fields when possible

commit ecdf5d17a04c1ea786d14eeb79731489c0257f37
Author: stronk7 <stronk7>
Date:   Tue, 12 May 2009 08:23:26 +0800
Tag:    v2.0.0-rc1

MDL-16879 run upgrade_fix_incorrect_mnethostids() in upgrade. Bump.

commit 02caf1e79996aa91b186e3b88e60593a8a61391e
Author: stronk7 <stronk7>
Date:   Tue, 12 May 2009 08:21:28 +0800
Tag:    v2.0.0-rc1

MDL-16879 fix mnet hosts - upgrade_fix_incorrect_mnethostids() merged to HEAD

commit d09af2e19fec8814f292c575803fb1d629c5d992
Author: stronk7 <stronk7>
Date:   Mon, 11 May 2009 23:11:23 +0800
Tag:    v2.0.0-rc1

MDL-18547 mysql floats - only none/both params (length & decimals) syntax is allowed. So, if decimals are missing, enforce 0 if length is defined. Merged from 19_STABLE

commit 09740513070df5e917062706d7ea10d3130d0867
Author: stronk7 <stronk7>
Date:   Mon, 11 May 2009 08:04:18 +0800
Tag:    v2.0.0-rc1

MDL-18746 get_user_courses_bycap() - avoid ambiguous (repeated) column names ; merged from 19_STABLE

commit 73ac87a4a9f51b5788397673be5316a5b20b7525
Author: stronk7 <stronk7>
Date:   Mon, 11 May 2009 07:17:19 +0800
Tag:    v2.0.0-rc1

MDL-19084 - backup_course_silently() missing call to xxx__check_backup_mods() causing quizzes to be incorrect (thanks Piers Harding) plus problems with users, files and role assignments. Merged from 19_STABLE

commit 5bd8324b2488b4d4f3d010c1167123cafec22401
Author: stronk7 <stronk7>
Date:   Sun, 10 May 2009 23:31:03 +0800
Tag:    v2.0.0-rc1

MDL-15534 wiki special pages heading title. Apply ewiki_t() to get translated heading names ; merged from 19_STABLE

commit 3560ff18b9e6050878e1fae60753b0734b04d69d
Author: stronk7 <stronk7>
Date:   Sun, 10 May 2009 22:45:59 +0800
Tag:    v2.0.0-rc1

MDL-12618 restore events - apply cross-db sql_compare_text(). MSSQL & Oracle were broken here. Merged from 19_STABLE

commit 4c63bd26a12572a0b0bce6e4c15099329181ec2c
Author: stronk7 <stronk7>
Date:   Sun, 10 May 2009 19:56:28 +0800
Tag:    v2.0.0-rc1

MDL-11144 - restore of mnet users. Another improvement... merged from 19_STABLE

commit adf8cf19bc2bfe770d35e5a672ca31118d845052
Author: stronk7 <stronk7>
Date:   Sun, 10 May 2009 09:16:10 +0800
Tag:    v2.0.0-rc1

MDL-17009 restore of mnet users - prevent any user using local host to end with mnet auth ; merged from 19_STABLE

commit b78ed27edb9744a440051ba5947efd0d23b1901b
Author: stronk7 <stronk7>
Date:   Fri, 08 May 2009 07:54:46 +0800
Tag:    v2.0.0-rc1

MDL-15690, MDL-16518 backup - include roles with overrides (not only with assignments). Merged from 19_STABLE

commit 99e8a8a8380d061d51b7d531ee29fd6065196f67
Author: stronk7 <stronk7>
Date:   Fri, 08 May 2009 04:41:33 +0800
Tag:    v2.0.0-rc1

MDL-13826 link/file resource - check maximum length ; merged from 19_STABLE

commit 3ea24f884aa6296cc8c44a5eb153e1a083f1fb14
Author: stronk7 <stronk7>
Date:   Fri, 08 May 2009 04:30:48 +0800
Tag:    v2.0.0-rc1

MDL-19112 choosecoursefile group element - pass specified attrs to text element ; merged from 19_STABLE

commit aa4c6b68b51386b5a1916f7efaf9dff583480322
Author: stronk7 <stronk7>
Date:   Thu, 07 May 2009 01:25:26 +0800
Tag:    v2.0.0-rc1

MDL-14463 search/order - make it cross-db + delete unused column from query ; merged from 19_STABLE

commit c11f2e4c155b09c0930b31da81d6eabd2e4d0b81
Author: stronk7 <stronk7>
Date:   Wed, 06 May 2009 18:22:17 +0800
Tag:    v2.0.0-rc1

MDL-18059 database rates - secured ; merged from 19_STABLE

commit 6e73bd12e8b3077dc391e4837ed84848d8a5264e
Author: stronk7 <stronk7>
Date:   Wed, 06 May 2009 17:25:54 +0800
Tag:    v2.0.0-rc1

MDL-18058 glossary rates - secured ; merged from 19_STABLE

commit 0287b9a6494079376d7621b55a56bc3dc3aacdda
Author: stronk7 <stronk7>
Date:   Tue, 05 May 2009 17:26:47 +0800
Tag:    v2.0.0-rc1

MDL-18799 backup of file.php links - now using unicode modifiers if allowed in the server ; merged from 19_STABLE

commit 382123a06e9328fa2b4dbe593f80a53717ff351b
Author: stronk7 <stronk7>
Date:   Mon, 04 May 2009 22:33:01 +0800
Tag:    v2.0.0-rc1

2.0 has lowercase xmldb objects.

commit 9b66b300c6979b8e01740bebb02315ef012a0ff0
Author: stronk7 <stronk7>
Date:   Mon, 04 May 2009 16:44:51 +0800
Tag:    v2.0.0-rc1

MDL-18227 forum ratings - clean wrong records; merged from 19_STABLE

commit f9ecb1716d6dece64ebaece65f553dd385eb615b
Author: stronk7 <stronk7>
Date:   Mon, 04 May 2009 07:46:40 +0800
Tag:    v2.0.0-rc1

MDL-18577 drop enums support - fixed dml/ddl tests to be runnable once enums are out. Some are failing but will be fixed/completed soon by MDL-19057

commit d14fc380c93bc48b0972d119bdda54046879258a
Author: stronk7 <stronk7>
Date:   Mon, 04 May 2009 07:15:44 +0800
Tag:    v2.0.0-rc1

MDL-19055 two missed XHTML fixes forgotten in previous commit.

commit 2f326cef12e570c46ed4c764fca4e3acb8c5f6ed
Author: stronk7 <stronk7>
Date:   Mon, 04 May 2009 06:33:18 +0800
Tag:    v2.0.0-rc1

MDL-19055 Upgrade to AdoDB 5.08 + local patches reapplied

commit d64514aab0d812a30524107a47f8f47dfbe7ce59
Author: stronk7 <stronk7>
Date:   Mon, 04 May 2009 01:19:40 +0800
Tag:    v2.0.0-rc1

MDL-14679 - PG get_indexes() fix - minor problem retrieving indexes with columns quoted

commit 08f4df55cb9a377bc7aa09c6b2d14efda4e8bbeb
Author: stronk7 <stronk7>
Date:   Mon, 04 May 2009 00:06:14 +0800
Tag:    v2.0.0-rc1

MDL-18577 drop enums support - added 2 more basic xmldb tests

commit 526fe7d8daab178d186820755d7073cfbeb60a12
Author: stronk7 <stronk7>
Date:   Sat, 02 May 2009 08:22:20 +0800
Tag:    v2.0.0-rc1

MDL-18577 drop enums support - step3: deprecate old change_field_enum() use by new drop_enum_from_field() available in 2.0

commit ae5a39398b648c776aebb95a53786b4037f512b4
Author: stronk7 <stronk7>
Date:   Sat, 02 May 2009 08:17:31 +0800
Tag:    v2.0.0-rc1

using new DB syntax

commit e849e868914a707eec63165e957287467cab98f4
Author: stronk7 <stronk7>
Date:   Sat, 02 May 2009 07:53:14 +0800
Tag:    v2.0.0-rc1

MDL-18577 drop enums support - step3: Fix XMLDB own tests + new tests for dropping enums

commit 2d2d79ef492a8dd8568d5c1553e9b72d919eb634
Author: stronk7 <stronk7>
Date:   Sat, 02 May 2009 07:49:31 +0800
Tag:    v2.0.0-rc1

MDL-18577 drop enums support - step3: Drop enums from generator classes. Only code used to drop enums remains until Moodle 2.1

commit ffaf9c59a9c6c4a7e16a8c1f5b201fa8bf68f328
Author: stronk7 <stronk7>
Date:   Sat, 02 May 2009 07:35:36 +0800
Tag:    v2.0.0-rc1

MDL-18577 drop enums support - step3: Missing return

commit e00ab5f99437d829109530d4d236b542ac7ce084
Author: stronk7 <stronk7>
Date:   Sat, 02 May 2009 07:35:01 +0800
Tag:    v2.0.0-rc1

MDL-18577 drop enums support - step3: Fix oci8 adodb set_field_select() without select

commit 762bd0df3ceb30ee38c88f86a0ce4a31f952e2ce
Author: stronk7 <stronk7>
Date:   Sat, 02 May 2009 07:33:24 +0800
Tag:    v2.0.0-rc1

MDL-18577 drop enums support - step3: fix native pgsql set_field_select() handling of BLOBs

commit 74c288a1009cf99fe73e9a4ded22aff081f017db
Author: stronk7 <stronk7>
Date:   Fri, 01 May 2009 22:07:43 +0800
Tag:    v2.0.0-rc1

MDL-18577 drop enums support - step2: enums out from install.xml files

commit 2a88f626f7e5de22b97ecf629f6484840ea9d453
Author: stronk7 <stronk7>
Date:   Fri, 01 May 2009 09:19:16 +0800
Tag:    v2.0.0-rc1

MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts.

commit 0aa060602f269adb23b8649d68a5f7e0ad28b824
Author: stronk7 <stronk7>
Date:   Wed, 29 Apr 2009 07:49:33 +0800
Tag:    v2.0.0-rc1

MDL-14679 mssql fix - Fix boolean handling in mssql + set_field() without params.

commit e37cd84ad4a7abb4fcd51a9c6a762c43ca196bb0
Author: stronk7 <stronk7>
Date:   Tue, 28 Apr 2009 04:29:01 +0800
Tag:    v2.0.0-rc1

MDL-18577 drop enums support - step1: transforming all enums to nomal varchar + prevent creation of new ones

commit 6bdf4c99b3992084a62e8695fbb8dab0785f7f92
Author: stronk7 <stronk7>
Date:   Mon, 27 Apr 2009 06:56:56 +0800
Tag:    v2.0.0-rc1

MDL-16824 messaging - move unread messages from deleted users to message_read. Pending to commit changes to uploaduser.php. Credit goes to Anthony Borrow. Thanks! Merged from 19_STABLE

commit b1c83b2c580b3bb652566d784a280a7801a46501
Author: stronk7 <stronk7>
Date:   Sun, 26 Apr 2009 05:20:45 +0800
Tag:    v2.0.0-rc1

MDL-18940 meta description in main page - render multilang summary properly. Merged from 19_STABLE

commit f6a5c4b0a75bd7d64760683bbb803a232c581f9a
Author: stronk7 <stronk7>
Date:   Tue, 21 Apr 2009 05:25:45 +0800
Tag:    v2.0.0-rc1

MDL-18893 TeX filter - fine tune "def" commands + add some more commands to blacklist (from Kopete). Thanks to Mauno Korpelainen and Steve Mayer. Merged from 19_STABLE

commit cbea2e04cba007568e2f70b056a1fe4a67d7f1de
Author: stronk7 <stronk7>
Date:   Sat, 18 Apr 2009 07:47:16 +0800
Tag:    v2.0.0-rc1

MDL-18799 backup & restore - improve file.php handling by using neutral syntax to support any slasharguments combination. Merged from 19_STABLE

commit c66158102ea786086abae5220e8f7e538bd76f8f
Author: stronk7 <stronk7>
Date:   Wed, 01 Apr 2009 17:04:21 +0800
Tag:    v2.0.0-rc1

MDL-18766 Towards improved translation

commit 0c156fe05ee00a5fe0665b10d9001a86e1d74812
Author: stronk7 <stronk7>
Date:   Fri, 27 Mar 2009 06:34:59 +0900
Tag:    v2.0.0-rc1

MDL-18552 TeX filter - add string ; merged from 19_STABLE

commit e42398e40962f80ca3e22453475df5b6e7a5e8ce
Author: stronk7 <stronk7>
Date:   Fri, 27 Mar 2009 04:17:25 +0900
Tag:    v2.0.0-rc1

MDL-18552 TeX filter - blacklist unsecure commands + protect texdebug ; merged from 19_STABLE

commit 004865e20dd155fb5352e2f07f32e54bb759de3a
Author: stronk7 <stronk7>
Date:   Fri, 20 Mar 2009 21:10:47 +0900
Tag:    v2.0.0-rc1

MDL-15748 get_user_access_sitewide() - reduce looking for perms in any context below category level. Dramatic speed-up in sites with zillions of contexts and overrides. Credit goes to Samuli Karevaara. Merged from 19_STABLE

commit 53dd63837de42c99d4239b235bd79eba6351ef76
Author: stronk7 <stronk7>
Date:   Thu, 19 Mar 2009 23:45:01 +0900
Tag:    v2.0.0-rc1

MDL-18594 restore check - skip maintenance.html file on restore of sie files. Credit goes to Juan Segarra. Merged from 19_STABLE

commit cf8a2e9f8d8371644e77ffec773bb41155691a37
Author: stronk7 <stronk7>
Date:   Tue, 17 Mar 2009 02:55:26 +0900
Tag:    v2.0.0-rc1

MDL-18576 timezones - info updated to tzdata2009c ; merged from 19_STABLE

commit e78d66436e6d3b53f157c1f23429fc032b32e688
Author: stronk7 <stronk7>
Date:   Fri, 13 Mar 2009 08:16:21 +0900
Tag:    v2.0.0-rc1

MDL-18482 restore skipping non selected activities. Merged from 19_STABLE

commit 382d4d9fbe8386c6c24f983331895f592e6f25b5
Author: stronk7 <stronk7>
Date:   Fri, 13 Mar 2009 07:21:57 +0900
Tag:    v2.0.0-rc1

MDL-18543 restore of role assignments / overrides - skip non-restored contexts. Merged from 19_STABLE

commit 36fa17855fdc0972bb9414c6cf5f6ba1661c888c
Author: stronk7 <stronk7>
Date:   Fri, 13 Mar 2009 04:04:53 +0900
Tag:    v2.0.0-rc1

MDL-18541 replace script - now also replaces within well known html blocks. Merged from 19_STABLE

commit 1263a0ff1dc28322838e38e9ba807a4f61da376b
Author: stronk7 <stronk7>
Date:   Wed, 11 Mar 2009 20:22:55 +0900
Tag:    v2.0.0-rc1

MDL-18518 user firstaccess - added suport to display user->firstaccess. Credit goes to Anthony Borrow! Merged from 19_STABLE

commit 16fcfc720a20280ae87b43bc11963161ce462553
Author: stronk7 <stronk7>
Date:   Tue, 10 Mar 2009 08:43:39 +0900
Tag:    v2.0.0-rc1

MDL-18468 Adding admin experimental option to enable split on restore. Thanks for string cleanup, Helen. Merged from 19_STABLE (more or less)

commit b8f0d7d18591f3ca3c0bceb158571c3b47eca876
Author: stronk7 <stronk7>
Date:   Tue, 10 Mar 2009 08:36:00 +0900
Tag:    v2.0.0-rc1

MDL-18468 restore preprocessing (split) - Added $CFG->experimentalsplitrestore option to enable split of moodle.xml files into upto 19 smaller files for quicker restore. Merged from 19_STABLE

commit e0ec2d45b847ac039fb839bc512fed82e8adc018
Author: stronk7 <stronk7>
Date:   Thu, 05 Mar 2009 00:03:00 +0900
Tag:    v2.0.0-rc1

MDL-18440 email_to_user() - avoid some notices ; merged from 19_STABLE

commit 3b348bbf4de06581c5558220e7f5a2ae1e76c333
Author: stronk7 <stronk7>
Date:   Tue, 03 Mar 2009 08:41:55 +0900
Tag:    v2.0.0-rc1

MDL-17934 flv player in resources - allow full screen. Credit goes to Darren Jones. Merged from 19_STABLE

commit 6dc72d7506841b131a49f04006568df40f5bb07f
Author: stronk7 <stronk7>
Date:   Tue, 03 Mar 2009 04:20:47 +0900
Tag:    v2.0.0-rc1

MDL-18420 reserved words - lowercase sqlite reserved words

commit e9fc2f32efb748459b8ac9f5a36c87da10b50f72
Author: stronk7 <stronk7>
Date:   Tue, 03 Mar 2009 04:09:29 +0900
Tag:    v2.0.0-rc1

MDL-18420 reserved words - adding 2 new PG reserved words. Merged from 19_STABLE

commit 09717fa5caabc441412e0d10427bae600d59b565
Author: stronk7 <stronk7>
Date:   Tue, 03 Mar 2009 03:53:59 +0900
Tag:    v2.0.0-rc1

MDL-18420 reserved words - adding MySQL 5.1 and 6.0 new reserved words ; merged from 19_STABLE

commit 121ff1f93f5529ec9f347447e36603d2f5669f7a
Author: stronk7 <stronk7>
Date:   Mon, 23 Feb 2009 18:09:08 +0900
Tag:    v2.0.0-rc1

Annotating some more customizations performed in PHPMailer(); merged from 19_STABLE

commit b9061f57689d8ac8699beb4939687d2f96895a84
Author: stronk7 <stronk7>
Date:   Wed, 18 Feb 2009 20:03:33 +0900
Tag:    v2.0.0-rc1

MDL-18302 filterlib - fixed rebuild of nested ignoretags ; merged from 19_STABLE

commit 23a6c9d68cd08d97a1236453ce1f367721ee01da
Author: stronk7 <stronk7>
Date:   Tue, 17 Feb 2009 02:58:50 +0900
Tag:    v2.0.0-rc1

MDL-18243 data module filter - make it cross-db by using sql_compare_text() ; merged from 19_STABLE

commit 31f9d771911e6202ebe3788f332e2f729cabf81a
Author: stronk7 <stronk7>
Date:   Mon, 16 Feb 2009 19:33:08 +0900
Tag:    v2.0.0-rc1

MDL-18222 restore - fixed restoring of course->summary links. Was being handled too early. Moved to final decoding links process. Merged from 19_STABLE

commit 37d975e11f2f5bc8215a437376d5db6a7f8bef42
Author: stronk7 <stronk7>
Date:   Mon, 16 Feb 2009 08:43:34 +0900
Tag:    v2.0.0-rc1

Fix tests (missing declaration) and add tests for sql_length()

commit aab0cd18515ac0d0ec961b59c65cadcea55ec78a
Author: stronk7 <stronk7>
Date:   Mon, 16 Feb 2009 08:23:41 +0900
Tag:    v2.0.0-rc1

MDL-18244 sql_length() - apply new function to resource names filter ; merged from 19_STABLE

commit 7b837bc3750a2af0704b52193669bc824c7ae6a2
Author: stronk7 <stronk7>
Date:   Mon, 16 Feb 2009 08:18:49 +0900
Tag:    v2.0.0-rc1

MDL-18244 sql_length() - deprecate old use of function

commit 7e0db2e20556cd90967597f528613ec182e66229
Author: stronk7 <stronk7>
Date:   Mon, 16 Feb 2009 08:17:56 +0900
Tag:    v2.0.0-rc1

MDL-18244 sql_length() - new cross-db function to calculate the length in chars of any expression ; from 19_STABLE

commit 493c3651bf9ab99c5a27b4de8d687b5715a17c13
Author: stronk7 <stronk7>
Date:   Sun, 15 Feb 2009 08:12:04 +0900
Tag:    v2.0.0-rc1

MDL-9796 environment - make install & upgrade to ignore dataroot xml file (ENV_SELECT_RELEASE)

commit 829fa07417d4ddeb291009291873cf8e356d9885
Author: stronk7 <stronk7>
Date:   Sun, 15 Feb 2009 08:08:05 +0900
Tag:    v2.0.0-rc1

MDL-9796 environment - add support to specify what xml file we want to use. defaults to newer (bc)

commit 853a3d8e53a023dfbdafdf5bcd8ad4f98d460719
Author: stronk7 <stronk7>
Date:   Fri, 13 Feb 2009 19:04:26 +0900
Tag:    v2.0.0-rc1

MDL-12846 course defaults - grrr I forgot to re-add the original setDefault()

commit 39c28155a544dd46dd3837333ac39e5d7f5bd487
Author: stronk7 <stronk7>
Date:   Fri, 13 Feb 2009 18:55:40 +0900
Tag:    v2.0.0-rc1

MDL-12846 don't apply coursedefaults->category anymore.

commit f571f5f55467428677dc56d0a017c8703f72ab4c
Author: stronk7 <stronk7>
Date:   Thu, 12 Feb 2009 02:00:39 +0900
Tag:    v2.0.0-rc1

MDL-18195 installer - always suggest/write paths using forward slashes

commit 08261d3ac1c238c523347ddfecb345b28eac591c
Author: stronk7 <stronk7>
Date:   Thu, 12 Feb 2009 01:39:49 +0900
Tag:    v2.0.0-rc1

MDL-18219 installer - respect $distro->dbtype after downloading langs

commit b14df659d77bffcad6e46d0ea8305b6bea7d135b
Author: stronk7 <stronk7>
Date:   Thu, 12 Feb 2009 01:22:20 +0900
Tag:    v2.0.0-rc1

MDL-18200 installer - Added 2 new strings to installer

commit 2718a61ff8bb7a9e299926cc23ea84747f5536bb
Author: stronk7 <stronk7>
Date:   Thu, 12 Feb 2009 01:21:15 +0900
Tag:    v2.0.0-rc1

MDL-18200 installer - clarify Data Directory help + 2 new strings

commit cf89052aaed6404d3ab498c99a7b726a7a2965da
Author: stronk7 <stronk7>
Date:   Thu, 12 Feb 2009 01:16:52 +0900
Tag:    v2.0.0-rc1

MDL-18200 installer - create dataroot dir if possible

commit b10a14a3924355bb955eab9655d494b422b2bff5
Author: stronk7 <stronk7>
Date:   Thu, 12 Feb 2009 00:26:29 +0900
Tag:    v2.0.0-rc1

MDL-18200 - fix make_upload_directory() was always failing on initial creation of dataroot

commit 78934008d34935c8f395996ad7d8ca6dc814b934
Author: stronk7 <stronk7>
Date:   Wed, 11 Feb 2009 19:01:11 +0900
Tag:    v2.0.0-rc1

MDL-17365 forum ajax rating - revert menu color back after error ; merged from 19_STABLE

commit 768408e8dd4c19013fb9db0b328fc1472898d083
Author: stronk7 <stronk7>
Date:   Tue, 10 Feb 2009 04:35:57 +0900
Tag:    v2.0.0-rc1

MDL-18198 installer - change distro to distrolib.php and delete distro hack from installlib

commit a4ac30c0e4e29680750eb57af8022d97517f3593
Author: stronk7 <stronk7>
Date:   Tue, 10 Feb 2009 02:46:29 +0900
Tag:    v2.0.0-rc1

MDL-18195 installer - improve CFG->dirroot error message

commit c454b86c64c7ad23efbe47eed81f894c0b5ade19
Author: stronk7 <stronk7>
Date:   Tue, 10 Feb 2009 02:30:11 +0900
Tag:    v2.0.0-rc1

MDL-18195 installer - ignore differences in slashes when checking $CFG->dirroot

commit 60ff6ada26f94daf18b0ffcb5f5203ca58c9b3b7
Author: stronk7 <stronk7>
Date:   Sat, 07 Feb 2009 09:59:56 +0900
Tag:    v2.0.0-rc1

MDL-18165 filterlib - Use one exclusive separator, instead of "." (dot) to avoid saved tags to match with phrases being processed ; merged from 19_STABLE

commit 40c530f2d58c288e3cf25d5e7633907a527b78d0
Author: stronk7 <stronk7>
Date:   Fri, 06 Feb 2009 10:56:14 +0900
Tag:    v2.0.0-rc1

MDL-18066 import_backup_file_silently() - delete dangerous code ; merged from 19_STABLE

commit 7a045f088ffec714fcc0ae74a714da4d0f4a9a25
Author: stronk7 <stronk7>
Date:   Fri, 06 Feb 2009 02:20:44 +0900
Tag:    v2.0.0-rc1

MDL-16564 admin settings - added missing error string

commit dfd74b5a72d842dd9e135c8f3b88f489cfbf4c16
Author: stronk7 <stronk7>
Date:   Thu, 05 Feb 2009 22:30:08 +0900
Tag:    v2.0.0-rc1

MDL-10583 course format - discovered the get_section_name() that performs the fallback harcoded in previous commit. Merged from 19_STABLE

commit f5ca86967bf62d5fa87a20ad6a2035ab05f56357
Author: stronk7 <stronk7>
Date:   Thu, 05 Feb 2009 22:13:31 +0900
Tag:    v2.0.0-rc1

MDL-10583 course format - allow course formats to specify their section name ; merged from 19_STABLE

commit 204b15d50b99a2140494f75ecd513b54b387a4db
Author: stronk7 <stronk7>
Date:   Thu, 05 Feb 2009 02:22:56 +0900
Tag:    v2.0.0-rc1

MDL-8848 restore section summaries - now restored if target course have them empty ; merged from 19_STABLE

commit 522f26f1581295c5afc877c8557277ff25d72ddb
Author: stronk7 <stronk7>
Date:   Thu, 05 Feb 2009 01:40:26 +0900
Tag:    v2.0.0-rc1

MDL-18129 blog_print_entry() - avoid double format_text() ; merged from 19_STABLE

commit 84585f1d4bcd2be807d5b184d2f1bb809e536fa6
Author: stronk7 <stronk7>
Date:   Tue, 03 Feb 2009 06:15:50 +0900
Tag:    v2.0.0-rc1

MDL-18100 tex filter debug - fix missing quote. Merged from 19_STABLE

commit 8f7bd455d5762a4aa3af609e3c11650b09051a07
Author: stronk7 <stronk7>
Date:   Fri, 30 Jan 2009 22:19:19 +0900
Tag:    v2.0.0-rc1

MDL-18066 import_backup_file_silently - reverting last commit. Merged from 19_STABLE

commit df2a8db1500a84df3f0b0330ddcdb709eefaf273
Author: stronk7 <stronk7>
Date:   Fri, 30 Jan 2009 19:14:01 +0900
Tag:    v2.0.0-rc1

MDL-18076 course participation report - fix actions dropdown not working. Merged from 19_STABLE

commit 569c6937191ced471c74df43b097edc44ce73a34
Author: stronk7 <stronk7>
Date:   Fri, 30 Jan 2009 18:58:59 +0900
Tag:    v2.0.0-rc1

MDL-18066 - import_backup_file_silently - better handling of missing $USER. Merged from 19_STABLE

commit 6e66ecbe243ad8bb017a173205877749a007f191
Author: stronk7 <stronk7>
Date:   Thu, 29 Jan 2009 08:43:27 +0900
Tag:    v2.0.0-rc1

MDL-18073 environment - enforce PHP 5.2.8 req for Moodle 2.0 ; merged from 19_STABLE

commit 7251d63d3d09d27c06c6f2669471d903521fa072
Author: stronk7 <stronk7>
Date:   Thu, 29 Jan 2009 07:54:39 +0900
Tag:    v2.0.0-rc1

MDL-18072 installer - define CLI_SCRIPT (false) to avoid notices here and there.

commit 199a9ad85cd19c94b49eafa6946d5084c3bd6765
Author: stronk7 <stronk7>
Date:   Wed, 28 Jan 2009 02:54:02 +0900
Tag:    v2.0.0-rc1

MDL-17365 forum rate - add 'invalidrate' string. Merged from 19_STABLE

commit 84e00f89598a86d7b3d0ef75d60d4f43c30e086c
Author: stronk7 <stronk7>
Date:   Wed, 28 Jan 2009 02:50:12 +0900
Tag:    v2.0.0-rc1

MDL-17365 forum rate - validate rating against scale values. Merged from 19_STABLE

commit d45b28ef3d93d1a77045fbbb25cff102fa7fc919
Author: stronk7 <stronk7>
Date:   Sat, 24 Jan 2009 09:40:32 +0900
Tag:    v2.0.0-rc1

MDL-17835 backup & restore - encode/decode content links from/to course formats info. Credit goes to Mark Nielsen. Thanks! ; merged from 19_STABLE

commit 0130c489f29b5f80a89aa3fdeb038e9f44205cb5
Author: stronk7 <stronk7>
Date:   Sat, 24 Jan 2009 08:29:44 +0900
Tag:    v2.0.0-rc1

MDL-17886 backup & restore - Add some defaults to import_backup_file_silently() Credit goes to Mark Nielsen. Thanks! ; merged from 19_STABLE

commit fd6a649399f94ee876c9fcee01cdb294d22c581c
Author: stronk7 <stronk7>
Date:   Sat, 24 Jan 2009 01:32:21 +0900
Tag:    v2.0.0-rc1

MDL-17998 forum ajax rating - avoid 'null' printout + improved search by class (IE7, you know) ; merged from 19_STABLE

commit 2ee07c3d215890c20db4a31664cbbc740019aea4
Author: stronk7 <stronk7>
Date:   Sun, 18 Jan 2009 04:45:40 +0900
Tag:    v2.0.0-rc1

MDL-17364 forum ajax rating - erasing some unused print_error(). Exceptions handle that now

commit 3e7f959bb88f0e5720d00cacbd8061cbfbddd900
Author: stronk7 <stronk7>
Date:   Sun, 18 Jan 2009 04:32:54 +0900
Tag:    v2.0.0-rc1

MDL-17364 forum ajax rating - needed strings

commit 12f6d0161078ed92e69c3ecf2ac6cd384a0e7067
Author: stronk7 <stronk7>
Date:   Sun, 18 Jan 2009 04:14:37 +0900
Tag:    v2.0.0-rc1

MDL-17364 forum ajax rating working

commit ae1467bbff52845bd6e4ba2272b61d946658d414
Author: stronk7 <stronk7>
Date:   Thu, 15 Jan 2009 03:23:30 +0900
Tag:    v2.0.0-rc1

MDL-17837 - mimic from 19_STABLE - apply some limits to the dropdown of users in first instance.

commit 487166dff15d616fa88f2c7b71353176240cfc59
Author: stronk7 <stronk7>
Date:   Thu, 15 Jan 2009 03:07:31 +0900
Tag:    v2.0.0-rc1

Fix wrong use of get_users_by_capability() - param mesh

commit 6a4b1e3d0e0e4608a237fc107e1f960f83f5578f
Author: stronk7 <stronk7>
Date:   Fri, 09 Jan 2009 03:43:08 +0900
Tag:    v2.0.0-rc1

MDL-17826 restore - proper TEXT comparison. Was breaking MSSQL and Oracle. Merged from 19_STABLE

commit 6c928b4cfeb7d29f86c864bb84709c5446b7ec67
Author: stronk7 <stronk7>
Date:   Sat, 03 Jan 2009 02:59:01 +0900
Tag:    v2.0.0-rc1

MDL-12922 restore roll dates - prevent wrong rolls to 0 happening to teachers. Merged from 19_STABLE

commit b12b8fe2ef8a45791ba44937380d57c008a4556e
Author: stronk7 <stronk7>
Date:   Mon, 22 Dec 2008 01:02:16 +0900
Tag:    v2.0.0-rc1

Adding kk_utf8 to installer langs.

commit 0d125cbe1ba3b54dec49477aeb1c1d6d8c9180ee
Author: stronk7 <stronk7>
Date:   Thu, 18 Dec 2008 09:23:17 +0900
Tag:    v2.0.0-rc1

MDL-17009 restore of mnet users - order some recently added strings and add 1 more. Merged from 19_STABLE

commit 9eaefcf1ee914d3594873ee1b9d1431d6f182fd6
Author: stronk7 <stronk7>
Date:   Thu, 18 Dec 2008 09:20:51 +0900
Tag:    v2.0.0-rc1

MDL-17009 restore of mnet users - Automatic switching of remote users (unknown host) to local ones. Merged from 19_STABLE

commit e34fc6e1c21d6195011efbfed04b82f44ba8f6ec
Author: stronk7 <stronk7>
Date:   Thu, 18 Dec 2008 08:39:28 +0900
Tag:    v2.0.0-rc1

MDL-17009 restore of mnet users - New lang strings. Merged from 19_STABLE

commit b1ee0c8690a07621d09ed994f0a73fcea25ce86e
Author: stronk7 <stronk7>
Date:   Thu, 18 Dec 2008 08:36:10 +0900
Tag:    v2.0.0-rc1

MDL-17009 restore of mnet users - Prevent teachers to restore this type of backups to different sites. Merged from 19_STABLE

commit 294c03a9962cd63de3b141a7de6eda78b5691992
Author: stronk7 <stronk7>
Date:   Wed, 17 Dec 2008 09:33:32 +0900
Tag:    v2.0.0-rc1

MDL-17647 accesslib - cleaning some candoanything in comments. Merged from 19_STABLE

commit c362878ed7678d373ef6ee40a7bd943a030a2bd4
Author: stronk7 <stronk7>
Date:   Tue, 16 Dec 2008 06:41:09 +0900
Tag:    v2.0.0-rc1

MDL-17645 delete_records_list - Tidied a bit return values. Fix behaviour when no values are passed + new dml tests for all *_list() functions.

commit a243ffeb078e0ff6cc05f820b3ed719ac40d1028
Author: stronk7 <stronk7>
Date:   Tue, 16 Dec 2008 06:35:47 +0900
Tag:    v2.0.0-rc1

MDL-17599 scheduled backup: add support for grade history setting + minor XML formatting. Merged from 19_STABLE

commit b0126ac9da8295f583cc02e46b6a5ba5da6ac174
Author: stronk7 <stronk7>
Date:   Fri, 12 Dec 2008 01:40:09 +0900
Tag:    v2.0.0-rc1

MDL-17009 Restore of mnet users: Fix incorrectly named MNET_EXTERNALUSERS. Merged from 19_STABLE

commit 9d510a2ea02479ab9ca3b11b2a2cca3399d99112
Author: stronk7 <stronk7>
Date:   Mon, 08 Dec 2008 17:21:19 +0900
Tag:    v2.0.0-rc1

MDL-13746 course shortname up to 100cc (applied to mnet_enrol_course)

commit d533ff3abe112d28686208e371f2fdc986e9c5e4
Author: stronk7 <stronk7>
Date:   Mon, 08 Dec 2008 03:57:38 +0900
Tag:    v2.0.0-rc1

MDL-17545 activity names filter: Improve handling when name contains htmlentities() chars. Merged from 19_STABLE

commit e6b3d18342ff97a4cf46e0a9be273159996a7478
Author: stronk7 <stronk7>
Date:   Mon, 08 Dec 2008 02:34:37 +0900
Tag:    v2.0.0-rc1

MDL-17518 resource names filter: Improve handling when name contains htmlentities() chars. Merged from 19_STABLE

commit fed640276f748e842ec669dff6ce2c375a873f7e
Author: stronk7 <stronk7>
Date:   Mon, 01 Dec 2008 08:22:28 +0900
Tag:    v2.0.0-rc1

MDL-13202 Windows Installer: Add new string to show mysqli usage

commit 30d2832dd03ffc37ab1811503ccc1ce5bb7ad5e7
Author: stronk7 <stronk7>
Date:   Mon, 01 Dec 2008 04:29:37 +0900
Tag:    v2.0.0-rc1

Added create_database() method (to be used at least by Win32 installers)

commit 4d8cd7dc9f647beb6edd7a84ef592ae68132ab64
Author: stronk7 <stronk7>
Date:   Sun, 23 Nov 2008 09:04:13 +0900
Tag:    v2.0.0-rc1

Add one smaller version on the loading animated gif.

commit caec4b6f4ecfb3addf115db20e607b2427cda9d4
Author: stronk7 <stronk7>
Date:   Fri, 21 Nov 2008 04:04:23 +0900
Tag:    v2.0.0-rc1

MDL-17331 choose_from_menu(): 'select' selector added always.

commit 6fba0b5cc7d191e862526b0a108406bc73058aad
Author: stronk7 <stronk7>
Date:   Thu, 20 Nov 2008 22:28:25 +0900
Tag:    v2.0.0-rc1

MDL-17331 choose_from_menu(): Add 'select' selector too.

commit d7074a5d0e6aa91d5819a57e3690d9de2f16dc23
Author: stronk7 <stronk7>
Date:   Thu, 20 Nov 2008 22:25:04 +0900
Tag:    v2.0.0-rc1

MDL-17331 choose_from_menu(): Add "class" optional parameter.

commit 7a8d8f2247d8eef3d74fc526163693e14b854910
Author: stronk7 <stronk7>
Date:   Thu, 20 Nov 2008 22:09:45 +0900
Tag:    v2.0.0-rc1

Minor formatting

commit 2f64da2209178aee486da17aba2c8e404fc83cb3
Author: stronk7 <stronk7>
Date:   Wed, 19 Nov 2008 11:09:06 +0900
Tag:    v2.0.0-rc1

MDL-15534 Wiki 1.x: Allow to display "Site map for" using i18n Moodle strings. Merged from 19_STABLE

commit 32d799c683355557c5d5c77624c6da8b7b299575
Author: stronk7 <stronk7>
Date:   Tue, 18 Nov 2008 09:10:13 +0900
Tag:    v2.0.0-rc1

MDL-15425 Coding style: Change some logical operator uses. Thanks Robert! Merged from 19_STABLE

commit b6233ed74d72fe207cce2172cf149c0cd6161f32
Author: stronk7 <stronk7>
Date:   Mon, 17 Nov 2008 08:37:47 +0900
Tag:    v2.0.0-rc1

Bump version.

commit 2dc880c9999910834d6f479c35e8ba7e3b778827
Author: stronk7 <stronk7>
Date:   Mon, 17 Nov 2008 08:24:32 +0900
Tag:    v2.0.0-rc1

MDL-16879 Backup & mnet: Avoid problems in sites missing mnet_host records being more flexible in backup (outer join). Merged from 19_STABLE

commit d44d02a28c9b8764d76533e7157b6d91dfc288ad
Author: stronk7 <stronk7>
Date:   Mon, 17 Nov 2008 07:46:23 +0900
Tag:    v2.0.0-rc1

MDL-17227 forum: seekey-ize forum prune (split). Merged from 19_STABLE

commit 1639731bf8ba93bd030a5b03fe1b51f8c5b7ab93
Author: stronk7 <stronk7>
Date:   Fri, 14 Nov 2008 17:52:35 +0900
Tag:    v2.0.0-rc1

MDL-17227 forum: add sesskey to post/discussion deletion. Merged from 19_STABLE

commit 1ab172856da0bb04075f46036eabbc18bcdf2ef4
Author: stronk7 <stronk7>
Date:   Wed, 12 Nov 2008 04:13:41 +0900
Tag:    v2.0.0-rc1

MDL-17143 Bump version to force new profilesforenrolledusersonly setting ; merged from 19_STABLE

commit 1ba3293a6bb834bae9f57380fed73742eba2ee0c
Author: stronk7 <stronk7>
Date:   Wed, 12 Nov 2008 04:06:20 +0900
Tag:    v2.0.0-rc1

MDL-17143 Some improvements suggested by Petr applied. Merged from 19_STABLE

commit 9af010ea4a53a7537313c94496459d1a441c85e9
Author: stronk7 <stronk7>
Date:   Wed, 12 Nov 2008 03:39:34 +0900
Tag:    v2.0.0-rc1

MDL-17143 Avoid notices caused by not existing profilesforenrolledusersonly setting. Merged from 19_STABLE

commit 80ddc208b7d1708e67afce4f88ee8dca60f2d9cf
Author: stronk7 <stronk7>
Date:   Mon, 10 Nov 2008 07:57:59 +0900
Tag:    v2.0.0-rc1

MDL-17171 Glossary: Correct breadcrumb when exporting glossary. Merged from 19_STABLE

commit fb81188c6cf2522c79dcb23beb7277a9b8b7cfde
Author: stronk7 <stronk7>
Date:   Fri, 07 Nov 2008 21:58:03 +0900
Tag:    v2.0.0-rc1

NOTINTRACKER: Fixed innocent typo

commit 6a08c83042fcf5465e8527705161f4002304fb89
Author: stronk7 <stronk7>
Date:   Fri, 07 Nov 2008 21:49:11 +0900
Tag:    v2.0.0-rc1

MDL-17151 DB 2.0 syntax: fixed wrong usage in previous commit

commit 05ed3df5e0db720e7237107628b19da68b9f37db
Author: stronk7 <stronk7>
Date:   Wed, 05 Nov 2008 01:53:16 +0900
Tag:    v2.0.0-rc1

MDLSITE-548 - langconfig: Adding thousands separator. Merged from 19_STABLE

commit e026d8af8f3654bb852ed568f74f8bd0b3b21687
Author: stronk7 <stronk7>
Date:   Wed, 05 Nov 2008 01:26:08 +0900
Tag:    v2.0.0-rc1

MDLSITE-548 - langconfig: Adding thousands separator.

commit 0e442226f321b2535e4a939785f597fe8f216d52
Author: stronk7 <stronk7>
Date:   Sat, 01 Nov 2008 09:30:55 +0900
Tag:    v2.0.0-rc1

MDL-14952 - roles: 'moodle/legacy:guest' was preventing admins to post new discussions in fron page if $CFG->defaultfrontpageroleid = guest. Merged from 19_STABLE

commit 4436a63b643e1abc454b37cbea8f201dfcd0169e
Author: stronk7 <stronk7>
Date:   Sat, 01 Nov 2008 06:50:08 +0900
Tag:    v2.0.0-rc1

MDL-14998 - roles: add mod/forum:viewdiscussion protection to forum_get_discussions() ; merged from 19_STABLE

commit 5e71406d934589f78613eef1ed65c16d70599ce3
Author: stronk7 <stronk7>
Date:   Sat, 01 Nov 2008 04:05:56 +0900
Tag:    v2.0.0-rc1

MDL-14998 - roles: User needs to have mod/forum:viewdiscussion to be able to see news block. Merged from 19_STABLE

commit 40b5f6552b6be882e6b880cc41f7cc7b7803c8fc
Author: stronk7 <stronk7>
Date:   Wed, 29 Oct 2008 02:57:51 +0900
Tag:    v2.0.0-rc1

Missing parenthesis in sql_substr(). MDL-16669

commit 13499032463384e03a3434e2440fb12d3ae772c7
Author: stronk7 <stronk7>
Date:   Sat, 18 Oct 2008 02:05:23 +0800
Tag:    v2.0.0-rc1

Adding correct Office 2007 mime types. MDL-15987 ; merged from 19_STABLE

commit f8c532ea08004d6554a42564696ca560469a5cc0
Author: stronk7 <stronk7>
Date:   Fri, 17 Oct 2008 02:23:19 +0800
Tag:    v2.0.0-rc1

Fixed a problem when adding files and subdirectories (not from Moodle Storage but from FileSystem). Related to MDL-16861

commit 3ed22f1a25d40f475fbb5acdc4a8ceef00a4a05c
Author: stronk7 <stronk7>
Date:   Fri, 17 Oct 2008 01:50:13 +0800
Tag:    v2.0.0-rc1

Fix for deprecated zip_files() function. Packager requires destination file full path. Non-existing bug in Tracker.

commit 790bb5a31bcd8a166ec1f466e2d42b6e8f4786b5
Author: stronk7 <stronk7>
Date:   Tue, 14 Oct 2008 07:24:45 +0800
Tag:    v2.0.0-rc1

MDL-16709. Improve scheduling of stats. They only will run if: - 20 hours has passes since last execution. - We are in a 4 hours time window since last scheduled time. Should work for 99.99% os sites (running cron in < 4h intervals)

commit 5e7206a8f65c22134d5699210520b18abba7a917
Author: stronk7 <stronk7>
Date:   Tue, 14 Oct 2008 05:53:49 +0800
Tag:    v2.0.0-rc1

Adding new setting "statsruntimedays" to configure the number of days to calculate as max per stats cron invocation. Part of MDL-16709 ; merged from 19_STABLE

commit eb309bededb7efd00a2a3c7deff3bf44a8db606d
Author: stronk7 <stronk7>
Date:   Sat, 11 Oct 2008 05:30:07 +0800
Tag:    v2.0.0-rc1

Detect non-utf8 langs in user edition forms.  MDL-16845 MDL-11829 ; merged from 19_STABLE

commit a7df430b710020d9df16d61bf742e12f67786ce0
Author: stronk7 <stronk7>
Date:   Sat, 11 Oct 2008 02:06:16 +0800
Tag:    v2.0.0-rc1

Set the user->lang DB default to en_utf8. MDL-16845 ; merged from 19_STABLE

commit a301c1e9729198f3189473aab7f7eae45210d1ce
Author: stronk7 <stronk7>
Date:   Tue, 30 Sep 2008 06:38:30 +0800
Tag:    v2.0.0-rc1

Reviewed breadcrumb in HEAD. Page name was missing. MDL-16331

commit d47112455bb5a36cc2f5c79579b0ad955fdd4c85
Author: stronk7 <stronk7>
Date:   Tue, 30 Sep 2008 01:14:05 +0800
Tag:    v2.0.0-rc1

Improve DOM detection (due to conficts with old DOM-XML). MDL-15637 ; merged from 19_STABLE

commit b09f731cd815c275d1862176b0a225ad72af7cd1
Author: stronk7 <stronk7>
Date:   Fri, 26 Sep 2008 17:35:53 +0800
Tag:    v2.0.0-rc1

Cleaning wiki recent activity URLs. MDL-15896 ; merged from 19_STABLE

commit d6b4fed0a1a1fee8589ac5c5e91cee4b5f8f4c4a
Author: stronk7 <stronk7>
Date:   Fri, 26 Sep 2008 06:42:58 +0800
Tag:    v2.0.0-rc1

Protect message settings with sesskey. MDL-16688 ; merged from 19_STABLE

commit 8c44681c23fe20e3c578f6db47b0ac67df0ac4cb
Author: stronk7 <stronk7>
Date:   Thu, 25 Sep 2008 01:35:42 +0800
Tag:    v2.0.0-rc1

Substring MSSQL function *requires* 3rd parameter - MDL-16655 ; merged from 19_STABLE

commit 3bfb1f59cd919eb0f5d964b7da6a536324c6eec2
Author: stronk7 <stronk7>
Date:   Fri, 19 Sep 2008 00:49:19 +0800
Tag:    v2.0.0-rc1

undefined $site causing registerauth to be asked once and again, and again... MDL-16546 eVS: ----------------------------------------------------------------------

commit 4ab65b56dfb9d4c692e808a7c0b1a571c0539e28
Author: stronk7 <stronk7>
Date:   Fri, 19 Sep 2008 00:15:21 +0800
Tag:    v2.0.0-rc1

Setting some proper zeros. MDL-16565 ; merged from 19_STABLE

commit 165d25cc35a2c8f7063cbec6d40293ea6f685b7d
Author: stronk7 <stronk7>
Date:   Thu, 18 Sep 2008 23:16:02 +0800
Tag:    v2.0.0-rc1

Respect role names for logged students. MDL-16569 ; merged from 19_STABLE. Credit goes to Otakar Šprdlík

commit cae4bace8f1bc69b5a23909773e98899302c90be
Author: stronk7 <stronk7>
Date:   Tue, 16 Sep 2008 00:24:48 +0800
Tag:    v2.0.0-rc1

Re-introducing colons in page names + cleaning tabs output. MDL-15896 ; merged from 19_STABLE

commit 31282421222a892f4084d3611be076fbc5e3abfd
Author: stronk7 <stronk7>
Date:   Fri, 12 Sep 2008 06:17:20 +0800
Tag:    v2.0.0-rc1

Prevent get_users_by_capability() to return deleted users. MDL-16323 ; merged from 19_STABLE

commit 46712419fb7627d75415fb7317935bf450714d5c
Author: stronk7 <stronk7>
Date:   Tue, 09 Sep 2008 07:06:16 +0800
Tag:    v2.0.0-rc1

Fix regression introduced by MDL-12029. Concepts must not be linked by filters. MDL-16372 ; merged from 19_STABLE

commit a682f0c2c39f4110987ecfdc9482184c78fd2709
Author: stronk7 <stronk7>
Date:   Tue, 09 Sep 2008 02:16:39 +0800
Tag:    v2.0.0-rc1

XHTML-ize course categories list. MDL-16358 ; merged from 19_STABLE

commit 392f5e2403cc1810de6dcb3204bcd83c8c448d59
Author: stronk7 <stronk7>
Date:   Mon, 08 Sep 2008 22:27:32 +0800
Tag:    v2.0.0-rc1

Added missing join condition. Credit goes to Colin Chambers. MDL-16385 ; merged from 19_STABLE

commit ebdf89575965766c10529e17505fa84af1924835
Author: stronk7 <stronk7>
Date:   Tue, 02 Sep 2008 17:22:36 +0800
Tag:    v2.0.0-rc1

Swapping portfolio_exception and portfolio_export_exception. Was causing some problems under PHP 5.2.5 (Win32 packages).

commit 6f8546c97db42642f0a8f1c4acaab3b68349bdfd
Author: stronk7 <stronk7>
Date:   Fri, 29 Aug 2008 07:15:37 +0800
Tag:    v2.0.0-rc1

Allowing category themes to be reverted to "none". MDL-16152. Credit goes to Caio SBA. Merged from 19_STABLE

commit f679d73093212a34ad1cac8d029e807f1bc2b909
Author: stronk7 <stronk7>
Date:   Fri, 29 Aug 2008 07:00:43 +0800
Tag:    v2.0.0-rc1

Found another get_record() call when looking to MDL-16245. Fixed.

commit 4ce763762ee3476a91582bb8b0629ad2b101ff76
Author: stronk7 <stronk7>
Date:   Fri, 29 Aug 2008 02:08:06 +0800
Tag:    v2.0.0-rc1

Fix some problems with named parameters and improve get_user_courses_bycap() queries. MDL-16209 ; merged from 19_STABLE

commit 493f08200b2b05f5a4e3c9a2f92da54f917f9468
Author: stronk7 <stronk7>
Date:   Fri, 29 Aug 2008 02:04:16 +0800
Tag:    v2.0.0-rc1

Add missing $DB

commit 7facd18e7d447966c996370b4b0c51b002517e1d
Author: stronk7 <stronk7>
Date:   Wed, 27 Aug 2008 07:02:58 +0800
Tag:    v2.0.0-rc1

Prevent SQL error when forcing download. MDL-15921 ; merged from 19_STABLE

commit 0022d112abbec2fb93c12a73387fdbf5d422f1c2
Author: stronk7 <stronk7>
Date:   Mon, 25 Aug 2008 00:39:06 +0800
Tag:    v2.0.0-rc1

Remove hack not needed anymore. Now enviroment check handles this properly. MDL-16008 & MDL-16188

commit b08a722573c95c8be5cf34e731ac0eee80801ed5
Author: stronk7 <stronk7>
Date:   Mon, 25 Aug 2008 00:33:26 +0800
Tag:    v2.0.0-rc1

Prevent some notices at install. MDL-16188 ; merged from 19_STABLE

commit 082e777a54695ca7313b68520f3a9a1b09083623
Author: stronk7 <stronk7>
Date:   Tue, 19 Aug 2008 06:46:40 +0800
Tag:    v2.0.0-rc1

Avoid "some" ra's duplicates. MDL-14817 ; merged from 19_STABLE

commit 8ac8f06afe89158676bc15f482ace25539e3e266
Author: stronk7 <stronk7>
Date:   Tue, 19 Aug 2008 02:36:53 +0800
Tag:    v2.0.0-rc1

Making some accesslib queries cross-db. Avoid using DISTINCT clauses on TEXT fields. MDL-16034 (plus minor unmerged change in comment)

commit 8b98bb6a334e43db2a58fe19158f2154ad7c37e4
Author: stronk7 <stronk7>
Date:   Fri, 08 Aug 2008 06:56:34 +0800
Tag:    v2.0.0-rc1

Complete inline help about smtp hosts. Credit goes to Anthony. MDL-15923 ; merged from 19_STABLE

commit f697a4217da85ac701c739b347b237be70830ee3
Author: stronk7 <stronk7>
Date:   Fri, 08 Aug 2008 06:38:46 +0800
Tag:    v2.0.0-rc1

Allow font-family "protocol" to avoid kses cleaning it. MDL-15963 ; merged from 19_STABLE

commit 8dd009f3791b07e3020514aae7bebc0928b75c7d
Author: stronk7 <stronk7>
Date:   Fri, 08 Aug 2008 01:10:28 +0800
Tag:    v2.0.0-rc1

Fixed copy&paste error. Credit goes to Sergio Rabellino. http://moodle.org/mod/forum/discuss.php?d=102933 ; merged from HEAD

commit e9017adcf495af4c02827f2871e5a301fab157fd
Author: stronk7 <stronk7>
Date:   Thu, 07 Aug 2008 18:17:47 +0800
Tag:    v2.0.0-rc1

Missing NEXT attribute in previous commit breaking install. MDL-13766 (I'd suggest to always check those changes in the XMLDB Editor)

commit 0e084e268493e521bf906b30557bb38fedb79b75
Author: stronk7 <stronk7>
Date:   Thu, 07 Aug 2008 00:43:40 +0800
Tag:    v2.0.0-rc1

Fixing typo causing restore not to work within 19_STABLE branch (BC). MDL-15282 ; merged from 19_STABLE

commit eae02f59b02eb3205f5b60df82c7f1d1a871f8e4
Author: stronk7 <stronk7>
Date:   Tue, 05 Aug 2008 08:22:41 +0800
Tag:    v2.0.0-rc1

Make custom checks BC, so any test about future releases doesn't fail with error it the file and/or function is missing (highly possible). MDL-15939 ; merged from 18_STABLE

commit 354e55a74886e8eb55098a8d3ad9b2779cf8482e
Author: stronk7 <stronk7>
Date:   Tue, 05 Aug 2008 07:03:40 +0800
Tag:    v2.0.0-rc1

Re-adding two Moodle 1.9 env checks that were deleted by MDL-14451

commit 1df0d51320c957146164f5d33591784841c28597
Author: stronk7 <stronk7>
Date:   Tue, 05 Aug 2008 05:19:35 +0800
Tag:    v2.0.0-rc1

Added missing curlrequired string. MDL-15349 ; merged from 19_STABLE

commit f6b923eabab2619099493876d5db8b1be6453c99
Author: stronk7 <stronk7>
Date:   Mon, 04 Aug 2008 05:14:31 +0800
Tag:    v2.0.0-rc1

Allow multiple SMTP hosts or host:port to be defined in $CFG->smtphosts. MDL-15923 ; merged from 19_STABLE

commit b0cb2290f02f8e71cbe79a70987bcec358f26069
Author: stronk7 <stronk7>
Date:   Tue, 29 Jul 2008 07:08:57 +0800
Tag:    v2.0.0-rc1

Added some functional tests to check the recordset keys. MDL-15798

commit 660744727531f129265abe7da32ac00c501bdd42
Author: stronk7 <stronk7>
Date:   Tue, 29 Jul 2008 06:22:22 +0800
Tag:    v2.0.0-rc1

Implement proper keys for adodb and pdo recordset iterators. MDL-15798

commit f65b2dae6c7da7fa46dfe173ae8dccd4916cc430
Author: stronk7 <stronk7>
Date:   Mon, 28 Jul 2008 06:02:20 +0800
Tag:    v2.0.0-rc1

Transform some messaging deprecated DDL function calls to new ones.

commit 429e770f95b5db33c997e8145acc6957ecbabc15
Author: stronk7 <stronk7>
Date:   Mon, 28 Jul 2008 00:27:10 +0800
Tag:    v2.0.0-rc1

Merging unmerged 19_STABLE file.

commit 4c3396fc9f4bf9f669728dd104e1c390b153489a
Author: stronk7 <stronk7>
Date:   Sun, 27 Jul 2008 07:04:50 +0800
Tag:    v2.0.0-rc1

Fix A tag regex searching. MDL-15842 ; merged from 19_STABLE

commit 4ffc25ce55e288513dcd050deaef55fe78b2f7ba
Author: stronk7 <stronk7>
Date:   Sun, 27 Jul 2008 06:13:39 +0800
Tag:    v2.0.0-rc1

Fix A tag regex searching. MDL-15842 ; merged from 19_STABLE

commit 740f769bd2cbf2f94d8dd8b3e19703a3e5c6313f
Author: stronk7 <stronk7>
Date:   Sat, 26 Jul 2008 07:31:08 +0800
Tag:    v2.0.0-rc1

Final modifications to PHP docs while documenting DML function in Docs.

commit ad434752aa309b39f0a43f269d0afa365c7aab20
Author: stronk7 <stronk7>
Date:   Sat, 26 Jul 2008 02:41:35 +0800
Tag:    v2.0.0-rc1

Some more PHP Docs minor changes.

commit b5e1cac9eff7fd60ee288bc8f63ef9a266e917a9
Author: stronk7 <stronk7>
Date:   Sat, 26 Jul 2008 01:51:37 +0800
Tag:    v2.0.0-rc1

Polishing a bit PHP docs

commit ce503f3923c061be5d980f0abcdf0ceb52c8d8ab
Author: stronk7 <stronk7>
Date:   Thu, 24 Jul 2008 06:47:47 +0800
Tag:    v2.0.0-rc1

Course page blocks are lost when restoring 1.3 and 1.4 backups. MDL-15803 ; merged from 19_STABLE

commit 84774c552c4fe5d87819c7e932cc7d24f297a000
Author: stronk7 <stronk7>
Date:   Sat, 19 Jul 2008 06:18:47 +0800
Tag:    v2.0.0-rc1

upgrade_mod_savepoint() implemented in XMLDB Editor generators. MDL-15343

commit 5e9e3d774a3f1cfe3e73e746061ff1592ba87010
Author: stronk7 <stronk7>
Date:   Fri, 04 Jul 2008 01:08:29 +0800
Tag:    v2.0.0-rc1

Bump to clean empty role names. MDL-15284

commit a036d7f3c6a3a4d38d1d9fb1e878354d7992010f
Author: stronk7 <stronk7>
Date:   Fri, 04 Jul 2008 01:07:54 +0800
Tag:    v2.0.0-rc1

Clean empty role_names. MDL-15284 ; merged from 19_STABLE

commit 86b4dadabdcaae45252e22f17f0157a97f38431a
Author: stronk7 <stronk7>
Date:   Thu, 03 Jul 2008 21:00:54 +0800
Tag:    v2.0.0-rc1

Only create role_name aliases if the original course (backup file) contains them. MDL-15284 ; merged from 19_STABLE

commit a3bf516d75137c9cc6abb072ffb3d4a6783c8fe6
Author: stronk7 <stronk7>
Date:   Sun, 29 Jun 2008 05:09:10 +0800
Tag:    v2.0.0-rc1

Check for ints being inserted into text (clob) fieds to cast them to string. Affects insert_record(), update_record() and set_field_xx(). MDL-15460

commit dfc05efe0db86be1095f40a8725adb2aba5c3d7f
Author: stronk7 <stronk7>
Date:   Sun, 29 Jun 2008 03:04:25 +0800
Tag:    v2.0.0-rc1

CEIL() uses fixed with new DML stuff. MDL-15336

commit 888375bc2c2ea9ffacba54e279b3ee603e38c2bd
Author: stronk7 <stronk7>
Date:   Sun, 29 Jun 2008 02:25:25 +0800
Tag:    v2.0.0-rc1

Added sql_ceil() helper method. MDL-15336

commit 98c00d7530ce67e470a0cbe1c1fbfebc57568822
Author: stronk7 <stronk7>
Date:   Fri, 27 Jun 2008 06:18:56 +0800
Tag:    v2.0.0-rc1

Statistics generation fixed in HEAD (from 19_STABLE) ; MDL-13861

commit f3700f8cb3ac9c1208c4fa8a9de8326296a4632b
Author: stronk7 <stronk7>
Date:   Fri, 27 Jun 2008 02:27:22 +0800
Tag:    v2.0.0-rc1

Adding new sql_null_from_clause() helper function from 19_STABLE. MDL-13861

commit ef088e70e760c2bbee43e871d49e659a2a807268
Author: stronk7 <stronk7>
Date:   Mon, 23 Jun 2008 02:26:55 +0800
Tag:    v2.0.0-rc1

MDL-14956 DDL exceptions (code suggested by XMLDB Editor)

commit b553527e996d31f22d712560c82c54429b7a7456
Author: stronk7 <stronk7>
Date:   Tue, 17 Jun 2008 00:20:45 +0800
Tag:    v2.0.0-rc1

Use some more $DB in installer. Like rest of db accesses. Just a sintax thing.

commit a77aaef267d984dfcb99da9812b02db6d62afc2b
Author: stronk7 <stronk7>
Date:   Sat, 14 Jun 2008 08:00:26 +0800
Tag:    v2.0.0-rc1

Fix some missing $this-> in ddl/dml stuff. MDL-15236

commit 61f9ea8326a03a1b0efecd0e7570385095ced414
Author: stronk7 <stronk7>
Date:   Fri, 13 Jun 2008 00:01:15 +0800
Tag:    v2.0.0-rc1

Timezone info updated to tzdata2008c. Merged from 19_STABLE

commit c45ea1dadb1b50613487689e37adb02980f8e4f6
Author: stronk7 <stronk7>
Date:   Mon, 09 Jun 2008 23:32:25 +0800
Tag:    v2.0.0-rc1

Minor recordset cleanup

commit 48a3428038d65980f6fe314e5834a8d00a0f1b46
Author: stronk7 <stronk7>
Date:   Mon, 26 May 2008 08:39:24 +0800
Tag:    v2.0.0-rc1

Latest changes to orcle driver. All old code is out + bug fixing in oracle_dirty_hack. MDL-14888

commit 5b110d7b7328b1b72fd608b9f9370534dff5f30a
Author: stronk7 <stronk7>
Date:   Mon, 26 May 2008 06:23:27 +0800
Tag:    v2.0.0-rc1

More changes to Oracle driver + fixing some bugs. More coming soon. MDL-14888, MDL-14986

commit 8ee3065e389e303d9ee2149211400d570905547b
Author: stronk7 <stronk7>
Date:   Mon, 26 May 2008 01:14:21 +0800
Tag:    v2.0.0-rc1

Moving emulate_bound_params() from adodb drivers to adodb_moodle_database. MDL-14984

commit aa07a813682f0a4536972429f0fad472142ed837
Author: stronk7 <stronk7>
Date:   Sun, 25 May 2008 10:45:50 +0800
Tag:    v2.0.0-rc1

First cut of Oracle new adodb driver. Install and tests ok. MDL-14888

commit 4d3e94b40f6c1f73cdf896f29170550013f2a522
Author: stronk7 <stronk7>
Date:   Sun, 25 May 2008 10:42:06 +0800
Tag:    v2.0.0-rc1

Now oracle generator is also reentrant. MDL-14897

commit c97e8deb3ad3b475f933b51a960af9266db35bb3
Author: stronk7 <stronk7>
Date:   Sun, 25 May 2008 10:38:30 +0800
Tag:    v2.0.0-rc1

Changed postgresql sequence fetching to GetID. MDL-7183

commit 4572f855881dd2e51c923e8de23f68824a1aea88
Author: stronk7 <stronk7>
Date:   Sun, 25 May 2008 10:32:30 +0800
Tag:    v2.0.0-rc1

onespace2empty() needs to be in legacy dmllib() until we kill all usages of legacy dmllib functions

commit 9c9fad9d7158afdc6a782b2e1b0f0e7be3bc3963
Author: stronk7 <stronk7>
Date:   Sun, 25 May 2008 07:14:42 +0800
Tag:    v2.0.0-rc1

Moving some old XMLDBxxx (deprecated) objects to the end of the file. Some PHP releases have problems finding new extended xmldb_xxxx objects if they haven't been defined before.

commit cdb1e987e6cd6176e6508ad422eabcb1c133137f
Author: stronk7 <stronk7>
Date:   Sat, 24 May 2008 06:42:45 +0800
Tag:    v2.0.0-rc1

All fields, keys and indexes in suggested PHP core are using $dbman. MDL-14941

commit 63dd5a626a3a98c1662043766d6b72992e616ff6
Author: stronk7 <stronk7>
Date:   Sat, 24 May 2008 06:34:53 +0800
Tag:    v2.0.0-rc1

table suggested PHP is using $dbman now. MDL-14941

commit 46d318bc6e086809c62c7eaf3c4b53468927d689
Author: stronk7 <stronk7>
Date:   Sat, 24 May 2008 06:30:42 +0800
Tag:    v2.0.0-rc1

Changed comment

commit 82bba3e4d562b27d5dd7ff2991796743f5a08d8e
Author: stronk7 <stronk7>
Date:   Sat, 24 May 2008 06:26:08 +0800
Tag:    v2.0.0-rc1

And also conditionally create/drop indexes and fields. MDL-14955

commit 70080fde65a6f24a7d4022a7fc982001d3024399
Author: stronk7 <stronk7>
Date:   Sat, 24 May 2008 06:24:00 +0800
Tag:    v2.0.0-rc1

Conditionally execute create/drop table dbmanager functions. MDL-14955

commit 69b80cc2eb99c576e0eae6d71a93e490251000eb
Author: stronk7 <stronk7>
Date:   Thu, 22 May 2008 08:09:59 +0800
Tag:    v2.0.0-rc1

4th iteration committed: xmldb_field, xmldb_index and xmldb_key "public" methods changed + debugging of deprecated ones until Moodle 2.1 . MDL-14863

commit 5eaa41e8bccfa06ed1143e2c68f9fd216fdd9ba0
Author: stronk7 <stronk7>
Date:   Thu, 22 May 2008 01:55:23 +0800
Tag:    v2.0.0-rc1

3rd iteration committed: xmldb_table "public" methods changed + debugging of deprecated ones until Moodle 2.1 . MDL-14863

commit a8cb94f66fe9248659f973a939b4f9b002e1b348
Author: stronk7 <stronk7>
Date:   Wed, 21 May 2008 07:24:40 +0800
Tag:    v2.0.0-rc1

MDL-14863 - 1st iteration: lowercase XMLDB table, field, index, key and statement + wrapper class to support old syntax (no changes in public API yet)

commit 46293bd7b78ddd5a19687dea2c5c98d86f4407b6
Author: stronk7 <stronk7>
Date:   Wed, 21 May 2008 01:06:26 +0800
Tag:    v2.0.0-rc1

MDL-14863 - 1st iteration: lowercase XMLDB constants, object, file and structure (no changes in public API yet)

commit 17bbbb72f33ba58585f0fba2e06889611dc494f0
Author: stronk7 <stronk7>
Date:   Tue, 20 May 2008 02:19:04 +0800
Tag:    v2.0.0-rc1

Adding to strings to install lang files. They could be used in the future.

commit 6d5a22b208bf7d2ee296790926ddf5b559ba82d8
Author: stronk7 <stronk7>
Date:   Tue, 20 May 2008 02:02:33 +0800
Tag:    v2.0.0-rc1

Installer fixed, prefixes improved, moved conn settings to connect() and some more improvements. MDL-14864

commit ed55f6682bb4866c4d7a3520441dd7e407061b00
Author: stronk7 <stronk7>
Date:   Mon, 19 May 2008 11:04:41 +0800
Tag:    v2.0.0-rc1

Make generators reentrant. MDL-14897

commit f32cf147b8207689bb165cfdd3ec09b1d3df827e
Author: stronk7 <stronk7>
Date:   Mon, 19 May 2008 08:24:41 +0800
Tag:    v2.0.0-rc1

Fixed some problems handling BLOBs. MDL-14887

commit c6ad1741044d8c08e0cbe28b8757bce8efb064ba
Author: stronk7 <stronk7>
Date:   Mon, 19 May 2008 08:16:48 +0800
Tag:    v2.0.0-rc1

There was one "phantom" test + minor improvements for robustness.

commit b75953148d4129d09802e9790e82c0f44f6ceef0
Author: stronk7 <stronk7>
Date:   Sun, 18 May 2008 09:55:14 +0800
Tag:    v2.0.0-rc1

Fix typo.

commit d550521063116bd0b4c3b26e99d882e2e3c3af2c
Author: stronk7 <stronk7>
Date:   Sun, 18 May 2008 09:27:21 +0800
Tag:    v2.0.0-rc1

First cut of mssql_adodb driver. Able to install HEAD. MDL-14887

commit 55b9622a19d0a675f649d270d5ea478fd318e2a5
Author: stronk7 <stronk7>
Date:   Sun, 18 May 2008 09:11:51 +0800
Tag:    v2.0.0-rc1

Document local change in drivers/adodb-mssql.inc.php. MDL-14886

commit f4607d530975f0bdde7c4b4ac66a92636bcf6be9
Author: stronk7 <stronk7>
Date:   Sun, 18 May 2008 09:06:08 +0800
Tag:    v2.0.0-rc1

Fix MSSQL Insert_ID() to work when inserting using placeholders. MDL-14886

commit d02e368d774cfc874cd2c933ba8f2c02b0061f77
Author: stronk7 <stronk7>
Date:   Sun, 18 May 2008 04:51:18 +0800
Tag:    v2.0.0-rc1

non empty prefixes aren't a driver limitation, but a Moodle one. MDL-14877

commit 9f17b4bc8f64b0bf5a514bbed5dc4e68cd511e8f
Author: stronk7 <stronk7>
Date:   Sun, 18 May 2008 04:46:29 +0800
Tag:    v2.0.0-rc1

Revert the prefix check to admin/index.php. MDL-14877

commit 50e0ef51335ce68b9c764cbaafbaa5151adb094b
Author: stronk7 <stronk7>
Date:   Sat, 17 May 2008 08:04:53 +0800
Tag:    v2.0.0-rc1

Fix one error in SetFetchMode() + minor clean. MDL-14879

commit 327744b1dbba65956aafa0035d0d9bf90427ecb4
Author: stronk7 <stronk7>
Date:   Fri, 16 May 2008 10:32:18 +0800
Tag:    v2.0.0-rc1

Allow adodb to find tables when working without prefix

commit 137e0e6f6546b0c18fe0b740eb2c771b70da7f33
Author: stronk7 <stronk7>
Date:   Fri, 16 May 2008 06:55:27 +0800
Tag:    v2.0.0-rc1

Fixed typo preventing params to be properly passed.

commit e4552afb15f1c9661496138bfd7233c6a8f95fe1
Author: stronk7 <stronk7>
Date:   Fri, 16 May 2008 06:34:52 +0800
Tag:    v2.0.0-rc1

Handle properly in restore the change data->notification from NULL to NOT NULL. MDL-14548

commit 469dcbcc8b3fd627040d52fbad60491940007a1a
Author: stronk7 <stronk7>
Date:   Fri, 16 May 2008 01:03:49 +0800
Tag:    v2.0.0-rc1

prevent NULL contents before field change (old servers can have this wrongly defined). MDL-14859 ; merged from 19_STABLE

commit e42f819d8be17621edbe32e1f8e621313e2af96f
Author: stronk7 <stronk7>
Date:   Thu, 15 May 2008 00:43:44 +0800
Tag:    v2.0.0-rc1

XHTML minor fix. MDL-14836 ; merged from 19_STABLE

commit 00f9b05834b93abf9f3f797fb9efa0429610f569
Author: stronk7 <stronk7>
Date:   Tue, 13 May 2008 09:48:45 +0800
Tag:    v2.0.0-rc1

Avoid $_REQUEST["id"] usage. MDL-14806 ; merged from 19_STABLE

commit 77022d9e5d36caac453ca15f96b4a1b6f5eba2a9
Author: stronk7 <stronk7>
Date:   Tue, 13 May 2008 07:07:42 +0800
Tag:    v2.0.0-rc1

Role custom names (aliases) are now preserved during backup/restore. MDL-14783 ; merged from 19_STABLE

commit 095aa2809ee9d4a1c523bd50f099de046d58dba5
Author: stronk7 <stronk7>
Date:   Tue, 13 May 2008 06:54:26 +0800
Tag:    v2.0.0-rc1

Restoring from courses having custom role name doesn't cause duplicate roles. MDL-14808 ; merged from 19_STABLE

commit b90d006cd44609e79f2b735b3af78e59abcc37f6
Author: stronk7 <stronk7>
Date:   Tue, 13 May 2008 02:01:59 +0800
Tag:    v2.0.0-rc1

user preferences are not restored if user exists. MDL-12594 ; merged from 19_STABLE

commit 5777b048a6e8703bb76823f28341b7b326922e0f
Author: stronk7 <stronk7>
Date:   Mon, 12 May 2008 07:55:50 +0800
Tag:    v2.0.0-rc1

Prevent excess of unenolments by enrol_database_sync.php. MDL-8550 ; merged from 19_STABLE

commit 183a13c294117d948effbfff58b1dfcc987f340f
Author: stronk7 <stronk7>
Date:   Mon, 12 May 2008 07:34:29 +0800
Tag:    v2.0.0-rc1

Prevent some notices and process if $CFG->emoticons is not set or empty. MDL-12414 ; merged from 19_STABLE

commit 5835a3348264eebf519bd61023a30a7d54e5b633
Author: stronk7 <stronk7>
Date:   Sun, 11 May 2008 06:07:54 +0800
Tag:    v2.0.0-rc1

cvs tag -F MOODLE_19_MERGED -j MOODLE_19_STABLE ; merged from 19_STABLE

commit bf221acaef0e20a643afd95d5275c5185e91493c
Author: stronk7 <stronk7>
Date:   Thu, 08 May 2008 02:28:59 +0800
Tag:    v2.0.0-rc1

Reverting to previous revision. MDL-14668 ; merged from 19_STABLE

commit 4a005b22e31311a3a5a6eff9635c18978d98a24e
Author: stronk7 <stronk7>
Date:   Mon, 05 May 2008 08:28:45 +0800
Tag:    v2.0.0-rc1

Fixing query to be cross-db. Credit goes to David Mudrak. MDL-14583 ; merged from 19_STABLE

commit 2d1e0971575495edc2054042cf4ba5bf769a8cdb
Author: stronk7 <stronk7>
Date:   Mon, 05 May 2008 08:09:58 +0800
Tag:    v2.0.0-rc1

Glossary concepts must support multilang filter (all filters, in fact). And accesible alt texts for action buttons too. MDL-14687 ; merged from 19_STABLE

commit d85546d074a80835e08874160e560bf911e64c18
Author: stronk7 <stronk7>
Date:   Fri, 02 May 2008 10:01:02 +0800
Tag:    v2.0.0-rc1

Fix one PREVIOUS error in feedback table preventing installation to happen.

commit ed3bd1974b5b8abb8d8a9ede47df5d5dc2dc2a87
Author: stronk7 <stronk7>
Date:   Tue, 29 Apr 2008 07:09:57 +0800
Tag:    v2.0.0-rc1

Fixed old-glorious typo in wiki backup. MDL-10811 ; merged from 19_STABLE

commit 9120630b4bbff92d32e23b04b796abe38ad914b7
Author: stronk7 <stronk7>
Date:   Sun, 27 Apr 2008 09:56:08 +0800
Tag:    v2.0.0-rc1

glossary->id for block is now properly recoded by restore. MDL-4934 ; merged from 19_STABLE

commit 48acdf95beac271523c726b9fe2d2609f58cc8a3
Author: stronk7 <stronk7>
Date:   Sun, 27 Apr 2008 08:32:00 +0800
Tag:    v2.0.0-rc1

Prevent admin tree to be showed for non-admins in 'my' page. MDL-14225 ; merged from 19_STABLE

commit 926c6aa9e3af732fd6e1f2e2aa425c27ee8d6966
Author: stronk7 <stronk7>
Date:   Sun, 27 Apr 2008 06:46:03 +0800
Tag:    v2.0.0-rc1

Implemented more accurate way to retrieve trigger names. MDL-14567 ; merged from 19_STABLE

commit f4013c10d39a0e1b4b19b85029e924e3b2d94976
Author: stronk7 <stronk7>
Date:   Sat, 26 Apr 2008 02:55:36 +0800
Tag:    v2.0.0-rc1

New setting in require_login() to avoid certain scripts (file.php) to mess $SESSION->wantsurl. MDL-14495 ; merged from 19_STABLE

commit 2f1cd7daec84df8bb3af456a5e59602708096d5c
Author: stronk7 <stronk7>
Date:   Fri, 25 Apr 2008 05:49:07 +0800
Tag:    v2.0.0-rc1

Fixed typo causing restore to existing courses not to work. MDL-14549 ; merged from 19_STABLE

commit 05ac14ca68d61cab4d5480055ffcb26ac0053c07
Author: stronk7 <stronk7>
Date:   Fri, 25 Apr 2008 01:11:40 +0800
Tag:    v2.0.0-rc1

Prevent wrong data->notifications to be stored. Default to 0 if empty. MDL-14540 ; merged from 19_STABLE

commit 5a620a8c2a4dfe933cf129d314cb6436ab809af5
Author: stronk7 <stronk7>
Date:   Fri, 25 Apr 2008 00:45:58 +0800
Tag:    v2.0.0-rc1

Fix tag links in tag clouds. MDL-14547 ; merged from 19_STABLE

commit ce7373f85c62200fd34f6b827aa04ee156e596e7
Author: stronk7 <stronk7>
Date:   Tue, 22 Apr 2008 02:10:09 +0800
Tag:    v2.0.0-rc1

Replace custom casting code by proper sql_cast_char2int() core function. MDL-12893 ; merged from 19_STABLE

commit c4c1348c244b2f5acc7bb011748b3972d369de1a
Author: stronk7 <stronk7>
Date:   Mon, 21 Apr 2008 06:15:21 +0800
Tag:    v2.0.0-rc1

Replace low level $db->Concat() calls to Moodle sql_concat() cross-db alternative. MDL-13823 ; merged from 19_STABLE

commit 272ccb9702828019f5885832d073c42ea6cb6baf
Author: stronk7 <stronk7>
Date:   Mon, 21 Apr 2008 05:19:38 +0800
Tag:    v2.0.0-rc1

Modify sql_concat() to support all elements being numeric. MDL-13823 ; merged from 19_STABLE

commit 8b6ccde7b06b2b993354303fc734d7b88e87bbe5
Author: stronk7 <stronk7>
Date:   Sun, 20 Apr 2008 10:03:00 +0800
Tag:    v2.0.0-rc1

Restore of blogs in SITE page added. MDL-9089 ; merged from 19_STABLE

commit 99b39c96efd63194ec985a435491edc3564fca3b
Author: stronk7 <stronk7>
Date:   Sun, 20 Apr 2008 09:18:44 +0800
Tag:    v2.0.0-rc1

Added string to restore blogs. MDL-9089 ; merged from 19_STABLE

commit d9063e928f10756af1f89b569c6e86c1ca82eda6
Author: stronk7 <stronk7>
Date:   Sun, 20 Apr 2008 06:41:48 +0800
Tag:    v2.0.0-rc1

Adding some missing course info when backuping blogs. MDL-9089 ; merged from 19_STABLE

commit aa1e80500a826790e9a332dc9ea31bc6a0117b1f
Author: stronk7 <stronk7>
Date:   Sat, 19 Apr 2008 08:54:43 +0800
Tag:    v2.0.0-rc1

fixed typo

commit 9d4c8748d92853d27055a0ccb0f9db7711a671c9
Author: stronk7 <stronk7>
Date:   Sat, 19 Apr 2008 08:33:33 +0800
Tag:    v2.0.0-rc1

Changes to support table-less course formats

commit 0f77b186f197878e5b324c445b2ef50b84dc792d
Author: stronk7 <stronk7>
Date:   Sat, 19 Apr 2008 07:15:44 +0800
Tag:    v2.0.0-rc1

Fix double savepoint in the same block of upgrade. MDL-11888

commit feb351cfae9284f769419bfba48cd02f77c6ab57
Author: stronk7 <stronk7>
Date:   Sat, 19 Apr 2008 00:58:06 +0800
Tag:    v2.0.0-rc1

MDL-14072 - Merged from 19_STABLE. Prevent NULLs, empties and numbers to be processed by: - backup_encode_absolute_links() at backup - restore_decode_absolute_links() at restore

commit 341b5ed236812cf31b9f65cf5547edff50090f2c
Author: stronk7 <stronk7>
Date:   Wed, 16 Apr 2008 05:46:04 +0800
Tag:    v2.0.0-rc1

Finally fixed version of lastaccess hadling. Moved from add_to_log() to require_login(). MDL-14272 ; merged from 19_STABLE

commit 252720c45af7ab5a58c5d6ae5242c43210553e1e
Author: stronk7 <stronk7>
Date:   Wed, 16 Apr 2008 05:32:06 +0800
Tag:    v2.0.0-rc1

Correct usage of debugging. MDL-11893 ; merged from 19_STABLE

commit 0fdf06cd78501b33d1c60d8da2a1d080260ac318
Author: stronk7 <stronk7>
Date:   Wed, 16 Apr 2008 04:02:59 +0800
Tag:    v2.0.0-rc1

Fixing logic + minor formatting of email. MDL-11893 ; merged from 19_STABLE

commit 6d5b31e1198fe305c0f1d7f99662c5d00239d78b
Author: stronk7 <stronk7>
Date:   Tue, 15 Apr 2008 07:03:05 +0800
Tag:    v2.0.0-rc1

Cleanup of phpdoc + some clarifications when specifying colors. MDL-14354 ; merged from 19_STABLE

commit 6a775a80751b82055f4ea72f44accb4c234ca568
Author: stronk7 <stronk7>
Date:   Mon, 14 Apr 2008 07:56:14 +0800
Tag:    v2.0.0-rc1

Restore to the frontpage should work now (interface). MDL-12760 ; merged from 19_STABLE

commit d8b2e5e63d2deca054b41fdcbb1a073d3b883bad
Author: stronk7 <stronk7>
Date:   Mon, 14 Apr 2008 07:29:07 +0800
Tag:    v2.0.0-rc1

Minor fixes in the restore form when restoring from within SITEID. Merged from 19_STABLE

commit 59d6852ba43d4ca71152376383b0657ec842c403
Author: stronk7 <stronk7>
Date:   Sun, 13 Apr 2008 10:06:49 +0800
Tag:    v2.0.0-rc1

Fixed missing string on restore. MDL-14330 ; merged from STABLE_19

commit b05d6880e10b47dd09809526d0bc7cb054460c6e
Author: stronk7 <stronk7>
Date:   Sun, 13 Apr 2008 09:35:13 +0800
Tag:    v2.0.0-rc1

Blogs added to scheduled backup. MDL-9089 ; merged from 19_STABLE

commit fe75799dcfa619fc5cdb7311395073aad03de109
Author: stronk7 <stronk7>
Date:   Sun, 13 Apr 2008 09:28:59 +0800
Tag:    v2.0.0-rc1

Blogs backup added. MDL-9089 ; merged from 19_STABLE

commit 40e07bddd13099a7ea447107048b2d1553473b3b
Author: stronk7 <stronk7>
Date:   Sun, 13 Apr 2008 09:20:41 +0800
Tag:    v2.0.0-rc1

Preparing for blogs backup. New string. MDL-9089 ; merged from 19_STABLE

commit 240075cd7f1189dcea1db782007dc41c53f8ed71
Author: stronk7 <stronk7>
Date:   Sun, 13 Apr 2008 09:17:30 +0800
Tag:    v2.0.0-rc1

Preparing for blogs backup. Helper function. MDL-9089 ; merged from 19_STABLE

commit edb15b8f0443f34b5dc64a057ab0d0d125050a29
Author: stronk7 <stronk7>
Date:   Fri, 11 Apr 2008 05:00:38 +0800
Tag:    v2.0.0-rc1

Check for 60s interval from PHP. Save 3 queries per request. MDL-14272 ; merged from 19_STABLE

commit cb8aaedf61b6d5d7c3ebc609d1987f8dd8f8c30c
Author: stronk7 <stronk7>
Date:   Wed, 09 Apr 2008 07:17:20 +0800
Tag:    v2.0.0-rc1

Unset rcache on UPDATE statements not using dmllib.php. MDL-14257 ; merged from 19_STABLE

commit c5340330f32acfe99c256de62a8a8377e889e208
Author: stronk7 <stronk7>
Date:   Tue, 08 Apr 2008 07:44:42 +0800
Tag:    v2.0.0-rc1

Respect inherited default enrol method when deciding to display the course cost. MDL-14096 ; merged from 19_STABLE

commit b7bf0a688357910b57a379e05be79600653e525a
Author: stronk7 <stronk7>
Date:   Sat, 05 Apr 2008 06:36:07 +0800
Tag:    v2.0.0-rc1

Documenting local hack about MDL-14215 ; merged from 19_STABLE

commit 91703c7792f5326a0463467f6381fd1d838593be
Author: stronk7 <stronk7>
Date:   Sat, 05 Apr 2008 03:55:26 +0800
Tag:    v2.0.0-rc1

Fixed bug preventing correct detection of enums under mysqli. MDL-14215 ; merged from 19_STABLE

commit 05c75fcebf18ec3f077c114e0483c40d57152e80
Author: stronk7 <stronk7>
Date:   Fri, 04 Apr 2008 19:24:57 +0800
Tag:    v2.0.0-rc1

Fix wrong conversion from '0' to '' in oracle_diry_hack. MDL-14182 ; merged from 19_STABLE

commit 33998d30eaf920f75c6606f749ece1ffc3813b35
Author: stronk7 <stronk7>
Date:   Fri, 04 Apr 2008 02:09:15 +0800
Tag:    v2.0.0-rc1

Fixed DST calculation when requesting explicit (parameter) timezones. MDL-14093 ; merged from 19_STABLE

commit a8ee71948aa1456e481e508aaefae504c25be95f
Author: stronk7 <stronk7>
Date:   Thu, 03 Apr 2008 08:59:34 +0800
Tag:    v2.0.0-rc1

MDL-13900 - If the course or the parent category are hidden and the user hasn't the 'course:viewhiddencourses' capability, prevent access. Merged from 19_STABLE

commit c691bebc561a460bcc944886b0357377e6019f3d
Author: stronk7 <stronk7>
Date:   Wed, 02 Apr 2008 06:17:58 +0800
Tag:    v2.0.0-rc1

Force download checkbox is not initialized properly, credit goes to skodak. MDL-14010 ; merged from 19_STABLE

commit 83fc40040b4ae35fd8fe6683f37adf40754392b9
Author: stronk7 <stronk7>
Date:   Tue, 01 Apr 2008 06:52:17 +0800
Tag:    v2.0.0-rc1

Prevent cloning of non-object. Delegate to parent method as fallback. MDL-14120 ; merged from 19_STABLE

commit d936580e1fb34c3264f735577da3ddd73ceea3e4
Author: stronk7 <stronk7>
Date:   Sun, 30 Mar 2008 08:45:58 +0800
Tag:    v2.0.0-rc1

Not visible courses don't cause unenrolment under LDAP anymore. Credit goes to Iñaki Arenaza. MDL-14097 ; merged from 19_STABLE

commit d5e8ae7d9bc7f5f3f1cb763ca57e3508437f10ba
Author: stronk7 <stronk7>
Date:   Thu, 27 Mar 2008 08:51:38 +0900
Tag:    v2.0.0-rc1

Change tooltip text by Helen's suggestion. MDL-13940 ; merged from 19_STABLE

commit 012166762e1a47c8c962b5af4f0fec4963f7a7f6
Author: stronk7 <stronk7>
Date:   Tue, 25 Mar 2008 08:06:08 +0900
Tag:    v2.0.0-rc1

Fix visualization under FF. MDL-14039 ; merged from 19_STABLE

commit 81d76f703571590ecec8105c394e21d347b6d14b
Author: stronk7 <stronk7>
Date:   Tue, 25 Mar 2008 07:08:10 +0900
Tag:    v2.0.0-rc1

New string for hidden roles eye in participants page. MDL-13940 ; merged from 19_STABLE

commit 68c85775d5e8ae023bc08dfd92374f1b8405c797
Author: stronk7 <stronk7>
Date:   Tue, 25 Mar 2008 07:05:42 +0900
Tag:    v2.0.0-rc1

If the user has hidden role assignments, the icon should be the closed eye. MDL-13935 ; merged from 19_STABLE

commit cfa239ab7fcaa31079470d8b628fae101407512f
Author: stronk7 <stronk7>
Date:   Tue, 25 Mar 2008 01:39:48 +0900
Tag:    v2.0.0-rc1

Restore escaped from latest tag-lib refactoring. MDL-14038 ; merged from 19_STABLE

commit 0c273be0b266f154177bdd6aa3f2d6baaaa58351
Author: stronk7 <stronk7>
Date:   Mon, 24 Mar 2008 19:34:37 +0900
Tag:    v2.0.0-rc1

Adding help file for forcedownload option. MDL-14010 ; merged from 19_STABLE

commit 4e11d345687f42deb0760f24ac97f443df41ff70
Author: stronk7 <stronk7>
Date:   Mon, 24 Mar 2008 19:31:20 +0900
Tag:    v2.0.0-rc1

Added missing string for forcedowload option. MDL-14010 ; merged from 19_STABLE

commit 4d93bc9e19a88084881a2b36a27ea9656027b7a2
Author: stronk7 <stronk7>
Date:   Mon, 24 Mar 2008 10:29:30 +0900
Tag:    v2.0.0-rc1

Make list of participants to work on SITE course. Fix for MDL-14034 ; merged from 19_STABLE

commit 3813e87cf8efdc18770de43f1513be9d8431b3c9
Author: stronk7 <stronk7>
Date:   Sun, 23 Mar 2008 08:37:25 +0900
Tag:    v2.0.0-rc1

Update timezone rules to tzdata2008a. MDL-14024 ; merged from 19_STABLE

commit 4d272b485fdc39d82767052ba85a1df4d1444de6
Author: stronk7 <stronk7>
Date:   Mon, 17 Mar 2008 21:30:47 +0900
Tag:    v2.0.0-rc1

Glossary extended search fixed. MDL-13947 ; merged from 19_STABLE

commit 1f807bc46a2406f2c31fb3905d3e3a65bc81f2e0
Author: stronk7 <stronk7>
Date:   Sun, 16 Mar 2008 06:57:25 +0900
Tag:    v2.0.0-rc1

Prevent duplicate users in list when user has both visible and hidden roles. MDL-13935 ; merged from 19_STABLE

commit bef163c889f007a7bf2d8b7b3e002d2e666f2f92
Author: stronk7 <stronk7>
Date:   Mon, 10 Mar 2008 02:28:17 +0900
Tag:    v2.0.0-rc1

Ensure only target groups_members are added to backup. MDL-12453 ; merged from 19_STABLE

commit c21e611a34a548c0ca3e0a7830fdfeba59c6028a
Author: stronk7 <stronk7>
Date:   Sun, 09 Mar 2008 07:29:10 +0900
Tag:    v2.0.0-rc1

Wood-ize groupinfo boxes. Merged from 19_STABLE

commit 6fb10690b41d63f01889c1f8499339ad3730cafc
Author: stronk7 <stronk7>
Date:   Wed, 05 Mar 2008 08:41:37 +0900
Tag:    v2.0.0-rc1

Simplify anydb_escape_string() to use simple-cross-db addslashes(). MDL-13793 ; merged from 19_STABLE

commit e28de1f5cca1d32fed02cd775b2926341066183c
Author: stronk7 <stronk7>
Date:   Sat, 01 Mar 2008 04:55:06 +0900
Tag:    v2.0.0-rc1

rebuild_course_cache() to calculate modinfo before role assignments. MDL-13740 ; merged from 19_STABLE

commit 94519ff59b3b06d56b258341c24fb5e0b162a5ff
Author: stronk7 <stronk7>
Date:   Sat, 01 Mar 2008 00:14:30 +0900
Tag:    v2.0.0-rc1

Deletin the grader->get_numusers() method. I was doing some not needed checks (I guess copied from load_users(), where they have sense). Fallback to grade_report->get_numusers(), that looks ok. MDL-13403

commit 5a2ae4d0ebfc455f0f2ac084674c40c5a5fec25a
Author: stronk7 <stronk7>
Date:   Thu, 21 Feb 2008 04:07:59 +0900
Tag:    v2.0.0-rc1

Adding one new string, preparing for blogs backup. Merged from 19_STABLE

commit ae4d1351b412456e62a9c348ac3f7d16752926f1
Author: stronk7 <stronk7>
Date:   Tue, 19 Feb 2008 20:49:42 +0900
Tag:    v2.0.0-rc1

Added one new string to installer files. MDL-13489 ; merged from 19_STABLE

commit 21c369406945290182e682621f76ad6a1586b1f5
Author: stronk7 <stronk7>
Date:   Mon, 18 Feb 2008 19:54:14 +0900
Tag:    v2.0.0-rc1

Add support to specify text sizes via formats. MDL-13505 ; merged from 19_STABLE

commit 42af26a3963702ee844d2092f4ed5d33c92514f0
Author: stronk7 <stronk7>
Date:   Fri, 15 Feb 2008 08:35:03 +0900
Tag:    v2.0.0-rc1

Messages backup improvement. MDL-13473 ; merged from 19_STABLE

commit b3238b35196957446f91ea161292861995f54b52
Author: stronk7 <stronk7>
Date:   Wed, 06 Feb 2008 05:31:06 +0900
Tag:    v2.0.0-rc1

Some old backups can contain empties in user->picture, fix them before insert. Merged from 19_STABLE

commit 70e241766873d4e874fc0b9a1736b38f5313a902
Author: stronk7 <stronk7>
Date:   Mon, 04 Feb 2008 09:05:20 +0900
Tag:    v2.0.0-rc1

Save one extra query per user being restored. $newid contains the user id along all the iteration.

commit 7b6e2a2bf9bc96f8ab10e2546cb563c07b9ef59b
Author: stronk7 <stronk7>
Date:   Mon, 04 Feb 2008 08:53:01 +0900
Tag:    v2.0.0-rc1

Now custom profile fields and user tags are restored. MDL-6856 ; merged from 19_STABLE

commit 3dd3ab8ac83a84d98165b9745f11ec93ae7cd95a
Author: stronk7 <stronk7>
Date:   Mon, 04 Feb 2008 03:44:14 +0900
Tag:    v2.0.0-rc1

Only insert outcome_course if it doesn't exist. MDL-13308 ; merged from 19_STABLE

commit 842874ebf8f7caceb61e33ee6aba1b356a8bc2f0
Author: stronk7 <stronk7>
Date:   Mon, 04 Feb 2008 03:33:09 +0900
Tag:    v2.0.0-rc1

Add some outcomes missing strings. MDL-13318 ; merged from 19_STABLE

commit 359e08ba889823447e494bc452ba08edacbfb930
Author: stronk7 <stronk7>
Date:   Mon, 04 Feb 2008 03:26:58 +0900
Tag:    v2.0.0-rc1

Fix restore of outcomes, reusing them when possible. MDL-13309 ; merged from 19_STABLE

commit 63971f8b40bb6c2fe0d9789d42ff9f935221bfad
Author: stronk7 <stronk7>
Date:   Mon, 04 Feb 2008 01:40:34 +0900
Tag:    v2.0.0-rc1

Detect used scales in course outcomes too. MDL-13307 ; merged from 19_STABLE

commit 5170a7a440e60461f5b9d0a0da2e4703c75085a3
Author: stronk7 <stronk7>
Date:   Sun, 03 Feb 2008 19:33:15 +0900
Tag:    v2.0.0-rc1

Add missing description to grade_outcomes backup. Merged from 19_STABLE

commit 1f340c06dab346b0b97fa241f32150fecc9933d2
Author: stronk7 <stronk7>
Date:   Sun, 03 Feb 2008 09:48:32 +0900
Tag:    v2.0.0-rc1

Add some browser output when restoring a lot of users. Merged from 19_STABLE

commit e464445596177e703b5fbeb2ecb0fbc0869acab1
Author: stronk7 <stronk7>
Date:   Sun, 03 Feb 2008 08:59:48 +0900
Tag:    v2.0.0-rc1

Now we are reading user_profile_fields and user_tags + some small fixes on roles. MDL-6856 ; merged from 19_STABLE

commit 14656d15a00533c143acd02d0af166834967d316
Author: stronk7 <stronk7>
Date:   Sun, 03 Feb 2008 05:43:18 +0900
Tag:    v2.0.0-rc1

Respect $showfeedback when deleting groups and groupings. Merged from 19_STABLE

commit 093c3b907b2630468286f6354958e72eb89c0096
Author: stronk7 <stronk7>
Date:   Sat, 02 Feb 2008 02:19:33 +0900
Tag:    v2.0.0-rc1

Change some conditions to properly check if the custom-profile-field really is using a duplicate shortname. MDL-13288 ; merged from 19_STABLE

commit 6fba307d988daa67f8d3e4b2726f310068cdcef2
Author: stronk7 <stronk7>
Date:   Thu, 31 Jan 2008 09:20:19 +0900
Tag:    v2.0.0-rc1

Quick fix for not working glossary index. Related to MDL-12949 that needs more improvements. Merged from 19_STABLE

commit 9e56dd25d3fa210562b6d14998d52d3d174744b1
Author: stronk7 <stronk7>
Date:   Wed, 30 Jan 2008 10:10:57 +0900
Tag:    v2.0.0-rc1

Now user profile fileds and user tags are included in backups. Part of MDL-6856 ; merged from 19_STABLE

commit 012912655a52f73e2dd27c401dcbb9eb9c4950b5
Author: stronk7 <stronk7>
Date:   Mon, 28 Jan 2008 00:39:05 +0900
Tag:    v2.0.0-rc1

Rename lesson usegrademax to usemaxgrade because some old sites can be using the wrong one. MDL-13177 ; merged from 19_STABLE

commit 5042a60af49e2657d1720b8e54e803849e7ec542
Author: stronk7 <stronk7>
Date:   Sun, 27 Jan 2008 10:40:46 +0900
Tag:    v2.0.0-rc1

sql_isnull() not used anymore. Deleting. MDL-12970 ; merged from 19_STABLE

commit 044197030b8fbb55b909f78c3ce991713fceddc3
Author: stronk7 <stronk7>
Date:   Sun, 27 Jan 2008 10:28:25 +0900
Tag:    v2.0.0-rc1

Deleting core uses of sql_isnull(). MDL-12970 ; merged from 19_STABLE

commit 04150e0886aa057837ac12d2f4d922d1817b8a08
Author: stronk7 <stronk7>
Date:   Sun, 27 Jan 2008 09:39:56 +0900
Tag:    v2.0.0-rc1

Adding some missing log actions when restoring forums. MDL-13184 ; merged from 19_STABLE

commit 51f2e837eb38219135d4aea39b62161836981718
Author: stronk7 <stronk7>
Date:   Sun, 27 Jan 2008 08:13:25 +0900
Tag:    v2.0.0-rc1

Fix notice with edit enabled in site page. Merged from 19_STABLE

commit 56ef28a4a35d521fcde45ce10e45db27c1003b7e
Author: stronk7 <stronk7>
Date:   Sun, 27 Jan 2008 07:00:40 +0900
Tag:    v2.0.0-rc1

Added some helper functions, cleanup a bit and add missing parts. MDL-10721 ; merged from 19_STABLE

commit c648a2259c06c32e1d2bdca3ccd3969e1a4facf2
Author: stronk7 <stronk7>
Date:   Fri, 25 Jan 2008 09:50:08 +0900
Tag:    v2.0.0-rc1

General cleanup of backup users. Part of MDL-10721 ; merged from 19_STABLE

commit 2462e5eb20c7251448eb2d6797d0bb7617f3ecc6
Author: stronk7 <stronk7>
Date:   Fri, 25 Jan 2008 05:04:15 +0900
Tag:    v2.0.0-rc1

Prevent grade_grades and grade_grades_history to be exported for non-target users. MDL-13115 ; merged from 19_STABLE

commit a03320fcf9f7733e1f6ac99733db6d75c3c48d8b
Author: stronk7 <stronk7>
Date:   Fri, 25 Jan 2008 04:09:04 +0900
Tag:    v2.0.0-rc1

Reworked a bit to prevent non-target user role assignments to be exported. MDL-13115 ; merged from 19_STABLE

commit 81243b7be4115c8745cc8735448d01c662d24013
Author: stronk7 <stronk7>
Date:   Thu, 24 Jan 2008 09:51:09 +0900
Tag:    v2.0.0-rc1

Now the backup->users = none setting is properly populated to all modules / instances, saving a lot of info to be always written. MDL-13115

commit 6ef343768f5df9a7cd3fcef22519e8ed8649eca7
Author: stronk7 <stronk7>
Date:   Mon, 21 Jan 2008 05:40:37 +0900
Tag:    v2.0.0-rc1

Adding missing string to installer. MDL-12914 ; merged from 19_STABLE

commit f7ca1b7edcb3c5ef01d5056c6c60ee288bbe60e2
Author: stronk7 <stronk7>
Date:   Sun, 13 Jan 2008 03:54:54 +0900
Tag:    v2.0.0-rc1

Minor changes to custom check definition. MDL-12914 ; merged from 19_STABLE

commit 6cf05835011ac282ee9321336c8d3deb6bcb8a57
Author: stronk7 <stronk7>
Date:   Sun, 13 Jan 2008 03:54:30 +0900
Tag:    v2.0.0-rc1

Function changed to check for register_globals. MDL-12914 ; merged from 19_STABLE

commit efcc5e0f3d2ea981fc0b50e7f78a352ac9150140
Author: stronk7 <stronk7>
Date:   Sat, 12 Jan 2008 02:21:53 +0900
Tag:    v2.0.0-rc1

Fixed copy/paste typo. MDL-11341 wink ; merged from 19_STABLE

commit aa9c6b6ba611e178a0b4d61806390246222d9b7b
Author: stronk7 <stronk7>
Date:   Fri, 11 Jan 2008 09:05:55 +0900
Tag:    v2.0.0-rc1

Adding custom check to test MDL-12914 ; merged from 19_STABLE

commit 5075a6ca3dc8ef0fb0f65cc77850b9a2414f02e5
Author: stronk7 <stronk7>
Date:   Fri, 11 Jan 2008 08:46:28 +0900
Tag:    v2.0.0-rc1

Added new library to store all core custom checks to be performed by environmental stuff. MDL-12914

commit 35107f8636fda6510510bd711f371d0ae80cb882
Author: stronk7 <stronk7>
Date:   Thu, 03 Jan 2008 01:49:11 +0900
Tag:    v2.0.0-rc1

Respect case of enumvalues. MDL-12803 ; Merged from MOODLE_19_STABLE

commit 0f62a5b5bbd2dfb79dcf4a4d16ca58646a1dfbb0
Author: stronk7 <stronk7>
Date:   Tue, 01 Jan 2008 21:03:00 +0900
Tag:    v2.0.0-rc1

Better behaviour for "-" course searches under MSSQL and Oracle. MDL-7312 ; merged from 19_STABLE

commit 9156f58a1a4d1c9a05c026061b7a60e66a142a5f
Author: stronk7 <stronk7>
Date:   Tue, 01 Jan 2008 00:25:27 +0900
Tag:    v2.0.0-rc1

Correct timezones listing when importing olson files ; merged from 19_STABLE

commit a599aeebe561c07ab0076b87c7f915600ddddbd4
Author: stronk7 <stronk7>
Date:   Tue, 01 Jan 2008 00:20:02 +0900
Tag:    v2.0.0-rc1

Prevent some debugging notices, cast to object before inserting. Merged from 19_STABLE

commit 4ae7df39ee11b2d28b0c15582df2f9548f09e742
Author: stronk7 <stronk7>
Date:   Tue, 01 Jan 2008 00:08:08 +0900
Tag:    v2.0.0-rc1

Moving from old "timezones" location to the new "timezone" one. MDL-12024 ; merged from 19_STABLE

commit a2717fd721f7e29ac051f85a56520b5890ce6880
Author: stronk7 <stronk7>
Date:   Mon, 31 Dec 2007 22:23:23 +0900
Tag:    v2.0.0-rc1

1976 rules from 2007j Olson files. MDL-12024 ; merged from 19_STABLE

commit 4070a1a4cefdaced68b7719404f06ee04814e669
Author: stronk7 <stronk7>
Date:   Mon, 31 Dec 2007 10:10:54 +0900
Tag:    v2.0.0-rc1

Missed this in my previous commit. MDL-12698 ; merged from 19_STABLE

commit f85236dc76249fc1cd0786b03e933e1f1564f5d6
Author: stronk7 <stronk7>
Date:   Mon, 31 Dec 2007 10:07:49 +0900
Tag:    v2.0.0-rc1

Change some constants to avoid name collisions. MDL-12698 ; Merged from MOODLE_19_STABLE

commit 47bf57d6572573f2f6d1b66c045339c4b97112c9
Author: stronk7 <stronk7>
Date:   Sat, 29 Dec 2007 20:54:24 +0900
Tag:    v2.0.0-rc1

Added note about automatic DB creation. MDL-9609

commit 01d90712dbae5a075f025c94c25f23f31e854c08
Author: stronk7 <stronk7>
Date:   Sat, 29 Dec 2007 20:51:49 +0900
Tag:    v2.0.0-rc1

New string goes to installer lang files. MDL-9609

commit 61ba2b5fb86c65704ac7537ec7286363a3b08293
Author: stronk7 <stronk7>
Date:   Sat, 29 Dec 2007 20:47:46 +0900
Tag:    v2.0.0-rc1

New string added to note about automatic DB creation. MDL-9609

commit 2a6d7f5536ba0f6f81674a5a908596adb6f3c3d2
Author: stronk7 <stronk7>
Date:   Sat, 29 Dec 2007 20:30:52 +0900
Tag:    v2.0.0-rc1

Merged from MOODLE_19_STABLE. Under MySQL, create the db on install if possible. MDL-9609

commit 79e8411dc2b2777ae16a1511f75da30a542c8f44
Author: stronk7 <stronk7>
Date:   Sat, 29 Dec 2007 04:14:01 +0900
Tag:    v2.0.0-rc1

Prevent race condition in event creation. MDL-5956. Credit goes to Penny, Luke and Martin @ Catalyst.

commit cd5ac56abaaa291181c0681aa5425b71aa2bf0db
Author: stronk7 <stronk7>
Date:   Thu, 27 Dec 2007 09:15:48 +0900
Tag:    v2.0.0-rc1

Bump to 2.0 dev

commit aaa291bcb9dc01e9efa8443f5309fce5a68a6c9a
Author: stronk7 <stronk7>
Date:   Fri, 21 Dec 2007 08:17:42 +0900
Tag:    v2.0.0-rc1

tidy up phpdoc

commit 35c1c575d446148c8ee05f64a3589d97fadba02c
Author: stronk7 <stronk7>
Date:   Fri, 21 Dec 2007 08:15:03 +0900
Tag:    v2.0.0-rc1

After some more tests... apply the new preconfigure_dbconnection() to core. MDL-12657

commit 118e0116f3e4afc1aa5e6661e0cb2ca9527c5013
Author: stronk7 <stronk7>
Date:   Fri, 21 Dec 2007 07:52:55 +0900
Tag:    v2.0.0-rc1

Adding the new preconfigure_dbconnection() function to pre-define some BD/ADOdb stuff before connection. MDL-12657

commit 6449e4a244f5f5c37a200d0a804c11802b89f6ee
Author: stronk7 <stronk7>
Date:   Sat, 15 Dec 2007 09:49:53 +0900
Tag:    v2.0.0-rc1

HEAD version bump by delta. Modify some timezone fields to accept new olson files. MDL-12024

commit e7a89237de6e7b68e75fbca9ca96ff1ba5a04d6a
Author: stronk7 <stronk7>
Date:   Sat, 15 Dec 2007 09:49:05 +0900
Tag:    v2.0.0-rc1

Modify some timezone fields to accept new olson files. MDL-12024

commit e5e7b2a8feffd4739893107aa6c1b738e23fb920
Author: stronk7 <stronk7>
Date:   Fri, 14 Dec 2007 03:02:31 +0900
Tag:    v2.0.0-rc1

Added the sql_cast_char2int() funtion to provide cross-db casting from char/text to integer. MDL-12574

commit 8884b320b4ea8ee4b8d7065352f9263132a8c738
Author: stronk7 <stronk7>
Date:   Wed, 12 Dec 2007 09:58:09 +0900
Tag:    v2.0.0-rc1

Reintroducing the possibility to declare a second row of tabs via extratabs. MDL-12551

commit 60302798058f895a1cfe78e37fe3083d116d80f1
Author: stronk7 <stronk7>
Date:   Wed, 12 Dec 2007 08:39:32 +0900
Tag:    v2.0.0-rc1

Adding the ability to perform custom uninstall tasks in modules. MDL-12520

commit 0404b472cfa8bd09951a714e8e8bae845c067ad3
Author: stronk7 <stronk7>
Date:   Mon, 10 Dec 2007 03:22:24 +0900
Tag:    v2.0.0-rc1

Document MDL-12378

commit dbe3f5b52031836aa5ecf8fbbf44c990108a4351
Author: stronk7 <stronk7>
Date:   Mon, 10 Dec 2007 03:20:55 +0900
Tag:    v2.0.0-rc1

Prevent XHTML breackage. MDL-12378

commit 5383636fbb6c890bb8182fdbfd292118b711a974
Author: stronk7 <stronk7>
Date:   Sun, 09 Dec 2007 03:54:24 +0900
Tag:    v2.0.0-rc1

Changing wrong UNSIGNEDs to nulls in tests. MDL-11662

commit 4a5d0a39b1dbd2bc6bb3f2c496232eeb52700c8b
Author: stronk7 <stronk7>
Date:   Sun, 09 Dec 2007 03:44:12 +0900
Tag:    v2.0.0-rc1

Changing XMLDB_UNSIGNED to nulls for non-numeric types. MDL-11662

commit 051b9588d1bcb1a240233f1a6092bd31ab83a747
Author: stronk7 <stronk7>
Date:   Sun, 09 Dec 2007 03:20:15 +0900
Tag:    v2.0.0-rc1

XMLDB_UNSIGNED only applicable to number types. MDL-11662

commit 87c06e6ebd1674348170cfcc732d91f304e6878a
Author: stronk7 <stronk7>
Date:   Sat, 08 Dec 2007 00:58:04 +0900
Tag:    v2.0.0-rc1

Using new cross-db sql_isnotempty() function. MDL-12084

commit 1e5352cb61bad44e5a95ed20deb15d251db70e8e
Author: stronk7 <stronk7>
Date:   Tue, 04 Dec 2007 05:44:03 +0900
Tag:    v2.0.0-rc1

Adding some outer spaces to returned SQL to avoid wrong sentences caused by concatenation.

commit 51adead13f87e221cc3ae37e5fd450b7d0c2a1be
Author: stronk7 <stronk7>
Date:   Tue, 04 Dec 2007 05:30:41 +0900
Tag:    v2.0.0-rc1

Adding two new functions: sql_isempty() and sql_isnotempty() to perform SQL comparisons to empties in a cross-db way. General solution for problems like MDL-12084

commit ec28a9bf8b76b2df97d710f70084b34911ac69d0
Author: stronk7 <stronk7>
Date:   Thu, 29 Nov 2007 03:14:38 +0900
Tag:    v2.0.0-rc1

Adding new wraplevelXX class for easier containers identification. MDL-12339

commit 5fe600ebe745fe87cd9c73f1d3e4ef1d46f4b180
Author: stronk7 <stronk7>
Date:   Fri, 23 Nov 2007 07:47:49 +0900
Tag:    v2.0.0-rc1

Deleting one ='' condition that isn't cross-db nor necessary. MDL-12186

commit 13877d12bddfa4564a3c9bf766c6e969806274f5
Author: stronk7 <stronk7>
Date:   Wed, 21 Nov 2007 08:44:08 +0900
Tag:    v2.0.0-rc1

Applying one missing string. tableofcontentsabbrev. MDL-12071

commit 19bd0b315ebac48a09fe0685c32de5987a65ff79
Author: stronk7 <stronk7>
Date:   Wed, 21 Nov 2007 08:41:52 +0900
Tag:    v2.0.0-rc1

Adding one missing string. tableofcontentsabbrev. MDL-12071

commit 9126bd7ee99b5ec45c03a0b29d5766663127023c
Author: stronk7 <stronk7>
Date:   Tue, 20 Nov 2007 09:10:05 +0900
Tag:    v2.0.0-rc1

Some question formating...

commit d4775d5495c1d1f6ecc55555e2f55471031620d6
Author: stronk7 <stronk7>
Date:   Mon, 19 Nov 2007 02:12:58 +0900
Tag:    v2.0.0-rc1

Merging unmerged code. MDL-11743 and MDL-11671

commit b77bbd2f83232ac78197541706869250844dbcc5
Author: stronk7 <stronk7>
Date:   Sat, 10 Nov 2007 05:11:43 +0900
Tag:    v2.0.0-rc1

New profilefield_ lang files are now supported with safe fallback to the "old" ones (stored in admin.php)

commit 23610d6ff7b19375c1aaa3f8277087028adb1b59
Author: stronk7 <stronk7>
Date:   Sat, 10 Nov 2007 04:11:40 +0900
Tag:    v2.0.0-rc1

Adding lang support within profile fields to make them selfcontained.

commit 7244ac4ba7562369949348116cf407452d538be5
Author: stronk7 <stronk7>
Date:   Fri, 02 Nov 2007 22:02:56 +0900
Tag:    v2.0.0-rc1

There was a mistake in the dir being created. It must be the backup temp area one. MDL-11912

commit 5fab4931b440a5842331043eafa8ed5119027b39
Author: stronk7 <stronk7>
Date:   Fri, 02 Nov 2007 18:53:32 +0900
Tag:    v2.0.0-rc1

Changed check_dir_exists() behaviour to be more robust and to work better when used recursively under sites with open_basedir enabled. Credit goes to René Samselnig. MDL-11437

commit dcbef1994eadf3fb5b6a718e1f31197f3700ac09
Author: stronk7 <stronk7>
Date:   Fri, 02 Nov 2007 08:24:36 +0900
Tag:    v2.0.0-rc1

Now PHP code generated by the XMLDB editor automatically adds calls to upgrade_main_savepoint(). MDL-11698

commit 8e758ab52cddd3c794b0662bc4bcf123f5ade4b0
Author: stronk7 <stronk7>
Date:   Fri, 02 Nov 2007 05:07:40 +0900
Tag:    v2.0.0-rc1

Unsetting one white border.

commit 956cabd4abd781bbd5c75ae9c36945ef8d57377b
Author: stronk7 <stronk7>
Date:   Mon, 22 Oct 2007 03:26:11 +0800
Tag:    v2.0.0-rc1

Changing some standard colors

commit 04c2d0db9dcf551ca373d39140f268d061336411
Author: stronk7 <stronk7>
Date:   Sat, 20 Oct 2007 01:53:23 +0800
Tag:    v2.0.0-rc1

Booleans are not always transformed to 0 /1. This was preventing install under mysqli. Define block->multiple if needed.

commit df7cb979730d3436a46e6b236177f9155907d535
Author: stronk7 <stronk7>
Date:   Sat, 20 Oct 2007 00:52:34 +0800
Tag:    v2.0.0-rc1

Adding support to course/formats from within the editor. MDL-11842

commit b738808bb39802b6088b3870f2a98a6781ac1499
Author: stronk7 <stronk7>
Date:   Fri, 19 Oct 2007 00:04:54 +0800
Tag:    v2.0.0-rc1

Commenting some more debug...

commit 6100dad06eefc565d651aa3767c088a48f04aa7b
Author: stronk7 <stronk7>
Date:   Thu, 18 Oct 2007 23:57:15 +0800
Tag:    v2.0.0-rc1

Commenting out some excess of debug info.

commit 226a1d9dfc5e64bab68336eaf975b609e3ce5af1
Author: stronk7 <stronk7>
Date:   Wed, 17 Oct 2007 00:10:19 +0800
Tag:    v2.0.0-rc1

Move the update of digestmailtimelast to the end of the loop to allow digests to be sent over multiple cron executions if something crash in the middle. MDL-11657

commit 157597decafd8cc0371198ae72d36769529c6784
Author: stronk7 <stronk7>
Date:   Tue, 16 Oct 2007 06:04:02 +0800
Tag:    v2.0.0-rc1

Reverting last commit. This is an EXTERNAL library file and shouldn't be modified. And it was broken (strange linefeeds). MDL-11779

commit 910b6fa7605a5467b109713cae792e35aa8ea638
Author: stronk7 <stronk7>
Date:   Mon, 15 Oct 2007 00:14:40 +0800
Tag:    v2.0.0-rc1

Improving cron to make digests to use much less memory. MDL-11657

commit 0597562dd41786ea1452df929037f51c302cc9ee
Author: stronk7 <stronk7>
Date:   Sun, 14 Oct 2007 17:54:57 +0800
Tag:    v2.0.0-rc1

Grrr (missed to delete some lines)  MDL-11751

commit 9b62ebb87f43a777021557f959bf55f660c85310
Author: stronk7 <stronk7>
Date:   Sun, 14 Oct 2007 17:52:16 +0800
Tag:    v2.0.0-rc1

Drop one index that shouldn't be there. MDL-11751

commit 75f3028793d52553186ca2c54072fb8aaad81a8c
Author: stronk7 <stronk7>
Date:   Fri, 12 Oct 2007 17:57:58 +0800
Tag:    v2.0.0-rc1

MDL-11729 :: Removed commenting out loading of the Chameleon files loading

commit 56768525acbfdfff291827dcce8d768b85d1bf68
Author: stronk7 <stronk7>
Date:   Fri, 12 Oct 2007 17:45:33 +0800
Tag:    v2.0.0-rc1

Merged from MOODLE_19_STABLE. Adding $Id tag