Commit graph

57 commits

Author SHA1 Message Date
Andreas Schildbach
8f13a95bb5 Class-level JavaDoc for all HCI-based providers. 2019-01-04 14:01:40 +01:00
Andreas Schildbach
389cd53bbf NVV: Migrate to Hafas client interface. 2018-11-16 20:55:55 +01:00
Andreas Schildbach
8e6ae530f3 INVG, NS, NVV, OEBB, SNCB, VGS: Don't parse HTML any more when querying for nearby stations. 2018-10-27 21:26:56 +02:00
Andreas Schildbach
b2875ddd31 Update links in license to use HTTPS. 2018-07-15 16:47:49 +02:00
Andreas Schildbach
de66342497 NVV: Trust all HTTPS certificates, because the trust anchor is not known on older devices. 2017-09-01 09:46:30 +02:00
Andreas Schildbach
8604db22da NVV: Remove HTTPS security downgrade that was necessary because of a misconfigured server. 2017-08-31 11:36:00 +02:00
Andreas Schildbach
f7010ddb1d NVV: Trust all certificates. The Comodo CA certificate isn't trusted by older devices. 2017-03-30 20:03:53 +02:00
Andreas Schildbach
a0bec90f9a AbstractHafasProvider: Extract AbstractHafasMobileProvider and AbstractHafasLegacyProvider for the two Hafas APIs. 2017-01-26 23:21:53 +01:00
Andreas Schildbach
4f7bd832e6 Use HttpUrl and HttpUrl.Builder where possible. 2017-01-03 10:59:30 +01:00
Andreas Schildbach
c70529e4d9 Lines. 2016-11-27 16:41:12 +01:00
Andreas Schildbach
931dafb628 Switch to modern code format. Organize imports. No functional changes.
Java sources use Eclipse 4.5 'Java Conventions' with indentation changed to 4 spaces only per level.
2016-09-08 18:26:01 +02:00
Andreas Schildbach
fabcbbb3f3 NVV: Accept all hostnames for SSL certificate validation, but still validate the certificate itself. 2016-06-21 14:27:03 +02:00
Andreas Schildbach
4a47cafd00 NVV: Update API base to HTTPS. 2016-06-04 12:53:08 +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
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
62d84eaf33 Lines. 2015-05-21 00:31:21 +02:00
Andreas Schildbach
cf651676d2 Migrate network IDs to constant field. 2015-02-25 09:05:01 +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
8df79805d0 Rename .queryNearbyStations() to .queryNearbyLocations() and make it find POIs too. 2015-02-02 10:41:12 +01:00
Andreas Schildbach
806100c868 Guava: Use Charsets constants. 2015-01-29 00:33:39 +01:00
Andreas Schildbach
891c0b64fd Hafas: Extract methods nearbyStationsByCoordinate() and nearbyStationsById(). 2015-01-28 23:57:51 +01:00
Andreas Schildbach
7ff06cc2d4 Hafas: More improvements to splitting place and name, mostly for POIs. 2015-01-28 23:57:30 +01:00
Andreas Schildbach
a5f59319aa Lines. 2015-01-25 10:21:15 +01:00
Andreas Schildbach
540535b7d5 Hafas: Improve on splitting place and name for lots of networks. 2015-01-11 20:20:37 +01:00
Andreas Schildbach
06a0d12b0f Update year of copyright. 2015-01-01 01:52:27 +01:00
Andreas Schildbach
d241627c0f Work around broken XML for Hesse. 2014-10-19 09:22:02 +02:00
Andreas Schildbach
4d46299fb1 Fix NetworkProvider.hasCapabilities(). 2014-08-29 10:03:20 +02:00
Andreas Schildbach
ae29ae3469 Make it easier to override the various query parameter building methods. 2014-08-15 00:12:57 +02:00
Andreas Schildbach
31b89f7ef8 Use common method for querying for nearby stations (Hafas). 2014-08-06 23:08:12 +02:00
Andreas Schildbach
fc91b8c7cb Use common method for querying departures (Hafas). 2014-08-06 23:08:12 +02:00
Andreas Schildbach
00b0f014ca Rename NetworkProvider.autocompleteStations() to .suggestLocations() and change return type to SuggestLocationsResult. 2014-07-09 16:42:14 +02:00
Andreas Schildbach
9bfa490c8e Remove support for unused MLcReq (Hafas). 2014-07-07 23:08:17 +02:00
Andreas Schildbach
b265dd03cb Make auto-complete via getstops endpoint default (Hafas). 2014-07-07 23:08:00 +02:00
Andreas Schildbach
8bcdc7aa14 Default to binary trips query for Hafas based providers. 2014-06-18 12:44:36 +02:00
Andreas Schildbach
751338cbe1 Normalize station ids when passing them to Hafas or EFA APIs. 2014-06-18 12:36:55 +02:00
Andreas Schildbach
1b987a6b72 Remove Location.toDebugString(), use toString() instead. 2014-05-15 15:25:41 +02:00
Andreas Schildbach
d8f3dcaf6c Migrate location IDs from int to String. 2014-04-23 13:59:52 +02:00
Andreas Schildbach
8f201d4b1f Raise default number of requested trips to 6 2014-01-20 17:28:29 +01:00
Andreas Schildbach
23489327b1 Update year of copyright 2014-01-12 00:44:10 +01:00
Andreas Schildbach
34f44f174b Work around broken XML for Zurich 2013-12-04 23:51:48 +01:00
Andreas Schildbach
cda6cd6a23 Work around broken XML for Hesse 2013-12-04 23:51:48 +01:00
Andreas Schildbach
29dc8482f6 Remove accessId from AbstractHafasProvider constructor 2013-11-19 10:57:53 +01:00
Andreas Schildbach
5c2b555d0d Extract JSON nearby stations parameters to method 2013-10-13 10:53:30 +02:00
Andreas Schildbach
d2cd0b6603 Work around embedding of bold tags in XML for all hafas based providers 2013-08-28 21:42:57 +02:00
Andreas Schildbach
2e9f7d59c7 Fix products in Hesse 2013-08-18 21:52:15 +02:00
Andreas Schildbach
0b17a9eb47 Consolidate Frankfurt into Hesse 2013-08-18 20:39:37 +02:00
Andreas Schildbach
4a7743d094 Hafas endpoints 2013-08-18 20:22:01 +02:00
Andreas Schildbach
6f2b4515d9 Extract XML query departures parameters to method 2013-08-18 20:22:01 +02:00
Andreas Schildbach
2852aedbd5 rename Connection to Trip 2013-06-20 12:29:25 +02:00