diff --git a/LICENSE b/LICENSE.txt similarity index 100% rename from LICENSE rename to LICENSE.txt diff --git a/Makefile b/Makefile index 5f5e6a93..f5210776 100644 --- a/Makefile +++ b/Makefile @@ -166,6 +166,7 @@ install-go-tools: @echo Installing go tools $(GO) install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61.0 $(GO) install gotest.tools/gotestsum@v1.7.0 + $(GO) install github.com/mattermost/mattermost-govet/v2@74015bfd77fd15511c57eaae8cba213c005ba31c ## Runs eslint and golangci-lint .PHONY: check-style @@ -184,6 +185,7 @@ ifneq ($(HAS_SERVER),) @echo Running golangci-lint $(GO) vet ./... $(GOBIN)/golangci-lint run ./... + $(GO) vet -vettool=$(GOBIN)/mattermost-govet -license -license.year=2023 ./... endif generate: diff --git a/build/manifest/main.go b/build/manifest/main.go index 890414a4..39d78a97 100644 --- a/build/manifest/main.go +++ b/build/manifest/main.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/build/pluginctl/logs.go b/build/pluginctl/logs.go index f20e8bba..f50ba961 100644 --- a/build/pluginctl/logs.go +++ b/build/pluginctl/logs.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/build/pluginctl/logs_test.go b/build/pluginctl/logs_test.go index 2917a271..2073e24c 100644 --- a/build/pluginctl/logs_test.go +++ b/build/pluginctl/logs_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/build/pluginctl/main.go b/build/pluginctl/main.go index 2f80af5b..c5e5b2a0 100644 --- a/build/pluginctl/main.go +++ b/build/pluginctl/main.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + // main handles deployment of the plugin to a development server using the Client4 API. package main diff --git a/plugin.go b/plugin.go index c12d7bd8..51f84b1d 100644 --- a/plugin.go +++ b/plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package root import ( diff --git a/server/anthropic/anthropic.go b/server/anthropic/anthropic.go index 857cb192..6d5e390a 100644 --- a/server/anthropic/anthropic.go +++ b/server/anthropic/anthropic.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package anthropic import ( diff --git a/server/anthropic/anthropic_test.go b/server/anthropic/anthropic_test.go index 4d2eb427..d7ca7ffb 100644 --- a/server/anthropic/anthropic_test.go +++ b/server/anthropic/anthropic_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package anthropic import ( diff --git a/server/api.go b/server/api.go index ab38584a..7efae9f6 100644 --- a/server/api.go +++ b/server/api.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/api_admin.go b/server/api_admin.go index 6c17c63c..c65d19a7 100644 --- a/server/api_admin.go +++ b/server/api_admin.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/api_channel.go b/server/api_channel.go index 5616c5ca..9b6cb0e0 100644 --- a/server/api_channel.go +++ b/server/api_channel.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/api_post.go b/server/api_post.go index 7624487f..a883fd7f 100644 --- a/server/api_post.go +++ b/server/api_post.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/api_test.go b/server/api_test.go index d7b8c093..be4cfabe 100644 --- a/server/api_test.go +++ b/server/api_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/asksage/asksage.go b/server/asksage/asksage.go index f3a43093..eab834e0 100644 --- a/server/asksage/asksage.go +++ b/server/asksage/asksage.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package asksage import ( diff --git a/server/asksage/client.go b/server/asksage/client.go index 4017cb19..c61322f5 100644 --- a/server/asksage/client.go +++ b/server/asksage/client.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package asksage import ( diff --git a/server/bot.go b/server/bot.go index 419fcec9..5830b4ba 100644 --- a/server/bot.go +++ b/server/bot.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/built_in_tools.go b/server/built_in_tools.go index 5f888b20..2ef91af0 100644 --- a/server/built_in_tools.go +++ b/server/built_in_tools.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/configuration.go b/server/configuration.go index 37879dcc..e58258bb 100644 --- a/server/configuration.go +++ b/server/configuration.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/conversation_context.go b/server/conversation_context.go index dc9d0152..f2449b1b 100644 --- a/server/conversation_context.go +++ b/server/conversation_context.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/conversations.go b/server/conversations.go index 200108c5..217329aa 100644 --- a/server/conversations.go +++ b/server/conversations.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/enterprise/license.go b/server/enterprise/license.go index e90c61dc..6d9a892b 100644 --- a/server/enterprise/license.go +++ b/server/enterprise/license.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.enterprise for license information. + package enterprise import ( diff --git a/server/handle_messages.go b/server/handle_messages.go index c2929d12..f10e8b9e 100644 --- a/server/handle_messages.go +++ b/server/handle_messages.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/handle_messages_test.go b/server/handle_messages_test.go index e2f13d47..dad5c732 100644 --- a/server/handle_messages_test.go +++ b/server/handle_messages_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/http_external.go b/server/http_external.go index fd716a46..043c50a6 100644 --- a/server/http_external.go +++ b/server/http_external.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/http_external_test.go b/server/http_external_test.go index 9b1ce301..ef587698 100644 --- a/server/http_external_test.go +++ b/server/http_external_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/i18n.go b/server/i18n.go index 393067e9..c86fea91 100644 --- a/server/i18n.go +++ b/server/i18n.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/llm/configuration.go b/server/llm/configuration.go index 12f13cbd..e1f4bd0e 100644 --- a/server/llm/configuration.go +++ b/server/llm/configuration.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package llm type ServiceConfig struct { diff --git a/server/llm/configuration_test.go b/server/llm/configuration_test.go index da269cea..1d4f3fdf 100644 --- a/server/llm/configuration_test.go +++ b/server/llm/configuration_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package llm import ( diff --git a/server/llm/conversation.go b/server/llm/conversation.go index 41989f17..2368410b 100644 --- a/server/llm/conversation.go +++ b/server/llm/conversation.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package llm import ( diff --git a/server/llm/conversation_test.go b/server/llm/conversation_test.go index c4fd663b..1c0677a6 100644 --- a/server/llm/conversation_test.go +++ b/server/llm/conversation_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package llm import ( diff --git a/server/llm/generate_prompt_vars.go b/server/llm/generate_prompt_vars.go index 260c4eca..8fbbc5fc 100644 --- a/server/llm/generate_prompt_vars.go +++ b/server/llm/generate_prompt_vars.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + //go:build ignore package main diff --git a/server/llm/language_model.go b/server/llm/language_model.go index 9d169293..bd676471 100644 --- a/server/llm/language_model.go +++ b/server/llm/language_model.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package llm type LanguageModel interface { diff --git a/server/llm/prompts.go b/server/llm/prompts.go index b9bb3255..54931b07 100644 --- a/server/llm/prompts.go +++ b/server/llm/prompts.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package llm import ( diff --git a/server/llm/prompts_vars.go b/server/llm/prompts_vars.go index 81cb085d..5c92f037 100644 --- a/server/llm/prompts_vars.go +++ b/server/llm/prompts_vars.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package llm // Automatically generated convenience vars for the filenames in llm/prompts/ diff --git a/server/llm/stream.go b/server/llm/stream.go index d38de8c9..58021333 100644 --- a/server/llm/stream.go +++ b/server/llm/stream.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package llm type TextStreamResult struct { diff --git a/server/llm/subtitles/subtitles.go b/server/llm/subtitles/subtitles.go index 8a042c3a..6226d236 100644 --- a/server/llm/subtitles/subtitles.go +++ b/server/llm/subtitles/subtitles.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package subtitles import ( diff --git a/server/llm/subtitles/subtitles_test.go b/server/llm/subtitles/subtitles_test.go index 7309f939..6193e6fb 100644 --- a/server/llm/subtitles/subtitles_test.go +++ b/server/llm/subtitles/subtitles_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package subtitles import ( diff --git a/server/llm/tools.go b/server/llm/tools.go index d0c330ba..8a430189 100644 --- a/server/llm/tools.go +++ b/server/llm/tools.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package llm import ( diff --git a/server/llm_log.go b/server/llm_log.go index ecdc21e9..479f8922 100644 --- a/server/llm_log.go +++ b/server/llm_log.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/llm_truncate.go b/server/llm_truncate.go index df9a2432..a5ab4988 100644 --- a/server/llm_truncate.go +++ b/server/llm_truncate.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/main.go b/server/main.go index cf8238e6..e9045c6e 100644 --- a/server/main.go +++ b/server/main.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/meeting_summarization.go b/server/meeting_summarization.go index 9d164bb8..45d47957 100644 --- a/server/meeting_summarization.go +++ b/server/meeting_summarization.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/mentions.go b/server/mentions.go index d570de6e..68cff754 100644 --- a/server/mentions.go +++ b/server/mentions.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/mentions_test.go b/server/mentions_test.go index 80eaf851..9eaa438f 100644 --- a/server/mentions_test.go +++ b/server/mentions_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/metrics.go b/server/metrics.go index adbfaf99..9aaca7a0 100644 --- a/server/metrics.go +++ b/server/metrics.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/metrics/metrics.go b/server/metrics/metrics.go index f5032862..b94a1daf 100644 --- a/server/metrics/metrics.go +++ b/server/metrics/metrics.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package metrics import ( diff --git a/server/metrics/server.go b/server/metrics/server.go index 66b5e4f9..ffe32246 100644 --- a/server/metrics/server.go +++ b/server/metrics/server.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package metrics import ( diff --git a/server/mmapi/channels.go b/server/mmapi/channels.go index e41e07ce..31aa2920 100644 --- a/server/mmapi/channels.go +++ b/server/mmapi/channels.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package mmapi import ( diff --git a/server/mmapi/channels_test.go b/server/mmapi/channels_test.go index ec8205e3..c96e6388 100644 --- a/server/mmapi/channels_test.go +++ b/server/mmapi/channels_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package mmapi import ( diff --git a/server/openai/openai.go b/server/openai/openai.go index 7309ae2f..6b3cbf9a 100644 --- a/server/openai/openai.go +++ b/server/openai/openai.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package openai import ( diff --git a/server/permissions.go b/server/permissions.go index bd07f09e..5793b7cc 100644 --- a/server/permissions.go +++ b/server/permissions.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/permissions_test.go b/server/permissions_test.go index f1004391..02d77b42 100644 --- a/server/permissions_test.go +++ b/server/permissions_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/plugin.go b/server/plugin.go index 606652d6..f8169afa 100644 --- a/server/plugin.go +++ b/server/plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/plugin_test.go b/server/plugin_test.go index 789873ef..ca1f9850 100644 --- a/server/plugin_test.go +++ b/server/plugin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/post_processing.go b/server/post_processing.go index ad27c7ac..8618d8e9 100644 --- a/server/post_processing.go +++ b/server/post_processing.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/store.go b/server/store.go index 4d6b09f7..94f45f54 100644 --- a/server/store.go +++ b/server/store.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/text_splitting.go b/server/text_splitting.go index 4867b4b1..2fae74d6 100644 --- a/server/text_splitting.go +++ b/server/text_splitting.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/text_splitting_test.go b/server/text_splitting_test.go index 83163e77..c72dbda4 100644 --- a/server/text_splitting_test.go +++ b/server/text_splitting_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/thread_analysis.go b/server/thread_analysis.go index 681f0a1c..29591caf 100644 --- a/server/thread_analysis.go +++ b/server/thread_analysis.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/server/transcriptions.go b/server/transcriptions.go index 4d4dd923..2e77b167 100644 --- a/server/transcriptions.go +++ b/server/transcriptions.go @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + package main import ( diff --git a/webapp/.eslintignore b/webapp/.eslintignore new file mode 100644 index 00000000..ddcff954 --- /dev/null +++ b/webapp/.eslintignore @@ -0,0 +1,2 @@ + +src/manifest.* \ No newline at end of file diff --git a/webapp/.eslintrc.json b/webapp/.eslintrc.json index b8be7552..9192a6d8 100644 --- a/webapp/.eslintrc.json +++ b/webapp/.eslintrc.json @@ -22,7 +22,8 @@ "babel", "cypress", "no-only-tests", - "@typescript-eslint" + "@typescript-eslint", + "header" ], "parserOptions": { "ecmaVersion": "latest", @@ -123,6 +124,12 @@ "allowArrowFunctions": true } ], + "header/header": [ + 2, + "line", + " Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved.\n See LICENSE.txt for license information.", + 2 + ], "generator-star-spacing": [ 2, { diff --git a/webapp/babel.config.js b/webapp/babel.config.js index bfa13387..1d76fb94 100644 --- a/webapp/babel.config.js +++ b/webapp/babel.config.js @@ -1,4 +1,4 @@ -// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. const config = { diff --git a/webapp/src/bots.tsx b/webapp/src/bots.tsx index ecd187ca..21222547 100644 --- a/webapp/src/bots.tsx +++ b/webapp/src/bots.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import {useState, useEffect} from 'react'; import {useDispatch, useSelector} from 'react-redux'; diff --git a/webapp/src/calls_button.tsx b/webapp/src/calls_button.tsx index 4b26107c..9b86e706 100644 --- a/webapp/src/calls_button.tsx +++ b/webapp/src/calls_button.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import {doSummarizeTranscription} from './client'; import {doSelectPost} from './hooks'; diff --git a/webapp/src/client.tsx b/webapp/src/client.tsx index 17ad976f..0654bcf1 100644 --- a/webapp/src/client.tsx +++ b/webapp/src/client.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import {Client4 as Client4Class, ClientError} from '@mattermost/client'; import {ChannelWithTeamData} from '@mattermost/types/channels'; import {Team} from '@mattermost/types/lib/teams'; diff --git a/webapp/src/components/ask_ai_input.tsx b/webapp/src/components/ask_ai_input.tsx index 8a0b297d..7c3c4ca9 100644 --- a/webapp/src/components/ask_ai_input.tsx +++ b/webapp/src/components/ask_ai_input.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React, {useState} from 'react'; import styled from 'styled-components'; diff --git a/webapp/src/components/assets/buttons.tsx b/webapp/src/components/assets/buttons.tsx index d2c0d128..4b4bf730 100644 --- a/webapp/src/components/assets/buttons.tsx +++ b/webapp/src/components/assets/buttons.tsx @@ -1,5 +1,5 @@ -// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved. -// See License for license information. +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. import styled from 'styled-components'; diff --git a/webapp/src/components/assets/icon_ai.tsx b/webapp/src/components/assets/icon_ai.tsx index 13c9d9f0..2a118f16 100644 --- a/webapp/src/components/assets/icon_ai.tsx +++ b/webapp/src/components/assets/icon_ai.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import Svg from '../svg'; diff --git a/webapp/src/components/assets/icon_cancel.tsx b/webapp/src/components/assets/icon_cancel.tsx index 83a6751e..88ff1be1 100644 --- a/webapp/src/components/assets/icon_cancel.tsx +++ b/webapp/src/components/assets/icon_cancel.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import Svg from '../svg'; diff --git a/webapp/src/components/assets/icon_react_for_me.tsx b/webapp/src/components/assets/icon_react_for_me.tsx index 6e47f8bc..7b1d3227 100644 --- a/webapp/src/components/assets/icon_react_for_me.tsx +++ b/webapp/src/components/assets/icon_react_for_me.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import Svg from '../svg'; diff --git a/webapp/src/components/assets/icon_regenerate.tsx b/webapp/src/components/assets/icon_regenerate.tsx index 31a11776..4fcfc58e 100644 --- a/webapp/src/components/assets/icon_regenerate.tsx +++ b/webapp/src/components/assets/icon_regenerate.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import Svg from '../svg'; diff --git a/webapp/src/components/assets/icon_sparkle_checkmark.tsx b/webapp/src/components/assets/icon_sparkle_checkmark.tsx index 37f77884..47633593 100644 --- a/webapp/src/components/assets/icon_sparkle_checkmark.tsx +++ b/webapp/src/components/assets/icon_sparkle_checkmark.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import Svg from '../svg'; diff --git a/webapp/src/components/assets/icon_sparkle_question.tsx b/webapp/src/components/assets/icon_sparkle_question.tsx index 10d8f239..f7c83393 100644 --- a/webapp/src/components/assets/icon_sparkle_question.tsx +++ b/webapp/src/components/assets/icon_sparkle_question.tsx @@ -1,3 +1,5 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. import React from 'react'; diff --git a/webapp/src/components/assets/icon_thread.tsx b/webapp/src/components/assets/icon_thread.tsx index 08a91b9f..06aa9a85 100644 --- a/webapp/src/components/assets/icon_thread.tsx +++ b/webapp/src/components/assets/icon_thread.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import Svg from '../svg'; diff --git a/webapp/src/components/assets/icon_thread_summarization.tsx b/webapp/src/components/assets/icon_thread_summarization.tsx index 9642ad67..ab18c174 100644 --- a/webapp/src/components/assets/icon_thread_summarization.tsx +++ b/webapp/src/components/assets/icon_thread_summarization.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import Svg from '../svg'; diff --git a/webapp/src/components/assets/icon_wand.tsx b/webapp/src/components/assets/icon_wand.tsx index 724eb947..f69d7453 100644 --- a/webapp/src/components/assets/icon_wand.tsx +++ b/webapp/src/components/assets/icon_wand.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import Svg from '../svg'; diff --git a/webapp/src/components/assets/loading_spinner.tsx b/webapp/src/components/assets/loading_spinner.tsx index 422e2643..b7684109 100644 --- a/webapp/src/components/assets/loading_spinner.tsx +++ b/webapp/src/components/assets/loading_spinner.tsx @@ -1,5 +1,4 @@ - -// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React from 'react'; diff --git a/webapp/src/components/assets/rhs_image.tsx b/webapp/src/components/assets/rhs_image.tsx index 789aaee4..2529e925 100644 --- a/webapp/src/components/assets/rhs_image.tsx +++ b/webapp/src/components/assets/rhs_image.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import Svg from '../svg'; diff --git a/webapp/src/components/assets/sparkles_graphic.tsx b/webapp/src/components/assets/sparkles_graphic.tsx index 5f169bc5..fc3316bc 100644 --- a/webapp/src/components/assets/sparkles_graphic.tsx +++ b/webapp/src/components/assets/sparkles_graphic.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import Svg from '../svg'; diff --git a/webapp/src/components/bot_slector.tsx b/webapp/src/components/bot_slector.tsx index d5a161ea..3dee675b 100644 --- a/webapp/src/components/bot_slector.tsx +++ b/webapp/src/components/bot_slector.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import {FormattedMessage} from 'react-intl'; diff --git a/webapp/src/components/checkbox.tsx b/webapp/src/components/checkbox.tsx index b62e3275..9f4b96f9 100644 --- a/webapp/src/components/checkbox.tsx +++ b/webapp/src/components/checkbox.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import styled from 'styled-components'; diff --git a/webapp/src/components/dot_menu.tsx b/webapp/src/components/dot_menu.tsx index 9eb17408..ffad535c 100644 --- a/webapp/src/components/dot_menu.tsx +++ b/webapp/src/components/dot_menu.tsx @@ -1,4 +1,4 @@ -// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React, {ComponentProps, useState} from 'react'; diff --git a/webapp/src/components/dropdown.tsx b/webapp/src/components/dropdown.tsx index 6417c62a..ee6e410c 100644 --- a/webapp/src/components/dropdown.tsx +++ b/webapp/src/components/dropdown.tsx @@ -1,4 +1,4 @@ -// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React, {ComponentProps, cloneElement, useState} from 'react'; diff --git a/webapp/src/components/dropdown_info.tsx b/webapp/src/components/dropdown_info.tsx index b8f68ba7..ad662227 100644 --- a/webapp/src/components/dropdown_info.tsx +++ b/webapp/src/components/dropdown_info.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import {FormattedMessage} from 'react-intl'; import styled, {css} from 'styled-components'; diff --git a/webapp/src/components/llmbot_post.tsx b/webapp/src/components/llmbot_post.tsx index c7ab090c..ed825a6b 100644 --- a/webapp/src/components/llmbot_post.tsx +++ b/webapp/src/components/llmbot_post.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React, {useEffect, useRef, useState} from 'react'; import {FormattedMessage} from 'react-intl'; import {useSelector} from 'react-redux'; diff --git a/webapp/src/components/pill.tsx b/webapp/src/components/pill.tsx index 738c5ee8..5acda697 100644 --- a/webapp/src/components/pill.tsx +++ b/webapp/src/components/pill.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import styled from 'styled-components'; export const Pill = styled.div` diff --git a/webapp/src/components/post_menu.tsx b/webapp/src/components/post_menu.tsx index 3c127356..d26e5862 100644 --- a/webapp/src/components/post_menu.tsx +++ b/webapp/src/components/post_menu.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import {FormattedMessage, useIntl} from 'react-intl'; diff --git a/webapp/src/components/post_text.tsx b/webapp/src/components/post_text.tsx index a09d2bdf..0228e2dd 100644 --- a/webapp/src/components/post_text.tsx +++ b/webapp/src/components/post_text.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import {useSelector} from 'react-redux'; import styled, {keyframes, css} from 'styled-components'; diff --git a/webapp/src/components/postback_post.tsx b/webapp/src/components/postback_post.tsx index 5947f571..a8bb1283 100644 --- a/webapp/src/components/postback_post.tsx +++ b/webapp/src/components/postback_post.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import {useSelector} from 'react-redux'; import {FormattedMessage} from 'react-intl'; diff --git a/webapp/src/components/rhs/common.tsx b/webapp/src/components/rhs/common.tsx index 524ef6bc..a6e8d454 100644 --- a/webapp/src/components/rhs/common.tsx +++ b/webapp/src/components/rhs/common.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import styled from 'styled-components'; export const Button = styled.button` diff --git a/webapp/src/components/rhs/rhs.tsx b/webapp/src/components/rhs/rhs.tsx index b0a068e5..baacb32e 100644 --- a/webapp/src/components/rhs/rhs.tsx +++ b/webapp/src/components/rhs/rhs.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React, {useState, useEffect, useCallback} from 'react'; import {FormattedMessage, useIntl} from 'react-intl'; import {useDispatch, useSelector} from 'react-redux'; diff --git a/webapp/src/components/rhs/rhs_header.tsx b/webapp/src/components/rhs/rhs_header.tsx index dea9f254..a8f483f6 100644 --- a/webapp/src/components/rhs/rhs_header.tsx +++ b/webapp/src/components/rhs/rhs_header.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import {ChevronDownIcon} from '@mattermost/compass-icons/components'; import React from 'react'; import styled from 'styled-components'; diff --git a/webapp/src/components/rhs/rhs_new_tab.tsx b/webapp/src/components/rhs/rhs_new_tab.tsx index 0977b69a..8cf48b31 100644 --- a/webapp/src/components/rhs/rhs_new_tab.tsx +++ b/webapp/src/components/rhs/rhs_new_tab.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React, {useState, useCallback} from 'react'; import styled from 'styled-components'; import {useIntl, FormattedMessage} from 'react-intl'; diff --git a/webapp/src/components/rhs/thread_item.tsx b/webapp/src/components/rhs/thread_item.tsx index 9baadecb..2f439ad1 100644 --- a/webapp/src/components/rhs/thread_item.tsx +++ b/webapp/src/components/rhs/thread_item.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import styled from 'styled-components'; diff --git a/webapp/src/components/select.tsx b/webapp/src/components/select.tsx index 273835f2..4077b5ca 100644 --- a/webapp/src/components/select.tsx +++ b/webapp/src/components/select.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React, {useState, useEffect, useCallback} from 'react'; import styled from 'styled-components'; import AsyncSelect from 'react-select/async'; diff --git a/webapp/src/components/svg.tsx b/webapp/src/components/svg.tsx index 3f4c97c4..ab0f6e98 100644 --- a/webapp/src/components/svg.tsx +++ b/webapp/src/components/svg.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import styled from 'styled-components'; // Hat-tip: https://www.pinkdroids.com/blog/svg-react-styled-components/ diff --git a/webapp/src/components/system_console/avatar.tsx b/webapp/src/components/system_console/avatar.tsx index 1d3b8967..26bf5dea 100644 --- a/webapp/src/components/system_console/avatar.tsx +++ b/webapp/src/components/system_console/avatar.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React, {ChangeEvent, useEffect, useRef, useState} from 'react'; import styled from 'styled-components'; import {FormattedMessage} from 'react-intl'; diff --git a/webapp/src/components/system_console/bot.tsx b/webapp/src/components/system_console/bot.tsx index d5f6be73..1075e510 100644 --- a/webapp/src/components/system_console/bot.tsx +++ b/webapp/src/components/system_console/bot.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React, {useState} from 'react'; import styled from 'styled-components'; import {FormattedMessage, useIntl} from 'react-intl'; diff --git a/webapp/src/components/system_console/bots.tsx b/webapp/src/components/system_console/bots.tsx index 0d2e8483..8feb1390 100644 --- a/webapp/src/components/system_console/bots.tsx +++ b/webapp/src/components/system_console/bots.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import styled from 'styled-components'; import {PlusIcon} from '@mattermost/compass-icons/components'; diff --git a/webapp/src/components/system_console/config.tsx b/webapp/src/components/system_console/config.tsx index bd500fad..477f5af1 100644 --- a/webapp/src/components/system_console/config.tsx +++ b/webapp/src/components/system_console/config.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React, {useEffect, useState} from 'react'; import styled from 'styled-components'; import {FormattedMessage, useIntl} from 'react-intl'; diff --git a/webapp/src/components/system_console/enterprise_chip.tsx b/webapp/src/components/system_console/enterprise_chip.tsx index 07412943..cb3db516 100644 --- a/webapp/src/components/system_console/enterprise_chip.tsx +++ b/webapp/src/components/system_console/enterprise_chip.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import styled from 'styled-components'; diff --git a/webapp/src/components/system_console/item.tsx b/webapp/src/components/system_console/item.tsx index b647a246..6531adae 100644 --- a/webapp/src/components/system_console/item.tsx +++ b/webapp/src/components/system_console/item.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import styled from 'styled-components'; import {FormattedMessage} from 'react-intl'; diff --git a/webapp/src/components/system_console/llm_access.tsx b/webapp/src/components/system_console/llm_access.tsx index 4bd25038..cbb6caf0 100644 --- a/webapp/src/components/system_console/llm_access.tsx +++ b/webapp/src/components/system_console/llm_access.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import styled from 'styled-components'; import {FormattedMessage} from 'react-intl'; diff --git a/webapp/src/components/system_console/no_bots_page.tsx b/webapp/src/components/system_console/no_bots_page.tsx index 33d83fb8..122d8095 100644 --- a/webapp/src/components/system_console/no_bots_page.tsx +++ b/webapp/src/components/system_console/no_bots_page.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import {PlusIcon} from '@mattermost/compass-icons/components'; import React from 'react'; import styled from 'styled-components'; diff --git a/webapp/src/components/system_console/panel.tsx b/webapp/src/components/system_console/panel.tsx index 9259d5d9..7414cf69 100644 --- a/webapp/src/components/system_console/panel.tsx +++ b/webapp/src/components/system_console/panel.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import styled from 'styled-components'; diff --git a/webapp/src/components/system_console/service.tsx b/webapp/src/components/system_console/service.tsx index e78efb31..dac45d8e 100644 --- a/webapp/src/components/system_console/service.tsx +++ b/webapp/src/components/system_console/service.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + export type ServiceData = { id: string name: string diff --git a/webapp/src/components/unreads_summarize.tsx b/webapp/src/components/unreads_summarize.tsx index 6958f839..9b72f59c 100644 --- a/webapp/src/components/unreads_summarize.tsx +++ b/webapp/src/components/unreads_summarize.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import styled from 'styled-components'; import {FormattedMessage} from 'react-intl'; diff --git a/webapp/src/hooks.tsx b/webapp/src/hooks.tsx index 5204df46..aa173756 100644 --- a/webapp/src/hooks.tsx +++ b/webapp/src/hooks.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import {useDispatch} from 'react-redux'; import {selectPost, openRHS, selectRegularPost} from 'src/redux_actions'; diff --git a/webapp/src/index.tsx b/webapp/src/index.tsx index 02b05a96..ca04a166 100644 --- a/webapp/src/index.tsx +++ b/webapp/src/index.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import React from 'react'; import {Store, Action} from 'redux'; import styled from 'styled-components'; diff --git a/webapp/src/license.tsx b/webapp/src/license.tsx index 0c783905..5d8a83a3 100644 --- a/webapp/src/license.tsx +++ b/webapp/src/license.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import {useSelector} from 'react-redux'; import {GlobalState} from '@mattermost/types/store'; diff --git a/webapp/src/mm_webapp.ts b/webapp/src/mm_webapp.ts index 4ef70753..a2de2cf3 100644 --- a/webapp/src/mm_webapp.ts +++ b/webapp/src/mm_webapp.ts @@ -1,3 +1,5 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. export const AdvancedTextEditor = (window as any).Components.AdvancedTextEditor; diff --git a/webapp/src/redux.tsx b/webapp/src/redux.tsx index 81883dfc..23ed5968 100644 --- a/webapp/src/redux.tsx +++ b/webapp/src/redux.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import {combineReducers, Store, Action} from 'redux'; import {GlobalState} from '@mattermost/types/store'; diff --git a/webapp/src/redux_actions.tsx b/webapp/src/redux_actions.tsx index 7ac78b98..0252bed8 100644 --- a/webapp/src/redux_actions.tsx +++ b/webapp/src/redux_actions.tsx @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + export const selectPost = (postid: string) => { return { type: 'SELECT_AI_POST', diff --git a/webapp/src/types/mattermost-webapp/index.d.ts b/webapp/src/types/mattermost-webapp/index.d.ts index 906abe1e..0a122701 100644 --- a/webapp/src/types/mattermost-webapp/index.d.ts +++ b/webapp/src/types/mattermost-webapp/index.d.ts @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + export interface PluginRegistry { registerPostTypeComponent(typeName: string, component: React.ElementType) diff --git a/webapp/src/websocket.ts b/webapp/src/websocket.ts index c41c89db..ddff6ec1 100644 --- a/webapp/src/websocket.ts +++ b/webapp/src/websocket.ts @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + import {WebSocketMessage} from '@mattermost/client'; import {PostUpdateWebsocketMessage} from './components/llmbot_post'; diff --git a/webapp/tests/setup.tsx b/webapp/tests/setup.tsx index c011b8ed..d39ed0eb 100644 --- a/webapp/tests/setup.tsx +++ b/webapp/tests/setup.tsx @@ -1,4 +1,4 @@ -// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. // import '@mattermost/webapp/tests/setup'; diff --git a/webapp/webpack.config.js b/webapp/webpack.config.js index 402d406c..ca4cb3c3 100644 --- a/webapp/webpack.config.js +++ b/webapp/webpack.config.js @@ -1,3 +1,6 @@ +// Copyright (c) 2023-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + const exec = require('child_process').exec; const path = require('path');