Commit graph

1884 commits

Author SHA1 Message Date
Andreas Schildbach
4b6751931b VAO: Update API base to HTTPS. 2016-07-21 22:29:38 +02:00
Andreas Schildbach
81c8504881 Linz: Update API base to HTTPS. 2016-07-21 22:29:30 +02:00
Andreas Schildbach
2c2fece8a1 ZVV: Update API base to HTTPS. 2016-07-21 22:29:15 +02:00
Andreas Schildbach
6fb6fb5cb5 VOR: Update API base to HTTPS. 2016-07-21 22:29:04 +02:00
Andreas Schildbach
6a35f5bd88 Sydney: Update API base to HTTPS. 2016-07-21 22:28:50 +02:00
Andreas Schildbach
958fdc724a EFA: Ignore <genAttrList /> element in itdStopSeq/itdPoint. 2016-07-18 17:14:44 +02:00
Andreas Schildbach
1cd17a1814 EFA: Handle missing destinations in departure monitor, again. 2016-07-03 10:59:50 +02:00
Andreas Schildbach
da0580b64f EFA: Ignore <itdAddOdvSeq /> element. 2016-07-03 10:59:50 +02:00
Andreas Schildbach
7821c7458d Re-enable SSL certificate validation for live tests. 2016-06-21 14:28:39 +02:00
Andreas Schildbach
fabcbbb3f3 NVV: Accept all hostnames for SSL certificate validation, but still validate the certificate itself. 2016-06-21 14:27:03 +02:00
Andreas Schildbach
027268ecec Hafas: Detect several on demand lines in binary trips. 2016-06-12 15:42:46 +02:00
Andreas Schildbach
ba35a1dcff VRN: Update line styles. 2016-06-12 15:36:34 +02:00
Andreas Schildbach
4a47cafd00 NVV: Update API base to HTTPS. 2016-06-04 12:53:08 +02:00
Andreas Schildbach
9c133d2255 DB: Update API base to HTTPS. 2016-06-04 12:53:08 +02:00
Andreas Schildbach
26621e5874 Migrate Stockholm to use SE. 2016-06-04 12:50:26 +02:00
Andreas Schildbach
2b2bb3a7cc Disable SSL certificate validation for live tests. 2016-06-01 10:00:03 +02:00
Torsten Grote
6d99e63db8 Navitia: More efficient product parsing
According to CanalTP/navitia#1386, Navitia has finally added the
product to departure query results, so all information we need can now
be retrieved by one network query only.

The AbstractNavitiaProvider was adapted accordingly and all legacy code
including the Product Cache was removed.
2016-06-01 09:57:43 +02:00
Andreas Schildbach
62a5a54d73 Hafas: Fix crash when JSON trips query doesn't return a distance. 2016-05-25 10:54:29 +02:00
karottenbaum
577d619a17 VRR: Fix line shapes 2016-05-24 23:14:56 +02:00
Andreas Schildbach
389ec22b6a Navitia: Use default style for unknown products in getLineStyle(). 2016-05-24 09:51:55 +02:00
karottenbaum
40cff03e47 VRR: Update line styles. 2016-05-23 16:21:58 +02:00
sbn
e6eb264225 VAGFR: Update line styles. 2016-05-23 16:16:02 +02:00
Torsten Grote
b741c0b34f Paris: Support cablecar 2016-05-23 16:02:54 +02:00
Torsten Grote
4566bf3cfb Navitia: Find products for nearby stations 2016-05-23 15:57:51 +02:00
Andreas Schildbach
d6d3371de2 Lines. 2016-05-23 15:55:44 +02:00
Torsten Grote
17e54c4d62
Navitia: Support Ambiguous QueryTripsResult 2016-05-15 20:05:17 -03:00
Andreas Schildbach
d245c294e3 VRS: Trim error string. 2016-05-08 16:30:20 +02:00
Torsten Grote
bc5cf15893 Line: Add a name to Line and use it with Navitia providers
Also add network to Navitia providers and take text color into account.

Due to a bug uncovered by adding the network to the line,
the code to retrieve departures had to be simplified.
It now does not do an extra network request to get the line destination.
2016-04-14 10:11:13 +02:00
Torsten Grote
2adf627e51 Navitia: Also suggest POI and administrative locations
The administrative areas are extremely useful when people search for a
suburb, but no stops have the suburbs name. They are currently mapped
to a POI location.
2016-04-13 16:37:19 +02:00
Andreas Schildbach
889a85b745 QueryTripsResult: Don't print status twice in toString(). 2016-04-07 20:13:24 +02:00
Andreas Schildbach
04b0c2ea2c Migrate Salzburg to use VAO. 2016-04-07 20:13:24 +02:00
Andreas Schildbach
907fc38dc4 Hafas: Handle JSON API error H9380 'Departure/Arrival/Intermediate or equivalent stations def'd more than once'. 2016-04-07 20:13:24 +02:00
Andreas Schildbach
b3965275fb Hafas: ON_DEMAND and BUS means just ON_DEMAND. 2016-04-07 20:13:24 +02:00
Andreas Schildbach
57f12818da EFA: Parse new <stateless>, <tco> and <alt> tags in mobile XML API. 2016-04-07 20:13:07 +02:00
Andreas Schildbach
cb61798228 EFA: Fix server detected as down sometimes when querying for suggested locations. 2016-04-07 20:13:07 +02:00
Andreas Schildbach
f4caea8dfd EFA: Handle missing destinations in departure monitor. 2016-04-07 20:12:32 +02:00
Andreas Schildbach
6d7d967ef4 KVV: One more test. 2016-04-07 20:12:32 +02:00
Andreas Schildbach
e3337c202d SH: Parse fares. 2016-04-07 20:12:31 +02:00
Andreas Schildbach
391fb06090 SH: Switch to JSON API. 2016-04-07 20:12:31 +02:00
Torsten Grote
47f31e99c2 Navitia: Properly create Locations with name and place.
Allow option to fix case of location names and simplify location parsing
code.
2016-04-07 20:12:31 +02:00
Chimo
a9d009e090 Add Quebec (Canada) provider. 2016-03-10 22:53:37 +01:00
Andreas Schildbach
ab4650586a Navitia: Handle empty or non-present color attributes, use the product default colors in these cases. 2016-03-09 13:40:13 +01:00
Torsten Grote
14f02607f1 Navitia: Less network requests and no NPE when querying for departures.
The AbstractNavitiaProvider was making one network request per departure
it found, just to find the `Product`. This information is mostly
available in the second request it makes, so this should be taken when
available.

Also, in rare cases no destination can be found for a line. It should
not crash in these cases. This was also fixed within this commit.
2016-03-09 13:18:50 +01:00
Andreas Schildbach
ead34426c6 Navitia: If query returns 'not found' and JSON from error page could not be parsed, link the original exception. 2016-03-09 13:14:19 +01:00
Torsten Grote
bb76498c87 Navitia: Take the location priority into account when suggesting locations. 2016-03-08 14:47:52 +01:00
Andreas Schildbach
e227e254f1 Add a README.md to the parent project. 2016-03-08 11:58:20 +01:00
Torsten Grote
258f127fa7 Add a README.md file to the enabler project. 2016-03-08 11:53:27 +01:00
Andreas Schildbach
b1e89921a6 Style: Preconditions and unit tests for parseColor(). 2016-02-29 10:38:30 +01:00
Andreas Schildbach
910b6705b8 BVG: Update API base. 2016-02-25 17:48:34 +01:00
Andreas Schildbach
7b92f6ed18 EFA: Ignore multiple <omcTaxi> tags when querying for trips. 2016-02-19 10:33:52 +01:00