Re: [uportal-dev] Browser mapping

2007-09-24 Thread Drew Wills

+1 from me as well.

drew

Jason Shao wrote:

On Sep 24, 2007, at 2:47 PM, Berry, Patrick wrote:

Having Opera report it’s user-agent as Firefox or IE, and things were 
just fine.  I checked in properties/browser.mappings and found that 
Opera 7 was the last Opera listed.  I was about to add it and thought 
that trying to map every user-agent is a ‘no win’ situation, even with 
regex.  So, I decided to add this at the very end:
 
# Match everything else and give them profile 1 anyway

.*=1
 
If all other attempt at catching the browser fails, you still get 
system profile 1.


This sounds like it should be in the default configuration. +1?

Jason

--

Jason Shao
Application Developer
Rutgers University, Office of Instructional  Research Technology
v. 732-445-8726 | f. 732-445-5539 | [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] | http://jay.shao.org




--
You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev



--
Andrew Wills
UNICON, Inc.
Office:  (480) 558-2476
http://code.google.com/p/cernunnos/

--
You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev


RE: [uportal-dev] Browser mapping

2007-09-24 Thread Berry, Patrick
Nope, but this might have something to do with our customized theme.
I'm still digging around to see why/where our problem is.

 

Pat

 

From: Paul Gazda [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 24, 2007 1:28 PM
To: uportal-dev@lists.ja-sig.org
Subject: RE: [uportal-dev] Browser mapping

 

I am puzzled by the Opera 9 issue. I recently ran some tests with Opera
9.20 and uPortal 2.5.2 and did not have a problem. Opera 9.20 was
successfully recorded in the UP_USER_UA_MAP table. Does the dialogue
that asks for browser type not appear with your guest page?

 

 

Paul Gazda

Senior Web Developer

Information Technology Services

Northern Arizona University

[EMAIL PROTECTED]

(928) 523-6844

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Shao
Sent: Monday, September 24, 2007 1:05 PM
To: uportal-dev@lists.ja-sig.org
Subject: Re: [uportal-dev] Browser mapping

 

On Sep 24, 2007, at 2:47 PM, Berry, Patrick wrote:





Having Opera report it's user-agent as Firefox or IE, and things were
just fine.  I checked in properties/browser.mappings and found that
Opera 7 was the last Opera listed.  I was about to add it and thought
that trying to map every user-agent is a 'no win' situation, even with
regex.  So, I decided to add this at the very end:

 

# Match everything else and give them profile 1 anyway

.*=1

 

If all other attempt at catching the browser fails, you still get system
profile 1.

 

This sounds like it should be in the default configuration. +1?

 

Jason

 

--

 

Jason Shao

Application Developer

Rutgers University, Office of Instructional  Research Technology

v. 732-445-8726 | f. 732-445-5539 | [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  | http://jay.shao.org





 

-- 
You are currently subscribed to uportal-dev@lists.ja-sig.org as:
[EMAIL PROTECTED]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

 

-- 
You are currently subscribed to uportal-dev@lists.ja-sig.org as:
[EMAIL PROTECTED]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

-- 
You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Re: [uportal-dev] Browser mapping

2007-09-24 Thread Susan Bramhall

+1.  I always wonder about updating that properties file.
Susan

Drew Wills wrote:

+1 from me as well.

drew

Jason Shao wrote:

On Sep 24, 2007, at 2:47 PM, Berry, Patrick wrote:

Having Opera report it’s user-agent as Firefox or IE, and things 
were just fine.  I checked in properties/browser.mappings and found 
that Opera 7 was the last Opera listed.  I was about to add it and 
thought that trying to map every user-agent is a ‘no win’ situation, 
even with regex.  So, I decided to add this at the very end:
 
# Match everything else and give them profile 1 anyway

.*=1
 
If all other attempt at catching the browser fails, you still get 
system profile 1.


This sounds like it should be in the default configuration. +1?

Jason

--

Jason Shao
Application Developer
Rutgers University, Office of Instructional  Research Technology
v. 732-445-8726 | f. 732-445-5539 | [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] | http://jay.shao.org




--
You are currently subscribed to uportal-dev@lists.ja-sig.org as: 
[EMAIL PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev






--
It's no use trying to be clever--we are all clever here; just try to be kind--a 
little kind.
-- F.J. Foakes Jackson


--
You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev


RE: [uportal-dev] Browser mapping

2007-09-24 Thread Berry, Patrick
The code in source/org/jasig/portal/GuestUserPreferencesManager.java
seems to give up if a match isn't made from browser.mappings. 

 

The proposed mapping config change seems to address this.  I'm not
entirely comfortable with my understanding of this to create a JIRA
issue just yet.  I did just check this against the 2.6 rc2 quickstart
with elinks and can replicate the experience though.  Maybe a bit more
digging and I can propose something less hackish.

 

Pat

 

From: Paul Gazda [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 24, 2007 1:28 PM
To: uportal-dev@lists.ja-sig.org
Subject: RE: [uportal-dev] Browser mapping

 

I am puzzled by the Opera 9 issue. I recently ran some tests with Opera
9.20 and uPortal 2.5.2 and did not have a problem. Opera 9.20 was
successfully recorded in the UP_USER_UA_MAP table. Does the dialogue
that asks for browser type not appear with your guest page?

 

 

Paul Gazda

Senior Web Developer

Information Technology Services

Northern Arizona University

[EMAIL PROTECTED]

(928) 523-6844

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Shao
Sent: Monday, September 24, 2007 1:05 PM
To: uportal-dev@lists.ja-sig.org
Subject: Re: [uportal-dev] Browser mapping

 

On Sep 24, 2007, at 2:47 PM, Berry, Patrick wrote:





Having Opera report it's user-agent as Firefox or IE, and things were
just fine.  I checked in properties/browser.mappings and found that
Opera 7 was the last Opera listed.  I was about to add it and thought
that trying to map every user-agent is a 'no win' situation, even with
regex.  So, I decided to add this at the very end:

 

# Match everything else and give them profile 1 anyway

.*=1

 

If all other attempt at catching the browser fails, you still get system
profile 1.

 

This sounds like it should be in the default configuration. +1?

 

Jason

 

--

 

Jason Shao

Application Developer

Rutgers University, Office of Instructional  Research Technology

v. 732-445-8726 | f. 732-445-5539 | [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  | http://jay.shao.org





 

-- 
You are currently subscribed to uportal-dev@lists.ja-sig.org as:
[EMAIL PROTECTED]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

 

-- 
You are currently subscribed to uportal-dev@lists.ja-sig.org as:
[EMAIL PROTECTED]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

-- 
You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev