-
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
Feature/0.9.10 #1689
Merged
Merged
Feature/0.9.10 #1689
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…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.
…ly from project editing.
Use self.element.tags.exists() in checking if tags exist.
Improve project pages appearance: decrease action button width ...
…mponents not the ability to change.
Da/oscal hardcoded
# Conflicts: # CHANGELOG.md
* make sure component_type not element_type is exported * ssp versions should be floats not integers. Information types needs a uuid * adding empty placeholders for the required keys. * using updated for component version * party-uuids is still a todo * categorizations is still a todo * parties is still a todo
…1602) Refactor creating system control statements from component library prototype statements when adding a component from the library to a system and reduce by an order a magnitude the time it takes to add a component to system. Rename smt.create_instance_from_prototype to smt.create_system_control_smt_from_component_prototype_smt Fix bug breaking rendering of system's control detail page by removing an errant login_required decorator on a function. Add test for system control page. Will add test(s) for system control detail page. Co-authored-by: Greg Elin <greg.elin@govready.com>
Performnce of document generation now sufficiently fast to not require cache and manual "Refresh documents" button.
Add input_type to AppInputs
Automatically clear, refresh output document content downloading docs
…1605) * Fixed an issue where statement didn't exist while exporting to oscal * Update CHANGELOG Co-authored-by: Alexander Ward <alexander.ward1@gmail.com> Co-authored-by: Greg Elin <greg.elin@govready.com>
Updating for Oscal 1.0.0
* 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>
* Improve Control Search, migrate CatalogData to Django models.JSONField * Dramatically improve control selection auot-complete * Further improve add smt control select and form Refactor add_statement form. Better UI with "Add Statement" button in center. Better alignment. Validate control is set before saving to avoid error. Remove unneeded Delete button. Show/hide "Add Statement button appropriately. Co-authored-by: Greg Elin <greg.elin@govready.com>
Co-authored-by: Greg Elin <greg.elin@govready.com>
…ce catalog handling (#1683) * Move user creation earlier in first_run * Update sample components to OSCAL 1.0.0 * Friendlier component importart, refactor source catalog handling Import components and their statements even when catalog not found or statement control ids are not found in referenced catalog. * Fix source of sample components * bump version * Fix name of ILIAS component * Use faster bulk_create importing components * Small fixes and synchronizations * Comment out soon-to-be deprecated account settings Co-authored-by: Greg Elin <greg.elin@govready.com>
* Fix adding catalog_key during new smt creation * Avoid creating orphaned smt when adding smt in cmpt library * Fix test * Fix tests Co-authored-by: Greg Elin <greg.elin@govready.com>
Co-authored-by: Greg Elin <greg.elin@govready.com>
* Add migration to load default catalogs to DB * Remove loading catalogdata in first_frun Co-authored-by: Greg Elin <greg.elin@govready.com>
* Bump version * Export/import tags for OSCAL components * Add component tags to OSCAL SSPs * Add tags to sample components * Refactor importing tags * Nest SQLITE timeout to fix database locking in tests Co-authored-by: Greg Elin <greg.elin@govready.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Developer changes
Bug fix
sid_class
andsource
fields when adding new statement to a component in library.Data fix