summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* do a s/�/ü/ on the inputHEADmainstuebinm2024-07-261-0/+1
| | | | | | | | | | | | this quirk was forgotten during the haskell rewrite (reported by networkException). It's now done in a somewhat awkward way: it's hard to do this before parsing the csv (when it's still an unencoded ByteString), but doing it later might easily miss relevant places. In either case this does lots of slightly unecessary copying 🤷 Also the nested quadruple fmap feels like its own justification
* update for ghc 9.6.5 (nixpkgs 24.05)stuebinm2024-06-041-1/+1
|
* support for platform sectionsstuebinm2024-01-161-14/+60
| | | | | | | | | | | | | well this blew the query up .. it attempts to do two things: - find platform sections grouped under platform_edges (important if platform sections of adjacent tracks don't line up) - if that fails, find any platforms somewhere under the whole platform object This should (hopefully) cover most cases where platform sections are actually mapped at all.
* bugfix: allow superfluous "/" in pathsstuebinm2023-12-261-1/+1
| | | | esp. a trailing / as in bahnhof.name/MH/ should not lead to ??.
* update base / ghcstuebinm2023-12-011-1/+1
|
* update dependenciesstuebinm2023-11-302-5/+5
| | | | this should now work with NixOS 23.11's hackage snapshot
* fix fuzzy redirects for platform info lookupsstuebinm2023-11-291-1/+1
|
* allow exact lookups of obscure Ril100 codesstuebinm2023-11-291-6/+7
|
* overpass query: some stations don't have a meta nodestuebinm2023-11-151-2/+2
|
* default to level=0 if tag not presentstuebinm2023-11-141-1/+1
| | | | seems to give slightly better results
* re-add help textstuebinm2023-11-141-1/+7
| | | | whoops, forgot this bit
* sort platforms by level/layerstuebinm2023-11-141-3/+11
|
* rewrite it in Haskellstuebinm2023-11-1411-7016/+609
|
* platforms: update (also use local_ref)stuebinm2023-11-061-0/+498
|
* platform data bundlestuebinm2023-11-056-28/+29676
| | | | this is pretty low-effort, but it seems to work fine?
* update gleam & depsstuebinm2023-10-302-116/+151
|
* allow _ for spacesstuebinm2023-07-091-0/+2
| | | | | (easier to use in browsers/shells where spaces lead to unwanted behaviour, e.g. starting a search or ending an argument)
* separate domains, fuzzy matching all-roundstuebinm2023-07-091-104/+138
|
* add LeitpunkteJohann1502023-06-183-13/+696
| | | | (by johann150, with some modification by stuebinm)
* refactor lookups to separate functionsJohann1502023-06-171-25/+38
| | | | This allows them to be used separately.
* drop CSV headerJohann1502023-06-171-0/+2
|
* blackhole favicon.ico requestsJohann1502023-06-171-0/+2
| | | | | It is not necessary to do anything for these kinds of requests, so instead of making the fuzzy search do stuff, just blackhole these requests.
* broken encoding in some stationsstuebinm2023-05-111-1/+2
| | | | with thanks to lis: https://mk.catgirlsfor.science/notes/9en6jb2ig8
* use haystack for searchstuebinm2023-05-113-85/+136
| | | | for some reason it doesn't find Karlsruhe, but basically everything else??
* url percent encoding & (naïve) fuzzy matchingstuebinm2023-04-264-6/+170
|
* initial commitstuebinm2023-04-222-0/+99