Re: [pgadmin-hackers] Numeric control optionally allow null values [pgadmin4]

2016-03-03 Thread Harshal Dhumal
Hi, Please find attached patch for numeric and integer control with optionally null value support. Usage: 1] Integer id: 'fillfactor', label: '{{ _('Fill factor') }}', deps: ['index'], type: 'int', group: '{{ _('Definition') }}', allowNull: true, 2] Numeric id: 'fillfactor', label: '{{

[pgadmin-hackers] Numeric control optionally allow null values [pgadmin4]

2016-03-03 Thread Harshal Dhumal
Hi, Please find attached patch for numeric control with optionally allow null values Null values: undefined/empty string/null By default numeric control value can not be null. Use flag *allowNull: true* to allow null values. Usage: id: 'fillfactor', label: '{{ _('Fill factor') }}', deps:

[pgadmin-hackers] [pgAdmin IV] PATCH: Add support for the notices/messages from the backend server.

2016-03-03 Thread Ashesh Vashi
Hi, This patch implements the supports in the connection driver to fetch the notices/messages returned by the database server. This will be used by tools like debugger, sql-editor, etc. -- Thanks & Regards, Ashesh Vashi EnterpriseDB INDIA: Enterprise PostgreSQL Company

Re: [pgadmin-hackers] PATCH: Preferences/Options dialog

2016-03-03 Thread Ashesh Vashi
On Thu, Mar 3, 2016 at 7:09 PM, Dave Page wrote: > Hi > > On Mon, Feb 29, 2016 at 6:22 PM, Ashesh Vashi < > ashesh.va...@enterprisedb.com> wrote: > >> Hi Dave, >> >> Please find the patch adding support for the preferences/options dialog. >> Initial patch was shared by

Re: [pgadmin-hackers] New macros for sequence node [pgadmin4]

2016-03-03 Thread Dave Page
Thanks - patch applied. On Wed, Feb 10, 2016 at 2:00 PM, Harshal Dhumal < harshal.dhu...@enterprisedb.com> wrote: > + Usage of macros > > > Way to use in template: > > *1] Security labels:* > > SECLABLE.SET(conn, object_type, object_name, provider, security_label, > object.schema) > >

[pgadmin-hackers] pgAdmin 4 commit: Security Label and ACL template macros:

2016-03-03 Thread Dave Page
Security Label and ACL template macros: Way to use in template: 1) Security labels: SECLABLE.SET(conn, object_type, object_name, provider, security_label, object.schema) SECLABLE.UNSET(conn, object_type, object_name, provider, object.schema) 2) Privileges: PRIVILEGE.SET(conn, object_type,

Re: [pgadmin-hackers] [pgAdmin4][Patch]: Macros for the functions module

2016-03-03 Thread Dave Page
Thanks - applied. On Thu, Mar 3, 2016 at 7:31 AM, Khushboo Vashi wrote: > Hi, > > Please find attached patch for the Security Labels, Privileges and Variables > macros for the functions modules. > > > Usage of the macros: > > > Security labels: > >

[pgadmin-hackers] pgAdmin 4 commit: Security Labels, Privileges and Variables macros for

2016-03-03 Thread Dave Page
Security Labels, Privileges and Variables macros for the functions modules. Usage of the macros: Security labels: SECLABLE.SET(conn, 'FUNCTION', func_name, provider, security_label, func_schema, func_args) SECLABLE.UNSET(conn, 'FUNCTION', func_name, provider, func_schema, func_args)

Re: [pgadmin-hackers] [pgAdmin4][Patch]: Backgrid cell editable settings

2016-03-03 Thread Dave Page
Thanks - applied. On Thu, Mar 3, 2016 at 6:44 AM, Khushboo Vashi wrote: > Hi, > > In the current Backgrid implementation, the cell can be made editable > through "editable: true/false" settings. It takes only boolean value. > > So, added support for the function,

[pgadmin-hackers] pgAdmin 4 commit: In the current Backgrid implementation, a cell can be

2016-03-03 Thread Dave Page
In the current Backgrid implementation, a cell can be made editable through "editable: true/false" settings. It takes only a boolean value. Add support for a function that can be set as an editable option value. For Example: editable: function(m) { return false; } Branch -- master

Re: [pgadmin-hackers] PATCH: Preferences/Options dialog

2016-03-03 Thread Dave Page
Hi On Mon, Feb 29, 2016 at 6:22 PM, Ashesh Vashi wrote: > Hi Dave, > > Please find the patch adding support for the preferences/options dialog. > Initial patch was shared by Khushboo with me, but - I made some design > changes. > > With this patch: > * Each

[pgadmin-hackers] [pgAdmin4] [Patch]: Grant Wizard

2016-03-03 Thread Surinder Kumar
Hi, PFA patch for Grant Wizard. Before applying grant wizard patch: 1. Apply patch for "wizard JS file" which Khushboo had shared with Ashesh personally. I am using that patch with few changes in that. Ashesh will review and commit that patch. 2. Apply