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

Account tests #281

Merged
merged 4 commits into from
Mar 14, 2024
Merged

Account tests #281

merged 4 commits into from
Mar 14, 2024

Conversation

HadleyKing
Copy link
Collaborator

No description provided.

Changes to be committed:
	deleted:    api/__init__.py
	deleted:    api/admin.py
	deleted:    api/apps.py
	deleted:    api/fixtures/bootstrap.json
	deleted:    api/fixtures/metafixtures
	deleted:    api/fixtures/metafixtures.json
	deleted:    api/keys.sh
	deleted:    api/migrations/0001_initial.py
	deleted:    api/migrations/0002_auto_20220124_2356.py
	deleted:    api/migrations/0003_rename_meta_table_prefix_table.py
	deleted:    api/migrations/0004_rename_group_info_groupinfo.py
	deleted:    api/migrations/0005_rename_prefixes_prefix.py
	deleted:    api/migrations/0006_delete_new_users.py
	deleted:    api/migrations/__init__.py
	deleted:    api/model/__init__.py
	deleted:    api/model/groups.py
	deleted:    api/model/prefix.py
	deleted:    api/models.py
	deleted:    api/permissions.py
	deleted:    api/rdb.sh
	deleted:    api/request_definitions/GET.schema
	deleted:    api/request_definitions/POST.schema
	deleted:    api/request_definitions/templates/DELETE_delete_object_by_id.schema
	deleted:    api/request_definitions/templates/GET_activate_account.schema
	deleted:    api/request_definitions/templates/GET_get_object_by_id.schema
	deleted:    api/request_definitions/templates/GET_retrieve_available_schema.schema
	deleted:    api/request_definitions/templates/POST_convert_existing_object_between_schemas.schema
	deleted:    api/request_definitions/templates/POST_convert_payload_to_schema.schema
	deleted:    api/request_definitions/templates/POST_new_account.schema
	deleted:    api/request_definitions/templates/POST_object_listing_by_token.schema
	deleted:    api/request_definitions/templates/POST_objects_draft.schema
	deleted:    api/request_definitions/templates/POST_objects_publish.schema
	deleted:    api/request_definitions/templates/POST_read_object.schema
	deleted:    api/request_definitions/templates/POST_validate_payload_against_schema.schema
	deleted:    api/scripts/__init__.py
	deleted:    api/scripts/method_specific/GET_draft_object_by_id.py
	deleted:    api/scripts/method_specific/GET_published_object_by_id.py
	deleted:    api/scripts/method_specific/GET_published_object_by_id_with_version.py
	deleted:    api/scripts/method_specific/GET_retrieve_available_schema.py
	deleted:    api/scripts/method_specific/POST_api_objects_drafts_create.py
	deleted:    api/scripts/method_specific/POST_api_objects_drafts_delete.py
	deleted:    api/scripts/method_specific/POST_api_objects_drafts_modify.py
	deleted:    api/scripts/method_specific/POST_api_objects_drafts_permissions.py
	deleted:    api/scripts/method_specific/POST_api_objects_drafts_permissions_set.py
	deleted:    api/scripts/method_specific/POST_api_objects_drafts_publish.py
	deleted:    api/scripts/method_specific/POST_api_objects_drafts_read.py
	deleted:    api/scripts/method_specific/POST_api_objects_drafts_token.py
	deleted:    api/scripts/method_specific/POST_api_objects_publish.py
	deleted:    api/scripts/method_specific/POST_api_objects_published.py
	deleted:    api/scripts/method_specific/POST_api_objects_search.py
	deleted:    api/scripts/method_specific/POST_api_objects_token.py
	deleted:    api/scripts/method_specific/POST_validate_payload_against_schema.py
	deleted:    api/scripts/method_specific/__init__.py
	deleted:    api/scripts/utilities/DbUtils.py
	deleted:    api/scripts/utilities/FileUtils.py
	deleted:    api/scripts/utilities/JsonUtils.py
	deleted:    api/scripts/utilities/RequestUtils.py
	deleted:    api/scripts/utilities/ResponseUtils.py
	deleted:    api/scripts/utilities/SettingsUtils.py
	deleted:    api/scripts/utilities/UserUtils.py
	deleted:    api/scripts/utilities/__init__.py
	deleted:    api/serializers.py
	deleted:    api/signals.py
	deleted:    api/templates/api/account_activation_message.html
	deleted:    api/urls.py
	deleted:    api/validation_definitions/IEEE/2791object.json
	deleted:    api/validation_definitions/IEEE/description_domain.json
	deleted:    api/validation_definitions/IEEE/error_domain.json
	deleted:    api/validation_definitions/IEEE/execution_domain.json
	deleted:    api/validation_definitions/IEEE/io_domain.json
	deleted:    api/validation_definitions/IEEE/parametric_domain.json
	deleted:    api/validation_definitions/IEEE/provenance_domain.json
	deleted:    api/validation_definitions/IEEE/usability_domain.json
	deleted:    api/validation_definitions/IEEE_sub/IEEE2791-2020.schema
	deleted:    api/validation_definitions/IEEE_sub/domains/description_domain.json
	deleted:    api/validation_definitions/IEEE_sub/domains/error_domain.json
	deleted:    api/validation_definitions/IEEE_sub/domains/execution_domain.json
	deleted:    api/validation_definitions/IEEE_sub/domains/io_domain.json
	deleted:    api/validation_definitions/IEEE_sub/domains/parametric_domain.json
	deleted:    api/validation_definitions/IEEE_sub/domains/provenance_domain.json
	deleted:    api/validation_definitions/IEEE_sub/domains/usability_domain.json
	deleted:    api/validation_definitions/uri_external
	deleted:    api/views.py
	new file:   config/settings.py
	modified:   config/urls.py

Changes not staged for commit:
	modified:   authentication/apis.py
	modified:   authentication/migrations/0001_initial.py
	deleted:    authentication/migrations/0002_newuser.py
	modified:   authentication/services.py
	modified:   docs/refactor.md
	modified:   search/selectors.py
	modified:   tests/fixtures/test_data.json
	deleted:    tests/test_database.py
	deleted:    tests/test_fixtures.py
	deleted:    tests/test_models
	modified:   tests/test_views/test_api_account_activate.py
	deleted:    tests/test_views/test_api_accounts_describe.py
	modified:   tests/test_views/test_api_auth_add.py
	modified:   tests/test_views/test_api_auth_reset_token.py
	deleted:    tests/test_views/test_api_groups_group_info.py
	deleted:    tests/test_views/test_api_groups_modify.py
	deleted:    tests/test_views/test_api_objects.py
	deleted:    tests/test_views/test_api_objects_drafts_create.py
	deleted:    tests/test_views/test_api_objects_drafts_modify.py
	deleted:    tests/test_views/test_api_objects_drafts_publish.py
	deleted:    tests/test_views/test_api_objects_search.py
	deleted:    tests/test_views/test_api_objects_validate.py
	deleted:    tests/test_views/test_api_prefixes_create.py
	deleted:    tests/test_views/test_api_prefixes_token.py
	deleted:    tests/test_views/test_get_object_id_draft.py
	deleted:    tests/test_views/test_get_objectid.py
	deleted:    tests/test_views/test_published_object_by_id.py
	modified:   token.json
Changes to be committed:
	new file:   biocompute/__init__.py
	new file:   biocompute/admin.py
	new file:   biocompute/apis.py
	new file:   biocompute/migrations/__init__.py
	new file:   biocompute/models.py
	new file:   biocompute/selectors.py
	new file:   biocompute/services.py
	new file:   biocompute/urls.py
Changes to be committed:
	new file:   prefix/__init__.py
	new file:   prefix/admin.py
	new file:   prefix/apis.py
	new file:   prefix/apps.py
	new file:   prefix/migrations/__init__.py
	new file:   prefix/models.py
	new file:   prefix/selectors.py
	new file:   prefix/services.py
	new file:   prefix/urls.py
Changes to be committed:
	modified:   .gitignore
	modified:   authentication/apis.py
	modified:   authentication/migrations/0001_initial.py
	deleted:    authentication/migrations/0002_newuser.py
	modified:   authentication/services.py
	new file:   biocompute/migrations/0001_initial.py
	modified:   docs/refactor.md
	new file:   prefix/migrations/0001_initial.py
	modified:   search/selectors.py
	new file:   test.json
	new file:   tests/fixtures/old_test_data.json
	modified:   tests/fixtures/test_data.json
	deleted:    tests/test_database.py
	deleted:    tests/test_fixtures.py
	deleted:    tests/test_models
	modified:   tests/test_views/test_api_account_activate.py
	renamed:    tests/test_views/test_api_accounts_describe.py -> tests/test_views/test_api_account_describe.py
	modified:   tests/test_views/test_api_auth_add.py
	modified:   tests/test_views/test_api_auth_reset_token.py
	deleted:    tests/test_views/test_api_groups_group_info.py
	deleted:    tests/test_views/test_api_groups_modify.py
	deleted:    tests/test_views/test_api_objects.py
	deleted:    tests/test_views/test_api_objects_drafts_create.py
	deleted:    tests/test_views/test_api_objects_drafts_modify.py
	deleted:    tests/test_views/test_api_objects_drafts_publish.py
	deleted:    tests/test_views/test_api_objects_search.py
	deleted:    tests/test_views/test_api_objects_validate.py
	deleted:    tests/test_views/test_api_prefixes_create.py
	deleted:    tests/test_views/test_api_prefixes_token.py
	deleted:    tests/test_views/test_get_object_id_draft.py
	deleted:    tests/test_views/test_get_objectid.py
	deleted:    tests/test_views/test_published_object_by_id.py
	modified:   token.json
@HadleyKing HadleyKing merged commit 6366b0b into model_refactor Mar 14, 2024
1 check passed
Copy link

gitguardian bot commented Mar 14, 2024

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
4444555 Triggered Django Secret Key 8fdb62a config/settings.py View secret
10002004 Triggered Generic Password e05dd32 test.json View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

@HadleyKing HadleyKing deleted the account_tests branch March 14, 2024 16:16
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.

1 participant