174 Commits

Author SHA1 Message Date
skodak
a7b4fc7f28 MDL-17399 workaround for missing mysqli ext 2008-11-27 22:28:56 +00:00
skodak
ce1526061c MDL-17317 DML: more exceptions - now in connect too 2008-11-22 01:16:52 +00:00
skodak
3eae57b74e MDL-17353 native drivers are now default instead of obsoleted adodb drivers 2008-11-21 20:42:28 +00:00
skodak
9214025e3e MDL-17129 basic dml exceptions 2008-11-04 21:50:13 +00:00
skodak
1fe1d10454 MDL-16930 dml: exceptions instead of print_error 2008-10-28 15:21:01 +00:00
skodak
beaa43db85 MDL-17036 dml: dbpersist moved into dboptions 2008-10-27 22:21:34 +00:00
skodak
49459eb03a MDL-16930 dml - towards exceptions 2008-10-24 17:56:35 +00:00
skodak
8aff848213 MDL-14589 minor database driver loading refactoring 2008-09-02 20:32:03 +00:00
skodak
3dce78e125 MDL-15247 lib/dmllib.php is now obsolete 2008-06-15 11:35:25 +00:00
skodak
e4c033a9dd MDL-15194 adodb separation, dml database creation support 2008-06-09 20:22:11 +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
6093e39612 MDL-15094 fixed typo 2008-06-08 15:25:04 +00:00
skodak
f5c752f9b3 MDL-14679 removed all instances of get_fieldset_sql() 2008-06-01 16:17:07 +00:00
skodak
f36817104d MDL-14679 removed all instances of get_fieldset_select() 2008-06-01 16:16:08 +00:00
skodak
1c69b88529 MDL-14679 removed all instances of set_field_select() 2008-06-01 16:14:59 +00:00
skodak
058c5543b9 MDL-14679 removed all instances of records_to_menu() 2008-06-01 16:11:09 +00:00
skodak
76ed05e523 MDL-14679 removed all instances of recordset_to_menu() 2008-06-01 16:10:20 +00:00
skodak
e9b13bdddc MDL-14679 removed all instances of column_type() 2008-06-01 16:09:27 +00:00
skodak
c6307ef24d MDL-14679 removed all instances of get_records_sql_menu() 2008-06-01 16:08:16 +00:00
skodak
534792cd82 MDL-14679 removed all instances of get_records_select_menu() 2008-06-01 15:52:12 +00:00
skodak
3b11272373 MDL-14679 removed all instances of get_records_menu() 2008-06-01 15:44:59 +00:00
skodak
2adc0e3eb6 MDL-14679 prevent fatal delete_records() problems if $DB forgotten 2008-05-30 12:36:07 +00:00
skodak
0a0ea79d7d MDL-14957 get_columns() improvements - mostly docs; definition moved to new file 2008-05-25 22:21:01 +00:00
skodak
37f7c9b0ae MDL-14966 Moved moodle_recordset to separate class into lib/dml 2008-05-25 20:17:40 +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
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
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
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
tjhunt
015f926d6e MDL-14726 - rcache bit wrong in set_field 2008-05-07 13:04:43 +00:00
stronk7
272ccb9702 Modify sql_concat() to support all elements being numeric. MDL-13823 ; merged from 19_STABLE 2008-04-20 21:19:38 +00:00
stronk7
05c75fcebf Fix wrong conversion from '0' to '' in oracle_diry_hack. MDL-14182 ; merged from 19_STABLE 2008-04-04 11:24:57 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
f8f1f8076f MDL-13945 prevent fatal errors in all rs_xx functions; merged from MOODLE_19_STABLE 2008-03-16 22:48:39 +00:00
skodak
600fe3b333 MDL-13944 rs_close() does not throw fatal error if rs does not exist aynmore; merged from MOODLE_19_STABLE 2008-03-16 22:08:14 +00:00
skodak
2516a42ad1 MDL-13762 some debug code and workaround for sloppy use of recordsets; merged from MOODLE_19_STABLE 2008-03-04 09:24:04 +00:00
skodak
6b7af68720 MDL-13237, MDL-13661 - fixing rcache regression, sorry :-(; merged from MOODLE_19_STABLE 2008-02-25 15:15:36 +00:00
skodak
9801a97a36 MDL-13550 deprecated primary role concept; merged from MOODLE_19_STABLE 2008-02-21 09:30:13 +00:00
skodak
61460dd631 MDL-13192 major stats cleanup patch - see tracker for more details; merged from MOODLE_19_STABLE 2008-02-16 18:33:50 +00:00
nicolasconnault
2c1bfda65e MDL-12158 Applied Matt's patch, merging from 1.9 2008-02-05 10:39:56 +00:00
skodak
a3ff2dc294 MDL-13038 update_record now works with boolean false; merged from MOODLE_19_STABLE 2008-02-04 23:53:26 +00:00
skodak
56edc4490d MDL-13237 rceche limiting through intcachemax finally implemented - this should prevent major memory leaks; merged from MOODLE_19_STABLE 2008-01-29 17:30:46 +00:00
stronk7
5042a60af4 sql_isnull() not used anymore. Deleting. MDL-12970 ; merged from 19_STABLE 2008-01-27 01:40:46 +00:00
scyrma
6a8fd52898 Small documentation fix. 2008-01-09 04:10:02 +00:00
poltawski
667a2d481e MDL-12882 - we were caching empty records which caused clone warnings
merged from MOODLE_19_STABLE
2008-01-08 20:20:36 +00:00
martinlanghoff
2e7e89a907 dmllib:rcache_set()/rcache_get() - use clone() function which we can support in PHP4 - MDL-12827 2008-01-08 04:13:32 +00:00
mjollnir_
2f13f94ccc New feature: Command line installer. Credit: Dilan Anurudda.
This was a Google Summer of Code 2007 Project.

This introduces two new files, admin/cliupgrader.php and lib/installlib.php.

It also introduces a new PEAR library, Console_GetOpt.  I have recieved permission from the upstream author to include this in GPL Moodle (essentially dual license it) -  notes in lib/pear.

Most stuff that outputs html during install gets suppressed by the use of a constant.

Run the script like  php admin/cliupgrade.php --help for info.

Note that this all uses strings from install/ rather than lang, so I have updated stringnames.txt accordingly and they'll all be broken until the cronjob that generates them runs.
2008-01-07 01:54:28 +00:00
martinlanghoff
944a2c938f dmllib:rcache_get()/rcache_set() clone cached records - we do not want magic references here - MDL-12827\n And calling fullclone() with the huge cost in serialize()/unserialize() is not needed. 2008-01-06 22:46:20 +00:00
nicolasconnault
7dd512670b MDL-12827 Saving a clone of the $record in the cache instead of the record itself, to avoid referencing 2008-01-04 09:23:42 +00:00
stronk7
35c1c575d4 After some more tests... apply the new preconfigure_dbconnection()
to core. MDL-12657

Merged from MOODLE_19_STABLE
2007-12-20 23:15:03 +00:00