Commit graph

2021 commits

Author SHA1 Message Date
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
17960fc74e ÖBB: Fix umlauts in suggested locations. 2015-09-14 13:16:10 +02:00
Andreas Schildbach
042dc0f591 BSVAG: Fix some product not showing up. 2015-09-13 16:13:18 +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
1ae48117ba AbstractHttpException is not related to ParserException. 2015-09-11 19:02:29 +02:00
Andreas Schildbach
f8e1674ab6 SH: Handle querying for nearby stations by coordinate. 2015-09-11 11:40:07 +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
4877bf1da3 Styles for Rostock. Remove Rostock styles from Schwerin & Mecklenburg-Vorpommern. 2015-08-29 19:15:18 +02:00
Andreas Schildbach
966b248d50 Lines. 2015-07-30 21:13:47 +02:00
Andreas Schildbach
05391cab75 HttpClient: Support custom request headers. 2015-07-19 14:34:16 +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
de5db3cb98 Migrate build from Maven to Gradle. 2015-07-01 18:43:36 +02:00
Andreas Schildbach
cf09c0043b Bahn: Migrate station board to separate base URL. 2015-07-01 18:42:16 +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
42e9d39c56 VBN: Update API base. 2015-06-30 17:45:57 +02:00
Andreas Schildbach
6e1189f3ab BVG: Update API base. 2015-06-30 17:45:57 +02:00
Andreas Schildbach
c8e0bae71b AVV: Fix night bus not showing up. 2015-06-30 17:45:57 +02:00
Andreas Schildbach
bfd67768e7 VRN: Add styles. 2015-06-30 17:45:57 +02:00
Andreas Schildbach
f7b0043e0a Extract default line background colors to constants. 2015-06-30 17:45:57 +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
2fe5f00693 SH: Can handle equivalent stations. 2015-06-15 19:31:25 +02:00
Andreas Schildbach
12fd51a483 VMV: Update API base. 2015-06-06 00:37:35 +02:00
Andreas Schildbach
8bbeb6ad75 Two-colored backgrounds for line styles. 2015-06-06 00:37:35 +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
5cc1956f99 Testcases. 2015-05-21 00:31:23 +02:00
Andreas Schildbach
62d84eaf33 Lines. 2015-05-21 00:31:21 +02:00
Andreas Schildbach
eb533aafe0 Fix missing serialVersionUIDs. 2015-05-21 00:25:40 +02:00
Andreas Schildbach
9527f34a2d VRS: Update API base. 2015-05-04 19:03:14 +02:00
Andreas Schildbach
d4433b7bfe BSVAG: Update API base. 2015-05-04 08:10:13 +02:00
Andreas Schildbach
3c24af6d74 EFA: Fix ordering of itdMessageList and clientHeaderLines tags. 2015-05-04 08:10:13 +02:00
Andreas Schildbach
de62da6427 Sydney: Enable more products for trips. 2015-05-04 08:10:13 +02:00
Andreas Schildbach
cfae3fc11c Bayern: Enable more products for trips. 2015-05-04 08:10:12 +02:00
Andreas Schildbach
e43c676a34 EFA: More explicit handling of inclMOT_11 parameter. 2015-05-04 08:09:57 +02:00
Michael Dyrna
e9479c18d8 VRS: Additional parsing rule for platform information. 2015-04-10 08:52:07 +02:00
Michael Dyrna
8a5341438f VRS: Quickly handle API error 'Keine Abfahrten gefunden.'. The full solution would be to restructure the code in a way that allows to return at least the List<LineDestination> part. 2015-04-10 08:50:58 +02:00
Andreas Schildbach
7545abea7a Assert for valid stationId in queryDepartures(). 2015-04-08 09:42:46 +02:00
Andreas Schildbach
6c934ff071 VVS: At the request of Verkehrsverbund Stuttgart, reduce number of trips requested to 4. 2015-04-02 19:57:34 +02:00
Andreas Schildbach
cd8b7fc6dd VRR: Fix umlauts in suggested locations. 2015-04-02 10:27:05 +02:00
Andreas Schildbach
af4f9ab0cc Log network access via slf4j. 2015-04-02 10:24:35 +02:00