Commits

Author Commit Message Labels Comments Date
Richard Bairwell
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 G…
Katy Bairstow
Accessibility tweaks to CSS
Richard Chiswell
Make forums inaccessible. Add some "found" cluster files. Add notice about forums
Richard Chiswell
Update Readme.txt, fix homepage link in header, remove unneeded files
Richard Chiswell
Sort divisions before ordering (DivsXML) Fix search box (index.php and search.php) Fix logo link to homepage (index.php) Fix parliaments.inc when no parlimentary session details passed
Richard Chiswell
Merge branch 'master' of github.com:publicwhip/publicwhip
root
New site design
root
New site design
Paul Waring
Fix deprecated call-time pass by reference (issue #15).
Katy Bairstow
Addition of Piwik analytics tracking code
Francis Irving
Change banner
David Matthewman
The title of each item in the RSS feed was being double-encoded, and also contained HTML, which it shouldn't have. The text is now decoded before being passed to the RSS code, and <i> and <b> tags stripped. Change-Id: I3493b702eaf01933528f97477a7ed8c26c3c9075
David Matthewman
New Scottish parliament code had missing comma - sorry! Change-Id: I2e60b8f41991da706fa6b1cfec3e1b5b37835b29
David Matthewman
Added Scottish Parliament 2011 - present Change-Id: I4d5a891d1ee0ed716b91d92d6b542742832ec1b3
David Matthewman
Changed end date to date of end of last Scottish parliament (2011-03-23) Change-Id: I39eef908d4b852d63b99d9c35c2e1c7edad240bc
Paul Waring
Add user account navigation bar/login links. This is similar to the account_navbar() function, but utilising templates instead of building a HTML string in PHP.
Branches
templating
Paul Waring
Extract user and request data and assign to template when using HTML. This allows us to have template checks such as: {% if user.logged_in %} <!-- Display user bar --> {% else %} <!-- Display login link --> {% endif %}
Branches
templating
Paul Waring
Tidying up base template 1. Use colour_scheme variable to decide which CSS file to load (default, scotland or lords). 2. Add in favicon tags. 3. Remove 'X days to close' banner as the deadline will pass soon and there is little point in adding support for it in the templating system.
Branches
templating
Paul Waring
Merge pull request #4 from srushe/master Update PublicWhip parliaments list to include 2010 election
srushe
Update to include the 2010 Parliament.
David Matthewman
Fixed bug where MP search was passed an array rather than individual names. Change-Id: Ia77e4152c620a2c6dee8e58af090b5cf9978a73a
Paul Waring
Change template directory constant to HTML directory.
Branches
templating
Paul Waring
Initial templating system (just one page for now). 1. Import Twig library. 2. New PW_Template classes to wrap around Twig and set up defaults. 3. All header/footer HTML moved into base layout (base.html). 4. Colour schemes moved into CSS> 5. CSS for Lords and Scotland given more obvious names ('lords.css' instead of 'red.css') and all CSS kept in one directory. Still need to sort out displaying account menu and secondary links, as well as staging…
Branches
templating
Paul Waring
Updating code links to point to GitHub instead of SourceForge CVS.
Francis Irving
Fix spelling mistake
Paul Waring
Adding HTML comment to test whether deployment from github is successful
Paul Waring
Merge branch 'master' of github.com:publicwhip/publicwhip
Paul Waring
Password hash update added to todo list
Francis Irving
Change email address for help to team one
Paul Waring
Thoughts/todo on code rewrite
  1. Prev
  2. Next