From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A8343E009BC; Mon, 3 Aug 2015 09:21:54 -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,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 * [209.85.212.170 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 47F12E0034B for ; Mon, 3 Aug 2015 09:21:50 -0700 (PDT) Received: by wibud3 with SMTP id ud3so142905151wib.1 for ; Mon, 03 Aug 2015 09:21:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=2jzgwbHXR174+dpSXgaFQOMSVaLTxwZuvNpLI63FTlE=; b=euU6FDPAjtvun7Wdkh6ljq9G0VlpEVgZRRL3+J9im0VdDp3SQopHkSP4ToELcV3pOg SKjNAVnEZJDkNVcLzJauZkJAxdcUxQ4E3X5lw6m+rwsfgUQ9lvUJK8aVTLdG4qbS/gpp Zj4s0Kr2/m7ctFJCxeQyhhyYJcliEr73MHIBPIU/vELDWJ+7K1Yj77Cf7L4LxQtC5t5p +ZRjkyYC8oHvi61PMOaduUNXDSrOLbkqwGSeVHOEze30XIBqPuvCTZ0jjkLHHAdGGNtj IbgYuY1qp47XLk8+JQncK8fvWlqi277nWqyg7Y+MR40wiLePJRFrI5KQWZwe4ZKumnIg bP5g== X-Gm-Message-State: ALoCoQnHNfbEWOo3SEIO/QKyM63iqJJNOTl3CLPh64CZWG1nc4w2Et3TqDGrXbxKk+YzX4ND6NaT X-Received: by 10.194.86.134 with SMTP id p6mr22390404wjz.71.1438618909812; Mon, 03 Aug 2015 09:21:49 -0700 (PDT) Received: from [192.168.2.72] ([83.217.123.106]) by smtp.googlemail.com with ESMTPSA id n6sm14353523wix.1.2015.08.03.09.21.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2015 09:21:49 -0700 (PDT) Message-ID: <55BF951C.3000108@intel.com> Date: Mon, 03 Aug 2015 17:21:48 +0100 From: Michael Wood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: "toaster@yoctoproject.org" Subject: [review-request] michaelw/toaster/fix-typeahead-behaviour 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, 03 Aug 2015 16:21:54 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit This branch brings back the correct typeahead behaviour as a modular widget. - New typeahead widget - Switch to Implementation of widget in frontend - Utility functions in the models so that the querysets which are used for the ToasterTables are the same queries that are used for the typeaheads. - Added/Fixed typeahead widget unit tests see also https://bugzilla.yoctoproject.org/show_bug.cgi?id=7152 * a465b19 bitbake: toastergui: tests Fix and more comprehensive typeahead unittest * 4c71133 bitbake: toastergui: views Standardise the fields project layer response * 592339b bitbake: toasterui: views Remove unused xhr_typeahead view definition * dc7d764 bitbake: toastergui: libtoaster Throw an exception no url is specified * 94c3f72 bitbake: toastergui: Switch to using the new toaster typeahead widget * ead8702 bitbake: toastergui: Add typeaheads for layers, machines and recipes * 09c6772 bitbake: toastergui: widgets Add a typeahead widget * 9309429 bitbake: toastergui: tables Use util functions for the common querysets * 0ba647b bitbake: toaster: orm Add util functions to return common querysets * 691696f bitbake: toaster: orm Add util function to return the url to layerversion