40 Commits

Author SHA1 Message Date
Cameron Beccario
8296397099 add simple CORS support 2014-02-23 19:23:24 +09:00
Cameron Beccario
43f1d797ea expose stations detail 2014-02-22 21:58:39 +09:00
Cameron Beccario
6d2f009068 add ability to query data for whole day and whole month 2014-02-22 17:17:29 +09:00
Cameron Beccario
97c3f40861 some style tweaks
allow "all" sample types
2014-02-22 15:19:00 +09:00
Cameron Beccario
dfbbfeef98 log accept-encoding header to gather usage statistics 2013-11-10 14:26:03 +09:00
Cameron Beccario
f9e33038e2 filter out station that appears to have bad wind readings 2013-10-16 06:48:32 +09:00
Cameron Beccario
80d5a4516a add docs to describe purpose of each module 2013-10-15 19:25:21 +09:00
Cameron Beccario
60519a0184 tweaks to handle cases where scraped data is incomplete (all null) 2013-10-15 15:47:09 +09:00
Cameron Beccario
3b209f5929 introduce overlay for various pollutants 2013-10-11 17:17:22 +09:00
Cameron Beccario
9090fee943 extend api to allow pollutant querying 2013-10-09 15:34:47 +09:00
Cameron Beccario
4bee86ac47 don't cache 404 for wind data, which may be available shortly. 2013-10-07 12:56:49 +09:00
Cameron Beccario
e9e07ac38e reduce amount of logging 2013-10-04 13:39:41 +09:00
Cameron Beccario
8e88315632 add caching policy for resources 2013-09-27 13:38:19 +09:00
Cameron Beccario
143760e2d8 fix issue with calm/winds-from-the-north are filtered out 2013-09-27 00:48:04 +09:00
Cameron Beccario
55d241f420 add day and hour nav buttons 2013-09-26 22:08:16 +09:00
Cameron Beccario
2fb753b4e1 more clarifying comments 2013-09-25 11:50:04 +09:00
Cameron Beccario
4102b577dc change font MIME type to one that Chrome recognizes, and add Google Analytics script snippet 2013-09-22 18:03:43 +09:00
Cameron Beccario
195051b21b improve error handling when XHR fails 2013-09-22 17:24:10 +09:00
Cameron Beccario
d66be36cf8 adjust alpha for FF, restructure web routes to make CF rules easier 2013-09-22 15:35:16 +09:00
Cameron Beccario
915a4e36f5 improve logging, add gallery, and handle server errors gracefully on the client side 2013-09-22 02:48:16 +09:00
Cameron Beccario
c243ce6103 serve ttf as MIME type "application/x-ttf", otherwise CF won't compress it. Also, remove tab stops for control buttons because they cause font subpixel antialiasing to be disabled when clicked 2013-09-21 18:03:42 +09:00
Cameron Beccario
1b3f18cabd switch to a proper logging framework, and introduce smarter scraping logic that attempts to minimize the delay between data becoming available and a scrape occurring. 2013-09-20 23:16:21 +09:00
Cameron Beccario
aab57dbf91 mark responses with caching information -- this should allow cloudeflare to pass http 304's through from the backend 2013-09-19 22:24:38 +09:00
Cameron Beccario
1c3819db6b testing theory about CF caching 2013-09-19 19:10:01 +09:00
Cameron Beccario
95caaa9046 testing theory about CF caching 2013-09-19 18:28:14 +09:00
Cameron Beccario
9416362788 limit the number of query memos 2013-09-19 18:24:50 +09:00
Cameron Beccario
8ce7e95a0a log all req and res headers 2013-09-19 11:10:58 +09:00
Cameron Beccario
1656537b7d produce output in JP timezone regardless of the machine's local zone 2013-09-18 12:51:43 +09:00
Cameron Beccario
86c5ccac06 specify listening port on command line 2013-09-17 20:23:00 +09:00
Cameron Beccario
38f38b6abe create map urls for specific dates, rename font to contain font's rev number, and enable font compression 2013-09-17 14:09:36 +09:00
Cameron Beccario
4dcfc58450 cache sample gets to avoid db when possible, and display wind vector data on click 2013-09-14 23:20:20 +09:00
Cameron Beccario
6633f61c53 more comments and cleaning up. also check in tokyo topology data 2013-09-04 20:20:10 +09:00
Cameron Beccario
f05d44fa4a immediately load topo and data from server. change data format to be more compact and suited for showing wind data. 2013-09-04 01:18:18 +09:00
Cameron Beccario
165a05342f move table specs to their own module 2013-09-02 00:06:29 +09:00
Cameron Beccario
9fa3796277 render mask to detached svg and canvas elements, and let's give when.js on the client a try 2013-08-29 03:37:38 +09:00
Cameron Beccario
119f029c12 restructure directories and standardize on double-quoted strings 2013-08-27 19:03:12 +09:00
Cameron Beccario
1cbd3c0f9b add animated vector map, geo JSON translator, station long/lat data 2013-08-26 18:54:20 +09:00
Cameron Beccario
fbf0db8e4f extended stations data, "about" urls to describe schema, and function binding 2013-08-19 16:54:42 +09:00
Cameron Beccario
1ed541b373 more docs and cleaning up the code 2013-08-13 17:57:44 +09:00
Cameron Beccario
a585db0cd4 some refactoring to group common logic together 2013-08-12 16:51:52 +09:00