Commit graph

17 commits

Author SHA1 Message Date
Aleksander Machniak
a689f3dce6 Support unicode characters in UIDs on MySQL (Bifrost#T75336)
Fixes DB Error: [1267] Illegal mix of collations (ascii_general_ci,IMPLICIT)
and (utf8_general_ci,COERCIBLE) for operation '='.
2018-02-13 08:54:43 +01:00
Aleksander Machniak
abe4df5a89 Support UIDs up to 512 characters 2017-07-19 14:41:21 +02:00
Thomas Bruederli
39449c11ce Improve groupware object cache synchronization (#3933):
- store and compare the number of objects stored after last sync
- use a (configurable) refresh interval and periodically force re-sync

ATTENTION: requires database schema updates
2015-02-05 15:27:28 +01:00
Aleksander Machniak
bd9b14e3c6 Fix problem with disappearing events caused by DB errors (#4257)
Object "tags" string may for some object types be longer than 255 characters.
Modified "tags" column type to text (clob in Oracle) for all kolab_cache_* tables.
2015-01-16 08:02:51 -05:00
Thomas Bruederli
ae93c7b345 Create domain-aware cache identifiers for groupware folders (#3991) 2014-11-27 09:33:40 +01:00
Thomas Bruederli
e648bee7aa Force cache-rebulding for events and tasks with alarms 2014-04-17 12:36:09 +02:00
Thomas Bruederli
70e5cc438b Adjust cache tables to store large object data 2014-04-09 14:41:48 +02:00
Thomas Bruederli
24a6821749 Resolve UID -> MSGUID mapping from cache table index instead of using IMAP search 2014-04-01 16:32:28 +02:00
Thomas Bruederli
af6d366a1f Optimize access to kolab contacts using a sorted and limited query (#2828)
- Add columns for sorting in kolab_cache_contact
- Extend bin/modcache.sh script to update existing cache records
- Add setters for ORDER BY and LIMIT clauses
- Adapt the kolab_addressbook plugin to fetch contacts page-wise

ATTENTION: This changeset contains database schema changes!
Run `bin/updatedb.sh --dir plugins/libkolab/SQL --package libkolab`

Afterwards, the cached data needs to be updated. To do so, either run
  `plugins/libkolab/bin/modcache.sh update --type=contact`
or execute the following query
  DELETE FROM `kolab_folders` WHERE `type`='contact';
2014-02-10 11:46:50 +01:00
Aleksander Machniak
a7c4ebf15d Fix kolab cache issues with malformed/unsupported character sequences
being stored in data, xml and words columns, which caused malformed
(and inaccessible) objects (Bug #1912, #2662)
2013-12-12 09:45:18 +01:00
Thomas Bruederli
fce62f6df5 Extend contact's xml col to longtext because of the binary data for photo and crypt keys 2013-11-04 10:55:07 +01:00
Thomas Bruederli
cb8249d414 Rename kolab_folders.ID to kolab_folders.folder_id to be in sync with other Roundcube database conventions 2013-10-07 20:06:04 +02:00
Thomas Bruederli
6fb8c71095 Fix queries to kolab_storage that include (obsolete) 'type' 2013-10-07 19:20:45 +02:00
Thomas Bruederli
66e33b946c Better charset settings for kolab_folders table; add statements to migrate existing cache data into the new table structure 2013-10-07 15:26:49 +02:00
Thomas Bruederli
944b42afec Improve database schema and provide schema update queries 2013-10-07 12:13:05 +02:00
Aleksander Machniak
e03156fc1f Implemented new method of storing filename and mimetype of file objects 2013-04-19 14:20:55 +02:00
Aleksander Machniak
7672e60ecb Update SQL scripts to match Roundcube format for schema upgrades, update/add UPGRADING instructions 2013-01-18 09:40:48 +01:00