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
Thomas B
c9963d279c
Correctly handle object moving in kolab cache
2012-05-03 10:28:42 +02:00
Thomas B
3fc78aa409
Set mime-part ID when adding attachments
2012-05-02 18:04:42 +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 Bruederli
1b09ae2801
Finish attachment handling and display for events
2012-04-25 19:26:40 +02:00
Aleksander Machniak
2a472e41b5
Use rcube instead of rcmail, so the classes can be used out of Roundcube
2012-04-25 13:27:13 +02:00
Thomas B
7b2b720a68
Merge branch 'dev/kolab3' of ssh://git.kolabsys.com/git/roundcube into dev/kolab3
2012-04-24 09:30:26 +02:00
Thomas B
bbf3901308
Implement free/busy triggering
2012-04-24 09:30:04 +02:00
Thomas B
66915007d4
Make use of Roundcube's IMAP chaching
2012-04-21 18:43:33 +02:00