-
Notifications
You must be signed in to change notification settings - Fork 6
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
Support scaled answers #715
Commits on Feb 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 039161c - Browse repository at this point
Copy the full SHA 039161cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b6deb9 - Browse repository at this point
Copy the full SHA 1b6deb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0e1dfa - Browse repository at this point
Copy the full SHA e0e1dfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for d562439 - Browse repository at this point
Copy the full SHA d562439View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d1b8e3 - Browse repository at this point
Copy the full SHA 6d1b8e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7aeb77 - Browse repository at this point
Copy the full SHA c7aeb77View commit details -
Multiple answers: treat 1 and 2 as presenting a risk.
I had 4 and 5 first.
Configuration menu - View commit details
-
Copy full SHA for 43d5874 - Browse repository at this point
Copy the full SHA 43d5874View commit details -
Fix the risk navigation for multiple answers.
They were marked as unvisited until now.
Configuration menu - View commit details
-
Copy full SHA for 1dff68c - Browse repository at this point
Copy the full SHA 1dff68cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93132b7 - Browse repository at this point
Copy the full SHA 93132b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84780d6 - Browse repository at this point
Copy the full SHA 84780d6View commit details -
Support specifying the value of multiple_answers.
By default the first answer gets a value of 1, but if you want to have the "best" answer at the top, you can encode it like this: `very safe|5`.
Configuration menu - View commit details
-
Copy full SHA for ac5e026 - Browse repository at this point
Copy the full SHA ac5e026View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e2cf9c - Browse repository at this point
Copy the full SHA 1e2cf9cView commit details -
Renamed multiple_answers to scaled_answers.
In the risk content, use scaled_answers plural to store the possible answers. In the risk client (sql), use scaled_answer plural to store the chosen answer.
Configuration menu - View commit details
-
Copy full SHA for a42a9ea - Browse repository at this point
Copy the full SHA a42a9eaView commit details -
RegistryValueVocabulary: filter out empty values.
There can easily be an empty row at the end.
Configuration menu - View commit details
-
Copy full SHA for db3236a - Browse repository at this point
Copy the full SHA db3236aView commit details
Commits on Feb 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ab521f3 - Browse repository at this point
Copy the full SHA ab521f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea743f7 - Browse repository at this point
Copy the full SHA ea743f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63c4565 - Browse repository at this point
Copy the full SHA 63c4565View commit details -
Configuration menu - View commit details
-
Copy full SHA for b43b4e4 - Browse repository at this point
Copy the full SHA b43b4e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 228a348 - Browse repository at this point
Copy the full SHA 228a348View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94ad82f - Browse repository at this point
Copy the full SHA 94ad82fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44f3bcf - Browse repository at this point
Copy the full SHA 44f3bcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11b9e92 - Browse repository at this point
Copy the full SHA 11b9e92View commit details -
Fix problem with the identification report not being generated for ce…
…rtain survey sessions. Ref: scrum-1846 Fixes: #688
Configuration menu - View commit details
-
Copy full SHA for 52cc40c - Browse repository at this point
Copy the full SHA 52cc40cView commit details
Commits on Feb 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1b73ed8 - Browse repository at this point
Copy the full SHA 1b73ed8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09b868a - Browse repository at this point
Copy the full SHA 09b868aView commit details
Commits on Feb 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 63a3784 - Browse repository at this point
Copy the full SHA 63a3784View commit details
Commits on Feb 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 422e6d3 - Browse repository at this point
Copy the full SHA 422e6d3View commit details
Commits on Feb 26, 2024
-
client navigation: add scaled answer in the risk info.
The scaled answer itself is not enough to know if the risk is present or not. This should be determined based on the module, and this is better done by overriding this method.
Configuration menu - View commit details
-
Copy full SHA for 130fdf7 - Browse repository at this point
Copy the full SHA 130fdf7View commit details -
client navigation: refactor getTreeData function to call a browser vi…
…ew 'oira_navigation_tree'. Then we can subclass this browser view elsewhere to change the tree in one spot, instead of needing to override the tree in multiple views.
Configuration menu - View commit details
-
Copy full SHA for b1d7fcb - Browse repository at this point
Copy the full SHA b1d7fcbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6923f8a - Browse repository at this point
Copy the full SHA 6923f8aView commit details
Commits on Feb 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1f9f880 - Browse repository at this point
Copy the full SHA 1f9f880View commit details -
The new oira_navigation_tree cannot be found in the tests. This was already true for the webhelpers view in this same file. So if the view lookup fails, we call the class of the browser view directly.
Configuration menu - View commit details
-
Copy full SHA for 190ea77 - Browse repository at this point
Copy the full SHA 190ea77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ba279f - Browse repository at this point
Copy the full SHA 6ba279fView commit details -
Merge pull request #706 from euphorie/multiple-answers-oira-navigatio…
…n-tree Refactor getTreeData to use browser view
Configuration menu - View commit details
-
Copy full SHA for d88c0c4 - Browse repository at this point
Copy the full SHA d88c0c4View commit details
Commits on Mar 1, 2024
-
When getting a scaled answer, set the identification as well.
Get the idenfication value by calling new method get_identification_from_scaled_answer. By default this return None, and with that we set the identification column to NULL, as we did until now. In projects that actually use scaled answers, you should override this method.
Configuration menu - View commit details
-
Copy full SHA for 94d4192 - Browse repository at this point
Copy the full SHA 94d4192View commit details
Commits on Mar 6, 2024
-
Merge pull request #708 from euphorie/multiple-answers-set-identifica…
…tion When getting a scaled answer, set the identification as well.
Configuration menu - View commit details
-
Copy full SHA for 296274a - Browse repository at this point
Copy the full SHA 296274aView commit details
Commits on Mar 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2a77c2f - Browse repository at this point
Copy the full SHA 2a77c2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b59434a - Browse repository at this point
Copy the full SHA b59434aView commit details -
webhelpers: add use_action_plan_phase.
This makes it easier to override so we can skip the actionplan phase. Check this in the identification view so we know if we need to go to actionplan or consultancy or report.
Configuration menu - View commit details
-
Copy full SHA for 03b745b - Browse repository at this point
Copy the full SHA 03b745bView commit details -
Merge pull request #713 from euphorie/multiple-answers-feedback-issue…
…-2036 webhelpers: add navigation_tree_legend and use_action_plan_phase methods
Configuration menu - View commit details
-
Copy full SHA for 24662ee - Browse repository at this point
Copy the full SHA 24662eeView commit details
Commits on Mar 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bdc1f8c - Browse repository at this point
Copy the full SHA bdc1f8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 454f3db - Browse repository at this point
Copy the full SHA 454f3dbView commit details
Commits on Mar 22, 2024
-
Simplify parse_scaled_answers by using rpartition.
Same number of lines, but easier to understand.
Configuration menu - View commit details
-
Copy full SHA for c284f90 - Browse repository at this point
Copy the full SHA c284f90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26f10c6 - Browse repository at this point
Copy the full SHA 26f10c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95eb61d - Browse repository at this point
Copy the full SHA 95eb61dView commit details -
Merge pull request #716 from euphorie/multiple-answers-attribute
Move property to attribute
Configuration menu - View commit details
-
Copy full SHA for fca084a - Browse repository at this point
Copy the full SHA fca084aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8965270 - Browse repository at this point
Copy the full SHA 8965270View commit details -
Update src/euphorie/content/tests/test_utils.py
Co-authored-by: Maurits van Rees <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad7b72d - Browse repository at this point
Copy the full SHA ad7b72dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 011103c - Browse repository at this point
Copy the full SHA 011103cView commit details
Commits on Apr 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5ce8582 - Browse repository at this point
Copy the full SHA 5ce8582View commit details