Aleksander Machniak
5c6a7a2d6f
CalDAV driver
2022-10-11 15:27:59 +02:00
Christian Mollekopf
b4b3a48893
Remove folder typedata in-memory cache
...
Summary:
This caused the syncroton Ping command to miss new task folders.
Because the Ping command is long running we use:
rcube::get_instance()->get_storage()->clear_cache('mailboxes', true);
To clear the cache before listing the folders. However, this doesn't
clear the in-memory cache in kolab_storage.
In list_folders we then ended up in the branch returning the folder list directly from
that outdated in-memory cache and thus missed the update.
Since we already cache the folder list and metadata it doesn't seem necessary to
cache it again. Removing it thus gives us a single place to invalidate it.
Differential Revision: https://git.kolab.org/D2143
2021-01-22 14:44:45 +01:00
Aleksander Machniak
112516794f
Fix PHP 7.4 deprecation warning on implode()
2020-08-11 12:55:49 +02:00
Aleksander Machniak
ec5e9b31ef
Fix object_prettyname() result for other user folders if the id cannot be resolved to username (Bifrost#T253094)
2019-10-28 13:27:47 +01:00
Aleksander Machniak
843fb0d69d
Fix regression where user canonification didn't work (Bifrost#251480)
...
Which led to not working some functionality e.g. user-specific LDAP addressbook
2019-10-15 09:25:06 +02:00
Aleksander Machniak
80a5241a9d
Support user_specific source in kolab_users_directory (Bifrost#T236416)
...
Move kolab_auth/kolab_auth_ldap to libkolab/lib/kolab_ldap.
It ends up much simpler to add user_specific support and unify some
code than replace use of kolab_auth_ldap with rcube_ldap.
This means that libkolab plugin does not depend on kolab_auth plugin
anymore, but kolab_auth depends on libkolab, which is better situation.
2019-08-19 14:06:11 +00:00
Aleksander Machniak
15a38f87e0
Other user uid mapping for Chwala (Bifrost#T216238)
...
...also use format "Doe, Jane (jane.doe)" consistently everywhere.
2019-06-19 10:59:46 +00:00
Aleksander Machniak
de726e8cac
Fix PHP Fatal error: Call to a member function get() on a non-object
2019-06-14 11:57:50 +00:00
Aleksander Machniak
acd1740a29
Replace other user folders uids with display name (Bifrost#T216238)
...
Extends existing functionality that worked in kolab plugins' UI
in a way that:
- ldap lookups are optionally cached
- replacing is done also in Mail/Settings parts of the UI
- object_prettyname() uses the same technique as folders listings
2019-06-13 13:33:35 +00:00
Aleksander Machniak
fb72e36fa4
Small phpdoc fixes
2019-05-02 12:38:24 +02:00
Aleksander Machniak
b1640e16f4
Fix misleading error message on IMAP errors
2019-02-18 12:04:08 +01:00
Aleksander Machniak
d331f73d01
Fix performance issue in custom_displayname() when imap_cache is disabled (Bifrost#T51291)
2017-10-17 09:05:29 +02:00
Aleksander Machniak
17d18bebb1
Skip redundant folder type lookup on folders list
2017-06-02 15:15:00 +02:00
Aleksander Machniak
d42db71fa4
T1479: Fix delegation context selection on delegator's invitation handling
2016-09-07 09:51:08 -04:00
Aleksander Machniak
bb1dfa9c10
Fix PHP Fatal error: Call to a member function get_hierarchy_delimiter() on a non-object (T1252)
2016-05-04 10:40:49 +02:00
Aleksander Machniak
9d883ed07d
Properly set skip_deleted and threading on Kolab storage IMAP operations (T1145)
...
Summary:
Fixes race-conditions between Kolab folders and Roundcube core
where skip_deleted/threading could be set for operations outside
of Kolab plugins, causing e.g. inability to see \Deleted messages.
Fixes T1145.
Reviewers: #roundcube_kolab_plugins_developers, vanmeeuwen
Reviewed By: #roundcube_kolab_plugins_developers, vanmeeuwen
Maniphest Tasks: T1145
Differential Revision: https://git.kolab.org/D112
2016-04-14 11:42:00 +02:00
Aleksander Machniak
a673d3c8f5
Fix indentation
2016-03-23 11:44:46 +01:00
Aleksander Machniak
2afb5714c5
Fix duplicated events in other users calendar if its subfolders are active ( #5340 )
...
Differential Revision: https://git.kolab.org/D94
2016-03-11 11:41:18 +01:00
Aleksander Machniak
9d5dd5bf16
Unified get_objects/count/get_uids/select methods argument handling ( #5209 )
2016-03-09 11:46:26 +01:00
Aleksander Machniak
9daf32495a
Fix regression in get_object() (T1098)
...
Also remove the second argument as it was useless.
2016-03-07 17:54:01 +01:00
Aleksander Machniak
46f962833f
Performance: Better displayname annotation handling
2016-02-23 13:36:22 +01:00
Aleksander Machniak
922d8de6d0
Performance: Skip another few cache selects
2016-02-21 18:17:42 +01:00
Aleksander Machniak
9972823957
Performance: Optimize get_message_relations() to use one query per-folder less
...
Fix bug where in kolab_storage::select() could not initialize/reset folder cache properly
2016-02-13 17:57:29 +01:00
Aleksander Machniak
bd8166b81a
Fix regression in last optimisations
2016-02-13 09:16:38 +01:00
Aleksander Machniak
2172f4340c
Performance: Consolidate metadata requests ( #3989 )
...
This changes number of cache requests from 4 to 2 for each groupware folder.
2016-02-12 13:45:58 +01:00
Aleksander Machniak
3239eeb947
Don't use private namespace for folder uniqueid annotations (T491)
2015-07-21 04:36:34 -04:00
Thomas Bruederli
a6daa4d10b
Support dtstart/dtend parameters on free/busy query URLs
2015-04-27 18:06:36 +02:00
Thomas Bruederli
284c2a6d0a
Initialize class before using self::$config
2015-04-02 16:09:10 +02:00
Thomas Bruederli
314501fdb2
Make the list of properties considered 'significant' for scheduling configurable
2015-02-12 11:54:51 +01:00
Aleksander Machniak
2c9c463e84
Add optional $type argument in kolab_storage::get_folder()
2015-02-04 05:41:47 -05:00
Thomas Bruederli
b32c36f58f
Fix subscription cache clearing after subscription changes
2015-02-04 10:25:16 +01:00
Thomas Bruederli
5982ce8732
Add error checking/reporting facilities to kolab_storage_folder instances ( #4378 )
2015-02-03 13:15:56 +01:00
Thomas Bruederli
038e269d51
Check (expected) folder type and disable access to folder contents or cache if invalid ( #4378 )
2015-01-29 16:48:42 +01:00
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