[Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only
Ron Mitchell
ronm at mitchellmedia.co.uk
Fri Oct 25 12:59:55 BST 2013
Hi John
yes I tested with Firefox but only 16.0.2 and have certainly used all
browsers with installations where custom prefix is in place.
Cheers
Ron
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 25 October 2013 12:50
To: For Xerte technical developers
Subject: [Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only
Ah. thanks for confirming that Ron - was it in Firefox that you tested
this?. I always had that down as something that I hadn't implemented and
since I am using the default Moodle session name to restart the session in
Firefox and Safari (the only two browsers needing this it present) but
perhaps it isn't an issue.
Regards,
John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: Friday, October 25, 2013 12:27 PM
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only
> Something else that should/could go into the upload.php page is handling
of Moodle session prefix which we don't cater for just now either but will
come back to bite us at some point.<
Hi John
if what you mean by the above snippet is the ability to add a session prefix
within Moodle admin so that more than one moodle installation can run on the
same server and being able to be logged into each at the same time then I
don't think that session prefix has any impact on using moodle
authentication with Xerte. It's always worked fine for me whether a cookie
prefix is set or not. I just tested an install with and without a prefix and
all seemed fine.
HTH
Ron
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 25 October 2013 12:09
To: For Xerte technical developers
Subject: [Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only
OK. Looking at the code:
function getSessionID(){
var id;
var auth = '<?php echo
strtolower($xerte_toolkits_site->authentication_method); ?>';
var browser =
(navigator.userAgent.toLowerCase().indexOf('firefox') > -1) ? 'firefox' :
((navigator.userAgent.toLowerCase().indexOf('safari') > -1) ? 'safari' :
'other');
//Pass data to upload (Firefox Flash Cookie Bug)
which we are
//It first checks moodle, then defaults
if (auth == 'moodle') {
//Its Moodle integration so we need the
whole cookie
return 'BROWSER=' + browser +
'&AUTH=moodle&COOKIE=' + escape(document.cookie);
}
else if ((id =
document.cookie.match(/PHPSESSID=[^;]+/))) {
// Its Default authentication so we only
need session id
return 'BROWSER=' + browser + '&AUTH=xerte&'
+ id;
}
return null;
}
The only reason for &null to be in the URL is if the cookie doesn't have
PHPSESSID= in it (assuming you are not using Moodle).
That means that Firefox 24 must be using a different session cookie
identifier?!? Which is going to further complicate things. Something else
that should/could go into the upload.php page is handling of Moodle session
prefix which we don't cater for just now either but will come back to bite
us at some point.
Regards,
John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: Friday, October 25, 2013 10:41 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only
Hmmm, they look decidedly strange to me:
192.168.50.11 - - [25/Oct/2013:11:39:01 +0200] "POST
/~tom/xotdev/modules/xerte/engine/upload.php?path=USER-FILES/1-tom-Nottingha
m/media/&null HTTP/1.1" 200 - "-" "Shockwave Flash"
192.168.50.11 - - [25/Oct/2013:11:39:05 +0200] "POST
/~tom/xotdev/modules/xerte/engine/file_exists.php HTTP/1.1" 200 39 "-"
"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0"
i.e. I would have expected some indication of firefox on the first line as
well.
Smith, John schreef op 25-10-2013 11:11:
Hi Tom,
It is most likely the flash cookie bug. Can you see what the useragent
string presents as for the new Firefox? I've seen issues on the
mediaelements Github site that IE11 has a different useragent string or
something.
Regards,
John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: Friday, October 25, 2013 9:11 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only
committed issue 1,
re issue 2, I am using Firefox 24.0, latest 2.1-beta
Tom
Ron Mitchell schreef op 25-10-2013 9:47:
Hi Tom
re issue 1
can't see a problem with that 5px change
re issue 2
I just tested with Firefox 16.0.2 and uploading images and video works fine
for me with 2.2 code grabbed this morning.
HTH
Ron
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 24 October 2013 21:48
To: For Xerte technical developers
Subject: [Xerte-dev] New 2.1, there are 2 problems in Firefox only
Issue 1:
The space needed by the buttons in the Dutch translation is too large:
This only happens in (some) installations of firefox, i.e. I have problems
on my PC, but Inge does not on hers (Both Win7Pro 64bit).
Does anyone mind if I set the margins of .file_mgt_area_middle to 10px
i.s.o. 15px?
Issue 2, upload of media, so far only encountered in firefox:
I can't upload media. Tested with video and images.
Tom
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
Glasgow Caledonian University is a registered Scottish charity, number
SC021474
Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html
Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
Glasgow Caledonian University is a registered Scottish charity, number
SC021474
Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html
Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html
Glasgow Caledonian University is a registered Scottish charity, number
SC021474
Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html
Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131025/bfb2b233/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 18487 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131025/bfb2b233/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 11902 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131025/bfb2b233/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 6243 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131025/bfb2b233/attachment-0005.png>
More information about the Xerte-dev
mailing list