Commit graph

12 commits

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