Commit graph

42 commits

Author SHA1 Message Date
Thomas Bruederli
e203211ece Log an object's UID with libkolabxml warnings 2014-02-19 18:56:59 +01:00
Aleksander Machniak
d0ea97ebb2 Add 'Z' to the list of UTC timezone abbreviations (Bug #2220) 2013-11-20 12:55:58 +01:00
Thomas Bruederli
91f32da8d1 Define aliases for UTC timezone 2013-11-06 09:42:23 +01:00
Thomas Bruederli
5caf7915a3 Fix saving created/changed dates: always use UTC timezone 2013-10-22 09:51:28 +02:00
Thomas Bruederli
29ab9b594e Reflect format errors in is_valid() method to avoid invalid data being loadd and written to cache (#2360) 2013-10-16 15:30:51 +02:00
Thomas Bruederli
124ae35b06 Fix setting created time if missing 2013-09-25 17:34:05 +02:00
Thomas Bruederli
20c0706d9d Preserve x-custom data in cache, even when object is saved by a client that doesn't support custom fields (#2238) 2013-09-19 10:42:35 +02:00
Aleksander Machniak
2f96ed2b97 Catch exception on DateTime oparations (Bug #2147) 2013-08-24 16:12:34 +02:00
Aleksander Machniak
e03156fc1f Implemented new method of storing filename and mimetype of file objects 2013-04-19 14:20:55 +02:00
Thomas Bruederli
97d0c57eee Small refactoring: use base class methods to read/set common properties; add support for custom properties in all objects 2013-02-21 16:28:12 +01:00
Thomas Bruederli
22c50adab0 Backport changes from dev/version_compare branch 2013-02-20 09:56:13 +01:00
Aleksander Machniak
80cf13f4ad Add workaround for situation when kolabobject doesn't generate UID but kolabformat does
(it's the case for File objects unsupported by libkolab)
2013-01-16 10:06:59 +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
Thomas Bruederli
025a388ba5 Finally remove the remaining Horde stuff after switching to libkolab for recurrence and format v2 support 2012-11-21 11:21:19 +01:00
Thomas Bruederli
6d75fdd5f3 Quote object UID for IMAP SEARCH command; read generated UID from XMLObject if we're working with libkolab bindings 2012-11-08 14:03:06 +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
Thomas Bruederli
dd2bf15adf Also use different signatures when calling libkolab(xml) read functions 2012-11-02 15:04:59 +01:00
Thomas Bruederli
50b3b8e766 Use different signatures for libkolab/libkolabxml function calls 2012-11-02 13:45:05 +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
8866c159d6 Revert "DateTime::setTimezone() expects argument of type DateTimeZone". This is cDateTime here. 2012-07-06 10:58:50 +02:00
Aleksander Machniak
e729cc5f92 DateTime::setTimezone() expects argument of type DateTimeZone 2012-07-05 12:34:25 +02:00
Thomas Bruederli
4b774c06c9 Respect timezone information in DateTime argument 2012-07-05 11:43:22 +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
Aleksander Machniak
b0b0cd8d17 Set required X-Kolab-Mime-Version header (#837) 2012-06-08 15:15:43 +02:00
Thomas Bruederli
435b94f8f6 Merge branch 'master' of ssh://git.kolabsys.com/git/roundcube 2012-06-06 10:24:42 +02:00
Thomas Bruederli
ad59203f27 Fix libkolabxml error handling 2012-06-06 10:22:51 +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
7d1882ad76 Enforce local time for birthday and anniversary fields 2012-05-23 15:39:53 +02:00
Thomas Bruederli
2cd801f7d0 Prepare to handle configuration objects 2012-05-23 14:34:08 +02:00
Thomas Bruederli
9da61e6d4b Reduce code redundancy: implement load() and write() method in parent class kolab_format; do more error checking 2012-05-22 10:14:56 +02:00
Thomas Bruederli
5cc7fc616f Better process of writing Kolab objects: don't use isValid() but check kolabformat::error() after writing. Fixes #769 2012-05-16 14:15:05 +02:00
Thomas Bruederli
ab69f49091 Prepare for fulltext indexing in kolab_storage_cache; fix saving contacts with no address data (#769) 2012-05-15 19:05:46 +02:00
Thomas B
18d8fec133 First implementation of a caching layer for kolab_storage;
- Caching is disabled by default (until fully functional and tested)
- Attention: database initialization required for cache)

Silently ignore old Kolab2 objects if no Horde classes found to parse them.
2012-05-02 17:41:02 +02:00
Thomas B
2559d6ffb7 Set alarm date/time in UTC 2012-04-05 08:56:37 +02:00
Thomas B
5feac6ed7b Unset kolab_format object reference to reduce footprint; fix DateTime conversion 2012-03-30 19:07:56 +02:00
Thomas Bruederli
baf6bcb239 Add documentation headers 2012-03-14 19:48:54 +01:00
Thomas Bruederli
3f78d8f7b5 Let libkolabxml generate UIDs; preserve object properties Roundcube doens't understand by loading old XML object before updating 2012-03-14 18:51:38 +01:00
Thomas B
4353615709 Handle contact photos in new format 2012-03-14 11:22:42 +01:00
Thomas B
c8696e278c Implement format wrapper for distribution-list; add more utility functions 2012-03-08 21:22:09 +01:00
Thomas B
80fa73b895 Adapt date/time handling to recent changes in libkolabxml; forward attachment parts when saving a Kolab object in a new message 2012-03-08 10:21:21 +01:00
Thomas B
dc1fd9f7eb More work-in-progress on Kolab 3.0 storage layer 2012-03-06 22:23:34 +01:00
Thomas B
38bdff1cd0 New Roundcube plugin for Kolab 3.0 storage layer 2012-03-06 09:58:01 +01:00