AgeCommit message (Collapse)AuthorFilesLines
2016-08-08import.py: fix transaction handlingHEADmasterPaul Eggleton1-43/+44
The import script had not been updated to work properly with Django 1.8; in particular the transaction handling code needed some adaptation. The script will also now return an exit code of 1 on error instead of always returning 0. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-08-08README: update versionsPaul Eggleton1-3/+3
Update stated versions to those used during recent testing. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-08-08import.py: fix bad reference to commit objectPaul Eggleton1-1/+1
We shouldn't be referring to the commit object here. We already grabbed the hexsha value into b.vcs_rev earlier so just use that here instead. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-04-14Upgrade to Bootstrap 3.3.6Paul Eggleton31-16887/+19209
Also necessitated updating to jQuery 1.12.3. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-04-14Ensure brand link points to top level pagePaul Eggleton2-5/+5
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-04-14Upgrade to Django 1.8Paul Eggleton2-5/+4
We'd already prepared the way when upgrading to 1.6 so almost nothing needed doing. Also tweak the README at the same time. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-14README: update versionsPaul Eggleton1-8/+8
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-14urls.py: upgrade for 1.6Beth Flanagan1-1/+1
django.conf.urls.defaults was removed in 1.6. Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
2015-01-14import.py: setup_environ depreciated in 1.6Beth Flanagan1-3/+1
setup_environ is depreciated in 1.5. This is the recommended way of importing settings in 1.6 (NOTE: This is different in 1.7) Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
2015-01-14urls.py: Fix for broken django-registration and 1.6 upgrade.Beth Flanagan1-4/+26
Some explaination on why this is done is here: http://stackoverflow.com/questions/19985103/django-1-6-and-django-registration-built-in-authentication-views-not-picked-up Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
2015-01-14Move to new style tags in templates for 1.6 upgradeBeth Flanagan9-21/+21
{% url myview %} becomes {% url "myview" %} The old style tags were depreciated in 1.5 and if not corrected will throw: "Error: 'url' requires a non-empty first argument. The syntax changed in Django 1.5, see the docs." Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
2015-01-14manage.py: Updating to Django 1.6.xBeth Flanagan1-11/+8
Django 1.6.x no longer supports execute_manager which was deprecated in Django 1.4 and removed in 1.6 per the depreciation timeline: https://docs.djangoproject.com/en/1.4/internals/deprecation/#id3 Updated to a more recent manage.py Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
2015-01-14Make distinction between queue and reviewed pages clearerPaul Eggleton4-9/+19
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-14import: don't iterate over every commit by defaultPaul Eggleton1-3/+11
There's really no need to iterate over all of the buildhistory commits, we just want the difference from the last build. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-14import: add transaction and dry-run supportPaul Eggleton1-24/+43
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-14import: make sincerevision optionalPaul Eggleton3-7/+17
Record the last revision against the build so that we can use it next time rather than requiring it to be specified on the import command line. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-14Add the concept of a branchPaul Eggleton2-1/+8
Support branches in the buildhistory repository. If the branch is specified at import time, check out that branch before proceeding. Also record the branch against the build. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-14Add the concept of a buildPaul Eggleton6-13/+40
Record a build every time the tool is run. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-08import: use argparse for command-line parsingPaul Eggleton1-15/+12
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-07import.py: make executablePaul Eggleton1-0/+0
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-30views.py: add permission check to multi-actionPaul Eggleton1-1/+1
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-30Add improved pagination from layerindex-webPaul Eggleton6-21/+145
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-30base.html: add some padding to the top of the content areaPaul Eggleton2-1/+5
This is needed with the navbar in current versions of Bootstrap. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-30README: update based on layerindex-web READMEPaul Eggleton1-16/+30
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-30base.html: base template fixesPaul Eggleton3-5/+4
* Use title_append instead of title * Add scripts block * Add missing closing body tag and remove body tags from other templates Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-30Fix static pathing to use staticfilesPaul Eggleton1-4/+6
This is the recommended best practice. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Add error template pages from layerindex-webPaul Eggleton2-0/+39
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Add copyright/license header to all source filesPaul Eggleton8-0/+57
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Update registration templatesPaul Eggleton8-8/+64
Update from layerindex-web. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Move all templates to a templates directoryPaul Eggleton18-1/+1
This should allow the templates to be found and swapped out more easily. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Add top-level catch-all redirect to main pagePaul Eggleton1-0/+2
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Remove unneeded top-level index pagePaul Eggleton1-6/+0
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Fix registration URLsPaul Eggleton1-1/+1
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29settings.py: set DEFAULT_FROM_EMAILPaul Eggleton1-0/+2
This is needed for the registration system Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29settings.py: add clickjacking protectionPaul Eggleton1-0/+4
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29settings.py: Clear SECRET_KEY valuePaul Eggleton1-1/+1
This should be set when the application is deployed, not set to some default value out of the box. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29README: clarify in licensing section that Bootstrap includes GlyphiconsPaul Eggleton1-1/+2
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Add copyright notices for Django project template filesPaul Eggleton4-1/+23
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Update bootstrap to same version used in layerindex-webPaul Eggleton4-1498/+3165
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-06settings.py: add note about using the full path to the dbPaul Eggleton1-1/+1
If using sqlite3, the full path should be specified, otherwise if the import script or possibly other scripts are run from another directory they won't find the correct database file. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-06settings.py: set login redirect URL to sensible defaultPaul Eggleton1-1/+1
Ensure we get redirected to the default URL for the main page of the application. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-06Remove references to "warningmanager" directory namePaul Eggleton2-5/+5
This allows the application to be installed in a directory with any name rather than forcing it to be called "warningmanager". Fixes [YOCTO #3412]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-06import: fix locating BitBake / OE metadataPaul Eggleton1-3/+8
The original code here was copy/pasted from buildhistory-diff and assumed that the directory where the python script is located was within the metadata. Change it to use the specified path to find the metadata, and look in BITBAKEDIR, the specified metadata directory or its parent to find BitBake. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-09README: correct testing URLPaul Eggleton1-3/+3
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-09README: improve setup instructionsPaul Eggleton1-3/+20
Explain how to set up the database and test the web application. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-09Initial version of buildhistory warnings web applicationPaul Eggleton41-0/+17939
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>