[Kolab-devel] Zpush last commit for test ( pre zpush 0.4)

Alain Abbas alain.abbas at libertech.fr
Thu Apr 8 00:37:20 CEST 2010


hi the last commit is ready for tests

What s news and what we need to test

this pre-release introduce a new mode called FlatMode  to integrate  
more than one  calendar or address book
 in the  default calendar of mobiles who don t support multi calendar 
and multi address books

In FOLDERMODE (for the moment iphone, ipod ) support foldermode

INBOX/Calendar  is seen  in the iphone as Calendar
INBOX/Calendar1  is seen  in  the iphone as Calendar1

and so on with user/.... and share. ....

in FLATMODE the same account wiil be seen like that :
INBOX/Calendar
INBOX/Calendar1      ----------------->      Default Calendar
.....

The backend can detect automaticly the mode for a specified device in a 
mixed configuration
in config file we introduced 2 define for that

//KolabMode
//  0 = FlatMode
//  1 = FolderMode
//  2 = try to determine the mode
define("KOLAB_MODE",2);

the second one is the array of mobile type who support folder mode

// define which mobile support foldermode
// this list is checked if KOLAB_MODE is set to 2
define("KOLAB_MOBILES_FOLDERMODE","iphone:ipod");
the string is the string sent by the mobile


To be tested :
the flat mode : you must reset the syc in the mobile
all the folders in INBOX (calendar,contacts) must be mixed in the 
calendar , contacts
the write is made in the default folder

if the default folder doesn t exist the backend try to find one by name 
with the define
define('KOLAB_DEFAULTFOLDER_DIARY',"calendar:kalendar:calendrier:agenda");
define('KOLAB_DEFAULTFOLDER_CONTACT',"contacts:kontact");  
define('KOLAB_DEFAULTFOLDER_TASK',"task:taske");  
if no one are found the backend will take the last one by default .


to test you must keep the lastest commit kolab.php and the lasted 
config-kolab.php

good tests











More information about the devel mailing list