[Geoserver-devel] Switching the preview to OL3

Hi all,
Bart has been setting up a new layer preview using OL3 here:
https://github.com/bartvde/geoserver-ol3-preview/commit/06e122aa9913df890347b47576f6839171cc061d

I am pretty excited about it… or else, I was, then Bart told me OL3 requires IE9+… erk…
I don’t think we can release a GeoServer that does not work with IE7 or IE8.

At the same time it’s a pity not to use Bart’s work. Maybe we should add a OL3 output format, or a format
option to get it? Or maybe have a browser identification tool that uses OL3 only when the browser
is recent enough.

Opinions?

Cheers
Andrea

== Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information ==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


I would go for:

“a browser identification tool that uses OL3 only when the browser
is recent enough”

···

Regards,
Simone Giannecchini

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Fri, Jan 10, 2014 at 3:36 PM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Hi all,
Bart has been setting up a new layer preview using OL3 here:
https://github.com/bartvde/geoserver-ol3-preview/commit/06e122aa9913df890347b47576f6839171cc061d

I am pretty excited about it… or else, I was, then Bart told me OL3 requires IE9+… erk…
I don’t think we can release a GeoServer that does not work with IE7 or IE8.

At the same time it’s a pity not to use Bart’s work. Maybe we should add a OL3 output format, or a format
option to get it? Or maybe have a browser identification tool that uses OL3 only when the browser
is recent enough.

Opinions?

Cheers
Andrea

== Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information ==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it



CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Browser identification tool would be ideal imho. Would be really great to have most people using it as the default preview. If we can’t do that then the output format would be good to add, but I feel like most people wouldn’t see it then.

···

On Fri, Jan 10, 2014 at 8:36 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Hi all,
Bart has been setting up a new layer preview using OL3 here:
https://github.com/bartvde/geoserver-ol3-preview/commit/06e122aa9913df890347b47576f6839171cc061d

I am pretty excited about it… or else, I was, then Bart told me OL3 requires IE9+… erk…
I don’t think we can release a GeoServer that does not work with IE7 or IE8.

At the same time it’s a pity not to use Bart’s work. Maybe we should add a OL3 output format, or a format
option to get it? Or maybe have a browser identification tool that uses OL3 only when the browser
is recent enough.

Opinions?

Cheers
Andrea

== Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information ==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it



CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

I too like the idea of browser identification and switching between new and
old. For the old I think it would be good to add some notice that says
"your browser sucks" ... er i mean "Your browser is currently not supported
..., blah blah"

On Fri, Jan 10, 2014 at 7:53 AM, Chris Holmes <chomie@anonymised.com> wrote:

Browser identification tool would be ideal imho. Would be really great to
have most people using it as the default preview. If we can't do that then
the output format would be good to add, but I feel like most people
wouldn't see it then.

On Fri, Jan 10, 2014 at 8:36 AM, Andrea Aime <andrea.aime@anonymised.com
> wrote:

Hi all,
Bart has been setting up a new layer preview using OL3 here:

https://github.com/bartvde/geoserver-ol3-preview/commit/06e122aa9913df890347b47576f6839171cc061d

I am pretty excited about it... or else, I was, then Bart told me OL3
requires IE9+... erk...
I don't think we can release a GeoServer that does not work with IE7 or
IE8.

At the same time it's a pity not to use Bart's work. Maybe we should add
a OL3 output format, or a format
option to get it? Or maybe have a browser identification tool that uses
OL3 only when the browser
is recent enough.

Opinions?

Cheers
Andrea

--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.

http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.

http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
*Justin Deoliveira*
Vice President, Engineering | Boundless
jdeolive@anonymised.com
@j_deolive <https://twitter.com/j_deolive&gt;

On Fri, Jan 10, 2014 at 4:58 PM, Justin Deoliveira <
jdeolive@anonymised.com> wrote:

I too like the idea of browser identification and switching between new
and old. For the old I think it would be good to add some notice that says
"your browser sucks" ... er i mean "Your browser is currently not supported
..., blah blah"

Ok, so how do we detect the unsupported browsers?
I've found this library to detect the user agents, but it's kinda big, two
jars, around 300kb I believe.

Maybe we can have a blacklist of specific strings instead? Suggestions?

Cheers
Andrea

--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

The header: HTTP_USER_AGENT
The regex: MSIE (\d+).

browser_is_old = int(group(1)) <= 8

The challenge is testing - my XP VM updated IE to 9 before I could stop it :slight_smile:

···

On Fri, Jan 10, 2014 at 9:00 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:


CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Ian Schneider
Software Engineer | Boundless
ischneider@anonymised.com

On Fri, Jan 10, 2014 at 4:58 PM, Justin Deoliveira <jdeolive@anonymised.com> wrote:

Ok, so how do we detect the unsupported browsers?
I’ve found this library to detect the user agents, but it’s kinda big, two jars, around 300kb I believe.

Maybe we can have a blacklist of specific strings instead? Suggestions?

Cheers

Andrea

== Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information ==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


I too like the idea of browser identification and switching between new and old. For the old I think it would be good to add some notice that says “your browser sucks” … er i mean “Your browser is currently not supported …, blah blah”

On Fri, Jan 10, 2014 at 5:43 PM, Bart van den Eijnden <
bartvde@anonymised.com> wrote:

I can work on that probably.

So the browser detection would be in the preview page or outside of it?

If Ian's suggestion is all we need to check, then I guess it's going to be
easier to check in the geoserver code directly (less back and forth)
What do you think?

Cheers
Andrea

--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Agreed if a check on the server can be done that would be simplest…

@Bart: do you think that check will suffice? Or do we need more context provided only in the browser?

···

On Fri, Jan 10, 2014 at 10:18 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:


CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Justin Deoliveira
Vice President, Engineering | Boundless
jdeolive@anonymised.com
@j_deolive

On Fri, Jan 10, 2014 at 5:43 PM, Bart van den Eijnden <bartvde@anonymised.com> wrote:

I can work on that probably.

So the browser detection would be in the preview page or outside of it?

If Ian’s suggestion is all we need to check, then I guess it’s going to be easier to check in the geoserver code directly (less back and forth)
What do you think?

Cheers

Andrea

== Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information ==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


I believe that (server-side) check could suffice.

Bart

···

On Fri, Jan 10, 2014 at 10:18 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:


CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Justin Deoliveira
Vice President, Engineering | Boundless
jdeolive@anonymised.com
@j_deolive

On Fri, Jan 10, 2014 at 5:43 PM, Bart van den Eijnden <bartvde@anonymised.com> wrote:

I can work on that probably.

So the browser detection would be in the preview page or outside of it?

If Ian’s suggestion is all we need to check, then I guess it’s going to be easier to check in the geoserver code directly (less back and forth)
What do you think?

Cheers

Andrea

== Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information ==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On 11/01/2014 4:58 a.m., Justin Deoliveira wrote:

I too like the idea of browser identification and switching between new and old. For the old I think it would be good to add some notice that says "your browser sucks" ... er i mean "Your browser is currently not supported ..., blah blah"

First sound accurate. How about "last millenium called - they want their browser back"?

We see a large no. of IE8 and still see too much iE7 on our site (we tell them to get a better browser).

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

The challenge is testing - my XP VM updated IE to 9 before I could stop it :slight_smile:

Our corporate install includes IE8 on Windows 7, so I can test if it’s put into the nightlies.

Jonathan

A large percentage of our customers are government agencies. Unfortunately, there are many cases where they cannot upgrade browsers or even the OS for long periods of time. We often have requirements for IE 7 as the minimum browser with all the headaches that goes with it.

Chris Snider
Senior Software Engineer

-----Original Message-----
From: Phil Scadden [mailto:p.scadden@anonymised.com]
Sent: Sunday, January 12, 2014 1:24 PM
To: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] Switching the preview to OL3

On 11/01/2014 4:58 a.m., Justin Deoliveira wrote:

I too like the idea of browser identification and switching between
new and old. For the old I think it would be good to add some notice
that says "your browser sucks" ... er i mean "Your browser is
currently not supported ..., blah blah"

First sound accurate. How about "last millenium called - they want their browser back"?

We see a large no. of IE8 and still see too much iE7 on our site (we tell them to get a better browser).

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel