Commit Graph

  • efd757ffa3 Check against correct server version Rafa de la Torre 2019-11-08 18:18:28 +01:00
  • 40a2ba9569 Stub function to add server_version to diagnostics Rafa de la Torre 2019-11-08 18:09:22 +01:00
  • 35b2b7e589 Check the server is of type PG and return jsonb Rafa de la Torre 2019-11-08 17:14:43 +01:00
  • 4100b66f3b Scaffolding for diagnostic function(s) Rafa de la Torre 2019-11-08 15:25:57 +01:00
  • b1830e49af Increase version number to 0.32.0 0.32.0 Esther Lozano 2019-11-08 13:09:45 +01:00
  • 70f1e00980 Merge pull request #379 from CartoDB/fix-oauth-reassign-functions Esther Lozano 2019-11-08 12:38:43 +01:00
  • 8a4a59b340 Document default privileges on functions Esther Lozano 2019-11-07 15:03:46 +01:00
  • f06b899605 Add drop permission test for functions Esther Lozano 2019-11-07 11:14:26 +01:00
  • 09076924c0 Functions are selectable by all roles but not dropable Esther Lozano 2019-11-06 21:12:44 +01:00
  • d5b3953568 Regress: Remove output that depends on PROJ release Raul Marin 2019-11-06 18:34:15 +01:00
  • c64c61781e Make tests path insensitive Raul Marin 2019-11-06 18:26:58 +01:00
  • 82d8f7e1aa Deprecate FDW user setup ;__( Raul Marin 2019-11-06 18:26:37 +01:00
  • e63f5040d9 Use privileged action on functions for tests Esther Lozano 2019-11-06 17:51:00 +01:00
  • 3cde55ed3a Enforce output order in CDB_Federated_Server_List_Remote_Columns Raul Marin 2019-11-06 17:32:48 +01:00
  • a91f14371a Use always the modern notation for named parameters Raul Marin 2019-11-06 17:25:10 +01:00
  • 899a12fc53 FederatedServer: Use NAME for internal types Raul Marin 2019-11-06 17:12:40 +01:00
  • 01258530ff Federated Server: Unify remote table listing Raul Marin 2019-11-06 17:04:11 +01:00
  • 90b58fcdec Federated Server: Test with incorrect password Raul Marin 2019-11-06 10:20:53 +01:00
  • 29e2ee670f Accept PG9.5 and PG10 permission error messages Raul Marin 2019-11-05 18:29:08 +01:00
  • e98b18fd25 Add test around grant permissions and accessing registered tables Raul Marin 2019-11-05 18:07:11 +01:00
  • e6f07d4f96 Rework API to grant and revoke permissions Raul Marin 2019-11-05 17:18:49 +01:00
  • c9b01592e7 CDB_Federated_Table_Register: Handle conflict nicely Raul Marin 2019-11-05 16:53:25 +01:00
  • e2beefdb53 Test around NULLs and invalids arguments Raul Marin 2019-11-05 16:32:07 +01:00
  • 73ee4107d4 CDB_FederatedServerTables: Improve tests readability Raul Marin 2019-11-05 14:48:52 +01:00
  • aa481f4219 Permission tests and fixes for CDB_FederatedServerListRemote Raul Marin 2019-11-05 14:35:52 +01:00
  • bac7d79ab3 CDB_FederatedServer: Improve tests readability Raul Marin 2019-11-05 13:22:45 +01:00
  • 98b2b02199 Improve tests readability and test deleting a server from granted access Raul Marin 2019-11-05 11:19:50 +01:00
  • 10ed64789d Add functions to grant and revoke permissions over federated servers Raul Marin 2019-11-04 19:23:36 +01:00
  • 0f66c54ce5 Comment cleanup Raul Marin 2019-11-04 16:53:48 +01:00
  • 03bc3436cd Add more tests for [un-]registering servers Raul Marin 2019-11-04 16:29:18 +01:00
  • 57f420ab4c CDB_FederatedServerListRemote: Add rainy tests Raul Marin 2019-11-04 15:32:34 +01:00
  • c740cfa499 CDB_Federated_Server_List_Remote_Columns: Return also type name Raul Marin 2019-11-04 15:18:46 +01:00
  • eea0198864 Add CDB_Federated_Server_List_Remote_Columns Raul Marin 2019-10-31 15:29:37 +01:00
  • f75756138a CDB_FederatedServerTables: Avoid decimal mismatch Raul Marin 2019-10-30 15:04:01 +01:00
  • 28376ffecb CDB_Federated_Table_Register works to refresh a table Raul Marin 2019-10-30 13:53:56 +01:00
  • f20a007160 CDB_FederatedServerTables: Some comments Raul Marin 2019-10-30 13:27:44 +01:00
  • cf6b00dfd8 CDB_FederatedServerListRemote: Improve comments Raul Marin 2019-10-30 13:20:41 +01:00
  • cc5fb37abb CDB_FederatedServer: Improve comments Raul Marin 2019-10-30 13:16:31 +01:00
  • b839235801 Add CDB_Federated_Server_List_Registered_Tables Raul Marin 2019-10-30 12:19:30 +01:00
  • d5f84784f0 Add CDB_Federated_Table_Unregister Raul Marin 2019-10-30 11:55:02 +01:00
  • 7bb0b93f8b Test renaming Raul Marin 2019-10-30 11:47:45 +01:00
  • a26b96347a Initial implementation of CDB_Federated_Table_Register Raul Marin 2019-10-30 11:40:35 +01:00
  • 77868a541d Fix symlinks :D Raul Marin 2019-10-29 18:55:18 +01:00
  • b76b754811 CDB_FederatedServerTables skeleton Raul Marin 2019-10-29 18:53:05 +01:00
  • 664468b1e5 Rename CDB_FederatedServerListRemote files Raul Marin 2019-10-29 18:50:57 +01:00
  • d85faa8f85 Now trully fix installcheck target Raul Marin 2019-10-29 18:39:23 +01:00
  • f7ab3d28a8 __CDB_FS_List_Foreign_Schemas_PG: Handle order and ignore pg_% schemas automatically Raul Marin 2019-10-29 18:35:02 +01:00
  • 144c4e722b Add federated server list remotes Raul Marin 2019-10-29 18:26:36 +01:00
  • e22aaee5f5 Test re-registration of a server with different options Raul Marin 2019-10-29 16:47:35 +01:00
  • da9ff0c750 Reimplement CDB_Federated_Server_Register_PG and CDB_Federated_Server_Unregister Raul Marin 2019-10-29 16:19:46 +01:00
  • e6cb03300b Add auxiliar functions to handle internal naming Raul Marin 2019-10-29 15:38:58 +01:00
  • bc7031d872 Move existence check to __CDB_FS_Generate_Object_Name Raul Marin 2019-10-29 13:19:11 +01:00
  • 427ad94235 Fix installcheck target Raul Marin 2019-10-29 12:34:29 +01:00
  • 1375894e99 CDB_Federated_Server_Unregister: Better error handling Raul Marin 2019-10-29 12:24:54 +01:00
  • f285c806fc Remove error context Raul Marin 2019-10-29 11:57:24 +01:00
  • acf1f2dbd4 WIP: Add CDB_Federated_Server_Unregister Raul Marin 2019-10-28 18:34:46 +01:00
  • eb02ca4d86 Regress: Allow variables in the tests Raul Marin 2019-10-28 17:09:51 +01:00
  • b475eb4356 Federated Server List Raul Marin 2019-10-28 14:08:07 +01:00
  • 510a9d12e4 Merge pull request #380 from Algunenano/regress_target Raúl Marín 2019-10-28 17:08:52 +01:00
  • 77213f0588 Update NEWS Raul Marin 2019-10-28 16:18:37 +01:00
  • 8ff0ad74af Add regress target Raul Marin 2019-10-28 15:12:04 +01:00
  • a25efc3fc5 Unpackaged: Make it work Raul Marin 2019-10-28 14:08:35 +01:00
  • 87dec4dbe4 Update README Raul Marin 2019-10-28 14:08:23 +01:00
  • f2e8d029eb check error message Gonzalo Riestra 2019-10-25 12:39:30 +02:00
  • 036127af9c add schema to function calls Gonzalo Riestra 2019-10-25 12:26:21 +02:00
  • 2ce4d8ee14 fix grant query Gonzalo Riestra 2019-10-25 12:02:08 +02:00
  • a8966270bd add test expect Gonzalo Riestra 2019-10-25 11:50:03 +02:00
  • 11b30c8f59 fix oauth reassign ownership for functions Gonzalo Riestra 2019-10-25 11:34:59 +02:00
  • 415220777e Merge pull request #378 from Algunenano/pg12 Raúl Marín 2019-10-24 17:39:07 +02:00
  • 1dcc23db15 CDB_UserTablesTest: Make tests work even if the user doesn't have cartodb in the searchpath Raul Marin 2019-10-24 13:45:36 +02:00
  • 164fba197f test_foreign_tables: Better debugging and query the default database when needed Raul Marin 2019-10-24 12:13:51 +02:00
  • 7f9a748119 Make CDB_OAuth independent of the PG version Raul Marin 2019-10-24 11:33:07 +02:00
  • 409b067721 Quota: Remove kb error from regress tests Raul Marin 2019-10-24 11:15:15 +02:00
  • 21c319eb9a Add postgis 3 build Raul Marin 2019-10-23 17:18:50 +02:00
  • dac1f5bffc Update NEWS Raul Marin 2019-10-23 17:15:50 +02:00
  • 9469871029 Remove unneeded change Raul Marin 2019-10-23 17:06:47 +02:00
  • 021c7318a3 Adapt QuotaTest to avoid randoms Raul Marin 2019-10-23 16:49:57 +02:00
  • 29397ff929 Make it work without postgis_raster Raul Marin 2019-10-23 14:21:45 +02:00
  • 34684507cb Cast sql_identifier to text Raul Marin 2019-10-23 13:41:38 +02:00
  • a4bcf4c78f Update error messages Raul Marin 2019-10-22 20:13:38 +02:00
  • e787b1d097 Missing qualification Raul Marin 2019-10-22 20:09:15 +02:00
  • 8245156038 Use distribution package for python redis Raul Marin 2019-10-22 20:06:20 +02:00
  • 9248ce76bd Update pip3 Raul Marin 2019-10-22 19:48:00 +02:00
  • d1eb740a00 Missing qualifications Raul Marin 2019-10-22 19:45:42 +02:00
  • cb019ff194 Install python3 for PG12 run Raul Marin 2019-10-22 18:35:51 +02:00
  • 1a99151d0e Install pip and pip3 Raul Marin 2019-10-22 18:23:27 +02:00
  • 8fac0c89eb python3: Try to adapt pathname2url Raul Marin 2019-10-22 17:48:46 +02:00
  • 9686ad5cfe Try to work with both python2 and python3 Raul Marin 2019-10-22 16:49:08 +02:00
  • 0cecfdb112 log level Raul Marin 2019-10-22 16:16:16 +02:00
  • ccbaf785cf Updates Raul Marin 2019-10-22 15:49:31 +02:00
  • aed88fd958 Force all PG12 to use plpython3u Raul Marin 2019-10-22 15:29:45 +02:00
  • 3b4669df11 Try hacking plpythonu -> plpython3u Raul Marin 2019-10-22 14:24:20 +02:00
  • 9f904b5926 plpython2 is dead, long live plpython Raul Marin 2019-10-22 12:12:45 +02:00
  • 4802501387 Travis: Test against PG12 Raul Marin 2019-10-22 11:59:42 +02:00
  • b68ce72889 Release 0.31.0 0.31.0 Raul Marin 2019-10-08 12:47:32 +02:00
  • 7a23ea815c Merge pull request #371 from Algunenano/sec_definer Raúl Marín 2019-10-08 12:32:26 +02:00
  • 2533d0996c Add NEWs Raul Marin 2019-10-03 18:59:01 +02:00
  • 048234cd80 CDB_Groups_API: Secure search_path Raul Marin 2019-10-03 18:51:28 +02:00
  • 5a12033609 Adapt tests to changes Raul Marin 2019-10-03 17:57:09 +02:00
  • a580bedefc Set safe schema on some functions Raul Marin 2019-10-03 17:37:11 +02:00