Skip to content

Commit 7b676df

Browse files
committed
Update source headers part 2
1 parent 54625de commit 7b676df

File tree

258 files changed

+793
-2839
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

258 files changed

+793
-2839
lines changed

src/matrix/Sync.js

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
/*
2-
Copyright 2020 Bruno Windels <[email protected]>
2+
Copyright 2025 New Vector Ltd.
33
Copyright 2020, 2021 The Matrix.org Foundation C.I.C.
4+
Copyright 2020 Bruno Windels <[email protected]>
45
5-
Licensed under the Apache License, Version 2.0 (the "License");
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
8-
9-
http://www.apache.org/licenses/LICENSE-2.0
10-
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
6+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
7+
Please see LICENSE files in the repository root for full details.
168
*/
179

1810
import {ObservableValue} from "../observable/value";

src/matrix/User.js

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2020 Bruno Windels <[email protected]>
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168

179
export class User {

src/matrix/ssss/SecretFetcher.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2023 The Matrix.org Foundation C.I.C.
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168

179
import type {SecretStorage} from "./SecretStorage";

src/matrix/ssss/SecretSharing.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2023 The Matrix.org Foundation C.I.C.
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168

179
import type {HomeServerApi} from "../net/HomeServerApi";

src/matrix/ssss/SecretStorage.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2020 The Matrix.org Foundation C.I.C.
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168
import type {Key} from "./common";
179
import type {Platform} from "../../platform/web/Platform.js";

src/matrix/ssss/common.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2020 The Matrix.org Foundation C.I.C.
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168

179
import type {Platform} from "../../platform/web/Platform.js";

src/matrix/ssss/index.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2020 The Matrix.org Foundation C.I.C.
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168

179
import {KeyDescription, Key} from "./common";

src/matrix/ssss/passphrase.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2020 The Matrix.org Foundation C.I.C.
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168

179
import {Key} from "./common";

src/matrix/ssss/recoveryKey.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2020 The Matrix.org Foundation C.I.C.
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168
import {Key} from "./common";
179
import {KeyDescription} from "./common";

src/matrix/storage/common.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2020 Bruno Windels <[email protected]>
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168

179
export enum StoreNames {

src/matrix/storage/idb/QueryTarget.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2020 Bruno Windels <[email protected]>
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168

179
import {iterateCursor, DONE, NOT_DONE, reqAsPromise} from "./utils";

src/matrix/storage/idb/Storage.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2020 Bruno Windels <[email protected]>
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168

179
import {IDOMStorage} from "./types";

src/matrix/storage/idb/StorageFactory.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2020 Bruno Windels <[email protected]>
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168

179
import {IDOMStorage} from "./types";

src/matrix/storage/idb/Store.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2020 Bruno Windels <[email protected]>
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168

179
import {QueryTarget, IDBQuery, ITransaction} from "./QueryTarget";

src/matrix/storage/idb/Transaction.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2020 Bruno Windels <[email protected]>
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168

179
import {StoreNames} from "../common";

src/matrix/storage/idb/error.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2020 Bruno Windels <[email protected]>
34
Copyright 2020 The Matrix.org Foundation C.I.C.
45
5-
Licensed under the Apache License, Version 2.0 (the "License");
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
8-
9-
http://www.apache.org/licenses/LICENSE-2.0
10-
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
6+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
7+
Please see LICENSE files in the repository root for full details.
168
*/
179

1810
import { StorageError } from "../common";

src/matrix/storage/idb/export.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2020 Bruno Windels <[email protected]>
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168

179
import { iterateCursor, NOT_DONE, txnAsPromise } from "./utils";

src/matrix/storage/idb/quirks.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
/*
2+
Copyright 2025 New Vector Ltd.
23
Copyright 2020 The Matrix.org Foundation C.I.C.
34
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
5+
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
6+
Please see LICENSE files in the repository root for full details.
157
*/
168

179

0 commit comments

Comments
 (0)