Commit Graph

60 Commits

Author SHA1 Message Date
3bef4b2a26 * Tracker: dropping unique index(es) on escalations to not limit creating same escalations eg. on different queues
Was previously done by modifying index to contain more columns in update, but not new installations.
Now droping all existing unique indexes completly.
2014-01-14 11:06:31 +00:00
d48e8f4d84 * PostgreSQL: fix for SQL error eg. on update from 1.8.001 to 1.8.004 from 9.1 on 2013-07-16 06:47:54 +00:00
34f3c8bf1f * Admin/Setup: fixed restore always converted longtext columns to text and therefore truncating them to 64k on MySQL, also fixed backup to report them correctly in backup of schema 2013-01-21 09:49:59 +00:00
c0f83a275d * API/Setup/MySQL: fixed backup to correctly report boolean columns and support MySQL 5.0+ varchar(>255) 2012-08-12 09:49:06 +00:00
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
5396f9c02f fix for PostgreSQL notification update not working: some stuff is NOT to be quoted 2011-05-18 10:12:32 +00:00
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
07da314086 using own CreateIndex() method in CreateTable(), to deal correctly with size-limited indexes in PostgreSQL 2010-09-16 11:58:25 +00:00
ae8ec8748b CreateIndex: remove length limits from column names, if DB type is NOT MySQL 2010-09-16 10:22:43 +00:00
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
09719babaf replace deprecated call_user_method(_array) with call_user_func(_array) 2010-07-20 16:47:11 +00:00
8c8d1e7b8c "cant create an index without fields (was observed in broken backups)" 2009-08-17 07:30:47 +00:00
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
9f3d5f4b4c "longtext need to be handled like text" 2008-11-02 09:46:42 +00:00
16c5ce05ac fixed "There's NO ADOdb object!" error in DB backup/restore via
setup-cli.php
2008-07-21 09:40:58 +00:00
2d1b53b835 "using standard md5() instead of hash('md5',...), as it's only a pecl extension" 2008-05-27 20:02:56 +00:00
62ca85a1b8 "phpdoc file header and __constuct()" 2008-05-24 06:59:35 +00:00
17b8868698 "shorten index names longer or equal to 64 chars for all db types" 2008-05-24 06:37:19 +00:00
bd4b0cc4ef "added a query log, independent of the db used" 2007-10-19 05:48:52 +00:00
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
7f64e2d175 fix for bug #488: Postgres errors when upgrading to 1.4 beta 2007-05-12 16:58:47 +00:00
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
e6998c2ecf PostgreSQL 8.1 fix 2006-12-20 09:26:04 +00:00
a85c611961 fix: suppress index or unique index, which is already a primary key 2006-04-09 10:56:29 +00:00
99cb0bd567 fixed a handfull of bugs that broke setup/update from 1.0 to 1.2 2006-01-06 16:21:51 +00:00
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
9320913b9e - new capability 'name_case'
- docu update
- removed some depricated stuff from the last release
2005-11-20 15:40:28 +00:00
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
cea4c314d2 phpgw_setup --> egw_setup 2005-06-20 22:07:40 +00:00
062f20ec42 chaning phpgw -> egw 2005-06-20 11:04:20 +00:00
84ab716959 $GLOBALS['phpgw --> $GLOBALS['egw 2005-06-20 07:51:01 +00:00
402d3b60e8 little type 2005-05-29 11:23:51 +00:00
d9ba5f9ab8 fixed update problem of wiki, RenameColumn could not deal with column-names in mixed case 2005-02-27 19:51:24 +00:00
4d498d47cb updates to work around postgres error while upgrading a phpGW 0.9.14 install 2005-02-10 15:15:29 +00:00
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
3b2da86ce2 postgres fix (error in converting varchar to int if >= 100) 2004-11-21 22:40:21 +00:00
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
ba55620f3d fixed the schema-retrival functions for MySql, Postges and MaxDB 2004-10-14 20:55:52 +00:00
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
647222728c fix for MaxDB not returning the primary keys via MetaColumns 2004-08-15 16:20:39 +00:00
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
d5dbb7ef72 new schema_proc class seems to work now 2004-08-13 19:01:03 +00:00
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
5298bee355 removed "re" 2004-07-03 11:00:24 +00:00
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
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
3edc6525f2 fix for php 4.1 (print_r with 2 params) 2004-05-24 14:23:46 +00:00
48f840d7de move from old projct to new one 2004-05-05 12:06:13 +00:00
0bfe2bcd98 fix to remove dublicates in none-indexed tables 2004-04-03 13:00:19 +00:00
c09e4eb4c8 fixed typo 2004-04-03 10:22:08 +00:00