Commit graph

131 commits

Author SHA1 Message Date
Aleksander Machniak
2103cc317d PHPDoc fixes 2024-01-26 14:38:48 +01:00
Aleksander Machniak
5eb91ca74a PHPStan level:2 fixes (partial) 2024-01-25 13:47:41 +01:00
Aleksander Machniak
5271b6e787 Use consistent PHP code style 2024-01-24 11:24:41 +01:00
Aleksander Machniak
f3319891d5 PHPStan Level:1 fixes, also fixed tests 2024-01-24 10:59:25 +01:00
Aleksander Machniak
28711f7e6e Fix PHP8 warnings 2024-01-16 12:03:19 +01:00
Aleksander Machniak
1818ee06c9 Fix PHP8 warnings 2023-08-09 13:31:53 +02:00
Aleksander Machniak
a1de0c679b Fix PHP8 warnings 2023-08-07 15:00:13 +02:00
Aleksander Machniak
57ed29ef68 Fix PHP8 warning 2023-08-02 16:03:38 +02:00
Aleksander Machniak
83d5c9f7f5 Fix handling of kolab_freebusy_server=false (and other empty values)
- Cleanup code
- Hide availability features in the Resources tab
2023-06-23 14:38:10 +02:00
Aleksander Machniak
609336d71f Fix PHP8 warnings 2023-06-06 14:52:01 +02:00
Aleksander Machniak
2b29e447ba Fix PHP8 warnings 2023-06-02 13:48:23 +02:00
Aleksander Machniak
5cca91ab6c CS improvements 2023-01-25 15:13:27 +01:00
Christian Mollekopf
bac56c4cd1 PHP 8 fixes
Reviewers: #hkccp_developers

Differential Revision: https://git.kolab.org/D4016
2023-01-25 14:58:01 +01:00
Aleksander Machniak
7810d77969 PHP8 fixes - code style 2023-01-18 16:38:22 +01:00
Christian Mollekopf
d988dac141 PHP 8 fixes
Differential Revision: https://git.kolab.org/D3995
2023-01-18 14:50:31 +01:00
Aleksander Machniak
8e3561758a Add support for Cyrus v3 Freebusy service 2023-01-11 11:59:49 +01:00
Aleksander Machniak
c401074cbb Fix so temp. subscriptions aren't added to mail folders list 2022-12-12 12:47:22 +01:00
Aleksander Machniak
1193d65f57 Small cleanup 2022-10-16 14:22:59 +02:00
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