Commit graph

93 commits

Author SHA1 Message Date
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
Thomas Bruederli
1a957820c4 Update resource URI of cache entries when renaming a folder (#2269) 2013-09-26 10:47:21 +02:00
Thomas Bruederli
40ac61ecfb Keep active state when renaming a folder (#2268) 2013-09-26 10:20:25 +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
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
Thomas Bruederli
64174f4fac Use a global function to sort folder names by namespace/name; add option to control the use of displayname folder annotations 2013-07-18 17:47:49 +02:00
Aleksander Machniak
c0a005b204 folders_metadata() -> folders_typedata() 2013-07-09 15:24:01 +02:00
Aleksander Machniak
007fd25f96 Unify fetching folder (metadata) types. This should also improve performance
because get_metadata() arguments are used to build the cache key.
2013-07-09 15:16:15 +02:00
Thomas Bruederli
9332ba4abc Adapt displayname annotation key to latest KEP suggestions; add getter for default folder 2013-06-20 11:08:44 +02:00
Aleksander Machniak
1857a64d4f Fix undefined variable related errors caught in static code analysis 2013-05-07 12:56:18 +02:00
Thomas Bruederli
79eddd3c5c Allow to save display name in IMAP annotation 2013-04-03 22:02:19 +02:00
Thomas Bruederli
22c50adab0 Backport changes from dev/version_compare branch 2013-02-20 09:56:13 +01:00
Aleksander Machniak
56abf7e5f3 Use client-side subscriptions for folders activation state (calendar, tasklist)
Add kolab_use_subscriptions option to limit folders visibility in Kolab plugins (#1314)
2012-12-10 12:17:41 +01:00
Aleksander Machniak
a72a0ca097 RCMAIL_CHARSET -> RCUBE_CHARSET 2012-12-09 12:23:38 +01:00
Thomas Bruederli
4245fb0839 Treat Kolab format version as string 2012-11-22 15:19:17 +01:00
Thomas Bruederli
ace437f1da Log errors if some libkolab modules are missing 2012-11-21 09:56:21 +01:00
Thomas Bruederli
d55e56c07c Use new libkolab XML object reading/writing functions in preparation of adding Kolab format v2 capabilities 2012-11-01 20:06:09 +01:00
Thomas Bruederli
ae02c3d670 Initialize IMAP connection before setting metadata (#1128) 2012-10-22 18:02:18 +02:00
Thomas Bruederli
d356302759 Cut off folder type suffix from shared annotation values (#1105); small code cleanup to reduce redundancy 2012-10-17 12:12:45 +02:00
Thomas Bruederli
fad8e68fe7 Move kolab_folders::set_folder_type() logic to libkolab plugin and use it where appropriate (#1104) 2012-10-17 11:46:26 +02:00
Aleksander Machniak
c723bb3e67 Fix Fatal error: Call to a member function get_metadata() on a non-object 2012-10-11 14:43:01 +02:00
Aleksander Machniak
745f743e5f Added kolab_storage::folder_type() method 2012-10-09 19:18:09 +02:00
Thomas Bruederli
0df591391e Save colors to shared annotations only for personal folders. Write to private annotations otherwise (#830) 2012-10-04 14:22:43 +02:00
Aleksander Machniak
39552da980 Re-fix HTML entities handling 2012-09-21 09:55:07 +02:00
Aleksander Machniak
99a692f4bd Merge branch 'master' of ssh://git.kolab.org/git/roundcube 2012-09-20 15:57:48 +02:00
Aleksander Machniak
f693e2d183 Fixes for html_ent branch in ROundcube core: Proper HTML entities handling 2012-09-20 15:56:54 +02:00
Thomas Bruederli
998f1d92b6 Adapt kolab_storage classes to new type annotation specification; use 'default' property of kolab_storage_folder instances instead of calling kolab_folders::default_folder() 2012-09-20 15:35:47 +02:00
Thomas Bruederli
395807c424 Save folder subtypes in private annotations according to Kolab 3 spec 2012-09-20 08:51:38 +02:00
Aleksander Machniak
37ce52a319 Fix performance of list_folders() - use cached folders list(s) 2012-08-10 14:09:35 +02:00
Thomas Bruederli
5fa593ad99 Clear cache before deleting a Kolab folder 2012-06-26 16:50:17 +02:00
Thomas Bruederli
4f69203125 More code cleanup: use common function from libkolab for folder management and naming 2012-06-21 21:34:08 +02:00
Thomas Bruederli
dce4ed076b Move folder create/rename logic to libkolab for common use in different Kolab plugins 2012-06-21 09:42:24 +02:00
Aleksander Machniak
cb61bf76a1 Improved folder_create() method 2012-05-17 15:57:23 +02:00
Aleksander Machniak
a2e191d631 Improve performance of kolab_storage_folder object creation when
folder type is already known (e.g. in kolab_storage::get_folders())
2012-05-14 13:41:33 +02:00
Aleksander Machniak
4ed6758112 Integrate folders listing functionality from kolab_folders plugin
into kolab_storage class - added public list_folders() method.
Now we can use kolab_storage out of Roundcube application.
2012-05-14 13:04:24 +02:00
Aleksander Machniak
dd516006db Fix argument count for kolab_storage_folder constructor 2012-05-14 10:04:59 +02:00
Thomas Bruederli
ff90fa64f9 Implement missing lib function 2012-05-10 20:45:30 +02:00
Aleksander Machniak
2a472e41b5 Use rcube instead of rcmail, so the classes can be used out of Roundcube 2012-04-25 13:27:13 +02:00
Thomas B
47f6002913 Add methods for IMAP folder manipulations 2012-03-22 22:08:13 +01:00
Thomas Bruederli
edaad9b47c Support contact undelete with new storage classes; only list undeleted imap objects 2012-03-14 13:57:02 +01:00
Thomas B
c8696e278c Implement format wrapper for distribution-list; add more utility functions 2012-03-08 21:22:09 +01:00
Thomas B
38bdff1cd0 New Roundcube plugin for Kolab 3.0 storage layer 2012-03-06 09:58:01 +01:00