{"push_id":907260789,"size":25,"distinct_size":5,"ref":"refs/heads/upcoming-elections-api","head":"7442b18a630919b9c6e76fcf648d4bb25c45aa6e","before":"e32868fddf006432d600cf3ee3ef6f7db18cc6e5","commits":[{"sha":"d87dae8c2b3b614fceae960bfe542f789e68ebd0","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Add some basic tests for the results feed","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/d87dae8c2b3b614fceae960bfe542f789e68ebd0"},{"sha":"982057d8136f772793afcce8785b757bb5081ed3","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Fix a format string","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/982057d8136f772793afcce8785b757bb5081ed3"},{"sha":"c3c9f6c83ef8bec259e4b056dd3ce4a424b4ea3c","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Remove a now-unneeded PopIt-related method","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/c3c9f6c83ef8bec259e4b056dd3ce4a424b4ea3c"},{"sha":"87e8b4b5d695642f8a7298cb41a0a999a3d854df","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Use the correct election name on (election-specific) the party pages","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/87e8b4b5d695642f8a7298cb41a0a999a3d854df"},{"sha":"d3da8663517867aab3ae37ac5d578f5ed0d9036e","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Only include posts from the right election in party pages","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/d3da8663517867aab3ae37ac5d578f5ed0d9036e"},{"sha":"baf08cb5aedd7a75dad8f79601ce31244544a3dd","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Fix the 'Independent' party pages for UK elections\n\nThere's no Electoral Commission identifier for the 'Independent'\npseudo-party, so the party page for independents was failing.","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/baf08cb5aedd7a75dad8f79601ce31244544a3dd"},{"sha":"989cbea8bb48fea7787c4941c191e266ab19ffbf","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Remove more references in templates to the 2015 UK election","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/989cbea8bb48fea7787c4941c191e266ab19ffbf"},{"sha":"61831ee70dcfd6d69b7fb06b37e853922a315a3c","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Fix tests broken in 87e8b4b5d695642","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/61831ee70dcfd6d69b7fb06b37e853922a315a3c"},{"sha":"955f4f7592d38082f40b06a0631074b8fdc20757","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Start generating coverage on Travis (again)\n\nWhen switching to using run-tests I forgot to add the --coverage\nparameter.","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/955f4f7592d38082f40b06a0631074b8fdc20757"},{"sha":"0a155b2acf6232d52fd1635e3cfbb9c692b27fcc","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"There doesn't seem to be a reason to use django-extensions via git","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/0a155b2acf6232d52fd1635e3cfbb9c692b27fcc"},{"sha":"277cb24df55ab03202615a3c64c5a78d53ba67a2","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Suppress error emails on mistyped post IDs, just 404 instead","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/277cb24df55ab03202615a3c64c5a78d53ba67a2"},{"sha":"e6291a54d64e3b1851ae87cbea220da78ea2f231","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Add a migration for django-extensions's *DateTimeField model changes\n\nThe CreationDateTimeField and ModificationDateTimeField fields from\ndjango-extensions used to use default=django.utils.timezone.now but now\nuse auto_now_add=True / auto_now=True. Adding this migration doesn't\nchange any data, but makes sure Django doesn't think there are\nmissing migrations.","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/e6291a54d64e3b1851ae87cbea220da78ea2f231"},{"sha":"d9dc669cf4d822229682ee3192c57b75bb4e8121","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"When creating UK regional assembly objects, use update_or_create\n\nWhen re-running this script it would be nice if it updated the\nattributes of the models if they change between runs, and that's\neasy to do with using update_or_create instead of get_or_create.","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/d9dc669cf4d822229682ee3192c57b75bb4e8121"},{"sha":"fde8da62f54690f8ef4dfe00177f80c852b10b67","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Include the election name above each post on the areas page","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/fde8da62f54690f8ef4dfe00177f80c852b10b67"},{"sha":"bc42d8d4f200d635cfc847dcf3bb8a879275bba5","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Change UK postcode lookup to return all relevant elections\n\nIn the 2015 general election, there was only one election we were\nhandling, so after putting in a postcode we could redirect straight\nto the post page.  However, in the 2016 UK elections there may be\nmultiple elections or election sub-types for a given postcode.\n\nSo, this commit changes the postcode lookup to be more like the\ngeneric address lookup in YNR, which redirects to an areas page\nwith all the posts relevant to that location.","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/bc42d8d4f200d635cfc847dcf3bb8a879275bba5"},{"sha":"50ab6512ea571cbf50af1302ba92c4fae298d35c","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Fix the logic for whether to display an \"Add a new candidate\" button\n\nThere's no point in adding an \"Add a new candidate\" button under\nthe candidate list if there were no candidates and edits are allowed\nsince in that case there'll already be such a button shown in the\n\"Oh no!\" box.","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/50ab6512ea571cbf50af1302ba92c4fae298d35c"},{"sha":"6de3a0e9749b05a05bf541808c6ba0d7b74adf20","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Move the UK finder tests into the tests package\n\nIt was a mistake having them in the package above.","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/6de3a0e9749b05a05bf541808c6ba0d7b74adf20"},{"sha":"22fc1f4e7fb2447a8de7a16e7c5b5d2e709166f0","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"UK: Remove the Select2 for constituency lookup from the front page\n\nIt's unlikely that people will know the area names for posts in\ntheir regional assembly or local elections (even less so than\nfor Westminster constituencies) so I don't think there's much value\nin having an auto-completed input field for them.  Instead just\nlink to the \"all posts\" page.","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/22fc1f4e7fb2447a8de7a16e7c5b5d2e709166f0"},{"sha":"41dfff9df013bff3562f91e34aa76e5c610ca90d","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Update tests for the new UK frontpage postcode lookup","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/41dfff9df013bff3562f91e34aa76e5c610ca90d"},{"sha":"0faf2b1e8d640c0a8794f6c5ee14b6311844ab27","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Merge branch 'uk-postcode-to-areas'","distinct":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/0faf2b1e8d640c0a8794f6c5ee14b6311844ab27"}]}