<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Yeah, I know, and I understood also why you did it. The closest that
I could come up with with the existing class is catch the return of
get_files(). It tries to read the zip signature and the zip index.
If that fails, it returns false.<br>
<br>
That's in there right now.<br>
<br>
<div class="moz-cite-prefix">Pat @ Pgogy schreef op 6-11-2013 16:48:<br>
</div>
<blockquote
cite="mid:CAO2PinPoeuX6sf=H1wT8iD5zK8iX6OLaJm+Mxj-53-sNgRk=zQ@mail.gmail.com"
type="cite">
<div dir="ltr">Ok, that was my change - but it was done as the
quickest way to test if a zip was a zip. The old logic didn't
work (as it accepted almost all mime types as zips).
<div><br>
</div>
<div>I could repurpose using the existing class?</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Nov 6, 2013 at 2:42 PM, Tom
Reijnders <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:reijnders@tor.nl" target="_blank">reijnders@tor.nl</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Hmm...<br>
<br>
I think I have another hotfix coming up...<br>
<br>
I deployed 2.1 to the same server as where the community
website is running on, and import isn't working because of
the fact that ZipArchive isn't supported in php on that
machine. I want to get rid of that dependency, as we use
another class for the actual unzipping anyways.<br>
<br>
Tom<br>
<br>
<div>Tom Reijnders schreef op 4-11-2013 17:31:<br>
</div>
<blockquote type="cite"> The2.1 zip is on the community
website, but I haven't had the opportunity yet to test
it, and to make sure it works as expected.....<br>
<br>
<div>Julian Tenney schreef op 4-11-2013 14:45:<br>
</div>
<blockquote type="cite">
<div>
<p class="MsoNormal"><span style="color:#1f497d">Nice
one, thanks for your help everybody. Another
step forward!</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<div>
<div style="border:none;border-top:solid #b5c4df
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US"> <a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"
target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>
[<a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"
target="_blank">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Tom Reijnders<br>
<b>Sent:</b> 04 November 2013 13:37<br>
<b>To:</b> For Xerte technical developers<br>
<b>Subject:</b> [Xerte-dev] Re: 2.1</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-bottom:12.0pt">I
had to set the tag, and mind you, it's really
important to have a tag name that is different
from a branch name (so v2.1, i.s.o. 2.1)<br>
<br>
You have to specify --tags to the push command, to
be able to set the tag on github as well.<br>
<br>
All seems to be fine now, so I'll try to get 2.1
uploaded to the website!<br>
<br>
Tom</p>
<div>
<p class="MsoNormal">Julian Tenney schreef op
4-11-2013 14:25:</p>
</div>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:#1f497d">OK,
as far as I can tell I’ve just disabled
Moscow’s traffic light system and sent the
international space sation into a slightly
wider orbit, and it’s entirely possible that
along the way I also managed to merge the
various branches and create a tag.</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d">So
master is now develop is now 2.1 and tagged.</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d">Can
you please check it looks as you think it
should look?</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d">Many
thanks,</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d">J</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<div>
<div style="border:none;border-top:solid #b5c4df
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US"> <a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"
target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>
[<a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"
target="_blank">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Tom Reijnders<br>
<b>Sent:</b> 04 November 2013 12:36<br>
<b>To:</b> For Xerte technical developers<br>
<b>Subject:</b> [Xerte-dev] Re: 2.1</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Yes!<br>
<br>
Give me a heads up when git is ready (i.e. 2.1
is merged into development again).<br>
And it needs to merged into master.<br>
We need (or I need) to set a tag v.2.1 to the
merge point on master, and I'll make sure we get
a 2.1 release from master on the Community
Website.<br>
<br>
Tom<br>
<br>
<br>
</p>
<div>
<p class="MsoNormal">Julian Tenney schreef op
4-11-2013 13:32:</p>
</div>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:#1f497d">Shall
we go for it then?</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<div>
<div style="border:none;border-top:solid
#b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US"> <a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>
[<a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"
target="_blank">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Smith, John<br>
<b>Sent:</b> 04 November 2013 10:30<br>
<b>To:</b> For Xerte technical
developers<br>
<b>Subject:</b> [Xerte-dev] Re: 2.1</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="color:#1f497d"
lang="EN-US">Nor do I…</span></p>
<div>
<p class="MsoNormal"><span
style="color:#1f497d" lang="EN-US"> </span></p>
<p class="MsoNormal"><span
style="color:#1f497d" lang="EN-US">Regards,</span></p>
<p class="MsoNormal"><span
style="color:#1f497d" lang="EN-US"> </span></p>
<p class="MsoNormal"><span
style="color:#1f497d" lang="EN-US">John
Smith</span></p>
<p class="MsoNormal"><span
style="color:#1f497d" lang="EN-US">Learning
Technologist</span></p>
<p class="MsoNormal"><span
style="color:#1f497d" lang="EN-US">School
of Health & Life Sciences</span></p>
<p class="MsoNormal"><span
style="color:#1f497d" lang="EN-US">Glasgow
Caledonian University</span></p>
</div>
<p class="MsoNormal"><span style="color:#1f497d"
lang="EN-US"> </span></p>
<div>
<div style="border:none;border-top:solid
#b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US"> <a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>
[<a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"
target="_blank">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Ron Mitchell<br>
<b>Sent:</b> Monday, November 04, 2013
10:25 AM<br>
<b>To:</b> For Xerte technical
developers<br>
<b>Subject:</b> [Xerte-dev] Re: 2.1</span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">Me
neither....<br>
<br>
Sent from my iPhone</span></p>
</div>
<div>
<p class="MsoNormal"
style="margin-bottom:12.0pt"><span
lang="EN-US"><br>
On 4 Nov 2013, at 10:21, Tom Reijnders
<<a moz-do-not-send="true"
href="mailto:reijnders@tor.nl"
target="_blank">reijnders@tor.nl</a>>
wrote:</span></p>
</div>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"
style="margin-bottom:12.0pt"><span
lang="EN-US">I don't know of any
showstoppers.<br>
<br>
Tom</span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">Julian
Tenney schreef op 4-11-2013 10:57:</span></p>
</div>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span
style="color:#1f497d" lang="EN-US">How
close do you think we are to the 2.1
release?</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p><span lang="EN-US">This message and any
attachment are intended solely for the
addressee and may contain confidential
information. If you have received this
message in error, please send it back
to me, and immediately delete it.
Please do not use, copy or disclose
the information contained in this
message or in any attachment. Any
views or opinions expressed by the
author of this email do not
necessarily reflect the views of the
University of Nottingham.</span></p>
<p><span lang="EN-US">This message has
been checked for viruses but the
contents of an attachment may still
contain software viruses which could
damage your computer system, you are
advised to perform your own checks.
Email communications with the
University of Nottingham may be
monitored as permitted by UK
legislation.</span></p>
<p class="MsoNormal"
style="margin-bottom:12.0pt"><span
lang="EN-US"><br>
<br>
<br>
<br>
<br>
</span></p>
<pre><span lang="EN-US">_______________________________________________</span></pre>
<pre><span lang="EN-US">Xerte-dev mailing list</span></pre>
<pre><span lang="EN-US"><a moz-do-not-send="true" href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">Xerte-dev@lists.nottingham.ac.uk</a></span></pre>
<pre><span lang="EN-US"><a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></span></pre>
</blockquote>
<p class="MsoNormal"
style="margin-bottom:12.0pt"><span
lang="EN-US"> </span></p>
<pre><span lang="EN-US">-- </span></pre>
<pre><span lang="EN-US">--</span></pre>
<pre><span lang="EN-US"> </span></pre>
<pre><span lang="EN-US">Tom Reijnders</span></pre>
<pre><span lang="EN-US">TOR Informatica</span></pre>
<pre><span lang="EN-US">Chopinlaan 27</span></pre>
<pre><span lang="EN-US">5242HM Rosmalen</span></pre>
<pre><span lang="EN-US">Tel: 073 5226191</span></pre>
<pre><span lang="EN-US">Fax: 073 5226196</span></pre>
<pre><span lang="EN-US"> </span></pre>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p><span lang="EN-US">This message and any
attachment are intended solely for the
addressee and may contain confidential
information. If you have received this
message in error, please send it back to
me, and immediately delete it. Please
do not use, copy or disclose the
information contained in this message or
in any attachment. Any views or
opinions expressed by the author of this
email do not necessarily reflect the
views of the University of Nottingham.</span></p>
<p><span lang="EN-US">This message has been
checked for viruses but the contents of
an attachment may still contain software
viruses which could damage your computer
system, you are advised to perform your
own checks. Email communications with
the University of Nottingham may be
monitored as permitted by UK
legislation.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
</div>
</blockquote>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span lang="EN-US">_______________________________________________<br>
Xerte-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:Xerte-dev@lists.nottingham.ac.uk"
target="_blank">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a moz-do-not-send="true"
href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev"
target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></span></p>
</div>
</blockquote>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p><span lang="EN-US">This message and any
attachment are intended solely for the
addressee and may contain confidential
information. If you have received this
message in error, please send it back to me,
and immediately delete it. Please do not
use, copy or disclose the information
contained in this message or in any
attachment. Any views or opinions expressed
by the author of this email do not
necessarily reflect the views of the
University of Nottingham.</span></p>
<p><span lang="EN-US">This message has been
checked for viruses but the contents of an
attachment may still contain software
viruses which could damage your computer
system, you are advised to perform your own
checks. Email communications with the
University of Nottingham may be monitored as
permitted by UK legislation.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"><br>
</span><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray"
lang="EN-US">Glasgow Caledonian University
is a registered Scottish charity, number
SC021474<br>
<br>
Winner: Times Higher Education’s Widening
Participation Initiative of the Year 2009
and Herald Society’s Education Initiative of
the Year 2009.<br>
<a moz-do-not-send="true"
href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html"
target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html</a><br>
<br>
Winner: Times Higher Education’s Outstanding
Support for Early Career Researchers of the
Year 2010, GCU as a lead with Universities
Scotland partners.<br>
<a moz-do-not-send="true"
href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html"
target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html</a></span></p>
<p class="MsoNormal"><span><br>
<br>
<br>
<br>
</span></p>
<pre>_______________________________________________</pre>
<pre>Xerte-dev mailing list</pre>
<pre><a moz-do-not-send="true" href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">Xerte-dev@lists.nottingham.ac.uk</a></pre>
<pre><a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></pre>
</blockquote>
<p class="MsoNormal"><span><br>
<br>
<br>
</span></p>
<pre>-- </pre>
<pre>--</pre>
<pre> </pre>
<pre>Tom Reijnders</pre>
<pre>TOR Informatica</pre>
<pre>Chopinlaan 27</pre>
<pre>5242HM Rosmalen</pre>
<pre>Tel: 073 5226191</pre>
<pre>Fax: 073 5226196</pre>
<pre> </pre>
<p class="MsoNormal"><span> </span></p>
<p>This message and any attachment are intended
solely for the addressee and may contain
confidential information. If you have received
this message in error, please send it back to
me, and immediately delete it. Please do not
use, copy or disclose the information contained
in this message or in any attachment. Any views
or opinions expressed by the author of this
email do not necessarily reflect the views of
the University of Nottingham.</p>
<p>This message has been checked for viruses but
the contents of an attachment may still contain
software viruses which could damage your
computer system, you are advised to perform your
own checks. Email communications with the
University of Nottingham may be monitored as
permitted by UK legislation.</p>
<p class="MsoNormal"><span><br>
<br>
<br>
<br>
</span></p>
<pre>_______________________________________________</pre>
<pre>Xerte-dev mailing list</pre>
<pre><a moz-do-not-send="true" href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">Xerte-dev@lists.nottingham.ac.uk</a></pre>
<pre><a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></pre>
</blockquote>
<p class="MsoNormal"><span><br>
<br>
</span></p>
<pre>-- </pre>
<pre>--</pre>
<pre> </pre>
<pre>Tom Reijnders</pre>
<pre>TOR Informatica</pre>
<pre>Chopinlaan 27</pre>
<pre>5242HM Rosmalen</pre>
<pre>Tel: 073 5226191</pre>
<pre>Fax: 073 5226196</pre>
<pre> </pre>
</div>
<br>
<p>This message and any attachment are intended solely
for the addressee and may contain confidential
information. If you have received this message in
error, please send it back to me, and immediately
delete it. Please do not use, copy or disclose the
information contained in this message or in any
attachment. Any views or opinions expressed by the
author of this email do not necessarily reflect the
views of the University of Nottingham.</p>
<p>This message has been checked for viruses but the
contents of an attachment may still contain software
viruses which could damage your computer system, you
are advised to perform your own checks. Email
communications with the University of Nottingham may
be monitored as permitted by UK legislation.</p>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Xerte-dev mailing list
<a moz-do-not-send="true" href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">Xerte-dev@lists.nottingham.ac.uk</a>
<a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>
</pre>
</blockquote>
<br>
<pre cols="72">--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
</pre>
<br>
<p>This message and any attachment are intended solely
for the addressee and may contain confidential
information. If you have received this message in
error, please send it back to me, and immediately
delete it. Please do not use, copy or disclose the
information contained in this message or in any
attachment. Any views or opinions expressed by the
author of this email do not necessarily reflect the
views of the University of Nottingham.</p>
<p>This message has been checked for viruses but the
contents of an attachment may still contain software
viruses which could damage your computer system, you
are advised to perform your own checks. Email
communications with the University of Nottingham may
be monitored as permitted by UK legislation.</p>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Xerte-dev mailing list
<a moz-do-not-send="true" href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">Xerte-dev@lists.nottingham.ac.uk</a>
<a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>
</pre>
</blockquote>
<br>
<pre cols="72">--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
</pre>
<br>
<p>This message and any attachment are intended solely for
the addressee and may contain confidential information.
If you have received this message in error, please send
it back to me, and immediately delete it. Please do
not use, copy or disclose the information contained in
this message or in any attachment. Any views or
opinions expressed by the author of this email do not
necessarily reflect the views of the University of
Nottingham.</p>
<p>This message has been checked for viruses but the
contents of an attachment may still contain software
viruses which could damage your computer system, you are
advised to perform your own checks. Email communications
with the University of Nottingham may be monitored as
permitted by UK legislation.</p>
<br>
</div>
<br>
_______________________________________________<br>
Xerte-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a moz-do-not-send="true"
href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev"
target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Xerte-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
</pre>
</body>
</html>