Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 8D973E006D2; Mon, 9 May 2016 08:27:40 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [74.125.82.51 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 1D3D4E004A0 for ; Mon, 9 May 2016 08:27:36 -0700 (PDT) Received: by mail-wm0-f51.google.com with SMTP id e201so142337059wme.0 for ; Mon, 09 May 2016 08:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=xCwWrAGk5fek+eTpkyTqHJK/5YBOAtCz/eV24MBt7fA=; b=AxgEFi/DjQeFpPHVMEXiz9XtGqHRYj8Rmg6E1PI1Y4db0+BbOLxZNXAnKNiGwIMv2b zFLMrIUCnX7ULBJSq0KyWSl7WT6PMtchC2Et4SInydsbjyJ35326xG5o/ztAXF9XMCr3 3ZAoLdEail9EZRv6Lk6fl3eC6zFMxNMVAuy6HDSQ+gMu5SPc0l83U6LlsvhUUsqMIuxP PpiN1Q3u6gSzAtzWDIy76ykqfsxv82LJ7NQDb+f4wNvEJ1Z0ZseoUqw41elAGfdLnVbF GOztIwCJvYXJEPYPJyntxf0YAenfkph5xx/J4lsN21fdbr7Pg0S5Ra35vPtvPI+atVuj VJxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xCwWrAGk5fek+eTpkyTqHJK/5YBOAtCz/eV24MBt7fA=; b=H/1m6rEj4AS0m8WT87AFKPiDK/U3fcxFUPEa7jfW+scu3CHcNtvNGSVHQbcqX+cJkl Jdocw5a9GQ2v70FdVJQ/EUrxjmK+Wr+d2vITA4EKQPsv7M8Y0Dj4VBOzywC4c5x2dOiP 9xzD9P00sGp8YWcz/cfQf2y+R6m3ylBx1jh+W+pxqSFTqmTYI8RM/5doMlSHXwMFuHNR FwR/1LmonOwVe+h5Ei0nR9p2G7cFMfmNcZOJwIjQEeRMJCc8YQLyxxe9hexb13wx7peT MuEruh+Lx0jj8sBNqGmMVx5lRW8oyp392WHHUnZ0iuu0AUnqJD6qIByS/tIEtFgzIc9i Wedg== X-Gm-Message-State: AOPr4FXrRgPwvs0MlASVEJkm8A61SgISFf9kMGrDdlPTViSkiGwTSQtRLWlN5IDvjhNnvuPQ X-Received: by 10.195.3.1 with SMTP id bs1mr36620098wjd.160.1462807655803; Mon, 09 May 2016 08:27:35 -0700 (PDT) Received: from orion.home (host109-151-244-175.range109-151.btcentralplus.com. [109.151.244.175]) by smtp.gmail.com with ESMTPSA id b15sm25192732wmd.1.2016.05.09.08.27.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 May 2016 08:27:35 -0700 (PDT) From: Michael Wood To: toaster@yoctoproject.org Date: Mon, 9 May 2016 16:27:26 +0100 Message-Id: <1462807651-16627-1-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [PATCH 0/5] Unique project names X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2016 15:27:40 -0000 Patch series to add the unique project name validation. All Sujith patches have been reviewed already, just my two that need a quick look over. Happy to do the upstreaming. Michael Wood (2): toaster: models Add missing import sys toaster: tests browser Add test for creating a project Sujith H (3): toaster: projectNameValidation API added toaster: ui handles duplicate project name in new project page toaster: ui handles duplicate project name in project page bitbake/lib/toaster/orm/models.py | 1 + .../toaster/tests/browser/test_new_project_page.py | 109 +++++++++++++++++++++ .../lib/toaster/toastergui/static/js/libtoaster.js | 62 ++++++++++++ .../toaster/toastergui/static/js/projecttopbar.js | 7 ++ .../toaster/toastergui/templates/newproject.html | 12 ++- .../toastergui/templates/projecttopbar.html | 3 +- 6 files changed, 191 insertions(+), 3 deletions(-) create mode 100644 bitbake/lib/toaster/tests/browser/test_new_project_page.py -- 2.7.4