Commit graph

2347 commits

Author SHA1 Message Date
Andreas Schildbach
d9fe9374df HttpClient: Allow certificate pinning. 2016-11-23 23:54:46 +01:00
Patrick Kanzler
07af91b997 VGN: Fix queries only for stations when suggesting locations. 2016-11-23 23:54:46 +01:00
Andreas Schildbach
6df550ea80 EFA: Parse multiple <itdMessage> after <itdDepartureMonitorRequest> and <itdTripRequest>. 2016-11-21 11:24:44 +01:00
Andreas Schildbach
1587f7fa9f Add XmlPullUtil.optSkipMultiple() and use it where possible. 2016-11-21 11:24:44 +01:00
Andreas Schildbach
30cc003038 Use XmlPullUtil.optSkip() where possible. 2016-11-21 11:24:44 +01:00
Andreas Schildbach
45cc8de41c Hafas: Handle JSON API error FAIL 'HCI Service: request failed'. 2016-11-21 11:24:44 +01:00
Andreas Schildbach
1f087f1b99 Lines. 2016-11-21 11:24:44 +01:00
Andreas Schildbach
3317396dbc EFA: Handle missing destination in <m> elements in mobile locations query. 2016-11-21 11:24:44 +01:00
Andreas Schildbach
77a69bc9c0 Remove JET (Jerusalem). 2016-11-21 11:24:44 +01:00
Andreas Schildbach
707727c68a Remove San Francisco. 2016-11-21 11:12:33 +01:00
Andreas Schildbach
b39cbe0d19 Update Guava to 20.0. 2016-11-09 13:22:10 +01:00
Andreas Schildbach
9782a42f3b Update JUnit to 4.12. 2016-11-09 13:20:46 +01:00
Andreas Schildbach
688a256f78 Update slf4j to 1.7.21. 2016-11-09 13:19:58 +01:00
Andreas Schildbach
7d4770ea8c Update OkHttp to 3.4.2. 2016-11-09 13:17:48 +01:00
Andreas Schildbach
7d131a57f2 VRS: Use patterns for parsing positions from departures. 2016-11-08 10:43:31 +01:00
Andreas Schildbach
a844c5bc56 EFA: Parse serverID from <itdRequest>. 2016-11-07 23:08:44 +01:00
Andreas Schildbach
a932f98099 HttpClient: Get rid of useless pre-allocation of buffer. 2016-11-04 16:49:38 +01:00
Andreas Schildbach
f05eb5079f HttpClient: Double peek size. 2016-11-04 16:49:10 +01:00
Andreas Schildbach
6136ec7fb0 Lines. 2016-11-04 10:10:04 +01:00
Andreas Schildbach
e48a68a240 EFA: Silently ignore coordinates on other systems than WGS84. 2016-10-28 16:46:55 +02:00
Andreas Schildbach
40763ef6f6 EFA: If there is no <itdServingLine>, we assume the station ID is invalid. 2016-10-28 14:36:07 +02:00
Andreas Schildbach
63be2aeb10 Hafas: Parse JSON locations without coordinates. 2016-10-26 15:41:12 +02:00
Andreas Schildbach
71ee02b4d0 ZVV: Show long distance trains by default, too. Apparently you may use them at no additional charge. 2016-10-26 10:30:35 +02:00
Andreas Schildbach
0dabc3da75 VVT: Switch to JSON API. 2016-10-23 19:48:30 +02:00
Andreas Schildbach
7c30711dcf Lines. 2016-10-23 15:07:29 +02:00
Andreas Schildbach
580f0569e8 EFA: Fix detection of barrier free leg for KVV. 2016-10-23 13:13:32 +02:00
Andreas Schildbach
05219556c8 AbstractNavitiaProvider: Handle error id 'date_out_of_bounds'. 2016-10-22 17:30:02 +02:00
Andreas Schildbach
a60f8b049f AbstractEfaProvider: Simplify instantiation of destination locations. 2016-10-22 14:52:44 +02:00
Andreas Schildbach
c396ebe508 Location: Make sure type ANY cannot have ID. 2016-10-22 14:52:44 +02:00
Andreas Schildbach
80f0f30df5 SVV: Ressurect and switch to JSON API. 2016-10-19 20:39:09 +02:00
Andreas Schildbach
748d8423e5 OOEVV: New provider for Upper Austria. 2016-10-19 20:31:42 +02:00
Andreas Schildbach
fca9fa0c11 VMOBIL: Ressurect and switch to JSON API. 2016-10-19 20:31:41 +02:00
Andreas Schildbach
a59d696a42 VOR: Switch to JSON API. 2016-10-19 20:19:33 +02:00
Andreas Schildbach
04af7037ff STV: Update API base. Also switch endpoints to mobile. 2016-10-19 18:19:35 +02:00
Andreas Schildbach
459dd5743f Hafas: Support POIs for JSON trips query. 2016-10-12 12:57:02 +02:00
Andreas Schildbach
879de41cf7 Hafas: Support via for JSON trips query. 2016-10-12 11:13:43 +02:00
Andreas Schildbach
5daefdbc56 VRN: Update API base. 2016-10-10 17:38:46 +02:00
Andreas Schildbach
3e2aa33f6f HttpClient: Add null checks to getInputStream(). 2016-10-09 10:44:54 +02:00
Andreas Schildbach
b18ec864a9 VGN: Fix umlauts in suggested locations. 2016-10-09 10:44:16 +02:00
Andreas Schildbach
a81d23c215 VOR: Disable trip capability. 2016-10-08 12:32:57 +02:00
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