Commit graph

80 commits

Author SHA1 Message Date
Aleksander Machniak
ac4f6e7562 Avoid unused variables (also fixed some bugs) found in static code analysis 2014-11-21 10:03:18 +01:00
Aleksander Machniak
788635b287 Use consistent column/table quoting in sql queries 2014-09-15 12:23:46 +02:00
Thomas Bruederli
b03bdd88b7 Skip recursive GETMETADATA command for personal namespace folders if they have no children 2014-09-09 10:12:20 +02:00
Thomas Bruederli
4c39157ca1 Check all cache entries for folder type annotation 2014-09-09 09:48:56 +02:00
Thomas Bruederli
dc335c4d26 Refine virtual user folders handling in new folder navigation according to #3378 2014-09-08 18:56:23 +02:00
Aleksander Machniak
5c895e27a1 Support relative URLs in kolab_freebusy_server setting (#3487) 2014-08-25 09:06:50 +02:00
Thomas Bruederli
2e078bc4d5 Trigger folder_* plugin hooks when operating on IMAP folders 2014-08-14 12:38:54 +02:00
Aleksander Machniak
28b6872b56 Fix missing parent folder in folder selector if the folder does not exist or is not accessible (#3237) 2014-08-04 06:40:32 -04:00
Thomas Bruederli
3f74eeb4e0 List all unsubscribed with magic search term '*' 2014-07-21 09:54:46 +02:00
Thomas Bruederli
96fcb49c68 Fix listing of top-level folder metadata 2014-06-18 10:46:40 +02:00
Thomas Bruederli
6454bb57cf Small fix when listing subscribed user folders 2014-05-23 10:08:20 +02:00
Thomas Bruederli
5079da4a90 Don't fetch all annotations from 'other' namespace when called from kolab_storage::list_user_folders() 2014-05-23 09:32:43 +02:00
Thomas Bruederli
bb0312280c Avoid PHP errors when IMAP doesn't provide valid data 2014-05-23 09:18:35 +02:00
Thomas Bruederli
d9247aa5e5 Add config option to exclude certain namespaces from grouware folder listing 2014-05-23 09:00:46 +02:00
Thomas Bruederli
fd3f93d64e Use the dedicated config option 2014-05-19 12:16:14 +02:00
Thomas Bruederli
7d5fe4c794 Fix LDAP search calls and return the number of matches 2014-05-16 10:36:57 +02:00
Thomas Bruederli
8d09b78eb1 Provide sample config for new LDAP user search 2014-05-15 14:18:23 +02:00
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