Mario de Frutos
876bae6b56
Going red with bad request parameters
2018-01-31 12:11:25 +01:00
Antonio
e0b1632fa8
Fixed tests
2018-01-30 09:13:43 +01:00
Antonio
51bf6c2a43
Fixed valid Mapbox types
2018-01-29 18:39:11 +01:00
Antonio
1a2785dff4
Version bumped
2018-01-18 15:21:06 +01:00
Antonio
d442fab9da
Fixed encoding problem with Mapbox geocoding
2018-01-18 11:55:25 +01:00
Antonio
6c53846e33
Fixed country code problem. Added test
2018-01-16 16:36:24 +01:00
Mario de Frutos
5781f78c7f
Revert "Removed suspect import"
...
This reverts commit 9c1ec1ddde
.
2018-01-16 11:04:29 +01:00
Antonio
9c1ec1ddde
Removed suspect import
2018-01-16 10:02:41 +01:00
Antonio
6339623ad9
Added ServiceManager for Mapbox services
2018-01-12 12:24:17 +01:00
Antonio
7dc87ad38e
Rotating API keys for Mapbox
2018-01-11 10:18:01 +01:00
Antonio Carlón
b10f48166d
Merge branch 'development' into Clients_for_Mapbox_services
2018-01-10 12:50:20 +01:00
Mario de Frutos
6047300259
Move the new params parameter to the end to avoid breaking backward compatibility
2018-01-10 12:41:08 +01:00
Antonio
c0cc5fe6a7
Logging GetMeta and GetData parameters
2018-01-10 12:31:49 +01:00
Antonio
d3e01b4d53
Reverted default providers to mapzen to allow dark deployment
2018-01-09 17:15:03 +01:00
Antonio
dd6ad0119c
Added CR suggestions
2018-01-09 16:21:55 +01:00
Antonio
e7c0628751
Solving errors and refactor
2018-01-04 15:00:52 +01:00
Antonio
51d97228dc
Added CR suggestions
2018-01-04 12:30:58 +01:00
Antonio
801c5a3cee
Solved data conversion issues
2018-01-03 14:14:25 +01:00
Antonio
941af522ae
Bumped Python library version
2018-01-03 09:47:55 +01:00
Antonio
bb86f080fc
Added limits/quotas and tests for Mapbox services
2018-01-02 16:21:57 +01:00
Antonio
c46174210d
Added cdb_dataservices_server functions
2017-12-29 14:07:51 +01:00
Antonio
af07def7fc
Added parameters for PLPython functions
2017-12-28 11:36:02 +01:00
Antonio
bc9dbdbb72
Removed routing client from isolines
2017-12-27 16:31:29 +01:00
Antonio
dabd596271
Added QPS decorator
2017-12-27 14:55:50 +01:00
Antonio
8c0af7d51d
Pure Python implementation of clients for Mapbox services
2017-12-27 13:43:14 +01:00
Juan Ignacio Sánchez Lara
da8e5f6e36
Extract parsing and return fix
2017-11-14 13:15:11 +01:00
Juan Ignacio Sánchez Lara
f540a3d6b3
Bump version
2017-11-13 19:09:52 +01:00
Juan Ignacio Sánchez Lara
e26bf2a803
Proper parsing of client and channel parameters
2017-11-13 19:09:17 +01:00
Juan Ignacio Sánchez Lara
43dd9f6ada
Better regexp and wrong input handling
2017-11-08 17:33:00 +01:00
Juan Ignacio Sánchez Lara
2cf4072b21
Support for multiple parameters at client (such as channel)
2017-11-08 11:07:35 +01:00
Rafa de la Torre
1936374124
Version 0.15.5 of the python library
2017-10-06 16:03:03 +02:00
Rafa de la Torre
3ed41b065a
Marginally improve tests for #382
2017-10-06 15:27:51 +02:00
Rafa de la Torre
6c3260b6ee
Move credentials tests to GoogleMapsClientFactoryTestCase
2017-10-06 15:23:44 +02:00
Rafa de la Torre
5005572f89
Add tests for GoogleMapsClientFactory
2017-10-06 15:18:51 +02:00
Rafa de la Torre
27fde5a910
Use "{id}:{secret}" as caching key
2017-10-06 15:12:05 +02:00
Rafa de la Torre
b8e1120169
Revert "Use a different client_id for the test"
...
This reverts commit 854fbb803c
.
2017-10-06 15:03:08 +02:00
Rafa de la Torre
8e33cf9723
Fix google services key validity check #382
2017-10-06 14:40:53 +02:00
Rafa de la Torre
7b988e3f78
Add tests for #382
...
The examples are not arbitrary: base64 by default ignores characters
that are not in its alphabet. When decoding, the dashes and underscores
are not b64-valid and therefore ignored, resulting in a sequence with
the wrong padding.
2017-10-06 14:37:26 +02:00
Rafa de la Torre
f79ac9297d
Add again the check for valid credentials
...
As our check is more strict that the one provided in googlemaps library.
2017-10-06 13:44:08 +02:00
Rafa de la Torre
854fbb803c
Use a different client_id for the test
2017-10-06 13:41:50 +02:00
Rafa de la Torre
d029ad7041
GoogleMapsClientFactory to persist clients #401
...
Add a GoogleMapsClientFactory and remove the check for valid key,
which is no longer needed, as it is done in the google library.
2017-10-06 12:05:34 +02:00
Rafa de la Torre
445d4cf97d
Upgrade googlemaps python library to v2.5.1
...
This closes #383
2017-10-04 16:22:33 +02:00
Rafa de la Torre
f0a3249b4e
Keep metrics keys consistent
...
See cartodb repo and our internal documentation:
https://github.com/CartoDB/cartodb/search?utf8=%E2%9C%93&q=failed_responses&type=
2017-09-07 11:24:38 +02:00
Mario de Frutos
475df918c7
Fix invalid geometries due to generalize option
...
They add a note saying that use their simplification option could
lead to a self-intersection (which is the problem we have) and it's
creating invalid geometries
See it here https://mapzen.com/documentation/mobility/isochrone/api-reference/#other-request-parameters
2017-08-30 17:35:08 +02:00
Mario de Frutos
c13dba71a4
Deactivated DO credits usage for users that have quota
...
See https://github.com/CartoDB/bigmetadata/issues/215
2017-08-24 14:35:20 +02:00
Daniel García Aubert
13a876b854
Fix typo while logging caught error in geocoder
2017-07-21 14:43:41 +02:00
Daniel García Aubert
1503b5bb2b
Release artifacts:
...
- Server extension version 0.25.0
- Client extension version 0.18.0
- Python library version 0.15.2
2017-07-13 15:34:44 +02:00
Rafa de la Torre
49a53e4cd7
Fix non-zero-padded days in tests
...
See https://github.com/CartoDB/dataservices-api/issues/204 and related
tickets.
2017-07-07 15:14:27 +02:00
Mario de Frutos
61efb66aba
Add an extra check for google credentials
...
If the user has a wrong base64 padded secret key the googlemaps
python library is returning "TypeError: Incorrect padding" which
is very hard to understand. So now we check if the secret key is
a valid base64 string
2017-05-26 11:51:32 +02:00
Rafael Porres Molina
37eeab5b9e
past participle of set is set
2017-05-24 15:41:12 +02:00