Commit graph

2347 commits

Author SHA1 Message Date
Andreas Schildbach
4b7160e804 VVT: Remove HTTPS security downgrade that was necessary because of a misconfigured server. 2017-08-31 11:36:00 +02:00
Andreas Schildbach
8604db22da NVV: Remove HTTPS security downgrade that was necessary because of a misconfigured server. 2017-08-31 11:36:00 +02:00
Andreas Schildbach
100b4fa4ac MVV: Remove HTTPS security downgrade that was necessary because of a misconfigured server. 2017-08-31 11:36:00 +02:00
Andreas Schildbach
18bead0b27 VVV: Update API base. 2017-08-31 11:36:00 +02:00
Andreas Schildbach
beeb258437 VGS: Update API base to HTTPS. 2017-08-31 11:36:00 +02:00
Andreas Schildbach
ae0c5b7b67 VBB: Update API base to HTTPS. 2017-08-31 11:36:00 +02:00
Andreas Schildbach
3c961d86f6 SH: Update API base to HTTPS. 2017-08-31 11:36:00 +02:00
Andreas Schildbach
7823a8d17b LU: Update API base. 2017-08-31 11:36:00 +02:00
Andreas Schildbach
6a4792e879 BVG: Update API base to HTTPS. 2017-08-31 11:36:00 +02:00
Andreas Schildbach
cbdacd5be5 INVG: Update API base to HTTPS. 2017-08-31 11:36:00 +02:00
Andreas Schildbach
10bedb42b5 GVH: Update API base to HTTPS. 2017-08-31 11:36:00 +02:00
Andreas Schildbach
193837ec83 Bayern: Update API base to HTTPS. 2017-08-31 11:36:00 +02:00
Andreas Schildbach
90b0cc02cd BVB: Remove provider for Basel. 2017-08-31 11:35:59 +02:00
Peter Serwylo
973a9d5668 Australia: Add AustraliaProvider.
Navitia provides an "au" coverage which aggregates GTFS feeds from
most states public transport authorities. At time of writing, it supports:

 * Melbourne
 * Sydney
 * Canberra
 * Brisbane
 * Darwin
 * Alice Springs
 * Perth
 * Adelaide
 * Hobart
 * Launceston
 * Bernie

However of these, Darwin, Alice Springs, and Darwin are out of date.

By default, only does a semi-comprehensive test of Melbourne (the PTV
network). This is to avoid running into Navitia's API limits if run
under CI, or run continuously during development.

For each other supported network (which is in date), it also provides
tests. The sum of all these tests is that each network should have each
different type of transport (e.g. train/tram/ferry/etc) tested.
2017-08-20 22:37:05 +02:00
Peter Serwylo
af0bcdc17c AbstractNavitiaProvider: Pass network to getLineStyle().
This allows coverages with multiple distinct transport agencies
(e.g. Australia) to meaninfully distinguish between different lines
with similar names. For example, there is often buses which are
labelled by numbers. "Bus 12" needs to be two different colours,
based on which transport network it belongs to.

In the case of Australia, it will use this to delegate to the
lineStyles() method.
2017-08-20 22:27:49 +02:00
Andreas Schildbach
8a69715ba0 VRN: Fix suggest locations coverage. 2017-06-25 20:31:50 +02:00
Andreas Schildbach
d3b4ca0995 Update slf4j to 1.7.25. 2017-06-25 20:31:50 +02:00
Andreas Schildbach
bc0f6aa045 Update Guava to 22.0-android. 2017-06-25 20:31:50 +02:00
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