Commit graph

63 commits

Author SHA1 Message Date
Thomas Bruederli
510089523e Refactored kolab_storage_folder classes and consolidated some functions 2014-05-15 13:15:58 +02:00
Thomas Bruederli
df08826c03 Improve listing of user folders: also list them if one has access to a child folder 2014-05-15 11:57:12 +02:00
Thomas Bruederli
701c3391fe Search in LDAP and collect accessible folders (#3041)
- Add LDAP user search capabilities to kolab_storage class (using kolab_auth plugin classes)
- Introduce virtual 'user' folder objects and add methods to list them
- New 'user calendar' class in calendar (kolab driver)
- Render folder search results as hierarchical list
2014-05-14 20:37:06 +02:00
Thomas Bruederli
8a47c676d5 Move new calendar list widget and folder searching to libkolab for shared use 2014-05-13 19:14:08 +02:00
Thomas Bruederli
008c5db5d9 Implement searching for unsubscribed IMAP folders and temporary/session subscriptions 2014-05-13 17:09:53 +02:00
Thomas Bruederli
00b1c7631b Render calendar folders as a searchable treelist widget 2014-05-12 20:47:47 +02:00
Thomas Bruederli
51bfc0ea4d Hook into user_delete actions and clear cache data for the given user.
ATTENTION: this requires 'libkolab' to be listed in $config['plugins'].
2014-04-23 20:00:24 +02:00
Thomas Bruederli
e25fd88b73 Provide static fuction to query for objects address kolab groupware folders 2014-04-14 18:21:19 +02:00
Aleksander Machniak
49515232db Do not set IMAP page size, it's not needed 2014-04-10 10:39:38 +02:00
Aleksander Machniak
95f0a7f58a Fix double HTML entities encoding in virtual folders names 2013-11-22 11:12:31 +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
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
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
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
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
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
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