Commit graph

488 commits

Author SHA1 Message Date
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
Thomas Bruederli
cc21e9161c Fix typo introduced in commit 8680256c54 2013-10-07 14:59:20 +02:00
Thomas Bruederli
4f69556b71 Only set sync lock if folder hash changed 2013-10-07 14:31:48 +02:00
Aleksander Machniak
8680256c54 Fix enabled imap threading mode when synchronizing kolab folder (Bug #2323) 2013-10-07 13:41:10 +02:00
Thomas Bruederli
20d6aa265c Fix copy&paste typos 2013-10-07 12:14:44 +02:00
Thomas Bruederli
944b42afec Improve database schema and provide schema update queries 2013-10-07 12:13:05 +02:00
Thomas Bruederli
20a731c540 Minor code improvements 2013-10-07 12:12:23 +02:00
Thomas Bruederli
b72709a5cf Lazy read kolab_folder record from DB; fix error when mass-inserting cache records 2013-10-07 11:59:00 +02:00
Aleksander Machniak
16d9509a5d Improved performance of kolab cache by bypassing Roundcube messages cache (Request #1740) 2013-10-07 09:56:06 +02:00
Thomas Bruederli
af5115d0c3 Specify type field 2013-10-04 19:38:44 +02:00
Thomas Bruederli
b7d4731d97 Let the derrived kolab_storage_cache classes provide the contents of their custom cache record fields 2013-10-04 19:32:21 +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
Thomas Bruederli
fd10ffb9e1 Merge branch 'master' of ssh://git.kolab.org/git/roundcubemail-plugins-kolab 2013-10-03 12:45:07 +02:00
Thomas Bruederli
38f5215467 Add methods to read and set a folder's UID (migrated from iRony) 2013-10-03 12:02:19 +02:00
Jeroen van Meeuwen (Kolab Systems)
ec38ede99c This should resolve the error 700 problems 2013-10-03 11:44:05 +02:00
Aleksander Machniak
e4bcac4650 Fix typo in new http_request() method, fixes deprecated options handling 2013-09-30 15:43:39 +02:00
Aleksander Machniak
5327dfc641 Implemented unified cross-plugin HTTP_Request2 object configuration (Request #2149) 2013-09-26 14:53:52 +02:00
Thomas Bruederli
1a957820c4 Update resource URI of cache entries when renaming a folder (#2269) 2013-09-26 10:47:21 +02:00
Thomas Bruederli
a2883e9402 Fix phpdoc 2013-09-26 10:46:13 +02:00
Thomas Bruederli
40ac61ecfb Keep active state when renaming a folder (#2268) 2013-09-26 10:20:25 +02:00
Thomas Bruederli
ee8b9e1ddc Support DURATION properties for events (#1916) 2013-09-26 09:43:29 +02:00
Thomas Bruederli
124ae35b06 Fix setting created time if missing 2013-09-25 17:34:05 +02:00
Thomas Bruederli
4700a07a89 Fix ical alarms handling (#2239) and object validation 2013-09-19 11:01:13 +02:00
Thomas Bruederli
20c0706d9d Preserve x-custom data in cache, even when object is saved by a client that doesn't support custom fields (#2238) 2013-09-19 10:42:35 +02:00
Thomas Bruederli
4934e614b2 Allow all object types to be fetched by UID (fixed 404 errors in CardDAV when fetching contact groups) 2013-09-05 15:53:20 +02:00
Thomas Bruederli
27690e5300 Fix after ical parser refactoring: unset 'data' field to avoid binary data being written to cache 2013-09-04 17:37:45 +02:00
Aleksander Machniak
2f96ed2b97 Catch exception on DateTime oparations (Bug #2147) 2013-08-24 16:12:34 +02:00
Aleksander Machniak
17ceedc47b Support 'file' objects 2013-08-07 15:14:19 +02:00
Aleksander Machniak
7033e9336f Fix bug where email addresses weren't stored in database for fulltext searching 2013-08-07 12:10:37 +02:00
Aleksander Machniak
27eb706939 Fixed bug where Error No.700 was thrown by Roundcube in cases
when there's no addressbook (no subscribed contact folders and no
global addressbooks). It's fixed by forcing folder creation/subscription
and forcing of kolab_addressbook_prio value accordingly (Bug #2086).
2013-08-07 09:39:21 +02:00
Aleksander Machniak
c7dfb7c042 Fix INSERT undefined values for NOT NULL columns (Bug #2038) 2013-07-31 14:32:54 +02:00
Aleksander Machniak
fd645a9e96 Added DDL for postgres (Bug #2039) 2013-07-31 14:28:18 +02:00