[Users] The pesky mobile interfaces, how to get rid of them permanently [solved]
Info Zeta Alliance
info at zetalliance.org
Fri Jul 5 11:08:56 CEST 2019
Hello All,
I finally purchased an iPad to find out why the mobile interface pops up on iPad's in our organization.
Since we are using pre-authentication one might believe you could use the redirectURL parameter
as described here [ https://wiki.zimbra.com/wiki/Preauth | https://wiki.zimbra.com/wiki/Preauth ]
&redirectURL=/zimbra/h/
Maybe it works? I am not 100% sure as I went a different way.
I looked into the code of login.jsp and found there is an additional URL parameter one can put to make Zimbra
use the Advanced Ajax interface. And this parameter is not the same one as documented on various places
on the wiki. They all rely on the `pretty url` format aka /h/ and /m/ and /t/ and none of that helps me to
switch to ajax which is under /
Anyway, I found by reading the code one can do this:
Example:
[ https://mail.example.com%26client%3Dadvanced/ | https://mail.example.com&client=advanced ]
The trick is to append that &client parameter to the generated URL for preauth in this example:
[ https://wiki.zimbra.com/wiki/Preauth#PHP_Code_For_Redirecting_to_Zimbra_Preauth | https://wiki.zimbra.com/wiki/Preauth#PHP_Code_For_Redirecting_to_Zimbra_Preauth ]
You would change:
$preauthURL = $WEB_MAIL_PREAUTH_URL."?account=".$email."&by=name×tamp=".$timestamp."&expires=0&preauth=".$preauthToken;
to:
$preauthURL = $WEB_MAIL_PREAUTH_URL."?account=".$email."&by=name×tamp=".$timestamp."&expires=0&preauth=".$preauthToken." &client=advanced ";
That ?client=advanced stays in the address bar, so it does not look very nice. But no users here care about that.
One moe thing, do not use REST pre-auth it fucks up the logging of IP's, use the SOAP version:
[ https://github.com/Zimbra-Community/account-history/wiki/Configuring-Zimbra-Pre-Authentication-for-proper-logging. | https://github.com/Zimbra-Community/account-history/wiki/Configuring-Zimbra-Pre-Authentication-for-proper-logging. ]
I am also pretty sure that one can hack login.jsp to 100% disable the mobile interface by changing the switch statement
in there.
Kind regards,
Barry de Graaff
Zeta Alliance
Co-founder & Developer
zetalliance.org | github.com/Zimbra-Community
Signal: +31 617 220 227
Fingerprint: 97f4694a1d9aedad012533db725ddd156d36a2d0
From: "info" <info at zetalliance.org>
To: "Frédéric Nass" <frederic.nass at univ-lorraine.fr>
Cc: "Guy CARRÉ" <guycarre at free.fr>, "David Touitou" <david at network-studio.com>, users at lists.zetalliance.org, "info" <info at zetalliance.org>
Sent: Monday, 1 July, 2019 08:04:21
Subject: Re: [Users] The pesky mobile interfaces, how to get rid of them permanently
Yes, but how can I use the Ajax interface on ipad?
Kind regards,
Barry de Graaff
Zeta Alliance
Co-founder & Developer
zetalliance.org | github.com/Zimbra-Community
Signal: +31 617 220 227
Fingerprint: 97f4694a1d9aedad012533db725ddd156d36a2d0
From: "Frédéric Nass" <frederic.nass at univ-lorraine.fr>
To: "Guy CARRÉ" <guycarre at free.fr>, "David Touitou" <david at network-studio.com>
Cc: users at lists.zetalliance.org, "info" <info at zetalliance.org>
Sent: Monday, 1 July, 2019 08:00:32
Subject: Re: [Users] The pesky mobile interfaces, how to get rid of them permanently
Hi guys,
That's right. From Zimbra Support on Feb. the 2nd that "Unfortunately the Zimbra Touch Client has reached End-of-Life, and is no longer receiving active development. Alternatively, you may use the native mobile client instead of Touch Client.". And still these certified documentations...
[ https://wiki.zimbra.com/wiki/Touch_Client | https://wiki.zimbra.com/wiki/Touch_Client ]
[ https://wiki.zimbra.com/wiki/Mobile_Device_Setup#Zimbra_Touch_Client | https://wiki.zimbra.com/wiki/Mobile_Device_Setup#Zimbra_Touch_Client ]
Have a nice day,
Frédéric.
Le 27/06/2019 à 14:17, Guy CARRÉ a écrit :
David,
you confirmed my thoughs ;)
----- Mail original -----
BQ_BEGIN
De: "David Touitou" [ mailto:david at network-studio.com | <david at network-studio.com> ] À: "Guy CARRÉ" [ mailto:guycarre at free.fr | <guycarre at free.fr> ] Cc: "Naisiew Yeak" [ mailto:yeak at md.com.my | <yeak at md.com.my> ] , [ mailto:users at lists.zetalliance.org | users at lists.zetalliance.org ] , "Info Zeta Alliance" [ mailto:info at zetalliance.org | <info at zetalliance.org> ] Envoyé: Jeudi 27 Juin 2019 14:12:56
Objet: Re: [Users] The pesky mobile interfaces, how to get rid of them permanently
Hi,
BQ_BEGIN
I think this interface is completely abandoned from my point of
view.
It's part of the "let's ditch a lot of interesting stuff"
announcement of 8.8.12. [ https://wiki.zimbra.com/wiki/Zimbra_Releases/8.8.12 | https://wiki.zimbra.com/wiki/Zimbra_Releases/8.8.12 ] Zimbra X is supposed to be fully responsive.
David
BQ_END
BQ_END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zetalliance.org/pipermail/users_lists.zetalliance.org/attachments/20190705/68319846/attachment.html>
More information about the Users
mailing list