Skip to content
Source code for the Public Whip website
Objective-C PHP Perl JavaScript Java CSS Other
Latest commit f899610 Feb 11, 2013 Richard Bairwell == NOTE: The PublicWhip Source Code is moving to https://bitbucket.or…
…g/publicwhip/publicwhip-v1/ ==

==                  PLEASE UPDATE YOUR CONFIGURATION AS SOON AS POSSIBLE                         ==
==          This GitHub repository will be maintained at least until April 2013                  ==

Fix SQL Injection issues (moving away from old mysql_* connections to parameterised query strings)
Add more documentation to automated processes for logging
Extract out analytics/advertisements to config.php (now checks for the existence of the functions "advertisement" and "remote_analytics")
Remove PHP short tags
Disable election.php as data not currently available.
Add various XSS protection sections (validate strings such as "house=" a bit more)
Remove .cvsignore files as we're are now on GIT
Update code location to BitBucket as we're moving away from GitHub

== NOTE: The PublicWhip Source Code is moving to https://bitbucket.org/publicwhip/publicwhip-v1/ ==
==                  PLEASE UPDATE YOUR CONFIGURATION AS SOON AS POSSIBLE                         ==
==          This GitHub repository will be maintained at least until April 2013                  ==
Failed to load latest commit information.
artwork
build == NOTE: The PublicWhip Source Code is moving to https://bitbucket.or… Feb 11, 2013
custom Make forums inaccessible. Add some "found" cluster files. Add notice … Sep 10, 2011
forum Make forums inaccessible. Add some "found" cluster files. Add notice … Sep 10, 2011
loader
removed_files == NOTE: The PublicWhip Source Code is moving to https://bitbucket.or… Feb 11, 2013
website == NOTE: The PublicWhip Source Code is moving to https://bitbucket.or… Feb 11, 2013
.gitignore == NOTE: The PublicWhip Source Code is moving to https://bitbucket.or… Feb 11, 2013
LICENSE.html Affero GPL now Jul 23, 2008
README.txt Update Readme.txt, fix homepage link in header, remove unneeded files Sep 9, 2011
deploy.sh == NOTE: The PublicWhip Source Code is moving to https://bitbucket.or… Feb 11, 2013
ideas-marginal.txt LInk Aug 22, 2006
ideas.txt Updating todo Oct 5, 2005
links.txt Register of members interests name matching Mar 15, 2004
public_html == NOTE: The PublicWhip Source Code is moving to https://bitbucket.or… Feb 11, 2013
todo.txt Password hash update added to todo list Jun 16, 2011

README.txt

The Public Whip Source Code
---------------------------

Hello!  Here's the source code behind the Public Whip website.  To see the end
product go to http://www.publicwhip.org.uk.  If you don't know what this is all
about, have a look at the FAQ there.  

The code is currently under a major rewrite at the moment and so things may change quite quickly.

To learn how to use the code look at http://www.publicwhip.org.uk/project/code.php 
or locally in webpage/project/code.php.  You should also check out the
Parliament Parse project at http://ukparse.kforge.net/parlparse, which is the
scraper that made the data Public Whip uses.

A description of the files and folders in this package follows.

LICENSE.html - Details of open source licensing terms, under the Affero GNU GPL

loader    - Load XML files from ukparse into the database
website   - Code for www.publicwhip.org.uk, PHP extracts data from database/XML
build     - Scripts I use for admin, such as to upload to www.publicwhip.org.uk
custom    - Various one off scripts and graphics made for special purposes
artwork   - High resolution graphics relating to Public Whip

If you need any help, please email team@publicwhip.org.uk.
Something went wrong with that request. Please try again.