Re: [pgAdmin4][Patch]: File Manager & Backform FileControl

From: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
To: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: File Manager & Backform FileControl
Date: 2016-05-03 07:15:10
Message-ID: 6FFA90A3-7B09-4DDD-BF99-DB35BD424983@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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(dot)kumar(at)enterprisedb(dot)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.
> FileControl: This 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', control: Backform.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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Khushboo Vashi 2016-05-03 10:16:44 [pgAdmin4][Patch]: SQL Tab Validation
Previous Message Akshay Joshi 2016-05-03 06:41:01 Re: [pgAdmin4] [Patch] Implementation of the Data Grid and Query Tool