Thomas Bruederli
67568dda20
Update schema version string; remove outdated postgres database schema
2015-02-05 16:15:16 +01: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
Aleksander Machniak
e0422634ad
Fix so DDL script for Oracle can be executed in SQLPlus ( #3788 )
2014-10-27 12:13:50 +01:00
Aleksander Machniak
d2e7c27bf4
Initial DDL for Oracle
2014-09-15 12:26:03 +02: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
Aleksander Machniak
0a79c185ed
Add missing columns in initial.sql file (Bug #2867 )
2014-02-20 17:32:30 +01:00
Aleksander Machniak
ba1b8238aa
Update version number in initial DDL file (Bug #2867 )
2014-02-20 09:35:58 +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
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
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
Aleksander Machniak
fd645a9e96
Added DDL for postgres (Bug #2039 )
2013-07-31 14:28:18 +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
Thomas Bruederli
464b4961cc
Save last-modified date (aka 'changed') in cache and allow to use it in queries ( #847 )
2012-06-22 15:37:09 +02:00
Thomas Bruederli
4b5c2ce985
Add some fulltext searching capabilities to kolab_storage_cache and use them for search (autocompletion) in Kolab address books
2012-05-16 10:10:51 +02:00
Thomas Bruederli
86c1d510f1
Add select() method to query objects from cache; Use locks to avoid multiple threads synching the same folder simultaneously
2012-05-09 19:01:51 +02:00
Thomas B
18d8fec133
First implementation of a caching layer for kolab_storage;
...
- Caching is disabled by default (until fully functional and tested)
- Attention: database initialization required for cache)
Silently ignore old Kolab2 objects if no Horde classes found to parse them.
2012-05-02 17:41:02 +02:00