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
|
850cd9ce85
|
tests for formatProductsFilter ✅
|
2020-01-05 18:10:10 +01:00 |
|
Jannis R
|
6d5c6081ce
|
request() via profile 💥
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
4652c1694e
|
fix test/throttle 💚
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
2cfee22287
|
tests: adapt to ctx-based parse fns
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
9fc6664302
|
adapt profiles to ctx-based parse fns
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
7b7293efea
|
lib/request: use transformed req body 🐛
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
252ce5b515
|
lib/request, index: use ctx object 💥
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
fb7a5653e3
|
parseProductsBitmask via profile, pass ctx into parse fns 💥
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
29d7bd4299
|
parseJourney: fix scheduledDays year 🐛
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
20a1592eaf
|
CI: allow E2E tests to fail 💚
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
cc74f6a85b
|
tests for parse/* ✅
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
5ea22f7a59
|
parseHint: parse code & text properly 🐛
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
9a6bc2df0d
|
parseWarning: parseDateTime -> profile.parseDateTime 🐛
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
8b2a5a82f2
|
parseIcon: use txt & txtS as text fallback
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
6c5409fbce
|
extract parseIcon from parseCommon
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
9318007455
|
move profile E2E tests to test/e2e
|
2020-01-05 18:10:08 +01:00 |
|
Jannis R
|
0165320808
|
improve docs readability 📝
|
2020-01-05 17:55:56 +01:00 |
|
Jannis R
|
ef7bd42d15
|
adapt docs to c2dc874 📝
|
2020-01-05 17:55:49 +01:00 |
|
Jannis R
|
99d1531dbb
|
adapt tests to c2dc874
|
2020-01-05 17:55:37 +01:00 |
|
Jannis R
|
c2dc8742b6
|
parseWhen, parsePlatform: let when & platform fall back to plan data
This commit adapts parseWhen & parsePlatform to the latest FPTF v2 draft.
see public-transport/friendly-public-transport-format#63
|
2020-01-05 17:55:37 +01:00 |
|
Jannis R
|
2d1d482ddf
|
adapt tests to 938a6f2
|
2020-01-05 17:55:27 +01:00 |
|
Jannis R
|
938a6f22b9
|
add planned*Platform, scheduled* -> planned/prognosed* 💥
|
2020-01-05 17:55:27 +01:00 |
|
Jannis R
|
2b9280e6c3
|
adapt tests to 29a2cf3
|
2020-01-05 17:55:16 +01:00 |
|
Jannis R
|
29a2cf36e9
|
add planned(Arrival|Departure|When), scheduled* -> planned*/prognosed* 💥
when not cancelled:
{when, delay} -> {when, plannedWhen, delay}
{arrival, arrivalDelay} -> {arrival, plannedArrival, arrivalDelay}
{departure, departureDelay} -> {departure, plannedDeparture, departureDelay}
when cancelled:
{when: null, delay: null, scheduledWhen} -> {when: null, plannedWhen, prognosedWhen, delay}
{arrival: null, arrivalDelay: null, scheduledArrival, formerArrivalDelay} -> {arrival: null, plannedArrival, arrivalDelay, prognosedArrival}
{departure: null, departureDelay: null, scheduledDeparture, formerDepartureDelay} -> {departure: null, plannedDeparture, departureDelay, prognosedDeparture}
|
2020-01-05 17:52:17 +01:00 |
|
Jannis R
|
4162328fd4
|
createClient(): request parameter -> opt parameter 💥
|
2020-01-05 17:52:17 +01:00 |
|
Jannis R
|
655c425ecf
|
fix DB E2E tests ✅
|
2020-01-05 17:52:17 +01:00 |
|
Jannis R
|
4ba4cefab6
|
improve readme readability 📝
|
2020-01-05 17:52:17 +01:00 |
|
Jannis R
|
9605ff3bf5
|
"migration to 5" guide, remove "migrating to 3" guide 📝
|
2020-01-05 17:51:28 +01:00 |
|
Jannis R
|
70cf3b21dc
|
upgrade deps & dev deps
- vbb-parse-line@1
- vbb-stations@7
- db-stations@3
- validate-fptf@3
- vbb-stations-autocomplete@4
|
2020-01-05 17:51:27 +01:00 |
|
Jannis R
|
d724846e91
|
rename findIdxRefs -> findInTree, remove resolveIdxRefs abstraction
|
2020-01-05 17:51:27 +01:00 |
|
Jannis R
|
f02fe301c7
|
parse: refactor applyRemarks
|
2020-01-05 17:51:27 +01:00 |
|
Jannis R
|
018fc84bf5
|
parseCommon: parse polylines
|
2020-01-05 17:51:27 +01:00 |
|
Jannis R
|
6af8f6d5ec
|
parseCommon: resolve hint & warning references
|
2020-01-05 17:51:27 +01:00 |
|
Jannis R
|
62cc53ffcf
|
parseCommon: resolve location references
|
2020-01-05 17:51:27 +01:00 |
|
Jannis R
|
758deaf2d5
|
parseCommon: resolve line references
|
2020-01-05 17:51:27 +01:00 |
|
Jannis R
|
0cc17ee780
|
parseCommon: resolve icon references
|
2020-01-05 17:51:27 +01:00 |
|
Jannis R
|
3eae7ab169
|
parseCommon: resolve operator references
|
2020-01-05 17:51:27 +01:00 |
|
Jannis R
|
4270125bf7
|
parse: minor changes
|
2020-01-05 17:51:27 +01:00 |
|
Jannis R
|
bff7384f06
|
basic parser tests
|
2020-01-05 17:51:27 +01:00 |
|
Jannis R
|
9a89cd0dc8
|
profile-based whitelist for walkingSpeed
|
2020-01-05 17:50:56 +01:00 |
|
Jannis R
|
0c145d352b
|
BVG, VBB: tests for walkingSpeed option ✅
|
2020-01-05 17:50:56 +01:00 |
|
Jannis R
|
9c47a3908c
|
journeys: document walkingSpeed 📝
|
2020-01-05 17:50:56 +01:00 |
|
philipp lange
|
f8210c5515
|
journeys: add walkingSpeed option
|
2020-01-05 17:50:56 +01:00 |
|
Jannis R
|
33c1dc3c7e
|
BVG tests: drop opt.stopovers with departures(), skip test 💚
|
2020-01-05 17:50:56 +01:00 |
|
Jannis R
|
352fa2e564
|
parse more warning fields
|
2020-01-05 17:50:55 +01:00 |
|
Jannis R
|
35e44d4c92
|
pass all data into parseHint/parseWarning 💥
|
2020-01-05 17:50:55 +01:00 |
|
Jannis R
|
b8496be1a3
|
DB journeys: make default price null 💥
closes #91
|
2020-01-05 17:50:55 +01:00 |
|
Jannis R
|
1afe4caf41
|
BVG: test for BerlKönig ✅
|
2020-01-05 17:50:55 +01:00 |
|