aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-08-08import.py: fix transaction handlingHEADmasterPaul Eggleton
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 Eggleton
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 Eggleton
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 Eggleton
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 Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-04-14Upgrade to Django 1.8Paul Eggleton
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 Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-14urls.py: upgrade for 1.6Beth Flanagan
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 Flanagan
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 Flanagan
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 Flanagan
{% 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 Flanagan
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 Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-14import: don't iterate over every commit by defaultPaul Eggleton
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 Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-14import: make sincerevision optionalPaul Eggleton
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 Eggleton
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 Eggleton
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 Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-01-07import.py: make executablePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-30views.py: add permission check to multi-actionPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-30Add improved pagination from layerindex-webPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-30base.html: add some padding to the top of the content areaPaul Eggleton
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 Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-30base.html: base template fixesPaul Eggleton
* 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 Eggleton
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 Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Add copyright/license header to all source filesPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Update registration templatesPaul Eggleton
Update from layerindex-web. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Move all templates to a templates directoryPaul Eggleton
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 Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Remove unneeded top-level index pagePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Fix registration URLsPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29settings.py: set DEFAULT_FROM_EMAILPaul Eggleton
This is needed for the registration system Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29settings.py: add clickjacking protectionPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29settings.py: Clear SECRET_KEY valuePaul Eggleton
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 Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Add copyright notices for Django project template filesPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29Update bootstrap to same version used in layerindex-webPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-12-06settings.py: add note about using the full path to the dbPaul Eggleton
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 Eggleton
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 Eggleton
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 Eggleton
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 Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-09README: improve setup instructionsPaul Eggleton
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 Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>