Commit graph

340 commits

Author SHA1 Message Date
Thomas Bruederli
87335f387f Split kolab_cache table into folder-type specific tables and specialized kolab_storage_cache_* classes; the object type is now implicit 2013-10-04 17:14:34 +02:00
Thomas Bruederli
fd10ffb9e1 Merge branch 'master' of ssh://git.kolab.org/git/roundcubemail-plugins-kolab 2013-10-03 12:45:07 +02:00
Thomas Bruederli
38f5215467 Add methods to read and set a folder's UID (migrated from iRony) 2013-10-03 12:02:19 +02:00
Jeroen van Meeuwen (Kolab Systems)
ec38ede99c This should resolve the error 700 problems 2013-10-03 11:44:05 +02:00
Aleksander Machniak
5327dfc641 Implemented unified cross-plugin HTTP_Request2 object configuration (Request #2149) 2013-09-26 14:53:52 +02:00
Thomas Bruederli
1a957820c4 Update resource URI of cache entries when renaming a folder (#2269) 2013-09-26 10:47:21 +02:00
Thomas Bruederli
a2883e9402 Fix phpdoc 2013-09-26 10:46:13 +02:00
Thomas Bruederli
40ac61ecfb Keep active state when renaming a folder (#2268) 2013-09-26 10:20:25 +02:00
Thomas Bruederli
ee8b9e1ddc Support DURATION properties for events (#1916) 2013-09-26 09:43:29 +02:00
Thomas Bruederli
124ae35b06 Fix setting created time if missing 2013-09-25 17:34:05 +02:00
Thomas Bruederli
4700a07a89 Fix ical alarms handling (#2239) and object validation 2013-09-19 11:01:13 +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
Thomas Bruederli
4934e614b2 Allow all object types to be fetched by UID (fixed 404 errors in CardDAV when fetching contact groups) 2013-09-05 15:53:20 +02:00
Thomas Bruederli
27690e5300 Fix after ical parser refactoring: unset 'data' field to avoid binary data being written to cache 2013-09-04 17:37:45 +02:00
Aleksander Machniak
2f96ed2b97 Catch exception on DateTime oparations (Bug #2147) 2013-08-24 16:12:34 +02:00
Aleksander Machniak
7033e9336f Fix bug where email addresses weren't stored in database for fulltext searching 2013-08-07 12:10:37 +02:00
Aleksander Machniak
27eb706939 Fixed bug where Error No.700 was thrown by Roundcube in cases
when there's no addressbook (no subscribed contact folders and no
global addressbooks). It's fixed by forcing folder creation/subscription
and forcing of kolab_addressbook_prio value accordingly (Bug #2086).
2013-08-07 09:39:21 +02:00
Aleksander Machniak
c7dfb7c042 Fix INSERT undefined values for NOT NULL columns (Bug #2038) 2013-07-31 14:32:54 +02:00
Thomas Bruederli
f15a3feeb4 Handle attachments and links for all xcal-based objects 2013-07-24 18:59:57 +02:00
Thomas Bruederli
2654abfcaf Get around name inconsistencies 2013-07-24 18:23:53 +02:00
Thomas Bruederli
3d96f28a56 Only increase sequence number of not supplied (keeps it for event imports) 2013-07-22 19:42:41 +02:00
Thomas Bruederli
64174f4fac Use a global function to sort folder names by namespace/name; add option to control the use of displayname folder annotations 2013-07-18 17:47:49 +02:00
Aleksander Machniak
c0a005b204 folders_metadata() -> folders_typedata() 2013-07-09 15:24:01 +02:00
Aleksander Machniak
007fd25f96 Unify fetching folder (metadata) types. This should also improve performance
because get_metadata() arguments are used to build the cache key.
2013-07-09 15:16:15 +02:00
Aleksander Machniak
f67c02e185 Remove redundant code, this is done in parent's set() method 2013-07-05 13:38:16 +02:00
Thomas Bruederli
ad86770780 Fix saving objects without recurrence rule (but previously had recurrence) 2013-07-04 16:58:18 +02:00
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
Aleksander Machniak
bba45ce59d Fix PHP warning when adding contact to a group (Bug #1989) 2013-07-01 12:04:56 +02:00
Aleksander Machniak
1f24f0b679 Force setting internal object type to prevent type overwrite
when copying contacts from other sources (e.g. LDAP) (Bug #1990)
2013-07-01 08:28:54 +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
Thomas Bruederli
9332ba4abc Adapt displayname annotation key to latest KEP suggestions; add getter for default folder 2013-06-20 11:08:44 +02:00
Aleksander Machniak
bc4d15ab55 De-duplicate binary content when saving in database (#1749) 2013-06-17 15:44:17 +02:00
Aleksander Machniak
b602913ce3 Improve performance by reading max_allowed_packet variable (SHOW VARIABLES query) only if needed 2013-06-11 14:52:10 +02:00
Thomas Bruederli
054807c784 Fix contact fulltext indexing with new email subtypes 2013-05-31 18:16:54 +02:00
Thomas Bruederli
44c19b496c Replace recursive calls with while loop when waiting for sync-lock (#1637) 2013-05-27 17:27:53 +02:00
Thomas Bruederli
4196be5b3a Fix usage of KolabEvent url setter/getter 2013-05-16 14:51:32 +02:00
Thomas Bruederli
50535a8f34 Fix syntax error 2013-05-16 14:20:25 +02:00
Thomas Bruederli
f4da6b44f6 Add support for URL property in xcal based objects 2013-05-16 13:30:04 +02:00
Thomas Bruederli
06e7b093ba Add support for CUTYPE parameter for event attendees 2013-05-16 09:23:48 +02:00
Aleksander Machniak
1857a64d4f Fix undefined variable related errors caught in static code analysis 2013-05-07 12:56:18 +02:00
Thomas Bruederli
72e4984952 Use the correct email type constant 2013-05-01 15:25:37 +02:00
Thomas Bruederli
2c71f81e70 Merge branch 'dev/email-subtypes' 2013-05-01 15:19:13 +02:00
Aleksander Machniak
5f306222f2 Suppoprt more complicated cache queries, e.g. AND (tags LIKE ' tag1 ' OR tags LIKE ' tag2 ') 2013-04-22 15:52:37 +02:00