diff --git a/src/@types/global.d.ts b/src/@types/global.d.ts index bd3cf39..ed7609e 100644 --- a/src/@types/global.d.ts +++ b/src/@types/global.d.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/@types/modules.d.ts b/src/@types/modules.d.ts index b1f45c7..071d036 100644 --- a/src/@types/modules.d.ts +++ b/src/@types/modules.d.ts @@ -1,2 +1,18 @@ +/* +Copyright 2022 New Vector Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + /// /// diff --git a/src/Avatar.tsx b/src/Avatar.tsx index a4aa826..a6d151f 100644 --- a/src/Avatar.tsx +++ b/src/Avatar.tsx @@ -1,3 +1,19 @@ +/* +Copyright 2022 New Vector Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + import React, { useMemo, CSSProperties } from "react"; import classNames from "classnames"; import { MatrixClient } from "matrix-js-sdk/src/client"; diff --git a/src/FullScreenView.tsx b/src/FullScreenView.tsx index d3a1caf..774e55a 100644 --- a/src/FullScreenView.tsx +++ b/src/FullScreenView.tsx @@ -1,3 +1,19 @@ +/* +Copyright 2022 New Vector Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + import React, { ReactNode, useCallback, useEffect } from "react"; import { useLocation } from "react-router-dom"; import classNames from "classnames"; diff --git a/src/Header.tsx b/src/Header.tsx index 9be8c80..7ccf866 100644 --- a/src/Header.tsx +++ b/src/Header.tsx @@ -1,3 +1,19 @@ +/* +Copyright 2022 New Vector Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + import classNames from "classnames"; import React, { HTMLAttributes, ReactNode, useCallback, useRef } from "react"; import { Link } from "react-router-dom"; diff --git a/src/IndexedDBWorker.ts b/src/IndexedDBWorker.ts index a9ddecd..43f65df 100644 --- a/src/IndexedDBWorker.ts +++ b/src/IndexedDBWorker.ts @@ -1,3 +1,19 @@ +/* +Copyright 2022 New Vector Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + import { IndexedDBStoreWorker } from "matrix-js-sdk/src/indexeddb-worker"; // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/src/LazyEventEmitter.ts b/src/LazyEventEmitter.ts index bbe68c7..121eebf 100644 --- a/src/LazyEventEmitter.ts +++ b/src/LazyEventEmitter.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/Menu.tsx b/src/Menu.tsx index 82159bd..0a995af 100644 --- a/src/Menu.tsx +++ b/src/Menu.tsx @@ -1,3 +1,19 @@ +/* +Copyright 2022 New Vector Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + import React, { Key, useRef, useState } from "react"; import { AriaMenuOptions, useMenu, useMenuItem } from "@react-aria/menu"; import { TreeState, useTreeState } from "@react-stately/tree"; diff --git a/src/PosthogAnalytics.ts b/src/PosthogAnalytics.ts index 9e5b245..f015514 100644 --- a/src/PosthogAnalytics.ts +++ b/src/PosthogAnalytics.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 The Matrix.org Foundation C.I.C. +Copyright 2022 The New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/PosthogEvents.ts b/src/PosthogEvents.ts index c30cc3d..8d86733 100644 --- a/src/PosthogEvents.ts +++ b/src/PosthogEvents.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 The Matrix.org Foundation C.I.C. +Copyright 2022 The New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/UserMenu.tsx b/src/UserMenu.tsx index fac4a86..36cad0d 100644 --- a/src/UserMenu.tsx +++ b/src/UserMenu.tsx @@ -1,3 +1,19 @@ +/* +Copyright 2022 New Vector Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + import React, { useCallback, useMemo } from "react"; import { Item } from "@react-stately/collections"; import { useLocation } from "react-router-dom"; diff --git a/src/UserMenuContainer.tsx b/src/UserMenuContainer.tsx index 437d3b7..e2c57ca 100644 --- a/src/UserMenuContainer.tsx +++ b/src/UserMenuContainer.tsx @@ -1,3 +1,19 @@ +/* +Copyright 2022 New Vector Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + import React, { useCallback } from "react"; import { useHistory, useLocation } from "react-router-dom"; diff --git a/src/auth/generateRandomName.ts b/src/auth/generateRandomName.ts index 2232d35..543704a 100644 --- a/src/auth/generateRandomName.ts +++ b/src/auth/generateRandomName.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/auth/useInteractiveLogin.ts b/src/auth/useInteractiveLogin.ts index 4db466e..81b923f 100644 --- a/src/auth/useInteractiveLogin.ts +++ b/src/auth/useInteractiveLogin.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/auth/useInteractiveRegistration.ts b/src/auth/useInteractiveRegistration.ts index bfc7b2a..156842b 100644 --- a/src/auth/useInteractiveRegistration.ts +++ b/src/auth/useInteractiveRegistration.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/auth/useRecaptcha.ts b/src/auth/useRecaptcha.ts index 50d23c8..ef3c7c2 100644 --- a/src/auth/useRecaptcha.ts +++ b/src/auth/useRecaptcha.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/auth/useRegisterPasswordlessUser.ts b/src/auth/useRegisterPasswordlessUser.ts index 7318947..0478140 100644 --- a/src/auth/useRegisterPasswordlessUser.ts +++ b/src/auth/useRegisterPasswordlessUser.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/button/Button.tsx b/src/button/Button.tsx index 80220ff..78b8299 100644 --- a/src/button/Button.tsx +++ b/src/button/Button.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/button/CopyButton.tsx b/src/button/CopyButton.tsx index 281d3cb..7453e45 100644 --- a/src/button/CopyButton.tsx +++ b/src/button/CopyButton.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/button/LinkButton.tsx b/src/button/LinkButton.tsx index 1aaf541..e918965 100644 --- a/src/button/LinkButton.tsx +++ b/src/button/LinkButton.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/button/index.ts b/src/button/index.ts index fb2cf8c..cbbbb0c 100644 --- a/src/button/index.ts +++ b/src/button/index.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/config/ConfigOptions.ts b/src/config/ConfigOptions.ts index e799d59..e46ffec 100644 --- a/src/config/ConfigOptions.ts +++ b/src/config/ConfigOptions.ts @@ -1,3 +1,19 @@ +/* +Copyright 2022 New Vector Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + export interface ConfigOptions { /** * The Posthog endpoint to which analytics data will be sent. diff --git a/src/form/Form.tsx b/src/form/Form.tsx index 55dadae..beea4c8 100644 --- a/src/form/Form.tsx +++ b/src/form/Form.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/home/CallList.tsx b/src/home/CallList.tsx index 5581961..b2a7774 100644 --- a/src/home/CallList.tsx +++ b/src/home/CallList.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/home/CallTypeDropdown.tsx b/src/home/CallTypeDropdown.tsx index 5ee4ec2..991c528 100644 --- a/src/home/CallTypeDropdown.tsx +++ b/src/home/CallTypeDropdown.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/home/JoinExistingCallModal.tsx b/src/home/JoinExistingCallModal.tsx index b04c6ae..0beae60 100644 --- a/src/home/JoinExistingCallModal.tsx +++ b/src/home/JoinExistingCallModal.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/home/RegisteredView.tsx b/src/home/RegisteredView.tsx index af72e31..4f96c42 100644 --- a/src/home/RegisteredView.tsx +++ b/src/home/RegisteredView.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/home/UnauthenticatedView.tsx b/src/home/UnauthenticatedView.tsx index a84a7b2..089156c 100644 --- a/src/home/UnauthenticatedView.tsx +++ b/src/home/UnauthenticatedView.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/home/useGroupCallRooms.ts b/src/home/useGroupCallRooms.ts index b4011e5..fcbe67f 100644 --- a/src/home/useGroupCallRooms.ts +++ b/src/home/useGroupCallRooms.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/initializer.tsx b/src/initializer.tsx index 63b90fc..3de39de 100644 --- a/src/initializer.tsx +++ b/src/initializer.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/input/AvatarInputField.tsx b/src/input/AvatarInputField.tsx index a977839..aec4880 100644 --- a/src/input/AvatarInputField.tsx +++ b/src/input/AvatarInputField.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/input/Input.tsx b/src/input/Input.tsx index acec7d3..bfc17d7 100644 --- a/src/input/Input.tsx +++ b/src/input/Input.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/input/SelectInput.tsx b/src/input/SelectInput.tsx index e3c4774..dcce2d3 100644 --- a/src/input/SelectInput.tsx +++ b/src/input/SelectInput.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/input/Toggle.tsx b/src/input/Toggle.tsx index 6b1a6b6..19fe757 100644 --- a/src/input/Toggle.tsx +++ b/src/input/Toggle.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/matrix-utils.ts b/src/matrix-utils.ts index 2d124a0..3e01d16 100644 --- a/src/matrix-utils.ts +++ b/src/matrix-utils.ts @@ -1,3 +1,19 @@ +/* +Copyright 2022 New Vector Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + import { IndexedDBStore } from "matrix-js-sdk/src/store/indexeddb"; import { MemoryStore } from "matrix-js-sdk/src/store/memory"; import { IndexedDBCryptoStore } from "matrix-js-sdk/src/crypto/store/indexeddb-crypto-store"; diff --git a/src/media-utils.ts b/src/media-utils.ts index 492f951..382360b 100644 --- a/src/media-utils.ts +++ b/src/media-utils.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/popover/Popover.tsx b/src/popover/Popover.tsx index b02fb58..d2e3200 100644 --- a/src/popover/Popover.tsx +++ b/src/popover/Popover.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/popover/PopoverMenu.tsx b/src/popover/PopoverMenu.tsx index 2b4555e..543042e 100644 --- a/src/popover/PopoverMenu.tsx +++ b/src/popover/PopoverMenu.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/profile/ProfileModal.tsx b/src/profile/ProfileModal.tsx index 28fc997..adb1e2b 100644 --- a/src/profile/ProfileModal.tsx +++ b/src/profile/ProfileModal.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/profile/useProfile.ts b/src/profile/useProfile.ts index a05cebf..9f88079 100644 --- a/src/profile/useProfile.ts +++ b/src/profile/useProfile.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/AudioPreview.tsx b/src/room/AudioPreview.tsx index 8d6f164..8c7459d 100644 --- a/src/room/AudioPreview.tsx +++ b/src/room/AudioPreview.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/CallEndedView.tsx b/src/room/CallEndedView.tsx index b78b800..7543d66 100644 --- a/src/room/CallEndedView.tsx +++ b/src/room/CallEndedView.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/FeedbackModal.tsx b/src/room/FeedbackModal.tsx index db0f34f..537132c 100644 --- a/src/room/FeedbackModal.tsx +++ b/src/room/FeedbackModal.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/GridLayoutMenu.tsx b/src/room/GridLayoutMenu.tsx index 081af4e..b1bd31b 100644 --- a/src/room/GridLayoutMenu.tsx +++ b/src/room/GridLayoutMenu.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/GroupCallInspector.tsx b/src/room/GroupCallInspector.tsx index 279a582..3257928 100644 --- a/src/room/GroupCallInspector.tsx +++ b/src/room/GroupCallInspector.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/GroupCallLoader.tsx b/src/room/GroupCallLoader.tsx index f0ee28f..4af3dc3 100644 --- a/src/room/GroupCallLoader.tsx +++ b/src/room/GroupCallLoader.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/GroupCallView.tsx b/src/room/GroupCallView.tsx index 27b907c..d52261d 100644 --- a/src/room/GroupCallView.tsx +++ b/src/room/GroupCallView.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/InCallView.tsx b/src/room/InCallView.tsx index 85d9920..232d001 100644 --- a/src/room/InCallView.tsx +++ b/src/room/InCallView.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/InviteModal.tsx b/src/room/InviteModal.tsx index 75ea5ac..a7f7ba5 100644 --- a/src/room/InviteModal.tsx +++ b/src/room/InviteModal.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/LobbyView.tsx b/src/room/LobbyView.tsx index aae3f24..a1a6961 100644 --- a/src/room/LobbyView.tsx +++ b/src/room/LobbyView.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/OverflowMenu.tsx b/src/room/OverflowMenu.tsx index 3b7ebce..0920f2d 100644 --- a/src/room/OverflowMenu.tsx +++ b/src/room/OverflowMenu.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/PTTButton.tsx b/src/room/PTTButton.tsx index e083759..abc02c6 100644 --- a/src/room/PTTButton.tsx +++ b/src/room/PTTButton.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/PTTCallView.tsx b/src/room/PTTCallView.tsx index d1c41e0..08836d0 100644 --- a/src/room/PTTCallView.tsx +++ b/src/room/PTTCallView.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/PTTFeed.tsx b/src/room/PTTFeed.tsx index 9d0177b..49a40e0 100644 --- a/src/room/PTTFeed.tsx +++ b/src/room/PTTFeed.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/RageshakeRequestModal.tsx b/src/room/RageshakeRequestModal.tsx index a6257ae..21d9215 100644 --- a/src/room/RageshakeRequestModal.tsx +++ b/src/room/RageshakeRequestModal.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/RoomAuthView.tsx b/src/room/RoomAuthView.tsx index 5ee74e1..11b20b8 100644 --- a/src/room/RoomAuthView.tsx +++ b/src/room/RoomAuthView.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/RoomRedirect.tsx b/src/room/RoomRedirect.tsx index f52abf6..0c4cbe2 100644 --- a/src/room/RoomRedirect.tsx +++ b/src/room/RoomRedirect.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/Timer.tsx b/src/room/Timer.tsx index 8dd5694..924c1d6 100644 --- a/src/room/Timer.tsx +++ b/src/room/Timer.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/VideoPreview.tsx b/src/room/VideoPreview.tsx index 07aa95e..0e92cc5 100644 --- a/src/room/VideoPreview.tsx +++ b/src/room/VideoPreview.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/useGroupCall.ts b/src/room/useGroupCall.ts index 1704f0a..7921e42 100644 --- a/src/room/useGroupCall.ts +++ b/src/room/useGroupCall.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/useLoadGroupCall.ts b/src/room/useLoadGroupCall.ts index 5b2a976..363739a 100644 --- a/src/room/useLoadGroupCall.ts +++ b/src/room/useLoadGroupCall.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/usePTT.ts b/src/room/usePTT.ts index 847a1aa..71d7d4e 100644 --- a/src/room/usePTT.ts +++ b/src/room/usePTT.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/usePageUnload.ts b/src/room/usePageUnload.ts index d36f491..271704a 100644 --- a/src/room/usePageUnload.ts +++ b/src/room/usePageUnload.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/room/useSentryGroupCallHandler.ts b/src/room/useSentryGroupCallHandler.ts index 4afb7f7..188a293 100644 --- a/src/room/useSentryGroupCallHandler.ts +++ b/src/room/useSentryGroupCallHandler.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/settings/SettingsModal.tsx b/src/settings/SettingsModal.tsx index b93f915..106ef9e 100644 --- a/src/settings/SettingsModal.tsx +++ b/src/settings/SettingsModal.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/settings/rageshake.ts b/src/settings/rageshake.ts index 72b5068..42441d1 100644 --- a/src/settings/rageshake.ts +++ b/src/settings/rageshake.ts @@ -1,8 +1,24 @@ +/* +Copyright 2022 New Vector Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + /* eslint-disable @typescript-eslint/ban-ts-comment */ /* Copyright 2017 OpenMarket Ltd Copyright 2018 New Vector Ltd -Copyright 2019 The Matrix.org Foundation C.I.C. +Copyright 2019 The New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/settings/submit-rageshake.ts b/src/settings/submit-rageshake.ts index 8a77004..d2a9ccf 100644 --- a/src/settings/submit-rageshake.ts +++ b/src/settings/submit-rageshake.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/settings/useMediaHandler.tsx b/src/settings/useMediaHandler.tsx index 345c0ac..ce3953e 100644 --- a/src/settings/useMediaHandler.tsx +++ b/src/settings/useMediaHandler.tsx @@ -1,6 +1,22 @@ +/* +Copyright 2022 New Vector Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + /* eslint-disable @typescript-eslint/ban-ts-comment */ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/sound/PTTClips.tsx b/src/sound/PTTClips.tsx index 9a72098..2933102 100644 --- a/src/sound/PTTClips.tsx +++ b/src/sound/PTTClips.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/sound/usePttSounds.ts b/src/sound/usePttSounds.ts index 9f6e31d..28f6a12 100644 --- a/src/sound/usePttSounds.ts +++ b/src/sound/usePttSounds.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/tabs/Tabs.stories.tsx b/src/tabs/Tabs.stories.tsx index 1ee9428..acc92c3 100644 --- a/src/tabs/Tabs.stories.tsx +++ b/src/tabs/Tabs.stories.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/tabs/Tabs.tsx b/src/tabs/Tabs.tsx index 2ba7c7c..81cc931 100644 --- a/src/tabs/Tabs.tsx +++ b/src/tabs/Tabs.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/typography/Typography.stories.tsx b/src/typography/Typography.stories.tsx index a400166..4174d93 100644 --- a/src/typography/Typography.stories.tsx +++ b/src/typography/Typography.stories.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/typography/Typography.tsx b/src/typography/Typography.tsx index 4d8ac28..bc67377 100644 --- a/src/typography/Typography.tsx +++ b/src/typography/Typography.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/useLocationNavigation.ts b/src/useLocationNavigation.ts index 81ecdbc..33115a3 100644 --- a/src/useLocationNavigation.ts +++ b/src/useLocationNavigation.ts @@ -1,3 +1,19 @@ +/* +Copyright 2022 New Vector Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + import { useEffect } from "react"; import { useHistory } from "react-router-dom"; diff --git a/src/usePageFocusStyle.ts b/src/usePageFocusStyle.ts index 542cffd..f433d3d 100644 --- a/src/usePageFocusStyle.ts +++ b/src/usePageFocusStyle.ts @@ -1,3 +1,19 @@ +/* +Copyright 2022 New Vector Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + import { useEffect } from "react"; import { useFocusVisible } from "@react-aria/interactions"; diff --git a/src/video-grid/VideoGrid.stories.tsx b/src/video-grid/VideoGrid.stories.tsx index 17d5541..859e593 100644 --- a/src/video-grid/VideoGrid.stories.tsx +++ b/src/video-grid/VideoGrid.stories.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/video-grid/VideoGrid.tsx b/src/video-grid/VideoGrid.tsx index 8cfa3d7..9ae0030 100644 --- a/src/video-grid/VideoGrid.tsx +++ b/src/video-grid/VideoGrid.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/video-grid/VideoTile.tsx b/src/video-grid/VideoTile.tsx index a7792c6..8695a7c 100644 --- a/src/video-grid/VideoTile.tsx +++ b/src/video-grid/VideoTile.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/video-grid/VideoTileContainer.tsx b/src/video-grid/VideoTileContainer.tsx index 10f65c7..c573b0b 100644 --- a/src/video-grid/VideoTileContainer.tsx +++ b/src/video-grid/VideoTileContainer.tsx @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/video-grid/useCallFeed.ts b/src/video-grid/useCallFeed.ts index 229df3c..9485b3b 100644 --- a/src/video-grid/useCallFeed.ts +++ b/src/video-grid/useCallFeed.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/video-grid/useMediaStream.ts b/src/video-grid/useMediaStream.ts index 23140f8..259ede7 100644 --- a/src/video-grid/useMediaStream.ts +++ b/src/video-grid/useMediaStream.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/video-grid/useRoomMemberName.ts b/src/video-grid/useRoomMemberName.ts index 5824f4f..9c1d5cb 100644 --- a/src/video-grid/useRoomMemberName.ts +++ b/src/video-grid/useRoomMemberName.ts @@ -1,5 +1,5 @@ /* -Copyright 2022 Matrix.org Foundation C.I.C. +Copyright 2022 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.