Commit graph

419 commits

Author SHA1 Message Date
Thomas Bruederli
2ade247a0c Return a kolab_storage_dataset itertor object from kolab_storage_cache::select()
to manage memory usage for large result sets (#2828).

Attention!
Do not cast the return value of kolab_storage_folder::select() calls into an array anymore.
2014-02-06 17:25:16 +01:00
Thomas Bruederli
0950ff12dc Tag contacts that have a birthday date set and allow to directly select them 2014-01-28 15:51:09 +01:00
Thomas Bruederli
0f57d5c8c8 Deliver date properties as DateTime objects (#2802) 2014-01-27 10:06:43 +01:00
Thomas Bruederli
965a9b74b3 Fix anually recurrence end date on 32bit systems by replacing (overflowing) unix timestamps with DateTime objects (#2613) 2014-01-22 11:22:23 +01:00
Thomas Bruederli
b0e06ccdb7 Avoid fatal errors in case the event object has invalid date properties 2014-01-15 16:32:34 +01:00
Aleksander Machniak
05003d0596 Fixes/improvements for use with kolab_cache=false 2014-01-07 16:28:06 +01:00
Thomas Bruederli
229d31e90e Avoid fatal errors if folder type information is missing (#1321) 2014-01-06 17:08:26 +01:00
Aleksander Machniak
b1e824becf Added error handling in select() and count(), so on error they will return null 2014-01-02 13:37:39 +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
Aleksander Machniak
95f0a7f58a Fix double HTML entities encoding in virtual folders names 2013-11-22 11:12:31 +01:00
Aleksander Machniak
a525da41b4 Merge branch 'master' of ssh://git.kolab.org/git/roundcube 2013-11-21 15:12:51 +01:00
Aleksander Machniak
b1917d6714 Improve other users folders display on the hierarchized folders list (Bug #2377) 2013-11-21 15:12:15 +01:00
Thomas Bruederli
5df13465a4 Merge branch 'master' of ssh://git.kolab.org/git/roundcubemail-plugins-kolab 2013-11-21 14:35:39 +01:00
Thomas Bruederli
21286f0bbb Make generated folder UIDs really unique 2013-11-21 14:34:58 +01:00
Aleksander Machniak
43b287c470 Fix folders sorting issues (Bug #2210)
- move some shared code to kolab_storage
- this requires recent Roundcube Framework (f13ae32a)
2013-11-21 10:58:16 +01:00
Thomas Bruederli
158fa06a3c Fix moving of Kolab objects to other folders in cache (#2564) 2013-11-20 17:17:31 +01:00
Aleksander Machniak
d0ea97ebb2 Add 'Z' to the list of UTC timezone abbreviations (Bug #2220) 2013-11-20 12:55:58 +01:00
Aleksander Machniak
bcc8008dd5 Replace insert() with save() - needed after refactoring in last commit 2013-11-20 12:45:52 +01:00
Aleksander Machniak
a25fc1a961 Implement cache object update with UPDATE query instead of DELETE + INSERT (Request #2351) 2013-11-20 10:43:17 +01:00
Aleksander Machniak
7131c802ef Remove "-d enable_dl=On" from shebang (Bug #2387) 2013-11-07 14:47:23 +01:00
Thomas Bruederli
e02e7cd3f3 Avoid recurrence exceptions being copied to exception items recursively. This caused memory leaks when serializing events for caching 2013-11-06 16:41:01 +01:00
Thomas Bruederli
b5d7d3d765 Fix wrong mapping of title/role fields in contacts + simplified saving of relateds 2013-11-06 13:38:57 +01:00
Thomas Bruederli
91f32da8d1 Define aliases for UTC timezone 2013-11-06 09:42:23 +01:00
Thomas Bruederli
f24a1da34b Set _mailbox property when saving Kolab objects (#2474) 2013-11-04 12:08:50 +01:00
Thomas Bruederli
1f8e7cc478 Fix SQL syntax error when purging cache for a folder 2013-11-04 11:50:06 +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
Aleksander Machniak
5f3c4106a4 Fix undefined variable in set_folder() 2013-10-31 09:06:24 +01:00
Thomas Bruederli
5caf7915a3 Fix saving created/changed dates: always use UTC timezone 2013-10-22 09:51:28 +02:00
Thomas Bruederli
f001ae250b Fix computation of recurrence end date (#2393) 2013-10-21 17:14:11 +02:00
Jeroen van Meeuwen (Kolab Systems)
4065542e07 Merge branch 'dev/kolab-cache-refactoring'
Conflicts:
	plugins/libkolab/lib/kolab_storage_cache.php
2013-10-17 16:48:08 +02:00
Thomas Bruederli
7af1dda119 Only save email alarms if the owner's email address is available 2013-10-17 14:21:10 +02:00
Thomas Bruederli
595f1b6a8c Only keep the last created object in memory (#2353) 2013-10-17 13:11:46 +02:00
Thomas Bruederli
1f44998d14 Pad folder names with spaces to sort parent folders before their childs 2013-10-16 16:50:43 +02:00
Thomas Bruederli
d230fa51f8 Revert "Sort folders by hierarchy level first"
This reverts commit 5fd5be6176.
2013-10-16 16:43:44 +02:00
Thomas Bruederli
5fd5be6176 Sort folders by hierarchy level first 2013-10-16 16:34:07 +02:00
Thomas Bruederli
29ab9b594e Reflect format errors in is_valid() method to avoid invalid data being loadd and written to cache (#2360) 2013-10-16 15:30:51 +02: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
053a640b87 Fix PHP warning when _sql_where() is callend with NULL as an argument 2013-10-14 15:04:00 +02:00
Thomas Bruederli
8459eb1c78 Also list unsubscribed folders for parent-selector 2013-10-10 17:07:20 +02:00
Thomas Bruederli
6a2262f820 Make some getter methods available for others 2013-10-10 16:46:20 +02:00
Aleksander Machniak
ee30f6fb83 Fix typo in last commit 2013-10-09 10:01:42 +02:00
Aleksander Machniak
e8f2cd98a3 Fix get_objects() when called with no argument, folder type is used 2013-10-09 09:58:19 +02:00
Aleksander Machniak
d67a7f0d76 Fix reference to kolab_cache table in count() method 2013-10-08 13:37:49 +02: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
6b89e36c4e Merge remote-tracking branch 'origin/libkolab-cache-bypass' into dev/kolab-cache-refactoring 2013-10-07 17:34:17 +02:00
Aleksander Machniak
71619510c4 Improve bypass() method so it works "recursively" 2013-10-07 15:57:55 +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
Aleksander Machniak
9d174daf9f Add option kolab_messages_cache_bypass 2013-10-07 15:05:34 +02:00