Export to GitHub

election-gadgets - sc2012

Source Commits


Commits

Author Date Commit Message
Michael Geary Jan 21, 2012 750868b8c45e Set body background-color to white
Michael Geary Jan 21, 2012 ba833037713a Make referer checking case insensitive
Michael Geary Jan 20, 2012 2829dbbb9326 Change Cycle button to Cycle Candidates
Michael Geary Jan 20, 2012 dab5227ede7e Fix Cycle button border jitter in IE6-8
Michael Geary Jan 19, 2012 de6c677385d4 Remove Cycle and All Candidates when no results
Michael Geary Jan 19, 2012 6401b9608e51 Adjust highway color
Michael Geary Jan 19, 2012 bfb56a9dc25e Enable some color in the map background
Michael Geary Jan 19, 2012 3f044799dc57 Update AP logo link
Michael Geary Jan 19, 2012 64eef9b56710 Fix wrong vsAll - use correct colsById
Michael Geary Jan 19, 2012 acfaa90e9cef Fix spinner crash when clicking All Candidates button
Michael Geary Jan 19, 2012 5e05fc94e7d9 Fix mixed content warning when loading over SSL
Michael Geary Jan 19, 2012 470b634e372c Big update for dynamic candidate list Candidate list is generated from election
Michael Geary Jan 18, 2012 ee460285652e Minor cleanup of candidates.current code
Michael Geary Jan 18, 2012 4a11003f9192 Refactor #btnClick code and clean up analytics
Michael Geary Jan 18, 2012 2970534b95c9 Fix inadvertent 100% opacity in candidate maps Max is now 75%, a bit more than
Michael Geary Jan 18, 2012 333a30231947 Change map page path to /results/embed
Michael Geary Jan 18, 2012 b354b7f437f3 Update app version to sc2012
Michael Geary Jan 18, 2012 7e510d50ff20 Analytics for cycle start/stop
Michael Geary Jan 18, 2012 5927ca3d039c Refactor startCycle()
Michael Geary Jan 18, 2012 2c161e79c977 Analytics for auto-update
Michael Geary Jan 18, 2012 e6f1009d0a0c Allow repeat of same analytics path
Michael Geary Jan 18, 2012 b66c94f2d785 Merge
Michael Geary Jan 18, 2012 06f31f27307a Fix runaway reloads
Michael Geary Jan 18, 2012 cb7db9e910cb Use simpler getScript() call to load analytics
Michael Geary Jan 18, 2012 1c1f71359340 Didn't mean to comment out _setDomainName()
Michael Geary Jan 18, 2012 34d5517808aa Use correct domain name and leading . for analytics (D'oh! Thanks Jason!)
Michael Geary Jan 18, 2012 571714ab777f Fix analytics
Michael Geary Jan 17, 2012 8c623b7db22c Simpler tooltip text for Cycle button
Michael Geary Jan 17, 2012 19278e4b561d Clean up Cycle button tooltip and behavior
Michael Geary Jan 17, 2012 9c9bfa173a59 Throttle poly/tip updates instead of oneshot delay Unthrottled polygon updating
Michael Geary Jan 17, 2012 d12b8297db92 Resize map on window resize without reloading page
Michael Geary Jan 17, 2012 d22430705004 Use Google-style button for Cycle
Michael Geary Jan 17, 2012 21d07e773d12 Minor whitespace cleanup, no code changes
Michael Geary Jan 17, 2012 3736d0e19cff Remove referer test from JavaScript
Michael Geary Jan 17, 2012 4556d89a1759 Use API key only when running from appspot
Michael Geary Jan 17, 2012 3f3617754ef3 Serve .html files through Python again
Michael Geary Jan 17, 2012 b27c4ed75464 Debounce mouse hover polygon and infotip update
Michael Geary Jan 17, 2012 cde6a5fb1dac Add feature.lsad to hovertip
Michael Geary Jan 17, 2012 abee59f5b9c0 Slightly thinner hover polygon stroke width
Michael Geary Jan 17, 2012 f1764483a043 Shorter reload interval and local cache expiration
Michael Geary Jan 17, 2012 c1c6f4a0d4eb Set default zoom using Google Mercator calculation This avoids the extra paddin
Michael Geary Jan 17, 2012 315ec77fd59c Add Google Mercator utility functions
Michael Geary Jan 16, 2012 3f110b23319a Hide hover tip while dragging map
Michael Geary Jan 16, 2012 506137472141 Fix broken mouse hit testing
Michael Geary Jan 16, 2012 5b98f575e503 Generate random data without fetching from server
Michael Geary Jan 16, 2012 b759aca907bb Update state and county border opacity and width Using partial opacity on the c
Michael Geary Jan 16, 2012 9d5ec501a2bb Basic update to load SC map with simplified polys
Michael Geary Jan 16, 2012 b75d797607e8 Add the vertex function when creating geo database
Michael Geary Jan 16, 2012 04ddaaaef173 Get simplification working in make-geojson.py
Michael Geary Jan 16, 2012 774feba1440d Add make-sc.py to make single-state county table Hard coded for SC for now
Michael Geary Jan 14, 2012 34a2bb8f4964 Display polygons before loading vote data
Michael Geary Jan 14, 2012 dd165639dc74 Rewrite referer checking to use urlparse instead of re Much more readable and r
Michael Geary Jan 13, 2012 3012cec653e9 Add mild cachebuster on polling API Fixes auto-refresh not working in Safari
Michael Geary Jan 11, 2012 9e6e2cc26d0b Merge
Michael Geary Jan 11, 2012 cb5621f91a02 Reload page after window is resized Quick and dirty fix for resizing TODO: resi
Michael Geary Jan 11, 2012 92e51a674abb Remove outdated code in local.js.example
Michael Geary Jan 11, 2012 6cfb230d5a20 Change static cache expiration to 2 minutes
Michael Geary Jan 10, 2012 74d8d3b89696 Make whitelisting code fail if local.js is not found
Michael Geary Jan 10, 2012 e11884acae22 Add local.js to .hgignore
Michael Geary Jan 10, 2012 b039cab4691e Add referer whitelist
Michael Geary Jan 10, 2012 c3a7f5848a5a 13px for checkbox label
Michael Geary Jan 10, 2012 73bf6adbbb57 Update AP logo link
Michael Geary Jan 10, 2012 93d770180940 Switch back to static serving for .html files
Michael Geary Jan 10, 2012 42ed4a333316 Change auto-update message
Michael Geary Jan 10, 2012 7f419f24d178 Take out the buggy "show false" logic
Michael Geary Jan 10, 2012 24660326840b Merge
Michael Geary Jan 10, 2012 85f92ae0401c Change voting data URL
Michael Geary Jan 10, 2012 f3f347921e1f Switch to coconut
Michael Geary Jan 10, 2012 7bc1848b5101 Add a space after cycle checkbox
Michael Geary Jan 10, 2012 c76e196befbb Remove Cain and Bachmann from sidebar
Michael Geary Jan 10, 2012 54b5e5b99dac Add Cycle Candidates checkbox
Michael Geary Jan 10, 2012 e804fb8a9672 Border tweaks - darker town, thinner state, no county
Michael Geary Jan 10, 2012 d48e7b3b6935 Simplify wording of automatic update message
Michael Geary Jan 10, 2012 f3163b68e19b Set fixed width on hovertip and its candidate table This eliminates the right-t
Michael Geary Jan 10, 2012 eb89991fda7a Fix most of the hovertip jitters
Michael Geary Jan 10, 2012 a98de9e1043e Get whitelist code working
Michael Geary Jan 10, 2012 0b4d1b0510cb Serve HTML files through app engine with whitelist
Michael Geary Jan 10, 2012 bb695711c4ea Load FT data through app engine
Michael Geary Jan 10, 2012 5dbc10a4d01c Add results-app.py and private.py to app engine
Michael Geary Jan 9, 2012 75b5ef5a1660 Remove "towns" from sidebar header
Michael Geary Jan 9, 2012 40e33a3549d7 Right-align percent and total votes in sidebar
Michael Geary Jan 9, 2012 8ea2c5c74d6b Simpler sidebar layout, tabular and narrower
Michael Geary Jan 9, 2012 d5c8134ff98f Display 100% as 100%, not 100.0%
Michael Geary Jan 9, 2012 95e57305984b Add "towns" to percent reporting
Michael Geary Jan 9, 2012 0dae782da944 Sidebar header style and text tweaks
Michael Geary Jan 9, 2012 2a49a44e1268 Use fancy sidebar format, get hover and click working
Michael Geary Jan 9, 2012 e77086849bae Remove unused variable
Michael Geary Jan 9, 2012 167935fa9224 Display state/county borders, fainter town borders
Michael Geary Jan 9, 2012 a9b5b599d0f6 Add combined state/county/town GeoJSON
Michael Geary Jan 9, 2012 0793d9af5ee1 Add table name to GeoJSON
Michael Geary Jan 9, 2012 61c055334f8e Generate combined state/county/town GeoJSON
Michael Geary Jan 9, 2012 ad45d8838c4a More refactoring
Michael Geary Jan 9, 2012 14b051e732e6 Refactor makeGeoJSON()
Michael Geary Jan 9, 2012 fc7d3ccf9ffe Remove old commented-out tests - no code changes
Michael Geary Jan 8, 2012 13450ab216d9 Add Fusion Table row ID to debug hover tip
Michael Geary Jan 8, 2012 7b006d1d7351 Fix mismatched NH town names
Michael Geary Jan 8, 2012 2dfcfc425ab7 Add AP logo
Michael Geary Jan 8, 2012 5cb7577471a5 Update google election logo alt text
Michael Geary Jan 8, 2012 d195cd16bb5f Remove "next update" indicator, add election date
Michael Geary Jan 8, 2012 58d7934cd7db Update map style All gray, simplified roads, show state names/borders