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
6ba9838467
Fix setting 'fileid' on file objects (Bifrost#T227815)
2019-07-15 11:21:30 +00:00
Aleksander Machniak
15b0b9626b
Merge branch 'dev/perf'
2019-07-08 12:01:28 +02: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
4136938a7a
Don't store invalid objects in cache
...
For example, before the change it was possible to end up with
a task object in a calendar folder cache.
2019-05-16 08:33:27 +00:00
Aleksander Machniak
4b955adbbd
Use INSERT ... ON DUPLICATE KEY UPDATE in kolab cache
...
Bifrost#T61987
2019-05-07 10:37:45 +02:00
Aleksander Machniak
e69f920de3
Slim down kolab cache (drop xml column, change data format) (Bifrost#T61991)
2019-05-07 10:37:45 +02:00
Aleksander Machniak
f052c02103
Use cache fast-mode for contact groups
...
The same as tags/relations these objects are used quite often, so
we store group members in database and we can access them without
accessing imap.
2019-05-07 10:37:45 +02:00
Aleksander Machniak
bb419c34cb
Use cache fast-mode for counting tasks
2019-05-07 10:37:45 +02:00
Aleksander Machniak
6ca01dc8c9
Fast-mode for configuration objects
2019-05-07 10:37:45 +02:00
Aleksander Machniak
46af51d315
Fast-mode for events/tasks/contacts and some code improvements
2019-05-07 10:37:45 +02:00
Aleksander Machniak
e05d7987f6
Fast-mode for files
2019-05-07 10:37:45 +02:00
Aleksander Machniak
818649624b
Fast-mode for contacts
...
... there's still a place for improvement, we can make more requests use fast-mode.
2019-05-07 10:37:45 +02:00
Aleksander Machniak
2c98bf2811
Fast-mode for selecting kolab objects
...
... for now used only by kolab_notes plugin
2019-05-07 10:37:45 +02:00
Aleksander Machniak
f3d4dadffd
Fix regression in handling contact groups
2019-05-07 10:37:45 +02:00
Aleksander Machniak
e1a4152820
Add possibility to bypass indexes cache only
2019-05-07 10:37:44 +02:00
Aleksander Machniak
d4362d8836
Always fetch xml from IMAP and parse objects on select
...
Temporarily we still store data and xml as before, but do not use them on select.
2019-05-07 10:37:44 +02:00
Aleksander Machniak
fb72e36fa4
Small phpdoc fixes
2019-05-02 12:38:24 +02:00
Aleksander Machniak
aef7452bd3
kolab_date_recurrence improvements with some tests
2019-03-15 11:16:51 +00:00
Aleksander Machniak
a71caa9a51
Calendar: Fix regression where changing attendee status for an existing event wasn't working
...
Also fixed bug where allday event accourrence could have been moved
one day back when changing the attendee status (action=rsvp).
2019-03-14 15:08:53 +00:00
Aleksander Machniak
b1640e16f4
Fix misleading error message on IMAP errors
2019-02-18 12:04:08 +01:00
Aleksander Machniak
83ac298cd7
Fix handling EXDATEs in different timezone than the event timezone (Bifrost#T154553)
2018-12-13 12:36:20 +00:00
Aleksander Machniak
ce097cdbef
Fix support for imap hierarchy delimiter different than a slash char (Bifrost#T71208)
2018-05-03 10:32:51 +00:00
Aleksander Machniak
a444b5b801
Unify/de-duplicate code for folder form handling
2018-03-28 15:36:08 +00:00
Aleksander Machniak
6bba054b0e
Merge branch 'master' into dev/elastic
2018-03-22 19:31:41 +00:00
Aleksander Machniak
fa9d09939c
More attachment handling code de-duplication
2018-03-19 18:08:56 +00:00
Aleksander Machniak
5b57dd9449
De-duplicate attachments handling code, move it to libkolab plugin
2018-03-19 13:27:55 +01:00
Aleksander Machniak
700a64b40d
Fix finding first occurrence for all-day events (Bifrost#T82770)
...
Bug caused e.g. annual all-day events not displayed on the first occurrence (start date)
2018-03-16 15:16:04 +00:00
Aleksander Machniak
8673bfd15f
Fix handling reminder trigger definition
...
... and ignore duplicate reminders
2017-12-04 11:52:54 +01:00
Jeroen van Meeuwen (Kolab Systems)
ab9f33fbc4
Avoid PHP 7 compatibility warnings
2017-11-28 10:39:31 +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
02d3759724
Workaround libkolabxml error on Etc/UTC timezone (Bifrost#T43830)
2017-10-06 08:32:58 +02:00
Aleksander Machniak
a1cd95152c
Align event start date with the first occurrence
...
Summary:
When a recurring event start date does not match a recurrence pattern
(e.g. an event recurring on Fridays is created on Thursday),
we move the start date to the date of the first occurrence.
There's also a checkbox to keep the old behavior where the
start date was not modified.
Reviewers: vanmeeuwen
Reviewed By: vanmeeuwen
Differential Revision: https://git.kolab.org/D536
2017-09-12 13:53:34 +02:00
Aleksander Machniak
011fa7949d
Add support for prefix search in kolab cache
2017-07-19 12:54:47 +02:00
Aleksander Machniak
17d18bebb1
Skip redundant folder type lookup on folders list
2017-06-02 15:15:00 +02:00
Aleksander Machniak
007fc47bfc
Fix saving BYPOS recurrence with a number preceding a day name (Bifrost#T29113)
...
A regression caused by T1582: Support BYSETPOS recurrence on event import
2017-04-06 13:38:05 +02:00
Aleksander Machniak
24143cc17e
Fix redundant updates of private $tags property
...
This could cause invalid result of get_tags() method after save_tags() use.
2017-03-31 12:44:57 +02:00
Aleksander Machniak
45ce87f545
Remove duplicates on cache synchronization.
...
https://issues.kolab.org/show_bug.cgi?id=4067 and (Bifrost#TT20881)
It happens that IMAP folder may contain many objects with the same UID.
The precise reason for this is unknown, but it can be e.g. a faulty
client or an error between "create a new object instance" and "remove the
old one". It causes various issues when editing such objects.
With the change we assume that the most recent object (with max. IMAP UID)
is the one that should be used and all the older instances will be removed
automatically.
2017-02-16 12:49:11 +01:00
Aleksander Machniak
d6ea9104ba
Fix "unknown" dates in event dialog (Bifrost#T21544)
2017-01-20 10:38:21 +01:00
Aleksander Machniak
8edb261a0b
T1582: Support BYSETPOS recurrence on event import
...
As libkolabxml does not support it at all it is a partial support.
We support most common cases of monthly recurrence with BYDAY specification,
e.g. "last/first weekday in a month", by converting BYSETPOS to BYDAY.
2016-12-27 11:38:21 +01:00
Aleksander Machniak
c4f4f52aa0
T1841: Support non-all-day exceptions to all-day events and vice-versa
2016-12-30 05:33:02 -05:00
Aleksander Machniak
bbe88f6637
Prevent from libkolabxml errors on Etc/GMT timezone (Bifrost#T15706)
2016-12-27 04:13:56 -05:00
Aleksander Machniak
1e68b24b70
Merge branch 'arcpatch-D203'
2016-10-18 09:05:12 +02:00
Aleksander Machniak
cdfb979b22
T1268: Fix bug where forever recurring events could not be displayed
...
Summary:
Actually it sets the internal end time interval to 100 years for all kind
of events. Before it was 100 for yearly events, but only 10 for weekly.
Fixes T1268.
Reviewers: #roundcube_kolab_plugins_developers
Maniphest Tasks: T1268
Differential Revision: https://git.kolab.org/D203
2016-10-18 09:04:54 +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
87b18454ae
Workaround libkolabxml bug where internally set 'created' date is not valid (UTC)
2016-09-02 10:26:59 +02:00
Aleksander Machniak
2056b92c39
T1382: Fix storing COMPLETED/IN-PROCESS in partstat field
2016-07-27 09:13:13 -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