Commit graph

6766 commits

Author SHA1 Message Date
skodak
624a690b3d MDL-14679 first part of datalib conversion 2008-05-25 09:39:02 +00:00
skodak
a7544e377a MDL-14974 improved columns caching implementation 2008-05-25 09:31:38 +00:00
stronk7
aa07a81368 First cut of Oracle new adodb driver. Install and tests ok. MDL-14888 2008-05-25 02:45:50 +00:00
stronk7
4d3e94b40f Now oracle generator is also reentrant. MDL-14897 2008-05-25 02:42:06 +00:00
stronk7
c97e8deb3a Changed postgresql sequence fetching to GetID. MDL-7183 2008-05-25 02:38:30 +00:00
stronk7
4572f85588 onespace2empty() needs to be in legacy dmllib() until we kill all
usages of legacy dmllib functions
2008-05-25 02:32:30 +00:00
skodak
cd7f4acc16 MDL-14679 fixed temporary emulation in old set_field() - thanks Joseph Rézeau 2008-05-25 00:15:01 +00:00
stronk7
9c9fad9d71 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.
2008-05-24 23:14:42 +00:00
skodak
dc10f119bb MDL-14679 fixed warning and change false to array() when no users found 2008-05-24 20:43:33 +00:00
skodak
3b90506304 MDL-14679 improved get_in_or_equal() method 2008-05-24 20:42:40 +00:00
skodak
5a4e739817 MDL-14679 accesslib conversion to new dml 2008-05-24 18:35:48 +00:00
skodak
1d2b7f03cd MDL-14679 fixed get_in_or_equal() method 2008-05-24 13:05:34 +00:00
stronk7
46d318bc6e Changed comment 2008-05-23 22:30:42 +00:00
nicolasconnault
da3801e84b MDL-14967 Upgraded gradebook code and unit tests. 4 failing tests in grade_item to fix. 2008-05-23 14:52:50 +00:00
dongsheng
3a4ff63b31 "MDL-14706, see tracker" 2008-05-23 13:17:56 +00:00
sam_marshall
e2ebb572b8 MDL-14965: Pass-by-reference call broke forum on php5 2008-05-23 11:02:46 +00:00
sam_marshall
c2f10673b2 MDL-14965: Pass-by-reference call broke install on php5 2008-05-23 10:36:28 +00:00
dongsheng
ab50023681 "MDL-14706, introduce a progress bar class" 2008-05-23 05:35:38 +00:00
dongsheng
67784b2fe9 "MDL-14706, improve the progress bar, merged from MOODLE_19_STABLE" 2008-05-23 05:29:51 +00:00
jamiesensei
f44e4d1404 MDL-14943 "moodle_url : need way to add extra params when outputting params as hidden fields for forms" added new optional param to method hidden_params_out 2008-05-22 13:29:19 +00:00
jerome
d07fe1a930 MDL-11748 add "protection" to avoid Notices in the A-Z name selector, merged from 19 2008-05-22 02:36:06 +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
5eaa41e8bc 3rd iteration committed: xmldb_table "public" methods changed + debugging of deprecated ones until Moodle 2.1 . MDL-14863 2008-05-21 17:55:23 +00:00
nicolasconnault
73f7ad715e MDL-14905 Started on the DDL functional tests. Added an ugly but temporary hack into error() and print_error(), so that they throw an exception instead of dying when UNITTEST is defined. 2008-05-21 14:59:33 +00:00
thepurpleblob
95dff9da6b MDL-14936
Course managers admin screen shows roles in "correct" order.
2008-05-21 12:28:09 +00:00
nicolasconnault
4cacea3b72 MDL-14905 Completed all core functional tests for database_manager (ddl). Found some API design issues and commented on them using @TODO comments. 2008-05-21 06:34:56 +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
46293bd7b7 MDL-14863 - 1st iteration: lowercase XMLDB constants, object, file and structure (no changes in public API yet) 2008-05-20 17:06:26 +00:00
nicolasconnault
6cef30f7f5 MDL-14905 More tests of database_manager class. Need to replace debugging() with proper exception handling that can be caught and asserted by simpletest. 2008-05-20 13:49:42 +00:00
dongsheng
2f137aa130 "MDL-14129, fix print_error" 2008-05-20 02:53:46 +00:00
stronk7
6d5a22b208 Installer fixed, prefixes improved, moved conn settings to connect() and some more improvements. MDL-14864 2008-05-19 18:02:33 +00:00
nicolasconnault
6395aa3f98 MDL-14905 First battery of ddl tests ready. All pass but one, the rename_index test. 2008-05-19 15:36:31 +00:00
skodak
14913ca4d5 MDL-14894 html purifier updated, merged from MOODLE_19_STABLE 2008-05-19 06:24:33 +00:00
nicolasconnault
b9b17c8a30 Indenting the code properly 2008-05-19 05:20:48 +00:00
stronk7
ed55f6682b Make generators reentrant. MDL-14897 2008-05-19 03:04:41 +00:00
stronk7
f32cf147b8 Fixed some problems handling BLOBs. MDL-14887 2008-05-19 00:24:41 +00:00
stronk7
b75953148d Fix typo. 2008-05-18 01:55:14 +00:00
stronk7
d550521063 First cut of mssql_adodb driver. Able to install HEAD. MDL-14887 2008-05-18 01:27:21 +00:00
stronk7
55b9622a19 Document local change in drivers/adodb-mssql.inc.php. MDL-14886 2008-05-18 01:11:51 +00:00
stronk7
f4607d5309 Fix MSSQL Insert_ID() to work when inserting using placeholders. MDL-14886 2008-05-18 01:06:08 +00:00
stronk7
d02e368d77 non empty prefixes aren't a driver limitation, but a Moodle one. MDL-14877 2008-05-17 20:51:18 +00:00
stronk7
50e0ef5133 Fix one error in SetFetchMode() + minor clean. MDL-14879 2008-05-17 00:04:53 +00:00
stronk7
327744b1db Allow adodb to find tables when working without prefix 2008-05-16 02:32:18 +00:00
dongsheng
7ade55ad96 "MDL-14668, fix course full in activity reports (upgrade course module version)" 2008-05-16 02:15:23 +00:00
stronk7
137e0e6f65 Fixed typo preventing params to be properly passed. 2008-05-15 22:55:27 +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
stronk7
469dcbcc8b prevent NULL contents before field change (old servers can have this wrongly defined). MDL-14859 ; merged from 19_STABLE 2008-05-15 17:03:49 +00:00
tjhunt
994c8c3509 MDL-14835 - Grade not checked against valid range when manua grading 2008-05-15 16:02:12 +00:00
jamiesensei
aad5b0fca9 MDL-14200 "Add group and course averages" added extra rows to the end of the table in quiz overview report also MDL-14187 "Improve tablelib - improve api and add functionality to download table contents in a variety of formats - XLS, ODS and CSV" implemented the first of my proposals for improving tablelib. Added a extra method to use keyed arrays to add a row to a table. Seems obvious that this is an improvement to tablelib and it is an addition to the API so won't affect existing code.
Merged from 1.9 branch.
2008-05-15 12:27:27 +00:00
dongsheng
3c0b6b1610 MDL-14129, fix print_error 2008-05-15 03:22:13 +00:00