Commit graph

52 commits

Author SHA1 Message Date
Aleksander Machniak
6c8d7d4000 Add support for configuration./file_driver objects (#3775) 2014-10-14 07:37:14 -04:00
Thomas Bruederli
7db58444a7 Map timezone identifiers accepted by PHP but not known by libkolabxml (#3750) 2014-10-09 16:39:05 +02:00
Thomas Bruederli
419296757a Bump version for iCal PRODID strings 2014-08-21 10:29:12 +02:00
Thomas Bruederli
aada053324 Support reading attachments fully stored in XML payload instead of separate MIME parts 2014-07-18 12:00:25 +02:00
Thomas Bruederli
a84eb35f01 Check existance of Configuration::customProperties() before calling it (#3125) 2014-06-02 23:28:26 +02:00
Aleksander Machniak
39c2aee5b9 Initial support for Snippets and Relations 2014-05-18 14:45:23 +02:00
Thomas Bruederli
e0bc40f160 Allow to store email message references for note objects (link format tentative) + store message-id in cache for querying 2014-04-14 18:25:04 +02:00
Thomas Bruederli
abcb2ac80f Translate legacy X-Kolab-Type 'application/x-vnd.kolab.contact.distlist' into the right object type (#2942) 2014-03-24 18:03:34 +01:00
Thomas Bruederli
2dec4c3e6e Avoid saving attachments with empty mimetype; validate before adding to XML (#2927) 2014-03-18 10:11:00 +01:00
Aleksander Machniak
bf283d2fc2 Support Note objects 2014-03-15 15:18:29 +01:00
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