summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: toastergui: Implement new project navigationMichael Wood2015-08-0119-145/+180
| | | | | | | | | | | | | Change the structure of the project page to include a navigation menu and top tab navigation. Remove old breadcrumb method. [YOCTO #7329] (Bitbake rev: 66fa0dd988e01ec79e74be7a5697eaa3b4f017d8) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: Implement new top navigation designMichael Wood2015-08-014-20/+32
| | | | | | | | | | | | | Additional items for top level navigation. This is part of a wider navigation redesign. [YOCTO #7329] (Bitbake rev: 456a4a6782d3098cc9abb39659a619fdcf52eb01) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: make our tables Chrome-happyBelen Barros Pena2015-07-211-1/+1
| | | | | | | | | | | | Make sure that Toaster tables adapt nicely to the viewport width in Chrome without squashing the buttons in the right column (when they are there). (Bitbake rev: 61307693a25a4a2eeeab5c450df330229638ddad) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Remove erroneously committed template includeMichael Wood2015-07-021-3/+0
| | | | | | | | | | | | Partial revert of bb commit 6e46e1e3882b9770872d8a0bb459bc7d5d6bfed3 The non managed mrb_section defined the title 'All builds' which is already defined correctly for the projects page as 'All projects' (Bitbake rev: 3500b59cbfd006a83bab9431f434f98c1944a0ac) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Revert the addition of analysis project mode selectionMichael Wood2015-07-021-7/+8
| | | | | | | | | | | | Partial revert of bb commit 2efc338cefd6e6e097af83d7dff63e9ba177d021 This feature was not ready to go live as the surrounding implementation work to make this usable has not yet been done. (Bitbake rev: 40c8829369628927944c8a950524d482a663913e) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Restore 'in project' filters to main tablesMichael Wood2015-06-261-2/+73
| | | | | | | | | | | | | Restores the previously removed filters from recipes, machines and layers table. These filters allow filtering down the results to just displaying the current added layers, machines or recipes in the project. [YOCTO #7851] (Bitbake rev: 04a3e4614aae8ba794a3b8ac9083e723de7ca522) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: table.js fix filter visual indicator and interactionMichael Wood2015-06-261-15/+44
| | | | | | | | | | | | - Fix the id of the filter modal dialog. - Fix the visual indicator toggle button - Add check to see if the number of items to filter on is !=0 if it is then don't allow applying this filter. (Bitbake rev: a73f08c79077b6ded0c08ea7d36032f4568d12e3) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: toastertable Pass up the kwargs for setup_filterMichael Wood2015-06-261-6/+6
| | | | | | | | | | This allows us to setup_filter in tables using args such as the current project. (Bitbake rev: e0d59c32a7cff76d732a90cc6d507c7a9b68cb84) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Enable toastertable cacheMichael Wood2015-06-261-2/+5
| | | | | | | | | | | Enable the cache and fix warning on the toastertable cache which happens on the memcache backend "CacheKeyWarning: Cache key contains characters that will cause errors if used with memcached" (Bitbake rev: 330692e4e2e4dea59f70caa03001905ffff4860a) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: fixes after html5 compliance testingAlexandru DAMIAN2015-06-2610-16/+30
| | | | | | | | | | This patch brings fixes for issues highlighted by HTML5 compliance testing. (Bitbake rev: 7aecb974d44d9bc711ffba5cc65e770811397fba) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: delete multiple buildsAlexandru DAMIAN2015-06-261-2/+2
| | | | | | | | | | | | This patch fixes the build deletion on unmigrated databases, and enhances it to delete multiple builds in a single run. [YOCTO #7726] (Bitbake rev: d5468d84c1ef83c780de5974c8e3a11eab762489) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: select project typesAlexandru DAMIAN2015-06-262-37/+73
| | | | | | | | | | | | This brings in project types in the New Project page. The "analisys" projects are the projects with no "release" set, and have read-only properties in the project page. (Bitbake rev: 2efc338cefd6e6e097af83d7dff63e9ba177d021) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: refactor build modelAlexandru DAMIAN2015-06-2617-176/+79
| | | | | | | | | | | | | | | | We remove the "timespent", "errors_no" and "warnings_no" fields in favor of computing the needed values at runtime. This prevents inconsistencies in the UI. Also removeing all references to BuildRequests from the interface - all build details now display in the build dashboard. Minor fixes related to data logging. (Bitbake rev: 44f37394ed3e4ca02f940be172fe4395b0ee0f7d) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fixes after replacing BuildRequest with BuildAlexandru DAMIAN2015-06-263-6/+8
| | | | | | | | | | | This is a set of fixes that repair the interface after we switched from displaying BuildRequest data to Build data in the formerly "managed" mode. (Bitbake rev: 57f790b0c56297af8c83d5def8461bd5d61fe4af) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fill in build data from buildrequestAlexandru DAMIAN2015-06-262-6/+13
| | | | | | | | | | | | | | This patch adds logic to complete changing the interface from showing BuildRequests to showing Build data. The BuildRequest data is now transformed in Build data with proper Toaster exceptions being recorded instead of listing problems during startup as build errors. (Bitbake rev: 51a41172d0b390370f9a38696b1ac65666ada4d2) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: refactor the builds pagesAlexandru DAMIAN2015-06-2610-749/+175
| | | | | | | | | | | | | Taking out the managed mode-specific bits in build-related pages, as there is always only one mode available. Also refactors the build pages in order to always display Build objects instead of BuildRequest objects. (Bitbake rev: 6e46e1e3882b9770872d8a0bb459bc7d5d6bfed3) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: remove BuildRequest referencesAlexandru DAMIAN2015-06-263-41/+30
| | | | | | | | | | | | | In the toastergui application we should not display implementation details about how the builds are run. This patch removes the references to BuildRequest on the majority of the views (except Builds page itself, as that is more complicated). (Bitbake rev: ead45a600813a1d8594e604875803ded781f83d8) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: remove MANAGED referencesAlexandru DAMIAN2015-06-269-146/+7
| | | | | | | | | | | We conflate the managed and analysis modes by deleting alternative code paths, favouring the MANAGED mode, always considering the MANAGED variable True. (Bitbake rev: 0ac02d3775106b485e29496b62f31e91fd3f9387) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fixing undefined variablesAlexandru DAMIAN2015-06-263-8/+16
| | | | | | | | | | This patchset fixes usage of undefined variables in the base page. (Bitbake rev: a9e889af41e1e59c3b426c78ba80e4d49c6c122b) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: fix angular errorAlexandru DAMIAN2015-06-261-1/+1
| | | | | | | | | | | | | | | Due to invalid identification of builds in the array update code (by id and status), we could end up with multiple entries sharing the same primary id, visible in the UI as an angular error. We modify the code to identify the builds exclusively by id. [YOCTO #7611] (Bitbake rev: 77d3f7c6cdc7f06807024896369f8f8ae94263fc) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: prevent contamination of libtoaster contextAlexandru DAMIAN2015-06-121-20/+18
| | | | | | | | | | | | This patch modifies the New Build button to use a local copy of the default libtoaster project context in order to prevent page contamination when a different project is selected in the drop-down menu. (Bitbake rev: 937665bd57dad04dd6bb46d06488b699f5c54d29) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Add global ajaxError handlerMichael Wood2015-06-122-5/+5
| | | | | | | | | If any ajax calls fail and debug is enabled log the error to the console. (Bitbake rev: 978ab17033ec48ee0a82016b7e4d6a2fe5d21dbb) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Add ajax loading spinnerMichael Wood2015-06-123-0/+76
| | | | | | | | | | | | This adds an ajax loading spinner to provide feedback when in-page loading is happening. It will show after 1.2 seconds of initial loading. [YOCTO #7790] (Bitbake rev: ecb70b0bc996529f1a6e58e5716b31e273395c98) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: tables: Remove obsolete field_name for select columnVlad Fulgeanu2015-06-121-2/+1
| | | | | | | | | | field_name is no longer used for this kind of column. So no need to specify it here. (Bitbake rev: 058e9db05767f2d46d46c02dd5043bb0f6b8e460) Signed-off-by: Vlad Fulgeanu <andrei-vlad.fulgeanu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fixes after refactoringAlexandru DAMIAN2015-06-128-61/+114
| | | | | | | | | | | | | | | | | | | This patch fixes issues brought in by refactoring: * the New Build button is working with pre-set projects * the xhr_datatypeahead is exposed for calls that are not mapable to the REST objects * a new table returing recipes provided by layers currently selected in the project is used to provide recipe suggestions * the field names in json are switched from "list" to "rows" as to maintain consistency with the ToasterTables * the "value" field in xhr_ calls is now named "search" to maintain consistency (Bitbake rev: a5bc29083d4f85a5695f3f62d5badb783c6f7224) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: remove xhr_datatypeahaed layerdeps callAlexandru DAMIAN2015-06-1210-47/+73
| | | | | | | | | | | | | | This patch removes the url-constructing calls to get the layer details in favor of embedding the look-up URL in the JSON data on the layer list page. This allows further removal of the XHR-specific code for layer dependencies in favor of REST calls to layer details data. (Bitbake rev: 33d2b87aca667d72262a3928deaf35414b46a7c1) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: remove xhr_datatypeahead and xhr_XXXbuildAlexandru DAMIAN2015-06-1214-198/+118
| | | | | | | | | | | | We remove the endpoints for XHR on the toastergui application. The endpoints are now replaced with calls to the respective REST endpoints (i.e. projectlayers, projecttargets, projectmachines). (Bitbake rev: 8e7a2c3b125a34fd9d6fa0442ab13290137ecc51) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add class template view for single-object pagesAlexandru DAMIAN2015-06-122-2/+36
| | | | | | | | | | | Adding ToasterTemplateView as prototype for all class-based views that display single objects; equivalent to ToasterTable for object lists. (Bitbake rev: d3edea773000a663f5883e04f477d853bff64cf6) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: toastertables raise errorsAlexandru DAMIAN2015-06-121-5/+7
| | | | | | | | | | | Modifies the widget code to raise the Exceptions to the user instead of printing then to stdout - making the programming errors much more visible. (Bitbake rev: 26dc19284e06a7ae35f75a243b2062f61e30f2ca) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: ToasterTables add computational fieldsAlexandru DAMIAN2015-06-124-5/+38
| | | | | | | | | | | | | | | | This patch adds the ability to pass a function to be computed for generating a field value in setting up a column in ToasterTables. Also adding "displayable" property that can be turned False for columns that are present in JSON data but are not part of the UI. Add the "id" column by default for all rows. (Bitbake rev: fb683135348b074412da154585c75865aad1eab0) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: toaster table add raw dataAlexandru DAMIAN2015-06-123-7/+54
| | | | | | | | | | | | | | | We add in a JSON response both the raw data and the rendered version for display. The rendered fields start with "static:" to mark a different "namespace". The toaster.js is updated to always display the "static:" version of a field, if it exists (and ignore the raw data unless the static rendering is missing). (Bitbake rev: 928ee3fd4b52ea14b7eb704f1f27351362a9d27a) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: remove xhr_projectedit and xhr_projectinfo URLsAlexandru DAMIAN2015-06-128-94/+108
| | | | | | | | | | | | | | | | This patch removes the xhr_projectedit and xhr_projectinfo URLs in favour of REST calls to the Project page. The project page takes now the POST requests to modify project settings. All usages of removed URLs are now changed to point to the project page, using the json format. The interface call specs have not modified. (Bitbake rev: 6ad3078bd2be1a8cda99040acaa9bb81d77f0013) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: use defaults on xhr_datatypeahead parametersAlexandru DAMIAN2015-06-121-10/+10
| | | | | | | | | | This patch prevents crashes when xhr_datatypeahead is called without proper parameters. (Bitbake rev: 4528490cf663790a455815dc48fbf3dda264098c) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: toastertables REST refactoringAlexandru DAMIAN2015-06-127-70/+102
| | | | | | | | | | | | | | | | | | | This patch refactors the ToasterTables to bring them in line with REST principles - - all table pages now support the "format=json" GET parameter that returns the data in JSON format - the tables themselves This cleans up the URL namespace by aleviating the need to have two URLS for each table (one for the template and one for the data loading), and fixes minor things in the ToasterTable implementation. (Bitbake rev: 1778dac9fd39dae75c55bf2cf836cdd488dbc265) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: convert all project-based view to JSON APIsAlexandru DAMIAN2015-06-121-65/+99
| | | | | | | | | | | | | | This patch converts all-project views that are REST-style URLs to support JSON encoding if the "format=json" parameter is supplied. The formatting code is enhanced to prevent following Django foreign keys, to convert enum-values from int to string, and support for timedelta. (Bitbake rev: 7a6eb36b82c5f2e342777e479d9c401ded42453d) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: move project data typeahead to the REST APIAlexandru DAMIAN2015-06-1210-76/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch enables JSON requests on the project REST endpoint, and replaces the universal queries "xhr_datatypeahead" with the `project` type to the REST project endpoint. The patch adds a decorator that takes a context returned by a view and either renders the template specified as the decorator argument, or converts the context to JSON. Normal "search", "filter" and "order" options for view work as normal on the JSON API format. To enable the JSON return, set the "format" GET parameter to "json". In order to demonstrate the functionality, the "New build" button is switched from using the xhr_datatypeahead to the project REST API with JSON formatting. Additionally, the XHR APIs that perform actions with the project id passed as parameter are removed, and the needed URLs are populated from the project JSON API returns after the project has been selected. (Bitbake rev: 15a2274eba13d19b864f337057d61c75ff7849cc) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: more HTML5 fixesAlexandru DAMIAN2015-05-293-2/+4
| | | | | | | | | More HTML5 fixes highlighted by tests on new data. (Bitbake rev: a52242bb4d928b9abba8a3489e350e4615a9da29) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: add tests for xhr_datatypeahead callsAlexandru DAMIAN2015-05-291-4/+46
| | | | | | | | | | | | In order to make sure we replace the xhr_datatypeahead calls with similar APIs, we add tests that validate the data returned by the xhr_datatypeahead. A copy of these tests will be enabled for each type of datatypeahead that will be replaced. (Bitbake rev: 9a3197fba46b38e5863e7ded11e4bf9530cfcc9b) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: tests for the all-projects API pointAlexandru DAMIAN2015-05-291-0/+36
| | | | | | | | | | | | This patch adds Django tests that verify that the 'all-projects' page returns a valid HTML page when invoked normally, containing the project name; and valid JSON containing API-needed fields if the GET parameter `format` is set to "json" (Bitbake rev: 9edd61fe7afaf273ed31d214af9251462182ad4f) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: replace cookie-based preferences with session dataAlexandru DAMIAN2015-05-295-37/+20
| | | | | | | | | | | | | | | | | We switch from storing the user preferences using cookies to saving them in the server-side session. Patch for "count/pagesize" and "orderby" fields in the table-based pages. This patch will solve two problems: * the browser-side race between the GET header data and the cookie data * page breakages when field names chances in orderby statements. (Bitbake rev: 125d0e05805247450be0675e281a21bd6146d108) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: Consider task name when restarting a build in /buildsEd Bartosh2015-05-293-5/+25
| | | | | | | | | | | | Previously the same issue was fixed for project view. 'Run again' button now restarts builds using target:task also in builds view. [YOCTO #7442] (Bitbake rev: ae6349a13f11b6fa90fe5603b000bef14ee0f2f0) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster-gui: Show task name for the builds in /buildsEd Bartosh2015-05-292-7/+25
| | | | | | | | | | Task name was only shown for the latest builds in project view. Now it should be shown also in builds view. (Bitbake rev: 6492349d50a2048b1cbebab482bfd075bb48dd96) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Add an invalidate cache method on data update signalMichael Wood2015-05-292-7/+4
| | | | | | | | | | | Instead of relying on the cache expiring over an amount of time we can listen to the changed notification on the models to invalidate the cache. Also fixes overlapping cache names. (Bitbake rev: eb0b1450e421cf65b407b1ac0336ac24ffc626e8) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Port layerdetails to ToasterTablesMichael Wood2015-05-2911-582/+415
| | | | | | | | | | | This ports the layerdetails page to using ToasterTables Also some whitespace and strict clean ups in the existing layerdetails js and html template. (Bitbake rev: 8ce35f81631e31539aeb82f8a85abbb3312e5097) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Add a simplified ToasterTable templateMichael Wood2015-05-291-0/+112
| | | | | | | | | | | This is like the normal ToasterTable template but with a number of features removed such as edit columns and has a lower profile compared to the "main" tables. (Bitbake rev: 4ce35c74d2b1ecd68c494fa9bab3c1133f9679c1) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fix toastertable headerMichael Wood2015-05-291-0/+1
| | | | | | | | | Fixes regression introduced by 'tables updates for HTML5 compliance' (Bitbake rev: 406a7f81420f7baa5cbfc034b573a4d692b98874) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: show relative paths in configvars viewEd Bartosh2015-05-293-63/+42
| | | | | | | | | | | | | | Reworked filtering of config paths. Stripped clone paths, topdir and its parent directory from the paths to config files in configvars view. [YOCTO #7463] (Bitbake rev: 873087b11653848ec2704d67de5680a265b71eaa) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: table header bring backAlexandru DAMIAN2015-05-292-2/+2
| | | | | | | | | | This patch brings back the table header, which I mistakenly took out when fixing HTML5 compliance. (Bitbake rev: 9855e0b9735ebf0a6c622bee6ec787dfc1d9e474) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster logger: refactor recipe and layer file pathsAlexandru DAMIAN2015-05-297-20/+20
| | | | | | | | | | | | | | | | | | | | | | | This refactoring brings the "local_path" of the layer from the Layer object to the Layer_Version object, which is more appropriate as different checkouts of the same Layer may live in different directories. This enables us to store Recipe file paths relative to a Layer_Version at all times, aleviating the need to store full file paths in the database. We also turn the prefix of the path (e.g. virtual:native path name space) into a pathflag field. In turn, this solves the problem of mis-identification of tasks based on the recipe file paths, since we can also match the namespace of the file paths on the recipe files. [YOCTO #7594] (Bitbake rev: ec43dc569e370767c709dec225cbee0c99151c19) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: enable server-side sessions for all usagesAlexandru DAMIAN2015-05-291-2/+4
| | | | | | | | | | In an effort to fix client-side session storage using cookies, we enable server-side session support for all pages. (Bitbake rev: ba10b6f89767c0dad8a2b064f42a84956764e9da) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>