layerindex-web/layerindex
Amanda Brindle a64bfed81b recipes.html: Require keyword for recipe search
Use JavaScript to check if the search box for recipe search is
empty before querying the database. This will prevent the "502
Bad Gateway" error that occurs when the query takes too long due
to the large list of recipes. Since there are so many recipes
spread across the layers in the OE index, there's no point in
allowing a user to search without a keyword in order to browse
the list; it simply isn't digestible as a whole.

For the Machines, Classes, and Distros pages, the search behaviour is
unaffected, however to make it more obvious that you can browse the list
add an explicit "browse" button.

Fixes [YOCTO #11930]

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-12-05 10:01:10 +13:00
..
migrations models: allow LayerBranch.collection to be blank 2017-10-04 13:28:24 +13:00
static Indicate if layer has YP Compatible certification 2017-09-27 15:26:24 +13:00
templatetags Support (and require) Python 3 2016-06-12 11:33:08 +12:00
tools layerconfparse.py: remove unused layerbranch from parse_layer() 2017-07-21 08:14:57 +02:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py Indicate if layer has YP Compatible certification 2017-09-27 15:26:24 +13:00
bulkchange.py layerindex: Update tinfoil to call shutdown method 2017-01-11 21:56:35 +13:00
context_processors.py Use Django sites framework to specify website title 2013-12-28 11:03:29 +00:00
forms.py layerindex: add "No update" status to LayerItem 2017-03-14 15:19:53 +13:00
layerconfparse.py layerconfparse.py: remove unused layerbranch from parse_layer() 2017-07-21 08:14:57 +02:00
models.py models: allow LayerBranch.collection to be blank 2017-10-04 13:28:24 +13:00
querysethelper.py querysethelper: fix searching 2017-10-31 09:58:30 +13:00
recipedesc.py layerindex: Update tinfoil to call shutdown method 2017-01-11 21:56:35 +13:00
recipeparse.py Don't show "Starting bitbake server" in update log 2017-09-27 14:48:41 +13:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py templates/layerindex/classes.html: Add bbclass search 2017-11-07 16:54:46 +13:00
simplesearch.py Improve recipe search 2013-02-19 17:22:45 +00:00
tasks.py Asynchronous email notifications, task execution 2017-09-01 16:59:43 +12:00
update_layer.py update: allow preserving temp directory 2017-10-03 11:42:51 +13:00
update.py update: allow preserving temp directory 2017-10-03 11:42:51 +13:00
urls_branch.py templates/layerindex/classes.html: Add bbclass search 2017-11-07 16:54:46 +13:00
urls.py templates/layerindex/classes.html: Add bbclass search 2017-11-07 16:54:46 +13:00
utils.py Don't show "Starting bitbake server" in update log 2017-09-27 14:48:41 +13:00
views.py recipes.html: Require keyword for recipe search 2017-12-05 10:01:10 +13:00