Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Take your Zimbra with you!
liverpoolfcfan
Outstanding Member
Outstanding Member
Posts: 925
Joined: Sat Sep 13, 2014 12:47 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Postby liverpoolfcfan » Sat Jun 12, 2010 7:37 am

There have been a lot of fixes/updates since version 29. Not sure any will help your issue, but I would suggest installing ththe latest version 36 with the appointment fix above as a starting point, then we can try to help you debug from there.


gnosbush
Posts: 36
Joined: Sat Sep 13, 2014 12:31 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Postby gnosbush » Sun Jun 13, 2010 1:31 am

Revision 37 has been published.
andywhy
Posts: 22
Joined: Sat Sep 13, 2014 1:06 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Postby andywhy » Sun Jun 13, 2010 9:25 am

[quote user="gnosbush"]Revision 37 has been published.[/QUOTE]
Tested the new revision today, german "Umlaute" äöüß don't work anymore in calendar ü is shown as "~A1/4". In contacts, tasks and email they are shown normally...
Debug.txt shows the entry with Umlaut (name="Schüko")

User.xml files also don't work and all folders were synced... maybe I have an error in the file, but it worked slightly modified (without profile entry) in previous versions. Here is my .xml file named andywhy.xml and owned by user: www-data group:www-data rights:u=rw,g=r,o=r





































Activesync partnership was created new using user:andywhy and domain:diam@Europe/Berlin
Andreas
liverpoolfcfan
Outstanding Member
Outstanding Member
Posts: 925
Joined: Sat Sep 13, 2014 12:47 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Postby liverpoolfcfan » Sun Jun 13, 2010 4:17 pm

[quote user="andywhy"]Tested the new revision today, german "Umlaute" äöüß don't work anymore in calendar ü is shown as "~A1/4". In contacts, tasks and email they are shown normally...[/QUOTE]
Not sure on this. Had it worked before - with what release ?
[QUOTE]User.xml files also don't work and all folders were synced... maybe I have an error in the file, but it worked slightly modified (without profile entry) in previous versions. Here is my .xml file named andywhy.xml and owned by user: www-data group:www-data rights:u=rw,g=r,o=r
Andreas[/QUOTE]
What do you mean it doesn't work ? Nothing syncs ? Or everything syncs - just your folders are not filtered like previously ? Please be a little more specific on the problem you are seeing.
andywhy
Posts: 22
Joined: Sat Sep 13, 2014 1:06 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Postby andywhy » Sun Jun 13, 2010 11:58 pm

Hi,
german "Umlaute" worked in all previous revisions incl. 36, the problem with user.xml is that all folders were synced, nothin is filtered as specified in xml file.
Andreas
liverpoolfcfan
Outstanding Member
Outstanding Member
Posts: 925
Joined: Sat Sep 13, 2014 12:47 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Postby liverpoolfcfan » Mon Jun 14, 2010 4:08 am

[quote user="andywhy"]german "Umlaute" worked in all previous revisions incl. 36

Andreas[/QUOTE]
I did a diff on the files, and have found a difference.
At lines 1715 and 1719 the Subject and Location are set. Release 36 added calls to w2u( ... ) around the data. Not sure what the reason for that change is - but it may be what is breaking it for you.
Please remove them and retest, and then report back.
Change from


if(isset($item['inv'][$i]['comp'][0]['name'])) {

$subApp->subject = w2u($item['inv'][$i]['comp'][0]['name']);

}
if(isset($item['inv'][$i]['comp'][0]['loc'])) {

$subApp->location = w2u($item['inv'][$i]['comp'][0]['loc']);

}


to


if(isset($item['inv'][$i]['comp'][0]['name'])) {

$subApp->subject = $item['inv'][$i]['comp'][0]['name'];

}
if(isset($item['inv'][$i]['comp'][0]['loc'])) {

$subApp->location = $item['inv'][$i]['comp'][0]['loc'];

}

andywhy
Posts: 22
Joined: Sat Sep 13, 2014 1:06 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Postby andywhy » Mon Jun 14, 2010 6:22 am

Thanks,
deleted the w2u(...) at line 1715 and 1719. Now the appointments were synced using "Umlaute". The Problem with the missing filtering of the folders, while using user.xml still exists.
Andreas
liverpoolfcfan
Outstanding Member
Outstanding Member
Posts: 925
Joined: Sat Sep 13, 2014 12:47 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Postby liverpoolfcfan » Mon Jun 14, 2010 8:16 am

[quote user="andywhy"]Thanks,
deleted the w2u(...) at line 1715 and 1719. Now the appointments were synced using "Umlaute".

[/QUOTE]
Excellent !


[QUOTE]The Problem with the missing filtering of the folders, while using user.xml still exists.[/QUOTE]


Near the end of the logon function - at lines 261-262


date_default_timezone_set( $tempTz );

$domain = substr( $domain, 0, $timezoneAt );


Add one more line so it reads


date_default_timezone_set( $tempTz );

$domain = substr( $domain, 0, $timezoneAt );

$this->_domain = $domain;


then re-test. Thanks
andywhy
Posts: 22
Joined: Sat Sep 13, 2014 1:06 am

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Postby andywhy » Mon Jun 14, 2010 8:56 am

Tried your guess, but the issue still exists. Filtering folders doesn't work for me in 37.
Here is my current logon in debug.txt
06/14/10 15:58:03 [28786] Client supports version 2.5

06/14/10 15:58:03 [28786] Zimbra Z-Push Backend Version: 37

06/14/10 15:58:03 [28786] START Logon { username = andywhy; domain = diam@Europe/Berlin; password = }

06/14/10 15:58:03 [28786] SOAP message: http://www.w3.org/2003/05/soap-envelope">





andywhy

**********









06/14/10 15:58:03 [28786] SOAP response: http://www.w3.org/2003/05/soap-envelope">
06/14/10 15:58:03 [28786] Timezone: [Europe/Berlin]

06/14/10 15:58:03 [28786] END Logon { connected = true; uid = andywhy }

06/14/10 15:58:03 [28786] START Setup { userid = diam; devid = 20BC756DC35222AE95239201AAAD1119; protocolversion = 2.5 }

06/14/10 15:58:03 [28786] /var/www/z-push/backend/zimbra.php:335 Undefined offset: 1 (8)

Blinkiz
Advanced member
Advanced member
Posts: 51
Joined: Fri Sep 12, 2014 11:47 pm

Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

Postby Blinkiz » Fri Jun 18, 2010 12:45 pm

Thanks for a great backend. Using it with Zimbra 6.0.7, zimbra backend 37, z-push 1.4 and a HTC Desire with custom ROM for Android 2.2. It has built in Exchange support, so am using that one.

Everything works. Some emails is not rendered correctly (html), but that is okay. Can also be a problem with the androids html reader...
My problem

I think this is a problem. Every time the phone synchronize, it seems like (in debug.txt) that it download all emails again. Each time. And this is done every ~30 second. Is this a correct behavior?

Return to “Mobility”

Who is online

Users browsing this forum: No registered users and 4 guests