Juan Ignacio Sánchez Lara
28af048c92
Methods doc
2015-08-14 14:00:26 +02:00
Juan Ignacio Sánchez Lara
1279742e50
CDB_Group_CreateGroup should not return role, since it's an internal implementation detail
2015-08-14 14:00:26 +02:00
Juan Ignacio Sánchez Lara
b633466724
Non-public API method naming
2015-08-14 14:00:26 +02:00
Juan Ignacio Sánchez Lara
e04f0caa6c
Permission granting
2015-08-14 14:00:25 +02:00
Juan Ignacio Sánchez Lara
5afdd77dcf
Rename group
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
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
javi
df36e83cb5
revoke permissions to list private tables to public user
2015-07-27 10:31:55 +02: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
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
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
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
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
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
Andy Eschbacher
5941b473ca
removed notice
2015-06-23 18:39:15 -04:00
Andy Eschbacher
cda6953ea6
initial commit
2015-06-23 16:27:27 -04:00
Andy Eschbacher
1d223b77cc
changed subfunction name, replaced function with case statement
2015-06-10 10:50:01 -04:00
Andy Eschbacher
6ab1b1d3d0
removed unneeded variables
2015-06-08 18:36:07 -04:00
Andy Eschbacher
c7f4209270
added alias and line
2015-06-08 15:11:58 -04:00
Andy Eschbacher
8e2d86414f
updating function
2015-06-08 15:02:39 -04:00
Andy Eschbacher
424564e324
initial commit
2015-06-08 13:37:27 -04:00
Paul Ramsey
54973142f6
Handle "unsupported argument" case for CDB_UserTables
...
in support of #64
2015-06-01 10:37:46 -07:00
Paul Ramsey
ba521461fe
Replace CDB_UserTables with new version
...
fix for #64
2015-06-01 09:47:02 -07:00
Andy Eschbacher
16d0dc739a
added tests improved func
2015-05-14 15:32:58 -04:00
Andy Eschbacher
dcd35fc3d7
Merge branch 'master' into equalint
2015-05-07 17:07:34 -04:00
Andy Eschbacher
2ad3ff547d
initial
2015-05-07 15:49:35 -04:00
Andy Eschbacher
1552c03dd4
removed group by; made binning more reliable
2015-04-27 17:59:40 -04:00
sariogonfer
cbd3c447b6
Update CDB_QuantileBins.sql
2015-04-14 20:45:37 +02:00
Rafa de la Torre
1c9e5f241f
Fix upgrade of CDB_StringToDate function #73
2015-03-03 16:09:57 +00:00
Rafa de la Torre
61804187c8
Fix conversion of strings to datetimes #73
2015-03-03 09:49:33 +00:00
Kartones
0a3d08edc3
#revert-size_calc
2015-02-27 10:53:14 +01:00
Raul Ochoa
ebcca141bd
Adds CDB_ZoomFromScale function. Closes #62
2015-02-19 14:20:35 +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
Kartones
6c7706672f
#69 now using pg_relation_size
2015-02-17 15:40:26 +01:00
javi
519ea075d6
fixed reg exp
2015-02-13 17:32:14 +01:00
javi
0223d00a54
fixed security problem
2015-02-12 10:57:12 +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
Rafa de la Torre
693b147ef1
Fix corner case (no tables) in CDB_UserDataSize #65
2015-01-29 15:46:08 +00:00
Rafa de la Torre
a4e42571cd
Add a comment to CDB_UserDataSize (from PR) #65
2015-01-28 17:10:04 +00:00
Rafa de la Torre
bf622ae5a6
Optimize CDB_UserDataSize (on behalf of @javisantana) #65
2015-01-28 16:54:50 +00:00
Kartones
dbb6f42b99
#1368 fixed escapings
2014-12-05 17:30:47 +01:00
Kartones
cd9e44b266
#1138 Fixed DDL triggers to properly use new cartodbfy signature, fixed cartodbfy to properly send params to check raster table
2014-11-19 10:00:04 +01:00
Kartones
fd9d79372f
#1138 Found issue with DDL triggers
2014-11-18 19:00:33 +01:00
Kartones
61b47617b8
#1138 fixes for specs
2014-11-18 17:35:11 +01:00
Kartones
3b5c1f65cb
#1138 Quota changes, raster import cartodbfication and quota spec
2014-11-18 15:24:54 +01:00