Aleksander Machniak
aea5e2009c
Add type argument to get_object() - when you fetch object by uid
...
and it's type is different than folder type (e.g. distribution-list)
it need to be specified here.
2013-07-03 09:19:16 +02:00
Aleksander Machniak
2cbe93a0c9
Fix saving empty attachments
2013-07-02 10:54:32 +02:00
Aleksander Machniak
be42327979
rc_image_content_type() -> rcube_mime::image_content_type()
2013-07-02 09:29:02 +02:00
Thomas Bruederli
6e20d48cbf
Merge branch 'master' of ssh://git.kolab.org/git/roundcubemail-plugins-kolab
2013-06-27 22:44:50 +02:00
Thomas Bruederli
dfb75c6fd5
Make sure only the first path segment is removed
2013-06-27 22:42:44 +02:00
Aleksander Machniak
9a7f2dd61b
Support passing object attachments also as file handle
2013-06-27 20:22:01 +02:00
Thomas Bruederli
9163ca1ce0
Disable type-check when fetching objects by UID
2013-06-27 11:34:09 +02:00
Aleksander Machniak
65dfbee601
Remove temp message file
2013-06-20 14:42:06 +02:00
Aleksander Machniak
481cb9ffcf
Fix memory calculation when deciding if memory or file should be used
...
for saved message. Handle saved message parts with file pointers
for better performance (one temp file creation is skipped)
2013-06-20 14:22:25 +02:00
Aleksander Machniak
1857a64d4f
Fix undefined variable related errors caught in static code analysis
2013-05-07 12:56:18 +02:00
Aleksander Machniak
1df25c1984
Skip charset conversion when it's not needed
2013-04-05 11:17:16 +02:00
Thomas Bruederli
79eddd3c5c
Allow to save display name in IMAP annotation
2013-04-03 22:02:19 +02:00
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