Commit graph

1929 commits

Author SHA1 Message Date
Andreas Schildbach
0acdb0699e Make Travis CI use Ubuntu Trusty image for building. 2017-06-25 20:30:31 +02:00
Andreas Schildbach
3bc1faf533 Migrate Norway to binary trips query. 2017-05-31 10:04:57 +02:00
Andreas Schildbach
9fd1ccb1dd EFA: Ignore new <gid> and <trainType> elements in mobile XML API. 2017-05-23 16:24:07 +02:00
Harald Eilertsen
8fc218c8d9 NriProvider: Update base url.
This is a temporary fix to allow using the old api until Entur makes
the new API official.
2017-05-20 11:13:53 +02:00
Andreas Schildbach
f4ca95df34 Update OkHttp to 3.8.0. 2017-05-15 14:31:44 +02:00
Andreas Schildbach
db0b26719e AbstractHafasLegacyProvider: Parse malformed subway line. 2017-04-25 13:05:13 +02:00
Andreas Schildbach
ca4c81ac4a EFA: Don't try to convert coordinate result to address. 2017-04-25 12:54:49 +02:00
Andreas Schildbach
ac745f66c9 VVO: Update API endpoints. 2017-04-25 11:58:14 +02:00
Andreas Schildbach
f71375f02c Update OkHttp to 3.7.0. 2017-04-18 10:53:10 +02:00
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