Commit graph

1959 commits

Author SHA1 Message Date
Torsten Grote
42f9c21145 Navitia: Add house numbers to addresses.
This commit adds the house number behind the street name if available
and gives a way to define other formats like in France
where the house number comes before the street name.
2017-11-08 19:46:38 +01:00
Andreas Schildbach
8b2488e807 VMV: Hopefully fix some product not showing up. 2017-09-18 12:15:41 +02:00
Andreas Schildbach
f11ae671f4 VMS: Fix typo in means of transport. 2017-09-18 10:10:37 +02:00
Andreas Schildbach
a3e95ddab2 AbstractEfaProvider: Make processCoordinateStrings() to return null if there is no coordinate string. 2017-09-12 14:59:32 +02:00
Torsten Grote
e179351115 AbstractNavitiaProvider: Add Orlyval to Physical Modes.
Without this patch, connections with the orlyval train cause an IllegalArgumentException.
2017-09-05 23:28:15 +02:00
Andreas Schildbach
ac81e68779 AbstractHafasLegacyProvider: Lines. 2017-09-04 21:39:19 +02:00
Andreas Schildbach
14e33621af VBB: Trust all HTTPS certificates, because the trust anchor is not known on older devices. 2017-09-01 09:46:34 +02:00
Andreas Schildbach
de66342497 NVV: Trust all HTTPS certificates, because the trust anchor is not known on older devices. 2017-09-01 09:46:30 +02:00
Andreas Schildbach
fab11c0957 Implement toShortString() for all result classes. 2017-08-31 11:55:17 +02:00
Andreas Schildbach
d0e19dbd7a Update Guava to 23.0-android. 2017-08-31 11:42:12 +02:00
Andreas Schildbach
5f5bf7746f Update OkHttp to 3.8.1. 2017-08-31 11:36:00 +02:00
Andreas Schildbach
c4a473afef VMOBIL: Remove HTTPS security downgrade that was necessary because of a misconfigured server. 2017-08-31 11:36:00 +02:00
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