Commit Graph

87 Commits

Author SHA1 Message Date
Sandro Santilli
9afc59da5e Set release date for 0.2.1 2014-06-11 19:28:24 +02:00
Sandro Santilli
9dbe854df7 Do not force re-cartodbfication on CREATE FROM unpackaged 2014-06-11 10:24:53 +02:00
Sandro Santilli
5a8b9021c8 Prepare for 0.3.0 2014-06-09 13:04:42 +02:00
Sandro Santilli
befa7a10c8 Set version to 0.2.0 2014-06-09 12:51:31 +02:00
Sandro Santilli
85afef40d8 Make git dependency support use as a submodule 2014-06-06 16:15:02 +02:00
Sandro Santilli
1692e792a7 Make .git/index a dependency of cartodb_version.sql
Ensures proper rebuild of version function on git pull/commit
2014-06-06 13:36:21 +02:00
Sandro Santilli
01ae7b8c10 Drop role management
Roles are not created anymore, previously private functions for table
information extraction (CDB_UserTables, CDB_TableIndexes, CDB_ColumnNames,
CDB_ColumnType) will now be callable by anyone while only returning
information about tables over which the calling user has SELECT privilege.

Closes #36
2014-06-06 11:02:51 +02:00
Sandro Santilli
ca07c81f13 Make sed usage more compatible
... and a bit less safe

Might close #35
2014-06-04 15:11:30 +02:00
Sandro Santilli
9322cecb3d Make sed command a variable 2014-06-04 12:58:19 +02:00
Sandro Santilli
a92d7d7d37 Add cdb_extension_reload() utility function 2014-06-04 10:31:03 +02:00
Sandro Santilli
9230ffa925 Include revision info in cdb_version() output
Closes #34

NOTE: it will only work if "make" is run from within a git clone
2014-06-03 13:20:49 +02:00
Sandro Santilli
d1990f1765 Provide upgrade paths
Mainly from 0.1.0 and 0.1.1
Includes 0.2.0dev to next and back
2014-05-28 09:48:32 +02:00
Sandro Santilli
85cc74b4f4 Do not install cartodb_version.sql in system dirs 2014-05-27 15:51:45 +02:00
Sandro Santilli
09cf368d62 Move DDL triggers and extension postamble under scripts-available
Target 0.2.0
2014-05-23 17:40:14 +02:00
Sandro Santilli
213cf0aee2 Set version to 0.1.0 again 2014-05-23 17:09:36 +02:00
Sandro Santilli
b2b93a362f Encode dependency of cartodb_version.sql on Makefile 2014-05-23 16:58:26 +02:00
Sandro Santilli
50c5cd676c Encode dependency of cartodb.control on Makefile 2014-05-23 16:43:01 +02:00
Sandro Santilli
e9c6728e8e Back to 0.1.0dev version (aborted final) 2014-05-23 16:10:03 +02:00
Sandro Santilli
fe008b952d Set version to 0.1.0 2014-05-23 15:33:11 +02:00
Sandro Santilli
75a40c9b63 Tag CDB_TableMetadata as a configuration table
Closes #21
2014-05-22 12:32:52 +02:00
Sandro Santilli
eecab6e24c Remove CDB_SearchPath.sql from the set of scripts loaded directly
It still gets loaded as part of extension creation
2014-05-19 13:26:01 +02:00
Sandro Santilli
ca4ce102bb Refuse to create new extension if legacy code is present on database
Closes #20
2014-05-14 12:39:53 +02:00
Sandro Santilli
02575155ce Complain if script is sourced in psql, rather than via CREATE EXTENSION 2014-05-14 11:30:41 +02:00
Sandro Santilli
e6b02de9aa Disable roles creation in extension-less installs 2014-05-12 11:44:44 +02:00
Sandro Santilli
4c93f75523 Fix clean rule not to drop CDB_version() method 2014-05-08 17:21:41 +02:00
Sandro Santilli
b723954b74 Create required test output dir
See http://travis-ci.org/CartoDB/cartodb-postgresql/builds/24691945
2014-05-08 10:31:23 +02:00
Sandro Santilli
5d3c63b964 Add cdb_version() function 2014-05-08 10:07:47 +02:00
Sandro Santilli
b8e15dba83 Generate cartodb.control with Makefile-driver version
Set version to 0.1dev
2014-05-08 09:58:58 +02:00
Sandro Santilli
b3bade740d Generate script to create migrate from unpackaged
Usage: CREATE EXTENSION cartodb FROM unpackaged;
2014-05-07 18:06:20 +02:00
Sandro Santilli
574ce7997d Do not hard-code session search_path at start of extension 2014-05-06 10:54:37 +02:00
Sandro Santilli
15740f2ef6 Enable running all tests via "installcheck"
NOTE: also makes CDB_TableMetadata triggers still functional
      when user quota and varnish invalidation functions are missing
      from the database (currently installed by cartodb ruby)
2014-05-06 10:18:38 +02:00
Sandro Santilli
0960276046 Import cartodb/lib/sql/test, add search_path tweaker 2014-05-05 18:48:48 +02:00
Sandro Santilli
5e28417b3d Add "cdb_org_admin" and "cdb_org_user" roles as part of extension 2014-05-05 18:04:14 +02:00
Sandro Santilli
2f1fdf5a15 Copy cartodb lib/sql scripts from CDB_CartodbfyTable branch 2014-05-05 17:13:06 +02:00
Sandro Santilli
1a7fd8fd67 Fix automated test 2014-05-05 12:20:38 +02:00
Sandro Santilli
8cd7e31450 Include some of the cartodb scripts in the extension
NOTE: this is unfinished as cartodb scripts are only referenced and not
      really included
2014-04-30 19:03:14 +02:00
Sandro Santilli
be25906953 Move toward cartodb extension 2013-12-02 16:29:02 +01:00