Commit graph

2347 commits

Author SHA1 Message Date
Andreas Schildbach
620ab18f35 KVV: Fix some S-Bahn styles again. 2015-12-05 19:26:57 +01:00
Andreas Schildbach
af55087795 KVV: Fix some S-Bahn styles. 2015-11-18 10:36:33 +01:00
Andreas Schildbach
fb7408cf4d VRR: Allow configuration of API base. 2015-11-18 10:36:33 +01:00
Andreas Schildbach
2be92e3845 GVH: Allow configuration of API base. 2015-11-18 10:36:33 +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
7af27c855b VVO: Use realtime data for Dresden again. 2015-10-31 14:49:37 +01:00
Andreas Schildbach
8b22bdb117 Bavaria: Fix parsing of empty delay. 2015-10-31 14:49:37 +01:00
Andreas Schildbach
42021b2498 Lines. 2015-10-31 14:49:37 +01:00
Andreas Schildbach
9c853ad5d6 Make sure AbstractHttpExceptions have a meaningful toString(). 2015-10-27 17:23:10 +01:00
Andreas Schildbach
400b06cb8d Allow preferring plan times when getting departure and arrival times. 2015-10-19 13:02:34 +02:00
Andreas Schildbach
9bee674514 Add Product.fromCodes() and Product.toCodes(). 2015-10-19 13:02:34 +02:00
Andreas Schildbach
0994d31443 Add 'Schiffstation' to names that need places in their unique form. 2015-10-19 13:02:34 +02:00
Andreas Schildbach
29d853202c Add getLatAsDouble() and getLonAsDouble() to Point and Location. 2015-10-19 13:02:34 +02:00
Andreas Schildbach
be258fda6b Replace shape of Berlin by simple bounding box. 2015-10-19 13:02:33 +02:00
Andreas Schildbach
c0463780f3 VRS: Fix ArrayIndexOutOfBoundsException when substituting walking departure/arrival times. 2015-10-02 14:13:54 +02:00
Andreas Schildbach
cc55fb4725 VRS: Throw exception on unhandled segment type. 2015-10-02 14:13:54 +02:00
Andreas Schildbach
e772bce41e VRS: Use speaking loop index names. 2015-10-02 14:13:54 +02:00
Andreas Schildbach
4c851ae4c5 Migrate Liechtenstein, Bregenz & Vorarlberg to use VAO. 2015-09-26 10:04:08 +02:00
Andreas Schildbach
9b16fc6353 HttpClient: Use setHeader() rather than authorization parameter. 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
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