Git commits in Moodle 2.0.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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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