# HG changeset patch # User Emmanuel Gil Peyrot # Date 1590318556 -7200 # Node ID 6d861d881b96496cf72d0b0212bcb2fa50815914 # Parent d5cfc04b97180ee640043351f5667ba2be1f8508 Add license headers to all source files. diff --git a/avatar.js b/avatar.js --- a/avatar.js +++ b/avatar.js @@ -1,3 +1,11 @@ +// SPDX-License-Identifier: AGPL-3.0-only +/* + * Copyright © 2018-2020 Emmanuel Gil Peyrot + * Copyright © 2020 Mathieu Pasquet + * + * Released under GNU AGPL v3 only, read the file 'LICENSE' for more information. + */ + 'use strict'; function initAvatar(connection) { diff --git a/build_website.py b/build_website.py --- a/build_website.py +++ b/build_website.py @@ -1,6 +1,13 @@ #!/usr/bin/env python3 '''Locale build script for XAM''' +# SPDX-License-Identifier: AGPL-3.0-only + +# Copyright © 2017-2018 Emmanuel Gil Peyrot +# Copyright © 2020 Mathieu Pasquet +# +# Released under GNU AGPL v3 only, read the file 'LICENSE' for more information. + import sys from os import makedirs, path from django.conf import settings diff --git a/client.js b/client.js --- a/client.js +++ b/client.js @@ -1,3 +1,11 @@ +// SPDX-License-Identifier: AGPL-3.0-only +/* + * Copyright © 2018-2020 Emmanuel Gil Peyrot + * Copyright © 2020 Mathieu Pasquet + * + * Released under GNU AGPL v3 only, read the file 'LICENSE' for more information. + */ + 'use strict'; document.addEventListener('DOMContentLoaded', function () { diff --git a/index.xhtml b/index.xhtml --- a/index.xhtml +++ b/index.xhtml @@ -1,4 +1,11 @@ + + diff --git a/mam.js b/mam.js --- a/mam.js +++ b/mam.js @@ -1,3 +1,11 @@ +// SPDX-License-Identifier: AGPL-3.0-only +/* + * Copyright © 2018-2020 Emmanuel Gil Peyrot + * Copyright © 2020 Mathieu Pasquet + * + * Released under GNU AGPL v3 only, read the file 'LICENSE' for more information. + */ + 'use strict'; function initMAM(connection) { diff --git a/nickname.js b/nickname.js --- a/nickname.js +++ b/nickname.js @@ -1,3 +1,11 @@ +// SPDX-License-Identifier: AGPL-3.0-only +/* + * Copyright © 2018-2020 Emmanuel Gil Peyrot + * Copyright © 2020 Mathieu Pasquet + * + * Released under GNU AGPL v3 only, read the file 'LICENSE' for more information. + */ + 'use strict'; function initNickname(connection) { diff --git a/pep.js b/pep.js --- a/pep.js +++ b/pep.js @@ -1,3 +1,11 @@ +// SPDX-License-Identifier: AGPL-3.0-only +/* + * Copyright © 2018-2020 Emmanuel Gil Peyrot + * Copyright © 2020 Mathieu Pasquet + * + * Released under GNU AGPL v3 only, read the file 'LICENSE' for more information. + */ + 'use strict'; function initPEP(connection) { diff --git a/roster.js b/roster.js --- a/roster.js +++ b/roster.js @@ -1,3 +1,11 @@ +// SPDX-License-Identifier: AGPL-3.0-only +/* + * Copyright © 2018-2020 Emmanuel Gil Peyrot + * Copyright © 2020 Mathieu Pasquet + * + * Released under GNU AGPL v3 only, read the file 'LICENSE' for more information. + */ + 'use strict'; function initRoster(connection) { diff --git a/util.js b/util.js --- a/util.js +++ b/util.js @@ -1,3 +1,11 @@ +// SPDX-License-Identifier: AGPL-3.0-only +/* + * Copyright © 2018-2020 Emmanuel Gil Peyrot + * Copyright © 2020 Mathieu Pasquet + * + * Released under GNU AGPL v3 only, read the file 'LICENSE' for more information. + */ + 'use strict'; const NS = { diff --git a/vcard.js b/vcard.js --- a/vcard.js +++ b/vcard.js @@ -1,3 +1,11 @@ +// SPDX-License-Identifier: AGPL-3.0-only +/* + * Copyright © 2018-2020 Emmanuel Gil Peyrot + * Copyright © 2020 Mathieu Pasquet + * + * Released under GNU AGPL v3 only, read the file 'LICENSE' for more information. + */ + 'use strict'; function initVCard(connection) {