Trac

I have set-up Trac at trac.spensierato.net you can use your svn user names and passwords to login.
Please feel free to start uploading data, bug reports etc.

She Runs!

Finally got a few hours to play with my V8, surprisingly after pouring in some oil and spining the oil pump, just bolting on the starter, sprayed some petrol down the carb and in less than 1 crank is started!

Now just to clean it, strip it, megasquirt it at this rate should have it done by 2030

PHP Caching system

I have developed a PHP caching class, it currently uses memcached and supports fallback to session stores, other systems to come.

It’s very simple to use, include and use persistantcache::singleton()->save($name, $data, ‘optional max time in secconds’); and persistantcache::singleton()->get($name); to retrive your data.

PHP Persistent Cache V2 or view the latest in my SVN at http://svn.fryer.org.uk/websvn/filedetails.php?repname=cms&path=%2Ftrunk%2Fcms%2Finc%2Fclasses%2Fpersistantcache.inc

Excel to XML using just PHP

I found an excellent script written by Vadim Tkachenko (Included), which is based on Andy Khan’s work.

I have written a quick class to access it and return the contents of the of the file, including all of the worksheets as XML.

See the example.php file it should explain it all quite well, all of my code in this s public domain.

Download Excel to XML in PHP

Roadmap to the future

We I got around to outlining the release goals for Spensierato

You can find the upto date roadmap at http://spensierato.fryer.org.uk/21 but for the lazy:

The current roadmap to Alpha 1 is to:

  • Get all of current elements fully working (Almost - needs testing)
  • Finish skins for each element in the XSLT (Think only Contact needs work)
  • Finialise installer (Almost done)
  • Security editing (Not started)

Alpha 2:

  • Sort skins to suport languages (Use defines etc)
  • Include extra skins and alternative.css
  • Menu Changes
  • Addition security models (If required?)
  • Setting editing
  • Search

Alpha 3:

  • Major skin updates to include ‘Zones of Content’

Alpha 4:

  • Drag and drop re-ordering of elements and menu

Spensierato Pre-Release 5

There should be a working installer now, let me know if you have any problems.

Now also includes an alternative CSS although it contains many bugs it sets an example framework to start from.

Update:

Bug fixes release Pre Release 5.1

  • Due to a find and replace error (My fault) saving of text elements got broken.
  • Skin updates to work better when Tidy is not installed
  • Updates to allow users with out apaches mod_rewrite to still use the site
  • Installer now includes a prity background

Download it from the Demo and Download page

Roadmap to Alpha 1 on its way.

SVN moved

I have updated the location of the SVN and added Spensierato to Ohloh the svn is now at http://svn.fryer.org.uk/cms/

Pre-Release 4

Now with working page security, yay.

Minor updates to the skin, more bug fixes, outline of install script and new fancy favicon!

See the downloads page for more

Spensierato Updates

Been a while since I updated this so here is a short list of recent work

  • Implemented Page class
  • Put in fixes for above
  • Updated to MooTools 1.2
  • Updated TinyMCE to 3.1
  • Lots of template updates
  • Javascript image pre-loading function
  • Temp disabled session path setting due to bug
  • Spensierato now uses PHPIDS for intrusion detection
  • Updated my Bind zone file with a TXT field for the current released revision so update checking is almost working
  • Updated to the warning class
  • New settings
  • Plus minor fixes

Exim ClamAV email tagging

I was recently asked how I got ClamAV to tag my emails with its version information, which is also useful to check if your emails were scanned as if ClamAV was re-starting when an email goes through then they will not be scanned.

By editing my exim config with the following ACL

—————————————————-

# Deny if the message contains malware. Before enabling this check, you
# must install a virus scanner and set the av_scanner option in the
# main configuration.
#
# exim4-daemon-heavy must be used for this section to work.
#
deny
malware = *
message = This message was detected as possible malware ($malware_name).

# Add ClamAV scanned header

warn
message = X-Virus-Scanned: (${readsocket{/var/run/clamav/clamd.ctl}{VERSION}{2s}{}{AV Not running}})

—————————————————-

If ClamAV was not running the email is tagged with X-Virus-Scanned: AV Not running

Hope this helps

Next Page »