Commit graph

2020 commits

Author SHA1 Message Date
Andreas Schildbach
740f51f6d8 Denmark: Update API base. 2017-03-30 20:03:53 +02:00
Andreas Schildbach
bd69ba7ba9 Sydney: Update API base. 2017-03-30 20:03:53 +02:00
Andreas Schildbach
f7010ddb1d NVV: Trust all certificates. The Comodo CA certificate isn't trusted by older devices. 2017-03-30 20:03:53 +02:00
Andreas Schildbach
0e5e10ba4b MVV: Accept all hostnames for SSL certificate validation, but still validate the certificate itself. 2017-03-30 20:03:53 +02:00
Torsten Grote
fde9b3f470 Navitia: Don't swallow trips.
Use the `min_nb_journeys` parameter rather than the `count` parameter
when requesting trips.

The `count` parameter causes Navitia to remove trips arbitrarily
from the result which can look like a bug to the user
when she knows a trip should be there, but it isn't.
2017-03-24 20:48:54 +01:00
Patrick Kanzler
e1a3da736c Trip: Add getNumChanges() method for computing the number of changes on a trip.
Fixes #151.
2017-03-24 20:44:45 +01:00
Andreas Schildbach
9398b454a5 Add XmlPullUtil.optEnter() and use it where possible. 2017-03-23 17:54:35 +01:00
Andreas Schildbach
12a2093912 SNCB: Switch API base back to HTTP. 2017-03-21 13:22:46 +01:00
Andreas Schildbach
375e9b56b0 VVS: Fix request URL encoding. 2017-03-17 11:41:59 +01:00
Chimo
153c61e47d Ontario: Fix failing test. 2017-03-17 11:41:59 +01:00
Andreas Schildbach
eea03585ea TLEM: Fix API base. 2017-03-15 16:41:06 +01:00
Andreas Schildbach
ce1ed56051 Poland: Lines. 2017-02-27 13:28:50 +01:00
Andreas Schildbach
34d9ed3e0c AbstractHafasMobileProvider: Relax building of substitute trip IDs a bit in case of individual legs. 2017-02-26 15:45:04 +01:00
full-duplex
fa418ddbe3 NegentweeProvider: Skip cancelled trips. 2017-02-26 12:55:08 +01:00
jamescr
cc9307b587 Navitia: Add TRAM physical mode - GTFS and transitfeed route type '0'. 2017-02-21 19:13:19 +01:00
Andreas Schildbach
b7048d4736 AbstractEfaProvider: Ignore <itdMapItemList> inside <odvNameElem>. 2017-02-21 16:31:00 +01:00
Andreas Schildbach
f7a5a77b2f AbstractEfaProvider: Parse delay in <itdTrain> and <itdNoTrain>. 2017-02-21 11:31:53 +01:00
Andreas Schildbach
1b10571183 HSL: Fix API base. 2017-02-16 17:15:47 +01:00
Andreas Schildbach
188dbf397d AbstractHafasMobileProvider: If address is passed to jsonTripSearch() without id, also use coordinate to identify the address. 2017-02-16 17:03:52 +01:00
Andreas Schildbach
43abca08f5 AbstractHafasMobileProvider: If address is passed to jsonTripSearch() without id, always use first identified address. 2017-02-16 17:02:52 +01:00
Andreas Schildbach
82f09b16d8 EFA: Fix handling of another broken empty <itdSingleTicket>. 2017-02-15 13:15:30 +01:00
Andreas Schildbach
e92aa098a0 PACA: Remove provider for Provence-Alpes-Côte d'Azur. 2017-02-15 13:15:30 +01:00
Andreas Schildbach
e4b03df6f5 ATC: Remove provider. 2017-02-15 13:07:42 +01:00
Andreas Schildbach
9002564349 SEPTA: Remove provider for Philadelphia. 2017-02-15 13:07:42 +01:00
Andreas Schildbach
ac1f200e80 TLEM: Update API base to HTTPS. 2017-02-15 13:07:42 +01:00
Andreas Schildbach
80c4a7d2f0 HSL: Update API base to HTTPS. 2017-02-15 13:07:42 +01:00
Andreas Schildbach
5a80a47580 DING: Update API base to HTTPS. 2017-02-15 13:07:42 +01:00
Andreas Schildbach
35adb1c688 VGN: Add API base. 2017-02-15 13:07:42 +01:00
Sebastian Kürten
4f6da7336a Fix a few Javadoc typos. 2017-02-10 13:00:36 +01:00
Andreas Schildbach
8be2426b3a SNCB: Fix date parsing of XML station board. 2017-02-05 11:29:37 +01:00
Andreas Schildbach
1015be4d85 AbstractHafasMobileProvider: Handle API error H9240 'HAFAS Kernel: Internal error'. 2017-01-31 16:38:22 +01:00
Andreas Schildbach
e4c18d4dad AbstractEfaProvider: Fix coordinate parsing of station locations in mobile trips result. 2017-01-31 16:38:22 +01:00
full-duplex
a60313edf9 Negentwee: New provider for the Netherlands. 2017-01-31 16:38:03 +01:00
Torsten Grote
dd809adfd0 SuggestLocationsResult: Make SuggestedLocations public, so their priority can be used for custom sorting. 2017-01-31 14:57:46 +01:00
Andreas Schildbach
9f5000b9f3 Sydney: Lines. 2017-01-28 15:15:59 +01:00
Andreas Schildbach
9957626f8d BVG: Fix IllegalArgumentException when suggesting locations. 2017-01-28 14:59:03 +01:00
Andreas Schildbach
bf510b516d If possible, use generic type inference for constructing objects. 2017-01-28 14:59:03 +01:00
Andreas Schildbach
dabbfc878b AbstractHafasMobileProvider: Fix exception if there is no ticket list in trip fare. 2017-01-27 11:11:45 +01:00
Andreas Schildbach
3766972f7e VMT: Remove 'Zug' from station names. 2017-01-27 00:25:48 +01:00
Andreas Schildbach
37a7f60329 BVG: Switch to mobile API. 2017-01-27 00:04:58 +01:00
Andreas Schildbach
23d3e1f324 AbstractHafasMobileProvider: Parse ticket lists in trip fares. 2017-01-27 00:04:58 +01:00
Andreas Schildbach
6fe713bbc6 VMT: New provider for Mittelthüringen. 2017-01-27 00:04:46 +01:00
Andreas Schildbach
a0bec90f9a AbstractHafasProvider: Extract AbstractHafasMobileProvider and AbstractHafasLegacyProvider for the two Hafas APIs. 2017-01-26 23:21:53 +01:00
Andreas Schildbach
7dd43f90c5 AbstractEfaProvider: Line. 2017-01-25 00:20:50 +01:00
Andreas Schildbach
935a4a21c4 Remove currently unused NetworkIds. 2017-01-21 01:24:30 +01:00
Andreas Schildbach
eb47808fef VRS: Handle some errors when querying trips. 2017-01-21 01:24:30 +01:00
Andreas Schildbach
14262153d9 HttpClient: Relax timeouts a bit. 2017-01-21 01:24:30 +01:00
Patrick Kanzler
a9e254c3ae AbstractNavitiaProvider: Fix NullPointerException.
4f7bd832e6 introduced a
NullPointerException in AbstractNavitiaProvider.
The call to Context() in line 970 calls prevQueryUrl.toString() and
nextQueryUrl.toString().
The variables are however null in the case that the search returned
only one result. The easiest way to reproduce this is searching
for two very near locations. The result will then be one walk-route.
This commit fixes the NPE by restoring the old behavior and has been
tested in Transportr.
2017-01-18 14:44:01 +01:00
Andreas Schildbach
0f77095d65 VRS: Fix product filter when querying trips. 2017-01-13 17:32:11 +01:00
Andreas Schildbach
dee663ea54 Remove Melbourne. PTV has shut or locked down their EFA. 2017-01-13 12:30:38 +01:00