Commit graph

76 commits

Author SHA1 Message Date
Thomas Bruederli
27a4061c99 Optimize cache synchronization by using extended SQL inserts (#798) 2012-05-26 15:15:17 +02:00
Thomas Bruederli
fab0c00194 Merge branch 'master' of ssh://git.kolabsys.com/git/roundcube 2012-05-25 18:09:12 +02:00
Thomas Bruederli
06d970836c Improve cache synchronization: fetch + insert in one row, increase time limit, unlock on script shutdown (#798) 2012-05-25 18:08:42 +02:00
Aleksander Machniak
3a0e3a6e80 Don't unset lock create date, this won't work with PostgreSQL 2012-05-25 10:43:13 +02:00
Thomas Bruederli
bd1ab069e4 Started implementing task format wrapper 2012-05-23 18:57:46 +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
7d1882ad76 Enforce local time for birthday and anniversary fields 2012-05-23 15:39:53 +02:00
Thomas Bruederli
eca8ebafc3 Read (old) configuration.dictionary objects with new kolab_storage layer; writing not implemented yet, until libkolabxml supports it 2012-05-23 14:41:32 +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
Aleksander Machniak
cb61bf76a1 Improved folder_create() method 2012-05-17 15:57:23 +02:00
Aleksander Machniak
d91fe84617 Remove dependency on kolab_folders 2012-05-17 10:51:45 +02:00
Thomas Bruederli
3f5712a117 Save event categories and 'has alarm' information as tags in cache 2012-05-16 18:34:21 +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
f7f6c10c4a Add some documentation 2012-05-16 16:33:07 +02:00
Thomas Bruederli
b95a4d19b7 Catch errors in user's timezone settings 2012-05-16 16:32:49 +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
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
Aleksander Machniak
3428a64c0d Migrate to HTTP/Request2 2012-05-16 13:43:01 +02:00
Thomas Bruederli
c3cfc084a7 Improve fetching contacts with new kolab_storage/cache backend 2012-05-16 10:49:53 +02:00
Thomas Bruederli
3a1f2c207c Revert commit d08cb111 "Fixed working with disabled kolab_cache"
This reverts commit d08cb11137.
2012-05-16 10:12:22 +02:00
Thomas Bruederli
4b5c2ce985 Add some fulltext searching capabilities to kolab_storage_cache and use them for search (autocompletion) in Kolab address books 2012-05-16 10:10:51 +02:00
Thomas Bruederli
dadf00f1a6 Merge branch 'dev/kolab3' of ssh://git.kolabsys.com/git/roundcube into dev/kolab3 2012-05-15 19:08:16 +02:00
Thomas Bruederli
e602722064 Save object words for fulltext searching in caching table 2012-05-15 19:08:01 +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
Aleksander Machniak
d08cb11137 Fixed working with disabled kolab_cache 2012-05-15 13:57:27 +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
Aleksander Machniak
4ed6758112 Integrate folders listing functionality from kolab_folders plugin
into kolab_storage class - added public list_folders() method.
Now we can use kolab_storage out of Roundcube application.
2012-05-14 13:04:24 +02:00
Aleksander Machniak
dd516006db Fix argument count for kolab_storage_folder constructor 2012-05-14 10:04:59 +02:00
Thomas Bruederli
7de0aa468c Increment sequence property when updating an event 2012-05-10 21:25:57 +02:00
Thomas Bruederli
ff90fa64f9 Implement missing lib function 2012-05-10 20:45:30 +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
3a05fb691f Make Horde library optional 2012-05-09 14:10:02 +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
Thomas Bruederli
c9664e2bb7 Merge branch 'dev/kolab3' of ssh://git.kolabsys.com/git/roundcube into dev/kolab3 2012-04-25 14:13:39 +02:00
Thomas Bruederli
a6ffdf9ad6 Fix/improve crypto key handling in contact records 2012-04-25 14:12:09 +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
Thomas B
750b4f15ca Adapt to yet another set of changes in libkolabxml 2012-04-21 18:23:11 +02:00