Commit Graph

170 Commits

Author SHA1 Message Date
Sandro Santilli
574ce7997d Do not hard-code session search_path at start of extension 2014-05-06 10:54:37 +02:00
Sandro Santilli
9b6f9e21f2 Stick with user tables being in public
... but workaround extension code replacing "public." with "cartodb."
2014-05-06 10:53:19 +02:00
Sandro Santilli
b8adcae6c3 We're not dependent on CartoDB rails/ruby anymore 2014-05-06 10:36:07 +02:00
Sandro Santilli
6119006287 Travis: install postgresql server
NOTE: it cannot work until "schema_triggers" can be installed, we
      might need to use a fork...
2014-05-06 10:28:06 +02:00
Sandro Santilli
00dc8dcd51 Temptative travis script 2014-05-06 10:21:27 +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
82c8259de6 Update LICENSE, set copyright ownership to Vizzuality 2014-05-06 07:33:01 +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
7a5ce833a4 Fix expected result 2014-05-05 12:43:37 +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
2672fc8842 Do not fire trigger on drop table performed by superuser 2014-04-30 11:48:00 +02:00
Sandro Santilli
be25906953 Move toward cartodb extension 2013-12-02 16:29:02 +01:00
Sandro Santilli
a87f358253 Add drop table handler, manage CDB_TableMetadata entries on create/drop 2013-10-22 18:16:57 +02:00
Sandro Santilli
963bbb3e13 Add reference about CartoDB dependency 2013-10-22 17:13:20 +02:00
Sandro Santilli
cbda4518f7 Add hook and test for add column, add wiki reference in README 2013-10-22 17:11:02 +02:00
Sandro Santilli
938669387c Initial experiments with schema_triggers 2013-10-22 16:19:58 +02:00
strk
72be7e0882 Initial commit 2013-10-22 07:15:48 -07:00