]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toastergui: update layer search criteria
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Mon, 24 Nov 2014 12:52:49 +0000 (12:52 +0000)
committerAlexandru DAMIAN <alexandru.damian@intel.com>
Thu, 27 Nov 2014 17:04:52 +0000 (17:04 +0000)
commite1f7ec868b0702dfd27d5708581c134aaa6f4ae8
tree9897d157f42da4a40f4266b81d64a8e77d6a5432
parent6daada59ee846c4e957bba3574dc262a0c79854d
toastergui: update layer search criteria

In order to accomodate the designs around imported layer,
we add a "project" field for in the layer versions.

The field must be set if and only if the layer is manually
imported in the project. This will prevent information leakage
between different projects.

The views have been updated to perform relevant layer queries
in a single location.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
lib/toaster/orm/migrations/0018_auto__add_field_layer_version_project.py [new file with mode: 0644]
lib/toaster/orm/models.py
lib/toaster/toastergui/views.py