Ralf Becker
18d74430ea
* Backup/Addressbook: adding limited index-length to backed up schema and fix restore of old backups without (default to 32 on multicolumn indexes including text columns)
2012-04-12 08:04:35 +00:00
Ralf Becker
5396f9c02f
fix for PostgreSQL notification update not working: some stuff is NOT to be quoted
2011-05-18 10:12:32 +00:00
Ralf Becker
5495491e78
* Admin: session-list is generated now from egw_access_log table independent of readablity of sessions files in filesystem
...
- session_(dla|action) is stored in egw_access_log table
- notifications refresh via ajax set notification_heartbeat timestamp in egw_access_log
- if notification_heartbeat is set (happens only for browser sessions with popup notification) sessions get removed from session list one minute after browser is closed
- new static method egw_session::notifications_active($account_id) to check if given user has an open browser with notifications popup checking, to ensure popup notifications can fall back to email
--> REQUIRES DATABASE UPDATE / SETUP
2011-04-13 14:11:09 +00:00
Ralf Becker
07da314086
using own CreateIndex() method in CreateTable(), to deal correctly with size-limited indexes in PostgreSQL
2010-09-16 11:58:25 +00:00
Ralf Becker
ae8ec8748b
CreateIndex: remove length limits from column names, if DB type is NOT MySQL
2010-09-16 10:22:43 +00:00
Ralf Becker
1e9695dbc9
allow to limit size of index by appending it in brackets after the column name, eg. "column(32)", which is already supported by ADOdb, by was broken by our fix to always quote names, to allow column names which are reserved words, eg. "timestamp" in phpfreechat
2010-09-15 13:27:26 +00:00
Ralf Becker
09719babaf
replace deprecated call_user_method(_array) with call_user_func(_array)
2010-07-20 16:47:11 +00:00
Ralf Becker
8c8d1e7b8c
"cant create an index without fields (was observed in broken backups)"
2009-08-17 07:30:47 +00:00
Ralf Becker
a083233c43
"allow to use now() beside current_timestamp, as Postgres backups contain it and it's easier to remember anyway"
2009-05-15 07:18:06 +00:00
Ralf Becker
9f3d5f4b4c
"longtext need to be handled like text"
2008-11-02 09:46:42 +00:00
Ralf Becker
16c5ce05ac
fixed "There's NO ADOdb object!" error in DB backup/restore via
...
setup-cli.php
2008-07-21 09:40:58 +00:00
Ralf Becker
2d1b53b835
"using standard md5() instead of hash('md5',...), as it's only a pecl extension"
2008-05-27 20:02:56 +00:00
Ralf Becker
62ca85a1b8
"phpdoc file header and __constuct()"
2008-05-24 06:59:35 +00:00
Ralf Becker
17b8868698
"shorten index names longer or equal to 64 chars for all db types"
2008-05-24 06:37:19 +00:00
Ralf Becker
bd4b0cc4ef
"added a query log, independent of the db used"
2007-10-19 05:48:52 +00:00
José Luis Gordo Romero
3081b0a05a
ORA - Fixed schema creation (indexes, triggers and secuences):
...
Indexes: The solution of put the index name of the first columnt dont't
work because duplicates, create instead a hash of the large name (PHP 5
>= 5.1.2, PECL hash:1.1-1.5) with an fixed char at beginning (Oracle
objects names can't start with a number)
Secuences & triggers: create a a hash of the large name.
2007-10-18 04:29:16 +00:00
Ralf Becker
7f64e2d175
fix for bug #488 : Postgres errors when upgrading to 1.4 beta
2007-05-12 16:58:47 +00:00
Pim Snel
c1c6bddace
- fix bug in egw_db so that it will always work with postgresql if using external db's
...
- enhance schema_proc so that it can work with schema's of externals db objects
2006-12-20 15:18:27 +00:00
Ralf Becker
e6998c2ecf
PostgreSQL 8.1 fix
2006-12-20 09:26:04 +00:00
Ralf Becker
a85c611961
fix: suppress index or unique index, which is already a primary key
2006-04-09 10:56:29 +00:00
Carsten Wolff
99cb0bd567
fixed a handfull of bugs that broke setup/update from 1.0 to 1.2
2006-01-06 16:21:51 +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
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
970a92297e
an other big update ;-)
...
1) phpgw_lang(uages) --> egw_lang(uages)
2) mysql 4.0+
- charset gets now set for the connect
- charset gets used for new tables
- some columns shortend to deal with 1000byte (= 333 utf-8 chars) limit for indexes
- update to 1.0.1.019 fixes the charset of existing tables
2005-11-04 18:35:09 +00:00
Ralf Becker
cea4c314d2
phpgw_setup --> egw_setup
2005-06-20 22:07:40 +00:00
Lars Kneschke
062f20ec42
chaning phpgw -> egw
2005-06-20 11:04:20 +00:00
Ralf Becker
84ab716959
$GLOBALS['phpgw --> $GLOBALS['egw
2005-06-20 07:51:01 +00:00
Lars Kneschke
402d3b60e8
little type
2005-05-29 11:23:51 +00:00
Ralf Becker
d9ba5f9ab8
fixed update problem of wiki, RenameColumn could not deal with column-names in mixed case
2005-02-27 19:51:24 +00:00
Ralf Becker
4d498d47cb
updates to work around postgres error while upgrading a phpGW 0.9.14 install
2005-02-10 15:15:29 +00:00
Ralf Becker
bff130735c
automaticaly lowercase column- and tablenames for oracle (as already done for MaxDB) and setting the maximum index length for oracle to 30
2005-02-07 20:28:05 +00:00
Ralf Becker
3b2da86ce2
postgres fix (error in converting varchar to int if >= 100)
2004-11-21 22:40:21 +00:00
Ralf Becker
630c88d766
reworked installation/upgrade process to not use delta-updates any more, as we can now reliable read the schema back from our supported databases:
...
- makes update scripts a lot easier and saver
- updates are a lot faster now
==> only the needed update-functions get called
2004-10-23 15:00:44 +00:00
Ralf Becker
ba55620f3d
fixed the schema-retrival functions for MySql, Postges and MaxDB
2004-10-14 20:55:52 +00:00
Ralf Becker
b3971d810c
RenameColumn no checks if column is used in an index and evtl. rename the column in the index-definition (for the baseline delta)
2004-08-26 14:18:09 +00:00
Ralf Becker
647222728c
fix for MaxDB not returning the primary keys via MetaColumns
2004-08-15 16:20:39 +00:00
Ralf Becker
531dbe93c7
added function to read back / import the schema from an existing database (used in setup and db-tools)
2004-08-15 15:43:52 +00:00
Ralf Becker
d5dbb7ef72
new schema_proc class seems to work now
2004-08-13 19:01:03 +00:00
Ralf Becker
c591c2c221
fixed / added mssql support for egw and fixed some other Windows probs on the way ;-)
...
- knowledgebase is not working: select distinct is not possible with text-columns
- fudforum is not working: is does not use ADOdb and has no own db-layer for mssql
- other apps seem to work, everthing needs through testing - incl. our "old" db's
2004-07-25 01:41:37 +00:00
Ralf Becker
5298bee355
removed "re"
2004-07-03 11:00:24 +00:00
Ralf Becker
39c7cc14da
fixed (hopefully last) postgres problem with the indices: sequences have not been set, after the data was inserted into the newly created table
2004-07-02 22:12:10 +00:00
Ralf Becker
a1d4a47172
workaround for a Postgres bug in RefreshTable: unable to find "<" operator for type "unknown", cause by an empty string ('') in a select distinct query
2004-06-27 09:53:58 +00:00
Ralf Becker
3edc6525f2
fix for php 4.1 (print_r with 2 params)
2004-05-24 14:23:46 +00:00
reinerj
48f840d7de
move from old projct to new one
2004-05-05 12:06:13 +00:00
Ralf Becker
0bfe2bcd98
fix to remove dublicates in none-indexed tables
2004-04-03 13:00:19 +00:00
Ralf Becker
c09e4eb4c8
fixed typo
2004-04-03 10:22:08 +00:00
Ralf Becker
dcd1912a7b
added default values parameter to RefreshTable
2004-02-29 00:13:47 +00:00
Ralf Becker
06ab7f4476
added new function RefreshTable to:
...
1. change or newly create the primary key or any other index
2. change the order of columns, drop and add multiple columns in one go
2004-02-19 08:48:15 +00:00
shrykedude
653a5e78d3
Avoid multiple NOT NULL parameters, as with MySQL auto_increment fields
2004-01-18 02:23:48 +00:00
Miles Lott
3c12d529f8
Modifed GetIXSQL routines to actually return valid index SQL for postgresql; This needs to be tested further, but does appear to work.
2003-12-17 13:58:02 +00:00