Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fVnod-0002K7-BG for pgadmin-hackers@arkaria.postgresql.org; Thu, 21 Jun 2018 00:51:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fVnoa-0001jW-J0 for pgadmin-hackers@arkaria.postgresql.org; Thu, 21 Jun 2018 00:51:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fVnoW-0001IV-Np for pgadmin-hackers@lists.postgresql.org; Thu, 21 Jun 2018 00:51:04 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fVnoO-0000JC-6H for pgadmin-hackers@postgresql.org; Thu, 21 Jun 2018 00:51:03 +0000 Received: by mail-wr0-x243.google.com with SMTP id o12-v6so1252619wrm.12 for ; Wed, 20 Jun 2018 17:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=7CdtHLcK9gskMAdh4nCZ9I8Icwwl4FqIf76rmAF+L90=; b=aA4vEgJwe9kOBnJwMipYVRwfLXb458XRL2axbrsb3Br3hW+nFOz/NwWUWT627pHxp5 Lhg6pVm01ntBBJqpi+ZrlRVkd4iObwMLRLPgNQAECBxhQYUO23EAK3JKMK0Zhrifxffb 5ntS6DbL/0gqVw4OCbVIgvCQtY4IqLgApWkoZv5kobbXcvGhR2XiA6Dv7CfLNKRG/b++ LvZaMN3Xgb3Q4fOvXb+b4uHwBDbGwhSvbQ1VqgBMFfb6Bnn75EPzjd/Bfw4hyAtldkIq PNcKELTGFiPAhaFVQrY+eiR5X5Wl9nr6uCVxWMrwR/Hldxe+mRDdxhNCx/oGLP78R9NE /FoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=7CdtHLcK9gskMAdh4nCZ9I8Icwwl4FqIf76rmAF+L90=; b=HZUMM3BnQXa7DaYVO275tMaV0VvFTtL1PbsdV+Lg3EDQrnFs9pxsowVGVuXsJEZMcO UXVr4kDtQ6iZgV8E/VZmr2yM2hNMEWZG9roZ3rdlc0m1ecuoM3IFSo+i+PKP4PCV76lF MqwUZbiGYW6rYrNyCUtxJ+G9fuJiifGz0lpkwKhs3IWfzUYQY7/i0sW2zVhdEPZ85onX Ka3+ArgQtpf9R/wQwOtA/nbp+FrVaEd2r74KDhnDLWfM7bpqqqwmAySZKepXKx2Pqtrd Gbpv3PuTe6DWm/XGLFc7PDxB7VoWFZRi/HR2DxdSqejOCbE4y5NR2uW9X+Q/Ashwzcod K8oA== X-Gm-Message-State: APt69E16m/g8sjY5UCdbLsyeLLpeEXKGhdW+imZ3fBClGHP9vXBNdmZk G2MvcBTmYgzCfPYBN+Qsnt0L3YIJh6E6r+c3+Wx+wg== X-Google-Smtp-Source: ADUXVKJRY6kgLkGCgBEHnUr9z0FDlWflzGg2irRGUlOp2/IpWuf5FFi/fpA4j62jZm0wTPNDzEYQ8+ZU31ujhpI2By4= X-Received: by 2002:adf:9950:: with SMTP id x74-v6mr18760190wrb.135.1529542253114; Wed, 20 Jun 2018 17:50:53 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:2907:0:0:0:0:0 with HTTP; Wed, 20 Jun 2018 17:50:52 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Thu, 21 Jun 2018 01:50:52 +0100 Message-ID: Subject: Re: [pgadmin4][Patch]: Feature #3273 Add ability to sort in the Select File window when opening a saved query To: Akshay Joshi Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000aa89bb056f1c4ebd" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000aa89bb056f1c4ebd Content-Type: text/plain; charset="UTF-8" Hi On Wed, Jun 20, 2018 at 3:13 PM, Akshay Joshi wrote: > Hi Hackers, > > Attached is the patch for Feature #3273 Add ability to sort in the Select > File window when opening a saved query. > > I haven't seen any refactoring possibility, patch contains feature test > with *time.sleep(0.05). *I have spend lot of time to not introduce > "time.sleep()" and tried couple of different ways of WebDriveWait, but > didn't get success. > > Please review it. > I get the following running the feature tests: invalid syntax (xss_checks_file_manager_test.py, line 60) make: *** [check-feature] Error 1 Also; should that file be renamed now, to reflect that it tests more than just XSS? -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --000000000000aa89bb056f1c4ebd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Wed, Jun 20, 2018 at 3:13 PM, Akshay Joshi <akshay.joshi@= enterprisedb.com> wrote:
Hi Hackers,

Attached is t= he patch for Feature #3273 Add ability to sort in the Select File window wh= en opening a saved query.

=
I haven't seen any refact= oring possibility, patch contains feature test with time.sleep(0.05). I have spend lot of time to not introduce "time.sleep()" and tr= ied couple of different ways of We= bDriveWait, but didn't get success.=C2=A0

Please review it.
I get the following running the feature tests:

<= /div>

invalid syntax (xss_checks_file_= manager_test.py, line 60)

make: *** [check-feature] Error = 1


Also; should that file be renamed now, to reflect that it te= sts more than just XSS?=C2=A0


-= -
Dav= e Page
Blog: h= ttp://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK:= http://www.enter= prisedb.com
The Enterprise PostgreSQL Company
--000000000000aa89bb056f1c4ebd--