From a81e550f2a4bde8165b92cbea36497442ac1ccd1 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Wed, 29 Dec 2021 18:06:46 +0100 Subject: [PATCH] =?UTF-8?q?departures{GetPasslist,StbFltrEquiv}:=20default?= =?UTF-8?q?=20to=20false=20=F0=9F=92=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/default-profile.js | 8 ++++++-- p/avv/index.js | 2 -- p/bart/index.js | 2 -- p/bls/index.js | 3 --- p/bvg/index.js | 2 -- p/cfl/index.js | 2 -- p/cmta/index.js | 2 -- p/dart/index.js | 2 -- p/db-busradar-nrw/index.js | 2 -- p/db/index.js | 2 -- p/hvv/index.js | 2 ++ p/insa/index.js | 2 -- p/invg/index.js | 2 -- p/irish-rail/index.js | 2 -- p/ivb/index.js | 2 -- p/kvb/index.js | 2 -- p/mobil-nrw/index.js | 2 -- p/mobiliteit-lu/index.js | 2 -- p/nahsh/index.js | 2 -- p/nvv/index.js | 2 -- p/oebb/index.js | 2 -- p/ooevv/index.js | 2 -- p/pkp/index.js | 3 --- p/rejseplanen/index.js | 2 -- p/rmv/index.js | 2 -- p/rsag/index.js | 2 -- p/saarfahrplan/index.js | 2 -- p/salzburg/index.js | 2 -- p/sbahn-muenchen/index.js | 2 -- p/sbb/index.js | 2 -- p/sncb/index.js | 2 -- p/stv/index.js | 2 -- p/svv/index.js | 2 -- p/tpg/index.js | 3 --- p/vbb/index.js | 2 -- p/vbn/index.js | 2 -- p/vkg/index.js | 2 -- p/vmt/index.js | 2 -- p/vor/index.js | 2 -- p/vos/index.js | 3 --- p/vrn/index.js | 2 -- p/vsn/index.js | 2 -- p/vvt/index.js | 2 -- p/vvv/index.js | 2 -- p/zvv/index.js | 3 --- 45 files changed, 8 insertions(+), 93 deletions(-) diff --git a/lib/default-profile.js b/lib/default-profile.js index 2207c307..4f1178a0 100644 --- a/lib/default-profile.js +++ b/lib/default-profile.js @@ -119,8 +119,12 @@ const defaultProfile = { journeysOutFrwd: true, // `journeys()` method: support for `outFrwd` field? // todo: https://github.com/KDE/kpublictransport/commit/c7c54304160d8f22eab0c91812a107aca82304b7 - departuresGetPasslist: true, // `departures()` method: support for `getPasslist` field? - departuresStbFltrEquiv: true, // `departures()` method: support for `stbFltrEquiv` field? + + // `departures()` method: support for `getPasslist` field? + departuresGetPasslist: false, + // `departures()` method: support for `stbFltrEquiv` field? + departuresStbFltrEquiv: false, + trip: false, radar: false, refreshJourney: true, diff --git a/p/avv/index.js b/p/avv/index.js index 3136dfff..e069370f 100644 --- a/p/avv/index.js +++ b/p/avv/index.js @@ -89,8 +89,6 @@ const avvProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, radar: true, diff --git a/p/bart/index.js b/p/bart/index.js index 53ea3294..fa410967 100644 --- a/p/bart/index.js +++ b/p/bart/index.js @@ -58,8 +58,6 @@ const bartProfile = { radar: true, reachableFrom: true, - departuresGetPasslist: false, // `departures()` method: support for `getPasslist` field? - departuresStbFltrEquiv: false, // `departures()` method: support for `stbFltrEquiv` field? refreshJourneyUseOutReconL: true, } diff --git a/p/bls/index.js b/p/bls/index.js index ec9f3d01..8092829f 100644 --- a/p/bls/index.js +++ b/p/bls/index.js @@ -86,9 +86,6 @@ const blsProfile = { radar: true, refreshJourneyUseOutReconL: true, reachableFrom: true, - - departuresGetPasslist: false, - departuresStbFltrEquiv: false, } module.exports = blsProfile diff --git a/p/bvg/index.js b/p/bvg/index.js index afd1fc12..ada1994f 100644 --- a/p/bvg/index.js +++ b/p/bvg/index.js @@ -200,8 +200,6 @@ const bvgProfile = { formatStation, - departuresGetPasslist: false, // `departures()` method: support for `getPasslist` field? - departuresStbFltrEquiv: false, // `departures()` method: support for `stbFltrEquiv` field? refreshJourneyUseOutReconL: true, trip: true, radar: true, diff --git a/p/cfl/index.js b/p/cfl/index.js index ea768c7a..1276d859 100644 --- a/p/cfl/index.js +++ b/p/cfl/index.js @@ -11,8 +11,6 @@ const cflProfile = { products: products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, radar: true, diff --git a/p/cmta/index.js b/p/cmta/index.js index 72dfa6a9..b9f697df 100644 --- a/p/cmta/index.js +++ b/p/cmta/index.js @@ -10,8 +10,6 @@ const cmtaProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, radar: true, diff --git a/p/dart/index.js b/p/dart/index.js index aa77a6d7..d1d9b72b 100644 --- a/p/dart/index.js +++ b/p/dart/index.js @@ -18,8 +18,6 @@ const dartProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, reachableFrom: true, diff --git a/p/db-busradar-nrw/index.js b/p/db-busradar-nrw/index.js index f84eefcf..edbc0913 100644 --- a/p/db-busradar-nrw/index.js +++ b/p/db-busradar-nrw/index.js @@ -82,8 +82,6 @@ const dbBusradarNrwProfile = { products: products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, journeysOutFrwd: false, trip: true, diff --git a/p/db/index.js b/p/db/index.js index fd50a8b6..dae3bbc2 100644 --- a/p/db/index.js +++ b/p/db/index.js @@ -504,8 +504,6 @@ const dbProfile = { formatStation, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, journeysFromTrip: true, diff --git a/p/hvv/index.js b/p/hvv/index.js index f86eff0c..9871c1d2 100644 --- a/p/hvv/index.js +++ b/p/hvv/index.js @@ -13,6 +13,8 @@ const hvvProfile = { products, + departuresGetPasslist: true, + departuresStbFltrEquiv: true, trip: true, radar: true, refreshJourney: true, diff --git a/p/insa/index.js b/p/insa/index.js index 7d351ba6..9db1610c 100644 --- a/p/insa/index.js +++ b/p/insa/index.js @@ -10,8 +10,6 @@ const insaProfile = { products: products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, trip: true, radar: true, refreshJourneyUseOutReconL: true, diff --git a/p/invg/index.js b/p/invg/index.js index 1c983852..ceabf2ee 100644 --- a/p/invg/index.js +++ b/p/invg/index.js @@ -10,8 +10,6 @@ const invgProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, radar: true, diff --git a/p/irish-rail/index.js b/p/irish-rail/index.js index d0299af6..50f7acf8 100644 --- a/p/irish-rail/index.js +++ b/p/irish-rail/index.js @@ -13,8 +13,6 @@ const irishRailProfile = { products: products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourney: false, // fails with `CGI_READ_FAILED` trip: true, radar: true, diff --git a/p/ivb/index.js b/p/ivb/index.js index e13387b0..1e34cb33 100644 --- a/p/ivb/index.js +++ b/p/ivb/index.js @@ -94,8 +94,6 @@ const ivbProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, reachableFrom: true, diff --git a/p/kvb/index.js b/p/kvb/index.js index 7e0b7911..6be141e5 100644 --- a/p/kvb/index.js +++ b/p/kvb/index.js @@ -64,8 +64,6 @@ const vosProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, reachableFrom: true, diff --git a/p/mobil-nrw/index.js b/p/mobil-nrw/index.js index 51e554f7..4ae7d19e 100644 --- a/p/mobil-nrw/index.js +++ b/p/mobil-nrw/index.js @@ -10,8 +10,6 @@ const cflProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, trip: true, radar: true, reachableFrom: true, diff --git a/p/mobiliteit-lu/index.js b/p/mobiliteit-lu/index.js index e2fdba2f..9ef65b8b 100644 --- a/p/mobiliteit-lu/index.js +++ b/p/mobiliteit-lu/index.js @@ -14,8 +14,6 @@ const mobiliteitLuProfile = { radar: true, reachableFrom: true, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, } diff --git a/p/nahsh/index.js b/p/nahsh/index.js index f77ead67..9f3f1d0e 100644 --- a/p/nahsh/index.js +++ b/p/nahsh/index.js @@ -77,8 +77,6 @@ const nahshProfile = { parseJourney: parseHook(_parseJourney, parseJourneyWithTickets), parseMovement: parseHook(_parseMovement, fixMovement), - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, radar: true, diff --git a/p/nvv/index.js b/p/nvv/index.js index 46c71a36..0a3f5250 100644 --- a/p/nvv/index.js +++ b/p/nvv/index.js @@ -10,8 +10,6 @@ const nvvProfile = { products: products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, radar: true, diff --git a/p/oebb/index.js b/p/oebb/index.js index c893580c..94c0e76c 100644 --- a/p/oebb/index.js +++ b/p/oebb/index.js @@ -54,8 +54,6 @@ const oebbProfile = { parseLocation: parseHook(_parseLocation, fixWeirdPOIs), parseMovement: parseHook(_parseMovement, fixMovement), - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, radar: true, diff --git a/p/ooevv/index.js b/p/ooevv/index.js index 3a89742a..2195b1f6 100644 --- a/p/ooevv/index.js +++ b/p/ooevv/index.js @@ -90,8 +90,6 @@ const vosProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, reachableFrom: true, diff --git a/p/pkp/index.js b/p/pkp/index.js index 8dbe67f8..b3e279d8 100644 --- a/p/pkp/index.js +++ b/p/pkp/index.js @@ -27,9 +27,6 @@ const pkpProfile = { refreshJourney: false, reachableFrom: true, remarks: false, // seems like ver >= 1.20 is required - - departuresGetPasslist: false, - departuresStbFltrEquiv: false, } module.exports = pkpProfile diff --git a/p/rejseplanen/index.js b/p/rejseplanen/index.js index d0437775..9e25fa1c 100644 --- a/p/rejseplanen/index.js +++ b/p/rejseplanen/index.js @@ -10,8 +10,6 @@ const rejseplanenProfile = { products: products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, radar: true, diff --git a/p/rmv/index.js b/p/rmv/index.js index 0f9cbd86..13545164 100644 --- a/p/rmv/index.js +++ b/p/rmv/index.js @@ -10,8 +10,6 @@ const hvvProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, radar: true, diff --git a/p/rsag/index.js b/p/rsag/index.js index 557828b6..7cc2b711 100644 --- a/p/rsag/index.js +++ b/p/rsag/index.js @@ -14,8 +14,6 @@ const rsagProfile = { radar: true, reachableFrom: true, refreshJourneyUseOutReconL: true, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, } module.exports = rsagProfile diff --git a/p/saarfahrplan/index.js b/p/saarfahrplan/index.js index 0354fc57..6cf70318 100644 --- a/p/saarfahrplan/index.js +++ b/p/saarfahrplan/index.js @@ -23,8 +23,6 @@ const saarfahrplanProfile = { parseMovement: parseHook(_parseMovement, fixMovement), - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, radar: true, diff --git a/p/salzburg/index.js b/p/salzburg/index.js index 08fa282b..2ef98654 100644 --- a/p/salzburg/index.js +++ b/p/salzburg/index.js @@ -83,8 +83,6 @@ const salzburgProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, reachableFrom: true, diff --git a/p/sbahn-muenchen/index.js b/p/sbahn-muenchen/index.js index 440b849a..127c9318 100644 --- a/p/sbahn-muenchen/index.js +++ b/p/sbahn-muenchen/index.js @@ -12,8 +12,6 @@ const sBahnMunichProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, radar: true, diff --git a/p/sbb/index.js b/p/sbb/index.js index 569d24b9..05a6ef43 100644 --- a/p/sbb/index.js +++ b/p/sbb/index.js @@ -10,8 +10,6 @@ const sbbProfile = { products: products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, radar: true, diff --git a/p/sncb/index.js b/p/sncb/index.js index 4887a65b..902707c4 100644 --- a/p/sncb/index.js +++ b/p/sncb/index.js @@ -56,8 +56,6 @@ const sncbProfile = { parseLine: parseHook(parseLine, lineNameWithoutFahrtNr), - departuresGetPasslist: false, - departuresStbFltrEquiv: false, trip: true, refreshJourney: true, radar: true, diff --git a/p/stv/index.js b/p/stv/index.js index b9825fdb..b6b2e51c 100644 --- a/p/stv/index.js +++ b/p/stv/index.js @@ -81,8 +81,6 @@ const stvProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, reachableFrom: true, diff --git a/p/svv/index.js b/p/svv/index.js index a89543d6..0cf5e747 100644 --- a/p/svv/index.js +++ b/p/svv/index.js @@ -13,8 +13,6 @@ const svvProfile = { trip: true, refreshJourney: true, reachableFrom: true, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, } diff --git a/p/tpg/index.js b/p/tpg/index.js index 58333209..eba6efc1 100644 --- a/p/tpg/index.js +++ b/p/tpg/index.js @@ -79,9 +79,6 @@ const tpgProfile = { radar: true, refreshJourneyUseOutReconL: true, reachableFrom: true, - - departuresGetPasslist: false, - departuresStbFltrEquiv: false, } module.exports = tpgProfile diff --git a/p/vbb/index.js b/p/vbb/index.js index d7073ddb..201b2f55 100644 --- a/p/vbb/index.js +++ b/p/vbb/index.js @@ -107,8 +107,6 @@ const vbbProfile = { formatStation, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, journeysWalkingSpeed: true, refreshJourneyUseOutReconL: true, trip: true, diff --git a/p/vbn/index.js b/p/vbn/index.js index 894cd423..a2e40ef0 100644 --- a/p/vbn/index.js +++ b/p/vbn/index.js @@ -18,8 +18,6 @@ const insaProfile = { radar: true, reachableFrom: true, refreshJourneyUseOutReconL: true, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, } module.exports = insaProfile; diff --git a/p/vkg/index.js b/p/vkg/index.js index f477667c..ebca827a 100644 --- a/p/vkg/index.js +++ b/p/vkg/index.js @@ -82,8 +82,6 @@ const vosProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, reachableFrom: true, diff --git a/p/vmt/index.js b/p/vmt/index.js index 8889169f..3ad804f9 100644 --- a/p/vmt/index.js +++ b/p/vmt/index.js @@ -14,8 +14,6 @@ const hvvProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, reachableFrom: true, diff --git a/p/vor/index.js b/p/vor/index.js index 5f8c7880..88daf2a6 100644 --- a/p/vor/index.js +++ b/p/vor/index.js @@ -90,8 +90,6 @@ const vorProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, reachableFrom: true, diff --git a/p/vos/index.js b/p/vos/index.js index 6f195827..5b04a036 100644 --- a/p/vos/index.js +++ b/p/vos/index.js @@ -86,9 +86,6 @@ const vosProfile = { radar: true, refreshJourneyUseOutReconL: true, reachableFrom: true, - - departuresGetPasslist: false, - departuresStbFltrEquiv: false, } module.exports = vosProfile diff --git a/p/vrn/index.js b/p/vrn/index.js index 42e64906..5d22f8d8 100644 --- a/p/vrn/index.js +++ b/p/vrn/index.js @@ -15,8 +15,6 @@ const hvvProfile = { reachableFrom: true, refreshJourney: true, refreshJourneyUseOutReconL: true, - departuresGetPasslist: false, // `departures()`: support for `getPasslist`? - departuresStbFltrEquiv: false, // `departures()`: support for `stbFltrEquiv`? } module.exports = hvvProfile diff --git a/p/vsn/index.js b/p/vsn/index.js index 1a26ca0d..7348d2f6 100644 --- a/p/vsn/index.js +++ b/p/vsn/index.js @@ -18,8 +18,6 @@ const vsnProfile = { trip: true, radar: true, reachableFrom: true, - departuresGetPasslist: false, - departuresStbFltrEquiv: false } module.exports = vsnProfile diff --git a/p/vvt/index.js b/p/vvt/index.js index 86b56641..d206cf64 100644 --- a/p/vvt/index.js +++ b/p/vvt/index.js @@ -82,8 +82,6 @@ const vvtProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, trip: true, refreshJourneyUseOutReconL: true, reachableFrom: true, diff --git a/p/vvv/index.js b/p/vvv/index.js index 64176c89..de79c505 100644 --- a/p/vvv/index.js +++ b/p/vvv/index.js @@ -88,8 +88,6 @@ const vosProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, refreshJourneyUseOutReconL: true, trip: true, reachableFrom: true, diff --git a/p/zvv/index.js b/p/zvv/index.js index 99efb835..3aa5b7e0 100644 --- a/p/zvv/index.js +++ b/p/zvv/index.js @@ -10,9 +10,6 @@ const zvvProfile = { products, - departuresGetPasslist: false, - departuresStbFltrEquiv: false, - trip: true, radar: true, refreshJourneyUseOutReconL: true,