Git commits in Moodle x.x.x by robertall

commit d53e5129f8052b7c8802ff17b8b8316654164bef
Author: robertall <robertall>
Date:   Sat, 25 Oct 2008 04:17:10 +0800
Tag:    v2.0.0-rc1

[MDL-15425] Search Filters are too persistant.  Merged from MOODLE_19_STABLE.

commit 4e96b320ecb8449d2650dcbadbb675a2833d4b43
Author: robertall <robertall>
Date:   Sat, 25 Oct 2008 03:47:47 +0800
Tag:    v1.9.4

[MDL-15425] Search Filters are too persistant

commit 30f54a9c169e8f6ad5bc70a505e12089a8d06af9
Author: robertall <robertall>
Date:   Wed, 02 Jul 2008 20:53:26 +0800
Tag:    v2.0.0-rc1

[MDL-15426] Distinguish latlong value being zero from no value.  Merged from MOODLE_19_STABLE.

commit 74b4814e9cfbe9e1400c81ad302c2e9cb9d73202
Author: robertall <robertall>
Date:   Wed, 02 Jul 2008 20:42:15 +0800
Tag:    v1.9.2

[MDL-15426] Distinguish latlong value being zero from no value

commit 0721309f29fbe189d4875daf06d6e0a7e39228bd
Author: robertall <robertall>
Date:   Thu, 26 Jun 2008 16:07:05 +0800
Tag:    v2.0.0-rc1

[MDL-15423] Remove useless latlong formatting operations. Merged from MOODLE_19_STABLE.

commit 97e32066cd9454b97d02edcf62ab8889d209d204
Author: robertall <robertall>
Date:   Thu, 26 Jun 2008 16:04:04 +0800
Tag:    v1.9.2

[MDL-15423] Remove useless latlong formatting operations.

commit 9c1ae6fc6516d871832511062fdc6ce74428cecc
Author: robertall <robertall>
Date:   Thu, 26 Jun 2008 14:15:55 +0800
Tag:    v2.0.0-rc1

[MDL-14440] Show latlong field at list and single view in a prettier way. Merged from MOODLE_19_STABLE.

commit 737f2c15b26c048fffd67a12f0f6622f872b540b
Author: robertall <robertall>
Date:   Thu, 26 Jun 2008 14:09:47 +0800
Tag:    v1.9.2

[MDL-14440] Show latlong field at list and single view in a prettier way.

commit 674b6ace0f1c6fb93550ade5ac0942554ba4f7ca
Author: robertall <robertall>
Date:   Thu, 26 Jun 2008 01:31:23 +0800
Tag:    v2.0.0-rc1

[MDL-14129] s/invild/invalid/ from previous commit

commit 7a8039c2e2f7db4061553e8c2eb70cfb958ae74c
Author: robertall <robertall>
Date:   Wed, 25 Jun 2008 18:22:34 +0800
Tag:    v1.9.2

[MDL-15298] Avoid printing a warning if debugging is enabled. Backported from HEAD.

commit 242b238c2a39ac45b2bc1b3afb83cc5204679615
Author: robertall <robertall>
Date:   Wed, 25 Jun 2008 18:20:01 +0800
Tag:    v2.0.0-rc1

[MDL-15298] Avoid printing a warning if debugging is enabled

commit 5d0f79e1b29586a7ec4705891ceb35289b426b63
Author: robertall <robertall>
Date:   Thu, 19 Jun 2008 01:45:09 +0800
Tag:    v2.0.0-rc1

[MDL-15308] Automatically download exported preset. Merged from MOODLE_19_STABLE.

commit 720c7c06248f33a214b617712d98bad22e468ae0
Author: robertall <robertall>
Date:   Thu, 19 Jun 2008 01:42:43 +0800
Tag:    v1.9.2

[MDL-15308] Automatically download exported preset.

commit a4736e2808969a93efc10080a2c07cd91ec147ad
Author: robertall <robertall>
Date:   Wed, 18 Jun 2008 22:49:44 +0800
Tag:    v2.0.0-rc1

[MDL-15300] Remove temporary files created while exporting a preset as ZIP file. Merged from MOODLE_19_STABLE.

commit 5d7e3a41b2c7cce1728b4d9bf1c1e5da88e47c0f
Author: robertall <robertall>
Date:   Wed, 18 Jun 2008 22:42:20 +0800
Tag:    v1.9.2

[MDL-15300] Remove temporary files created while exporting a preset as ZIP file.

commit 933c129603f5ba1c7f82ca15ae6dac22b7dfa7de
Author: robertall <robertall>
Date:   Wed, 18 Jun 2008 19:53:15 +0800
Tag:    v2.0.0-rc1

[MDL-15298] Don't create preset ZIP always in the same directory, as the same file name. Merged and ported from MOODLE_19_STABLE.

commit 72c5387098ebf19ffa1a56a427908a795dfad9ad
Author: robertall <robertall>
Date:   Wed, 18 Jun 2008 19:39:43 +0800
Tag:    v1.9.2

[MDL-15298] Don't create preset ZIP always in the same directory, as the same file name.

commit 45d4986761ac63297e7e2dc11d54eaab2e07ad81
Author: robertall <robertall>
Date:   Tue, 17 Jun 2008 02:33:26 +0800
Tag:    v2.0.0-rc1

[MDL-15258] Clean up data_presets_export() function.

commit e869c370bbf3475845fceda7e69116c139e7fdcf
Author: robertall <robertall>
Date:   Tue, 17 Jun 2008 02:32:44 +0800
Tag:    v1.9.2

[MDL-15258] Clean up data_presets_export() function.

commit 7c6a0735b5bb9cd6c13ca8149eb105fa26a6a31f
Author: robertall <robertall>
Date:   Mon, 16 Jun 2008 22:02:27 +0800
Tag:    v2.0.0-rc1

[MDL-15258] Move data_presets_export() function out from common module specific library. Merged and ported from MOODLE_19_STABLE.

commit 12ab8a517bf20b34d0607d144410641d05e95dec
Author: robertall <robertall>
Date:   Mon, 16 Jun 2008 21:46:43 +0800
Tag:    v1.9.2

[MDL-15258] Move data_presets_export() function out from common module specific library.

commit efe056922bc900fa3602d4929ffd9636b7912803
Author: robertall <robertall>
Date:   Sun, 15 Jun 2008 23:35:27 +0800
Tag:    v2.0.0-rc1

[MDL-15069] Change filename of exported preset to ensure downloading the latest version. Merged and ported from MOODLE_19_STABLE.

commit 895dc1bb7d1335867b6b1ddd7d32970e3d5f31f2
Author: robertall <robertall>
Date:   Sun, 15 Jun 2008 23:17:30 +0800
Tag:    v1.9.2

[MDL-15069] Change filename of exported preset to ensure downloading the latest version.

commit a7e35395aa7a42e72743d6042fc43ca951675b8f
Author: robertall <robertall>
Date:   Thu, 12 Jun 2008 23:18:13 +0800
Tag:    v2.0.0-rc1

[MDL-8407] Re-added one line of code from v 1.176 needed by tabs.php and export.php to make the default role required to export database records weaker. Sorry for the messup in merging at the previous commit.

commit 86be772077e578a69b7363ebdb8716d266463947
Author: robertall <robertall>
Date:   Thu, 12 Jun 2008 21:55:46 +0800
Tag:    v2.0.0-rc1

[MDL-8407] Make the default role required to export database records weaker (use the 1.9 mod/data capability "viewalluserpresets"). Merged from MOODLE_19_STABLE.

commit 258730666e27efab2e1cbb1d95b33df3879de8b1
Author: robertall <robertall>
Date:   Thu, 12 Jun 2008 21:49:40 +0800
Tag:    v1.9.2

[MDL-8407] Make the default role required to export database records weaker (use the 1.9 mod/data capability "viewalluserpresets").

commit 7f008c0502ac81d57118e91e01a82c0b4c114e57
Author: robertall <robertall>
Date:   Sat, 31 May 2008 23:05:57 +0800
Tag:    v2.0.0-rc1

[MDL-8407] Don't offer the semicolon in the CSV delimiter selection menu. Merged from MOODLE_19_STABLE.

commit 16b448da57b4d5f27d0777673757bb5a9b4dd4a5
Author: robertall <robertall>
Date:   Sat, 31 May 2008 23:03:34 +0800
Tag:    v1.9.2

[MDL-8407] Don't offer the semicolon in the CSV delimiter selection menu.

commit 668fc89a88eba30cd49331ea1a9e9db3bd882d26
Author: robertall <robertall>
Date:   Sat, 31 May 2008 17:51:48 +0800
Tag:    v2.0.0-rc1

[MDL-14334] Export fields in preset.xml in the order as shown in the Fields tab. Merged from MOODLE_19_STABLE.

commit 7960121a2c1bc69e80f4bade2cc2c6be5ee05eb0
Author: robertall <robertall>
Date:   Sat, 31 May 2008 17:48:35 +0800
Tag:    v1.9.2

[MDL-14334] Export fields in preset.xml in the order as shown in the Fields tab.

commit b8b554ac48e581039fa0fe4eaffec02258216d3b
Author: robertall <robertall>
Date:   Sat, 31 May 2008 08:30:00 +0800
Tag:    v2.0.0-rc1

[MDL-8407] Last obligate commit to support exporting records of a database activity as a CSV, XLS, or ODS file. Merged from MOODLE_19_STABLE.

commit 2852740b2e40383eddea7154a521d54ac1e2be1c
Author: robertall <robertall>
Date:   Sat, 31 May 2008 08:24:23 +0800
Tag:    v1.9.2

[MDL-8407] Last obligate commit to support exporting records of a database activity as a CSV, XLS, or ODS file.

commit 2096fcf9ad06cef7fc67b8f10c4624ab26c71338
Author: robertall <robertall>
Date:   Sat, 31 May 2008 06:19:44 +0800
Tag:    v2.0.0-rc1

[MDL-8407] Add two new files that contain the core CSV/XLS/ODS export code.

commit 7ce1f36198523ab765dc3c1fabe17e53e4124b26
Author: robertall <robertall>
Date:   Sat, 31 May 2008 06:17:31 +0800
Tag:    v1.9.2

[MDL-8407] Add two new files that contain the core CSV/XLS/ODS export code.

commit afac85c9eba3ebd73cd7bd126cf5b96044d5bef4
Author: robertall <robertall>
Date:   Sat, 31 May 2008 05:00:06 +0800
Tag:    v2.0.0-rc1

[MDL-8407] Replace four language strings that will be used by 'mod/data/export_form.php' to be committed later. Merged from MOODLE_19_STABLE.

commit d7652a4e1f5086a6a441588af59e71adb59abe0b
Author: robertall <robertall>
Date:   Sat, 31 May 2008 04:57:22 +0800
Tag:    v1.9.2

[MDL-8407] Replace four language strings that will be used by 'mod/data/export_form.php' to be committed later.

commit ed019b50eb9b4ac2320e1f5a60eefdf5f7653f80
Author: robertall <robertall>
Date:   Sat, 31 May 2008 00:13:35 +0800
Tag:    v2.0.0-rc1

[MDL-14771] Replace direct use of function number_format() by format_float(). Some whitespace cleaned up has been made, too. Merged from MOODLE_19_STABLE.

commit 2b9028dcd3b0910432396ef70b7596609a180564
Author: robertall <robertall>
Date:   Sat, 31 May 2008 00:10:42 +0800
Tag:    v1.9.2

[MDL-14771] Replace direct use of function number_format() by format_float(). Some whitespace cleaned up has been made, too.

commit 6a82584b15f51d8913ea7e0d7cedc71fe0aa9d6d
Author: robertall <robertall>
Date:   Fri, 30 May 2008 18:22:01 +0800
Tag:    v2.0.0-rc1

[MDL-8407] Replace one language string that will be used by 'mod/data/export_form.php' to be committed later.  Merged from MOODLE_19_STABLE.

commit 8da9517d6047525c7ee5c18ff92e44a16dfa6e4f
Author: robertall <robertall>
Date:   Fri, 30 May 2008 18:19:11 +0800
Tag:    v1.9.2

[MDL-8407] Replace one language string that will be used by 'mod/data/export_form.php' to be committed later.

commit 2858af42407619fac47f45dc209bda66c834a68f
Author: robertall <robertall>
Date:   Fri, 30 May 2008 10:03:39 +0800
Tag:    v2.0.0-rc1

[MDL-8407] Add new function text_export_supported() or export_text_value() to those "mod/data/field/*/field.class.php" files which need them. The existing code formatting has been cleaned up, too.  Merged from MOODLE_19_STABLE.

commit 22cceb0cc998d1f073290a5c3ae461164edc123f
Author: robertall <robertall>
Date:   Fri, 30 May 2008 09:34:41 +0800
Tag:    v1.9.2

[MDL-8407] Add new function text_export_supported() or export_text_value() to those "mod/data/field/*/field.class.php" files which need them. The existing code formatting has been cleaned up, too.

commit a84f7fddec856fe22cb0ef65030eb0a3b7fbed38
Author: robertall <robertall>
Date:   Fri, 30 May 2008 03:17:46 +0800
Tag:    v2.0.0-rc1

[MDL-14771] Backend code to allow a "number" field to be displayed with a specified number of decimal digits. Merged from MOODLE_19_STABLE.

commit 775a5f40202a0019a13cb113893d2a0084c04604
Author: robertall <robertall>
Date:   Fri, 30 May 2008 03:12:37 +0800
Tag:    v1.9.2

[MDL-14771] Backend code to allow a "number" field to be displayed with a specified number of decimal digits.

commit 8f31ccd51ad86317abd35080f6c59b62be3f31bf
Author: robertall <robertall>
Date:   Wed, 28 May 2008 21:10:58 +0800
Tag:    v2.0.0-rc1

[MDL-14442] Resolve reopened bug for importing database records as CSV by applying "MDL-14442-clean_param.patch" (see tracker). Don't use PARAM_NOTAGS anymore. Merged from MOODLE_19_STABLE.

commit 6f45a07d85567683886ba61ed189216ab1dac229
Author: robertall <robertall>
Date:   Wed, 28 May 2008 21:08:11 +0800
Tag:    v1.9.2

[MDL-14442] Resolve reopened bug for importing database records as CSV by applying "MDL-14442-clean_param.patch" (see tracker). Don't use PARAM_NOTAGS anymore.

commit aa40f47a87297d569acd762b166cb23cd0c62617
Author: robertall <robertall>
Date:   Wed, 28 May 2008 20:23:38 +0800
Tag:    v2.0.0-rc1

[MDL-8407] Finish preparation of language strings required to allow exporting records of a database avtivity. Merged from MOODLE_19_STABLE.

commit 849f63482c36468f4f45bc62345b583e98c2383c
Author: robertall <robertall>
Date:   Wed, 28 May 2008 20:04:38 +0800
Tag:    v1.9.2

[MDL-8407] Finish preparation of language strings required to allow exporting records of a database avtivity.

commit 7048e9a4f6651d7929b393729a45ba27b3a31cb3
Author: robertall <robertall>
Date:   Wed, 28 May 2008 19:27:51 +0800
Tag:    v2.0.0-rc1

[MDL-8407] [MDL-14129] Fix little typo in error message 'invalidcourseid'. This error message will  be used for solving MDL-8407. Same message has already been committed to MOODLE_19_STABLE.

commit 994f8253f0c141bb5ac53d06bd51701422efd80a
Author: robertall <robertall>
Date:   Wed, 28 May 2008 19:21:38 +0800
Tag:    v1.9.2

[MDL-8407] [MDL-14129] First step of patch to allow exporting records of a database avtivity. Three new error messages added in Moodle 2.0 style, to be used by 'mod/data/export.php' to be commited later. They are already present in HEAD.

commit 02ee7f3721445a8e5535ec79f3eb30a98e2908d2
Author: robertall <robertall>
Date:   Tue, 27 May 2008 15:43:14 +0800
Tag:    v2.0.0-rc1

[MDL-14788] Don't store empty number fields as 0

commit e31e99f8f1cd163bbbad1688b898b3c53858e4f5
Author: robertall <robertall>
Date:   Tue, 27 May 2008 15:38:42 +0800
Tag:    v1.9.2

[MDL-14788] Don't store empty number fields as 0

commit 98f67312c1ac921693e6921d7e0e205e55116b75
Author: robertall <robertall>
Date:   Sat, 24 May 2008 19:09:42 +0800
Tag:    v2.0.0-rc1

[MDL-14816] Escape special regex characters before applying perl compatible regex substitution of field names for database activity's advanced search. Merged from MOODLE_19_STABLE

commit 0654809d51a28e1f7abe2df0f657778ff10f9c8c
Author: robertall <robertall>
Date:   Sat, 24 May 2008 19:02:17 +0800
Tag:    v1.9.2

[MDL-14816] Escape special regex characters before applying perl compatible regex substitution of field names for database activity's advanced search

commit 3df06e6b332450b7e0c51982b2bc55691549ce62
Author: robertall <robertall>
Date:   Thu, 15 May 2008 02:11:22 +0800
Tag:    v2.0.0-rc1

MDL-14442: apply addslashes() before importing values, to allow quotes in field's values. Merged from MOODLE_19_STABLE

commit d80e3a0b10fd55d00e3aedf7d1e6ce36a7887432
Author: robertall <robertall>
Date:   Thu, 15 May 2008 01:07:22 +0800
Tag:    v1.9.1

MDL-14442: apply addslashes() before importing values, to allow quotes in field's values

commit cd91db16305f60703538480eb208dca30d1f13b2
Author: robertall <robertall>
Date:   Tue, 13 May 2008 23:28:37 +0800
Tag:    v1.9.1

MDL-14442: added error checking to update_record() and insert_record() calls

commit 5690a10e32e2f6c58cf71b7145aa9144bfd42856
Author: robertall <robertall>
Date:   Tue, 13 May 2008 03:55:20 +0800
Tag:    v1.9.1

MDL-14442: Import all records of a database activity that has been exported as CSV