summaryrefslogtreecommitdiffstats
path: root/apps/user_status
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-03-31 12:15:40 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-03-31 12:17:18 +0200
commit3e624dc39966f54c6d418eee2e8141fc5c21f751 (patch)
treeaa5f0fa8498c2ad7f281295296f341aac7cc04ae /apps/user_status
parent91510d95f15b5b84482b5700b04d229db28fbdff (diff)
downloadnextcloud-server-3e624dc39966f54c6d418eee2e8141fc5c21f751.tar.gz
nextcloud-server-3e624dc39966f54c6d418eee2e8141fc5c21f751.zip
Bump js licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/user_status')
-rw-r--r--apps/user_status/src/filters/clearAtFilter.js1
-rw-r--r--apps/user_status/src/main-user-status-menu.js3
-rw-r--r--apps/user_status/src/mixins/OnlineStatusMixin.js1
-rw-r--r--apps/user_status/src/services/clearAtOptionsService.js1
-rw-r--r--apps/user_status/src/services/clearAtService.js1
-rw-r--r--apps/user_status/src/services/dateService.js5
-rw-r--r--apps/user_status/src/services/heartbeatService.js1
-rw-r--r--apps/user_status/src/services/predefinedStatusService.js1
-rw-r--r--apps/user_status/src/services/statusOptionsService.js2
-rw-r--r--apps/user_status/src/services/statusService.js1
-rw-r--r--apps/user_status/src/store/index.js1
-rw-r--r--apps/user_status/src/store/predefinedStatuses.js1
-rw-r--r--apps/user_status/src/store/userStatus.js1
-rw-r--r--apps/user_status/webpack.js23
14 files changed, 38 insertions, 5 deletions
diff --git a/apps/user_status/src/filters/clearAtFilter.js b/apps/user_status/src/filters/clearAtFilter.js
index 22579baa82a..c7140c00976 100644
--- a/apps/user_status/src/filters/clearAtFilter.js
+++ b/apps/user_status/src/filters/clearAtFilter.js
@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
import { translate as t } from '@nextcloud/l10n'
import moment from '@nextcloud/moment'
import { dateFactory } from '../services/dateService'
diff --git a/apps/user_status/src/main-user-status-menu.js b/apps/user_status/src/main-user-status-menu.js
index 12fda36e85b..f2b525a9b48 100644
--- a/apps/user_status/src/main-user-status-menu.js
+++ b/apps/user_status/src/main-user-status-menu.js
@@ -2,6 +2,8 @@
* @copyright Copyright (c) 2020 Georg Ehrke
*
* @author Georg Ehrke <oc.list@georgehrke.com>
+ * @author John Molakvoæ <skjnldsv@protonmail.com>
+ * @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
@@ -19,6 +21,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
import Vue from 'vue'
import { getRequestToken } from '@nextcloud/auth'
import UserStatus from './UserStatus'
diff --git a/apps/user_status/src/mixins/OnlineStatusMixin.js b/apps/user_status/src/mixins/OnlineStatusMixin.js
index ceba40f05e7..06a3d058a9b 100644
--- a/apps/user_status/src/mixins/OnlineStatusMixin.js
+++ b/apps/user_status/src/mixins/OnlineStatusMixin.js
@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
import { mapState } from 'vuex'
import { showError } from '@nextcloud/dialogs'
diff --git a/apps/user_status/src/services/clearAtOptionsService.js b/apps/user_status/src/services/clearAtOptionsService.js
index 83289f9059f..926f21d8b6e 100644
--- a/apps/user_status/src/services/clearAtOptionsService.js
+++ b/apps/user_status/src/services/clearAtOptionsService.js
@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
import { translate as t } from '@nextcloud/l10n'
/**
diff --git a/apps/user_status/src/services/clearAtService.js b/apps/user_status/src/services/clearAtService.js
index 12328d3b399..bc01ff6c0cd 100644
--- a/apps/user_status/src/services/clearAtService.js
+++ b/apps/user_status/src/services/clearAtService.js
@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
import {
dateFactory,
} from './dateService'
diff --git a/apps/user_status/src/services/dateService.js b/apps/user_status/src/services/dateService.js
index 641244dada3..a2dc219df92 100644
--- a/apps/user_status/src/services/dateService.js
+++ b/apps/user_status/src/services/dateService.js
@@ -20,11 +20,6 @@
*
*/
-/**
- * Returns a new Date object
- *
- * @returns {Date}
- */
const dateFactory = () => {
return new Date()
}
diff --git a/apps/user_status/src/services/heartbeatService.js b/apps/user_status/src/services/heartbeatService.js
index ca3a7de6d03..ec3a0e76cc8 100644
--- a/apps/user_status/src/services/heartbeatService.js
+++ b/apps/user_status/src/services/heartbeatService.js
@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
import HttpClient from '@nextcloud/axios'
import { generateUrl } from '@nextcloud/router'
diff --git a/apps/user_status/src/services/predefinedStatusService.js b/apps/user_status/src/services/predefinedStatusService.js
index 116fccb0c56..97cc9663e62 100644
--- a/apps/user_status/src/services/predefinedStatusService.js
+++ b/apps/user_status/src/services/predefinedStatusService.js
@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
import HttpClient from '@nextcloud/axios'
import { generateOcsUrl } from '@nextcloud/router'
diff --git a/apps/user_status/src/services/statusOptionsService.js b/apps/user_status/src/services/statusOptionsService.js
index 266f33230cd..15da11fd5d2 100644
--- a/apps/user_status/src/services/statusOptionsService.js
+++ b/apps/user_status/src/services/statusOptionsService.js
@@ -2,6 +2,7 @@
* @copyright Copyright (c) 2020 Georg Ehrke
*
* @author Georg Ehrke <oc.list@georgehrke.com>
+ * @author Jan C. Borchardt <hey@jancborchardt.net>
*
* @license GNU AGPL version 3 or any later version
*
@@ -19,6 +20,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
import { translate as t } from '@nextcloud/l10n'
/**
diff --git a/apps/user_status/src/services/statusService.js b/apps/user_status/src/services/statusService.js
index 206ff4ee647..3983e412974 100644
--- a/apps/user_status/src/services/statusService.js
+++ b/apps/user_status/src/services/statusService.js
@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
import HttpClient from '@nextcloud/axios'
import { generateOcsUrl } from '@nextcloud/router'
diff --git a/apps/user_status/src/store/index.js b/apps/user_status/src/store/index.js
index d810cae5444..6bca839b41f 100644
--- a/apps/user_status/src/store/index.js
+++ b/apps/user_status/src/store/index.js
@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
import Vue from 'vue'
import Vuex from 'vuex'
import predefinedStatuses from './predefinedStatuses'
diff --git a/apps/user_status/src/store/predefinedStatuses.js b/apps/user_status/src/store/predefinedStatuses.js
index f7174bf8bfc..219fccd9b85 100644
--- a/apps/user_status/src/store/predefinedStatuses.js
+++ b/apps/user_status/src/store/predefinedStatuses.js
@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
import { fetchAllPredefinedStatuses } from '../services/predefinedStatusService'
const state = {
diff --git a/apps/user_status/src/store/userStatus.js b/apps/user_status/src/store/userStatus.js
index 69ec6d8fed1..cde1b5a6f6e 100644
--- a/apps/user_status/src/store/userStatus.js
+++ b/apps/user_status/src/store/userStatus.js
@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
import {
fetchCurrentStatus,
setStatus,
diff --git a/apps/user_status/webpack.js b/apps/user_status/webpack.js
index 178bd28e7a5..587e8244580 100644
--- a/apps/user_status/webpack.js
+++ b/apps/user_status/webpack.js
@@ -1,3 +1,26 @@
+/**
+ * @copyright Copyright (c) 2016 Georg Ehrke <oc.list@georgehrke.com>
+ *
+ * @author Georg Ehrke <oc.list@georgehrke.com>
+ * @author John Molakvoæ <skjnldsv@protonmail.com>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
const path = require('path')
module.exports = {