Skip to content

Commit 006251a

Browse files
Add missing license header (#17799)
Co-authored-by: Erik Johnston <[email protected]>
1 parent 422f3ec commit 006251a

File tree

10 files changed

+87
-3
lines changed

10 files changed

+87
-3
lines changed

changelog.d/17799.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add missing license headers on new source files.

synapse/app/generic_worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Copyright 2020 The Matrix.org Foundation C.I.C.
55
# Copyright 2016 OpenMarket Ltd
6-
# Copyright (C) 2023 New Vector, Ltd
6+
# Copyright (C) 2023-2024 New Vector, Ltd
77
#
88
# This program is free software: you can redistribute it and/or modify
99
# it under the terms of the GNU Affero General Public License as

synapse/handlers/delayed_events.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
#
2+
# This file is licensed under the Affero General Public License (AGPL) version 3.
3+
#
4+
# Copyright (C) 2024 New Vector, Ltd
5+
#
6+
# This program is free software: you can redistribute it and/or modify
7+
# it under the terms of the GNU Affero General Public License as
8+
# published by the Free Software Foundation, either version 3 of the
9+
# License, or (at your option) any later version.
10+
#
11+
# See the GNU Affero General Public License for more details:
12+
# <https://www.gnu.org/licenses/agpl-3.0.html>.
13+
#
14+
115
import logging
216
from typing import TYPE_CHECKING, List, Optional, Set, Tuple
317

synapse/replication/http/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# This file is licensed under the Affero General Public License (AGPL) version 3.
33
#
4-
# Copyright (C) 2023 New Vector, Ltd
4+
# Copyright (C) 2023-2024 New Vector, Ltd
55
#
66
# This program is free software: you can redistribute it and/or modify
77
# it under the terms of the GNU Affero General Public License as

synapse/replication/http/delayed_events.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
#
2+
# This file is licensed under the Affero General Public License (AGPL) version 3.
3+
#
4+
# Copyright (C) 2024 New Vector, Ltd
5+
#
6+
# This program is free software: you can redistribute it and/or modify
7+
# it under the terms of the GNU Affero General Public License as
8+
# published by the Free Software Foundation, either version 3 of the
9+
# License, or (at your option) any later version.
10+
#
11+
# See the GNU Affero General Public License for more details:
12+
# <https://www.gnu.org/licenses/agpl-3.0.html>.
13+
#
14+
115
import logging
216
from typing import TYPE_CHECKING, Dict, Optional, Tuple
317

synapse/rest/client/delayed_events.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
#
2+
# This file is licensed under the Affero General Public License (AGPL) version 3.
3+
#
4+
# Copyright (C) 2024 New Vector, Ltd
5+
#
6+
# This program is free software: you can redistribute it and/or modify
7+
# it under the terms of the GNU Affero General Public License as
8+
# published by the Free Software Foundation, either version 3 of the
9+
# License, or (at your option) any later version.
10+
#
11+
# See the GNU Affero General Public License for more details:
12+
# <https://www.gnu.org/licenses/agpl-3.0.html>.
13+
#
14+
115
# This module contains REST servlets to do with delayed events: /delayed_events/<paths>
216

317
import logging

synapse/storage/databases/main/delayed_events.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
#
2+
# This file is licensed under the Affero General Public License (AGPL) version 3.
3+
#
4+
# Copyright (C) 2024 New Vector, Ltd
5+
#
6+
# This program is free software: you can redistribute it and/or modify
7+
# it under the terms of the GNU Affero General Public License as
8+
# published by the Free Software Foundation, either version 3 of the
9+
# License, or (at your option) any later version.
10+
#
11+
# See the GNU Affero General Public License for more details:
12+
# <https://www.gnu.org/licenses/agpl-3.0.html>.
13+
#
14+
115
import logging
216
from typing import List, NewType, Optional, Tuple
317

synapse/storage/schema/main/delta/88/01_add_delayed_events.sql

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
--
2+
-- This file is licensed under the Affero General Public License (AGPL) version 3.
3+
--
4+
-- Copyright (C) 2024 New Vector, Ltd
5+
--
6+
-- This program is free software: you can redistribute it and/or modify
7+
-- it under the terms of the GNU Affero General Public License as
8+
-- published by the Free Software Foundation, either version 3 of the
9+
-- License, or (at your option) any later version.
10+
--
11+
-- See the GNU Affero General Public License for more details:
12+
-- <https://www.gnu.org/licenses/agpl-3.0.html>.
13+
114
CREATE TABLE delayed_events (
215
delay_id TEXT NOT NULL,
316
user_localpart TEXT NOT NULL,

tests/rest/client/test_delayed_events.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
#
2+
# This file is licensed under the Affero General Public License (AGPL) version 3.
3+
#
4+
# Copyright (C) 2024 New Vector, Ltd
5+
#
6+
# This program is free software: you can redistribute it and/or modify
7+
# it under the terms of the GNU Affero General Public License as
8+
# published by the Free Software Foundation, either version 3 of the
9+
# License, or (at your option) any later version.
10+
#
11+
# See the GNU Affero General Public License for more details:
12+
# <https://www.gnu.org/licenses/agpl-3.0.html>.
13+
#
14+
115
"""Tests REST events for /delayed_events paths."""
216

317
from http import HTTPStatus

tests/rest/client/test_rooms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Copyright 2019 The Matrix.org Foundation C.I.C.
55
# Copyright 2017 Vector Creations Ltd
66
# Copyright 2014-2016 OpenMarket Ltd
7-
# Copyright (C) 2023 New Vector, Ltd
7+
# Copyright (C) 2023-2024 New Vector, Ltd
88
#
99
# This program is free software: you can redistribute it and/or modify
1010
# it under the terms of the GNU Affero General Public License as

0 commit comments

Comments
 (0)