Skip to content
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

Feature 0.9.8 #1680

Merged
merged 385 commits into from
Aug 9, 2021
Merged

Feature 0.9.8 #1680

merged 385 commits into from
Aug 9, 2021

Conversation

gregelin
Copy link
Contributor

@gregelin gregelin commented Aug 9, 2021

Developer changes

  • Add SystemSettings auto_start_project to permit the automatic start of a particular project and automatic start of a question.
  • Add questions actions to redirect to project home page or project components.
  • Support auto start of project via global System Setting.
  • Create new route for displaying a single system component control.
  • New controls.models.System property producer_elements_control_impl_smts_dict to get dictionary of control implementation statements associated with a system element.
  • New controls.models.System property producer_elements_control_impl_smts_status_dict to get dictionary of status of control implementation statements associated with a system element.

Data changes

  • Add JSONfield value to SystemSettings model to support specific detail values.
  • Retrieve Catalog data from database instead of file system with new controls.models.CatalogData model.

davidpofo and others added 30 commits May 18, 2021 10:36
Updates to generation of components to improve adherence to OSCAL
specification by removing certain keys when value for keys is None.

Added new parameter `existing_import_record` to importing and creating
components to group multiple imports under the same import record.
Change Elements.description to TextField and make required.
Modify component edit modal to use a textarea for description field.
Fixes to show error on problem saving edit to library component
Add management commands  to batch export components as OSCAL or CSV files and import components from OSCAL files
…rieval of security impact levels. todo on separate form for levels.
…ponent library display. including component_metadata template to keep styling consistent
…would come from questionnaires. system_information_types is not used at all.
Use self.element.tags.exists() in checking if tags exist.
Improve project pages appearance: decrease action button width ...
davidpofo and others added 28 commits August 2, 2021 15:01
Import and display component, smts even if catalog missing
* created a de-oscalizing function and applied to selected controls on import.

* some super route way of making sure the catalogs produce 3.1.

* add test of de_oscalize_control
* get task for the attached object. added some more notes

* fixed signature for getting a task for the attached object.

* Added get_discussion_autocompletes changes to get the organization from the discussion(should be 1 to 1). If another models wants to implement it they can look at the get_discussion_autocompletes in TaskAnswer

* Added get_discussion_autocompletes changes to get the organization from the discussion(should be 1 to 1). If another models wants to implement it they can look at the get_discussion_autocompletes in TaskAnswer
…H issues 1659 (#1670)

Co-authored-by: root <root@MSI.localdomain>
Remove duplicate loads of select2 in base.html
… it shouldn't just return an empty string as this errors out. Also the controls are already in oscal format. (#1676)
* [WIP] Auto-start a particular project

Enable the auto-starting of a particular project, e.g.,
start a project without having to visit the compliance app
store.

Eventually, start a project and launch the first question.

* Rename auto start app variables

* Finish project auto start, auto start question, redirect actions

Complete work on automatically starting a project defined in
by a System Setting.

Allow the auto start system setting to define the project template
(e.g. compliance app) to use and even the module to automatically
start.

Also add new question actions to redirect to project page
or project component after answering a question.

TO DO:
- Add error handling (e.g., missing/incorrect project)
- Add tests

* Bump VERSION

Co-authored-by: Greg Elin <Greg Elin>
Co-authored-by: Greg Elin <greg.elin@govready.com>
…1673)

* Move Catalog data into database, faster control select autocomplete

Move control catalog data into database so catalogs shipped
with GovReady and user added catalogs all accessed in database.
Also faster reading in containers.
Adjust first_run to load catalogs.
Speed up auocomplete by only selecting matching controls.

* Fix tests: add catalogs to db in setup

* Read baselines from database

* Sync with 0.9.7

* Fix tests

* Fix tests 2

* Use better DB query instead of closure

Co-authored-by: Greg Elin <greg.elin@govready.com>
* [WIP] Auto-start a particular project

Enable the auto-starting of a particular project, e.g.,
start a project without having to visit the compliance app
store.

Eventually, start a project and launch the first question.

* Rename auto start app variables

* Provide selected ocmponent data to project page

* Finish project auto start, auto start question, redirect actions

Complete work on automatically starting a project defined in
by a System Setting.

Allow the auto start system setting to define the project template
(e.g. compliance app) to use and even the module to automatically
start.

Also add new question actions to redirect to project page
or project component after answering a question.

TO DO:
- Add error handling (e.g., missing/incorrect project)
- Add tests

* Add route for single system-component-control

* issue in bootstrap

* better styling for the drag-n-fill area

* missing carrot. reverting the removal of project import form done in 29ff7c2

* Fix skip buttons and question action crash

* Update CHANGELOG.md

* Update CHANGELOG.md

* Produce dictionary of producer_element control impl smts

* Templatetags for math

* Calculate dict of element ctl impl smts status

Co-authored-by: Greg Elin <Greg Elin>
Co-authored-by: Greg Elin <greg.elin@govready.com>
Co-authored-by: davidpofo <dampofo@umd.edu>
@gregelin gregelin merged commit 9114234 into main Aug 9, 2021
@gregelin gregelin deleted the feature-0.9.8 branch August 9, 2021 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants