Juan Ignacio Sánchez Lara
eafb0f4557
Groups API extension version
2015-08-14 14:00:25 +02:00
Juan Ignacio Sánchez Lara
42e72ac9d5
cartodb.CDB_Group_CreateGroup cartodb.CDB_Group_DropGroup
2015-08-14 13:58:10 +02:00
Juan Ignacio Sánchez Lara
2824a9c457
Ignore vim temporal files
2015-08-14 13:58:10 +02:00
Raul Ochoa
219d876973
Merge pull request #110 from CartoDB/issue-108
...
Fixes CDB_UserDataSize failing due `ERROR: relation "*" does not exist.`
2015-08-13 19:01:05 +02:00
Raul Ochoa
60cc218664
Merge pull request #112 from CartoDB/issue-98
...
Review test to validate permissions in public tables
2015-08-13 19:00:09 +02:00
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
javi santana
cb57af9074
added requirements for test
2015-08-10 11:01:28 +02:00
javi
513488da0e
change random value for quota test again
2015-07-28 09:05:03 +02:00
javi
7921cad4f5
readded removed tests by error
2015-07-27 16:49:59 +02:00
javi santana
10ba742324
Merge pull request #100 from CartoDB/release_0.8.2
...
Release 0.8.2
2015-07-27 16:19:16 +02:00
javi
788d2a7f10
ready for 0.8.2
2015-07-27 16:12:42 +02:00
javi
189a73ce4d
fixed tests
2015-07-27 16:12:15 +02:00
javi santana
d52e05c474
Merge pull request #99 from CartoDB/usertables_fix
...
added tests for usertables to check private tables are not returned
2015-07-27 16:04:45 +02:00
javi
400248cd5d
remove connection permissions to public user
2015-07-27 11:20:55 +02:00
javi
92b5d1f8f4
creating in setup
2015-07-27 11:15:14 +02:00
javi
68fdd9ce33
just add login permissions to public user
2015-07-27 11:07:46 +02:00
javi
53e6b38c32
enabling user again (no sense)
2015-07-27 11:03:21 +02:00
javi
c71faf21e2
do not create publicuser since a previous tests is doing it
2015-07-27 10:57:38 +02:00
javi
12260b9fc3
test cleanup
2015-07-27 10:54:43 +02:00
javi
1b3db28a74
added tests for organization
2015-07-27 10:51:20 +02:00
javi
5d6c2111bf
updates tests
2015-07-27 10:37:07 +02:00
javi
df36e83cb5
revoke permissions to list private tables to public user
2015-07-27 10:31:55 +02:00
javi
e05613d5c4
added tests for usertables to check private tables are not returned
2015-07-27 10:25:44 +02:00
Paul Ramsey
565046c3d4
Merge pull request #97 from CartoDB/b0.8
...
PR for 0.8.1 release
2015-07-08 12:55:02 -07:00
Paul Ramsey
011a007f04
Return test results in deterministic order ( closes #96 )
2015-07-07 06:13:02 -07:00
Paul Ramsey
08cdb38730
Prepare for 0.8.1 release
2015-07-07 06:07:41 -07:00
Paul Ramsey
734561de4c
Use 'publicuser' as public role, not 'public', closes #95 .
...
This is consistent with cartodb behaviour, but not exactly
the same as the contract that the 'public' role guarantees
access to public resources. Possibly a better fix would be
to audit (ug) everything and make sure that it's really
using the public role to mean public, rather than the
'publicuser' connection role. That CDB creates.
2015-07-07 05:49:28 -07:00
Paul Ramsey
8516cbd4c3
Splling fix
2015-07-01 07:03:13 -07:00
Paul Ramsey
509944ea6d
Move doc from wiki to repo, closes #85
2015-07-01 07:01:50 -07:00
Rafa de la Torre
ac8203eec4
Merge pull request #93 from CartoDB/fix-upgrade-issue
...
Fix for upgrade issue from 0.7.4 to 0.8.0
2015-06-30 12:58:23 +02:00
Rafa de la Torre
a6fd829669
Fix for upgrade issue from 0.7.4 to 0.8.0
...
This fixes the following problem found during testing:
```
ALTER EXTENSION cartodb UPDATE TO '0.8.0';
ERROR: cannot change return type of existing function
HINT: Use DROP FUNCTION cdb_usertables(text) first.
```
2015-06-30 12:20:29 +02:00
Rafa de la Torre
0045fb20e8
Update NEWS.md
2015-06-30 11:34:59 +02:00
Raul Ochoa
8190edb461
Merge pull request #83 from CartoDB/64-usertables
...
Replace CDB_UserTables with something that can handle multi-user accounts
2015-06-30 11:33:32 +02:00
Rafa de la Torre
373e9f5db8
Merge pull request #92 from CartoDB/fix-versioning
...
Fix versioning by creating a 0.8.0
2015-06-30 11:25:32 +02:00
Rafa de la Torre
6b29c9e67d
Fix versioning by creating a 0.8.0
...
Fix versioning by creating a new major version since it contains new
features. Keep version 0.7.4 that should've never existed and provide an
upgrade path for the new version.
2015-06-30 11:11:24 +02:00
Rafa de la Torre
2b46a2d56f
Merge pull request #91 from CartoDB/upgrade-version-0-7-4
...
Update Makefile and NEWS.md for new version
2015-06-29 12:37:30 +02:00
Rafa de la Torre
371d84ea0c
Update Makefile and NEWS.md for new version
2015-06-29 12:09:35 +02:00
Andy Eschbacher
e5897f3dad
Merge pull request #87 from CartoDB/categ-distrib
...
Function deciding criteria for using a category column in a map
2015-06-25 11:50:56 -04:00
Andy Eschbacher
b9fe204007
Merge pull request #81 from CartoDB/equalint
...
adding equal interval function for consistency
2015-06-25 11:08:24 -04:00
Rafa de la Torre
9b2cff15c5
Merge pull request #88 from CartoDB/86-CDB_QueryTables-fix-long-names
...
Add a new function CDB_QueryTablesText #86
2015-06-25 16:20:08 +02:00
Andy Eschbacher
13946b4d47
update test output
2015-06-25 08:17:41 -04:00
Andy Eschbacher
97140b17c9
added more flexible output values
2015-06-24 11:03:16 -04:00
Rafa de la Torre
c3eea08f66
Remove ECHO from expectation #86
...
Remove the `\set ECHO none` from expectation that is automatically
removed by the test harness but still appears in the output when a test
fails.
2015-06-24 16:29:40 +02:00
Rafa de la Torre
22fc962d09
Change expectation #86
...
Just add CONTEXT lines since they are now added in case of
WARNING/ERROR as a result of having CDB_QueryTables calling
CDB_QueryTablesText.
2015-06-24 16:01:45 +02:00
Rafa de la Torre
ddb6b2c5b5
Return text instead of regclass #86
...
This way the schema is always returned and backwards compatibility is
kept, should it be needed.
2015-06-24 14:14:00 +02:00
Rafa de la Torre
9a94b3879a
Add a new function CDB_QueryTablesRegclass #86
...
The return values of it can be safely used when len(schema.table_name)
exceeds the 63 char limit of the postgres type `name`.
2015-06-24 11:53:09 +02:00
Andy Eschbacher
d124776c4e
simplified assignment
2015-06-23 18:49:59 -04:00