Commit graph

208 commits

Author SHA1 Message Date
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
d6e03d7bc0 HttpClient: Support for custom request content types. 2015-09-26 10:04:08 +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
f4974bc8f2 EFA: Trip optimization for least duration, least changes or least walking. 2015-06-06 00:36:27 +02:00
Andreas Schildbach
62d84eaf33 Lines. 2015-05-21 00:31:21 +02:00
Andreas Schildbach
3c24af6d74 EFA: Fix ordering of itdMessageList and clientHeaderLines tags. 2015-05-04 08:10:13 +02:00
Andreas Schildbach
e43c676a34 EFA: More explicit handling of inclMOT_11 parameter. 2015-05-04 08:09:57 +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
009c31ed12 EFA: Uppercase Fare.network. 2015-04-01 17:27:59 +02:00
Andreas Schildbach
6b1e882558 EFA: Set maximum time to walk to first or from last stop. 2015-04-01 17:27:59 +02:00
Andreas Schildbach
6106419561 EFA: Fix ignoring of itdLayoutParams. 2015-04-01 17:27:59 +02:00
Andreas Schildbach
773ea00d74 EFA: More descriptive exception when location to append to URL doesn't contain anything useful to append. 2015-04-01 17:27:59 +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
7937ca5fa1 EFA: Use itdMeansOfTransport.type rather than itdPartialRoute.type for deciding if a leg is individual or public. 2015-03-02 11:26:59 +01:00
Andreas Schildbach
c1cd747986 EFA: Don't URL-encode pure numbers. 2015-03-02 11:22:52 +01:00
Andreas Schildbach
2038a740e2 Include network with Line. 2015-03-02 11:22:52 +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
Andreas Schildbach
695fc56d8e Liverpool. 2015-02-17 17:52:28 +01:00
Andreas Schildbach
5b3ceed733 Apply @Nullable annotation to NetworkProvider methods and DTOs. 2015-02-17 17:52:28 +01:00
Andreas Schildbach
883015177e Migrate from using char as a product type to Product enum. Line labels are really just the label and can be null. 2015-02-10 13:56:21 +01:00
Andreas Schildbach
3ade966329 EFA: Fix parsing of <itdTrain />. 2015-02-10 13:43:42 +01:00
Andreas Schildbach
4a8a17f1fe Lines. 2015-02-10 13:34:55 +01:00
Andreas Schildbach
84dbc788ab Clear warnings about unused variables and methods. 2015-02-06 11:07:41 +01:00
Andreas Schildbach
0210b4b219 EFA: Fix coordinates in <itdCoordinateBaseElemList> parsed too big by factor 1E6. 2015-02-05 23:44:44 +01:00
Andreas Schildbach
bb5314f7ec EFA: Fix parsing of unset planned/predicted times in mobile trips query. 2015-02-05 23:44:34 +01:00
Andreas Schildbach
fd3a932957 EFA: Fix parsing of empty <nu> in mobile trips query. 2015-02-05 23:44:34 +01:00
Andreas Schildbach
4c8f48931c Clear 'potential null pointer access' warnings. 2015-02-05 16:28:59 +01:00
Andreas Schildbach
0a571554c5 Change NetworkProvider.queryTrips() signature to accept a Set of products rather than a Collection. 2015-02-02 10:49:32 +01:00
Andreas Schildbach
8df79805d0 Rename .queryNearbyStations() to .queryNearbyLocations() and make it find POIs too. 2015-02-02 10:41:12 +01:00
Andreas Schildbach
25c2eb6176 Refactor XmlPullParser.getAttributeValue() to use XmlPullUtil.attr() variants. 2015-02-01 23:02:09 +01:00
Andreas Schildbach
806100c868 Guava: Use Charsets constants. 2015-01-29 00:33:39 +01:00
Andreas Schildbach
589cf69063 Fix rounding errors when parsing coordinates. Add location constructors that take a Point rather than lat and lon. 2015-01-28 23:52:50 +01:00
Andreas Schildbach
3c5dc7c328 Introduce AbstractNetworkProvider.parsePosition() for custom parsable positions. 2015-01-27 14:44:54 +01:00
Andreas Schildbach
e386dac23e EFA: Fix network attribute parsing in <itdServingLine>. 2015-01-27 14:42:21 +01:00
Andreas Schildbach
0b42b39fd7 EFA: Check for empty document. 2015-01-27 14:37:47 +01:00
Andreas Schildbach
70c1037bc4 EFA: Set language in all requests. 2015-01-27 14:35:18 +01:00
Andreas Schildbach
864783fed0 EFA: Fix exception when JSON stopfinder doesn't find anything. 2015-01-27 14:32:52 +01:00
Andreas Schildbach
5fc143196e EFA: <paramList> in <infoLink> is now optional. 2015-01-27 14:31:01 +01:00
Andreas Schildbach
bb03f45f53 EFA: Fix parsing of itdOdv and handling of location IDs. 2015-01-27 14:21:36 +01:00
Andreas Schildbach
a5f59319aa Lines. 2015-01-25 10:21:15 +01:00
Andreas Schildbach
d69506b7c1 Configure session cookies for scraping. 2015-01-09 18:42:32 +01:00
Andreas Schildbach
55a30f56de Clean up scrape methods. 2015-01-09 18:42:17 +01:00
Andreas Schildbach
06a0d12b0f Update year of copyright. 2015-01-01 01:52:27 +01:00
Andreas Schildbach
11f12a0386 Lines. 2014-11-24 10:57:07 +01:00