Commit Graph
62 Commits
Author SHA1 Message Date
Raul Ochoa e959bba335 Validates it's enought to grant publicuser to user.
Reference to PR where it will be actually fixed for now.
2015-08-13 18:53:41 +02:00
Raul Ochoa 714ba9d0dc Keep all test running :D 2015-08-13 13:27:27 +02:00
Raul Ochoa 4e31d3a37e Fixes CDB_UserDataSize failing due ERROR: relation "*" does not exist.
Adds new _CDB_total_relation_size function that handles nonexistent
tables and does fallback to size=0.

That function could be used to cache total relation size or query another
table view with a cached total relation size.

Fixes #108
2015-08-13 13:23:35 +02:00
Raul Ochoa 14213c5d6a Test scenario to show how public tables can be accessed by other roles
This will require changes in cartodb/cartodb rails app because user/role
creation happens over there. So it's not possible to fix all the problems
within the extension right now.
2015-08-12 10:10:21 +02:00
Raul Ochoa fc95566ddd Remove test for unexistent table as there was already one 2015-03-31 16:01:49 +02:00
Raul Ochoa 7f58e1f690 Adds tests for cdb_tablemetadatatouch
- fixes tableoid by using the proper table oid
 - tests quoted and unqouted call with OID
 - tests non existent table to fail
2015-03-31 14:48:45 +02:00
Raul Ochoa 38d32371c8 Adds test to validate CDB_TableMetadataTouch usage with OID 2015-03-03 12:09:25 +01:00
Raul Ochoa b913defebb Stubs next version 2015-02-19 14:34:32 +01:00
Raul Ochoa 978742f868 Release 0.7.0 2015-02-19 14:33:21 +01:00
Raul Ochoa cb61fd8747 Enable DB_ZoomFromScale 2015-02-19 14:24:10 +01:00
Raul Ochoa ebcca141bd Adds CDB_ZoomFromScale function. Closes #62 2015-02-19 14:20:35 +01:00
Raul Ochoa 9d679614c8 Stubs next version 2015-02-19 14:11:54 +01:00
Raul Ochoa bebebc255a Release 0.6.0 2015-02-19 14:10:15 +01:00
Raul Ochoa 11bf7f6fdf Fix release notes for 0.5.3 2015-02-19 14:09:49 +01:00
Raul Ochoa f16f53ceab Adds test for non-authorized writes to cdb_tablemetadata through CDB_TableMetadataTouch 2015-02-19 14:02:27 +01:00
Raul Ochoa 27aec0d4b4 Adds tests for qualified table names 2015-02-18 18:01:29 +01:00
Raul Ochoa f18232037d Release notes and version bump 2015-02-18 17:31:04 +01:00
Raul Ochoa da7b3b7080 Adds CDB_TableMetadataTouch function to be able to upsert updated_at
value in cdb_tablemetadata
2015-02-18 17:08:46 +01:00
Raul Ochoa 38fe98d983 Merge branch 'master' into remove-grant-select-from-cdb_tablemetadata-to-public 2015-02-18 15:43:16 +01:00
Raul Ochoa 3cf62ecd2e Do not grant select permission to public user
- Fake the behaviour in tests by switching between users
2015-02-10 15:27:42 +01:00
Raul Ochoa 5a3b93fd6b Release 0.4.0 2014-08-27 14:34:37 +02:00
Raul Ochoa eaee6d3d70 Merge pull request #53 from CartoDB/CDB-3504
New versioning mechanism
2014-08-25 17:12:57 +02:00
Raul Ochoa 7840e7c50b Prepares version 0.4.0 with new versioning mechanism 2014-08-25 12:00:45 +02:00
Raul Ochoa 5b0a7bf9ad Adds highlighting 2014-08-21 19:05:15 +02:00
Raul Ochoa 2ef6d5901e Fixes typos 2014-08-21 19:05:04 +02:00
Raul Ochoa 3d37b3646e Renames files to take advantage of markdown 2014-08-21 19:01:19 +02:00
Raul Ochoa 51d48c7629 CDB-3656 Removes revision from the extension version 2014-08-21 18:52:21 +02:00
Raul Ochoa 25a0e5ec68 Stubs next version 2014-08-21 18:41:09 +02:00
Raul Ochoa daa61a6aa8 Merge pull request #52 from CartoDB/CDB-3483
Adds CDB_Math_Model
2014-08-21 17:48:36 +02:00
Raul Ochoa 41a2c7363e Merge tag '0.3.6' into cdb
Release 0.3.6
2014-08-11 16:39:20 +02:00
Raul Ochoa 45d07bc5a8 Release 0.3.6 2014-08-11 16:38:41 +02:00
Raul Ochoa 55615e1a32 Stubs next version 2014-08-11 16:18:02 +02:00
Raul Ochoa 4b397d6bc0 Merge tag '0.3.5'
Release 0.3.5
2014-08-11 16:16:50 +02:00
Raul Ochoa 8349e3c94c Merge tag '0.3.5' into cdb
Release 0.3.5 fixed
2014-08-11 16:14:00 +02:00
Raul Ochoa a747f16ecc Fixes release dates 2014-08-11 16:13:04 +02:00
Raul Ochoa 93de996acc Fixes 0.3.5 version:
- Version in Makefile
- Upgrade path from 0.3.4
2014-08-11 15:41:53 +02:00
Raul Ochoa a98b100182 Ignore idea ide based settings 2014-08-11 15:41:33 +02:00
Raul Ochoa a67f324001 Release 0.3.4 version 2014-08-01 18:21:48 +02:00
Raul Ochoa 5bb638b995 Merge pull request #45 from CartoDB/CDB-3743
CDB_QueryTables returns only results for schemas associated to Relation-Names
2014-08-01 18:14:53 +02:00
Raul Ochoa 2637742c2e CDB-3743 Makes CDB_QueryTables to return only results for schemas associated to Relation-Names 2014-08-01 18:06:06 +02:00
Raul Ochoa a9005dc93c Updates apt-get so it can pick up latest postgres packages 2014-07-28 15:49:43 +02:00
Raul Ochoa e81a75b716 Make 0.3.0dev version upgradeable 2014-07-28 15:39:19 +02:00
Raul Ochoa f1504fb0b1 Make dev flavour upgradeable to current version 2014-07-17 15:43:19 +02:00
Raul Ochoa 13140dbc63 Version 0.3.0 2014-07-16 12:30:19 +02:00
Raul Ochoa 2bd0b223a6 CDB_SetUserQuotaInBytes returning set value instead of previous value. 2014-07-07 10:36:51 +02:00
Raul Ochoa 5806ac8f8d Force schema so it can calculate the size of the database with the proper schema 2014-07-04 18:50:46 +02:00
Raul Ochoa 1573a199c8 Merge remote-tracking branch 'origin/delete_permission' into CDB-3094 2014-06-27 01:37:53 +01:00
Raul Ochoa 558be8b693 CDB-3094 DELETE permission for read-write rule 2014-06-27 00:01:25 +01:00
Raul Ochoa b98419aeb8 Merge remote-tracking branch 'rambo/cdb_querytables_support_schemas' into CDB-3094 2014-06-26 08:12:41 +02:00
Raul Ochoa 84174c4f71 CDB-3094 no hardcoded coloring output by creating a new log_warning function 2014-06-25 12:43:46 +02:00
Raul Ochoa 55efde5039 CDB-3094 Makes organization member group role name unique to database by using the database name md5 hash 2014-06-25 12:38:14 +02:00
Raul Ochoa 8624dd1a00 CDB-3094 Improves bash test runner by displaying failing tests after execution 2014-06-25 12:37:09 +02:00
Raul Ochoa 12e90ef6a4 CDB-3094 Adds cdb_org_member role group and functions to handle access to tables through it 2014-06-24 19:56:17 +02:00
Raul Ochoa 625b01ed56 CDB-3094 Removes for now the role groups management as it is not clear if we need them 2014-06-19 20:16:10 +02:00
Raul Ochoa 5e5471c474 CDB-3094 changes signature to allow specifying the schema because it does not have to be the role name.
- fixes tests to match new signature.
- does not revoke access to the schema when revoking access to a table. TODO
2014-06-19 20:16:10 +02:00
Raul Ochoa 2743b1767b Merge branch 'master' of https://github.com/CartoDB/cartodb-postgresql into CDB-3094 2014-06-17 11:44:34 +02:00
Raul Ochoa b69b2fbdcf CDB-3094 enables organizations functions 2014-06-17 11:43:38 +02:00
Raul Ochoa 8dec91de87 Merge branch 'master' of https://github.com/CartoDB/cartodb-postgresql into CDB-3094 2014-06-16 18:56:34 +02:00
Raul Ochoa fb68f225d5 CDB-3094 no hardcoded database. it also creates the database between tests and the cartodb schema to install the functions 2014-06-16 17:13:13 +02:00
Raul Ochoa 9d7de169fb CDB-3094 use bash command instead of sh 2014-06-16 16:28:28 +02:00
Raul Ochoa 9a55b03d6f CDB-3094 initial function to share tables/schemas between users within the same database 2014-06-16 16:10:53 +02:00
Raul Ochoa 3fb1f69eb1 CDB-3086 adds troubleshooting section to readme with information about mac os x sed 2014-06-04 12:52:51 +02:00