[Xerte-dev] session_handler.php / template saving / file upload mime checking

David Goodwin david at palepurple.co.uk
Tue May 13 22:12:27 BST 2014



Pat L (pgogy) wrote:
>
> Is the session handler used at all?
>
>



It seems to just remain as a commented out part of the config.php file 
(I think).

I just did a 'ack-grep mysql_ --php' to try and find files which 
contained mysql isms.


I'm currently working on improving the uploading of files (av scanning, 
mime type checking) and saving of the templates (ensure the XML is valid)

 From a template saving point of view, can someone explain what the 
difference is between :

modules/xerte/upload/save.php

and

modules/site/upload/save.php

They're almost identical, and it would make sense for the one to just 
require_once(the.other). If so, which way around?



thanks
David.


> Pat L (pgogy) <mailto:xerte at pgogywebstuff.com>
> 13 May 2014 21:40
> Is the session handler used at all?
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> Tom Reijnders <mailto:reijnders at tor.nl>
> 13 May 2014 21:02
> Done.
>
> Why does session_handler still use mysql_connect? I just happen to see 
> that one.
>
> Tom
>
> Tom Reijnders schreef op 13-5-2014 11:24:
>
> -- 
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
> 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.
>
> 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.
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> Tom Reijnders <mailto:reijnders at tor.nl>
> 13 May 2014 10:24
> Thank you David! I'll try to take care of it tonight.
>
> Tom
>
>
> -- 
> Verzonden van mijn Android telefoon met K-9 Mail.
>
> 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.
>
> 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.
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> David Goodwin <mailto:david at palepurple.co.uk>
> 12 May 2014 16:54
> Hi,
>
> See :
>
> https://github.com/thexerteproject/xerteonlinetoolkits/pull/65
>
>  * changes XOT to break it's dependency on mysql_ (outside of 'setup')
>  * removes the requirement to have mysql - it is defaulting to sqlite 
> - this ought to make it easier for people to test.
>  * removes any need to have a 'setup/' installer (to a large part). 
> Chucking the files into a web server and browsing to the install 
> should trigger it to create an empty database in the system temp dir.
>
>
> See :
>
> https://github.com/thexerteproject/xerteonlinetoolkits/pull/66
>
>  * When I browse away from the front page, or try and reload it, 
> Firefox get's stuck in a refresh loop.
>
>
> and :
>
> See :
>
> https://github.com/thexerteproject/xerteonlinetoolkits/pull/57
>
>  * Improve the storing of extra_flags against a template.
>  * Add new ZIP export module (use php's ZIP extension if possible, 
> otherwise fall back to the PHP userspace library).
>  * this should resolve memory limit issues with exporting zip files.
>
>
> thanks
> David.
>

-- 
--
Pale Purple Ltd
http://www.palepurple.co.uk @PalePurpleLtd
0845 0046746 / 07792 380669
"Bespoke web and mobile application development"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20140513/b3269e7e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact.jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20140513/b3269e7e/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postbox-contact.jpg
Type: image/jpeg
Size: 1169 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20140513/b3269e7e/attachment-0001.jpg>


More information about the Xerte-dev mailing list