Commit graph

2057 commits

Author SHA1 Message Date
Andreas Schildbach
416b1af27c VAO: Send client type. 2016-10-08 12:32:18 +02:00
Andreas Schildbach
57b76eda0f Hafas: Handle h2g error 65535. 2016-09-25 19:53:32 +02:00
Andreas Schildbach
74d552d187 Migrate all HTTP calls to use OkHttp rather than URLConnection. 2016-09-25 19:53:31 +02:00
Andreas Schildbach
4c64746e75 Switch to Java 7.
Notes regarding Android compatibility:
- The 'try-with-resources' language feature needs API level 19, so don't use it.
  All other language features can be used back to API level 8.
- The JDK 1.7 API still isn't fully implemented, so better stick with 1.6 for now.
2016-09-25 19:53:31 +02:00
Andreas Schildbach
1c2f21ac9f Add 'Markt' to names that need places in their unique form. 2016-09-24 12:07:44 +02:00
Andreas Schildbach
670a63e0f9 Rename FrenchSouthWestProvider to FranceSouthWestProvider and NetworkId.FRENCHSOUTHWEST to NetworkId.FRANCESOUTHWEST.
This is done to be consistent with the other France providers.
2016-09-23 19:11:37 +02:00
Patrick Kanzler
c6cb7bcfef Navitia: Add support for fr-nw region (North-West of France). 2016-09-23 19:05:31 +02:00
Andreas Schildbach
ca0030a33c Lines. 2016-09-23 13:00:23 +02:00
Andreas Schildbach
9b9b85aa66 Sweden: Update API base to HTTPS. 2016-09-20 22:25:35 +02:00
Andreas Schildbach
00102364fe Wien: Update API base to HTTPS. 2016-09-20 22:25:35 +02:00
Andreas Schildbach
0518453fb1 Navitia: Update API base to HTTPS. 2016-09-20 22:25:35 +02:00
Andreas Schildbach
931dafb628 Switch to modern code format. Organize imports. No functional changes.
Java sources use Eclipse 4.5 'Java Conventions' with indentation changed to 4 spaces only per level.
2016-09-08 18:26:01 +02:00
Andreas Schildbach
db59817a05 VBN: Update line styles. 2016-09-05 23:32:51 +02:00
Anthony Chaput
63176e9e01 Navitia: Add support for fr-se region (South-East of France). 2016-08-30 14:06:36 +02:00
Andreas Schildbach
7c79f55682 Lines. 2016-08-30 09:02:47 +02:00
Andreas Schildbach
0c0e1ad8a7 VBB: Don't send clientType. 2016-08-30 08:55:39 +02:00
Andreas Schildbach
fcf97a7399 Hafas: Parse negative delays on XML station board. 2016-08-30 08:55:34 +02:00
karottenbaum
f2327c9a50 VRR: Update line styles.
Changed the provider abbreviations in the styles to reflect changes at VRR.
Mülheim styles not working yet as there is no abbreviation present in the EFA reply.
Due to these changes in replies, night buses are now also styled (Düsseldorf, Dortmund, Krefeld, Essen, Duisburg, Oberhausen, Neuss, Remscheid, Solingen, and Wuppertal.)
2016-08-30 08:54:54 +02:00
Stéphane Guillou
0addc8fec1 Navitia: Add support for fr-ne region (which covers North-East of France). 2016-08-20 21:09:08 +02:00
Andreas Schildbach
2f40556e5a RTA Chicago. 2016-07-31 14:23:38 +02:00
Andreas Schildbach
de6ae1a025 Navitia: Handle physical mode OTHER. 2016-07-31 14:20:41 +02:00
Andreas Schildbach
ab2f62a0db EFA: Handle empty <de> element in mobile locations query. 2016-07-31 14:20:21 +02:00
Andreas Schildbach
b2a1f94e55 EFA: Ignore new <optval>, <gix> and <prid> elements in mobile XML API. 2016-07-31 14:20:16 +02:00
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