Commit graph

267 commits

Author SHA1 Message Date
Thomas Bruederli
595f1b6a8c Only keep the last created object in memory (#2353) 2013-10-17 13:11:46 +02:00
Thomas Bruederli
1f44998d14 Pad folder names with spaces to sort parent folders before their childs 2013-10-16 16:50:43 +02:00
Thomas Bruederli
d230fa51f8 Revert "Sort folders by hierarchy level first"
This reverts commit 5fd5be6176.
2013-10-16 16:43:44 +02:00
Thomas Bruederli
5fd5be6176 Sort folders by hierarchy level first 2013-10-16 16:34:07 +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
8459eb1c78 Also list unsubscribed folders for parent-selector 2013-10-10 17:07:20 +02:00
Thomas Bruederli
6a2262f820 Make some getter methods available for others 2013-10-10 16:46:20 +02:00
Thomas Bruederli
cc21e9161c Fix typo introduced in commit 8680256c54 2013-10-07 14:59:20 +02:00
Aleksander Machniak
8680256c54 Fix enabled imap threading mode when synchronizing kolab folder (Bug #2323) 2013-10-07 13:41:10 +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
e4bcac4650 Fix typo in new http_request() method, fixes deprecated options handling 2013-09-30 15:43:39 +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
17ceedc47b Support 'file' objects 2013-08-07 15:14:19 +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
Aleksander Machniak
fd645a9e96 Added DDL for postgres (Bug #2039) 2013-07-31 14:28:18 +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