From 3e624dc39966f54c6d418eee2e8141fc5c21f751 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Wed, 31 Mar 2021 12:15:40 +0200 Subject: Bump js licenses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/user_status/src/filters/clearAtFilter.js | 1 + apps/user_status/src/main-user-status-menu.js | 3 +++ apps/user_status/src/mixins/OnlineStatusMixin.js | 1 + apps/user_status/src/services/clearAtOptionsService.js | 1 + apps/user_status/src/services/clearAtService.js | 1 + apps/user_status/src/services/dateService.js | 5 ----- apps/user_status/src/services/heartbeatService.js | 1 + apps/user_status/src/services/predefinedStatusService.js | 1 + apps/user_status/src/services/statusOptionsService.js | 2 ++ apps/user_status/src/services/statusService.js | 1 + apps/user_status/src/store/index.js | 1 + apps/user_status/src/store/predefinedStatuses.js | 1 + apps/user_status/src/store/userStatus.js | 1 + 13 files changed, 15 insertions(+), 5 deletions(-) (limited to 'apps/user_status/src') 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 . * */ + 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 + * @author John Molakvoæ + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * @@ -19,6 +21,7 @@ * along with this program. If not, see . * */ + 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 . * */ + 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 . * */ + 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 . * */ + 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 . * */ + 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 . * */ + 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 + * @author Jan C. Borchardt * * @license GNU AGPL version 3 or any later version * @@ -19,6 +20,7 @@ * along with this program. If not, see . * */ + 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 . * */ + 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 . * */ + 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 . * */ + 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 . * */ + import { fetchCurrentStatus, setStatus, -- cgit v1.2.3