Commit Graph

109 Commits

Author SHA1 Message Date
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