Commit graph

228 commits

Author SHA1 Message Date
Andreas Schildbach
7c79f55682 Lines. 2016-08-30 09:02:47 +02:00
Andreas Schildbach
fcf97a7399 Hafas: Parse negative delays on XML station board. 2016-08-30 08:55:34 +02:00
Andreas Schildbach
027268ecec Hafas: Detect several on demand lines in binary trips. 2016-06-12 15:42:46 +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
Andreas Schildbach
d6d3371de2 Lines. 2016-05-23 15:55:44 +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
e3337c202d SH: Parse fares. 2016-04-07 20:12:31 +02:00
Andreas Schildbach
8a99a256d7 Hafas: Fix crash when JSON trips query cannot scroll any more. 2016-02-19 10:33:52 +01:00
Andreas Schildbach
57eb4364b5 Hafas: Detect an on demand line. 2016-01-31 19:22:42 +01:00
Andreas Schildbach
aa028228c0 Hafas: Log error codes to debug. 2016-01-21 18:39:50 +01:00
Andreas Schildbach
52207db349 Hafas: Handle h2g error 2. 2016-01-21 18:39:49 +01:00
Andreas Schildbach
6c1ee94b91 Lines. 2015-12-05 19:29:16 +01:00
Andreas Schildbach
6e03763192 Migrate Göttingen & South Lower Saxony and Rostock into Bremen, Bremerhaven & Osnabrück. Also switch to JSON API and adapt Rostock styles. 2015-10-31 14:49:37 +01:00
Andreas Schildbach
b70a3c5258 Hafas: Handle unidentified from/to locations passed into jsonTripSearch(). 2015-10-31 14:49:37 +01:00
Andreas Schildbach
db63fec2db Hafas: Handle JSON API error H891 'No route found'. 2015-10-31 14:49:37 +01:00
Andreas Schildbach
db5bbd9228 Hafas: Handle JSON API error H9360 'Date outside of the timetable period'. 2015-10-31 14:49:37 +01:00
Andreas Schildbach
c1a309f938 Hafas: Normalize product names received from JSON API. 2015-10-31 14:49:37 +01:00
Andreas Schildbach
75ef5290ba Hafas: Work around embedding of italics HTML tags in station board XML. 2015-10-31 14:49:37 +01:00
Andreas Schildbach
572909f8ed Hafas: Handle h2g error 19. 2015-10-31 14:49:37 +01:00
Andreas Schildbach
42021b2498 Lines. 2015-10-31 14:49:37 +01:00
Andreas Schildbach
4c851ae4c5 Migrate Liechtenstein, Bregenz & Vorarlberg to use VAO. 2015-09-26 10:04:08 +02:00
Andreas Schildbach
d6e03d7bc0 HttpClient: Support for custom request content types. 2015-09-26 10:04:08 +02:00
Andreas Schildbach
ccd0378be0 Hafas: Handle h2g error 13. 2015-09-26 09:57:52 +02:00
Andreas Schildbach
f330f0d799 Hafas: Fix exception message in intToProduct(). 2015-09-26 09:57:52 +02:00
Andreas Schildbach
0ae2fe45d0 Hafas: Parse another cancelled departure case in XML station board. 2015-09-14 16:44:55 +02:00
Andreas Schildbach
4138966cf9 Hafas: Parse AdminCode line attribute. 2015-09-14 16:44:55 +02:00
Johan von Forstner
7588431354 SH: Line colors for Kiel buses. 2015-09-14 16:41:47 +02:00
Andreas Schildbach
8b93e6135a Hafas: Set up default API endpoints in the constructor. 2015-09-13 16:08:00 +02:00
Andreas Schildbach
10d04bcb39 Hafas: Use setters for non-standard character encodings, rather than the constructor parameter. 2015-09-13 16:08:00 +02:00
Andreas Schildbach
27f60db22b Hafas: Parse products for stations. 2015-09-13 16:08:00 +02:00
Andreas Schildbach
fb6e71ee2b Hafas: Declare individual product map for each provider, rather than implementing intToProduct() and setProductBits(). 2015-09-13 16:08:00 +02:00
Andreas Schildbach
5048e826dc Hafas: Handle unparsable XML when querying for departures. 2015-09-11 19:02:29 +02:00
Andreas Schildbach
26199d7ec3 Hafas: Handle invalid station ID when querying for nearby stations by ID. 2015-09-11 11:40:07 +02:00
Andreas Schildbach
966b248d50 Lines. 2015-07-30 21:13:47 +02:00
Andreas Schildbach
00a395a9ad Extract HttpClient into own class which can keep state (cookies and configuration for now). 2015-07-19 14:22:55 +02:00
Andreas Schildbach
07a0b8b535 Hafas: Handle h2g errors 9280 and 9300. 2015-07-17 10:23:47 +02:00
Andreas Schildbach
f12c9db7e9 Hafas: Set clientType by default. 2015-07-17 10:23:47 +02:00
Andreas Schildbach
9bef580434 Hafas: Fix handling of lines with unknown product. 2015-07-01 18:42:16 +02:00
Andreas Schildbach
d934dfa0d4 Hafas: Handle h2g error 207. 2015-07-01 18:42:16 +02:00
Andreas Schildbach
00029ecddc Hafas: Assert for non-presence of <StationTable> and <St> on station board. 2015-06-15 19:31:25 +02:00
Andreas Schildbach
f4974bc8f2 EFA: Trip optimization for least duration, least changes or least walking. 2015-06-06 00:36:27 +02:00
Andreas Schildbach
7545abea7a Assert for valid stationId in queryDepartures(). 2015-04-08 09:42:46 +02:00
Andreas Schildbach
af4f9ab0cc Log network access via slf4j. 2015-04-02 10:24:35 +02:00
Andreas Schildbach
4b65f0145c Introduce location type for plain coordinates. 2015-04-01 17:27:59 +02:00
Andreas Schildbach
95d0a31675 Suppress warnings about missing serialVersionUIDs for the whole project. 2015-03-12 13:18:46 +01:00
Andreas Schildbach
2038a740e2 Include network with Line. 2015-03-02 11:22:52 +01:00
Andreas Schildbach
f48c0ef60e Hafas: If there are predicted times for individual legs, use them. 2015-03-02 11:20:46 +01:00
Andreas Schildbach
322e7cf8cb Include network ID in result header. 2015-02-25 09:09:37 +01:00
Andreas Schildbach
cf651676d2 Migrate network IDs to constant field. 2015-02-25 09:05:01 +01:00