-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Question OOI form rendering on the object detail page #1408
Add Question OOI form rendering on the object detail page #1408
Conversation
… and answer field Signed-off-by: Donny Peeters <[email protected]>
…to include in ooi_detail.html
Submit json data from form in frontend for json schema form. Style update with css-based indentation. JS fixes: no identifier, remove input names to ignore them on submit and add "less" button.
…n right normalizer
…tion-schemas-in-object-detail-page
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good in general 👍 Just a few remarks:
- check the
status_code
argument - perhaps one of the front-end team members can check the js asset for correctness and style?
- at least one tests that tests the unhappy path(s)
…-kat-coordination into feature/add-question-ooi-model
…tion-schemas-in-object-detail-page
I created a separate ticket for this week to write some documentation. |
|
Checklist for QA:
What works:
What doesn't work:
Bug or feature?: |
@Darwinkel Correct about the ConfigOOI, and agreed on the showing of the JSON schema on the object details page. Not sure about a good resolution that does not open a pool of questions about specific-ooi-field-rendering.. |
Agreed about the json being vissible. It should be an easy fix in je JS to hide those lines. |
…n-object-detail-page' into feature/parse-question-schemas-in-object-detail-page
@Darwinkel @underdarknl Fixed |
* main: Create new filters for findings (#1293) Add Question OOI form rendering on the object detail page (#1408) Upgrade certifi (#1462) Default scan level filter to 0 (#1463) Remove some unused config options, and set better defaults for others (#1428) Remove unnecessary dependency on ipaddress package (#1448) Translations for release 1.11 - EN -> NL, PAP (#1439)
* main: Admin permissions (#1508) Upload members with a csv file (#1423) Add answer normalizer to create Config OOI (#1409) allow subject to be None (#1484) Fix webpage capture boefje (#1430) Fix CVE findings with cvss V2 (#1497) Add boefje worker diagrams and add missing env vars in documentation (#1489) Remove duplicate diagram of KATalogus View structure in the docs (#1486) Fix image references from readme's in developer documentation (#1487) Fix exception in object report view (#1475) Create new filters for findings (#1293) Add Question OOI form rendering on the object detail page (#1408) Upgrade certifi (#1462) Default scan level filter to 0 (#1463) Remove some unused config options, and set better defaults for others (#1428) Remove unnecessary dependency on ipaddress package (#1448)
Changes
This adds the rendering of questions and saving answers to bytes in rocky. Note: this merges into #1407 for now (PR split up) and depends on it.
Issue link
(Partially) closes #288
Proof
Code Checklist
Communication
.env
changes files if required and changed the.env-dist
accordingly.Checklist for code reviewers:
Copy-paste the checklist from the docs/source/templates folder into your comment.
Checklist for QA:
Copy-paste the checklist from the docs/source/templates folder into your comment.