aboutsummaryrefslogtreecommitdiffstats
path: root/templates
AgeCommit message (Collapse)Author
2017-01-16detail: show counts on each tabPaul Eggleton
In the layer detail page, show counts on all but the updates tab (i.e. for recipes, machines, appends, classes, and distros). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-01-16layerindex: fix OpenEmbedded cgit URLPaul Eggleton
Since some recent infrastructure changes, "/cgit.cgi" should no longer be part of cgit.openembedded.org URLs, apparently. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-11-16Record and display update logsPaul Eggleton
At the moment it's a bit difficult to get update logs out of the environment in which the update script is being run. In order to make the logs more accessible, create a LayerUpdate model to record the output of update_layer.py separately for each layerbranch and tie the created LayerUpdates together with a single Update model per session. We provide two ways to look at this - a Tools->Updates page for logged-in users, and there's also an "Updates" tab on each layer that is accessible to anyone; which one is useful depends on whether you are looking at the index as a whole or an individual layer. Update records older than 30 days are deleted automatically by default. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-10-26recipedetail: don't show homepage as link if not URLPaul Eggleton
Sometimes people put values that aren't URLs into the HOMEPAGE variable. If that's the case, then we should not turn that value into a link which will be invalid. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-10-26about: update contributors listPaul Eggleton
Ensure recent contributions from Mark and Liam are reflected in the authors list. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-10-25editlayer: allow selecting web interface typePaul Eggleton
For some repo URLs we can automatically determine the values of all of the other fields - e.g. for github or git.openembedded.org, and we've been doing that for a while. However if someone submits a URL for some other site we don't know what type of interface it uses, and usually the submitter leaves the fields blank so it falls to the layer index maintainer to set the values, and then you have to remember what the correct URL format is which is awkward especially for gitweb. In order to fix this, add a select field to the form which allows specifying which type of interface is being used. At the moment only cgit, gitweb, gitlab and "(custom)" (i.e. the current behaviour) are supported. This is not a real field but activates javascript code that sets the other fields and enables/disables the controls. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-10-18layerindexer: Add layer recommends supportLiam R. Howlett
Parse layer.conf and add dependencies that are not required from LAYERRECOMMENDS_<name>. Update the layerindex/template to support recommends. Uses bitbake parsing code & checks versions. Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com> Added associated migration. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2016-10-18layerindex: Add distro to web interface and modelLiam R. Howlett
Add the distros to the index. This looks a lot like the machines and allows users to search for a particular distro. Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com> Added associated migration. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2016-09-20Fixes for django-registration 2.xPaul Eggleton
* Newer django-registration doesn't need the workaround URLs * We need to rename password_reset_email.html to .txt Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-09-20Fix for changes to auth views in Django 1.6Paul Eggleton
Part of this change is temporary for django-registration 1.0; later versions probably won't require the workaround URLs. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-12Upgrade to Django 1.6+Paul Eggleton
I'd like to be upgrading to 1.8 but that causes problems with South, and we're not quite ready to dispense with our existing migrations yet. Part of the implementation for [YOCTO #9620]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-05-24Display recipe blacklist informationAlex Franco
Display blacklist information for recipes in the recipe details, as well as the recipe search page, and layer page tables. This information is pulled from the PNBLACKLIST variable. Includes a hover text containing the reason for blacklist labels. Changes to Django and Layerindex files: - models.py, update.py - migration file - templates and static content (stylesheet) [YOCTO #7855] Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com>
2015-10-07Support for recipe inherits fieldAlex Franco
To identify image recipes and provide inheritance data for recipes, an inherits field was added to the recipe model, and then populated using refactored data from __inherit_cache. Finally the field was also added to page templates, along with style changes proposed in attachment, and an additional style change to display the inherits field as a list in detailed view. The field skips globally inherited data as proposed. [YOCTO #7575] Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-09recipes: preserve search keyword when switching between branchesPaul Eggleton
If you want to check what the same search returns on a different branch it makes things easier if you don't have to re-type the search after selecting the branch. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-09Fix append list name matchingPaul Eggleton
* Recipes without versions in the file name (such as alsa-state.bb) weren't having their bbappends listed. Use a regex match to fix this. * Use the prefix from the filename instead of PN, since that's how BitBake does it * List version matching bbappends first, then non-matching in muted colour Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-09Show branch name next to last update datePaul Eggleton
Just to reinforce which branch is being viewed. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-09duplicates: add ability to select layersPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-03Fix OE-Classic stats page for update to latest django-nvd3 (0.6.0)Paul Eggleton
Update d3/nvd3 js files in the process, but hold off on nv.d3.css for now because the latest version breaks the formatting/fading on tooltips. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-12-28Use Django sites framework to specify website titlePaul Eggleton
This allows specifying the site title in the database, instead of hardcoding it in the template. Just change it to something other than "example.com" to apply your own title. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-13Fix fields not saving their values when disabledPaul Eggleton
We grey out some fields because we don't want to allow the user to change them. However, we were setting the "disabled" jQuery property to do this, and this results in the read value for the form field being blank and thus the field in the database being blank. Set the "readonly" property instead to get the correct behaviour. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Fix detail page breadcrumbs to show layer branch instead of "Layers"Paul Eggleton
This makes it easier to tell what branch you are looking at. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Disable web URL fields when repository is knownPaul Eggleton
Some users seem to think it's necessary to clear these fields out when they are auto-set. The most appropriate thing to do seems to be to disable editing them if we know what their values should be. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Top bar functions improvementsPaul Eggleton
* Change Submit layer link into a button * Ensure tools dropdown menu doesn't show on layer submit/edit page Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Navigation improvementsPaul Eggleton
* Drop the front page - this just gets in the way. Redirect to the layers list instead. This has meant adding a touch more text to the about page and adding the FAQ link to the footer. * Use a separate navbar to hold the branch selector and the main top-level pages (Layers, Recipes, Machines) instead of tabs * All pages depending on a branch selection are now under branch/<branchname>/ so we don't need to have the branch selection on every page. * Use breadcrumbs on recipe detail and layer detail pages instead of tabs * Add title to recipe detail page Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Add support for importing OE-Classic recipesPaul Eggleton
Add a script for doing a one-time import of OE-Classic recipe information, so comparisons against OE-Core can be performed; this is stored using a new ClassicRecipe model supporting additional fields for tracking migration status. The migration status fields can be updated as well as viewed and summarised in graph format. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Minor improvement to layer note spacing/marginsPaul Eggleton
Don't show a slightly longer bottom margin when buttons are not shown. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Layer detail: use tabs for recipes/machines/appends/classesPaul Eggleton
Tabs make these a bit easier to browse. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Login drop-down style improvementsPaul Eggleton
Thanks to Belen for the design. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Show appends in recipe detailPaul Eggleton
Show the appends in other layers that apply to the recipe. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11layers: leave drop-down filter box open when ticking/unticking itemsPaul Eggleton
This allows users to easily tick and untick several items at once without having to drop the filter box down multiple times. Thanks to Belen for this snippet. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Change tab titles to match front page buttonsPaul Eggleton
"Layer index" -> "Layers", "Machine index" -> "Machines", etc. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Add cancel button to edit layer formPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Return to appropriate page when saving a layerPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Enable messages framework and use it to display "layer saved" messagePaul Eggleton
The Django messages framework is the proper way to handle these kinds of messages. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Add recipe bulk change featurePaul Eggleton
This provides a way to set "meta" fields (SUMMARY, DESCRIPTION, HOMEPAGE, BUGTRACKER, SECTION, and LICENSE) for a number of recipes at once, and then download those changes in the form of one or more patch files which can be submitted for merging into the layer. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-06-17Add duplicate recipes/classes pagePaul Eggleton
Add page that lists recipes and classes "duplicated" across different layers. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-06-17Collect bbappends and bbclasses for each layerPaul Eggleton
Collect bbappend/bbclass info during the update process and display it on the layer detail page. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-06-03Collect BUGTRACKER, PROVIDES and BBCLASSEXTEND for each recipePaul Eggleton
* Show BUGTRACKER in the recipe detail page if set * Track the other two variables for possible future use Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-06-03Improve history collection and add link to history pagePaul Eggleton
Save individual field changes into revision comment and display this comment on the history page. Now we're ready to add a link at the bottom of every page so the history is easily visible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-05-22Add user profile editing formPaul Eggleton
This form allows the user to change their email address, first and last name. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-05detail: ensure machine list is sorted by namePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-31Add basic change history pagePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-30editlayer: fix checkboxes not showing up in ChromiumPaul Eggleton
Somehow due to some CSS shenanigans these checkboxes had 0 width in Chromium and thus were invisible. A style on the td had to be used because a style on the input doesn't seem to fix it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-28about: Drop secondary heading sizesPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-28Change registered -> created in registration confirmation pagePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-28Fix site name being blank in new account activation emailPaul Eggleton
All variables used within blocktrans need to be local. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-27about: Add Michael and Alex to the contributors listPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-27Fix permission checking for publish_layer permissionPaul Eggleton
The incorrect module name was being checked; previously this was only tested with superusers (who get granted any permission requested, even if it is invalid). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-27Change "register" to "create account" on login pagePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-27Fix CSRF validation errors in password reset formsPaul Eggleton
Thanks to Michael Halstead <michael@yoctoproject.org> for this fix. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>