pgAdmin 4 commit: Fixed an issue where pgadmin detects the wrong browse

2020-05-29 Thread Akshay Joshi
Fixed an issue where pgadmin detects the wrong browser version of the Microsoft 
Edge. Fixes #5465

Branch
--
master

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=4632a7faba44f28d0598a88da34563ab691fbf9d
Author: Yogesh Mahajan 

Modified Files
--
docs/en_US/release_notes_4_23.rst |  1 +
web/pgadmin/browser/__init__.py   | 12 +++-
2 files changed, 12 insertions(+), 1 deletion(-)



Re: [pgAdmin4][Patch] - RM #5465 - [Microsoft Edge] Mensagem de Erro Indevida

2020-05-29 Thread Akshay Joshi
Thanks, patch applied.

On Fri, May 29, 2020 at 12:17 PM Yogesh Mahajan <
yogesh.maha...@enterprisedb.com> wrote:

> Hi Hackers,
>
> Comparing with 18 also will create the same issue as there are multiple
> Edge browser versions mapped to single EdgeHTML engine versions.
> Please find modified patch which will show exact detected browser version
> till Edge Version 40. For  Edge version < 40, error message will show
>  version '<44'.
>
>
>
> Thanks,
> Yogesh Mahajan
> QA - Team
> EnterpriseDB Corporation
>
> Phone: +91-9741705709
>
>
> On Fri, May 29, 2020 at 11:19 AM Aditya Toshniwal <
> aditya.toshni...@enterprisedb.com> wrote:
>
>> Hi Yogesh,
>>
>> Your patch will fail if the edge version is older than 39. I would
>> suggest comparing version > 18 directly.
>>
>> On Fri, May 29, 2020 at 10:57 AM Yogesh Mahajan <
>> yogesh.maha...@enterprisedb.com> wrote:
>>
>>> Hi Hackers,
>>>
>>> Please find the attached patch which shows the actual Edge browser
>>> version when pgAdmin is launched Edge Version <43.
>>>
>>> Thanks,
>>> Yogesh Mahajan
>>> QA - Team
>>> EnterpriseDB Corporation
>>>
>>> Phone: +91-9741705709
>>>
>>
>>
>> --
>> Thanks and Regards,
>> Aditya Toshniwal
>> pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
>> "Don't Complain about Heat, Plant a TREE"
>>
>

-- 
*Thanks & Regards*
*Akshay Joshi*

*Sr. Software Architect*
*EnterpriseDB Software India Private Limited*
*Mobile: +91 976-788-8246*


Re: [pgAdmin][RM5521] pgAdmin dump servers issue in desktop mode

2020-05-29 Thread Aditya Toshniwal
Hi Akshay,

Attached is the updated patch which hopefully works for all cases. :)
Whenever a wrong file, wrong path or some other non pgAdmin db file is
provided then it will throw a message - "SQLite pgAdmin config DB file is
not valid".

Please review.


On Fri, May 29, 2020 at 11:28 AM Akshay Joshi 
wrote:

> Hi Aditya
>
> When I provide the wrong path of the SQLite DB file then it should not ask
> me an email address and password.
>
> python setup.py --sqlite-path
> "/Users/akshayjoshi/Downloads/pgadmin4-de.db" --dump-servers output.json
>
> 
>
> Dumping servers with:
>
> User: pgadm...@pgadmin.org
>
> SQLite pgAdmin config: /Users/akshayjoshi/Downloads/pgadmin4-de.db
>
> 
>
> NOTE: Configuring authentication for SERVER mode.
>
>
> Enter the email address and password to use for the initial pgAdmin user
> account:
>
>
> Email address: a...@edb.com
>
> Password:
>
> Retype password:
>
> The specified user ID (pgadm...@pgadmin.org) could not be found.
>
> Please fix it and resend the patch. Test all the negative/positive
> scenarios.
>
>
> On Thu, May 28, 2020 at 6:17 PM Aditya Toshniwal <
> aditya.toshni...@enterprisedb.com> wrote:
>
>> Hi Hackers,
>>
>> Attached is the updated patch. Please review.
>>
>> On Thu, May 28, 2020 at 5:38 PM Akshay Joshi <
>> akshay.jo...@enterprisedb.com> wrote:
>>
>>> Hi Aditya
>>>
>>> When I run setup.py and specify the *--sqlite-path* parameter like
>>> below:
>>> python setup.py --sqlite-path
>>> "/Users/akshayjoshi/Downloads/pgadmin4-dev-env.db" --dump-servers
>>> output.json
>>>
>>> I got the following error:
>>>
>>> PermissionError: [Errno 13] Permission denied: '/var/lib/pgadmin'
>>>
>>> Please fix it and resend the patch.
>>>
>>> On Thu, May 28, 2020 at 2:39 PM Aditya Toshniwal <
>>> aditya.toshni...@enterprisedb.com> wrote:
>>>
 Hi Hackers,

 Attached is the patch to:
 1) Fix an issue when dumping servers from a desktop pgAdmin app by
 providing an option --sqlite-path. This will allow the user to dump a
 specific config db file.
 2) While there is an option for --sqlite-path now, the other paths for
 session, storage, etc. were failing with permission errors. Code is changed
 to not to bother those directories when dumping or loading servers.
 3) Improved --help for setup.py.
 4) Docs updated.

 Please review.

 --
 Thanks and Regards,
 Aditya Toshniwal
 pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
 "Don't Complain about Heat, Plant a TREE"

>>>
>>>
>>> --
>>> *Thanks & Regards*
>>> *Akshay Joshi*
>>>
>>> *Sr. Software Architect*
>>> *EnterpriseDB Software India Private Limited*
>>> *Mobile: +91 976-788-8246*
>>>
>>
>>
>> --
>> Thanks and Regards,
>> Aditya Toshniwal
>> pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
>> "Don't Complain about Heat, Plant a TREE"
>>
>
>
> --
> *Thanks & Regards*
> *Akshay Joshi*
>
> *Sr. Software Architect*
> *EnterpriseDB Software India Private Limited*
> *Mobile: +91 976-788-8246*
>


-- 
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"


RM5521_v3.patch
Description: Binary data


pgAdmin 4 commit: Tell Yum where the GPG public key is, and fix the arc

2020-05-29 Thread Dave Page
Tell Yum where the GPG public key is, and fix the arch and version variables, 
per Devrim.

Branch
--
master

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b21b03495da6e43959d6105a05e1ee4e11a103d9

Modified Files
--
pkg/redhat/repo-rpm.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)