Commit graph

8 commits

Author SHA1 Message Date
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
7131c802ef Remove "-d enable_dl=On" from shebang (Bug #2387) 2013-11-07 14:47:23 +01:00
Thomas Bruederli
38d113d413 Escape % in resource prefix used for LIKE queries 2013-10-15 14:11:30 +02:00
Thomas Bruederli
bccb7c1417 Adapt the modcache script to the new kolab caching architecture 2013-10-15 10:05:32 +02:00
Aleksander Machniak
17ceedc47b Support 'file' objects 2013-08-07 15:14:19 +02:00
Aleksander Machniak
2d08c58e56 Fix/prepare plugins to use out of Roundcube (where rcmail object doesn't exist) 2012-10-17 11:54:25 +02:00
Thomas Bruederli
77a5efa37c Add cache-warming command (login-as feature not yet tested) 2012-06-20 15:42:16 +02:00
Thomas Bruederli
063988d19e Shell script to modify (expunge/clear/prewarm) Kolab objects cache 2012-06-13 17:57:27 +02:00