summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: toastergui fix size rendering in dirinfo pageAlexandru DAMIAN2014-09-291-5/+5
| | | | | | | | | | | | | | | | We fix the rendering of the size field in dirinfo-related pages by directly calling filtered_filesizeformat and not rendering it through the template engine. Additionally, we enable error dumping into logs if an Exception happens. [YOCTO #6669] (Bitbake rev: afa2431c21b8271b05dc4cca4265f98d9f338007) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fix some code spacing issuesMarius Avram2014-09-052-23/+25
| | | | | | | | | | | Code is related to the basetable templates files. It had mixed tabs and spaces and was miss aligned in various places, making it hard to read. (Bitbake rev: cdaea8951df6b707afd1fefbf22295088256dd6f) Signed-off-by: Marius Avram <marius.avram@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: use cookies for count and sorting in templates tablesMarius Avram2014-09-053-46/+102
| | | | | | | | | | | | | | | | | | | | | | | | Until now cookies were used to save which columns were shown and which were hidden in toaster tables. The tables from the templates also have functionalities like sorting the entries on a certain column and limiting the number of entries displayed on a page. The later however were not saved using cookies. This patch brings this new feature. The cookies are not saved only in the front-end. They are saved both in the frontend in case the user uses the inputs/buttons to change a parameter and also in the backend in case the user specifies manually using GET variables the value of the parameters. When no GET parameters are given the views will redirect the url to one containg the parameters saved as cookies. When no cookies exist, default values will be used. [YOCTO #6126] (Bitbake rev: 880b58c845e3a501fa90d24e1bd89c87ca84b709) Signed-off-by: Marius Avram <marius.avram@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: do not save objects in sessionAlexandru DAMIAN2014-09-051-9/+9
| | | | | | | | | | | | | | | In order to avoid problems when using JSON serializer for saving sessions, we move from storing the objects themselves in the session to storing the object id and reloading the object when retrieved. This allows, for example, to use cookie-storage sessions if the infrastructure owner so desires. (Bitbake rev: 39d0f0c2e87d4b161f1eeaa2657e61b5a6bc9ee2) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: added pages for project detailsAlexandru DAMIAN2014-09-018-38/+564
| | | | | | | | | | | | | | | | | | | | | We add new pages for the layer importing, layer details, showing project builds and project configuration. The pages are in read-only mode, but they're needed as to be able to verify the quality of data in the system. Write capabilities will be added in a subsequent patch. [YOCTO #6595] [YOCTO #6590] [YOCTO #6591] [YOCTO #6588] [YOCTO #6589] (Bitbake rev: eed9ae5c2a2bd7567e12ae9a4f02a5a966a1e1a3) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add project pages for machines, targets, layersAlexandru DAMIAN2014-09-018-48/+495
| | | | | | | | | | | | | | | | | | | | | | We add new pages for the all-machines and all-targets project-related views. We update the existing template structure to create a base project view, similar to a base build view, that includes a breadcrumb. Updating existing all layers view to use the new structure. We update methods in the models to provide corrent information display. [YOCTO #6592] [YOCTO #6593] (Bitbake rev: 973f582a19441c1ec67061160e4c50ce03ed7b68) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: create Build methods for calculating progress and ETAAlexandru DAMIAN2014-08-291-12/+1
| | | | | | | | | | | We move the code to calculate build progress as percent and the ETA of the build to the model, so that they can be reused across different pages. (Bitbake rev: c2ced09e7ea4a1762d2788bb12a761734d20fd8e) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toatergui: update pages to match project modelsAlexandru DAMIAN2014-08-293-11/+10
| | | | | | | | | | We update pages and queries to match the new project models. (Bitbake rev: 8f47ec259106da714260c7388cee75a6c1f4622d) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add all layers pageAlexandru DAMIAN2014-08-292-1/+246
| | | | | | | | | | | | | We add a page where the user can browse and import layers from all the layers known by Toaster. [YOCTO #6590] (Bitbake rev: 59f4a9750a6c4f5360a91e3a4d1c03ceb42da086) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: create project section navigation structureAlexandru DAMIAN2014-08-294-26/+85
| | | | | | | | | | | | | We create the navigation structure for the project section. This includes adding URLs for configuration, builds, all layers, layer details and all targets pages. Changes to existing pages to exemplify navigation links. (Bitbake rev: 6f0cb9d106129eb496a4c009d95b0727378e97c1) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add project main edit pageAlexandru DAMIAN2014-07-235-20/+490
| | | | | | | | | | | | | | | | | | | | | This is the first commit on the project main edit page. At this point we have: * the default settings for a newly created project * the ability to add targets * the ability to trigger a build command, and have the build executed Project layers now have an optional field, allowing for removal. Default meta, meta-yocto and meta-yocto-bsp layers cannot be optional. We add XHR calls for interactivity in the main page. (Bitbake rev: 4e438854120cbd10319df1b571ec93e334002325) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: improved Project modelsAlexandru DAMIAN2014-07-231-0/+2
| | | | | | | | | | | | | | | A layer may live in a subdirectory of a git repository, so we add a field to track this setting in the Project layers. We add the Project schedule_build function, which creates a build request from the current project configuration. We also fix an import problem with Projects in views. (Bitbake rev: 1b5835e5d48cbfb7d38e38437c45d161052dfb37) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: new project page implementationAlexandru DAMIAN2014-07-143-20/+43
| | | | | | | | | | | | | We add the logic to create a new project. This page also serves as user registration and silent login for users. Once the project is added, the main project page is displayed. (Bitbake rev: 8855daebe55917c4f5855413d02ae1f3f7f76571) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: whitespace fixAlexandru DAMIAN2014-07-142-16/+16
| | | | | | | | | This patch is just a whitespace (end-of-line) fix. (Bitbake rev: 5f33d1a240faa49bd8259a48eb15ef57a6b4ce55) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add automated login in new project pageAlexandru DAMIAN2014-07-142-18/+46
| | | | | | | | | | | | | | Toaster uses the Django authentication system to assign user accounts to the projects that are being created. In the current implementation, the user accounts are created/authenticated automatically, on the fly, based on the fields specified in the create new project page. (Bitbake rev: a9062d9692525e24e59b5b2bb4dfdef90b41bf2a) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add project pagesAlexandru DAMIAN2014-07-145-0/+103
| | | | | | | | | | | | | | We add the new project and project page skeletons. In the process, we add an identifier in the settings.py to detect whenever Toaster is running in managed mode, and a context processor to make this value available to the template processor. (Bitbake rev: 927a27c68e24cfe13f62ca5f0e60878b04fa4e24) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: remove strftime calls in filtersAlexandru DAMIAN2014-07-141-6/+6
| | | | | | | | | | | | We remove the unneeded strftime calls in filters, as the filters can deal directly with datetime types. [YOCTO #6379] (Bitbake rev: 149693a342fe3a56027943d3ecb8bf2e1d0d652b) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fix no newline at end of fileRobert Yang2014-07-043-3/+3
| | | | | | | | | | | Add a '\n' to the last line of the file to fix: No newline at end of file (Bitbake rev: 5eb65d92c35264087e5d82c35638f3b8805b1b3e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fix spacing and layout in no image files notificationBelen Barros2014-06-201-12/+17
| | | | | | | | | | | | Close the definition list before adding the notification, and restrict the notification width to avoid uncomfortable line lenghts. (Bitbake rev: b82f724c271c43218dc28440219adcea968e2a26) Signed-off-by: Belen Barros <belen.barros.pena@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: display message if no images are generatedFarrell Wymore2014-06-202-0/+20
| | | | | | | | | | | | | Display message if no images are generated for a target. This commit was amended to have more conditions for displaying the message. [YOCTO #6094] (Bitbake rev: ac1911eb857f4759ed085c8a4fc4b47cefafcd7a) Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: refactor the target pageFarrell Wymore2014-06-203-115/+158
| | | | | | | | | | | | | | | the target (packages) page had to refactored to allow the displays to differ depending on the caller namely the license manifest link. Amended to make the link from the tag rather than the pathname itself. [YOCTO #6291] [YOCTO #6079] (Bitbake rev: b21a2af9411da17d49521820fa512292e89c856e) Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: fix built ETA calculationAlexandru DAMIAN2014-06-131-4/+3
| | | | | | | | | | We fix the calculation showing the estimated time to build completion. (Bitbake rev: dc1daae51ef5201475b5c1a69d966ae57b66dcb6) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: reduce redundant foreign key lookupsDavid Reyna2014-05-212-6/+29
| | | | | | | | | | | | | | | | | | Replace redundant foreign key lookups with "with" to improve all recipes page load time. Do depends pre-lookup in the view class, and use python itertation instead of filter() all to achieve x16 processing speedup. [YOCTO #6137] (Bitbake rev: a68a6dc50c11cc59e7c873414e3e22ac2644dea7) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Conflicts: bitbake/lib/toaster/toastergui/views.py Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: sort columns properly after edit columnsFarrell Wymore2014-05-212-14/+204
| | | | | | | | | | | | If a sorted column is made invisible through the edit columns function, resort the table the its default order. [YOCTO 5919] (Bitbake rev: 64618f7489eb9eb13a97d03cd2d353384f5faa70) Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fix span2 headings for packagesDave Lerner2014-05-082-4/+7
| | | | | | | | | | | | | | | | [YOCTO 6147] Fix bug in views.py that put 'span2' class id in a 'clclass' key instead of the 'dclass' key. This fix exposed another problem in target.html and the target view function that used 'package_size' instead of 'size' as the 'clclass' which is inconsistent with the model field name, causing table data columns to be shown when the header is hidden. (Bitbake rev: 436865ac8520c1d75401dde7df373dba9a386c9d) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Make sure layer branch only shows when not emptyBelen Barros Pena2014-05-089-32/+35
| | | | | | | | | | | | | | | | | In the recipe details and package details pages, the layer branch definition list elements should only show when the branch field in the database is populated. If the branch field is empty, we don't show them. The patch also removes all unnecessary data-toggle and data-original-title attributes. [YP #6152] (Bitbake rev: 72adcadb931519f803dad7488544767241561fb7) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: sort outcome and sstate columns by string valueDavid Reyna2014-05-081-1/+8
| | | | | | | | | | | | Sort the 'outcome' and 'sstate_result' columns by their description string values and not their numerical values. [YOCTO #5921] (Bitbake rev: eee0abe70e4d85a0753f0b122518d7a9f06181bc) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: toaster: Fix Empty tasks filterBelen Barros Pena2014-04-231-1/+1
| | | | | | | | | | | | | Somehow the counter was set to count tasks with outcome 'not available', instead of outcome 'empty'. This patch fixes the problem. [YOCTO #6146] (Bitbake rev: 1cc2a299c842185ba14074817d5cd2925275610b) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: toaster: Fix total number of tasks in build dashboardBelen Barros Pena2014-04-231-1/+1
| | | | | | | | | | | | | | The total number of tasks in the build dashboard was counting _setscene tasks, which are not exposed by Toaster as separate tasks. This patch makes sure that _setscene tasks are not counted when calculating that number. [YOCTO #6145] (Bitbake rev: f8817c060042147a173d3451121304b25ffc4b6c) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add URI search path listDavid Reyna2014-04-092-1/+13
| | | | | | | | | | | | | Display the URI paths from SSTATE_DIR and SSTATE_MIRRORS in the Task page. [YOCTO #5996] (Bitbake rev: 6d07b531736c2b304da2dfe661239fd3612b0541) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: sort on size in detail pagesDave Lerner2014-04-0913-73/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [YOCTO 5778] Implements the features described in the attachment to bugzilla 5778 - new global changes to the format of size data, and - adding sorts by selected columns to specific detail pages. Although new pagination and row search capabilities are shown on the screen shots for the 5778 attachment, those features are specified in a different bugzilla entry 5777 and are not implemented in this commit. Also, the 5778 spec includes table sorting for the recipe package detail page, but sorting for that page was not implemented in this commit due to complications with sorting then returning to a page that is only one URL fragment in a template. The scope of file changes are described below. Changes to support new 'size' field column formats... default.css - added sizecol class style (right justified) projecttags.py - changed filtered_filesizeformat to allow ".0" suffixes Changes that add class 'sizecol, span2(as spec'd) ' to <th> and/or <td> size columns were made to... dirinfo.py, package_built_dependencies.html, package_included_dependencies.html, recipe.html, bpackage.html, and target.html More significant changes to support detail page table sorting are: - tablesort.html: New created to implement the sort icons, directions, and table headings, and suppress sort handling if 'disable_sort' in context, without search or pagination elements ingrained in basetable_top. Confining the changes to this small file reduces the impact (testing and risk) on the larger set of files that arleady include basetable_top/bottom files. - view.py: Modified the following view functions with - trivial changes for size formatting to the views: target, - changes to package_built_detail, package_included_detail, package_included_reverse_dependencies to handle the sorting implementation as well as moving headings and size formatting for size columns from templates to the views. - Implementation of the detail sorting using above in: package_built_detail.html, package_included_detail.html, and package_included_reverse_dependencies.html to include the tablesort heading setup, format the size column, and iterate over the new sorted objects, suppressing sorts if table row count less than 2. (Bitbake rev: d16126e9abfffde66ab70865a81997322847d44e) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: hide tasks without order or outcomeDavid Reyna2014-04-091-5/+8
| | | | | | | | | | | Hide the incomplete tasks, those without order numbers and/or outcomes. [YOCTO #6060] (Bitbake rev: bdbba81715765681a0404fa82f28e471b241051a) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: regex alternation filter caused django errorDavid Reyna2014-04-092-8/+8
| | | | | | | | | | | | | | | | | | The combination of a regex filter specification that uses alternate, plus a search string, plus multiple search_allowed_fields, leads to a Django fatal error. Replace this regex filter for variables in local files with a simpler 'contains' against the project's directory plus a '/conf/' string. Alex rebased this on top of fix for #6048. [YOCTO #5962] (Bitbake rev: fd57128dc3a35ca87031f3df1a531a085e89baf0) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fix filtering query for multiple filtersAlexandru DAMIAN2014-04-091-3/+3
| | | | | | | | | | | | | | | This is a fix for using multiple expressions in filters. Three different issues are touched: * added an explicit error message for incorrect filter usage * changed the value separator to something that will pass through from the browser to the actual code * changed the "and" operator for combining Q from a dubios lambda function to the standard operator.and_ (Bitbake rev: 845b081fc108c656f04d4a70afa4695defc13c9f) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: keep number of rows across searchesAlexandru DAMIAN2014-04-091-0/+1
| | | | | | | | | | | | | | This patch will make Toaster remember the selected number of rows to be displayed in tables across different searches. The number of rows setting will not be remembered if the the user leaves the page and subsequently returns to it. (Bitbake rev: a84f296591be26972b808e98816e9d92cadf3eb5) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: show unique set-in files in configvarDavid Reyna2014-04-091-4/+8
| | | | | | | | | | | | When listing the set-in files in the configure varaible table, only show each file once in that summary view. [YOCTO #6048] (Bitbake rev: e69a57fc3302ed8fac21631ba95ea66e93b243e5) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: disable 'size over total' sortDave Lerner2014-04-091-2/+0
| | | | | | | | | | | | | [YOCTO 6061] Disable size-over-total table column sorts in the image installed packages view because that field is a computed field and only model fields are sortable in the current table toaster implementation. (Bitbake rev: ba6937c9bffcf81f71ef6fa9f0d29fbbd6e17b2d) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: added covered task listFarrell Wymore2014-04-052-23/+52
| | | | | | | | | | | | if a task has a 'covered' indication, the list of tasks that covered the task are computed and displayed. amended to add tooltip. [YOCTO #5925] (Bitbake rev: bb05ee13f53f10988579b6238802327732041d0c) Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: correct package countFarrell Wymore2014-04-052-28/+47
| | | | | | | | | | | | | | The package count was incorrect because it was counting anonymous packages. the full path of the image files was shortened to just the filename. [YOCTO 6087] [YOCTO 6091] (Bitbake rev: 06b190b2c23799bd2c9749be28e11bf5d59ed4fc) Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fixes to the build dashboardBelen Barros Pena2014-04-053-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add "on" before the date in the build status * Get rid of the extra space before the "and" in the build status * Make the errors and warnings links in the build status show the message content * Make sure that the "Images" section in the left navigation appears only for successful builds * Link the number of packages installed to the "Packages included" tab in the image information page * Remove unnecessary inline styles in the dashboard template * Make sure target names in the h1 are listed in alphabetical order (Bitbake rev: 644a38e9a90728af52ebda9846d2037dd6831b41) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Make tables happy in ChromeBelen Barros Pena2014-04-052-3/+4
| | | | | | | | | | | | There is a known layout issue with Bootstrap tables in Chrome. This change applies a css fix for it, and changes the span classes in the variables table to improve formatting. (Bitbake rev: a7fee015b1cc34351d5ad8b854fc6bf368416400) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fix the empty packages alertBelen Barros Pena2014-04-051-7/+5
| | | | | | | | | | | * Remove a tag in all capitals * Remove an unnecessary div * Fix a typo (Bitbake rev: 1ca139ca157d62cee9c48b22063e77614fa34325) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fix "Recent builds" linksBelen Barros Pena2014-04-052-3/+12
| | | | | | | | | | | | | | | | | | * Link the number of errors to the #errors section in the build dashboard * Link the number of warnigns to the #warnings section in the build dashboard * Link the build time to the build time page * Move some javascript that applies only to builddashboard.html to that template from main.js (Bitbake rev: 94c61d0d9ff24e0c781ea0a8e4bfea4c4ac94d4e) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: catch IndexError error in dictionary lookupsDavid Reyna2014-04-051-1/+1
| | | | | | | | | | | | | In the get_dict_value filter, there is the edge case where halted builds can lead to IndexError errors in dictionary lookups, so we need to catch those. [YOCTO #6067] (Bitbake rev: f6fcce974ce3b145bc472cd4e9721d56191828a4) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Changes to help textBelen Barros Pena2014-04-059-64/+76
| | | | | | | | | | | All help text strings have been reviewed by the technical writer, and some of them by Paul Eggleton. This patch implements their suggested changes. (Bitbake rev: ce89530b178be2f3202d45523ef1340e00df05be) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Remove html validation errors in tasks.htmlBelen Barros Pena2014-04-053-3/+16
| | | | | | | | | | | | | | | | | | | Remove the duplicated class attribute and the name attribute. Also, make sure that the row blue highlight works without the name attribute when you land on the tasks table after clicking the order link in a task details page. The commit also fixes a typo in default.css. [YOCTO #6033] (Bitbake rev: 471234f1ab1dbcd736a892720e99a305363db5ff) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: link task order to right tasks pageDavid Reyna2014-04-053-7/+32
| | | | | | | | | | | | | | When linking from a task order number to the All Tasks page, automatically display the correct page for that link anchor. [YOCTO #5933] (Bitbake rev: e5b6681432b627eb73bfa766d3154162206f374e) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: secondary sort key as table's default orderDavid Reyna2014-04-011-11/+16
| | | | | | | | | | | | Provide for a secondary sort key based on the table's default ordering when doing sort on alternate columns. [YOCTO #5920] (Bitbake rev: 1a0defce1499fdc320bcb27b41e06bea2ca2aef2) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: unbuilt package dependency formatsDave Lerner2014-04-011-42/+33
| | | | | | | | | | | | | | | [YOCTO 6057] For a package shown on the package build dependency page, the dependent packages may be unbuilt packages, as indicated with the dependent package's size set to -1. This fix changes the build template to use the same formatting functions for unbuilt dependent packages as the include package templates use for unbuilt dependent packages. (Bitbake rev: b095ab30a827a50f66a06ac9170d33fae2670736) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Update help text in format_vpackage_namehelp tagBelen Barros Pena2014-04-011-1/+1
| | | | | | | | | The text now says that the package has not been built. (Bitbake rev: 4b64f4452aa2da4dcc0491cefa6f1a07f7dd173f) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>