aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/html
Commit message (Collapse)AuthorAgeFilesLines
* dashboard/app: improve AI UIDmitry Vyukov2026-01-151-1/+7
| | | | | A bag of minor assorted improvements to data formatting. + show job results in the jobs table
* dashboard/app: make bug lists collapsibleDmitry Vyukov2026-01-131-0/+7
| | | | | | The bug lists on the main page are extremely long, it's very hard to navigate between them. Make bug lists collapsible.
* dashboard/app: add support for AI workflowsDmitry Vyukov2026-01-051-1/+23
| | | | | | | | Support for: - polling for AI jobs - handling completion of AI jobs - submitting job trajectory logs - basic visualization for AI jobs
* all: use any instead of interface{}Dmitry Vyukov2025-12-221-1/+1
| | | | Any is the preferred over interface{} now in Go.
* pkg/manager: add Rank column with tooltips to the main pageTaras Madan2025-08-281-0/+22
|
* dashboard/app: sort bugs by impactTaras Madan2025-07-081-1/+1
| | | | | The impact score is deducted from the title. Impact is max(known_titles).
* pkg: restore vcs.TreeLink and html.SetGlobSearchPathMarco Elver2025-06-061-0/+6
| | | | | | | This partially reverts commit 43f51a00700e5960fc890e6c3d596846757bf29d to restore vcs.TreeLink and html.SetGlobSearchPath. This broke internal code.
* pkg/html: split off URL helpersAleksandr Nogikh2025-04-083-45/+57
| | | | | | | The existing pkg/html package transitively takes too many dependencies, which complicates the reuse of some of its methods. Split off a pkg/html/urlutil package.
* all: delete dead codeTaras Madan2025-02-101-5/+0
| | | | | go install golang.org/x/tools/cmd/deadcode@latest deadcode -test ./...
* pkg/manager: rename action to toggleDmitry Vyukov2024-11-081-2/+2
|
* pkg/html/pages: move HTML code to a separate fileDmitry Vyukov2024-11-082-36/+44
|
* pkg/manager: wrap stats page with the common headerDmitry Vyukov2024-11-082-45/+51
| | | | Add common manager HTML header to the stats page as well.
* pkg/manager: add common HTML page headerDmitry Vyukov2024-11-081-0/+15
| | | | | Add common HTML page header to every page. The header contains common tabs, and expert mode switch.
* pkg/manager: move style to CSS fileDmitry Vyukov2024-11-071-0/+7
| | | | | | Move style from the template to the CSS file. This is how it's done in all other cases, and it will allow to unify more things in subsequent changes.
* pkg/stat: don't depend on pkg/html/pagesDmitry Vyukov2024-07-242-0/+67
| | | | | | It's useful to collect stats in low-level packages like prog, but pkg/html/pages recursively depend on prog, so currently it's impossible. Make pkg/stat not dependent on pkg/html/pages.
* dashboard/app: fix coverage menuTaras Madan2024-07-171-1/+2
|
* dashboard/app: move graphs to submenuTaras Madan2024-07-171-1/+1
|
* dashboard/app: coverage dropdown menuTaras Madan2024-07-161-6/+50
|
* dashboard/app: move templates to dirTaras Madan2024-07-051-2/+2
|
* dashboard: support manual reproduction requestsAleksandr Nogikh2024-06-251-0/+5
| | | | | | | As it is problematic to set up automatic bidirectional sharing of reproducer files between namespaces, let's support the ability to manually request a reproduction attempt on a specific syz-manager instance. That should help in the time being.
* all: refactor statsDmitry Vyukov2024-04-091-4/+4
| | | | | | | Add ability for each package to create and export own stats. Each stat is self-contained, describes how it should be presented, and there is not need to copy them from one package to another. Stats also keep historical data and allow building graphs over time.
* pkg/html: add more flexibility to glob pathsAleksandr Nogikh2024-03-281-4/+9
| | | | | The current logic restricts the callers too much. Make it possible to override the base path for templates.
* dashboard/app: move to GOMOD from GOPATHTaras Madan2024-02-141-2/+24
| | | | The deployment takes 1.1G now. Let's check what can be removed after deployment.
* dashboard: introduce an emergency stop modeAleksandr Nogikh2024-01-091-0/+12
| | | | | | | | Add an emergency stop button that can be used by any admin. After it's clicked two times, syzbot stops all reporting and recoding of new bugs. It's assumed that the stop mode is revoked by manually deleting an entry from the database.
* dashboard: display fix candidate info on the bug pageAleksandr Nogikh2023-07-261-0/+5
|
* dashboard: allow admins to retry individual bisectionsSpace Meyer2023-06-121-1/+1
| | | | | | | | | | Changes to our rootfs, compilers or bisection logic regularly cause regressions in our bisection accuracy. Retrying them currently entails fiddling with the GCP datastore directly or mass deleting all failed bisections. This change will allow us to retry specific bisections with a single click.
* pkg/html: add hover styles for tree origin table rowsAleksandr Nogikh2023-05-151-3/+15
|
* dashboard: display bug origin tree testing resultsAleksandr Nogikh2023-05-121-0/+12
| | | | | Display them as a collapsible block on the bug info page. Use colors to distinguish results.
* dashboard: support filtering over multiple labelsAleksandr Nogikh2023-05-102-2/+76
| | | | | | For each label, allow only one value to be specified. At the same time, allow multiple different labels (subsystem, origin, prio, etc) be specified together.
* dashboard: support bug labelsAleksandr Nogikh2023-04-271-2/+2
| | | | | | | | | | | | | | | | Let bug labels come in three flavours: 1) Bug labels with multiple values (e.g. `subsystems`). 2) Bug labels with only one value (e.g. `prio`). 3) Flags. Let users configure bug labels via email by issuing the following commands: #syz set subsystems: abc, def #syz set no-reminders #syz unset no-reminders Also let users set tags for invididual bugs in reported bug lists: #syz set <1> some-tag
* dashboard: display discussions info on the main pageAleksandr Nogikh2023-04-111-0/+9
|
* pkg/html/pages: sort table also by non-displayed valuesAleksandr Nogikh2023-04-111-2/+7
| | | | | | | | Now we're limited to sorting table columns exactly by the displayed content, but this is not always convenient. If the `sort-value` attribute is present, prefer it to the element's text content.
* dashboard: display collapsible info sections on the bug pageAleksandr Nogikh2023-04-072-0/+43
| | | | | Instead of showing tons of extra information to the user, only show the collapsed titles with counts and let user toggle the sections they need.
* dashboard: put cause and fix bisection info blocks closerAleksandr Nogikh2023-04-071-0/+12
| | | | | Align them horizontally instead of vertically. This will save space on the bug info page.
* dashboard/app: don't wrap assets column in crashes tableDmitry Vyukov2023-04-031-2/+1
| | | | | | Make each crash table row take 1 line. Otherwise it looks unesthetic and vertical space is wasted no other column has data on the second/third/fourth lines.
* dashboard/app: remove repetition on subsystems pageDmitry Vyukov2023-04-031-1/+1
| | | | | | | | | Currently it repeats that this is a list of subsystems 3 times: 1. "Subsystems" tab 2. "The list of subsystems" caption 3. "Subsystems list" table caption Leave only one of them.
* pkg/html/html.go: remove unnecessary conversionTaras Madan2023-02-241-1/+1
|
* dashboard: add a feedback buttonAleksandr Nogikh2023-02-211-0/+5
|
* dashboard: display the subsystem listAleksandr Nogikh2023-02-171-2/+2
| | | | Take the counts from the cache, include links to the filtered bug views.
* dashboard: display the list of applied filtersAleksandr Nogikh2023-02-141-1/+5
| | | | | | | Currently it's non obvious whether and what filters are applied to a bug list. Display the list to the user and enable them to drop individual filters.
* dashboard: display subsystems on the bug pageAleksandr Nogikh2023-02-141-2/+2
| | | | | Currently the information is only displayed on the main page, which is not very convenient.
* dashboard: display subsystems in bug listsAleksandr Nogikh2023-01-272-0/+30
| | | | | To generate filtering URLs, use the ability of context.Context to carry on variable values.
* dashboard: display assets in the crash tableAleksandr Nogikh2023-01-031-0/+9
|
* pkg/html: add a commitLink template functionAleksandr Nogikh2022-12-141-0/+6
|
* dashboard: visualize stale reprosAleksandr Nogikh2022-08-261-0/+4
| | | | | When rendering a crash list, strike stale repros with a line (like the <s></s> tag does).
* pkg/html/pages: switch to go:embedDmitry Vyukov2022-05-234-124/+108
| | | | | | | | | | We use clumsy generate scripts that embed some static files. Switch to the new go:embed thing (added in Go 1.16): https://pkg.go.dev/embed It's much nicer, does not require separate generate step and does not lead to additional diffs in code reviews. go:embed can only embed "files read from the package directory or subdirectories", so we need to move these assets to the package dir.
* pkg/html: move some functions to sub-packageDmitry Vyukov2022-05-234-22/+34
| | | | | Move functions that need embed assets to a separate package. In preparation for the next change.
* dashboard/app: linkify source files in sample reportsDmitry Vyukov2022-05-201-0/+4
| | | | Fixes #652
* dashboard/app: add #crash_div to style.cssAlexander Potapenko2022-05-201-0/+10
| | | | | | | | Currently we're using a TEXTAREA on the /bug page to display logs, which won't let us do fancy things like links. Replacing it with a `<div id="crash_div"><p><pre>` will allow HTML formatting.
* tools/syz-testbed: store html templates in filesAleksandr Nogikh2022-02-251-2/+12
|