Commit Graph

115 Commits

Author SHA1 Message Date
Ralf Becker
14b93846c0 reverted fix from 2005/11/23 as it caused trouble in other areas (eg. vfs class) and fixed the problem (cant insert sql-strings/numerical id's) in the insert-function 2005-12-02 10:41:50 +00:00
Ralf Becker
341eb15afb fixed not working system-charset conversation (now removed) with backup and re-install of backup with a different charset. A setable client encoding is used if availible. 2005-12-01 23:18:07 +00:00
Ralf Becker
68d0668328 fix for bool columns:
- work around some "magic" in ADODB's datadict
- MySQL4.1 allows the standard true/false for inserts only and not as default value
2005-11-29 07:52:18 +00:00
Ralf Becker
4169bd99e1 fixed bug in column_data_implode: numerical keys where used if $only===true 2005-11-23 08:56:43 +00:00
Ralf Becker
597e4b8589 fixed for mysql < 4.1 for the quoting of boolean columns (0/1, instead of standard true/false) 2005-11-21 16:39:43 +00:00
Ralf Becker
9320913b9e - new capability 'name_case'
- docu update
- removed some depricated stuff from the last release
2005-11-20 15:40:28 +00:00
Ralf Becker
c267a875de fixed quoting of bool column to return true or false, as required by newer postgres and accepted by mysql too 2005-11-19 20:14:45 +00:00
Ralf Becker
ef43034467 added some stuff for handling db-charsets:
- db-version gets now queried after the connection is made and before we select the DB, to be availible if the db not yet exists
- create_database can set now the default charset for mysql4.1+, that might make sense for Postgres too
- mysqlt is now translated to mysql in db::Type, as it's queried in many places, which do not recognise mysqlt. You can find the untranslated value now in db::setupType
2005-11-14 08:36:39 +00:00
Ralf Becker
f7ebba2e44 some more db-capabilities:
- like_on_text (boolean)
- order_on_text (boolean or string for sprintf)
2005-11-11 23:08:49 +00:00
Régis Leroy
7b9f0f7b79 add mysqlt type for mysql in transactionnal mode with innodb tables 2005-10-25 15:27:42 +00:00
Ralf Becker
f7ec5b42f5 fix to use our db class with the new php5 mysqli extension 2005-10-01 09:09:45 +00:00
Ralf Becker
7b1229e29a fixed problem in the new db-functions which caused eg. the vfs_class to mailfunction and create two attachments instead of one in infolog 2005-07-22 17:53:02 +00:00
Ralf Becker
f99f2ef4e8 1) eGW enviroment (egw_info-array and egw-object) can now be stored in a php-session and restored from there. It is no longer necessary to create it on every page-request.
At the moment you need to log out to activate any changes in the config, preferences or the apps enabled for a user. This can be changed easily by invalidating the cache.
2) New way to create an anoymous session: you can specify a callback function, which gets called if the session could not be verified. The callback can use the DB or instanciate a config object to get the account-date, which it returns. A new session get then created.
2005-07-17 21:00:49 +00:00
petere78
73d74fa0f3 XHTML 1.0 cleanup for setup application 2005-07-11 18:02:19 +00:00
Ralf Becker
d4760bb15c renamed our db-class to egw_db to allow easier integration of other code (eg. Lars SyncML stuff which is partially from horde) 2005-06-19 12:43:00 +00:00