Skip to content

Tags: factionsecurity/faction

Tags

1.8.13

Toggle 1.8.13's commit message
bump version

1.8.12

Toggle 1.8.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Assessment queue filters and report status (#146)

* Add status and date filters to the assessment queue

The queue listed every active assessment with no way to narrow it down.
Adds a filter bar above the table with a status dropdown, from/to date
inputs and a quick-range picker (today, next 7/30 days, this week/month,
last month, this year, all time). Filtering is client side through a
DataTables search hook, so paging and the existing search still work.

The status list always offers the four statuses Assessment.getStatus()
derives, plus any custom status found in the loaded rows.

Completed assessments are not part of the default queue, so selecting the
Completed status reloads the page with showCompleted=true and the current
filters in the query string, and AssessmentQueue loads all assessments
instead of only the non-completed ones. Users restricted to their own
assessments cannot open completed ones, so the flag is ignored for them.
../service/status takes the same flag so the report and peer-review icons
are correct for the completed rows; its response is now cached client side
and reapplied on every redraw, since filtering redraws far more often than
paging did.

Along the way:
- getAllAssessments built its query by string concatenation and left a
  dangling comma when no completed clause was added, which is why the All
  type was unusable. Clauses are joined instead.
- The queue's start/end columns used the format "yyy-MM-dd", which renders
  a 4-digit year by accident and would not sort or range-compare reliably.

* Support reports whose PDF is still rendering

Report generation commits the DOCX as soon as it exists and appends the
other formats afterwards, so CheckStatus goes green while the PDF can
still be minutes away and the finalize page picks up an incomplete set of
formats.

FinalReport gains a pdfPending flag (null-safe, absent on every record
written before the split) and Reports gains a CheckPdfStatus action the
finalize page can poll: 202 while a format is still rendering, 200 with
the variant count once everything is stored.

HibHelper gains rollback(), so a unit of work that fails part-way can
unbind its transaction from the thread. Without it the next preJoin()
tries to begin a nested transaction and fails, taking the following unit
of work down with it - which is exactly what happens when the second
format's write throws.

The producer side of these hooks lives in the enterprise overlay
(ReportGenThread, UploadReport).

1.8.11

Toggle 1.8.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Resolve date variables in report headers and footers (#144)

replaceHeaderAndFooter previously only received the plain-text
replacements map, not the date map used by replacementText for the
document body, so ${today}, ${asmtStart}, and ${asmtEnd} were never
resolved inside headers/footers. Pass the date map through and run
replaceDateVariable against header/footer XML before the existing
plain-text replace pass, so both default and custom date formats
resolve the same way they already do in the body.

Fixes #143

Co-authored-by: = <=>

1.8.10

Toggle 1.8.10's commit message
User management and GitHub Enterprise OAuth updates

- Add/update users admin page (JSP and JavaScript)
- Add Users action handler for admin functionality
- Update SystemSettings DAO
- Add GitHub Enterprise API client and profile definition
- Update GitHub OAuth email fetcher
- Update dev docker-compose and pom.xml

1.8.8

Toggle 1.8.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #137 from factionsecurity:extension-updates

Adding Github Authentication

1.8.7

Toggle 1.8.7's commit message
adding github actions to releases

1.8.6

Toggle 1.8.6's commit message
[maven-release-plugin] copy for tag 1.8.6

1.8.5

Toggle 1.8.5's commit message
[maven-release-plugin] copy for tag 1.8.5

1.8.4

Toggle 1.8.4's commit message
[maven-release-plugin] copy for tag 1.8.4

1.8.3

Toggle 1.8.3's commit message
[maven-release-plugin] copy for tag 1.8.3