Skip to content

Commit 15c02fa

Browse files
committed
Manual license edit of remaining files
1 parent ed4b6c4 commit 15c02fa

Some content is hidden

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

48 files changed

+217
-608
lines changed

crates/i18n/src/sprintf/grammar.pest

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

157
message = _{ (text | percent | placeholder)* ~ EOI }
168

crates/iana-codegen/src/main.rs

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,11 @@ impl Display for File {
7575
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
7676
writeln!(
7777
f,
78-
r#"// Copyright 2023 The Matrix.org Foundation C.I.C.
78+
r#"// Copyright 2024 New Vector Ltd.
79+
// Copyright 2023, 2024 The Matrix.org Foundation C.I.C.
7980
//
80-
// Licensed under the Apache License, Version 2.0 (the "License");
81-
// you may not use this file except in compliance with the License.
82-
// You may obtain a copy of the License at
83-
//
84-
// http://www.apache.org/licenses/LICENSE-2.0
85-
//
86-
// Unless required by applicable law or agreed to in writing, software
87-
// distributed under the License is distributed on an "AS IS" BASIS,
88-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
89-
// See the License for the specific language governing permissions and
90-
// limitations under the License.
81+
// SPDX-License-Identifier: AGPL-3.0-only
82+
// Please see LICENSE in the repository root for full details.
9183
9284
#![allow(clippy::doc_markdown)]
9385

frontend/index.html

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
<!--
2+
Copyright 2024 New Vector Ltd.
23
Copyright 2022-2024 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
6+
Please see LICENSE in the repository root for full details.
157
-->
168

179
<!-- Must be kept in sync with templates/app.html -->

templates/app.html

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
{#
2+
Copyright 2024 New Vector Ltd.
23
Copyright 2023, 2024 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.
15-
#}
5+
SPDX-License-Identifier: AGPL-3.0-only
6+
Please see LICENSE in the repository root for full details.
7+
-#}
168

179
{# Must be kept in sync with frontend/index.html #}
1810
{% set _ = translator(lang) %}

templates/base.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
{#
2-
Copyright 2021, 2022 The Matrix.org Foundation C.I.C.
2+
Copyright 2024 New Vector Ltd.
3+
Copyright 2021-2024 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.
15-
#}
5+
SPDX-License-Identifier: AGPL-3.0-only
6+
Please see LICENSE in the repository root for full details.
7+
-#}
168

179
{% set _ = translator(lang) %}
1810

templates/components/back_to_client.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
{#
2-
Copyright 2021 The Matrix.org Foundation C.I.C.
2+
Copyright 2024 New Vector Ltd.
3+
Copyright 2021-2024 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.
15-
#}
5+
SPDX-License-Identifier: AGPL-3.0-only
6+
Please see LICENSE in the repository root for full details.
7+
-#}
168

179
{% macro link(text, uri, mode, params, type="button", kind="primary", destructive=False) %}
1810
{% if type == "button" %}

templates/components/button.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
{#
2-
Copyright 2021-2023 The Matrix.org Foundation C.I.C.
2+
Copyright 2024 New Vector Ltd.
3+
Copyright 2021-2024 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.
15-
#}
5+
SPDX-License-Identifier: AGPL-3.0-only
6+
Please see LICENSE in the repository root for full details.
7+
-#}
168

179
{% macro link(text, href="#", class="", size="lg") %}
1810
<a class="cpd-button {{ class }}" data-kind="primary" data-size="{{ size }}" href="{{ href | prefix_url }}">{{ text }}</a>

templates/components/captcha.html

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
{#
2+
Copyright 2024 New Vector Ltd.
23
Copyright 2024 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.
15-
#}
5+
SPDX-License-Identifier: AGPL-3.0-only
6+
Please see LICENSE in the repository root for full details.
7+
-#}
168

179
{% macro form(class="") -%}
1810
{%- if captcha|default(False) -%}

templates/components/errors.html

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
{#
2+
Copyright 2024 New Vector Ltd.
23
Copyright 2022-2024 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.
15-
#}
5+
SPDX-License-Identifier: AGPL-3.0-only
6+
Please see LICENSE in the repository root for full details.
7+
-#}
168

179
{% macro form_error_message(error) -%}
1810
{% if error.kind == "invalid_credentials" %}

templates/components/field.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
{#
2-
Copyright 2021, 2022 The Matrix.org Foundation C.I.C.
2+
Copyright 2024 New Vector Ltd.
3+
Copyright 2021-2024 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.
15-
#}
5+
SPDX-License-Identifier: AGPL-3.0-only
6+
Please see LICENSE in the repository root for full details.
7+
-#}
168

179
{% set cnt = counter() %}
1810

0 commit comments

Comments
 (0)