Commit graph

77 commits

Author SHA1 Message Date
ffa4b29637
Start file for Hafas API class 2022-04-19 14:58:44 +02:00
3593e5d95d
Improve debug output 2022-04-19 13:32:38 +02:00
e286c0e023
Fix gunicorn config file name 2022-04-19 13:32:27 +02:00
0b045a03e2
Fix function calls... 2022-04-19 13:06:09 +02:00
19834f6a5d
Fix import for Python >3.8 2022-04-19 13:05:40 +02:00
d148c0b5ad
Add venv to .gitignore 2022-04-19 12:54:30 +02:00
e3a9f111f6 Reference passenger in run.sh 2020-02-01 15:01:41 +00:00
6c0ed2d905 Add requirements file 2020-02-01 15:00:47 +00:00
90779b4332 Add passenger_wsgi.py 2020-02-01 14:15:57 +00:00
0f50285b9b Fix encoding issues 2019-04-16 18:04:19 +00:00
1a612baef1 Some improvements 2019-03-27 10:51:52 +01:00
9f7bf662c2 Fixes for changes in OEBB website 2019-03-14 10:46:39 +01:00
Klaus-Uwe Mitterer
609194dd97 Invert connection list (i.e. latest first) if searching for connections by arrival time 2017-11-16 19:13:59 +01:00
Klaus-Uwe Mitterer
4b5a4516ae Fix odd error in connection worker 2017-11-04 21:06:04 +01:00
Klaus-Uwe Mitterer
eb4fc0fa27 Implement departure table, some tuning required for arrival table to work 2017-11-04 19:37:45 +01:00
Klaus-Uwe Mitterer
c960e9a77f Allow Request() to be stitched together manually 2017-11-04 14:21:06 +01:00
Klaus-Uwe Mitterer
2006927a4e Add missing classes 2017-11-02 13:43:46 +01:00
Klaus-Uwe Mitterer
eb85dd1ec6 Use custom user agent string for outgoing requests 2017-10-30 23:17:59 +01:00
Klaus-Uwe Mitterer
cf7065a567 More refactoring, dedicated class for requests and responses 2017-10-28 17:20:10 +02:00
Klaus-Uwe Mitterer
29a53df24e Add *.swp to .gitignore 2017-10-28 15:57:28 +02:00
Klaus-Uwe Mitterer
76fd3ba93e Refactoring: Split functions in main.py 2017-10-28 15:57:05 +02:00
Klaus-Uwe Mitterer
31592abfea More refactoring 2017-10-27 17:46:00 +02:00
Klaus-Uwe Mitterer
e6270fa43a Start refactoring main.py 2017-10-27 11:28:14 +02:00
Klaus-Uwe Mitterer
316eb271ef How did nobody ever notice that the validator wasn't working? Also, escaping values before passing them to the HAFAS station endpoint. 2017-10-26 22:55:09 +02:00
Klaus-Uwe Mitterer
87f77a769a Fix path encodings 2017-10-26 22:38:55 +02:00
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