Commit graph

37 commits

Author SHA1 Message Date
Jannis R
d017e62740 mobil.nrw refreshJourneys(): use outReconL[] instead of ctxRecon 🐛 2021-01-19 12:38:43 +01:00
Jannis R
e6bc8c6f86 departures/arrivals: add line option 2020-11-28 11:25:43 +01:00
Jannis R
9d8260bf5f add lines() 2020-11-28 11:25:43 +01:00
Jannis R
ed48971fb1 add remarks() 2020-11-28 11:25:43 +01:00
Jannis R
6d4f29a3f9
nearby: support opt.products 2020-11-15 14:18:24 +01:00
Jannis R
ae74bb420d departures/arrivals: add results option 2020-03-21 13:13:03 +01:00
Julius Tens
c072a70c57 soothe the linter: remove unused variables 2020-02-27 17:10:03 +01:00
Simeon Keske
1c67350b48
move refreshJourneyReq-formatter to own function 2020-02-08 18:05:42 +01:00
Jannis R
39a626784b
request formatters via profile 2020-01-05 18:10:10 +01:00
Jannis R
773035c05d
call formatProductsFilter via profile, use products from ctx.profile 💥 2020-01-05 18:10:10 +01:00
Jannis R
0ce5669899
fix bitmask handling 🐛 2019-06-24 18:37:39 +02:00
Jannis R
16461733e4
Error -> TypeError 💥 2019-02-28 16:45:40 +01:00
Jannis R
eb3ffba4fc
make POIs objects with poi: true 💥
fixes #42
2019-02-28 16:45:31 +01:00
Jannis R
8f9b22e296
locations, nearby: opt.stations -> opt.stops 💥 📝 2019-02-28 16:45:18 +01:00
Jannis R
3f58d84de5
handle stop objects as input 🐛, 3.8.1 2019-02-06 22:27:56 +01:00
Jannis R
2a6b0dc507
speed up date+time formatting 2018-09-24 15:40:00 +02:00
Jannis R
a356a26e2f
throw if 0 products enabled 💥
This should have been the case previously, but the test didn't fail.
2018-05-28 20:37:19 +02:00
Jannis R
47aea604df
fix error message 🐛 2018-05-03 10:29:43 +02:00
Jannis R
8ce89f0fe6
formatLocation: more helpful error messages 2018-04-17 18:49:49 +02:00
Jannis R
854b0bd35e
homegrown isObj -> lodash/isObject 2018-03-18 00:13:44 +01:00
Jannis R
94bbe2361b
products[].product -> products[].id 2018-03-16 17:15:09 +01:00
Jannis R
83248785e5
formatProducts: move factory from profiles into main code
and rename to `formatProductsFilter`
2018-03-16 17:15:08 +01:00
Jannis R
95833edd21
merge new-vbb-protocol into master 2018-03-05 20:57:26 +01:00
Jannis R
07389ef418
use new location format
see also cadd4105d1
2018-03-03 00:18:53 +01:00
Jannis R
b1441d8be6
validate more input 2018-03-02 23:59:39 +01:00
Jannis R
ab80e81ccc
validate more input 2018-02-28 16:09:23 +01:00
Jannis R
cadd4105d1
temporarily use BVG endpoint 2018-02-15 17:39:02 +01:00
Julius Tens
851e68d3c4 throw error if products filter is empty 2017-12-28 17:12:46 +01:00
Julius Tens
b0eb6d6474 fix requests with no filters 2017-12-28 16:50:30 +01:00
Jannis R
e6f7a09505
more fixes for 3811b45 🐛 2017-12-12 23:40:12 +01:00
Jannis R
024aa0e948
deal with some todos, add more 2017-12-12 23:15:06 +01:00
Jannis R
14cdc77c0f
moment-timezone -> luxon, parse DateTimes with locale 2017-12-11 17:28:29 +01:00
Jannis R
ed0dfd06dd
pull out bitmask parsing from profiles 2017-11-27 20:30:53 +01:00
Jannis R
3fb0943680
query live movements in an area 2017-11-20 20:19:13 +01:00
Jannis R
c20fd35c67
formatters: add location, change address & poi 2017-11-12 19:54:54 +01:00
Jannis R
eb98123e5b
move out default profile, bugfixes 🐛 2017-11-12 18:06:01 +01:00
Jannis R
5b96c89b5b
rename stringify -> format 2017-11-12 00:53:34 +01:00