aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-01-23Post: Add some basic unit tests for testing submissionsmichaelw/masterMichael Wood
To run the tests ./manage.py test Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-23Parser: Add basic catching of exceptions from invalid dataMichael Wood
When we catch these exceptions make sure we send back a useful response and a http 500 status code 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-23Remove unused templates and importsMichael Wood
- Remove unused duplicated templates - Remove unused imports - Add comment to bug about POST request 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-23latest-errors: Fix pagination controls so they show 3 pages in either directionMichael Wood
We could have 100's of pages but we don't know that until we've paged ahead so show only 3 pages ahead and behind. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-23latest-errors: Add visual indication that submitted_on is the default sortMichael Wood
When no user sort has been applied show the sorted state of the page as being sorting by decending submitted_on which is the default. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-22Remove unused code paths and importsMichael Wood
Remove getInfo as this was the python based data querying mecahnism that is no longer needed. Also remove unused imports. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-22Various 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-22Parser: 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-22views: Add backward compatibility for the send-error-reportMichael Wood
Newer versions of django handle application/json in a more correct way by having the payload in the request body rather than a parameter to the HTTP post request. So that we can continue to parse data correctly from old send-error-report scripts we need to undo the url encoding of the data. see https://docs.djangoproject.com/en/dev/releases/1.5/ section #non-form-data-in-http-requests Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-21discretebarchart: Add custom tooltip overlayMichael Wood
This adds the ability to click on chart series to query the database for the related items. We also show a summary of that series data. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-21Parser: Return more details about a successful build error being loggedMichael Wood
Return a json formatted result to show the status of a error submission including the urls for each of the failures logged. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-21Move 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-21Add migrations support. This uses the in built django migrationsMichael Wood
See 'manage.py migrate --help' for more infomation Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-21requirements: Update to django 1.7.3Michael Wood
Also remove django-registration for the time being. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-21project: 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-21gitignore: Update to exclude venv and .sqlite3Michael Wood
Exclude common virtualenv dir name and database name Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-01-15createStatistics: Reduce the number series to 6 in each graphMichael Wood
The graphs were getting overly cluttered so reduce the number of series to 6. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2014-10-27views/urls: Remove unused importsMichael Wood
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2014-10-27README: Update requirements and setup instructionsMichael Wood
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2014-10-27Add requirements.txt for use with pipMichael Wood
requirements.txt can be used to speed up installation by specifying modules used and passing it to pip. usage: pip install -r requirements.txt Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2014-10-27templates: Fix template tagsMichael Wood
Remove the unneeded tags. Templates that extend base shouldn't contain html from the base template. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2014-10-27home: 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>
2014-10-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>
2014-10-23templates: Fix indentation of home.htmlMichael Wood
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2014-10-23createStatistics: Fix missing tz info in date passed to modelMichael Wood
Fixes RuntimeWarning: DateTimeField Build.DATE received a naive datetime while time zone support is active. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2014-10-23Port to django 1.6Michael Wood
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2014-10-23error-report-web: add filtering capabilitiesRoxana Ciobanu
[YOCTO #6542] Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
2014-10-23error-report-web: add FontAwesome andd css customizationRoxana Ciobanu
Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
2014-10-23error-report-web: Enhancements to the error pagerRoxana Ciobanu
- add link to the Yocto Project web repositor - add link to the Yocto Project Bugzilla instance [YOCTO #6540] Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
2014-09-12Centering pagination when table rows are less than 10Belen Barros Pena
When the number of errors returned by a search is less than 10, the show rows menu disappears. This caused the pagination controls at the bottom of the table to be right-aligned. This patch makes sure the pagination controls remain center-aligned even when the show rows menu does not display. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2014-09-08error-report-web: Sorting error tablesRoxana Ciobanu
Add sorting functionality to the search results page. [YOCTO #6539] Signed-off-by: Roxana Ciobanu <roxana.ciobanu@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-08-24README: add info on the git repo and contributingPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-08-22error-report: add top 'Show rows' menuRoxana Ciobanu
[YOCTO #6538] Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
2014-08-22error-report: add css customizationRoxana Ciobanu
Add css customization for navbar-inner and dropdown-menu. [YOCTO #6538] Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
2014-08-22error-report: sort table by 'Submitted on' columnRoxana Ciobanu
The information in the table needs to be sorted by "Submitted on", in inverse chronological order (the most recent error on top). [YOCTO #6538] Signer-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
2014-08-22error-report: remember state of the menuRoxana Ciobanu
Remember the state of the menu, so that people are not forced to customise the columns every time they search. [YOCTO #6538] Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
2014-08-22jquery.cookie.js: add the Cookie PluginRoxana Ciobanu
Add the Cookie Plugin [YOCTO #6538] Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
2014-08-22error-report: add 'Edit columns' menuRoxana Ciobanu
Add 'Edit columns' menu. [YOCTO #6538] Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
2014-08-14error-report: add 'Submitter' columnRoxana Ciobanu
Show the submitter in the search results page [YOCTO #6538] Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
2014-08-14error-report: add 'Submitted on' detailRoxana Ciobanu
Show the submission date and time for an error in the the error details page. [YOCTO #6538] Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
2014-08-14error-report: add 'Submitted on' columnRoxana Ciobanu
Show the submission date and time for an error in the search results page [YOCTO #6538] Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
2014-03-06README: add required version for django-nvd3Andreea Proca
Signed-off-by: Andreea Proca <andreea.b.proca@intel.com>
2014-03-05templates/error-page: keep the search stringAndreea Proca
Signed-off-by: Andreea Proca <andreea.b.proca@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-02-17views: fix duplicated elementsAndreea Proca
Signed-off-by: Andreea Proca <andreea.b.proca@intel.com>
2014-02-14templates: design changesAndreea Proca
- back button was missing in some pages - tiny changes to custom.css - improve registration and charts templates Signed-off-by: Andreea Proca <andreea.b.proca@intel.com>
2014-02-11templates: use discreteBarChart type for chartsAndreea Proca
Signed-off-by: Andreea Proca <andreea.b.proca@intel.com>