Luis Bosque
348b8871f3
Update NEWS
10 years ago
Raul Ochoa
2bd0b223a6
CDB_SetUserQuotaInBytes returning set value instead of previous value.
10 years ago
Raul Ochoa
5806ac8f8d
Force schema so it can calculate the size of the database with the proper schema
10 years ago
Kartones
1c86599f9d
CDB-3094 Discovered that EXECUTE FORMAT seems to quote schema names when it needs to
10 years ago
Kartones
3c5251e6c6
CDB-3303 Cartodbfication also supporting optional schemas
10 years ago
Kartones
3d595976f6
CDB-3302 CDB_CheckQuota now also accepts a schema name. Added a convenience method to check if a schema is valid or not
10 years ago
Kartones
021d922d84
CDB-3304 Method cdb_userdatasize now has schema_name param, and added backwards-compatible version without it
10 years ago
Luis Bosque
82f2e7336b
Quoted schema references in organization sql
10 years ago
Raul Ochoa
1573a199c8
Merge remote-tracking branch 'origin/delete_permission' into CDB-3094
10 years ago
Raul Ochoa
558be8b693
CDB-3094 DELETE permission for read-write rule
10 years ago
javi
77182321ff
added delete permission with write permission for organization
10 years ago
Raul Ochoa
b98419aeb8
Merge remote-tracking branch 'rambo/cdb_querytables_support_schemas' into CDB-3094
10 years ago
javi
da9b9a640f
CDB_QueryTables return tables with schema
10 years ago
Raul Ochoa
84174c4f71
CDB-3094 no hardcoded coloring output by creating a new log_warning function
10 years ago
Raul Ochoa
55efde5039
CDB-3094 Makes organization member group role name unique to database by using the database name md5 hash
10 years ago
Raul Ochoa
8624dd1a00
CDB-3094 Improves bash test runner by displaying failing tests after execution
10 years ago
Raul Ochoa
12e90ef6a4
CDB-3094 Adds cdb_org_member role group and functions to handle access to tables through it
10 years ago
Raul Ochoa
625b01ed56
CDB-3094 Removes for now the role groups management as it is not clear if we need them
10 years ago
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
10 years ago
Sandro Santilli
d61de906d5
Use "cdb_test" prefix for test member names
...
User names are global to a cluster, better try to reduce likelyhood
of clashes
10 years ago
Sandro Santilli
91bec69a68
Have travis specify "postgres" as the testsuite running user
10 years ago
Sandro Santilli
50060a2529
Add note about the need to be postgresql superuser when running tests
10 years ago
Sandro Santilli
36dca36927
Do not assume "postgres" user exists
10 years ago
Raul Ochoa
2743b1767b
Merge branch 'master' of https://github.com/CartoDB/cartodb-postgresql into CDB-3094
10 years ago
Raul Ochoa
b69b2fbdcf
CDB-3094 enables organizations functions
10 years ago
Sandro Santilli
1815096a37
Move in-place upgrade of functions from README to CONTRIBUTING
10 years ago
Sandro Santilli
44d32e4db5
Add CONTRIBUTING file
10 years ago
Raul Ochoa
8dec91de87
Merge branch 'master' of https://github.com/CartoDB/cartodb-postgresql into CDB-3094
10 years ago
Raul Ochoa
fb68f225d5
CDB-3094 no hardcoded database. it also creates the database between tests and the cartodb schema to install the functions
10 years ago
Raul Ochoa
9d7de169fb
CDB-3094 use bash command instead of sh
10 years ago
Raul Ochoa
9a55b03d6f
CDB-3094 initial function to share tables/schemas between users within the same database
10 years ago
Sandro Santilli
1bb8b85503
Merge branch 'b0.2'
...
Conflicts:
Makefile
NEWS
10 years ago
Sandro Santilli
9afc59da5e
Set release date for 0.2.1
10 years ago
Sandro Santilli
bc0966c46e
Do not add unique index on cartodb_id if already a primary key
...
Closes #38
10 years ago
Sandro Santilli
afcc2498c8
List plpythonu requirement first, so get pg_catalog scanned before public
...
Since "plpythonu" is installed in "pg_catalog" schema, requiring it
from cartodb.control adds the "pg_catalog" to the search_path.
Schemas are added to search_path in order of appearence in the "requires"
directive of the cartodb.contorl, right after the name of schema
written in the "schema" directive.
So this commit changes the resulting search_path from:
cartodb,schema_triggers,public,pg_catalog
To:
cartodb,pg_catalog,schema_triggers,public
Preventing presence of objects in the "public" schema from changing
interpretation of function signatures and body from this extension.
Spotted in the real world in presence of a "date" table changing
intepretation of CDB_StringToDate function.
10 years ago
Sandro Santilli
81bbfcbda8
Drop useless DEFAULT specification in plpgsql variable declarations
10 years ago
Sandro Santilli
9dbe854df7
Do not force re-cartodbfication on CREATE FROM unpackaged
10 years ago
Sandro Santilli
5a8b9021c8
Prepare for 0.3.0
10 years ago
Sandro Santilli
befa7a10c8
Set version to 0.2.0
10 years ago
Sandro Santilli
f75c256b6e
Another full qualification of CDB_TransformToWebmercator in CDB_CartodbfyTable
10 years ago
Sandro Santilli
d52556c20e
Fully qualify call to CDB_TransformToWebmercator from CDB_CartodbfyTable
10 years ago
Sandro Santilli
85afef40d8
Make git dependency support use as a submodule
10 years ago
Sandro Santilli
1692e792a7
Make .git/index a dependency of cartodb_version.sql
...
Ensures proper rebuild of version function on git pull/commit
10 years ago
Sandro Santilli
f8180123eb
Grant permission to run table-info functions to public
...
This is needed as a way to migrate from versions < 0.2.0
See #36
10 years ago
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
10 years ago
Sandro Santilli
edc56e60ee
Further increase in test tolerance
10 years ago
Sandro Santilli
f6e0456265
Increase tolerance in floating number based tests (extent)
10 years ago
Sandro Santilli
1f7b8db532
[Travis] install postgresql-plpython-9.3 package, now needed
10 years ago
Sandro Santilli
f9f73d2d62
Fix potential infinite loop in CDB_QueryStatements
...
This fix was already present at one point in cartodb/lib/sql
(where the code was copied from) but in a different branch than
the one the code was initially copied from.
The fix depends on plpython language which becomes a new dependency.
10 years ago
Sandro Santilli
fba8d3ab84
Do not assume cartodb functions install in "public" schema during testing
10 years ago