Commit graph

901 commits

Author SHA1 Message Date
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
stronk7
ce7373f85c Replace custom casting code by proper sql_cast_char2int() core function. MDL-12893 ; merged from 19_STABLE 2008-04-21 18:10:09 +00:00
skodak
3239b0104e MDL-14458 - optgroups Fields and Other in search menu; removed unused search code, html labels, added option to sort by time modified; merged from MOODLE_19_STABLE 2008-04-21 14:17:02 +00:00
skodak
ea6073bb48 MDL-13025 added data intro text formatting without cleaning - manage activity cap already marked with XSS risk; merged from MOODLE_19_STABLE 2008-04-21 13:26:08 +00:00
skodak
eaa3081807 MDL-14336 defaultsort now stored as field name in preset.xml; merged from MOODLE_19_STABLE 2008-04-20 19:22:06 +00:00
skodak
8528bf260b MDL-12861 overriding of database settings now optional when using presets; merged from MOODLE_19_STABLE 2008-04-20 10:09:28 +00:00
skodak
2dc6be3f77 MDL-13188 asearchtemplate.htlm in presets implemented; merged from MOODLE_19_STABLE 2008-04-20 09:29:57 +00:00
skodak
a4e3818f2a MDL-14417 fixed sql for menu adv search - multimenu already fixed today; merged from MOODLE_19_STABLE 2008-04-19 21:22:03 +00:00
skodak
029cf8469b MDL-14018 fixed ##more## icon regression, thanks Robert Allerstorfer for all the testing!; merged from MOODLE_19_STABLE 2008-04-19 21:02:10 +00:00
skodak
bb5740f4c8 MDL-14424 - approval icon is bigger again, it is possible to sort by Approved status now; merged from MOODLE_19_STABLE 2008-04-19 20:48:48 +00:00
skodak
33b8ead904 MDL-14018 fixed ugly query - thanks Eloy; merged from MOODLE_19_STABLE 2008-04-19 18:03:32 +00:00
skodak
9a36be0212 MDL-14018 fixed regression, proper LIKE meta quoting, fix displaying when options changed; merged from MOODLE_19_STABLE 2008-04-19 16:47:35 +00:00