From 0539137d1b735cf02fab9c1bc6f6fdb1f63d04a3 Mon Sep 17 00:00:00 2001 From: John Kennedy <65985482+jkennedyvz@users.noreply.github.com> Date: Fri, 1 Dec 2023 13:49:38 -0800 Subject: [PATCH 1/3] removing Verizon language from CoC, and adjusting reporting guidance. --- Code-of-Conduct.md | 20 +++++--------------- Contributing.md | 2 +- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/Code-of-Conduct.md b/Code-of-Conduct.md index 0061f8eda..f7d330012 100644 --- a/Code-of-Conduct.md +++ b/Code-of-Conduct.md @@ -1,16 +1,14 @@ -# Verizon Media Open Source Code of Conduct +# ASHIRT Code of Conduct ## Summary This Code of Conduct is our way to encourage good behavior and discourage bad behavior in our open source projects. We invite participation from many people to bring different perspectives to our projects. We will do our part to foster a welcoming and professional environment free of harassment. We expect participants to communicate professionally and thoughtfully during their involvement with this project. -Participants may lose their good standing by engaging in misconduct. For example: insulting, threatening, or conveying unwelcome sexual content. We ask participants who observe conduct issues to report the incident directly to the project's Response Team at opensource-conduct@verizonmedia.com. Verizon Media will assign a respondent to address the issue. We may remove harassers from this project. - This code does not replace the terms of service or acceptable use policies of the websites used to support this project. We acknowledge that participants may be subject to additional conduct terms based on their employment which may govern their online expressions. ## Details This Code of Conduct makes our expectations of participants in this community explicit. * We forbid harassment and abusive speech within this community. -* We request participants to report misconduct to the project’s Response Team. +* We request participants to report misconduct to the project’s moderation team on discord. * We urge participants to refrain from using discussion forums to play out a fight. ### Expected Behaviors @@ -25,7 +23,7 @@ We expect participants in this community to conduct themselves professionally. S * **Leave with class.** When you wish to resign from participating in this project for any reason, you are free to fork the code and create a competitive project. Open Source explicitly allows this. Your exit should not be dramatic or bitter. ### Unacceptable Behaviors -Participants remain in good standing when they do not engage in misconduct or harassment (some examples follow). We do not list all forms of harassment, nor imply some forms of harassment are not worthy of action. Any participant who *feels* harassed or *observes* harassment, should report the incident to the Response Team. +Participants remain in good standing when they do not engage in misconduct or harassment (some examples follow). We do not list all forms of harassment, nor imply some forms of harassment are not worthy of action. Any participant who *feels* harassed or *observes* harassment, should report the incident to the moderation team. * **Don't be a bigot.** Calling out project members by their identity or background in a negative or insulting manner. This includes, but is not limited to, slurs or insinuations related to protected or suspect classes e.g. race, color, citizenship, national origin, political belief, religion, sexual orientation, gender identity and expression, age, size, culture, ethnicity, genetic features, language, profession, national minority status, mental or physical ability. * **Don't insult.** Insulting remarks about a person’s lifestyle practices. * **Don't dox.** Revealing private information about other participants without explicit permission. @@ -35,18 +33,10 @@ Participants remain in good standing when they do not engage in misconduct or ha * **Don't disrupt.** Sustained disruptions in a discussion. ### Reporting Issues -If you experience or witness misconduct, or have any other concerns about the conduct of members of this project, please report it by contacting our Response Team at opensource-conduct@verizonmedia.com who will handle your report with discretion. Your report should include: +If you experience or witness misconduct, or have any other concerns about the conduct of members of this project, please report it by contacting a moderator on discord who will handle your report with discretion. Your report should include: * Your preferred contact information. We cannot process anonymous reports. * Names (real or usernames) of those involved in the incident. * Your account of what occurred, and if the incident is ongoing. Please provide links to or transcripts of the publicly available records (e.g. a mailing list archive or a public IRC logger), so that we can review it. * Any additional information that may be helpful to achieve resolution. -After filing a report, a representative will contact you directly to review the incident and ask additional questions. If a member of the Verizon Media Response Team is named in an incident report, that member will be recused from handling your incident. If the complaint originates from a member of the Response Team, it will be addressed by a different member of the Response Team. We will consider reports to be confidential for the purpose of protecting victims of abuse. - -### Scope -Verizon Media will assign a Response Team member with admin rights on the project and legal rights on the project copyright. The Response Team is empowered to restrict some privileges to the project as needed. Since this project is governed by an open source license, any participant may fork the code under the terms of the project license. The Response Team’s goal is to preserve the project if possible, and will restrict or remove participation from those who disrupt the project. - -This code does not replace the terms of service or acceptable use policies that are provided by the websites used to support this community. Nor does this code apply to communications or actions that take place outside of the context of this community. Many participants in this project are also subject to codes of conduct based on their employment. This code is a social-contract that informs participants of our social expectations. It is not a terms of service or legal contract. - -## License and Acknowledgment. -This text is shared under the [CC-BY-4.0 license](https://creativecommons.org/licenses/by/4.0/). This code is based on a study conducted by the [TODO Group](https://todogroup.org/) of many codes used in the open source community. If you have feedback about this code, contact our Response Team at the address listed above. +After filing a report, a representative will contact you directly to review the incident and ask additional questions. If a member of the moderation team is named in an incident report, that member will be recused from handling your incident. If the complaint originates from a member of the moderation team, it will be addressed by a different member of the moderation team. We will consider reports to be confidential for the purpose of protecting victims of abuse. diff --git a/Contributing.md b/Contributing.md index 645cf3fe1..8cffe5afa 100644 --- a/Contributing.md +++ b/Contributing.md @@ -23,4 +23,4 @@ We only seek to accept code that you are authorized to contribute to the project ## Code of Conduct -We encourage inclusive and professional interactions on our project. We welcome everyone to open an issue, improve the documentation, report bug or ssubmit a pull request. By participating in this project, you agree to abide by the [Verizon Media Code of Conduct](Code-of-Conduct.md). If you feel there is a conduct issue related to this project, please raise it per the Code of Conduct process and we will address it. +We encourage inclusive and professional interactions on our project. We welcome everyone to open an issue, improve the documentation, report bug or ssubmit a pull request. By participating in this project, you agree to abide by the [Code of Conduct](Code-of-Conduct.md). If you feel there is a conduct issue related to this project, please raise it per the Code of Conduct process and we will address it. From cea5e5f4931b26d4f111667777aeba38aa0ec09f Mon Sep 17 00:00:00 2001 From: John Kennedy <65985482+jkennedyvz@users.noreply.github.com> Date: Wed, 6 Dec 2023 15:49:41 -0800 Subject: [PATCH 2/3] removing file level copyright and license information --- backend/authschemes/auth_bridge.go | 3 --- backend/authschemes/auth_bridge_test.go | 3 --- backend/authschemes/auth_scheme.go | 3 --- backend/authschemes/global_helpers.go | 3 --- backend/authschemes/global_helpers_test.go | 3 --- backend/authschemes/localauth/constants/consts.go | 3 --- backend/authschemes/localauth/local_auth.go | 3 --- backend/authschemes/localauth/session.go | 3 --- backend/authschemes/recoveryauth/constants/consts.go | 3 --- backend/authschemes/recoveryauth/recovery_auth.go | 3 --- backend/authschemes/recoveryauth/services.go | 3 --- backend/authschemes/recoveryauth/services_test.go | 3 --- backend/authschemes/user_profile.go | 3 --- backend/authschemes/webauthn/constants/consts.go | 3 --- backend/authschemes/webauthn/dtos.go | 3 --- backend/authschemes/webauthn/webauthn.go | 3 --- backend/bin/api/api.go | 3 --- backend/bin/dev/dev.go | 3 --- backend/bin/web/web.go | 3 --- backend/config/authconfig.go | 3 --- backend/config/flags.go | 3 --- backend/config/webconfig.go | 3 --- backend/contentstore/devstore.go | 3 --- backend/contentstore/gcpstore.go | 3 --- backend/contentstore/image_storable.go | 3 --- backend/contentstore/memstore.go | 3 --- backend/contentstore/memstore_test.go | 3 --- backend/contentstore/s3store.go | 3 --- backend/contentstore/storable.go | 3 --- backend/contentstore/store.go | 3 --- backend/database/canned_queries.go | 3 --- backend/database/connection_proxy.go | 3 --- backend/database/converters.go | 3 --- backend/database/database.go | 3 --- backend/database/helpers.go | 3 --- backend/database/seeding/helpers.go | 3 --- backend/database/seeding/hp_seed_data.go | 3 --- backend/database/seeding/seeder.go | 3 --- backend/database/test_connection.go | 3 --- backend/database/transaction.go | 3 --- backend/dtos/dtos.go | 3 --- backend/dtos/gentypes/generate_typescript_types.go | 3 --- backend/enhancementservices/enhancement_helpers_test.go | 3 --- backend/enhancementservices/event_new_evidence.go | 3 --- backend/enhancementservices/rie_interface.go | 3 --- backend/enhancementservices/rie_interface_test.go | 3 --- backend/enhancementservices/runner.go | 3 --- backend/enhancementservices/types.go | 3 --- backend/enhancementservices/worker_aws.go | 3 --- backend/enhancementservices/worker_aws_test.go | 3 --- backend/enhancementservices/worker_web.go | 3 --- backend/enhancementservices/worker_web_test.go | 3 --- backend/errors.go | 3 --- backend/helpers/chan_to_slice.go | 3 --- backend/helpers/chan_to_slice_test.go | 3 --- backend/helpers/clamp.go | 3 --- backend/helpers/clamp_test.go | 3 --- backend/helpers/filter/date_range.go | 3 --- backend/helpers/filter/date_values.go | 3 --- backend/helpers/filter/date_values_test.go | 3 --- backend/helpers/filter/filter_modifier.go | 3 --- backend/helpers/filter/values.go | 3 --- backend/helpers/filter/values_test.go | 3 --- backend/helpers/functional.go | 3 --- backend/helpers/functional_test.go | 3 --- backend/helpers/internal_helpers_test.go | 3 --- backend/helpers/make_json_request.go | 3 --- backend/helpers/make_json_request_test.go | 3 --- backend/helpers/ptr.go | 3 --- backend/helpers/query_parser.go | 3 --- backend/helpers/query_parser_test.go | 3 --- backend/helpers/variables.go | 3 --- backend/integration/api_test.go | 3 --- backend/integration/authorization_test.go | 3 --- backend/integration/evidence_test.go | 3 --- backend/integration/findings_test.go | 3 --- backend/integration/helpers.go | 3 --- backend/integration/operation_permissions_test.go | 3 --- backend/integration/operations_test.go | 3 --- backend/integration/querying_evidence_test.go | 3 --- backend/models/expanded.go | 3 --- backend/models/models.go | 3 --- backend/policy/operation.go | 3 --- backend/policy/permissions.go | 3 --- backend/policy/policy.go | 3 --- backend/server/api.go | 3 --- backend/server/dissectors/coercable.go | 3 --- backend/server/dissectors/coercable_test.go | 3 --- backend/server/dissectors/converters.go | 3 --- backend/server/dissectors/converters_test.go | 3 --- backend/server/dissectors/dissected_request.go | 3 --- backend/server/dissectors/dissected_request_test.go | 3 --- backend/server/middleware/api_key.go | 3 --- backend/server/middleware/api_key_internal_test.go | 3 --- backend/server/middleware/authenticator.go | 3 --- backend/server/middleware/csrf_header_injector.go | 3 --- backend/server/middleware/logger.go | 3 --- backend/server/middleware/types.go | 3 --- backend/server/remux/dissector_wrappers.go | 3 --- backend/server/remux/doc.go | 3 --- backend/server/remux/response_wrappers.go | 3 --- backend/server/remux/routing_wrappers.go | 3 --- backend/server/route_helper.go | 3 --- backend/server/shared_routes.go | 3 --- backend/server/web.go | 3 --- backend/services/api_key.go | 3 --- backend/services/api_key_test.go | 3 --- backend/services/auth_scheme.go | 3 --- backend/services/auth_scheme_test.go | 3 --- backend/services/evidence.go | 3 --- backend/services/evidence_internal_test.go | 3 --- backend/services/evidence_metadata.go | 3 --- backend/services/evidence_metadata_test.go | 3 --- backend/services/evidence_test.go | 3 --- backend/services/finding.go | 3 --- backend/services/finding_category.go | 3 --- backend/services/finding_category_test.go | 3 --- backend/services/finding_internal_test.go | 3 --- backend/services/finding_test.go | 3 --- backend/services/global_vars.go | 3 --- backend/services/global_vars_test.go | 3 --- backend/services/helpers.go | 3 --- backend/services/helpers_test.go | 3 --- backend/services/operation_role.go | 3 --- backend/services/operation_role_test.go | 3 --- backend/services/operation_vars.go | 3 --- backend/services/operation_vars_test.go | 3 --- backend/services/operations.go | 3 --- backend/services/operations_test.go | 3 --- backend/services/queries.go | 3 --- backend/services/queries_test.go | 3 --- backend/services/seeding_rewrap_test.go | 3 --- backend/services/service_helper_user_filter.go | 3 --- backend/services/service_helper_user_filter_test.go | 3 --- backend/services/service_helper_user_group_filter.go | 3 --- backend/services/service_helpers_internal_test.go | 3 --- backend/services/service_pagination_helper.go | 3 --- backend/services/service_pagination_helper_internal_test.go | 3 --- backend/services/service_pagination_helper_test.go | 3 --- backend/services/service_worker.go | 3 --- backend/services/service_worker_test.go | 3 --- backend/services/tag.go | 3 --- backend/services/tag_test.go | 3 --- backend/services/testing_helpers.go | 3 --- backend/services/user.go | 3 --- backend/services/user_groups.go | 3 --- backend/services/user_groups_test.go | 3 --- backend/services/user_test.go | 3 --- backend/session/store.go | 3 --- backend/session/wrappedsessionstore/local_session_store.go | 3 --- frontend/src/auth_context.tsx | 3 --- frontend/src/authschemes/index.tsx | 3 --- frontend/src/authschemes/local/linker/index.tsx | 3 --- frontend/src/authschemes/local/login/index.tsx | 3 --- frontend/src/authschemes/local/settings/index.tsx | 3 --- frontend/src/authschemes/local/totp/index.tsx | 3 --- frontend/src/authschemes/oidc/linker/index.tsx | 3 --- frontend/src/authschemes/oidc/login/index.tsx | 3 --- frontend/src/authschemes/recovery/constants.ts | 3 --- frontend/src/authschemes/recovery/index.tsx | 3 --- frontend/src/authschemes/recovery/services.ts | 3 --- frontend/src/authschemes/webauthn/helpers.ts | 3 --- frontend/src/authschemes/webauthn/index.ts | 3 --- frontend/src/authschemes/webauthn/linker/index.tsx | 3 --- frontend/src/authschemes/webauthn/login/index.tsx | 3 --- frontend/src/authschemes/webauthn/services.ts | 3 --- frontend/src/authschemes/webauthn/settings/index.tsx | 3 --- frontend/src/authschemes/webauthn/types.ts | 3 --- frontend/src/components/add_variable/index.tsx | 3 --- frontend/src/components/bullet_chooser/creator_chooser.tsx | 3 --- .../src/components/bullet_chooser/evidence_type_chooser.tsx | 3 --- frontend/src/components/bullet_chooser/index.tsx | 3 --- .../src/components/bullet_chooser/service_worker_chooser.tsx | 3 --- frontend/src/components/bullet_chooser/tag_chooser.tsx | 3 --- frontend/src/components/bullet_chooser/text_chooser.tsx | 3 --- frontend/src/components/button/index.tsx | 3 --- frontend/src/components/card/index.tsx | 3 --- frontend/src/components/challenge_modal_form/index.tsx | 3 --- frontend/src/components/checkbox/index.tsx | 3 --- frontend/src/components/checkbox_complex/index.tsx | 3 --- frontend/src/components/chooser/index.tsx | 3 --- frontend/src/components/code_block/ace_editor/index.tsx | 3 --- frontend/src/components/code_block/index.tsx | 3 --- frontend/src/components/code_block/source_display.tsx | 3 --- frontend/src/components/code_block/supported_languages.ts | 3 --- frontend/src/components/combobox/index.tsx | 3 --- frontend/src/components/date_range_picker/index.tsx | 3 --- .../components/date_range_picker/range_picker_helpers.test.ts | 3 --- .../src/components/date_range_picker/range_picker_helpers.ts | 3 --- frontend/src/components/error_display/index.tsx | 3 --- frontend/src/components/evidence_chooser/index.tsx | 3 --- frontend/src/components/evidence_preview/index.tsx | 3 --- frontend/src/components/expandable_area/index.tsx | 3 --- frontend/src/components/filter_fields/filter-field-grid.tsx | 3 --- frontend/src/components/filter_fields/helpers.ts | 3 --- frontend/src/components/finding_chooser/index.tsx | 3 --- frontend/src/components/form/index.tsx | 3 --- frontend/src/components/help/index.tsx | 3 --- frontend/src/components/http_cycle_viewer/components.tsx | 3 --- frontend/src/components/http_cycle_viewer/helpers.ts | 3 --- frontend/src/components/http_cycle_viewer/index.tsx | 3 --- frontend/src/components/http_cycle_viewer/is_valid_har.ts | 3 --- frontend/src/components/image_upload/index.tsx | 3 --- frontend/src/components/input/index.tsx | 3 --- frontend/src/components/layout/index.tsx | 3 --- frontend/src/components/layout/nav_bar/index.tsx | 3 --- frontend/src/components/layout/nav_bar/user_menu/index.tsx | 3 --- frontend/src/components/lazy_load_component/index.tsx | 3 --- frontend/src/components/lightbox/index.tsx | 3 --- frontend/src/components/list_menu/index.tsx | 3 --- frontend/src/components/loading_spinner/index.tsx | 3 --- frontend/src/components/markdown_renderer/index.tsx | 3 --- .../src/components/markdown_renderer/sync_renderer/index.tsx | 3 --- frontend/src/components/menu/index.tsx | 3 --- frontend/src/components/modal/index.tsx | 3 --- frontend/src/components/modal_form/index.tsx | 3 --- frontend/src/components/operation_badges/index.tsx | 3 --- frontend/src/components/operation_badges_modal/index.tsx | 3 --- frontend/src/components/paging/index.tsx | 3 --- frontend/src/components/popover/index.tsx | 3 --- frontend/src/components/popover_menu/index.tsx | 3 --- frontend/src/components/radio_group/index.tsx | 3 --- frontend/src/components/select/index.tsx | 3 --- frontend/src/components/settings_section/index.tsx | 3 --- frontend/src/components/tab_vertical_menu/index.tsx | 3 --- frontend/src/components/table/error_row.tsx | 3 --- frontend/src/components/table/index.tsx | 3 --- frontend/src/components/table/loading_row.tsx | 3 --- frontend/src/components/table/spanned_row.tsx | 3 --- frontend/src/components/tabs/index.tsx | 3 --- frontend/src/components/tag/index.tsx | 3 --- frontend/src/components/tag_color_picker/index.tsx | 3 --- frontend/src/components/tag_editor/index.tsx | 3 --- frontend/src/components/tag_editor/modals.tsx | 3 --- frontend/src/components/tag_list/index.tsx | 3 --- frontend/src/components/text_copiers/index.tsx | 3 --- frontend/src/components/timeline/index.tsx | 3 --- frontend/src/components/tooltip/index.tsx | 3 --- frontend/src/components/user_chooser/index.tsx | 3 --- frontend/src/components/user_group_chooser/index.tsx | 3 --- frontend/src/components/with_label/index.tsx | 3 --- frontend/src/global_types.ts | 3 --- frontend/src/helpers/compute_delta.test.ts | 3 --- frontend/src/helpers/compute_delta.ts | 3 --- frontend/src/helpers/highlight_substring.tsx | 3 --- frontend/src/helpers/index.tsx | 3 --- frontend/src/helpers/is_not_undefined.ts | 3 --- frontend/src/helpers/localStroage.ts | 3 --- frontend/src/helpers/navigate-to-query.ts | 3 --- frontend/src/helpers/query_parser.test.ts | 3 --- frontend/src/helpers/query_parser.ts | 3 --- frontend/src/helpers/reload_bus.ts | 3 --- frontend/src/helpers/service-worker-config/index.tsx | 3 --- frontend/src/helpers/tag_colors.ts | 3 --- frontend/src/helpers/use_async_component.tsx | 3 --- frontend/src/helpers/use_element_rect.ts | 3 --- frontend/src/helpers/use_form.ts | 3 --- frontend/src/helpers/use_modal.tsx | 3 --- frontend/src/helpers/use_user_is_super_admin.ts | 3 --- frontend/src/helpers/use_wired_data.tsx | 3 --- frontend/src/index.tsx | 3 --- frontend/src/pages/account_settings/api_keys/index.tsx | 3 --- frontend/src/pages/account_settings/api_keys/modals.tsx | 3 --- frontend/src/pages/account_settings/auth_methods/index.tsx | 3 --- frontend/src/pages/account_settings/index.tsx | 3 --- frontend/src/pages/account_settings/modals/index.tsx | 3 --- frontend/src/pages/account_settings/profile/index.tsx | 3 --- frontend/src/pages/account_settings/security/index.tsx | 3 --- frontend/src/pages/admin/add_headless/index.tsx | 3 --- frontend/src/pages/admin/add_user/index.tsx | 3 --- frontend/src/pages/admin/add_user_group/index.tsx | 3 --- frontend/src/pages/admin/auth_table/index.tsx | 3 --- frontend/src/pages/admin/default_tag_editor/index.tsx | 3 --- frontend/src/pages/admin/finding_categories_table/index.tsx | 3 --- frontend/src/pages/admin/finding_categories_table/modals.tsx | 3 --- frontend/src/pages/admin/global_vars_table/index.tsx | 3 --- frontend/src/pages/admin/index.tsx | 3 --- frontend/src/pages/admin/invite_user/index.tsx | 3 --- frontend/src/pages/admin/operations_table/index.tsx | 3 --- frontend/src/pages/admin/recovery_metrics/index.tsx | 3 --- .../pages/admin/service_worker_table/add_service_button.tsx | 3 --- frontend/src/pages/admin/service_worker_table/index.tsx | 3 --- frontend/src/pages/admin/service_worker_table/modals.tsx | 3 --- frontend/src/pages/admin/tag_porter/index.tsx | 3 --- frontend/src/pages/admin/user_group_table/index.tsx | 3 --- frontend/src/pages/admin/user_table/index.tsx | 3 --- frontend/src/pages/admin_modals/index.tsx | 3 --- frontend/src/pages/admin_modals/simple_user_table/index.tsx | 3 --- frontend/src/pages/login/index.tsx | 3 --- frontend/src/pages/not_found/index.tsx | 3 --- frontend/src/pages/operation_edit/batch_run_worker/index.tsx | 3 --- .../src/pages/operation_edit/delete_operation_button/index.tsx | 3 --- frontend/src/pages/operation_edit/index.tsx | 3 --- frontend/src/pages/operation_edit/operation_editor/index.tsx | 3 --- .../src/pages/operation_edit/operation_vars_table/index.tsx | 3 --- frontend/src/pages/operation_edit/tag_editor/index.tsx | 3 --- .../operation_edit/user_group_permission_editor/index.tsx | 3 --- .../src/pages/operation_edit/user_permission_editor/index.tsx | 3 --- frontend/src/pages/operation_list/index.tsx | 3 --- frontend/src/pages/operation_list/list/index.tsx | 3 --- .../src/pages/operation_list/new_operation_button/index.tsx | 3 --- frontend/src/pages/operation_list/operation_card/index.tsx | 3 --- frontend/src/pages/operation_show/evidence_list/index.tsx | 3 --- frontend/src/pages/operation_show/evidence_modals/index.tsx | 3 --- .../pages/operation_show/finding_list/findings_table/index.tsx | 3 --- frontend/src/pages/operation_show/finding_list/index.tsx | 3 --- frontend/src/pages/operation_show/finding_modals/index.tsx | 3 --- .../pages/operation_show/finding_show/finding_info/index.tsx | 3 --- frontend/src/pages/operation_show/finding_show/index.tsx | 3 --- frontend/src/pages/operation_show/layout/index.tsx | 3 --- .../pages/operation_show/layout/sidebar/action_menu/index.tsx | 3 --- frontend/src/pages/operation_show/layout/sidebar/index.tsx | 3 --- .../pages/operation_show/layout/sidebar/query_modal/index.tsx | 3 --- frontend/src/pages/operation_show/layout/toolbar/index.tsx | 3 --- .../src/pages/operation_show/layout/toolbar/search_modal.tsx | 3 --- frontend/src/routes.tsx | 3 --- frontend/src/services/api_keys.ts | 3 --- frontend/src/services/auth.ts | 3 --- frontend/src/services/data_sources/backend/index.ts | 3 --- frontend/src/services/data_sources/backend/request_helper.ts | 3 --- frontend/src/services/data_sources/converters.ts | 3 --- frontend/src/services/data_sources/data_source.ts | 3 --- frontend/src/services/findings.ts | 3 --- frontend/src/services/flags.ts | 3 --- frontend/src/services/global_vars.ts | 3 --- frontend/src/services/index.ts | 3 --- frontend/src/services/operation_vars.ts | 3 --- frontend/src/services/operations.ts | 3 --- frontend/src/services/queries.ts | 3 --- frontend/src/services/service_workers.ts | 3 --- frontend/src/services/tags.ts | 3 --- frontend/src/services/user.ts | 3 --- frontend/src/services/users.ts | 3 --- frontend/src/test_helpers/deferred.ts | 3 --- frontend/src/test_helpers/mock-stylesheet.js | 3 --- frontend/src/test_helpers/setup.js | 3 --- signer/hmac.go | 3 --- 337 files changed, 1011 deletions(-) diff --git a/backend/authschemes/auth_bridge.go b/backend/authschemes/auth_bridge.go index f00cd191b..b563c4cec 100644 --- a/backend/authschemes/auth_bridge.go +++ b/backend/authschemes/auth_bridge.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package authschemes import ( diff --git a/backend/authschemes/auth_bridge_test.go b/backend/authschemes/auth_bridge_test.go index c789c9796..a817e5f52 100644 --- a/backend/authschemes/auth_bridge_test.go +++ b/backend/authschemes/auth_bridge_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package authschemes_test import ( diff --git a/backend/authschemes/auth_scheme.go b/backend/authschemes/auth_scheme.go index 906960c42..b305aab76 100644 --- a/backend/authschemes/auth_scheme.go +++ b/backend/authschemes/auth_scheme.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package authschemes import ( diff --git a/backend/authschemes/global_helpers.go b/backend/authschemes/global_helpers.go index 8458bd1a0..0830b34d8 100644 --- a/backend/authschemes/global_helpers.go +++ b/backend/authschemes/global_helpers.go @@ -1,6 +1,3 @@ -// Copyright 2021, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package authschemes import ( diff --git a/backend/authschemes/global_helpers_test.go b/backend/authschemes/global_helpers_test.go index 80e13d710..45dd9b709 100644 --- a/backend/authschemes/global_helpers_test.go +++ b/backend/authschemes/global_helpers_test.go @@ -1,6 +1,3 @@ -// Copyright 2021, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package authschemes_test import ( diff --git a/backend/authschemes/localauth/constants/consts.go b/backend/authschemes/localauth/constants/consts.go index cd875dade..a818595f6 100644 --- a/backend/authschemes/localauth/constants/consts.go +++ b/backend/authschemes/localauth/constants/consts.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package constants // Code is the "Name" value used by localauth diff --git a/backend/authschemes/localauth/local_auth.go b/backend/authschemes/localauth/local_auth.go index 734529431..3cdc94e27 100644 --- a/backend/authschemes/localauth/local_auth.go +++ b/backend/authschemes/localauth/local_auth.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package localauth import ( diff --git a/backend/authschemes/localauth/session.go b/backend/authschemes/localauth/session.go index da2e76bf2..2cebbad32 100644 --- a/backend/authschemes/localauth/session.go +++ b/backend/authschemes/localauth/session.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package localauth import ( diff --git a/backend/authschemes/recoveryauth/constants/consts.go b/backend/authschemes/recoveryauth/constants/consts.go index b3178afb8..62647f157 100644 --- a/backend/authschemes/recoveryauth/constants/consts.go +++ b/backend/authschemes/recoveryauth/constants/consts.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package constants // Code is the "Name" value used by recoveryauth diff --git a/backend/authschemes/recoveryauth/recovery_auth.go b/backend/authschemes/recoveryauth/recovery_auth.go index 2f8f09aff..03ff1c14b 100644 --- a/backend/authschemes/recoveryauth/recovery_auth.go +++ b/backend/authschemes/recoveryauth/recovery_auth.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package recoveryauth import ( diff --git a/backend/authschemes/recoveryauth/services.go b/backend/authschemes/recoveryauth/services.go index aac85710a..76865b62c 100644 --- a/backend/authschemes/recoveryauth/services.go +++ b/backend/authschemes/recoveryauth/services.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package recoveryauth import ( diff --git a/backend/authschemes/recoveryauth/services_test.go b/backend/authschemes/recoveryauth/services_test.go index 500146d97..89fd6c8e3 100644 --- a/backend/authschemes/recoveryauth/services_test.go +++ b/backend/authschemes/recoveryauth/services_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - // TODO: these tests rely on service-level testing data, which needs to be migrated out of services // (as a practical matter, having to recreate this functionality everywhere is burdensome at best) // However, all of these tests were run at the service level prior, and work. These should be re-enabled diff --git a/backend/authschemes/user_profile.go b/backend/authschemes/user_profile.go index 4acaf152e..264d7a3fa 100644 --- a/backend/authschemes/user_profile.go +++ b/backend/authschemes/user_profile.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package authschemes import ( diff --git a/backend/authschemes/webauthn/constants/consts.go b/backend/authschemes/webauthn/constants/consts.go index 5190fc36c..c8510a9be 100644 --- a/backend/authschemes/webauthn/constants/consts.go +++ b/backend/authschemes/webauthn/constants/consts.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package constants // Name is the "Name" value used by localauth diff --git a/backend/authschemes/webauthn/dtos.go b/backend/authschemes/webauthn/dtos.go index d69fbb5d9..5b97419e9 100644 --- a/backend/authschemes/webauthn/dtos.go +++ b/backend/authschemes/webauthn/dtos.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package webauthn import "time" diff --git a/backend/authschemes/webauthn/webauthn.go b/backend/authschemes/webauthn/webauthn.go index ccef857c2..cdf8ac6d9 100644 --- a/backend/authschemes/webauthn/webauthn.go +++ b/backend/authschemes/webauthn/webauthn.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package webauthn import ( diff --git a/backend/bin/api/api.go b/backend/bin/api/api.go index bb6c6bf63..608756148 100644 --- a/backend/bin/api/api.go +++ b/backend/bin/api/api.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package main import ( diff --git a/backend/bin/dev/dev.go b/backend/bin/dev/dev.go index 91d5d8925..a13c8f8e7 100644 --- a/backend/bin/dev/dev.go +++ b/backend/bin/dev/dev.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package main import ( diff --git a/backend/bin/web/web.go b/backend/bin/web/web.go index 28eb1a784..efbd6da4b 100644 --- a/backend/bin/web/web.go +++ b/backend/bin/web/web.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package main import ( diff --git a/backend/config/authconfig.go b/backend/config/authconfig.go index 5edb4ddad..b9b9b538e 100644 --- a/backend/config/authconfig.go +++ b/backend/config/authconfig.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package config import ( diff --git a/backend/config/flags.go b/backend/config/flags.go index 1efc84f8d..acefd4a8e 100644 --- a/backend/config/flags.go +++ b/backend/config/flags.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package config import ( diff --git a/backend/config/webconfig.go b/backend/config/webconfig.go index 0ef283185..bbf534353 100644 --- a/backend/config/webconfig.go +++ b/backend/config/webconfig.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package config import ( diff --git a/backend/contentstore/devstore.go b/backend/contentstore/devstore.go index e195b3176..704853fc8 100644 --- a/backend/contentstore/devstore.go +++ b/backend/contentstore/devstore.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package contentstore import ( diff --git a/backend/contentstore/gcpstore.go b/backend/contentstore/gcpstore.go index 6a0127e1a..77131bfd2 100644 --- a/backend/contentstore/gcpstore.go +++ b/backend/contentstore/gcpstore.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package contentstore import ( diff --git a/backend/contentstore/image_storable.go b/backend/contentstore/image_storable.go index 727f130a8..bfa486321 100644 --- a/backend/contentstore/image_storable.go +++ b/backend/contentstore/image_storable.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package contentstore import ( diff --git a/backend/contentstore/memstore.go b/backend/contentstore/memstore.go index 7da925cd9..5446d10c8 100644 --- a/backend/contentstore/memstore.go +++ b/backend/contentstore/memstore.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package contentstore import ( diff --git a/backend/contentstore/memstore_test.go b/backend/contentstore/memstore_test.go index a1c0a6f0f..9ce4b6607 100644 --- a/backend/contentstore/memstore_test.go +++ b/backend/contentstore/memstore_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package contentstore_test import ( diff --git a/backend/contentstore/s3store.go b/backend/contentstore/s3store.go index ac3ef362a..830c21d1a 100644 --- a/backend/contentstore/s3store.go +++ b/backend/contentstore/s3store.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package contentstore import ( diff --git a/backend/contentstore/storable.go b/backend/contentstore/storable.go index 2018a62e1..8ee7893e7 100644 --- a/backend/contentstore/storable.go +++ b/backend/contentstore/storable.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package contentstore // Storable represents content in a yet-to-be-uploaded state. The basic workflow when using this is diff --git a/backend/contentstore/store.go b/backend/contentstore/store.go index 4d9527c5f..0f7d676f4 100644 --- a/backend/contentstore/store.go +++ b/backend/contentstore/store.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package contentstore import ( diff --git a/backend/database/canned_queries.go b/backend/database/canned_queries.go index 0edc2860a..12322a17b 100644 --- a/backend/database/canned_queries.go +++ b/backend/database/canned_queries.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package database import ( diff --git a/backend/database/connection_proxy.go b/backend/database/connection_proxy.go index 2b1b10604..354fe1f07 100644 --- a/backend/database/connection_proxy.go +++ b/backend/database/connection_proxy.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package database import ( diff --git a/backend/database/converters.go b/backend/database/converters.go index ac81df3d2..d5915809b 100644 --- a/backend/database/converters.go +++ b/backend/database/converters.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package database import ( diff --git a/backend/database/database.go b/backend/database/database.go index 57ed799cf..a6a0ef216 100644 --- a/backend/database/database.go +++ b/backend/database/database.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package database import ( diff --git a/backend/database/helpers.go b/backend/database/helpers.go index 098e4373f..425361cea 100644 --- a/backend/database/helpers.go +++ b/backend/database/helpers.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package database import ( diff --git a/backend/database/seeding/helpers.go b/backend/database/seeding/helpers.go index d6cb917cd..870fb5f03 100644 --- a/backend/database/seeding/helpers.go +++ b/backend/database/seeding/helpers.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package seeding import ( diff --git a/backend/database/seeding/hp_seed_data.go b/backend/database/seeding/hp_seed_data.go index 36c5581de..2c54a92df 100644 --- a/backend/database/seeding/hp_seed_data.go +++ b/backend/database/seeding/hp_seed_data.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package seeding import ( diff --git a/backend/database/seeding/seeder.go b/backend/database/seeding/seeder.go index e97330dfa..939f0f1e2 100644 --- a/backend/database/seeding/seeder.go +++ b/backend/database/seeding/seeder.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package seeding import ( diff --git a/backend/database/test_connection.go b/backend/database/test_connection.go index f4325b68c..f6c024879 100644 --- a/backend/database/test_connection.go +++ b/backend/database/test_connection.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package database import ( diff --git a/backend/database/transaction.go b/backend/database/transaction.go index 435c9b19f..b0246190f 100644 --- a/backend/database/transaction.go +++ b/backend/database/transaction.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package database import ( diff --git a/backend/dtos/dtos.go b/backend/dtos/dtos.go index 2047a66a0..8e30f9ebe 100644 --- a/backend/dtos/dtos.go +++ b/backend/dtos/dtos.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package dtos import ( diff --git a/backend/dtos/gentypes/generate_typescript_types.go b/backend/dtos/gentypes/generate_typescript_types.go index 77771c8f7..1eeb64f20 100644 --- a/backend/dtos/gentypes/generate_typescript_types.go +++ b/backend/dtos/gentypes/generate_typescript_types.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package main import ( diff --git a/backend/enhancementservices/enhancement_helpers_test.go b/backend/enhancementservices/enhancement_helpers_test.go index 3c705eb4b..b9530ac81 100644 --- a/backend/enhancementservices/enhancement_helpers_test.go +++ b/backend/enhancementservices/enhancement_helpers_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package enhancementservices_test import ( diff --git a/backend/enhancementservices/event_new_evidence.go b/backend/enhancementservices/event_new_evidence.go index e51a81a66..c9b60008a 100644 --- a/backend/enhancementservices/event_new_evidence.go +++ b/backend/enhancementservices/event_new_evidence.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package enhancementservices import ( diff --git a/backend/enhancementservices/rie_interface.go b/backend/enhancementservices/rie_interface.go index 41ffa7efb..b5636fcae 100644 --- a/backend/enhancementservices/rie_interface.go +++ b/backend/enhancementservices/rie_interface.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package enhancementservices import ( diff --git a/backend/enhancementservices/rie_interface_test.go b/backend/enhancementservices/rie_interface_test.go index 5b5a48019..18b08ef13 100644 --- a/backend/enhancementservices/rie_interface_test.go +++ b/backend/enhancementservices/rie_interface_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package enhancementservices_test import ( diff --git a/backend/enhancementservices/runner.go b/backend/enhancementservices/runner.go index 4ba6b6916..283d16eae 100644 --- a/backend/enhancementservices/runner.go +++ b/backend/enhancementservices/runner.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package enhancementservices import ( diff --git a/backend/enhancementservices/types.go b/backend/enhancementservices/types.go index 29471e7d2..da7d2a75c 100644 --- a/backend/enhancementservices/types.go +++ b/backend/enhancementservices/types.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package enhancementservices import ( diff --git a/backend/enhancementservices/worker_aws.go b/backend/enhancementservices/worker_aws.go index ee8de2433..db2fdfbbb 100644 --- a/backend/enhancementservices/worker_aws.go +++ b/backend/enhancementservices/worker_aws.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package enhancementservices import ( diff --git a/backend/enhancementservices/worker_aws_test.go b/backend/enhancementservices/worker_aws_test.go index c8090d1ec..adac88fe3 100644 --- a/backend/enhancementservices/worker_aws_test.go +++ b/backend/enhancementservices/worker_aws_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package enhancementservices_test import ( diff --git a/backend/enhancementservices/worker_web.go b/backend/enhancementservices/worker_web.go index e50a7b338..3b829b3e4 100644 --- a/backend/enhancementservices/worker_web.go +++ b/backend/enhancementservices/worker_web.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package enhancementservices import ( diff --git a/backend/enhancementservices/worker_web_test.go b/backend/enhancementservices/worker_web_test.go index dc19be6a0..60db3677f 100644 --- a/backend/enhancementservices/worker_web_test.go +++ b/backend/enhancementservices/worker_web_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package enhancementservices_test import ( diff --git a/backend/errors.go b/backend/errors.go index d18c5f17e..8c532f53a 100644 --- a/backend/errors.go +++ b/backend/errors.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package backend import ( diff --git a/backend/helpers/chan_to_slice.go b/backend/helpers/chan_to_slice.go index 51d1a90a2..3af066c68 100644 --- a/backend/helpers/chan_to_slice.go +++ b/backend/helpers/chan_to_slice.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package helpers // ChanToSlice is a generic function that converts a buffered channel into a slice. This diff --git a/backend/helpers/chan_to_slice_test.go b/backend/helpers/chan_to_slice_test.go index f1f1e9673..23adce5da 100644 --- a/backend/helpers/chan_to_slice_test.go +++ b/backend/helpers/chan_to_slice_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package helpers_test import ( diff --git a/backend/helpers/clamp.go b/backend/helpers/clamp.go index ba7c29d52..42d82b381 100644 --- a/backend/helpers/clamp.go +++ b/backend/helpers/clamp.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package helpers // Clamp is a small helper that ensures that a given number v lies between bounds m, n. If it is outside diff --git a/backend/helpers/clamp_test.go b/backend/helpers/clamp_test.go index 21ccda3f0..5197ba4e0 100644 --- a/backend/helpers/clamp_test.go +++ b/backend/helpers/clamp_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package helpers_test import ( diff --git a/backend/helpers/filter/date_range.go b/backend/helpers/filter/date_range.go index be54a2967..54e4df0a9 100644 --- a/backend/helpers/filter/date_range.go +++ b/backend/helpers/filter/date_range.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package filter import "time" diff --git a/backend/helpers/filter/date_values.go b/backend/helpers/filter/date_values.go index 734d24b2c..bdae68402 100644 --- a/backend/helpers/filter/date_values.go +++ b/backend/helpers/filter/date_values.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package filter type DateValue struct { diff --git a/backend/helpers/filter/date_values_test.go b/backend/helpers/filter/date_values_test.go index acbbcba32..aa95b4338 100644 --- a/backend/helpers/filter/date_values_test.go +++ b/backend/helpers/filter/date_values_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package filter_test import ( diff --git a/backend/helpers/filter/filter_modifier.go b/backend/helpers/filter/filter_modifier.go index c7ee93a67..acdf9c20f 100644 --- a/backend/helpers/filter/filter_modifier.go +++ b/backend/helpers/filter/filter_modifier.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package filter type FilterModifier int64 diff --git a/backend/helpers/filter/values.go b/backend/helpers/filter/values.go index 888ca4310..1223052ad 100644 --- a/backend/helpers/filter/values.go +++ b/backend/helpers/filter/values.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package filter type Value struct { diff --git a/backend/helpers/filter/values_test.go b/backend/helpers/filter/values_test.go index 449ff70ed..fb46fed64 100644 --- a/backend/helpers/filter/values_test.go +++ b/backend/helpers/filter/values_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package filter_test import ( diff --git a/backend/helpers/functional.go b/backend/helpers/functional.go index b8d068e10..fecb4fa39 100644 --- a/backend/helpers/functional.go +++ b/backend/helpers/functional.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package helpers // Map is a generic function that converts a list of type T into a list of type U, along with diff --git a/backend/helpers/functional_test.go b/backend/helpers/functional_test.go index a2e7aa393..8f65d43af 100644 --- a/backend/helpers/functional_test.go +++ b/backend/helpers/functional_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package helpers_test import ( diff --git a/backend/helpers/internal_helpers_test.go b/backend/helpers/internal_helpers_test.go index 575759916..985d660aa 100644 --- a/backend/helpers/internal_helpers_test.go +++ b/backend/helpers/internal_helpers_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package helpers import ( diff --git a/backend/helpers/make_json_request.go b/backend/helpers/make_json_request.go index df40237c2..1d7e989c4 100644 --- a/backend/helpers/make_json_request.go +++ b/backend/helpers/make_json_request.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package helpers import ( diff --git a/backend/helpers/make_json_request_test.go b/backend/helpers/make_json_request_test.go index b408a356c..299ba9506 100644 --- a/backend/helpers/make_json_request_test.go +++ b/backend/helpers/make_json_request_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package helpers_test import ( diff --git a/backend/helpers/ptr.go b/backend/helpers/ptr.go index c1b0b7eda..1336e0e27 100644 --- a/backend/helpers/ptr.go +++ b/backend/helpers/ptr.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package helpers import "fmt" diff --git a/backend/helpers/query_parser.go b/backend/helpers/query_parser.go index 4d9f1f119..9719ecd11 100644 --- a/backend/helpers/query_parser.go +++ b/backend/helpers/query_parser.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package helpers import ( diff --git a/backend/helpers/query_parser_test.go b/backend/helpers/query_parser_test.go index 9d81140e6..db081c910 100644 --- a/backend/helpers/query_parser_test.go +++ b/backend/helpers/query_parser_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package helpers_test import ( diff --git a/backend/helpers/variables.go b/backend/helpers/variables.go index cadc48c46..3eb77438a 100644 --- a/backend/helpers/variables.go +++ b/backend/helpers/variables.go @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package helpers import "strings" diff --git a/backend/integration/api_test.go b/backend/integration/api_test.go index 87590847e..314d35ebd 100644 --- a/backend/integration/api_test.go +++ b/backend/integration/api_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package integration_test import ( diff --git a/backend/integration/authorization_test.go b/backend/integration/authorization_test.go index 6f5631e3b..68cb087b8 100644 --- a/backend/integration/authorization_test.go +++ b/backend/integration/authorization_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package integration_test import ( diff --git a/backend/integration/evidence_test.go b/backend/integration/evidence_test.go index 52a4e2f22..05657c9ae 100644 --- a/backend/integration/evidence_test.go +++ b/backend/integration/evidence_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package integration_test import ( diff --git a/backend/integration/findings_test.go b/backend/integration/findings_test.go index 0ba4eab06..f4bb15c93 100644 --- a/backend/integration/findings_test.go +++ b/backend/integration/findings_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package integration_test import ( diff --git a/backend/integration/helpers.go b/backend/integration/helpers.go index cfc2fd31b..4c779c2a0 100644 --- a/backend/integration/helpers.go +++ b/backend/integration/helpers.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package integration import ( diff --git a/backend/integration/operation_permissions_test.go b/backend/integration/operation_permissions_test.go index 23853001c..a70340d6d 100644 --- a/backend/integration/operation_permissions_test.go +++ b/backend/integration/operation_permissions_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package integration_test import ( diff --git a/backend/integration/operations_test.go b/backend/integration/operations_test.go index 2b558495f..22cedd400 100644 --- a/backend/integration/operations_test.go +++ b/backend/integration/operations_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package integration_test import ( diff --git a/backend/integration/querying_evidence_test.go b/backend/integration/querying_evidence_test.go index c552ba3c0..fbc757634 100644 --- a/backend/integration/querying_evidence_test.go +++ b/backend/integration/querying_evidence_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package integration_test import ( diff --git a/backend/models/expanded.go b/backend/models/expanded.go index 9bbc8ce38..e7f39a272 100644 --- a/backend/models/expanded.go +++ b/backend/models/expanded.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package models import "time" diff --git a/backend/models/models.go b/backend/models/models.go index 9e59c51b5..f4e68adbd 100644 --- a/backend/models/models.go +++ b/backend/models/models.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package models import ( diff --git a/backend/policy/operation.go b/backend/policy/operation.go index b5ea19080..f576ba401 100644 --- a/backend/policy/operation.go +++ b/backend/policy/operation.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package policy import "fmt" diff --git a/backend/policy/permissions.go b/backend/policy/permissions.go index 69011ceea..99fef22d7 100644 --- a/backend/policy/permissions.go +++ b/backend/policy/permissions.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package policy // Permission represents a low level action that a policy can enforce. diff --git a/backend/policy/policy.go b/backend/policy/policy.go index 55200a61f..def135e02 100644 --- a/backend/policy/policy.go +++ b/backend/policy/policy.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package policy import ( diff --git a/backend/server/api.go b/backend/server/api.go index 2b153a1c9..893c9d6d8 100644 --- a/backend/server/api.go +++ b/backend/server/api.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package server import ( diff --git a/backend/server/dissectors/coercable.go b/backend/server/dissectors/coercable.go index 93936795c..f8e1a6a73 100644 --- a/backend/server/dissectors/coercable.go +++ b/backend/server/dissectors/coercable.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package dissectors import ( diff --git a/backend/server/dissectors/coercable_test.go b/backend/server/dissectors/coercable_test.go index d083377db..f6303cb84 100644 --- a/backend/server/dissectors/coercable_test.go +++ b/backend/server/dissectors/coercable_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package dissectors import ( diff --git a/backend/server/dissectors/converters.go b/backend/server/dissectors/converters.go index fffd4298f..bd0267281 100644 --- a/backend/server/dissectors/converters.go +++ b/backend/server/dissectors/converters.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package dissectors import ( diff --git a/backend/server/dissectors/converters_test.go b/backend/server/dissectors/converters_test.go index 57b9b8743..0d324af7e 100644 --- a/backend/server/dissectors/converters_test.go +++ b/backend/server/dissectors/converters_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package dissectors import ( diff --git a/backend/server/dissectors/dissected_request.go b/backend/server/dissectors/dissected_request.go index 8836b451f..4de6bf39a 100644 --- a/backend/server/dissectors/dissected_request.go +++ b/backend/server/dissectors/dissected_request.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package dissectors import ( diff --git a/backend/server/dissectors/dissected_request_test.go b/backend/server/dissectors/dissected_request_test.go index a7ef53412..8516d1505 100644 --- a/backend/server/dissectors/dissected_request_test.go +++ b/backend/server/dissectors/dissected_request_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package dissectors_test import ( diff --git a/backend/server/middleware/api_key.go b/backend/server/middleware/api_key.go index 8166372e9..70b5b70e2 100644 --- a/backend/server/middleware/api_key.go +++ b/backend/server/middleware/api_key.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package middleware import ( diff --git a/backend/server/middleware/api_key_internal_test.go b/backend/server/middleware/api_key_internal_test.go index 081fb4c47..3c73f41bb 100644 --- a/backend/server/middleware/api_key_internal_test.go +++ b/backend/server/middleware/api_key_internal_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package middleware import ( diff --git a/backend/server/middleware/authenticator.go b/backend/server/middleware/authenticator.go index e20df4fae..21ecc93cd 100644 --- a/backend/server/middleware/authenticator.go +++ b/backend/server/middleware/authenticator.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package middleware import ( diff --git a/backend/server/middleware/csrf_header_injector.go b/backend/server/middleware/csrf_header_injector.go index 57345137d..ec232b4b6 100644 --- a/backend/server/middleware/csrf_header_injector.go +++ b/backend/server/middleware/csrf_header_injector.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package middleware import ( diff --git a/backend/server/middleware/logger.go b/backend/server/middleware/logger.go index 9ad9dbd9d..1f615be06 100644 --- a/backend/server/middleware/logger.go +++ b/backend/server/middleware/logger.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package middleware import ( diff --git a/backend/server/middleware/types.go b/backend/server/middleware/types.go index 89ac9eea4..b9061d8ed 100644 --- a/backend/server/middleware/types.go +++ b/backend/server/middleware/types.go @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package middleware import "net/http" diff --git a/backend/server/remux/dissector_wrappers.go b/backend/server/remux/dissector_wrappers.go index 8bf25cfcc..bdb4ae727 100644 --- a/backend/server/remux/dissector_wrappers.go +++ b/backend/server/remux/dissector_wrappers.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package remux import ( diff --git a/backend/server/remux/doc.go b/backend/server/remux/doc.go index c9ea59cc5..bc1d519de 100644 --- a/backend/server/remux/doc.go +++ b/backend/server/remux/doc.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - /* remux is a small module of re-wrapped functions. These exists to provide a more ergonomic interface into using chi / modules that utilize google mux implicitly (e.g. dissectors) diff --git a/backend/server/remux/response_wrappers.go b/backend/server/remux/response_wrappers.go index 856985381..8796cbd8e 100644 --- a/backend/server/remux/response_wrappers.go +++ b/backend/server/remux/response_wrappers.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package remux import ( diff --git a/backend/server/remux/routing_wrappers.go b/backend/server/remux/routing_wrappers.go index 6adcd8acd..d8a6a64b4 100644 --- a/backend/server/remux/routing_wrappers.go +++ b/backend/server/remux/routing_wrappers.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package remux import ( diff --git a/backend/server/route_helper.go b/backend/server/route_helper.go index 2dc28faec..03977b948 100644 --- a/backend/server/route_helper.go +++ b/backend/server/route_helper.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - /* This file provides a rewrap of the relevant remux package. This is done to make migration easier, and to minimize the impact of this refactor diff --git a/backend/server/shared_routes.go b/backend/server/shared_routes.go index 359e0e956..3f338bec2 100644 --- a/backend/server/shared_routes.go +++ b/backend/server/shared_routes.go @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package server import ( diff --git a/backend/server/web.go b/backend/server/web.go index abf7ff911..9c443d059 100644 --- a/backend/server/web.go +++ b/backend/server/web.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package server import ( diff --git a/backend/services/api_key.go b/backend/services/api_key.go index 7a1d5bb5c..da4354b76 100644 --- a/backend/services/api_key.go +++ b/backend/services/api_key.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - // Package services handles the logic behind all of the Web/API actions package services diff --git a/backend/services/api_key_test.go b/backend/services/api_key_test.go index b4d6f55c0..a017c379b 100644 --- a/backend/services/api_key_test.go +++ b/backend/services/api_key_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/auth_scheme.go b/backend/services/auth_scheme.go index 1dde555fd..56fe76a0d 100644 --- a/backend/services/auth_scheme.go +++ b/backend/services/auth_scheme.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/auth_scheme_test.go b/backend/services/auth_scheme_test.go index 1c7d2ab10..0f9cd79f2 100644 --- a/backend/services/auth_scheme_test.go +++ b/backend/services/auth_scheme_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/evidence.go b/backend/services/evidence.go index fdbd020e1..4bfdc4557 100644 --- a/backend/services/evidence.go +++ b/backend/services/evidence.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/evidence_internal_test.go b/backend/services/evidence_internal_test.go index 6623340f2..a204bcdd2 100644 --- a/backend/services/evidence_internal_test.go +++ b/backend/services/evidence_internal_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/evidence_metadata.go b/backend/services/evidence_metadata.go index 3a309a779..eaf8936eb 100644 --- a/backend/services/evidence_metadata.go +++ b/backend/services/evidence_metadata.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/evidence_metadata_test.go b/backend/services/evidence_metadata_test.go index c48a7d85d..869195899 100644 --- a/backend/services/evidence_metadata_test.go +++ b/backend/services/evidence_metadata_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/evidence_test.go b/backend/services/evidence_test.go index 07b126e9f..1939ca596 100644 --- a/backend/services/evidence_test.go +++ b/backend/services/evidence_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/finding.go b/backend/services/finding.go index 5a73b2e04..daac76d60 100644 --- a/backend/services/finding.go +++ b/backend/services/finding.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/finding_category.go b/backend/services/finding_category.go index 08bfc0381..278e0fa2c 100644 --- a/backend/services/finding_category.go +++ b/backend/services/finding_category.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/finding_category_test.go b/backend/services/finding_category_test.go index 4fe8ba662..377defd4e 100644 --- a/backend/services/finding_category_test.go +++ b/backend/services/finding_category_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/finding_internal_test.go b/backend/services/finding_internal_test.go index 75a64b22a..d4d69405c 100644 --- a/backend/services/finding_internal_test.go +++ b/backend/services/finding_internal_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/finding_test.go b/backend/services/finding_test.go index d984ae45b..0d7d51eb6 100644 --- a/backend/services/finding_test.go +++ b/backend/services/finding_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/global_vars.go b/backend/services/global_vars.go index 689ed1422..ea28f2c34 100644 --- a/backend/services/global_vars.go +++ b/backend/services/global_vars.go @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/global_vars_test.go b/backend/services/global_vars_test.go index 26594a16a..b013a89be 100644 --- a/backend/services/global_vars_test.go +++ b/backend/services/global_vars_test.go @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/helpers.go b/backend/services/helpers.go index e77c29521..48801b5f1 100644 --- a/backend/services/helpers.go +++ b/backend/services/helpers.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/helpers_test.go b/backend/services/helpers_test.go index 61268f808..8172b702f 100644 --- a/backend/services/helpers_test.go +++ b/backend/services/helpers_test.go @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/operation_role.go b/backend/services/operation_role.go index 7bd1337e1..f3e41f316 100644 --- a/backend/services/operation_role.go +++ b/backend/services/operation_role.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/operation_role_test.go b/backend/services/operation_role_test.go index f94d1d778..19a7ebb19 100644 --- a/backend/services/operation_role_test.go +++ b/backend/services/operation_role_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/operation_vars.go b/backend/services/operation_vars.go index 0ff372c65..cf9526920 100644 --- a/backend/services/operation_vars.go +++ b/backend/services/operation_vars.go @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/operation_vars_test.go b/backend/services/operation_vars_test.go index 2bf4424b6..9e9cde21a 100644 --- a/backend/services/operation_vars_test.go +++ b/backend/services/operation_vars_test.go @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/operations.go b/backend/services/operations.go index a01b8d2a2..faa211f0d 100644 --- a/backend/services/operations.go +++ b/backend/services/operations.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/operations_test.go b/backend/services/operations_test.go index 223e4fbc1..da3ed47c7 100644 --- a/backend/services/operations_test.go +++ b/backend/services/operations_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/queries.go b/backend/services/queries.go index 09ee7b861..9e7b6826b 100644 --- a/backend/services/queries.go +++ b/backend/services/queries.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/queries_test.go b/backend/services/queries_test.go index b77988ad9..dbb2d442d 100644 --- a/backend/services/queries_test.go +++ b/backend/services/queries_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/seeding_rewrap_test.go b/backend/services/seeding_rewrap_test.go index 85471609e..67a58884a 100644 --- a/backend/services/seeding_rewrap_test.go +++ b/backend/services/seeding_rewrap_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/service_helper_user_filter.go b/backend/services/service_helper_user_filter.go index 38c8a35e2..723e3809d 100644 --- a/backend/services/service_helper_user_filter.go +++ b/backend/services/service_helper_user_filter.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/service_helper_user_filter_test.go b/backend/services/service_helper_user_filter_test.go index ecc1aed0f..30be880de 100644 --- a/backend/services/service_helper_user_filter_test.go +++ b/backend/services/service_helper_user_filter_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/service_helper_user_group_filter.go b/backend/services/service_helper_user_group_filter.go index b841a5993..f62a22d35 100644 --- a/backend/services/service_helper_user_group_filter.go +++ b/backend/services/service_helper_user_group_filter.go @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/service_helpers_internal_test.go b/backend/services/service_helpers_internal_test.go index 3bd0a04e9..3ca0f474f 100644 --- a/backend/services/service_helpers_internal_test.go +++ b/backend/services/service_helpers_internal_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/service_pagination_helper.go b/backend/services/service_pagination_helper.go index 4197050a9..6b2e149eb 100644 --- a/backend/services/service_pagination_helper.go +++ b/backend/services/service_pagination_helper.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/service_pagination_helper_internal_test.go b/backend/services/service_pagination_helper_internal_test.go index 294335274..5d611f437 100644 --- a/backend/services/service_pagination_helper_internal_test.go +++ b/backend/services/service_pagination_helper_internal_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/service_pagination_helper_test.go b/backend/services/service_pagination_helper_test.go index 89ac07016..858689159 100644 --- a/backend/services/service_pagination_helper_test.go +++ b/backend/services/service_pagination_helper_test.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/service_worker.go b/backend/services/service_worker.go index a2fc87806..9dd7776fc 100644 --- a/backend/services/service_worker.go +++ b/backend/services/service_worker.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/service_worker_test.go b/backend/services/service_worker_test.go index 3ecc9ea7c..c4aa88135 100644 --- a/backend/services/service_worker_test.go +++ b/backend/services/service_worker_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/tag.go b/backend/services/tag.go index fbf303439..8ed1b79fc 100644 --- a/backend/services/tag.go +++ b/backend/services/tag.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/tag_test.go b/backend/services/tag_test.go index 104d9e32f..ae0151bbc 100644 --- a/backend/services/tag_test.go +++ b/backend/services/tag_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/testing_helpers.go b/backend/services/testing_helpers.go index 28e705423..4426348e0 100644 --- a/backend/services/testing_helpers.go +++ b/backend/services/testing_helpers.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/user.go b/backend/services/user.go index 447388645..6e0323be1 100644 --- a/backend/services/user.go +++ b/backend/services/user.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/user_groups.go b/backend/services/user_groups.go index 9a5721ec0..569db7850 100644 --- a/backend/services/user_groups.go +++ b/backend/services/user_groups.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services import ( diff --git a/backend/services/user_groups_test.go b/backend/services/user_groups_test.go index 7d7136ddf..0ae8d432f 100644 --- a/backend/services/user_groups_test.go +++ b/backend/services/user_groups_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/services/user_test.go b/backend/services/user_test.go index 5fed00c99..925bc6cc5 100644 --- a/backend/services/user_test.go +++ b/backend/services/user_test.go @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package services_test import ( diff --git a/backend/session/store.go b/backend/session/store.go index 85216f137..e4e758624 100644 --- a/backend/session/store.go +++ b/backend/session/store.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package session import ( diff --git a/backend/session/wrappedsessionstore/local_session_store.go b/backend/session/wrappedsessionstore/local_session_store.go index da0547e77..7b65fdcc7 100644 --- a/backend/session/wrappedsessionstore/local_session_store.go +++ b/backend/session/wrappedsessionstore/local_session_store.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - /* Gorilla Sessions backend for MySQL. diff --git a/frontend/src/auth_context.tsx b/frontend/src/auth_context.tsx index 9d52aa29b..6080860cd 100644 --- a/frontend/src/auth_context.tsx +++ b/frontend/src/auth_context.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import {UserOwnView} from 'src/global_types' diff --git a/frontend/src/authschemes/index.tsx b/frontend/src/authschemes/index.tsx index 9fe43b7fc..3c5395315 100644 --- a/frontend/src/authschemes/index.tsx +++ b/frontend/src/authschemes/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { useAsyncComponent } from 'src/helpers' import { SupportedAuthenticationScheme, UserOwnView } from "src/global_types" diff --git a/frontend/src/authschemes/local/linker/index.tsx b/frontend/src/authschemes/local/linker/index.tsx index 5cb00edf0..f9baae3fb 100644 --- a/frontend/src/authschemes/local/linker/index.tsx +++ b/frontend/src/authschemes/local/linker/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { linkLocalAccount } from '../services' import { useForm, useFormField } from 'src/helpers' diff --git a/frontend/src/authschemes/local/login/index.tsx b/frontend/src/authschemes/local/login/index.tsx index c39e1d32f..1e3791e0a 100644 --- a/frontend/src/authschemes/local/login/index.tsx +++ b/frontend/src/authschemes/local/login/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Form from 'src/components/form' import Input from 'src/components/input' diff --git a/frontend/src/authschemes/local/settings/index.tsx b/frontend/src/authschemes/local/settings/index.tsx index 7d1445298..d272d5d63 100644 --- a/frontend/src/authschemes/local/settings/index.tsx +++ b/frontend/src/authschemes/local/settings/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Form from 'src/components/form' import Input from 'src/components/input' diff --git a/frontend/src/authschemes/local/totp/index.tsx b/frontend/src/authschemes/local/totp/index.tsx index 06e7041ee..ae59cabbb 100644 --- a/frontend/src/authschemes/local/totp/index.tsx +++ b/frontend/src/authschemes/local/totp/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { totpIsEnabled, generateTotpSecret, setTotp, deleteTotp } from '../services' diff --git a/frontend/src/authschemes/oidc/linker/index.tsx b/frontend/src/authschemes/oidc/linker/index.tsx index e5ca57609..41769133e 100644 --- a/frontend/src/authschemes/oidc/linker/index.tsx +++ b/frontend/src/authschemes/oidc/linker/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Button from 'src/components/button' diff --git a/frontend/src/authschemes/oidc/login/index.tsx b/frontend/src/authschemes/oidc/login/index.tsx index 639ca2a7c..c9f918cfe 100644 --- a/frontend/src/authschemes/oidc/login/index.tsx +++ b/frontend/src/authschemes/oidc/login/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2021, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Button from 'src/components/button' import classnames from 'classnames/bind' diff --git a/frontend/src/authschemes/recovery/constants.ts b/frontend/src/authschemes/recovery/constants.ts index 4a7055f76..3cf34af91 100644 --- a/frontend/src/authschemes/recovery/constants.ts +++ b/frontend/src/authschemes/recovery/constants.ts @@ -1,4 +1 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - export const RecoverySchemeName = "recover" diff --git a/frontend/src/authschemes/recovery/index.tsx b/frontend/src/authschemes/recovery/index.tsx index cf741031f..08fbe5dd4 100644 --- a/frontend/src/authschemes/recovery/index.tsx +++ b/frontend/src/authschemes/recovery/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' diff --git a/frontend/src/authschemes/recovery/services.ts b/frontend/src/authschemes/recovery/services.ts index bbf52563a..056ad8e51 100644 --- a/frontend/src/authschemes/recovery/services.ts +++ b/frontend/src/authschemes/recovery/services.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import req from 'src/services/data_sources/backend/request_helper' diff --git a/frontend/src/authschemes/webauthn/helpers.ts b/frontend/src/authschemes/webauthn/helpers.ts index 742a0b31b..2c0078926 100644 --- a/frontend/src/authschemes/webauthn/helpers.ts +++ b/frontend/src/authschemes/webauthn/helpers.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { ProvidedCredentialCreationOptions, ProvidedCredentialRequestOptions } from "./types" export const encodeAsB64 = (ab: ArrayBuffer) => { diff --git a/frontend/src/authschemes/webauthn/index.ts b/frontend/src/authschemes/webauthn/index.ts index ae030f4b1..87dc2f635 100644 --- a/frontend/src/authschemes/webauthn/index.ts +++ b/frontend/src/authschemes/webauthn/index.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import Linker from './linker' import Login from './login' import Settings from './settings' diff --git a/frontend/src/authschemes/webauthn/linker/index.tsx b/frontend/src/authschemes/webauthn/linker/index.tsx index 337cfa8e4..9bbcae54f 100644 --- a/frontend/src/authschemes/webauthn/linker/index.tsx +++ b/frontend/src/authschemes/webauthn/linker/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { useForm, useFormField } from 'src/helpers' diff --git a/frontend/src/authschemes/webauthn/login/index.tsx b/frontend/src/authschemes/webauthn/login/index.tsx index 548094241..a0031c1aa 100644 --- a/frontend/src/authschemes/webauthn/login/index.tsx +++ b/frontend/src/authschemes/webauthn/login/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Button, { ButtonGroup } from 'src/components/button' import Form from 'src/components/form' diff --git a/frontend/src/authschemes/webauthn/services.ts b/frontend/src/authschemes/webauthn/services.ts index 257e4d46e..58478c478 100644 --- a/frontend/src/authschemes/webauthn/services.ts +++ b/frontend/src/authschemes/webauthn/services.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import req from 'src/services/data_sources/backend/request_helper' import { diff --git a/frontend/src/authschemes/webauthn/settings/index.tsx b/frontend/src/authschemes/webauthn/settings/index.tsx index b65dd6678..939839ead 100644 --- a/frontend/src/authschemes/webauthn/settings/index.tsx +++ b/frontend/src/authschemes/webauthn/settings/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import * as dateFns from 'date-fns' diff --git a/frontend/src/authschemes/webauthn/types.ts b/frontend/src/authschemes/webauthn/types.ts index 51bc90b96..b1717604b 100644 --- a/frontend/src/authschemes/webauthn/types.ts +++ b/frontend/src/authschemes/webauthn/types.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - /** * ProvidedCredentialCreationOptions tries to be a mirror of CredentialCreationOptions, but diff --git a/frontend/src/components/add_variable/index.tsx b/frontend/src/components/add_variable/index.tsx index dc4e4b641..3696ccd61 100644 --- a/frontend/src/components/add_variable/index.tsx +++ b/frontend/src/components/add_variable/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Button from 'src/components/button' import SettingsSection from 'src/components/settings_section' diff --git a/frontend/src/components/bullet_chooser/creator_chooser.tsx b/frontend/src/components/bullet_chooser/creator_chooser.tsx index 496317e5a..99e72c3a8 100644 --- a/frontend/src/components/bullet_chooser/creator_chooser.tsx +++ b/frontend/src/components/bullet_chooser/creator_chooser.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { User } from 'src/global_types' diff --git a/frontend/src/components/bullet_chooser/evidence_type_chooser.tsx b/frontend/src/components/bullet_chooser/evidence_type_chooser.tsx index 1f14c15ce..08eb0da75 100644 --- a/frontend/src/components/bullet_chooser/evidence_type_chooser.tsx +++ b/frontend/src/components/bullet_chooser/evidence_type_chooser.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import BulletChooser, { BulletProps } from 'src/components/bullet_chooser' diff --git a/frontend/src/components/bullet_chooser/index.tsx b/frontend/src/components/bullet_chooser/index.tsx index e44aaba05..3b3cabeab 100644 --- a/frontend/src/components/bullet_chooser/index.tsx +++ b/frontend/src/components/bullet_chooser/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { dropRight } from 'lodash' import classnames from 'classnames/bind' diff --git a/frontend/src/components/bullet_chooser/service_worker_chooser.tsx b/frontend/src/components/bullet_chooser/service_worker_chooser.tsx index bf4cd177c..221a66900 100644 --- a/frontend/src/components/bullet_chooser/service_worker_chooser.tsx +++ b/frontend/src/components/bullet_chooser/service_worker_chooser.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { ServiceWorker } from 'src/global_types' import { listServiceWorkers } from 'src/services' diff --git a/frontend/src/components/bullet_chooser/tag_chooser.tsx b/frontend/src/components/bullet_chooser/tag_chooser.tsx index acbe6df1d..d89fda84a 100644 --- a/frontend/src/components/bullet_chooser/tag_chooser.tsx +++ b/frontend/src/components/bullet_chooser/tag_chooser.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Tag from 'src/components/tag' diff --git a/frontend/src/components/bullet_chooser/text_chooser.tsx b/frontend/src/components/bullet_chooser/text_chooser.tsx index c561042af..6aed7aae7 100644 --- a/frontend/src/components/bullet_chooser/text_chooser.tsx +++ b/frontend/src/components/bullet_chooser/text_chooser.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import BulletChooser, { BulletProps } from 'src/components/bullet_chooser' diff --git a/frontend/src/components/button/index.tsx b/frontend/src/components/button/index.tsx index c93927cd9..44fd6690f 100644 --- a/frontend/src/components/button/index.tsx +++ b/frontend/src/components/button/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { NavLink } from 'react-router-dom' diff --git a/frontend/src/components/card/index.tsx b/frontend/src/components/card/index.tsx index 9d224d4a6..896fb417f 100644 --- a/frontend/src/components/card/index.tsx +++ b/frontend/src/components/card/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import {Link} from 'react-router-dom' diff --git a/frontend/src/components/challenge_modal_form/index.tsx b/frontend/src/components/challenge_modal_form/index.tsx index a849e366a..5b27184ac 100644 --- a/frontend/src/components/challenge_modal_form/index.tsx +++ b/frontend/src/components/challenge_modal_form/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' diff --git a/frontend/src/components/checkbox/index.tsx b/frontend/src/components/checkbox/index.tsx index 8ff7af092..213dd63dd 100644 --- a/frontend/src/components/checkbox/index.tsx +++ b/frontend/src/components/checkbox/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' const cx = classnames.bind(require('./stylesheet')) diff --git a/frontend/src/components/checkbox_complex/index.tsx b/frontend/src/components/checkbox_complex/index.tsx index 9759d5cc3..22412c15d 100644 --- a/frontend/src/components/checkbox_complex/index.tsx +++ b/frontend/src/components/checkbox_complex/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' const cx = classnames.bind(require('./stylesheet')) diff --git a/frontend/src/components/chooser/index.tsx b/frontend/src/components/chooser/index.tsx index 97f2ae0fd..69f1df122 100644 --- a/frontend/src/components/chooser/index.tsx +++ b/frontend/src/components/chooser/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Checkbox from 'src/components/checkbox' import Input from 'src/components/input' diff --git a/frontend/src/components/code_block/ace_editor/index.tsx b/frontend/src/components/code_block/ace_editor/index.tsx index 7a509bc10..474fe8096 100644 --- a/frontend/src/components/code_block/ace_editor/index.tsx +++ b/frontend/src/components/code_block/ace_editor/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import * as ace from 'ace-builds' import AceEditor from 'react-ace' diff --git a/frontend/src/components/code_block/index.tsx b/frontend/src/components/code_block/index.tsx index da3bc7752..0d23f3366 100644 --- a/frontend/src/components/code_block/index.tsx +++ b/frontend/src/components/code_block/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Input from 'src/components/input' import SourceDisplay from './source_display' diff --git a/frontend/src/components/code_block/source_display.tsx b/frontend/src/components/code_block/source_display.tsx index 28ccb8e81..fc5c9ef4b 100644 --- a/frontend/src/components/code_block/source_display.tsx +++ b/frontend/src/components/code_block/source_display.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { CodeBlock } from 'src/global_types' diff --git a/frontend/src/components/code_block/supported_languages.ts b/frontend/src/components/code_block/supported_languages.ts index b5c943184..6d6fee4b0 100644 --- a/frontend/src/components/code_block/supported_languages.ts +++ b/frontend/src/components/code_block/supported_languages.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - const supportedLanguages: Array<{name: string, value: string}> = [ { name: "Plain Text", value: "" }, { name: "ABAP", value: "abap" }, diff --git a/frontend/src/components/combobox/index.tsx b/frontend/src/components/combobox/index.tsx index 26537e753..356ee544b 100644 --- a/frontend/src/components/combobox/index.tsx +++ b/frontend/src/components/combobox/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Input from 'src/components/input' import PopoverMenu from 'src/components/popover_menu' diff --git a/frontend/src/components/date_range_picker/index.tsx b/frontend/src/components/date_range_picker/index.tsx index 031611dbd..a90970505 100644 --- a/frontend/src/components/date_range_picker/index.tsx +++ b/frontend/src/components/date_range_picker/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import 'react-day-picker/dist/style.css' import * as React from 'react' import { DayPicker } from 'react-day-picker' diff --git a/frontend/src/components/date_range_picker/range_picker_helpers.test.ts b/frontend/src/components/date_range_picker/range_picker_helpers.test.ts index 5643556e7..79bc557ec 100644 --- a/frontend/src/components/date_range_picker/range_picker_helpers.test.ts +++ b/frontend/src/components/date_range_picker/range_picker_helpers.test.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import {DateRange, addDateToRange, stringifyRange} from './range_picker_helpers' import {expect} from 'chai' import {getMonth, format} from 'date-fns' diff --git a/frontend/src/components/date_range_picker/range_picker_helpers.ts b/frontend/src/components/date_range_picker/range_picker_helpers.ts index fdcfef2e0..ee98ef55a 100644 --- a/frontend/src/components/date_range_picker/range_picker_helpers.ts +++ b/frontend/src/components/date_range_picker/range_picker_helpers.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as dateFns from 'date-fns' export type DateRange = [Date, Date] diff --git a/frontend/src/components/error_display/index.tsx b/frontend/src/components/error_display/index.tsx index c310d63bc..2cdd0066f 100644 --- a/frontend/src/components/error_display/index.tsx +++ b/frontend/src/components/error_display/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' const cx = classnames.bind(require('./stylesheet')) diff --git a/frontend/src/components/evidence_chooser/index.tsx b/frontend/src/components/evidence_chooser/index.tsx index 4a47494ca..41b3af771 100644 --- a/frontend/src/components/evidence_chooser/index.tsx +++ b/frontend/src/components/evidence_chooser/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Chooser from 'src/components/chooser' import EvidencePreview from 'src/components/evidence_preview' diff --git a/frontend/src/components/evidence_preview/index.tsx b/frontend/src/components/evidence_preview/index.tsx index 67b29e4da..860f937a4 100644 --- a/frontend/src/components/evidence_preview/index.tsx +++ b/frontend/src/components/evidence_preview/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { CodeBlockViewer } from '../code_block' diff --git a/frontend/src/components/expandable_area/index.tsx b/frontend/src/components/expandable_area/index.tsx index ab5c26b0e..4d4879cbd 100644 --- a/frontend/src/components/expandable_area/index.tsx +++ b/frontend/src/components/expandable_area/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' const cx = classnames.bind(require('./stylesheet')) diff --git a/frontend/src/components/filter_fields/filter-field-grid.tsx b/frontend/src/components/filter_fields/filter-field-grid.tsx index 7d656b593..6f5115112 100644 --- a/frontend/src/components/filter_fields/filter-field-grid.tsx +++ b/frontend/src/components/filter_fields/filter-field-grid.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import * as dateFns from 'date-fns' diff --git a/frontend/src/components/filter_fields/helpers.ts b/frontend/src/components/filter_fields/helpers.ts index 4dc27e1e8..4f03b97b2 100644 --- a/frontend/src/components/filter_fields/helpers.ts +++ b/frontend/src/components/filter_fields/helpers.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as dateFns from 'date-fns' import { parseQuery, parseDateRangeString, ParsedQuery, FilterModifier, FilterModified } from 'src/helpers' diff --git a/frontend/src/components/finding_chooser/index.tsx b/frontend/src/components/finding_chooser/index.tsx index 6a64ed0f6..6a6c04eac 100644 --- a/frontend/src/components/finding_chooser/index.tsx +++ b/frontend/src/components/finding_chooser/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Chooser from 'src/components/chooser' import Lightbox from 'src/components/lightbox' diff --git a/frontend/src/components/form/index.tsx b/frontend/src/components/form/index.tsx index a9658855e..9f1d1f49d 100644 --- a/frontend/src/components/form/index.tsx +++ b/frontend/src/components/form/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Button from 'src/components/button' import classnames from 'classnames/bind' diff --git a/frontend/src/components/help/index.tsx b/frontend/src/components/help/index.tsx index 3d6df03b9..223121860 100644 --- a/frontend/src/components/help/index.tsx +++ b/frontend/src/components/help/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { useModal, renderModals } from 'src/helpers' import classnames from 'classnames/bind' diff --git a/frontend/src/components/http_cycle_viewer/components.tsx b/frontend/src/components/http_cycle_viewer/components.tsx index cd9fb8fe4..2dfab0630 100644 --- a/frontend/src/components/http_cycle_viewer/components.tsx +++ b/frontend/src/components/http_cycle_viewer/components.tsx @@ -1,6 +1,3 @@ -// Copyright 2021, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' diff --git a/frontend/src/components/http_cycle_viewer/helpers.ts b/frontend/src/components/http_cycle_viewer/helpers.ts index 2ca100e87..07d8ffc06 100644 --- a/frontend/src/components/http_cycle_viewer/helpers.ts +++ b/frontend/src/components/http_cycle_viewer/helpers.ts @@ -1,6 +1,3 @@ -// Copyright 2021, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { Request, Response } from 'har-format' export const mimetypeToAceLang = (mimetype: string) => { diff --git a/frontend/src/components/http_cycle_viewer/index.tsx b/frontend/src/components/http_cycle_viewer/index.tsx index 1dd922e0e..575ac7bec 100644 --- a/frontend/src/components/http_cycle_viewer/index.tsx +++ b/frontend/src/components/http_cycle_viewer/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { Har, Entry, Log, Header, PostData, Response, Request } from 'har-format' diff --git a/frontend/src/components/http_cycle_viewer/is_valid_har.ts b/frontend/src/components/http_cycle_viewer/is_valid_har.ts index 9bd32938f..34702ec91 100644 --- a/frontend/src/components/http_cycle_viewer/is_valid_har.ts +++ b/frontend/src/components/http_cycle_viewer/is_valid_har.ts @@ -1,6 +1,3 @@ -// Copyright 2021, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { Har, Log, Creator, Entry, Request, Response, Header, Content, PostData, Param, // Browser, Cache, CacheDetails, Cookie, Page, PageTiming, QueryString, Timings diff --git a/frontend/src/components/image_upload/index.tsx b/frontend/src/components/image_upload/index.tsx index 11c2df8ae..c52eb0ee2 100644 --- a/frontend/src/components/image_upload/index.tsx +++ b/frontend/src/components/image_upload/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import WithLabel from 'src/components/with_label' import classnames from 'classnames/bind' diff --git a/frontend/src/components/input/index.tsx b/frontend/src/components/input/index.tsx index cd6ef0974..394d72772 100644 --- a/frontend/src/components/input/index.tsx +++ b/frontend/src/components/input/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import LoadingSpinner from 'src/components/loading_spinner' import WithLabel from 'src/components/with_label' diff --git a/frontend/src/components/layout/index.tsx b/frontend/src/components/layout/index.tsx index 2e53c226a..5c8a7867f 100644 --- a/frontend/src/components/layout/index.tsx +++ b/frontend/src/components/layout/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import NavBar from './nav_bar' import classnames from 'classnames/bind' diff --git a/frontend/src/components/layout/nav_bar/index.tsx b/frontend/src/components/layout/nav_bar/index.tsx index 8aae4f6e7..3cc23aa6e 100644 --- a/frontend/src/components/layout/nav_bar/index.tsx +++ b/frontend/src/components/layout/nav_bar/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import UserMenu from './user_menu' import classnames from 'classnames/bind' diff --git a/frontend/src/components/layout/nav_bar/user_menu/index.tsx b/frontend/src/components/layout/nav_bar/user_menu/index.tsx index 605b16208..ca1733217 100644 --- a/frontend/src/components/layout/nav_bar/user_menu/index.tsx +++ b/frontend/src/components/layout/nav_bar/user_menu/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import AuthContext from 'src/auth_context' import {useNavigate} from 'react-router-dom' diff --git a/frontend/src/components/lazy_load_component/index.tsx b/frontend/src/components/lazy_load_component/index.tsx index fb47b0ad4..f37a4b29a 100644 --- a/frontend/src/components/lazy_load_component/index.tsx +++ b/frontend/src/components/lazy_load_component/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import React, { useState, useEffect, useRef } from 'react'; export default (props: { children: React.ReactNode }) => { diff --git a/frontend/src/components/lightbox/index.tsx b/frontend/src/components/lightbox/index.tsx index 7c9ad73dd..ca18df52a 100644 --- a/frontend/src/components/lightbox/index.tsx +++ b/frontend/src/components/lightbox/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { createPortal } from 'react-dom' diff --git a/frontend/src/components/list_menu/index.tsx b/frontend/src/components/list_menu/index.tsx index 99cff2de7..fb6e01afd 100644 --- a/frontend/src/components/list_menu/index.tsx +++ b/frontend/src/components/list_menu/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Button from 'src/components/button' import classnames from 'classnames/bind' diff --git a/frontend/src/components/loading_spinner/index.tsx b/frontend/src/components/loading_spinner/index.tsx index 8493974e1..4546cc1a3 100644 --- a/frontend/src/components/loading_spinner/index.tsx +++ b/frontend/src/components/loading_spinner/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' const cx = classnames.bind(require('./stylesheet')) diff --git a/frontend/src/components/markdown_renderer/index.tsx b/frontend/src/components/markdown_renderer/index.tsx index b49d0a6b9..cc9c63988 100644 --- a/frontend/src/components/markdown_renderer/index.tsx +++ b/frontend/src/components/markdown_renderer/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import SyncMarkdownRenderer from './sync_renderer' diff --git a/frontend/src/components/markdown_renderer/sync_renderer/index.tsx b/frontend/src/components/markdown_renderer/sync_renderer/index.tsx index 4b7346a64..d12417ff5 100644 --- a/frontend/src/components/markdown_renderer/sync_renderer/index.tsx +++ b/frontend/src/components/markdown_renderer/sync_renderer/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' // @ts-ignore - module react-markdown does not have associated types (gets imported as any type) diff --git a/frontend/src/components/menu/index.tsx b/frontend/src/components/menu/index.tsx index 9a19c293a..20a2f1683 100644 --- a/frontend/src/components/menu/index.tsx +++ b/frontend/src/components/menu/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' const cx = classnames.bind(require('./stylesheet')) diff --git a/frontend/src/components/modal/index.tsx b/frontend/src/components/modal/index.tsx index e18aea327..da3d5f6c3 100644 --- a/frontend/src/components/modal/index.tsx +++ b/frontend/src/components/modal/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { createPortal } from 'react-dom' diff --git a/frontend/src/components/modal_form/index.tsx b/frontend/src/components/modal_form/index.tsx index 4a91d27af..a09cd860b 100644 --- a/frontend/src/components/modal_form/index.tsx +++ b/frontend/src/components/modal_form/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Form from 'src/components/form' import Modal from 'src/components/modal' diff --git a/frontend/src/components/operation_badges/index.tsx b/frontend/src/components/operation_badges/index.tsx index 6b4176fe0..bb63e5ab2 100644 --- a/frontend/src/components/operation_badges/index.tsx +++ b/frontend/src/components/operation_badges/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' const cx = classnames.bind(require('./stylesheet')) diff --git a/frontend/src/components/operation_badges_modal/index.tsx b/frontend/src/components/operation_badges_modal/index.tsx index 7780d3902..a728b4ec2 100644 --- a/frontend/src/components/operation_badges_modal/index.tsx +++ b/frontend/src/components/operation_badges_modal/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { EvidenceCount, TopContrib } from 'src/global_types' diff --git a/frontend/src/components/paging/index.tsx b/frontend/src/components/paging/index.tsx index e34042308..32b3fe590 100644 --- a/frontend/src/components/paging/index.tsx +++ b/frontend/src/components/paging/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' diff --git a/frontend/src/components/popover/index.tsx b/frontend/src/components/popover/index.tsx index 4f83e55b9..b05e11d38 100644 --- a/frontend/src/components/popover/index.tsx +++ b/frontend/src/components/popover/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { createPortal } from 'react-dom' diff --git a/frontend/src/components/popover_menu/index.tsx b/frontend/src/components/popover_menu/index.tsx index 99b3f7b68..eb341bc3e 100644 --- a/frontend/src/components/popover_menu/index.tsx +++ b/frontend/src/components/popover_menu/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Popover from 'src/components/popover' import { default as Menu, MenuItem } from 'src/components/menu' diff --git a/frontend/src/components/radio_group/index.tsx b/frontend/src/components/radio_group/index.tsx index 4b54ccdbc..4ab76c4c5 100644 --- a/frontend/src/components/radio_group/index.tsx +++ b/frontend/src/components/radio_group/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' const cx = classnames.bind(require('./stylesheet')) diff --git a/frontend/src/components/select/index.tsx b/frontend/src/components/select/index.tsx index 37bf6e1b3..2f784e45f 100644 --- a/frontend/src/components/select/index.tsx +++ b/frontend/src/components/select/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import WithLabel from 'src/components/with_label' diff --git a/frontend/src/components/settings_section/index.tsx b/frontend/src/components/settings_section/index.tsx index d26f5942b..7b8852a33 100644 --- a/frontend/src/components/settings_section/index.tsx +++ b/frontend/src/components/settings_section/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' const cx = classnames.bind(require('./stylesheet')) diff --git a/frontend/src/components/tab_vertical_menu/index.tsx b/frontend/src/components/tab_vertical_menu/index.tsx index f3b9612e7..4527b66eb 100644 --- a/frontend/src/components/tab_vertical_menu/index.tsx +++ b/frontend/src/components/tab_vertical_menu/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { Outlet } from 'react-router-dom' diff --git a/frontend/src/components/table/error_row.tsx b/frontend/src/components/table/error_row.tsx index 6804e7915..242740ec9 100644 --- a/frontend/src/components/table/error_row.tsx +++ b/frontend/src/components/table/error_row.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import ErrorDisplay from 'src/components/error_display' import { SpannedRow } from './spanned_row' diff --git a/frontend/src/components/table/index.tsx b/frontend/src/components/table/index.tsx index 5693b5244..98a474be0 100644 --- a/frontend/src/components/table/index.tsx +++ b/frontend/src/components/table/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' const cx = classnames.bind(require('./stylesheet')) diff --git a/frontend/src/components/table/loading_row.tsx b/frontend/src/components/table/loading_row.tsx index ba9773501..298d78065 100644 --- a/frontend/src/components/table/loading_row.tsx +++ b/frontend/src/components/table/loading_row.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import LoadingSpinner from 'src/components/loading_spinner' import { SpannedRow } from './spanned_row' diff --git a/frontend/src/components/table/spanned_row.tsx b/frontend/src/components/table/spanned_row.tsx index ebf70e8c5..0467fa65f 100644 --- a/frontend/src/components/table/spanned_row.tsx +++ b/frontend/src/components/table/spanned_row.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' export const SpannedRow = (props: { diff --git a/frontend/src/components/tabs/index.tsx b/frontend/src/components/tabs/index.tsx index 44fdbbab9..3381303b4 100644 --- a/frontend/src/components/tabs/index.tsx +++ b/frontend/src/components/tabs/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { default as Button, ButtonGroup } from 'src/components/button' diff --git a/frontend/src/components/tag/index.tsx b/frontend/src/components/tag/index.tsx index caed4b206..358d0478b 100644 --- a/frontend/src/components/tag/index.tsx +++ b/frontend/src/components/tag/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import {tagColorNameToColor, disabledGray} from 'src/helpers/tag_colors' diff --git a/frontend/src/components/tag_color_picker/index.tsx b/frontend/src/components/tag_color_picker/index.tsx index f5f0d7d74..e5af9acee 100644 --- a/frontend/src/components/tag_color_picker/index.tsx +++ b/frontend/src/components/tag_color_picker/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import WithLabel from 'src/components/with_label' import classnames from 'classnames/bind' diff --git a/frontend/src/components/tag_editor/index.tsx b/frontend/src/components/tag_editor/index.tsx index 0f5a1d417..b9acd8383 100644 --- a/frontend/src/components/tag_editor/index.tsx +++ b/frontend/src/components/tag_editor/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { chunk } from 'lodash' diff --git a/frontend/src/components/tag_editor/modals.tsx b/frontend/src/components/tag_editor/modals.tsx index 9f4ae8934..be590d616 100644 --- a/frontend/src/components/tag_editor/modals.tsx +++ b/frontend/src/components/tag_editor/modals.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { Link } from 'react-router-dom' import Form from 'src/components/form' diff --git a/frontend/src/components/tag_list/index.tsx b/frontend/src/components/tag_list/index.tsx index b72c25dab..ee6d36d90 100644 --- a/frontend/src/components/tag_list/index.tsx +++ b/frontend/src/components/tag_list/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Tag from 'src/components/tag' import classnames from 'classnames/bind' diff --git a/frontend/src/components/text_copiers/index.tsx b/frontend/src/components/text_copiers/index.tsx index 5f21ade37..d361eb92e 100644 --- a/frontend/src/components/text_copiers/index.tsx +++ b/frontend/src/components/text_copiers/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' diff --git a/frontend/src/components/timeline/index.tsx b/frontend/src/components/timeline/index.tsx index d8dd0195a..6b8393e7f 100644 --- a/frontend/src/components/timeline/index.tsx +++ b/frontend/src/components/timeline/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import EvidencePreview from 'src/components/evidence_preview' import Lightbox from 'src/components/lightbox' diff --git a/frontend/src/components/tooltip/index.tsx b/frontend/src/components/tooltip/index.tsx index 0515f9bcb..01776fa54 100644 --- a/frontend/src/components/tooltip/index.tsx +++ b/frontend/src/components/tooltip/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import {createPortal} from 'react-dom' diff --git a/frontend/src/components/user_chooser/index.tsx b/frontend/src/components/user_chooser/index.tsx index f74dbd383..b09f8c971 100644 --- a/frontend/src/components/user_chooser/index.tsx +++ b/frontend/src/components/user_chooser/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Input from 'src/components/input' import PopoverMenu from 'src/components/popover_menu' diff --git a/frontend/src/components/user_group_chooser/index.tsx b/frontend/src/components/user_group_chooser/index.tsx index 75509870d..b00ef3493 100644 --- a/frontend/src/components/user_group_chooser/index.tsx +++ b/frontend/src/components/user_group_chooser/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Input from 'src/components/input' import PopoverMenu from 'src/components/popover_menu' diff --git a/frontend/src/components/with_label/index.tsx b/frontend/src/components/with_label/index.tsx index 4a628919e..b71fd34ea 100644 --- a/frontend/src/components/with_label/index.tsx +++ b/frontend/src/components/with_label/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' const cx = classnames.bind(require('./stylesheet')) diff --git a/frontend/src/global_types.ts b/frontend/src/global_types.ts index 0ce01f8bf..24a4fc8f7 100644 --- a/frontend/src/global_types.ts +++ b/frontend/src/global_types.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - export type SuccessfulResult = { success: T } export type ErrorResult = { err: Error } diff --git a/frontend/src/helpers/compute_delta.test.ts b/frontend/src/helpers/compute_delta.test.ts index 62b1ccbc9..951884436 100644 --- a/frontend/src/helpers/compute_delta.test.ts +++ b/frontend/src/helpers/compute_delta.test.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import {computeDelta} from './compute_delta' import {expect} from 'chai' diff --git a/frontend/src/helpers/compute_delta.ts b/frontend/src/helpers/compute_delta.ts index f404f7080..64bbb50f0 100644 --- a/frontend/src/helpers/compute_delta.ts +++ b/frontend/src/helpers/compute_delta.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - export function computeDelta(before: Array, after: Array): [Array, Array] { const additions = after .filter(item => !before.includes(item)) diff --git a/frontend/src/helpers/highlight_substring.tsx b/frontend/src/helpers/highlight_substring.tsx index 829eb2dce..fbde2e514 100644 --- a/frontend/src/helpers/highlight_substring.tsx +++ b/frontend/src/helpers/highlight_substring.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { escapeRegExp } from 'lodash' diff --git a/frontend/src/helpers/index.tsx b/frontend/src/helpers/index.tsx index 16dd880de..dcee9a924 100644 --- a/frontend/src/helpers/index.tsx +++ b/frontend/src/helpers/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { GlobalVariableData, OperationVariableData } from 'src/global_types' diff --git a/frontend/src/helpers/is_not_undefined.ts b/frontend/src/helpers/is_not_undefined.ts index 9d690ffc3..8b2b41dbf 100644 --- a/frontend/src/helpers/is_not_undefined.ts +++ b/frontend/src/helpers/is_not_undefined.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - /** * isNotUndefined is a dual purpose check/type guard that will ensure that the given value * is not _exactly_ undefined. This is most useful for filter, which normally won't be able diff --git a/frontend/src/helpers/localStroage.ts b/frontend/src/helpers/localStroage.ts index 60e07648c..f96352415 100644 --- a/frontend/src/helpers/localStroage.ts +++ b/frontend/src/helpers/localStroage.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - const getValue = (key: string, defaultValue: string) => { const value = localStorage.getItem(key) diff --git a/frontend/src/helpers/navigate-to-query.ts b/frontend/src/helpers/navigate-to-query.ts index c98f107ec..dffa062cc 100644 --- a/frontend/src/helpers/navigate-to-query.ts +++ b/frontend/src/helpers/navigate-to-query.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { ViewName } from 'src/global_types' export type NavigateProps = { diff --git a/frontend/src/helpers/query_parser.test.ts b/frontend/src/helpers/query_parser.test.ts index 4aed7666b..eb2c9c463 100644 --- a/frontend/src/helpers/query_parser.test.ts +++ b/frontend/src/helpers/query_parser.test.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import {addTagToQuery, addOperatorToQuery, addOrUpdateDateRangeInQuery, getDateRangeFromQuery} from './query_parser' import {expect} from 'chai' diff --git a/frontend/src/helpers/query_parser.ts b/frontend/src/helpers/query_parser.ts index a7bbfa897..ab8eb2188 100644 --- a/frontend/src/helpers/query_parser.ts +++ b/frontend/src/helpers/query_parser.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as dateFns from 'date-fns' function stringifyQuery(tokens: { [key: string]: Array }): string { diff --git a/frontend/src/helpers/reload_bus.ts b/frontend/src/helpers/reload_bus.ts index f9f46b518..6c90baec1 100644 --- a/frontend/src/helpers/reload_bus.ts +++ b/frontend/src/helpers/reload_bus.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { EventEmitter } from 'events' export const reloadEvent = "reload" diff --git a/frontend/src/helpers/service-worker-config/index.tsx b/frontend/src/helpers/service-worker-config/index.tsx index 58890fcf6..eab2397cf 100644 --- a/frontend/src/helpers/service-worker-config/index.tsx +++ b/frontend/src/helpers/service-worker-config/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - export type BasicServiceWorkerConfig = { type: string version: number //int only diff --git a/frontend/src/helpers/tag_colors.ts b/frontend/src/helpers/tag_colors.ts index 57f56c08b..6726d0d7b 100644 --- a/frontend/src/helpers/tag_colors.ts +++ b/frontend/src/helpers/tag_colors.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - export type TagColor = | "blue" | "yellow" diff --git a/frontend/src/helpers/use_async_component.tsx b/frontend/src/helpers/use_async_component.tsx index 368121ac2..adaca57fc 100644 --- a/frontend/src/helpers/use_async_component.tsx +++ b/frontend/src/helpers/use_async_component.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import ErrorDisplay from 'src/components/error_display' import LoadingSpinner from 'src/components/loading_spinner' diff --git a/frontend/src/helpers/use_element_rect.ts b/frontend/src/helpers/use_element_rect.ts index 1db1af085..3bcfd44e9 100644 --- a/frontend/src/helpers/use_element_rect.ts +++ b/frontend/src/helpers/use_element_rect.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' // Returns a ClientRect ({top, left, bottom, right, width, height}) for an optional diff --git a/frontend/src/helpers/use_form.ts b/frontend/src/helpers/use_form.ts index 6bb74fbab..7b4d08832 100644 --- a/frontend/src/helpers/use_form.ts +++ b/frontend/src/helpers/use_form.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import {Result} from 'src/global_types' diff --git a/frontend/src/helpers/use_modal.tsx b/frontend/src/helpers/use_modal.tsx index 1d5f9c1e8..06b1eb747 100644 --- a/frontend/src/helpers/use_modal.tsx +++ b/frontend/src/helpers/use_modal.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' // useModal & renderModals are helpers to make it easy for a component to display one or many modals to the user diff --git a/frontend/src/helpers/use_user_is_super_admin.ts b/frontend/src/helpers/use_user_is_super_admin.ts index 00e70e2b3..552829de7 100644 --- a/frontend/src/helpers/use_user_is_super_admin.ts +++ b/frontend/src/helpers/use_user_is_super_admin.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import AuthContext from 'src/auth_context' diff --git a/frontend/src/helpers/use_wired_data.tsx b/frontend/src/helpers/use_wired_data.tsx index a850df2d5..8d0310903 100644 --- a/frontend/src/helpers/use_wired_data.tsx +++ b/frontend/src/helpers/use_wired_data.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import ErrorDisplay from 'src/components/error_display' import LoadingSpinner from 'src/components/loading_spinner' diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx index 4b7c70039..501c89d18 100644 --- a/frontend/src/index.tsx +++ b/frontend/src/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - require('./base_css') import * as React from 'react' import AuthContext from 'src/auth_context' diff --git a/frontend/src/pages/account_settings/api_keys/index.tsx b/frontend/src/pages/account_settings/api_keys/index.tsx index e22b64d89..d9b1bd2ba 100644 --- a/frontend/src/pages/account_settings/api_keys/index.tsx +++ b/frontend/src/pages/account_settings/api_keys/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { format } from 'date-fns' diff --git a/frontend/src/pages/account_settings/api_keys/modals.tsx b/frontend/src/pages/account_settings/api_keys/modals.tsx index fceab15bf..50bc6e220 100644 --- a/frontend/src/pages/account_settings/api_keys/modals.tsx +++ b/frontend/src/pages/account_settings/api_keys/modals.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' diff --git a/frontend/src/pages/account_settings/auth_methods/index.tsx b/frontend/src/pages/account_settings/auth_methods/index.tsx index f9b9dca81..7e7b78f13 100644 --- a/frontend/src/pages/account_settings/auth_methods/index.tsx +++ b/frontend/src/pages/account_settings/auth_methods/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { UserOwnView, SupportedAuthenticationScheme } from 'src/global_types' diff --git a/frontend/src/pages/account_settings/index.tsx b/frontend/src/pages/account_settings/index.tsx index b6feaaf95..37f93b42d 100644 --- a/frontend/src/pages/account_settings/index.tsx +++ b/frontend/src/pages/account_settings/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { BuildReloadBus } from 'src/helpers/reload_bus' diff --git a/frontend/src/pages/account_settings/modals/index.tsx b/frontend/src/pages/account_settings/modals/index.tsx index 30b8ea80e..84f9e5f01 100644 --- a/frontend/src/pages/account_settings/modals/index.tsx +++ b/frontend/src/pages/account_settings/modals/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { deleteUserAuthenticationScheme } from 'src/services' diff --git a/frontend/src/pages/account_settings/profile/index.tsx b/frontend/src/pages/account_settings/profile/index.tsx index c6118253f..90a72ce82 100644 --- a/frontend/src/pages/account_settings/profile/index.tsx +++ b/frontend/src/pages/account_settings/profile/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Form from 'src/components/form' import Input from 'src/components/input' diff --git a/frontend/src/pages/account_settings/security/index.tsx b/frontend/src/pages/account_settings/security/index.tsx index d7d258569..130f4fd90 100644 --- a/frontend/src/pages/account_settings/security/index.tsx +++ b/frontend/src/pages/account_settings/security/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { useAuthFrontendComponent } from 'src/authschemes' import { SupportedAuthenticationScheme, UserOwnView } from 'src/global_types' diff --git a/frontend/src/pages/admin/add_headless/index.tsx b/frontend/src/pages/admin/add_headless/index.tsx index 7590013c8..eadf75419 100644 --- a/frontend/src/pages/admin/add_headless/index.tsx +++ b/frontend/src/pages/admin/add_headless/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Button from 'src/components/button' import SettingsSection from 'src/components/settings_section' diff --git a/frontend/src/pages/admin/add_user/index.tsx b/frontend/src/pages/admin/add_user/index.tsx index a19ead34a..d758c4fd6 100644 --- a/frontend/src/pages/admin/add_user/index.tsx +++ b/frontend/src/pages/admin/add_user/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2021, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Button from 'src/components/button' import SettingsSection from 'src/components/settings_section' diff --git a/frontend/src/pages/admin/add_user_group/index.tsx b/frontend/src/pages/admin/add_user_group/index.tsx index 3c154f7b6..a3280fac0 100644 --- a/frontend/src/pages/admin/add_user_group/index.tsx +++ b/frontend/src/pages/admin/add_user_group/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Button from 'src/components/button' import SettingsSection from 'src/components/settings_section' diff --git a/frontend/src/pages/admin/auth_table/index.tsx b/frontend/src/pages/admin/auth_table/index.tsx index 7b455f315..ba1e41f93 100644 --- a/frontend/src/pages/admin/auth_table/index.tsx +++ b/frontend/src/pages/admin/auth_table/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import SettingsSection from 'src/components/settings_section' import Table from 'src/components/table' diff --git a/frontend/src/pages/admin/default_tag_editor/index.tsx b/frontend/src/pages/admin/default_tag_editor/index.tsx index 25e15ee39..16bb80bf2 100644 --- a/frontend/src/pages/admin/default_tag_editor/index.tsx +++ b/frontend/src/pages/admin/default_tag_editor/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import SettingsSection from 'src/components/settings_section' import { getDefaultTags } from 'src/services' diff --git a/frontend/src/pages/admin/finding_categories_table/index.tsx b/frontend/src/pages/admin/finding_categories_table/index.tsx index cd776badc..960eec3bb 100644 --- a/frontend/src/pages/admin/finding_categories_table/index.tsx +++ b/frontend/src/pages/admin/finding_categories_table/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2021, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import Button, { ButtonGroup } from 'src/components/button' diff --git a/frontend/src/pages/admin/finding_categories_table/modals.tsx b/frontend/src/pages/admin/finding_categories_table/modals.tsx index 57b735125..d8c0b8ff3 100644 --- a/frontend/src/pages/admin/finding_categories_table/modals.tsx +++ b/frontend/src/pages/admin/finding_categories_table/modals.tsx @@ -1,6 +1,3 @@ -// Copyright 2021, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Input from 'src/components/input' import ModalForm from 'src/components/modal_form' diff --git a/frontend/src/pages/admin/global_vars_table/index.tsx b/frontend/src/pages/admin/global_vars_table/index.tsx index e2fcddd8f..c6b3c59b3 100644 --- a/frontend/src/pages/admin/global_vars_table/index.tsx +++ b/frontend/src/pages/admin/global_vars_table/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { GlobalVar } from 'src/global_types' diff --git a/frontend/src/pages/admin/index.tsx b/frontend/src/pages/admin/index.tsx index 137a3246a..e2a127f84 100644 --- a/frontend/src/pages/admin/index.tsx +++ b/frontend/src/pages/admin/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' diff --git a/frontend/src/pages/admin/invite_user/index.tsx b/frontend/src/pages/admin/invite_user/index.tsx index 8186258f5..073206731 100644 --- a/frontend/src/pages/admin/invite_user/index.tsx +++ b/frontend/src/pages/admin/invite_user/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2021, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Button from 'src/components/button' import SettingsSection from 'src/components/settings_section' diff --git a/frontend/src/pages/admin/operations_table/index.tsx b/frontend/src/pages/admin/operations_table/index.tsx index dddc78f0c..34c9090e1 100644 --- a/frontend/src/pages/admin/operations_table/index.tsx +++ b/frontend/src/pages/admin/operations_table/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { useNavigate } from 'react-router-dom' diff --git a/frontend/src/pages/admin/recovery_metrics/index.tsx b/frontend/src/pages/admin/recovery_metrics/index.tsx index 4b6a8ccaa..4ac6bab92 100644 --- a/frontend/src/pages/admin/recovery_metrics/index.tsx +++ b/frontend/src/pages/admin/recovery_metrics/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' diff --git a/frontend/src/pages/admin/service_worker_table/add_service_button.tsx b/frontend/src/pages/admin/service_worker_table/add_service_button.tsx index a0600caf8..6f2585411 100644 --- a/frontend/src/pages/admin/service_worker_table/add_service_button.tsx +++ b/frontend/src/pages/admin/service_worker_table/add_service_button.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { renderModals, useModal, } from 'src/helpers' diff --git a/frontend/src/pages/admin/service_worker_table/index.tsx b/frontend/src/pages/admin/service_worker_table/index.tsx index 481c8f0a9..6a9ccbe04 100644 --- a/frontend/src/pages/admin/service_worker_table/index.tsx +++ b/frontend/src/pages/admin/service_worker_table/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' diff --git a/frontend/src/pages/admin/service_worker_table/modals.tsx b/frontend/src/pages/admin/service_worker_table/modals.tsx index fedc52ba7..c9047a31d 100644 --- a/frontend/src/pages/admin/service_worker_table/modals.tsx +++ b/frontend/src/pages/admin/service_worker_table/modals.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { ServiceWorker } from 'src/global_types' diff --git a/frontend/src/pages/admin/tag_porter/index.tsx b/frontend/src/pages/admin/tag_porter/index.tsx index 64432757d..4701e1966 100644 --- a/frontend/src/pages/admin/tag_porter/index.tsx +++ b/frontend/src/pages/admin/tag_porter/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import SettingsSection from 'src/components/settings_section' diff --git a/frontend/src/pages/admin/user_group_table/index.tsx b/frontend/src/pages/admin/user_group_table/index.tsx index d6e9c4787..8224fadf1 100644 --- a/frontend/src/pages/admin/user_group_table/index.tsx +++ b/frontend/src/pages/admin/user_group_table/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { WiredData} from 'src/helpers' diff --git a/frontend/src/pages/admin/user_table/index.tsx b/frontend/src/pages/admin/user_table/index.tsx index ad1cb0ce2..73206bf0e 100644 --- a/frontend/src/pages/admin/user_table/index.tsx +++ b/frontend/src/pages/admin/user_table/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { useNavigate } from 'react-router-dom' diff --git a/frontend/src/pages/admin_modals/index.tsx b/frontend/src/pages/admin_modals/index.tsx index b6b2973be..42e7158cd 100644 --- a/frontend/src/pages/admin_modals/index.tsx +++ b/frontend/src/pages/admin_modals/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' diff --git a/frontend/src/pages/admin_modals/simple_user_table/index.tsx b/frontend/src/pages/admin_modals/simple_user_table/index.tsx index 45ce50219..acc14aeb4 100644 --- a/frontend/src/pages/admin_modals/simple_user_table/index.tsx +++ b/frontend/src/pages/admin_modals/simple_user_table/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { usePaginatedWiredData } from 'src/helpers' diff --git a/frontend/src/pages/login/index.tsx b/frontend/src/pages/login/index.tsx index 194dd8307..f3e064169 100644 --- a/frontend/src/pages/login/index.tsx +++ b/frontend/src/pages/login/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { useLocation, useParams } from 'react-router-dom' diff --git a/frontend/src/pages/not_found/index.tsx b/frontend/src/pages/not_found/index.tsx index 564f81cea..e5c3a84cc 100644 --- a/frontend/src/pages/not_found/index.tsx +++ b/frontend/src/pages/not_found/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import ErrorDisplay from '../../components/error_display' import { useLocation } from 'react-router-dom' diff --git a/frontend/src/pages/operation_edit/batch_run_worker/index.tsx b/frontend/src/pages/operation_edit/batch_run_worker/index.tsx index b190baf30..8b58421a5 100644 --- a/frontend/src/pages/operation_edit/batch_run_worker/index.tsx +++ b/frontend/src/pages/operation_edit/batch_run_worker/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { Evidence } from "src/global_types" diff --git a/frontend/src/pages/operation_edit/delete_operation_button/index.tsx b/frontend/src/pages/operation_edit/delete_operation_button/index.tsx index 7a1ce2c47..c5bb339a2 100644 --- a/frontend/src/pages/operation_edit/delete_operation_button/index.tsx +++ b/frontend/src/pages/operation_edit/delete_operation_button/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Button from 'src/components/button' import SettingsSection from 'src/components/settings_section' diff --git a/frontend/src/pages/operation_edit/index.tsx b/frontend/src/pages/operation_edit/index.tsx index 37f7920b8..7c239cea1 100644 --- a/frontend/src/pages/operation_edit/index.tsx +++ b/frontend/src/pages/operation_edit/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { useParams, useNavigate, Routes, Route } from 'react-router-dom' diff --git a/frontend/src/pages/operation_edit/operation_editor/index.tsx b/frontend/src/pages/operation_edit/operation_editor/index.tsx index 2dea06777..6ab4fbb11 100644 --- a/frontend/src/pages/operation_edit/operation_editor/index.tsx +++ b/frontend/src/pages/operation_edit/operation_editor/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Form from 'src/components/form' import Input from 'src/components/input' diff --git a/frontend/src/pages/operation_edit/operation_vars_table/index.tsx b/frontend/src/pages/operation_edit/operation_vars_table/index.tsx index 3ffe5f623..b12b2f309 100644 --- a/frontend/src/pages/operation_edit/operation_vars_table/index.tsx +++ b/frontend/src/pages/operation_edit/operation_vars_table/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { OperationVar } from 'src/global_types' diff --git a/frontend/src/pages/operation_edit/tag_editor/index.tsx b/frontend/src/pages/operation_edit/tag_editor/index.tsx index 55611f9bb..c0e828a4c 100644 --- a/frontend/src/pages/operation_edit/tag_editor/index.tsx +++ b/frontend/src/pages/operation_edit/tag_editor/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import { useWiredData } from 'src/helpers' import { getTags } from 'src/services' diff --git a/frontend/src/pages/operation_edit/user_group_permission_editor/index.tsx b/frontend/src/pages/operation_edit/user_group_permission_editor/index.tsx index cb505e121..01548b7d8 100644 --- a/frontend/src/pages/operation_edit/user_group_permission_editor/index.tsx +++ b/frontend/src/pages/operation_edit/user_group_permission_editor/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import AuthContext from 'src/auth_context' import Button from 'src/components/button' diff --git a/frontend/src/pages/operation_edit/user_permission_editor/index.tsx b/frontend/src/pages/operation_edit/user_permission_editor/index.tsx index 6984a570a..efa3a103e 100644 --- a/frontend/src/pages/operation_edit/user_permission_editor/index.tsx +++ b/frontend/src/pages/operation_edit/user_permission_editor/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import AuthContext from 'src/auth_context' import Button from 'src/components/button' diff --git a/frontend/src/pages/operation_list/index.tsx b/frontend/src/pages/operation_list/index.tsx index a5c0f3faf..efb5a9b36 100644 --- a/frontend/src/pages/operation_list/index.tsx +++ b/frontend/src/pages/operation_list/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import AuthContext from 'src/auth_context' import Form from 'src/components/form' diff --git a/frontend/src/pages/operation_list/list/index.tsx b/frontend/src/pages/operation_list/list/index.tsx index e7cad1ff3..7c253d9af 100644 --- a/frontend/src/pages/operation_list/list/index.tsx +++ b/frontend/src/pages/operation_list/list/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import NewOperationButton from '../new_operation_button' diff --git a/frontend/src/pages/operation_list/new_operation_button/index.tsx b/frontend/src/pages/operation_list/new_operation_button/index.tsx index 57c8418d6..a650f1614 100644 --- a/frontend/src/pages/operation_list/new_operation_button/index.tsx +++ b/frontend/src/pages/operation_list/new_operation_button/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' const cx = classnames.bind(require('./stylesheet')) diff --git a/frontend/src/pages/operation_list/operation_card/index.tsx b/frontend/src/pages/operation_list/operation_card/index.tsx index 321fc2e8b..b04ad3902 100644 --- a/frontend/src/pages/operation_list/operation_card/index.tsx +++ b/frontend/src/pages/operation_list/operation_card/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Card from 'src/components/card' import OperationBadges from 'src/components/operation_badges' diff --git a/frontend/src/pages/operation_show/evidence_list/index.tsx b/frontend/src/pages/operation_show/evidence_list/index.tsx index 54cd87e45..e2fd4d4fc 100644 --- a/frontend/src/pages/operation_show/evidence_list/index.tsx +++ b/frontend/src/pages/operation_show/evidence_list/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Layout from '../layout' import Timeline from 'src/components/timeline' diff --git a/frontend/src/pages/operation_show/evidence_modals/index.tsx b/frontend/src/pages/operation_show/evidence_modals/index.tsx index d006dd055..321e72a23 100644 --- a/frontend/src/pages/operation_show/evidence_modals/index.tsx +++ b/frontend/src/pages/operation_show/evidence_modals/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { diff --git a/frontend/src/pages/operation_show/finding_list/findings_table/index.tsx b/frontend/src/pages/operation_show/finding_list/findings_table/index.tsx index ac33eb036..ebb9a835b 100644 --- a/frontend/src/pages/operation_show/finding_list/findings_table/index.tsx +++ b/frontend/src/pages/operation_show/finding_list/findings_table/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import TagList from 'src/components/tag_list' import classnames from 'classnames/bind' diff --git a/frontend/src/pages/operation_show/finding_list/index.tsx b/frontend/src/pages/operation_show/finding_list/index.tsx index c20da8e01..872af15a5 100644 --- a/frontend/src/pages/operation_show/finding_list/index.tsx +++ b/frontend/src/pages/operation_show/finding_list/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import FindingsTable from './findings_table' import Layout from '../layout' diff --git a/frontend/src/pages/operation_show/finding_modals/index.tsx b/frontend/src/pages/operation_show/finding_modals/index.tsx index 4fb499655..aa0d0ec53 100644 --- a/frontend/src/pages/operation_show/finding_modals/index.tsx +++ b/frontend/src/pages/operation_show/finding_modals/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import EvidenceChooser from 'src/components/evidence_chooser' import ModalForm from 'src/components/modal_form' diff --git a/frontend/src/pages/operation_show/finding_show/finding_info/index.tsx b/frontend/src/pages/operation_show/finding_show/finding_info/index.tsx index 8c08261c6..bc782c383 100644 --- a/frontend/src/pages/operation_show/finding_show/finding_info/index.tsx +++ b/frontend/src/pages/operation_show/finding_show/finding_info/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import MarkdownRenderer from 'src/components/markdown_renderer' import TagList from 'src/components/tag_list' diff --git a/frontend/src/pages/operation_show/finding_show/index.tsx b/frontend/src/pages/operation_show/finding_show/index.tsx index f9d17c277..44a2b4c7f 100644 --- a/frontend/src/pages/operation_show/finding_show/index.tsx +++ b/frontend/src/pages/operation_show/finding_show/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import FindingInfo from './finding_info' import Timeline from 'src/components/timeline' diff --git a/frontend/src/pages/operation_show/layout/index.tsx b/frontend/src/pages/operation_show/layout/index.tsx index e107d853a..63b668e57 100644 --- a/frontend/src/pages/operation_show/layout/index.tsx +++ b/frontend/src/pages/operation_show/layout/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import Sidebar from './sidebar' import { Toolbar } from './toolbar' diff --git a/frontend/src/pages/operation_show/layout/sidebar/action_menu/index.tsx b/frontend/src/pages/operation_show/layout/sidebar/action_menu/index.tsx index cdfbbc581..7979802e9 100644 --- a/frontend/src/pages/operation_show/layout/sidebar/action_menu/index.tsx +++ b/frontend/src/pages/operation_show/layout/sidebar/action_menu/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import {default as Menu, MenuItem, MenuSeparator} from 'src/components/menu' diff --git a/frontend/src/pages/operation_show/layout/sidebar/index.tsx b/frontend/src/pages/operation_show/layout/sidebar/index.tsx index ca1b4cad5..d39754d1c 100644 --- a/frontend/src/pages/operation_show/layout/sidebar/index.tsx +++ b/frontend/src/pages/operation_show/layout/sidebar/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import ActionMenu from './action_menu' import OperationBadges from 'src/components/operation_badges' diff --git a/frontend/src/pages/operation_show/layout/sidebar/query_modal/index.tsx b/frontend/src/pages/operation_show/layout/sidebar/query_modal/index.tsx index a39681381..ee85f1c13 100644 --- a/frontend/src/pages/operation_show/layout/sidebar/query_modal/index.tsx +++ b/frontend/src/pages/operation_show/layout/sidebar/query_modal/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import ModalForm from 'src/components/modal_form' import { SavedQuery } from 'src/global_types' diff --git a/frontend/src/pages/operation_show/layout/toolbar/index.tsx b/frontend/src/pages/operation_show/layout/toolbar/index.tsx index 9f8e366f8..6eb3173bc 100644 --- a/frontend/src/pages/operation_show/layout/toolbar/index.tsx +++ b/frontend/src/pages/operation_show/layout/toolbar/index.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import { Tag, User, ViewName } from 'src/global_types' diff --git a/frontend/src/pages/operation_show/layout/toolbar/search_modal.tsx b/frontend/src/pages/operation_show/layout/toolbar/search_modal.tsx index dc0abfdf4..7fee2b058 100644 --- a/frontend/src/pages/operation_show/layout/toolbar/search_modal.tsx +++ b/frontend/src/pages/operation_show/layout/toolbar/search_modal.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' diff --git a/frontend/src/routes.tsx b/frontend/src/routes.tsx index 5f7824916..3c52f80c8 100644 --- a/frontend/src/routes.tsx +++ b/frontend/src/routes.tsx @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as React from 'react' import classnames from 'classnames/bind' import AuthContext from 'src/auth_context' diff --git a/frontend/src/services/api_keys.ts b/frontend/src/services/api_keys.ts index b68e830c0..27d0b9b03 100644 --- a/frontend/src/services/api_keys.ts +++ b/frontend/src/services/api_keys.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { ApiKey } from 'src/global_types' import { apiKeyFromDto } from './data_sources/converters' import { backendDataSource as ds } from './data_sources/backend' diff --git a/frontend/src/services/auth.ts b/frontend/src/services/auth.ts index f0161e899..3175dcf9d 100644 --- a/frontend/src/services/auth.ts +++ b/frontend/src/services/auth.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { UserOwnView, SupportedAuthenticationScheme, AuthSchemeDetails, RecoveryMetrics } from 'src/global_types' import { backendDataSource as ds } from './data_sources/backend' import { userOwnViewFromDto } from './data_sources/converters' diff --git a/frontend/src/services/data_sources/backend/index.ts b/frontend/src/services/data_sources/backend/index.ts index f6f4ef89a..2f18adb7f 100644 --- a/frontend/src/services/data_sources/backend/index.ts +++ b/frontend/src/services/data_sources/backend/index.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { DataSource, cacheBust } from '../data_source' import { default as req, xhrText as reqText, reqMultipart } from './request_helper' cacheBust() diff --git a/frontend/src/services/data_sources/backend/request_helper.ts b/frontend/src/services/data_sources/backend/request_helper.ts index 456b73cf1..c1bf65164 100644 --- a/frontend/src/services/data_sources/backend/request_helper.ts +++ b/frontend/src/services/data_sources/backend/request_helper.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import queryString from "query-string" var CSRF_TOKEN: string | null = null diff --git a/frontend/src/services/data_sources/converters.ts b/frontend/src/services/data_sources/converters.ts index 9c412a4b6..d223747e8 100644 --- a/frontend/src/services/data_sources/converters.ts +++ b/frontend/src/services/data_sources/converters.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as dtos from './dtos/dtos' import * as types from 'src/global_types' diff --git a/frontend/src/services/data_sources/data_source.ts b/frontend/src/services/data_sources/data_source.ts index a0203f51a..0ab50c674 100644 --- a/frontend/src/services/data_sources/data_source.ts +++ b/frontend/src/services/data_sources/data_source.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import * as dtos from './dtos/dtos' import * as types from 'src/global_types' diff --git a/frontend/src/services/findings.ts b/frontend/src/services/findings.ts index 0197b9ce4..afe9553d0 100644 --- a/frontend/src/services/findings.ts +++ b/frontend/src/services/findings.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { Evidence, Finding, FindingCategory } from 'src/global_types' import { backendDataSource as ds } from './data_sources/backend' import { computeDelta } from 'src/helpers' diff --git a/frontend/src/services/flags.ts b/frontend/src/services/flags.ts index 26790caef..72ec6cb8e 100644 --- a/frontend/src/services/flags.ts +++ b/frontend/src/services/flags.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { backendDataSource as ds } from './data_sources/backend' let backendFlags: Array | null = null diff --git a/frontend/src/services/global_vars.ts b/frontend/src/services/global_vars.ts index ee74488f1..185fe1083 100644 --- a/frontend/src/services/global_vars.ts +++ b/frontend/src/services/global_vars.ts @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { GlobalVar } from 'src/global_types' import { backendDataSource as ds } from './data_sources/backend' diff --git a/frontend/src/services/index.ts b/frontend/src/services/index.ts index e8ee693af..4cfffa872 100644 --- a/frontend/src/services/index.ts +++ b/frontend/src/services/index.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - export * from './api_keys' export * from './auth' export * from './evidence' diff --git a/frontend/src/services/operation_vars.ts b/frontend/src/services/operation_vars.ts index ab8e11615..374edd9c9 100644 --- a/frontend/src/services/operation_vars.ts +++ b/frontend/src/services/operation_vars.ts @@ -1,6 +1,3 @@ -// Copyright 2023, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { OperationVar } from 'src/global_types' import { backendDataSource as ds } from './data_sources/backend' diff --git a/frontend/src/services/operations.ts b/frontend/src/services/operations.ts index abecab2c4..9dcf3cd68 100644 --- a/frontend/src/services/operations.ts +++ b/frontend/src/services/operations.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { Operation, UserRole, UserOperationRole, UserFilter, UserGroupOperationRole } from 'src/global_types' import { backendDataSource as ds } from './data_sources/backend' import { userGroupOperationRoleFromDto, userOperationRoleFromDto } from './data_sources/converters' diff --git a/frontend/src/services/queries.ts b/frontend/src/services/queries.ts index 796ed14dc..a746bbfa5 100644 --- a/frontend/src/services/queries.ts +++ b/frontend/src/services/queries.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { SavedQuery } from 'src/global_types' import { backendDataSource as ds } from './data_sources/backend' import { queryFromDto } from './data_sources/converters' diff --git a/frontend/src/services/service_workers.ts b/frontend/src/services/service_workers.ts index f49eed277..4ae9f2a8b 100644 --- a/frontend/src/services/service_workers.ts +++ b/frontend/src/services/service_workers.ts @@ -1,6 +1,3 @@ -// Copyright 2022, Yahoo Inc. -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { ActiveServiceWorker, ServiceWorker, ServiceWorkerTestOutput } from 'src/global_types' import { backendDataSource as ds } from './data_sources/backend' diff --git a/frontend/src/services/tags.ts b/frontend/src/services/tags.ts index cf735c4de..171934b73 100644 --- a/frontend/src/services/tags.ts +++ b/frontend/src/services/tags.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { Tag, TagWithUsage, DefaultTag } from 'src/global_types' import { backendDataSource as ds } from './data_sources/backend' diff --git a/frontend/src/services/user.ts b/frontend/src/services/user.ts index 5f52c31c6..234b062f0 100644 --- a/frontend/src/services/user.ts +++ b/frontend/src/services/user.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { NewUser } from 'src/global_types' import { backendDataSource as ds } from './data_sources/backend' diff --git a/frontend/src/services/users.ts b/frontend/src/services/users.ts index e1ffb0bc8..9768a1e47 100644 --- a/frontend/src/services/users.ts +++ b/frontend/src/services/users.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - import { backendDataSource as ds } from './data_sources/backend' import { PaginationResult, User, UserAdminView, ListUsersForAdminQuery, UserFilter } from 'src/global_types' diff --git a/frontend/src/test_helpers/deferred.ts b/frontend/src/test_helpers/deferred.ts index 038193fbe..b2eee3e56 100644 --- a/frontend/src/test_helpers/deferred.ts +++ b/frontend/src/test_helpers/deferred.ts @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - // A Deferred is a promise that can be resolved/rejected externally export type Deferred = { resolve: (value: T) => void, diff --git a/frontend/src/test_helpers/mock-stylesheet.js b/frontend/src/test_helpers/mock-stylesheet.js index 272596b93..ed9265f90 100644 --- a/frontend/src/test_helpers/mock-stylesheet.js +++ b/frontend/src/test_helpers/mock-stylesheet.js @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - // This file is used as a stub for stylesheet imports in tests module.exports = {} diff --git a/frontend/src/test_helpers/setup.js b/frontend/src/test_helpers/setup.js index 1f82fc7f2..5dcb5b95b 100644 --- a/frontend/src/test_helpers/setup.js +++ b/frontend/src/test_helpers/setup.js @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - // This file is included by mocha to help set up testing // First set up sinon-chai diff --git a/signer/hmac.go b/signer/hmac.go index 277e8934d..164d05aaf 100644 --- a/signer/hmac.go +++ b/signer/hmac.go @@ -1,6 +1,3 @@ -// Copyright 2020, Verizon Media -// Licensed under the terms of the MIT. See LICENSE file in project root for terms. - package signer import ( From d483f961db81f8307ef8cf2ebc6500bd8ac3bc1b Mon Sep 17 00:00:00 2001 From: John Kennedy <65985482+jkennedyvz@users.noreply.github.com> Date: Wed, 6 Dec 2023 15:55:13 -0800 Subject: [PATCH 3/3] Removing DTOS header --- backend/dtos/gentypes/generate_typescript_types.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/dtos/gentypes/generate_typescript_types.go b/backend/dtos/gentypes/generate_typescript_types.go index 1eeb64f20..8036c7d39 100644 --- a/backend/dtos/gentypes/generate_typescript_types.go +++ b/backend/dtos/gentypes/generate_typescript_types.go @@ -9,9 +9,6 @@ import ( ) func main() { - fmt.Println("// Copyright 2022, Yahoo Inc.") - fmt.Println("// Licensed under the terms of the MIT. See LICENSE file in project root for terms.") - fmt.Println() fmt.Println("// Types in this file are generated by backend/dtos/gentypes") fmt.Println("// Changes made will be overridden on next generate") gen(dtos.APIKey{})