aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-10-24SECURITY.md: Add fileHEADmasterRichard Purdie
Add a SECURITY.md file with hints for security researchers and other parties who might report potential security vulnerabilities. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-15requirements.txt: update to supported versionsMichael Halstead
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
2022-04-14swatapp/migrations: add new migrationsMichael Halstead
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
2022-04-14swatapp/models.py: increate branch name lengthMichael Halstead
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
2022-03-10swatapp: Display build start and complete datesAlexandre Belloni
Also switch the changelog timestamp format to be more readable [YOCTO #14650] Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14models/serializers: triage exception automaticallyAlexandre Belloni
Most of the cancelled builds are actually exceptions, triage them automatically. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11swatapp/views: fix view when query is emptyAlexandre Belloni
When all the pending builds have been annotated, basequery is empty and basequery[pageobj.start_index()-1:pageobj.end_index()] is failing with a "Negative indexing is not supported" exception. Instead, exit early by rendering the page with empty results. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-15changelog: link back to build collectionAlexandre Belloni
While looking at the changelog, it is useful to be able to go back to the build collection editing, for example to be able to correct a note. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-15Add a READMERichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-12swatapp/views: Improve performance by reducing database queriesRichard Purdie
Performance isn't great, only process the chunk of results data we plan to display to speed things up a bit. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-02models/serializers: Automate moving cancelled builds with no errors to new stateRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-02models/serializers: Automate moving notforswat failures to new stateRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-02templates/base_generic: Fix nav css classes to be correct for bootstrapRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-02swatapp/template/views: Further tweak formatting with second level colspan ↵Richard Purdie
to match top level Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-02swatapp/templates: Use smaller padding for a more compact UIRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-02swatapp/template/views: Improve table display/formattingRichard Purdie
Compute and add colspan for the main table entries allowing better formatting of the output. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-02swatapp: Export triage changes over the REST APIRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-01templates/index: Display owner and for swat info, tweak styleRichard Purdie
Owner wasn't being displayed correctly, fix it. Add "forswat" info to display. Also tweak the layout to try and be less confusing, I'm no UI designer, sorry. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-26swatapp/changelog: Show more build detailsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-26swatapp/views: Add pagination to changelogRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-26swatapp/views: Fix build display logicRichard Purdie
The functions were getting too convoluted and didn't work properly as builds with no subbuilds were not displaying correctly. Rewrite the code to be clearer about what its doing and fix the corner cases to display builds with no subbuilds. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-26swatapp/views: Add support for paginating index viewsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-26swatapp/views: Simplify results object for index viewRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-26swatapp/views: Drop unneeded codeRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-25swatapp/views: Handle builds with no parent registeredRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-25swatapp/views: Fix pending triage viewRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-25swatapp/views: Fix incorrect variable usageRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-25swatapp/views: Fix incorrect variable usageRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-25swatapp/views: Fix incorrect variable usageRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-25swatapp/views: Handle cancelled builds with failures in failure displayRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-25swatapp/models: Use a textfield for urlsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-25swatapp/views: Allow failures to be set to pending without notes addedRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-25swatapp/index: Show error messages in red text to make more obviousRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-25templates/style.css: Drop unused and confusing fileRichard Purdie
This wasn't used and shouldn't be here, drop it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-25swatapp/views: Avoid showing empty entriesRichard Purdie
The failed builds list would show empty builds where for example builds were running with no results (or failed results). Don't show empty builds. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-22templates/changelog: Add build ID and timestamp to make it more readable/usefulRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-22swatapp/views: Ensure failure lists are correctRichard Purdie
We need to ensure warnings are shown in the SWAT "to process" list. Also ensure builds that have no failures listed against them aren't shown. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-22template/index: Add ability to select all entries with a toggleRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-21settings: Make it clear some need to be set server sideRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-21swatapp/models: Improve display of Triage Status itemsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-21swatapp/views: Fix timezone issuesRichard Purdie
Resolve "RuntimeWarning: DateTimeField TriageStateUserChange.timestamp received a naive datetime (2021-01-21 22:01:04.009073) while time zone support is active." Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-21swatbot: Initial population of basic Django appRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>