X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C743D4.7C68DE60@onstor-exch02.onstor.net>; Mon, 29 Jan 2007 10:37:10 -0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C743D4.7C68DE60"
Content-class: urn:content-classes:message
Subject: RE: webui browser checking algorithm headaches
Date: Mon, 29 Jan 2007 10:37:10 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E02392853@onstor-exch02.onstor.net>
In-Reply-To: <20070126183942.3819b22a@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: webui browser checking algorithm headaches
Thread-Index: AcdBvGYzrX5q+12vRRKqrEZo1H9W1wCCoLyA
From: "Charissa Willard" <charissa.willard@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>
Cc: "Tim Gardner" <tim.gardner@onstor.com>,
	"Jay Michlin" <jay.michlin@onstor.com>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C743D4.7C68DE60
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Andy,

=20

QA would need to test each Linux distribution that is packaged in its
own way. That's why the current requirement is to support IE (6 and 7)
and Firefox (1.5 and 2.0[.0.1]) on Windows and Linux. Note that for FF
2.0 on Windows, we needed the 2.0.0.1 patch in order for the third party
web-ui packages to work. For Solaris, which is a requirement for
Delorean, the plan was to support Mozilla 1.7. However it has problems
working with the Google JavaScript graphics package used by the web-ui.
We may need to use the FF 2.0 for Solaris release that was built by Sun
to resolve this issue. This download is available on mozilla.org. So we
really can't just check for any Mozilla distribution as they may each
have their own issues. They need to be tested first. The tradeoff then
becomes available QE testing bandwidth versus support for various Linux
browser distributions.=20

=20

-Charissa

=20

-----Original Message-----
From: Andrew Sharp [mailto:andy.sharp@onstor.com]=20
Sent: Friday, January 26, 2007 6:40 PM
To: Charissa Willard
Cc: Tim Gardner; Jay Michlin
Subject: webui browser checking algorithm headaches

=20

Howdy folksez,

=20

Well, isn't the world of "open" source exciting?  It seems that things

are a bit mucky with Firefox 2.0, as mozilla.org has changed their

Trademark Policy, and will not allow Linux distro's that repackage

Firefox in their own way to call the program or the package

'firefox'.   Hence these distro's are going to call it 'iceweasel' -- no

doubt just to piss off mozilla.org.

=20

The distro's caught up in this nonsense includes Debian, the distro of

choice for all experienced Linicians, but also includes FedoraCore

(Redhat) and Suse(Novell) and several others.

=20

Sooo, I upgraded to the latest version of things this afternoon, and our

webui refuses to talk to my browser now, probably because it's

identifying itself as iceweasel 2.0.1 or something like that.

=20

We need a better way of handling this.  We can't just refuse to even

try to talk to a client.  Or there needs to be a manual override,

perhaps where the user hand-selects what browser client s/he is

prepared to claim s/he is running.  Do we even know for sure that some

browser clients don't work with our javascript?  Which ones?  Opera?

=20

Probably the proper way to handle this is to allow all clients based

on the Gecko browser engine, which is the heart of Mozilla, Firefox,

Konqueror(KDE), Epiphany(Gnome), and of course Iceweasel, rather than

checking for Firefox. Here is the user-agent string from my newly

upgraded firefox-nee iceweasel:

=20

66.201.51.66 - - [26/Jan/2007:18:19:22 -0800] "GET / HTTP/1.1" 200 772

"-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.1)

Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-2)"

=20

I believe it should be pretty easy to check for Gecko/build-date rather

than Firefox/version.

=20

=20

Thoughts?

=20

UI-less in Campbell,

=20

a

=20

=20


------_=_NextPart_001_01C743D4.7C68DE60
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"City"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"place"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:9.0pt;
	font-family:"Courier New";}
span.EmailStyle18
	{mso-style-type:personal-compose;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 100.75pt 1.0in 100.75pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>Andy,<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>QA would need to test each Linux distribution that is packaged in =
its
own way. That&#8217;s why the current requirement is to support IE (6 =
and 7)
and Firefox (1.5 and 2.0[.0.1]) on Windows and Linux. Note that for FF =
2.0 on
Windows, we needed the 2.0.0.1 patch in order for the third party web-ui
packages to work. For Solaris, which is a requirement for Delorean, the =
plan
was to support Mozilla 1.7. However it has problems working with the =
Google JavaScript
graphics package used by the web-ui. We may need to use the FF 2.0 for =
Solaris release
that was built by Sun to resolve this issue. This download is available =
on
mozilla.org. So we really can&#8217;t just check for any Mozilla =
distribution
as they may each have their own issues. They need to be tested first. =
The
tradeoff then becomes available QE testing bandwidth versus support for =
various
Linux browser distributions. <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>-Charissa<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>-----Original Message-----<br>
From: Andrew Sharp [mailto:andy.sharp@onstor.com] <br>
Sent: Friday, January 26, 2007 6:40 PM<br>
To: Charissa Willard<br>
Cc: <st1:PersonName w:st=3D"on">Tim Gardner</st1:PersonName>; =
<st1:PersonName
w:st=3D"on">Jay Michlin</st1:PersonName><br>
Subject: webui browser checking algorithm =
headaches<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>Howdy folksez,<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>Well, isn't the world of &quot;open&quot; source exciting?&nbsp; =
It
seems that things<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>are a bit mucky with Firefox 2.0, as mozilla.org has changed =
their<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>Trademark Policy, and will not allow Linux distro's that =
repackage<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>Firefox in their own way to call the program or the =
package<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>'firefox'.&nbsp;&nbsp; Hence these distro's are going to call it
'iceweasel' -- no<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>doubt just to piss off mozilla.org.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>The distro's caught up in this nonsense includes Debian, the =
distro of<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>choice for all experienced Linicians, but also includes =
FedoraCore<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>(Redhat) and Suse(Novell) and several =
others.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>Sooo, I upgraded to the latest version of things this afternoon, =
and our<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>webui refuses to talk to my browser now, probably because =
it's<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>identifying itself as iceweasel 2.0.1 or something like =
that.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>We need a better way of handling this.&nbsp; We can't just refuse =
to
even<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>try to talk to a client.&nbsp; Or there needs to be a manual =
override,<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>perhaps where the user hand-selects what browser client s/he =
is<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>prepared to claim s/he is running.&nbsp; Do we even know for sure =
that
some<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>browser clients don't work with our javascript?&nbsp; Which =
ones?&nbsp;
Opera?<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>Probably the proper way to handle this is to allow all clients =
based<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>on the Gecko browser engine, which is the heart of Mozilla, =
Firefox,<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>Konqueror(KDE), Epiphany(Gnome), and of course Iceweasel, rather =
than<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>checking for Firefox. Here is the user-agent string from my =
newly<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>upgraded firefox-nee iceweasel:<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>66.201.51.66 - - [26/Jan/2007:18:19:22 -0800] &quot;GET / =
HTTP/1.1&quot;
200 772<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>&quot;-&quot; &quot;Mozilla/5.0 (X11; U; Linux x86_64; en-US;
rv:1.8.1.1)<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>Gecko/20061205 Iceweasel/2.0.0.1 =
(Debian-2.0.0.1+dfsg-2)&quot;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>I believe it should be pretty easy to check for Gecko/build-date =
rather<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>than Firefox/version.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>Thoughts?<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>UI-less in <st1:City w:st=3D"on"><st1:place =
w:st=3D"on">Campbell</st1:place></st1:City>,<o:p></o:p></span></font></p>=


<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'>a<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:
9.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C743D4.7C68DE60--
