aboutsummaryrefslogtreecommitdiffstats
path: root/project
AgeCommit message (Collapse)Author
2015-06-04Add a similar errors matching mechanismMichael Wood
This adds the feature to recognise if an error has been reported before. It matches it against the distance with an offset of bytes by using the first error in the database as the prime error. The accuracy is adjustable by setting SIMILAR_FAILURE_DISTANCE. If using the JSON response to a submission you will also get the number of the duplicates and a link to view them. [YOCTO #7798] Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-02-10urls: Add URL pattern for backwards compatibility0.2Michael Wood
For backwards compatibility with old search links add a handler which redirects with the query_string to the new URL. Also comment out by default url patterns that were for Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-26urls: Remove redundant url parameters and add index url for convenienceMichael Wood
We no longer need to pass the template name as a parameter to the details url as it's in the view definition. Add an index url pattern so that going to http://<host>/ works rather than having to know the correct url. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-23Parser: Make sure we respond in JSON format with errors if there are anyMichael Wood
Also make sure the url pattern is properly terminated for the non-json result Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-23settings: Add "special submitter" featureMichael Wood
This feature allows the definition in the settings of a special submitter to add a tab in the UI which is similar to the latest errors page but all queries on it are additionally filtered by the submitter being the name defined in the settings. See commented example in settings.py Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-23Various design tweaksMichael Wood
- Make sure the sort arrows are displayed when sort in progress - Don't show filter icon on column that is currently being filtered - Add min span width for the commit column to avoid button squashing - Make the autobuilder page the main page - Correct the page title copy - Don't show all the available columns have a sane default - Only allow some columns to be removed instead of all Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-23Parser: Add feature to have the reponse from a submission in JSONMichael Wood
If you wish to have the details of the submission returned in JSON format then append /JSON/ to the submission url. Also add a filter which allows you to view the recorded failures for a specified build /Build/<id>/. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-23Move the filtering, queries and ordering to use the orm functionsMichael Wood
- Rewrite the main views so that all the data manipulation is done in the database rather than in python. This was causing large performance issues. - Add simplified client side logic in a separate file called main.js - Simplify the url structure - Disable the registration module Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-23project: Update manage.py, settings.py and wsgi.py form django 1.7Michael Wood
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-23views/urls: Remove unused importsMichael Wood
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-23home: Rework the mechanism for generating graphs via custom templateMichael Wood
Previously using python-nvd3 we were constrained by the templates distributed and the properties exposed by the python bindings/abstraction for nv d3 which were incomplete. To avoid multiple passes on the page (sever side and client side) we can just generate the graph with the correct js/html in the first place. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-23urls: Remove catch all redirection urlMichael Wood
We don't need to handle all urls, especially with one that does an expensive lookup. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-23Port to django 1.6Michael Wood
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2014-09-05error-report-tool: apply changes to the landing pageRoxana Ciobanu
* Reduce the time range from the last month to the last week * Provide a list of the latest errors * Provide a link to the list of errors generated by the autobuilder [YOCTO #6537] Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
2014-02-28templates: add search error page and hide register functionalityAndreea Proca
- hides the relevant pages for login/logout - not used atm - add new page for search errors Signed-off-by: Andreea Proca <andreea.b.proca@intel.com>
2014-01-29Initial commit of error-report web interfaceAndreea Proca
This is a Django web interface intended to be used with the error-report class from the OE build system. It receives data sent from users using the send-error-report script and saves it in a DB. Using the web interface users are able to search for errors and visualize statistics. Signed-off-by: Andreea Proca <andreea.b.proca@intel.com>