Commit Graph

231 Commits

Author SHA1 Message Date
Rafa de la Torre
a7748f71c3 Add code to setup permissions properly
Based on roles and by default closing everything. No need to tweak
things outside of the extension.
2015-11-11 19:23:01 +00:00
Rafa de la Torre
4e7525cc88 Merge pull request #21 from CartoDB/implement_server_functions
Implement server functions
2015-11-11 19:35:22 +01:00
Guido Fioravantti
c116541b10 Adds cdb_geocoder_server.geocode_postalcode_point and tests 2015-11-11 19:25:48 +01:00
Rafa de la Torre
211896a5ed Merge pull request #20 from CartoDB/fix-client-extension-test
Fix client extension test
2015-11-11 19:00:32 +01:00
Rafa de la Torre
b154dadc84 Add a test that makes a bit of sense 2015-11-11 18:52:48 +01:00
Rafa de la Torre
3ea449f645 Remove TODO that no longer applies 2015-11-11 18:51:20 +01:00
Mario de Frutos
6b9a8537c6 Added new requeriments 2015-11-11 18:46:46 +01:00
Carla Iriberri
2b2d0bbc33 Adding more tests 2015-11-11 18:24:02 +01:00
Carla Iriberri
3c56d0db81 Merge branch 'implement_server_functions' of https://github.com/CartoDB/geocoder-api into implement_server_functions 2015-11-11 18:14:34 +01:00
Carla Iriberri
4aa757ac88 Adds namedplace function with 3 params #6 2015-11-11 18:14:22 +01:00
Mario de Frutos
86555eec15 Merge pull request #18 from CartoDB/add_schema_client_and_server
Add schema client and server
2015-11-11 18:13:10 +01:00
Mario de Frutos
22239d2da6 Added connection function to get the connection string to the server database 2015-11-11 17:50:22 +01:00
Guido Fioravantti
50abb76b6b Fixes cdb_geocoder_server.geocode_ip_point 2015-11-11 17:48:11 +01:00
Mario de Frutos
55337efc3a Added schema to server functions and fixed some errors 2015-11-11 17:38:14 +01:00
Mario de Frutos
65ffb5d645 Added schema to client functions and fixed some errors 2015-11-11 17:38:06 +01:00
Carla Iriberri
b54c417754 Adding country, city function for namedplaces 2015-11-11 17:17:18 +01:00
Carla Iriberri
f2bcd1b103 Killing trailspaces 2015-11-11 16:30:34 +01:00
Carla Iriberri
6e301b0f9e Adds first function for namedplaces #6 2015-11-11 16:29:17 +01:00
Guido Fioravantti
24c0e01b06 Adds limit 1 to _geocode_ip_point 2015-11-11 16:07:55 +01:00
Guido Fioravantti
66fd33da37 Fixes param type for geocode_ip 2015-11-11 15:43:11 +01:00
Guido Fioravantti
1c44fbbf56 Adds 90_geocode_ip and tests 2015-11-11 15:38:18 +01:00
Mario de Frutos
c973cdb0b1 Merge pull request #17 from CartoDB/geocoder_check_quota
Geocoder check quota
2015-11-11 14:49:10 +01:00
Carla
4592dc8644 Delete 40_admin1_test.out 2015-11-11 14:06:53 +01:00
Carla Iriberri
93513d6954 Adding a new function 2015-11-11 14:05:17 +01:00
Carla Iriberri
8d450a7870 Adds first admin1 function #6 2015-11-11 13:33:14 +01:00
Mario de Frutos
6a75eae03c Added soft/hard geocoder limit 2015-11-11 13:17:15 +01:00
Carla
f95f5d950e Create 30_admin1.sql 2015-11-11 12:46:07 +01:00
Mario de Frutos
a18bfa9554 Added quota service tests 2015-11-11 12:31:00 +01:00
Mario de Frutos
fbd48135b2 Added tests for user service 2015-11-11 12:31:00 +01:00
Mario de Frutos
f22807553f Removed logger 2015-11-11 12:30:59 +01:00
Mario de Frutos
29ec5da86d Added properties instead of getters 2015-11-11 12:30:59 +01:00
Mario de Frutos
7eab3e1f90 Refactor, extracted user_service 2015-11-11 12:30:59 +01:00
Mario de Frutos
bb3b2cc2da Change to use the installed package 2015-11-11 12:30:59 +01:00
Mario de Frutos
ab19c1b8ed Added setup.py for the package 2015-11-11 12:30:59 +01:00
Mario de Frutos
8ed26d4dd0 Client example using the cdb_conf table 2015-11-11 12:30:59 +01:00
Mario de Frutos
76c3b18dd6 Client function example 2015-11-11 12:30:59 +01:00
Mario de Frutos
a375e9dcfb Cached redis connections 2015-11-11 12:30:59 +01:00
Mario de Frutos
904336a298 Added plpythonu function example 2015-11-11 12:30:59 +01:00
Mario de Frutos
48052f8a70 Increment every time a row is georeferenced successfully 2015-11-11 12:30:59 +01:00
Mario de Frutos
1b347b7ad0 Checking from redis at localhost 2015-11-11 12:30:58 +01:00
Rafa de la Torre
4cf8fbe5be Merge pull request #16 from CartoDB/6-internal-geocoder-functions
Move admin0 server functions around
2015-11-11 12:04:51 +01:00
Rafa de la Torre
738138b205 Move admin0 server functions around
- move files to its right place
- add some boilerplate for test setup
- add tests
2015-11-10 19:27:07 +01:00
Rafa de la Torre
7dfd08c947 Fix typo 2015-11-10 17:17:14 +01:00
Guido Fioravantti
88a7e479c9 Merge pull request #10 from CartoDB/adds-conf-table
Connects with conf table, implements helper and adds tests
2015-11-10 15:56:13 +01:00
Rafa de la Torre
2977a64ef4 Merge pull request #11 from CartoDB/internal-geocoder-server-functions
Internal geocoder server functions
2015-11-10 15:52:04 +01:00
Rafa de la Torre
a707f0d294 Merge pull request #9 from CartoDB/geocoder-api-client-extension
Geocoder api client extension
2015-11-10 15:51:38 +01:00
Guido Fioravantti
389b0a2b31 Changes conf table config 2015-11-10 15:36:57 +01:00
Rafa de la Torre
08aac5a362 Add tx_id (transaction id) param 2015-11-10 15:33:06 +01:00
Guido Fioravantti
aabc873eac Connects with conf table, implements helper and adds tests 2015-11-10 15:31:53 +01:00
Rafa de la Torre
7f26134632 My try at creating the client extension (to be tested) 2015-11-10 15:28:12 +01:00