From 1a79fc91468c2e1673be00348a524b458cfecb83 Mon Sep 17 00:00:00 2001 From: David Benque Date: Thu, 19 Oct 2023 15:40:19 +0100 Subject: [PATCH] Tests on www/admin and www/calendar --- www/admin/app-admin.less | 6 ++++++ www/admin/index.html | 6 ++++++ www/admin/inner.html | 6 ++++++ www/admin/inner.js | 4 ++++ www/admin/main.js | 4 ++++ www/calendar/app-calendar.less | 6 ++++++ www/calendar/export.js | 4 ++++ www/calendar/index.html | 6 ++++++ www/calendar/inner.html | 6 ++++++ www/calendar/inner.js | 4 ++++ www/calendar/main.js | 4 ++++ www/calendar/recurrence.js | 4 ++++ 12 files changed, 60 insertions(+) diff --git a/www/admin/app-admin.less b/www/admin/app-admin.less index d9811b662..28efad7e7 100644 --- a/www/admin/app-admin.less +++ b/www/admin/app-admin.less @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 XWiki CryptPad Team and contributors + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + @import (reference) '../../customize/src/less2/include/framework.less'; @import (reference) '../../customize/src/less2/include/sidebar-layout.less'; @import (reference) '../../customize/src/less2/include/support.less'; diff --git a/www/admin/index.html b/www/admin/index.html index bd4595c54..afde85cbd 100644 --- a/www/admin/index.html +++ b/www/admin/index.html @@ -1,3 +1,9 @@ + + diff --git a/www/admin/inner.html b/www/admin/inner.html index 976118bff..ab05a3105 100644 --- a/www/admin/inner.html +++ b/www/admin/inner.html @@ -1,3 +1,9 @@ + + diff --git a/www/admin/inner.js b/www/admin/inner.js index 4d5ae11b7..d784c7379 100644 --- a/www/admin/inner.js +++ b/www/admin/inner.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 XWiki CryptPad Team and contributors +// +// SPDX-License-Identifier: AGPL-3.0-or-later + define([ 'jquery', '/api/config', diff --git a/www/admin/main.js b/www/admin/main.js index 06a25957f..f6be3331c 100644 --- a/www/admin/main.js +++ b/www/admin/main.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 XWiki CryptPad Team and contributors +// +// SPDX-License-Identifier: AGPL-3.0-or-later + // Load #1, load as little as possible because we are in a race to get the loading screen up. define([ '/components/nthen/index.js', diff --git a/www/calendar/app-calendar.less b/www/calendar/app-calendar.less index 6bb76cf8e..de047cc62 100644 --- a/www/calendar/app-calendar.less +++ b/www/calendar/app-calendar.less @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2023 XWiki CryptPad Team and contributors + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + @import (reference) '../../customize/src/less2/include/framework.less'; @import (reference) '../../customize/src/less2/include/sidebar-layout.less'; @import (reference) '../../customize/src/less2/include/tools.less'; diff --git a/www/calendar/export.js b/www/calendar/export.js index 694179a9f..df62221c8 100644 --- a/www/calendar/export.js +++ b/www/calendar/export.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 XWiki CryptPad Team and contributors +// +// SPDX-License-Identifier: AGPL-3.0-or-later + // This file is used when a user tries to export the entire CryptDrive. // Calendars will be exported using this format instead of plain text. define([ diff --git a/www/calendar/index.html b/www/calendar/index.html index e5cef404e..c8c6384bb 100644 --- a/www/calendar/index.html +++ b/www/calendar/index.html @@ -1,3 +1,9 @@ + + diff --git a/www/calendar/inner.html b/www/calendar/inner.html index 79d2d6b34..4523f16a8 100644 --- a/www/calendar/inner.html +++ b/www/calendar/inner.html @@ -1,3 +1,9 @@ + + diff --git a/www/calendar/inner.js b/www/calendar/inner.js index 800045e14..e32b70d81 100644 --- a/www/calendar/inner.js +++ b/www/calendar/inner.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 XWiki CryptPad Team and contributors +// +// SPDX-License-Identifier: AGPL-3.0-or-later + define([ 'jquery', 'json.sortify', diff --git a/www/calendar/main.js b/www/calendar/main.js index 72eb336c8..82239f511 100644 --- a/www/calendar/main.js +++ b/www/calendar/main.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 XWiki CryptPad Team and contributors +// +// SPDX-License-Identifier: AGPL-3.0-or-later + // Load #1, load as little as possible because we are in a race to get the loading screen up. define([ '/components/nthen/index.js', diff --git a/www/calendar/recurrence.js b/www/calendar/recurrence.js index bd3fa0519..5e7d0a27a 100644 --- a/www/calendar/recurrence.js +++ b/www/calendar/recurrence.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 XWiki CryptPad Team and contributors +// +// SPDX-License-Identifier: AGPL-3.0-or-later + define([ '/common/common-util.js', ], function (Util) {