Commit graph

52 commits

Author SHA1 Message Date
Klaus-Uwe Mitterer
3c89689f6b Actually fix the date issue 2017-10-26 22:00:43 +02:00
Klaus-Uwe Mitterer
92e69a14f4 Fix error caused by unexpected links in HAFAS' connection output, improve date handling, add exception raiser to threads 2017-10-26 21:21:41 +02:00
Klaus-Uwe Mitterer
d4dd2ba0e4 Use threading to improve response times for connection detail requests, set default connection count to 6 again as it doesn't matter anymore, update README. 2017-10-25 23:07:36 +02:00
Klaus-Uwe Mitterer
883cb9ee7c Add systemd service file, move Gunicorn config to gunicorn.cfg 2017-10-18 12:44:24 +02:00
Klaus-Uwe Mitterer
1d2387683a Fix it some more. 2017-10-11 14:41:11 +02:00
Klaus-Uwe Mitterer
269069878f Fix JSON for connections 2017-10-11 14:31:10 +02:00
Klaus-Uwe Mitterer
337fe033c3 Add missing files for radar... 2017-10-03 13:50:32 +02:00
Klaus-Uwe Mitterer
bddef6c491 Fix conn requests without via... 2017-10-02 21:31:06 +02:00
Klaus-Uwe Mitterer
656e4b9b49 Add radar to Readme 2017-10-02 21:16:55 +02:00
Klaus-Uwe Mitterer
cec2eca235 Add Zugradar 2017-10-02 21:02:07 +02:00
Klaus-Uwe Mitterer
d3256e0387 Add "via" to Readme. 2017-10-02 17:59:40 +02:00
Klaus-Uwe Mitterer
5940bdaa6d Refuse connection requests with more than three "via" stations. 2017-10-02 17:46:53 +02:00
Klaus-Uwe Mitterer
479bc58489 Fix via station handling 2017-10-02 12:26:19 +02:00
Klaus-Uwe Mitterer
76a4fc8625 Add missing comma 2017-10-02 12:12:05 +02:00
Klaus-Uwe Mitterer
a7a6305d54 Blindly implement via routing. Needs testing before deployment, 2017-10-02 10:05:31 +02:00
Klaus-Uwe Mitterer
e9a2d9ef43 Handle whitespace-only strings in short requests 2017-10-01 09:51:40 +02:00
Klaus-Uwe Mitterer
03338d2e48 Update Readme 2017-10-01 09:48:59 +02:00
Klaus-Uwe Mitterer
52c32dcc83 Handle latin-1 URL encoding. I didn't think that was still a thing. 2017-10-01 09:15:22 +02:00
Klaus-Uwe Mitterer
d52dbd8384 Merge branch 'master' of kumig.it:kumitterer/oebb_py 2017-09-30 15:05:58 +02:00
Klaus-Uwe Mitterer
2de7c5503d Use Overpass API at overpass.kumi.systems by default 2017-09-30 15:05:44 +02:00
Klaus-Uwe Mitterer
55625175b2 Forgot json parameter... 2017-09-28 21:06:25 +02:00
Klaus-Uwe Mitterer
749659804a GitLab is painful at times. 2017-09-28 21:00:15 +02:00
Klaus-Uwe Mitterer
7fe58e503f Apparently, GitLab doesn't handle line breaks in URLs properly. 2017-09-28 20:57:05 +02:00
Klaus-Uwe Mitterer
5613f49e08 Add short documentation 2017-09-28 20:53:28 +02:00
Klaus-Uwe Mitterer
308f30d223 Allow latitude and longitude to be passed using a decimal comma 2017-09-28 20:49:57 +02:00
Klaus-Uwe Mitterer
d43138016c Add shorthand requests for connections and validation 2017-09-28 19:27:39 +02:00
Klaus-Uwe Mitterer
03d9adbe22 Details view may time out if connection count is 3, so the default connection count is set to 1 for HTTP requests. Other requests still default to 3. 2017-09-26 13:03:19 +02:00
Klaus-Uwe Mitterer
f9526a70a0 Split classes into three files 2017-09-25 22:41:51 +02:00
Klaus-Uwe Mitterer
766c930d9c Fix last fix. 2017-09-25 22:31:13 +02:00
Klaus-Uwe Mitterer
5a1efeecc9 Show station IDs again in connections. Just so used to them. 2017-09-25 22:28:42 +02:00
Klaus-Uwe Mitterer
85dc66aed3 Throw out station IDs in connection display by default 2017-09-25 22:27:33 +02:00
Klaus-Uwe Mitterer
a6ff5fe157 Fix iid and cid 2017-09-25 22:15:36 +02:00
Klaus-Uwe Mitterer
7341b69ebf Fix destination display 2017-09-25 22:11:30 +02:00
Klaus-Uwe Mitterer
a921460a11 Make JSON available for all requests 2017-09-25 21:43:02 +02:00
Klaus-Uwe Mitterer
950924c31a Prepare worker.conn for JSON 2017-09-24 22:59:51 +02:00
Klaus-Uwe Mitterer
b8b233f630 Make worker.val JSON compatible 2017-09-24 21:04:59 +02:00
Klaus-Uwe Mitterer
dbed1fa677 Make worker.closest JSON compatible 2017-09-24 20:48:22 +02:00
Klaus-Uwe Mitterer
cd3cc716b1 Remove unused import 2017-09-23 17:32:30 +02:00
Klaus-Uwe Mitterer
d643365e6c Preparations for JSON support 2017-09-23 16:57:24 +02:00
Klaus-Uwe Mitterer
fe7926d9bc Fix validation output 2017-09-23 15:08:34 +02:00
Klaus-Uwe Mitterer
7b3ad3cf34 Set default result count to 3 2017-09-22 19:00:55 +02:00
Klaus-Uwe Mitterer
caca14c66a Implement connection finder. All features of oebbApi now implemented. 2017-09-22 17:25:26 +02:00
Klaus-Uwe Mitterer
f99b6cf237 I'm an idiot. Sorry. 2017-09-22 17:23:37 +02:00
Klaus-Uwe Mitterer
4a70f52f6e Convert generator to list 2017-09-21 23:04:32 +02:00
Klaus-Uwe Mitterer
0d27297eb3 Fix variable name 2017-09-21 23:02:42 +02:00
Klaus-Uwe Mitterer
494dc01554 Add function to find nearest PT stop from coordinates, relying on OSM... 2017-09-21 21:55:32 +02:00
Klaus-Uwe Mitterer
8d09794c9f Implement validator, some other fixes 2017-09-21 14:48:05 +02:00
Klaus-Uwe Mitterer
6ce12c152f Well, that wouldn't work. 2017-09-21 14:33:18 +02:00
Klaus-Uwe Mitterer
21481bbae8 Fix connection worker call 2017-09-19 23:02:29 +02:00
Klaus-Uwe Mitterer
b4fdde183e Blindly 'fix' time mode handling 2017-09-19 23:01:25 +02:00