Commit graph

127 commits

Author SHA1 Message Date
Thomas Bruederli
69bc310cc5 Fix saving of recurrence exceptions for v2: create unique UIDs, correctly save this-and-future instances with (modified) recurrence rule 2013-03-13 17:39:41 +01:00
Thomas Bruederli
d854a5ab0d Keep libkolab API for event recurrence exceptions consistent for Kolab v2. The format doesn't allow to save exceptions inline, thus save them as individual events 2013-03-13 16:19:02 +01:00
Thomas Bruederli
28b5669ddc Adapt fix for #349 2013-02-28 16:02:16 +01:00
Thomas Bruederli
fb5c1c40d1 Gracefully handle buggy messages with either missing or duplicated X-Kolab-Type headers 2013-02-27 09:52:56 +01:00
Thomas Bruederli
5b4c9500d1 Make some metadata from the Kolab storage backend available to the library user 2013-02-21 11:18:59 +01:00
Thomas Bruederli
38e622023a Use generic getter for current user's email; also works in framework without session and user database record 2013-02-20 21:03:44 +01:00
Aleksander Machniak
ddeb606daf Fix File support. Fix handling of non-inline attachments of event and file objects. 2013-01-16 09:27:34 +01:00
Aleksander Machniak
56abf7e5f3 Use client-side subscriptions for folders activation state (calendar, tasklist)
Add kolab_use_subscriptions option to limit folders visibility in Kolab plugins (#1314)
2012-12-10 12:17:41 +01:00
Aleksander Machniak
a72a0ca097 RCMAIL_CHARSET -> RCUBE_CHARSET 2012-12-09 12:23:38 +01:00
Aleksander Machniak
bbfa7ad97f Save 'file' objects in binary format 2012-12-09 12:22:22 +01:00
Thomas Bruederli
4245fb0839 Treat Kolab format version as string 2012-11-22 15:19:17 +01:00
Thomas Bruederli
5ac6bc06fd Add getter for color annotations to libkolab and use it in calendar and tasklist 2012-11-21 12:30:27 +01:00
Aleksander Machniak
57f1d89fcc Implemented messages write handling with temp files 2012-11-19 14:58:36 +01:00
Aleksander Machniak
d2add52424 Extend get_attachment() with arguments available in rcube_imap::get_message_part() 2012-11-15 12:37:56 +01:00
Thomas Bruederli
cf5c88437e Merge branch 'dev/libcalendaring' 2012-11-09 14:02:34 +01:00
Thomas Bruederli
dfb7fae983 Fix contact picture handling with Kolab format v2 2012-11-08 14:07:01 +01:00
Aleksander Machniak
fa6b80b463 Make sure attachments information stored in cache contain attachment size 2012-11-08 13:47:53 +01:00
Thomas Bruederli
d98e8787c6 Fix kolab_format_* classes to read v2 format; perpare kolab_storage to write out v2 format 2012-11-06 19:03:12 +01:00
Aleksander Machniak
f7b2e543e2 Fix attachments handling (Bug #1172) 2012-11-06 15:09:47 +01:00
Thomas Bruederli
d55e56c07c Use new libkolab XML object reading/writing functions in preparation of adding Kolab format v2 capabilities 2012-11-01 20:06:09 +01:00
Aleksander Machniak
745f743e5f Added kolab_storage::folder_type() method 2012-10-09 19:18:09 +02:00
Thomas Bruederli
998f1d92b6 Adapt kolab_storage classes to new type annotation specification; use 'default' property of kolab_storage_folder instances instead of calling kolab_folders::default_folder() 2012-09-20 15:35:47 +02:00
Aleksander Machniak
9545cc92a0 Escape from read_object() early if message doesn't exist, skip type error. 2012-08-20 15:54:10 +02:00
Aleksander Machniak
4c02e93f18 Prepare query also in count() to fix error when object is given as SQL query parameter 2012-08-09 14:32:09 +02:00
Aleksander Machniak
8fa4ddb8f0 Fix clearing the cache on object delete (#912) 2012-08-02 13:01:10 +02:00
Thomas Bruederli
290d0f113f Use explicit insert() method to skip delete query when caching a newly created object (updated objects get new msguids and are de-facto new) 2012-06-26 16:54:04 +02:00
Thomas Bruederli
f05068fb3b Convert timestamps in query parameters 2012-06-22 15:54:15 +02:00
Thomas Bruederli
464b4961cc Save last-modified date (aka 'changed') in cache and allow to use it in queries (#847) 2012-06-22 15:37:09 +02:00
Thomas Bruederli
078b953953 Add getter for a list of object UIDs (#848) 2012-06-20 18:47:01 +02:00
Thomas Bruederli
6d1f67ad92 Allow complex queries for kolab_storage_folder::count(); fix row counting from SQL 2012-06-20 15:32:23 +02:00
Thomas Bruederli
f5824e32b4 Catch format errors when trying to write an object of invalid or unknown type 2012-06-20 10:45:24 +02:00
Thomas Bruederli
d5c2f15ccb Improve attachments handling:
- use Content-ID as key in _attachments list; new attachments have numeric keys
- generate a unique Content-ID for new/changed attachments in libkolab
- bugfix: don't cache empty attachment entries
2012-06-13 17:39:18 +02:00
Thomas Bruederli
40f811b33a Read X-Kolab-Mime-Version headers if available; Url::None => Url::NoType 2012-06-12 11:30:13 +02:00
Aleksander Machniak
b0b0cd8d17 Set required X-Kolab-Mime-Version header (#837) 2012-06-08 15:15:43 +02:00
Thomas Bruederli
277edc7313 Remove unused argument. Free/busy update is triggered by the calendar (asynchronously) 2012-06-06 11:49:03 +02:00
Aleksander Machniak
3f3cf6bc65 Use Roundcube Framework where applicable, so we can use this code out of Roundcube 2012-06-05 09:15:23 +02:00
Thomas Bruederli
41910ec061 Don't parse new configuration objects with old Horde classes 2012-05-30 14:25:13 +02:00
Thomas Bruederli
b93ddae1f5 Add stub classes for more Kolab object types; remove legacy methods 2012-05-23 16:02:41 +02:00
Thomas Bruederli
2cd801f7d0 Prepare to handle configuration objects 2012-05-23 14:34:08 +02:00
Thomas Bruederli
3ec99f89a6 Add option to disable SSL certificate checks when triggering Free/Busy 2012-05-16 17:13:49 +02:00
Thomas Bruederli
e50d35c1a3 Set and read Content-ID header of MIME message parts as suggested by the spec; Uses the latest (not yet released) version of the PEAR Mail_Mime package 2012-05-16 17:12:54 +02:00
Thomas Bruederli
e7ea756cdb Merge branch 'dev/kolab3' of ssh://git.kolabsys.com/git/roundcube into dev/kolab3 2012-05-16 14:16:38 +02:00
Thomas Bruederli
e379aaafc1 Code cleanup: define private members and default DB values; set kolab_format reference to new objects 2012-05-16 14:16:29 +02:00
Aleksander Machniak
3428a64c0d Migrate to HTTP/Request2 2012-05-16 13:43:01 +02:00
Thomas Bruederli
d9924e675d Fix broken folder type detection after refactorings 2012-05-15 09:56:52 +02:00
Aleksander Machniak
a2e191d631 Improve performance of kolab_storage_folder object creation when
folder type is already known (e.g. in kolab_storage::get_folders())
2012-05-14 13:41:33 +02:00
Thomas Bruederli
0131c8aa51 Improve object fetching when cache is disabled 2012-05-09 19:12:26 +02:00
Thomas Bruederli
86c1d510f1 Add select() method to query objects from cache; Use locks to avoid multiple threads synching the same folder simultaneously 2012-05-09 19:01:51 +02:00
Thomas Bruederli
7cb7f5316e Fix namespace prefix stripping 2012-05-07 12:07:12 +02:00
Thomas B
9db0e9b3d5 Log Kolab object parsing failures 2012-05-03 11:01:23 +02:00