Commit graph

19 commits

Author SHA1 Message Date
Aleksander Machniak
5271b6e787 Use consistent PHP code style 2024-01-24 11:24:41 +01:00
Aleksander Machniak
28711f7e6e Fix PHP8 warnings 2024-01-16 12:03:19 +01:00
Aleksander Machniak
7810d77969 PHP8 fixes - code style 2023-01-18 16:38:22 +01:00
Christian Mollekopf
d988dac141 PHP 8 fixes
Differential Revision: https://git.kolab.org/D3995
2023-01-18 14:50:31 +01:00
Aleksander Machniak
47f7793ac0 Slim down kolab cache (drop xml column, change data format) (Bifrost#T61991) 2018-12-27 14:26:35 +00:00
Aleksander Machniak
9904323c41 Use cache fast-mode for contact groups
The same as tags/relations these objects are used quite often, so
we store group members in database and we can access them without
accessing imap.
2018-12-27 14:14:44 +00:00
Aleksander Machniak
c9499eeaa6 Fast-mode for configuration objects 2018-12-24 10:45:19 +00:00
Aleksander Machniak
a90d4c6015 Fast-mode for events/tasks/contacts and some code improvements 2018-12-21 12:23:41 +01:00
Aleksander Machniak
217e861d4d Fast-mode for contacts
... there's still a place for improvement, we can make more requests use fast-mode.
2018-12-13 19:49:09 +00:00
Aleksander Machniak
a0aff58604 Fix bug where some database column length limit could be exceeded (#5291)
Which cased e.g. sql errors when creating a contact group with name > 255 characters.
2016-02-09 12:11:41 +01:00
Aleksander Machniak
a67881cd8c Fix caching of contact keys (#4939) 2015-03-30 09:23:59 -04:00
Aleksander Machniak
c0129f7768 Use 'organization' field for sorting if display name is not set (#3172) 2015-02-24 12:51:00 -05:00
Thomas Bruederli
351f7d6153 Avoid null values for empty fields 2014-02-10 16:01:49 +01:00
Thomas Bruederli
bc1164e943 Remove non-unicode characters from sort cols 2014-02-10 14:10:36 +01: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
Thomas Bruederli
20d6aa265c Fix copy&paste typos 2013-10-07 12:14:44 +02:00
Thomas Bruederli
20a731c540 Minor code improvements 2013-10-07 12:12:23 +02:00
Thomas Bruederli
af5115d0c3 Specify type field 2013-10-04 19:38:44 +02:00
Thomas Bruederli
87335f387f Split kolab_cache table into folder-type specific tables and specialized kolab_storage_cache_* classes; the object type is now implicit 2013-10-04 17:14:34 +02:00