Commit graph

497 commits

Author SHA1 Message Date
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
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
9fb5775d82 Fix "PHP Fatal error: Call to undefined method kolab_format_task::to_libcal()" (T1176) 2016-04-07 10:47:45 +02:00
Aleksander Machniak
3e1346dc6c CS fixes 2016-04-07 10:46:24 +02:00
Aleksander Machniak
a673d3c8f5 Fix indentation 2016-03-23 11:44:46 +01:00
Aleksander Machniak
fc93828311 Fix merging attachments list on event/task update from iTip (#5342)
Reviewers: #roundcube_kolab_plugins_developers, vanmeeuwen

Reviewed By: #roundcube_kolab_plugins_developers, vanmeeuwen

Subscribers: vanmeeuwen

Projects: #roundcube_kolab_plugins

Differential Revision: https://git.kolab.org/D96
2016-03-17 16:38:36 +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
7634368e89 Prevent from fatal errors on events without end date (#5307) 2016-03-10 16:43:10 +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
6c25221b95 Performance: Make objects moving faster (less SQL and less IMAP operations) using COPYUID 2016-02-24 13:57:58 +01:00
Aleksander Machniak
9ac901b90a Performance: SKip some SQL queries on "empty" tasklist refresh 2016-02-24 12:54:08 +01:00
Aleksander Machniak
46f962833f Performance: Better displayname annotation handling 2016-02-23 13:36:22 +01:00
Aleksander Machniak
644df15bad Performance: Skip one SELECT query when deleting relations 2016-02-22 15:37:12 +01:00
Aleksander Machniak
2a9948b827 Performance: Skip some redundant SELECT queries on event update 2016-02-22 15:19:58 +01:00
Aleksander Machniak
b6a9141764 Performance: Don't initialize configuration folders until they are needed 2016-02-22 12:17:22 +01:00
Aleksander Machniak
a7e3a938a7 Unify mail-relations handling across plugins 2016-02-21 19:41:49 +01:00
Aleksander Machniak
d96689620f Performance: Get event-to-mail relations once per events list, instead of doing SELECT for every event (including recurrences) 2016-02-21 19:09:04 +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
11ce37ef17 Performance: Limit number of SQL queries when "attaching" relations/tags to list of tasks/notes (#3969) 2016-02-13 17:35:29 +01:00
Aleksander Machniak
446cd0dfe1 Performance: Limit number of SQL queries needed for "object relations update" operation 2016-02-13 13:09:59 +01:00
Aleksander Machniak
52053f355a Performance: Optimize kolab_storage_folder::get_object() to use one sql query instead of two
Before the change to get an object by UID we first resolve UID to IMAP-UID
and then fetch the object data by IMAP-UID - two select queries. Now we
directly select the data by UID.
2016-02-13 11:33:01 +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
e7eed4dff1 Make Content-Type check case-insensitive (#5109) 2016-02-11 15:37:21 +01:00
Aleksander Machniak
aab41cfa16 Fix bug where event occurrence with no attendees inherited attendees of the event (#5300)
The object was created/updated corretly, the bug was in exception properties resolving.
2016-02-11 11:58:33 +01:00
Aleksander Machniak
a0aff58604 Fix bug where some database column length limit could be exceeded (#5291)
Which cased e.g. sql errors when creating a contact group with name > 255 characters.
2016-02-09 12:11:41 +01:00
Thomas Bruederli
fe21650430 Make sure the _instance property is stored with the recurrence exception (#5277) 2015-11-20 12:18:27 +01:00
Aleksander Machniak
21130bf9e6 Properly reset $recurrence_id in a loop 2015-09-29 12:24:45 +02:00
Aleksander Machniak
d2f74ee9fa Performance: Skip SELECT query if we already know it will return no records (from previous SELECT COUNT(*)) 2015-08-27 14:13:36 +02:00
Aleksander Machniak
2c58d048c0 Extend kolab_storage_config::get_tags() with possibility to search members by Message-ID and to set limit for better performance 2015-08-21 10:57:26 +02:00
Aleksander Machniak
a0ca17fb36 Fix missing events on edges of the view time range (when client timezone is different than server tz) (T698) 2015-08-18 12:39:55 +02:00
Aleksander Machniak
326e4ad9ad Support reminders relative to end/due date (RELATED=END) (T656)
Conflicts:

	plugins/libcalendaring/libvcalendar.php
2015-08-07 06:43:59 -04:00
Aleksander Machniak
3239eeb947 Don't use private namespace for folder uniqueid annotations (T491) 2015-07-21 04:36:34 -04:00
Aleksander Machniak
f575dace67 Fix so save() and delete() update in-memory tags cache (T133) - fixes duplicated tags issue 2015-06-24 07:08:35 -04:00
Aleksander Machniak
96ae7b7857 Fix PHP Fatal error: Call to undefined method kolab_storage_folder::raise_error() 2015-05-14 08:44:30 -04:00
Thomas Bruederli
562ed98bd2 Define get_uid() in kolab_storage_folder_api base class (#5023) 2015-05-05 11:57:21 +02:00
Thomas Bruederli
6effb4c9c3 Support X-APPLE-FILENAME parameter for attachments; make attachment cid really unique 2015-04-28 15:48:27 +02:00
Thomas Bruederli
a6daa4d10b Support dtstart/dtend parameters on free/busy query URLs 2015-04-27 18:06:36 +02:00
Aleksander Machniak
5cbcf8381c Fix (again) handling of shared folders in relation member URIs (#5006) 2015-04-23 18:01:10 +02:00
Thomas Bruederli
1e2089e2c2 Merge branch 'dev/sabre-vobject3'
Resolves T53
2015-04-22 17:20:55 +02:00
Thomas Bruederli
779fa16009 Fix and test kolab_storage_config::build_member_url() and kolab_storage_config::parse_member_url() with different namespaces (#5006) 2015-04-22 12:38:25 +02:00
Thomas Bruederli
284c2a6d0a Initialize class before using self::$config 2015-04-02 16:09:10 +02:00
Thomas Bruederli
c43040e4e1 Increase default timeout for Bonnie API requests 2015-03-31 15:10:42 +02:00
Aleksander Machniak
a67881cd8c Fix caching of contact keys (#4939) 2015-03-30 09:23:59 -04:00
Thomas Bruederli
7dbb0d1b2f Handle old revisions and diffs for recurrence instances; forward instance identifier to API for diff requests 2015-03-19 12:34:08 +01:00
Thomas Bruederli
17a3783b9a Allow to load attachments from old revisions + implement resting of old revisions if write permissions are granted 2015-03-18 20:24:57 +01:00