aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/js')
-rw-r--r--apps/settings/js/esm-test.mjs8
-rw-r--r--apps/settings/js/federationscopemenu.js12
-rw-r--r--apps/settings/js/federationsettingsview.js11
-rw-r--r--apps/settings/js/map-test.js.map7
-rw-r--r--apps/settings/js/security_password.js10
-rw-r--r--apps/settings/js/settings.js6
-rw-r--r--apps/settings/js/settings/personalInfo.js10
-rw-r--r--apps/settings/js/usersettings.js7
8 files changed, 36 insertions, 35 deletions
diff --git a/apps/settings/js/esm-test.mjs b/apps/settings/js/esm-test.mjs
new file mode 100644
index 00000000000..b76812cc8a4
--- /dev/null
+++ b/apps/settings/js/esm-test.mjs
@@ -0,0 +1,8 @@
+/**
+ * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ *
+ * This is a dummy file for testing webserver support of JavaScript modules.
+ */
+
+export default 'Hello'
diff --git a/apps/settings/js/federationscopemenu.js b/apps/settings/js/federationscopemenu.js
index 72fd8bc7284..20974caa762 100644
--- a/apps/settings/js/federationscopemenu.js
+++ b/apps/settings/js/federationscopemenu.js
@@ -1,11 +1,7 @@
-/*
- * Copyright (c) 2016
- *
- * This file is licensed under the Affero General Public License version 3
- * or later.
- *
- * See the COPYING-README file.
- *
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
/* global OC, Handlebars */
diff --git a/apps/settings/js/federationsettingsview.js b/apps/settings/js/federationsettingsview.js
index a4a1a31223e..a4587e1bedb 100644
--- a/apps/settings/js/federationsettingsview.js
+++ b/apps/settings/js/federationsettingsview.js
@@ -1,10 +1,9 @@
/* global OC, result, _ */
/**
- * Copyright (c) 2016, Christoph Wurst <christoph@owncloud.com>
- *
- * This file is licensed under the Affero General Public License version 3 or later.
- * See the COPYING-README file.
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
(function(_, $, OC) {
@@ -82,7 +81,7 @@
];
_.each(this._inputFields, function(field) {
- var $icon = self.$('#' + field + 'form h3 > .federation-menu');
+ var $icon = self.$('#' + field + 'form .headerbar-label > .federation-menu');
var excludedScopes = []
if (fieldsWithV2Private.indexOf(field) === -1) {
@@ -245,7 +244,7 @@
},
_setFieldScopeIcon: function(field, scope) {
- var $icon = this.$('#' + field + 'form > h3 .icon-federation-menu');
+ var $icon = this.$('#' + field + 'form > .headerbar-label .icon-federation-menu');
$icon.removeClass('icon-phone');
$icon.removeClass('icon-password');
diff --git a/apps/settings/js/map-test.js.map b/apps/settings/js/map-test.js.map
new file mode 100644
index 00000000000..422afffa56e
--- /dev/null
+++ b/apps/settings/js/map-test.js.map
@@ -0,0 +1,7 @@
+/**
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ *
+ * This is a dummy file for testing webserver support of JavaScript map files.
+ */
+{}
diff --git a/apps/settings/js/security_password.js b/apps/settings/js/security_password.js
index 3525281a027..d0b2d9f2c07 100644
--- a/apps/settings/js/security_password.js
+++ b/apps/settings/js/security_password.js
@@ -1,13 +1,9 @@
/* global OC */
/**
- * Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com>
- * 2013, Morris Jobke <morris.jobke@gmail.com>
- * 2016, Christoph Wurst <christoph@owncloud.com>
- * 2017, Arthur Schiwon <blizzz@arthur-schiwon.de>
- * 2017, Thomas Citharel <tcit@tcit.fr>
- * This file is licensed under the Affero General Public License version 3 or later.
- * See the COPYING-README file.
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2011-2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
window.addEventListener('DOMContentLoaded', function () {
diff --git a/apps/settings/js/settings.js b/apps/settings/js/settings.js
index 6f29b3fc58c..482c7020b60 100644
--- a/apps/settings/js/settings.js
+++ b/apps/settings/js/settings.js
@@ -1,7 +1,7 @@
/**
- * Copyright (c) 2014, Vincent Petry <pvince81@owncloud.com>
- * This file is licensed under the Affero General Public License version 3 or later.
- * See the COPYING-README file.
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
OC.Settings = OC.Settings || {};
OC.Settings = _.extend(OC.Settings, {
diff --git a/apps/settings/js/settings/personalInfo.js b/apps/settings/js/settings/personalInfo.js
index fa4b39ce1b9..0498134c125 100644
--- a/apps/settings/js/settings/personalInfo.js
+++ b/apps/settings/js/settings/personalInfo.js
@@ -1,13 +1,9 @@
/* global OC */
/**
- * Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com>
- * 2013, Morris Jobke <morris.jobke@gmail.com>
- * 2016, Christoph Wurst <christoph@owncloud.com>
- * 2017, Arthur Schiwon <blizzz@arthur-schiwon.de>
- * 2017, Thomas Citharel <tcit@tcit.fr>
- * This file is licensed under the Affero General Public License version 3 or later.
- * See the COPYING-README file.
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2011-2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
OC.Settings = OC.Settings || {};
diff --git a/apps/settings/js/usersettings.js b/apps/settings/js/usersettings.js
index 21a122094f5..3dc402fbf2b 100644
--- a/apps/settings/js/usersettings.js
+++ b/apps/settings/js/usersettings.js
@@ -1,10 +1,9 @@
/* global OC */
/**
- * Copyright (c) 2016, Christoph Wurst <christoph@owncloud.com>
- *
- * This file is licensed under the Affero General Public License version 3 or later.
- * See the COPYING-README file.
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
(function() {