Adrian Short
537dbcb6af
Associate polls with elections and districts
10 lat temu
Adrian Short
0ec28551af
Gracefully handle elections for which we don't yet have results
10 lat temu
Adrian Short
819a5369bc
Show candidates for forthcoming council election (election ID is hard coded)
10 lat temu
Adrian Short
06deeab3c9
Display flash errors and notices
10 lat temu
Adrian Short
14e806be52
Gracefully display elections which haven't yet been contested
10 lat temu
Adrian Short
4880076c23
If this election hasn't been held, just show a list of districts being contested
10 lat temu
Adrian Short
92f6d1a4a6
Look up postcodes to find the user's ward
10 lat temu
Adrian Short
6b0918a6e8
Store postcodes locally using OS CodePoint Open data
10 lat temu
Adrian Short
e312548b71
Add rack-flash3
10 lat temu
Adrian Short
4b533e9e3c
Add candidate importer
10 lat temu
Adrian Short
2434fe6bda
Ignore /tmp
10 lat temu
Adrian Short
67895683b1
Add postcode importer and converter scripts
10 lat temu
Adrian Short
05a7af100a
Add column default
10 lat temu
Adrian Short
258ca629ad
Add Twitter link to footer
10 lat temu
Adrian Short
6f970e581b
Merge Labour/Co-operative candidacies into Labour. Fixes #12
10 lat temu
Adrian Short
a84fb9b914
Add results source docs and cleaning/importing scripts
10 lat temu
Adrian Short
88db43af3e
Add results importer for TSV files
10 lat temu
Adrian Short
7c04a2e593
Ignore .ruby-gemset
10 lat temu
Adrian Short
be0d1e0822
Specifically target Ruby 1.9.3 because data_mapper isn't compatible with later rubies (e.g. 2.0.0).
10 lat temu
Adrian Short
743d5684ad
Add Procfile
10 lat temu
Adrian Short
7457e8a3ea
Add Unicorn server
10 lat temu
Adrian Short
c933ad22af
Add empty robots.txt to avoid 404s
10 lat temu
Adrian Short
ac8d1eb4bb
Pass election date as command line option; prevent running on byelections; tidy output
11 lat temu
Adrian Short
0d89bb8517
Clarify column semantics
11 lat temu
Adrian Short
54fa2cf1c3
Use bound parameters
11 lat temu
Adrian Short
63aa315ecd
Update my URL
11 lat temu
Adrian Short
c3ce6fdc4e
Add schema diagram
11 lat temu
Adrian Short
1a27c89b11
Use postgres for dev database
11 lat temu
Adrian Short
6b388b1242
Add indexes
11 lat temu
Adrian Short
4756386df2
Add root path config
11 lat temu
Adrian Short
37d3805187
Remove redundant gems (e.g. sqlite)
11 lat temu
Adrian Short
0d9b08e0d7
Add letter index to top of candidates' page. Closes #10
12 lat temu
Adrian Short
6883b77410
Fix Postgres/sqlite type error by using Postgres, closes #7
12 lat temu
Adrian Short
c9c36dba7d
Fix date parsing (it should be a Time not Date object)
12 lat temu
Adrian Short
3ed6ae3cc6
Remove pat gem
12 lat temu
Adrian Short
a4522e9f9c
Remove ruby declaration as Heroku bamboo ignores it anyway (and uses bundler 1.0.7)
12 lat temu
Adrian Short
2b3c645163
Use ruby 1.9.2 for compatibility with Heroku bamboo stack
12 lat temu
Adrian Short
483fed8b63
Delete .gems
12 lat temu
Adrian Short
85f0aef0f8
Add Gemfile
12 lat temu
Adrian Short
1250728fb6
Revert "Revert "Revert "Make Date.parse work"""
This reverts commit 864478f2a5
.
12 lat temu
Adrian Short
864478f2a5
Revert "Revert "Make Date.parse work""
This reverts commit 445994f962
.
12 lat temu
Adrian Short
445994f962
Revert "Make Date.parse work"
This reverts commit e8b5147b6c
.
12 lat temu
Adrian Short
e8b5147b6c
Make Date.parse work
12 lat temu
Adrian Short
97d77da9cc
Sort candidate's candidacies in date order. Fix #7
This needs to be written as an SQL query as there's no way I can see in
DataMapper to order a result set by a column in a joined table (the
election date).
12 lat temu
Adrian Short
afe5ae8079
Remove unnecessary span elements
12 lat temu
Adrian Short
eb76a64a2f
Add space between election kind and date
12 lat temu
Adrian Short
06e4cc9e8a
Text edit
12 lat temu
Adrian Short
d4b4a0646d
Remove "ward"/"constituency" to make table easier to read; make table easier to copy/paste
12 lat temu
Adrian Short
632db20485
Add number of candidates in each district to districts contested table; make both tables easy to copy and paste
12 lat temu
Adrian Short
08f9741dac
Make it easy for users to copy/paste values from tables
Ensure every table cell contains something, even if it's just a
nonbreaking space.
12 lat temu