Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnMVR-0005ba-HM for pgadmin-hackers@arkaria.postgresql.org; Fri, 23 Sep 2016 09:10:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bnMVR-0002r3-45 for pgadmin-hackers@arkaria.postgresql.org; Fri, 23 Sep 2016 09:10:53 +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.84_2) (envelope-from ) id 1bnMVQ-0002po-Ei for pgadmin-hackers@postgresql.org; Fri, 23 Sep 2016 09:10:52 +0000 Received: from mail-it0-x22c.google.com ([2607:f8b0:4001:c0b::22c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bnMVN-0002od-AL for pgadmin-hackers@postgresql.org; Fri, 23 Sep 2016 09:10:51 +0000 Received: by mail-it0-x22c.google.com with SMTP id n143so9612412ita.1 for ; Fri, 23 Sep 2016 02:10:48 -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=CBsAwd+QZ7jLdRBYTD5vKt+R0k8t2lnle3P3kYS7ZHg=; b=1iTVBghQ8dGAF8+mlmJMqBwcyoeW+ZqRr35aR6hOE9PcKbFtDnWiISRxNHXSZ5HZQQ zyKEeWf8trb/TJSIUDRZq0fY9ulxVRCIBlv9J4pAO0JNFLzVGtmjX+es8RW0hQbcSDLU ZVA43s3h60Eq3R9Nr46KA/YEBa9rgt72vSjsOC8bUjBfMVGdl0G43qybibHvTfFc8I7G hozVeZqblxqIHBmwaqxfhhrX7nLjKe7VzSResQWCO8x6a2rw0ClJVBxX6+uoKD7EC4tw ZcSTMilRKtc5gs4Z5fieoI0smmXqcRI2sg+Ak67jhwtNOUP9Cy43ALrSnxbsJqXWGXBX nfvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CBsAwd+QZ7jLdRBYTD5vKt+R0k8t2lnle3P3kYS7ZHg=; b=DhbtyikB3sAZRbEwEY9mVDV/4e9m6/KlfY7VXXZ9hIKwx6KfPCIuAM8EDktg/SCKPC cDw48Dc5NJG1UHoed7jYxpDSBeRRCj/uyifAjOLtQ+QTJ0nuqotch/kDcjTxOra1EohQ o3Acq+gO6ex5VFsa6IiUu5/cC2xVpzNOHI+Kx1QZA21+kVYae619RnWr132ZoNDvid8e 3wnnE50rSn6ZJsyv/FY6H/Aq3dAqV7QY6foelMd43LOQsgSTqMpKrJM6OHOw1Ff5GxXn j7qpZa4jO1cpaEFl9j5vR+AFO6vHd6jorCGBKdVTVUWFbiIKK8K97SIUrgbrbQ7XLJc+ LHBg== X-Gm-Message-State: AA6/9RniI6N23On+96Fn8FijXm5GU4JPgEuq5qF6gjU+BCRyWOf1fHkvj3CeusTZFB+khu8vS1YmIaxfEDXP1w== X-Received: by 10.36.242.2 with SMTP id j2mr1976189ith.108.1474621847383; Fri, 23 Sep 2016 02:10:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.1.203 with HTTP; Fri, 23 Sep 2016 02:10:46 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Fri, 23 Sep 2016 10:10:46 +0100 Message-ID: Subject: Re: PATCH: pgAgent support To: Ashesh Vashi Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 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 Thanks, applied. On Fri, Sep 23, 2016 at 7:33 AM, Ashesh Vashi wrote: > Hi Dave, > > > On Thu, Sep 22, 2016 at 8:01 PM, Dave Page wrote: >> >> Hi >> >> On Thu, Sep 22, 2016 at 11:47 AM, Ashesh Vashi >> wrote: >>> >>> Hi Dave, >>> >>> Please find the patch for support for paAgent in pgAdmin 4. >> >> >> Did you forget the binary switch? >> >> piranha:web dpage$ git apply --binary ~/Downloads/pgagent_v2.patch >> error: cannot apply binary patch to >> 'web/pgadmin/browser/server_groups/servers/pgAgent/schedules/static/img/coll-pga_schedule.png' >> without full index line >> error: >> web/pgadmin/browser/server_groups/servers/pgAgent/schedules/static/img/coll-pga_schedule.png: >> patch does not apply >> error: cannot apply binary patch to >> 'web/pgadmin/browser/server_groups/servers/pgAgent/schedules/static/img/pga_schedule.png' >> without full index line >> error: >> web/pgadmin/browser/server_groups/servers/pgAgent/schedules/static/img/pga_schedule.png: >> patch does not apply >> error: cannot apply binary patch to >> 'web/pgadmin/browser/server_groups/servers/pgAgent/static/img/coll-pga_job.png' >> without full index line >> error: >> web/pgadmin/browser/server_groups/servers/pgAgent/static/img/coll-pga_job.png: >> patch does not apply >> error: cannot apply binary patch to >> 'web/pgadmin/browser/server_groups/servers/pgAgent/static/img/pga_job-disabled.png' >> without full index line >> error: >> web/pgadmin/browser/server_groups/servers/pgAgent/static/img/pga_job-disabled.png: >> patch does not apply >> error: cannot apply binary patch to >> 'web/pgadmin/browser/server_groups/servers/pgAgent/static/img/pga_job.png' >> without full index line >> error: >> web/pgadmin/browser/server_groups/servers/pgAgent/static/img/pga_job.png: >> patch does not apply >> error: cannot apply binary patch to >> 'web/pgadmin/browser/server_groups/servers/pgAgent/steps/static/img/coll-pga_jobstep.png' >> without full index line >> error: >> web/pgadmin/browser/server_groups/servers/pgAgent/steps/static/img/coll-pga_jobstep.png: >> patch does not apply >> error: cannot apply binary patch to >> 'web/pgadmin/browser/server_groups/servers/pgAgent/steps/static/img/pga_jobstep.png' >> without full index line >> error: >> web/pgadmin/browser/server_groups/servers/pgAgent/steps/static/img/pga_jobstep.png: >> patch does not apply >>> >>> >>> I have also attached another patch for miscellaneous fixes, and adding >>> new controls. >>> It includes: >>> - Added DatetimepickerControl, MomentCell (using moment.js) >>> - Used the 'DatetimepickerControl' in Role (Also - resolved an issue, >>> when unset the datetime for 'Valid Until'.) >>> - Added a 'Select All/Unselect All' adaptor for Select2 used by pgAgent >>> nodes. >>> - Fixed an issue with SubNodeCollectionControl, which was not starting >>> the modification session of the child model, when created default value for >>> collection is not null/undefined. And, hence - validation on the child model >>> was not working. >>> - Fixed a memory leak with SqlFieldControl, and SqlTabControl, which was >>> not releasing the CodeMirror properly. >> >> >> Urgh, that's big. > > I know. > That's reason - I was reluctant to send earlier. >> >> Applied - but can you look at the following please? >> >> - Account expires has a hint of 'MMM D YYYY HH:mm:ss.SSS Z". Are >> milliseconds really needed? I also get 00 as a fractional timezone offset. >> Perhaps we should hide that, when it's 00? > > Changed to 'YYYY-MM-DD HH:mm:ss Z'. >> >> >> - The date format differs from the ISO format displayed by the query tool. >> They should be consistent - and really should be either based on the >> client's locale settings, or ISO format. > > Done > > -- > Thanks & Regards, > > Ashesh Vashi >> >> >> Thanks. >> >> -- >> Dave Page >> Blog: http://pgsnake.blogspot.com >> Twitter: @pgsnake >> >> EnterpriseDB UK: http://www.enterprisedb.com >> The Enterprise PostgreSQL Company > > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers