Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axUYI-0006EL-Sr for pgadmin-hackers@arkaria.postgresql.org; Tue, 03 May 2016 07:15:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1axUYH-00047U-Cv for pgadmin-hackers@arkaria.postgresql.org; Tue, 03 May 2016 07:15:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1axUYF-00047L-SY for pgadmin-hackers@postgresql.org; Tue, 03 May 2016 07:15:24 +0000 Received: from mail-pf0-x231.google.com ([2607:f8b0:400e:c00::231]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1axUY7-00033k-Ln for pgadmin-hackers@postgresql.org; Tue, 03 May 2016 07:15:22 +0000 Received: by mail-pf0-x231.google.com with SMTP id 206so6345873pfu.0 for ; Tue, 03 May 2016 00:15:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=uNwXaV9plzc6VcBrVZHUHjE/iES18nLIjb6zSs98jnc=; b=ojPwbC2Jm+MBhpYcBFmw7WP/T4YeF1SZcjqfia4GSafHeDR2LU2XNBBe0rRq8iQkeK DSbQy+vGEm92oLOEGGyhgbJ1lPJ+qQDh3BqCjqKr0Vha0l3JkkFIBlY/WnPPcIES1rqr pGd3KfknKlACd7/xD7r83e1zfrWpU7nGK6jcKWlurZrcCngLkKdxp0JT2DYK6FVFatj/ I8U55L6rbMIjS+tU3ezPm2Ms9BMmNwZ839vdLWvKr+jWdav7XxARuAqDXGlW6tV5qzMI WE6eyVgEmnLY9auo1FD0hKfvaSF73cykV9CusKlCgBxMJqSHxPOCnJgNyYQ6+/C+LH6s xkow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=uNwXaV9plzc6VcBrVZHUHjE/iES18nLIjb6zSs98jnc=; b=PAilmpIwRhTKDn9/h0WzxCts1SvKc9m8WyNL7Oik73fQUNlmdGErDAQkOxsnAbf7Bs /Po0cOlM7wQGf4VeYdT+ZCjeuf5F24Dcg58ZVMvZPH25ORDd+LuQ9mJ4tRKFNuUgsh7L VqLiYrylQ076rcclMj/sxpPecos+XY2MW7CQ12YT/OH8xq9F++I3KWAUf/TmjFCdt0qI OTQdz8XlnNqZaTRx5Q0LVwysYdh0C6oxYlDtEYQeGnb7Zl9qI4dyvktcNNwQVHMUyiSh 8VwLzbyU3N2/UlwrN6V7a9xIL3v1z5lUgPlCsHJBA7fp/peOsJiSh97ueEUn4s5DB9vp ZonQ== X-Gm-Message-State: AOPr4FWThqq6EuzJeiYIKLzOj799CYnWcRr14hRj52KUM2EzbSkf2lJrbMLg+MfoQH0oGmKr X-Received: by 10.98.17.153 with SMTP id 25mr1213779pfr.105.1462259714216; Tue, 03 May 2016 00:15:14 -0700 (PDT) Received: from [172.24.35.232] ([59.162.78.200]) by smtp.gmail.com with ESMTPSA id 17sm3011994pfp.96.2016.05.03.00.15.12 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 03 May 2016 00:15:13 -0700 (PDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_1862EE0A-860A-40D7-A554-590EB8B78092" Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: [pgAdmin4][Patch]: File Manager & Backform FileControl From: Murtuza Zabuawala In-Reply-To: Date: Tue, 3 May 2016 12:45:10 +0530 Cc: pgadmin-hackers Message-Id: <6FFA90A3-7B09-4DDD-BF99-DB35BD424983@enterprisedb.com> References: To: Surinder Kumar X-Mailer: Apple Mail (2.2104) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --Apple-Mail=_1862EE0A-860A-40D7-A554-590EB8B78092 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, Adding one more issue: When we apply disabled attribute on control, only text input gets = disable, we are still able to open file manager by clicking on ellipsis = button which should also be disabled. Regards, Murtuza > On 27-Apr-2016, at 6:18 pm, Surinder Kumar = wrote: >=20 > Hi, >=20 > The patch is for File Manager and Backform FileControl. >=20 > File Manager: It allows user to store their files at one place. The = user can set path to this directory in preferences which file manger = will use. >=20 > It will be used by various modules of pgAdmin4 such as > import data from file, query tool, backup & recovery tool so on.. It = allows user to perform various operations such as:=20 > File deletion > File upload > Create new directory > File rename > File download and=20 > List files & folders in list and grid view. > FileControl: This control is used with File Manager. It can be used = for: > File Selection =20 > Folder Selection =20 > File Creation =20 > Storage Manager Dialog.( it supports all operations listed above). >=20 > Usage: >=20 > schema:[{ > id: 'select_file', label: '{{ _('Select File')}}',=20 > type: 'text', control: Backform.FileControl, > dialog_type: 'select_file', supp_types: ['*', 'pdf', 'text', = 'patch', 'py'] > } >=20 > Where: > control - It should be Backform.FileControl > dialog_type - the type of dialog to use. > options can be: select_file, select_folder, create_file & = storage_dialog. > supp_types(not mandatory) - the types of files allowed to show and = upload. > Please review the patch and let me know for the review comments. >=20 >=20 > Thanks > Surinder Kumar > > --=20 > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgadmin-hackers --Apple-Mail=_1862EE0A-860A-40D7-A554-590EB8B78092 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Hi,

Adding one more issue:

When we apply disabled = attribute on control, only text input gets disable, we are still able to = open file manager by clicking on ellipsis button which should also be = disabled.

Regards,
Murtuza


On 27-Apr-2016, at 6:18 pm, Surinder Kumar = <surinder.kumar@enterprisedb.com> wrote:

Hi,

The = patch is for File Manager and = Backform FileControl.

File = Manager: It allows user to store their files at one place. = The user can set path to this directory in preferences which file manger = will use.

It = will be used by various modules of pgAdmin4 such as
import data from file, query tool, backup & = recovery tool so on.. It allows user to perform various = operations such as: 
  • File deletion
  • File = upload
  • Create new directory
  • File = rename
  • File download and 
  • List files & folders in list and grid view.
FileControlThis control is used with File Manager. It can be used for:
  • File Selection     =        
  • Folder Selection      
  • File Creation         =     
  • Storage Manager = Dialog.( it supports all operations listed above).

Usage:

schema:[{
  id: = 'select_file', label: '{{ _('Select File')}}', 
  type: = 'text', controlBackform.FileControl,
  dialog_type: 'select_file'supp_types: = ['*', 'pdf', 'text', 'patch', 'py']
}

Where:
  • control - = It should be Backform.FileControl
  • dialog_type - the type of dialog to use.
  • options can be:  select_file, select_folder, create_file & = storage_dialog.
  • supp_types(not mandatory) - the = types of files allowed to show and = upload.
Please review the = patch and let me know for the review comments.


Thanks
Surinder Kumar
<= ;FileManager_and_Backform_FileControl.patch>
-- =
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make = changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

= --Apple-Mail=_1862EE0A-860A-40D7-A554-590EB8B78092--