From f92308f5b2546121107e04fc99b2386d3fb983a3 Mon Sep 17 00:00:00 2001 From: David Callies Date: Tue, 24 Sep 2024 13:08:38 -0400 Subject: [PATCH] Add required copyright headers to files missing it (#1625) --- Dockerfile.vpdq | 1 + .../src/OpenMediaMatch/blueprints/curation.py | 2 ++ .../src/OpenMediaMatch/migrations/env.py | 2 ++ .../src/OpenMediaMatch/migrations/script.py.mako | 2 ++ .../src/OpenMediaMatch/templates/bootstrap.html.j2 | 1 + .../templates/components/add_to_bank_form.html.j2 | 1 + .../templates/components/banks_grid.html.j2 | 1 + .../templates/components/content_signal.html.j2 | 1 + .../components/create_exchange_modal.html.j2 | 1 + .../templates/components/dev_mode_bar.html.j2 | 1 + .../templates/components/exchange_status.html.j2 | 1 + .../templates/components/index_status.html.j2 | 1 + .../templates/components/match_dbg_upload.html.j2 | 1 + .../templates/components/match_form.html.j2 | 1 + .../templates/components/nav_bar.html.j2 | 1 + .../OpenMediaMatch/templates/pages/banks.html.j2 | 1 + .../templates/pages/exchanges.html.j2 | 1 + .../OpenMediaMatch/templates/pages/home.html.j2 | 1 + .../templates/pages/match_dbg.html.j2 | 1 + .../src/OpenMediaMatch/tests/test_api.py | 2 ++ .../src/OpenMediaMatch/tests/test_database.py | 2 ++ .../src/OpenMediaMatch/tests/utils.py | 2 ++ .../src/OpenMediaMatch/utils/formatters.py | 2 ++ vpdq/cpp/pdq/cpp/hashing/torben.cpp | 8 +++++--- vpdq/cpp/pdq/cpp/hashing/torben.h | 14 ++++++-------- vpdq/python/tools/generate_hashes.py | 2 ++ 26 files changed, 43 insertions(+), 11 deletions(-) diff --git a/Dockerfile.vpdq b/Dockerfile.vpdq index 67b02cd69..0b0b49949 100644 --- a/Dockerfile.vpdq +++ b/Dockerfile.vpdq @@ -1,3 +1,4 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. # Dockerfile for development of vpdq. FROM ubuntu:24.04 diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/blueprints/curation.py b/hasher-matcher-actioner/src/OpenMediaMatch/blueprints/curation.py index 608422951..869f42bc5 100644 --- a/hasher-matcher-actioner/src/OpenMediaMatch/blueprints/curation.py +++ b/hasher-matcher-actioner/src/OpenMediaMatch/blueprints/curation.py @@ -1,3 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. + import re import typing as t diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/migrations/env.py b/hasher-matcher-actioner/src/OpenMediaMatch/migrations/env.py index a02643d6c..58d1f84ba 100644 --- a/hasher-matcher-actioner/src/OpenMediaMatch/migrations/env.py +++ b/hasher-matcher-actioner/src/OpenMediaMatch/migrations/env.py @@ -1,3 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. + import logging from logging.config import fileConfig diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/migrations/script.py.mako b/hasher-matcher-actioner/src/OpenMediaMatch/migrations/script.py.mako index 2c0156303..efeb74fca 100644 --- a/hasher-matcher-actioner/src/OpenMediaMatch/migrations/script.py.mako +++ b/hasher-matcher-actioner/src/OpenMediaMatch/migrations/script.py.mako @@ -1,3 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. + """${message} Revision ID: ${up_revision} diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/templates/bootstrap.html.j2 b/hasher-matcher-actioner/src/OpenMediaMatch/templates/bootstrap.html.j2 index 24e6fa8b7..49909886e 100644 --- a/hasher-matcher-actioner/src/OpenMediaMatch/templates/bootstrap.html.j2 +++ b/hasher-matcher-actioner/src/OpenMediaMatch/templates/bootstrap.html.j2 @@ -1,3 +1,4 @@ +{# Copyright (c) Meta Platforms, Inc. and affiliates. #} diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/add_to_bank_form.html.j2 b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/add_to_bank_form.html.j2 index 4342eb29e..610204ac9 100644 --- a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/add_to_bank_form.html.j2 +++ b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/add_to_bank_form.html.j2 @@ -1,3 +1,4 @@ +{# Copyright (c) Meta Platforms, Inc. and affiliates. #}

Add Content to Bank

diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks_grid.html.j2 b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks_grid.html.j2 index 8965c96de..8a55cf8fe 100644 --- a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks_grid.html.j2 +++ b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks_grid.html.j2 @@ -1,3 +1,4 @@ +{# Copyright (c) Meta Platforms, Inc. and affiliates. #}

Banks

diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/content_signal.html.j2 b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/content_signal.html.j2 index 885a675c4..9e8d17e60 100644 --- a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/content_signal.html.j2 +++ b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/content_signal.html.j2 @@ -1,3 +1,4 @@ +{# Copyright (c) Meta Platforms, Inc. and affiliates. #}
diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/create_exchange_modal.html.j2 b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/create_exchange_modal.html.j2 index 126f521b5..45022ea26 100644 --- a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/create_exchange_modal.html.j2 +++ b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/create_exchange_modal.html.j2 @@ -1,3 +1,4 @@ +{# Copyright (c) Meta Platforms, Inc. and affiliates. #}