Commit graph

812 commits

Author SHA1 Message Date
skodak
04264aeda4 MDL-15343 mod upgrade savepoints implemented (the xmldb generator is not updated yet) 2008-06-22 23:35:52 +00:00
skodak
eee5d9bb85 MDL-14956 DDL exceptions 2008-06-22 16:51:55 +00:00
robertall
5d0f79e1b2 [MDL-15308] Automatically download exported preset. Merged from MOODLE_19_STABLE. 2008-06-18 17:45:09 +00:00
robertall
a4736e2808 [MDL-15300] Remove temporary files created while exporting a preset as ZIP file. Merged from MOODLE_19_STABLE. 2008-06-18 14:49:44 +00:00
robertall
933c129603 [MDL-15298] Don't create preset ZIP always in the same directory, as the same file name. Merged and ported from MOODLE_19_STABLE. 2008-06-18 11:53:15 +00:00
robertall
45d4986761 [MDL-15258] Clean up data_presets_export() function. 2008-06-16 18:33:26 +00:00
robertall
7c6a0735b5 [MDL-15258] Move data_presets_export() function out from common module specific library. Merged and ported from MOODLE_19_STABLE. 2008-06-16 14:02:27 +00:00
robertall
efe056922b [MDL-15069] Change filename of exported preset to ensure downloading the latest version. Merged and ported from MOODLE_19_STABLE. 2008-06-15 15:35:27 +00:00
skodak
b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
robertall
a7e35395aa [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. 2008-06-12 15:18:13 +00:00
skodak
b572ce19dd MDL-8407 reverting last commit - needs to be merged properly 2008-06-12 14:13:51 +00:00
robertall
86be772077 [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. 2008-06-12 13:55:46 +00:00
skodak
245ac55791 MDL-14679 last forgotten bits of dml conversion 2008-06-09 19:48:24 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
e348793639 MDL-15106 towards data mod dml conversion 2008-06-06 08:39:44 +00:00
skodak
9c00b5d7d0 MDL-15106 towards data mod dml conversion 2008-06-06 08:04:22 +00:00
skodak
3223bc9e9b MDL-15106 towards data mod dml conversion 2008-06-06 07:36:17 +00:00
skodak
a656d95103 MDL-15106 towards data mod dml conversion 2008-06-05 19:26:57 +00:00
skodak
cd655b33f9 MDL-15095 towards restore lib dml conversion 2008-06-03 23:35:50 +00:00
skodak
9db7dab2ca MDL-15095 towards restore lib dml conversion 2008-06-03 22:36:54 +00:00
skodak
c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +00:00
skodak
579d45b434 MDL-14679 converted some get courses 2008-06-01 18:12:24 +00:00
skodak
c6307ef24d MDL-14679 removed all instances of get_records_sql_menu() 2008-06-01 16:08:16 +00:00
skodak
fd0e6640cc MDL-14679 fixed some more $db's 2008-05-31 22:18:41 +00:00
robertall
7f008c0502 [MDL-8407] Don't offer the semicolon in the CSV delimiter selection menu. Merged from MOODLE_19_STABLE. 2008-05-31 15:05:57 +00:00
robertall
668fc89a88 [MDL-14334] Export fields in preset.xml in the order as shown in the Fields tab. Merged from MOODLE_19_STABLE. 2008-05-31 09:51:48 +00:00
robertall
b8b554ac48 [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. 2008-05-31 00:30:00 +00:00
robertall
2096fcf9ad [MDL-8407] Add two new files that contain the core CSV/XLS/ODS export code. 2008-05-30 22:19:44 +00:00
robertall
ed019b50eb [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. 2008-05-30 16:13:35 +00:00
robertall
2858af4240 [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. 2008-05-30 02:03:39 +00:00
robertall
a84f7fddec [MDL-14771] Backend code to allow a "number" field to be displayed with a specified number of decimal digits. Merged from MOODLE_19_STABLE. 2008-05-29 19:17:46 +00:00
robertall
8f31ccd51a [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. 2008-05-28 13:10:58 +00:00
robertall
02ee7f3721 [MDL-14788] Don't store empty number fields as 0 2008-05-27 07:43:14 +00:00
robertall
98f67312c1 [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 2008-05-24 11:09:42 +00:00
dongsheng
ec60b8e6da "MDL-14129, fix print_error call" 2008-05-23 08:12:14 +00:00
stronk7
69b80cc2eb 4th iteration committed: xmldb_field, xmldb_index and xmldb_key "public" methods changed + debugging of deprecated ones until Moodle 2.1 . MDL-14863 2008-05-22 00:09:59 +00:00
stronk7
a8cb94f66f MDL-14863 - 1st iteration: lowercase XMLDB table, field, index, key and statement +
wrapper class to support old syntax (no changes in public API yet)
2008-05-20 23:24:40 +00:00
stronk7
e4552afb15 Handle properly in restore the change data->notification from NULL to NOT NULL. MDL-14548 2008-05-15 22:34:52 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
robertall
3df06e6b33 MDL-14442: apply addslashes() before importing values, to allow quotes in field's values. Merged from MOODLE_19_STABLE 2008-05-14 18:11:22 +00:00
dongsheng
64e6c53d57 "MDL-14442, some error checking added" 2008-05-14 02:54:18 +00:00
dongsheng
f85c75b72e "MDL-14442, Import all records of a database activity that has been exported as CSV, merged from MOODLE_19_STABLE, thanks, Robert" 2008-05-13 02:56:51 +00:00
scyrma
59fa45d0f1 MDL-11113: simplify the code - use only one function to check for html editor availability 2008-05-07 07:40:50 +00:00
dongsheng
23360b81dd "MDL-13233, replace the uses of old files to new ones, see tracker" 2008-05-07 03:08:44 +00:00
dongsheng
54c1f2d5fe "MDL-14548, modify the notification field in data module to NOT NULL and default value 0, the version is incorrect, fix it." 2008-04-29 06:49:14 +00:00
dongsheng
f430641247 "MDL-14548, modify the notification field in data module to NOT NULL and default value 0, see tracker" 2008-04-29 06:42:18 +00:00
skodak
d00adf8605 MDL-14484 rerun asearchtemplate upgrade - there were reported problems on some sites; merged from MOODLE_19_STABLE 2008-04-25 15:20:14 +00:00
stronk7
05ac14ca68 Prevent wrong data->notifications to be stored. Default to 0 if empty. MDL-14540 ; merged from 19_STABLE 2008-04-24 17:11:40 +00:00
skodak
b4c8d1ea9c MDL-14424 approve icon now bigger + css class added; merged from MOODLE_19_STABLE 2008-04-22 13:35:51 +00:00
skodak
52f2776d3c MDL-14137 adding minor fix for quotes in fieldname; merged from MOODLE_19_STABLE 2008-04-22 07:31:28 +00:00