Javier Goizueta
227c05bf70
Merge branch 'development' into mapzen_services_use_quotas
...
Bring in client 0.14.1 release
2016-12-30 08:29:54 +01:00
Rafa de la Torre
a800706249
Merge remote-tracking branch 'origin/master' into development
2016-12-29 17:27:56 +01:00
Rafa de la Torre
439f604a04
Merge pull request #334 from CartoDB/fix-cannot-find-geometry
...
Add cartodb to the search path
2016-12-29 12:43:34 +01:00
Rafa de la Torre
9791a5bada
Add cartodb to the search path
...
See
https://github.com/CartoDB/dataservices-api/issues/324#issuecomment-269614566
2016-12-29 12:11:00 +01:00
Rafa de la Torre
9700ae966c
Remove uneeded math for simplicity's sake
2016-12-28 14:44:48 +01:00
Javier Goizueta
bdf9627586
Fix typo
...
I needed to fix this; I felt some kitten was being killed somewhere
because of this. And it made baby Jesus cry.
2016-12-27 17:11:39 +01:00
Mario de Frutos
80b23c62c3
QPS timeout was badly calculated
...
timedelta microseconds is just the microseconds part of the timedelta
object not the elapsed time in microseconds.
I've change to use the total_seconds method to get all the elapsed time
in seconds and transform to miliseconds.
2016-12-23 11:40:30 +01:00
Mario de Frutos
23a2de0321
Add mapzen isolines to the quota checker
2016-12-22 17:38:10 +01:00
Javier Goizueta
629555e193
Generate release 0.14.1
...
This release cantains no actual code changes, only the
use of search_path at the top of the install/migrate scripts
2016-12-21 11:40:55 +01:00
Javier Goizueta
af993fde55
Merge branch 'development'
...
Bring in the setting of the search_path in the client SQL scripts
2016-12-21 11:16:29 +01:00
Javier Goizueta
4be6c9f31d
Merge pull request #330 from CartoDB/324-search-path
...
Set search path before installing/update the extension
2016-12-21 10:47:08 +01:00
Javier Goizueta
9ee1d045c8
Fix tests
2016-12-21 09:54:08 +01:00
Rafa de la Torre
360b5bd57f
Merge remote-tracking branch 'origin/development' into mapzen_services_use_quotas
...
Solve merge conflict in setup.py (version of python lib).
2016-12-20 18:14:01 +01:00
Javier Goizueta
ed1386d571
Merge branch 'development'
2016-12-20 16:43:42 +01:00
Javier Goizueta
32010669e8
New version of the python lib
...
To fix bug with period end date; see #322
2016-12-20 16:39:19 +01:00
Javier Goizueta
b0f10d1680
Merge pull request #329 from CartoDB/322-period_end_date
...
Fix problem with period end dates
2016-12-20 16:33:39 +01:00
Mario de Frutos
38754fec26
Cover refactor mapzen geocoder config with tests
2016-12-20 16:17:42 +01:00
Mario de Frutos
356135672b
Sanitize quota get in the refactor part
2016-12-20 16:17:42 +01:00
Mario de Frutos
4d0abf9026
Bump python library version
2016-12-20 16:17:42 +01:00
Mario de Frutos
0672f2752b
Improve tests and add more unit tests for the quota functionality
2016-12-20 16:17:41 +01:00
Javier Goizueta
18df3368ef
Set search path before installing/update the extension
...
See #324
2016-12-20 12:57:40 +01:00
Javier Goizueta
b5514aea60
Avoid invalid end of period dates
...
Fixes #322
2016-12-20 12:48:36 +01:00
Javier Goizueta
53acd4d30e
Add tests that reveal end-of-period date problem
...
See #322
2016-12-20 12:41:54 +01:00
Mario de Frutos
6c71d73498
Use the current quota for mapzen services
2016-12-20 11:52:06 +01:00
Rafa de la Torre
a00fca6d13
Update README.md
...
Add a bit about versioning stuff
2016-12-16 18:00:22 +01:00
Rafa de la Torre
29caaf9297
Update README.md
...
Remove misleading paragraph about `requirements.txt` and `setup.py` dependencies. Refer to https://packaging.python.org/requirements/ for an authoritative discussion.
2016-12-16 18:00:22 +01:00
Rafa de la Torre
6e134d1ea6
Update exception_safe.md
2016-12-15 19:10:18 +01:00
Rafa de la Torre
59ae4a5492
Merge pull request #325 from CartoDB/exception-safe-doc
...
Add Exception-safe documentaion
2016-12-15 19:06:37 +01:00
Javier Goizueta
b3e67afd92
Add internal documentaion about exception-safe functions
2016-12-15 19:03:12 +01:00
Rafa de la Torre
5b8fd70bdd
Merge remote-tracking branch 'origin/development'
2016-12-14 17:23:09 +01:00
Rafa de la Torre
15438db59b
Client 0.14.0 control and upgrade/downgrade files
2016-12-14 16:52:40 +01:00
Rafa de la Torre
0918f91bfa
Merge pull request #323 from CartoDB/314-exception-safe-public-funcs
...
314 exception safe public funcs
2016-12-14 16:34:09 +01:00
Rafa de la Torre
3c60f3e93b
Minor improvement for test #314
...
Make sure we return an empty record and that the mentioned code is never
reached.
2016-12-14 13:30:30 +01:00
Rafa de la Torre
8692fb12ca
Add test case for multi_field #314
2016-12-14 12:57:51 +01:00
Rafa de la Torre
4523b2e04d
Add test for multi_row case #314
2016-12-14 12:53:51 +01:00
Rafa de la Torre
5c8dbe91eb
Add test for simple interface case #314
2016-12-14 12:39:56 +01:00
Rafa de la Torre
99b76afc33
Some versioning facilities for make release #314
2016-12-14 12:08:26 +01:00
Rafa de la Torre
c97f03b2e3
Add generated file to .gitignore #314
2016-12-14 12:06:51 +01:00
Rafa de la Torre
cd653bc496
Add diagnostics info to rest of cases #314
2016-12-14 10:35:44 +01:00
Rafa de la Torre
610cfaab57
Move exception info vars to the top #314
2016-12-14 10:33:50 +01:00
Rafa de la Torre
58b1713a0d
Make the functions private #314
2016-12-14 10:27:43 +01:00
Rafa de la Torre
842be0ba85
Add diagnostics info to warning #314
2016-12-13 19:19:03 +01:00
Javier Goizueta
55a467f2df
Merge branch 'development'
...
merge python 0.12.3 release
2016-12-13 18:13:14 +01:00
Javier Goizueta
4fc90626ab
New version of the python lib
...
New release to change number of http connection retries to 1
2016-12-13 18:03:37 +01:00
Javier Goizueta
16cce3bddc
Merge pull request #320 from CartoDB/317-revert-retries
...
Revert number of isochrone retries to 3
2016-12-13 18:00:48 +01:00
Rafa de la Torre
dbd5911a2a
Implement the multi_field case #314
2016-12-13 17:00:55 +01:00
Rafa de la Torre
e53a39875e
Implement the multi_row case #314
2016-12-13 16:51:11 +01:00
Rafa de la Torre
4cd72616ca
Fix the no multi_row, no multi_field case #314
...
Fix for the `ERROR: control reached end of function without RETURN` but
now need to implement for the two other cases.
2016-12-13 16:46:58 +01:00
Rafa de la Torre
fae7889fe3
First take at producing exception-safe functions #314
2016-12-13 16:27:38 +01:00
Javier Goizueta
1f53af65b9
Set number of http connection retries to 1
...
Change the maximum number of retries for connection to external services to 1.
2016-12-13 11:32:22 +01:00