From 3e624dc39966f54c6d418eee2e8141fc5c21f751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= 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/accessibility/src/accessibilityoca.js | 6 ++- apps/accessibility/src/main.js | 4 +- apps/accessibility/webpack.js | 22 ++++++++ apps/comments/src/activitytabviewplugin.js | 21 ++++++-- apps/comments/src/app.js | 21 ++++++-- apps/comments/src/comments.js | 23 ++++++++ apps/comments/src/filesplugin.js | 24 +++++++-- apps/comments/src/mixins/CommentMixin.js | 2 +- apps/comments/src/services/CommentsInstance.js | 2 +- apps/comments/src/services/DavClient.js | 2 +- apps/comments/src/services/DeleteComment.js | 2 +- apps/comments/src/services/EditComment.js | 2 +- apps/comments/src/services/GetComments.js | 2 +- apps/comments/src/services/NewComment.js | 2 +- apps/comments/src/utils/cancelableRequest.js | 2 +- apps/comments/src/utils/davUtils.js | 2 +- apps/comments/src/utils/numberUtil.js | 2 +- apps/comments/tests/js/filespluginSpec.js | 21 ++++++-- apps/comments/webpack.js | 23 ++++++++ apps/dashboard/src/helpers/getBackgroundUrl.js | 6 ++- apps/dashboard/src/helpers/prefixWithBaseUrl.js | 5 +- apps/dashboard/src/main.js | 22 ++++++++ apps/dashboard/src/mixins/isMobile.js | 4 +- apps/dashboard/webpack.js | 23 ++++++++ apps/federatedfilesharing/tests/js/externalSpec.js | 23 +++++--- apps/files/src/files-app-settings.js | 3 +- apps/files/src/logger.js | 8 +-- apps/files/src/main-personal-settings.js | 24 +++++++++ apps/files/src/models/Setting.js | 2 +- apps/files/src/models/Tab.js | 2 +- apps/files/src/services/FileInfo.js | 2 +- apps/files/src/services/Settings.js | 2 +- apps/files/src/services/Sidebar.js | 2 +- apps/files/src/services/Templates.js | 2 +- apps/files/src/sidebar.js | 2 +- apps/files/src/templates.js | 3 +- apps/files/src/utils/davUtils.js | 2 +- apps/files/src/utils/fileUtils.js | 8 +-- apps/files/tests/js/appSpec.js | 38 ++++++------- apps/files/tests/js/breadcrumbSpec.js | 40 +++++++------- apps/files/tests/js/detailsviewSpec.js | 38 ++++++------- apps/files/tests/js/favoritesfilelistspec.js | 22 ++++++-- apps/files/tests/js/favoritespluginspec.js | 21 ++++++-- apps/files/tests/js/fileUploadSpec.js | 42 ++++++++------- apps/files/tests/js/fileactionsSpec.js | 43 ++++++++------- apps/files/tests/js/fileactionsmenuSpec.js | 42 ++++++++------- apps/files/tests/js/filelistSpec.js | 63 +++++++++++++++------- apps/files/tests/js/filesSpec.js | 39 +++++++------- apps/files/tests/js/filesummarySpec.js | 41 +++++++------- apps/files/tests/js/mainfileinfodetailviewSpec.js | 42 ++++++++------- apps/files/tests/js/newfilemenuSpec.js | 38 ++++++------- apps/files/tests/js/tagspluginspec.js | 22 ++++++-- apps/files/webpack.js | 24 +++++++++ apps/files_external/tests/appSpec.js | 39 +++++++------- apps/files_external/tests/js/mountsfilelistSpec.js | 22 ++++++-- apps/files_external/tests/js/settingsSpec.js | 28 ++++++++-- apps/files_sharing/src/additionalScripts.js | 24 +++++++++ apps/files_sharing/src/collaborationresources.js | 1 + .../src/collaborationresourceshandler.js | 23 ++++++++ apps/files_sharing/src/files_sharing.js | 23 ++++++++ apps/files_sharing/src/files_sharing_tab.js | 2 + apps/files_sharing/src/index.js | 1 + apps/files_sharing/src/mixins/ShareRequests.js | 3 ++ apps/files_sharing/src/mixins/ShareTypes.js | 1 + apps/files_sharing/src/mixins/SharesMixin.js | 5 ++ apps/files_sharing/src/models/Share.js | 5 ++ apps/files_sharing/src/personal-settings.js | 23 ++++++++ apps/files_sharing/src/services/ConfigService.js | 4 +- .../src/services/ExternalLinkActions.js | 2 +- apps/files_sharing/src/services/ShareSearch.js | 2 +- apps/files_sharing/src/services/TabSections.js | 9 +--- apps/files_sharing/src/share.js | 34 ++++++++++-- apps/files_sharing/src/sharebreadcrumbview.js | 6 ++- apps/files_sharing/src/utils/GeneratePassword.js | 1 - apps/files_sharing/src/utils/SharedWithMe.js | 7 +-- apps/files_sharing/tests/js/appSpec.js | 39 +++++++------- apps/files_sharing/tests/js/fileDropSpec.js | 5 +- apps/files_sharing/tests/js/publicAppSpec.js | 40 +++++++------- apps/files_sharing/tests/js/shareSpec.js | 24 +++++++-- apps/files_sharing/webpack.js | 24 +++++++++ apps/files_trashbin/src/app.js | 28 +++++++--- apps/files_trashbin/src/filelist.js | 28 ++++++++-- apps/files_trashbin/src/files_trashbin.js | 22 ++++++++ apps/files_trashbin/tests/js/appSpec.js | 37 ++++++------- apps/files_trashbin/tests/js/filelistSpec.js | 29 ++++++---- apps/files_trashbin/webpack.js | 24 +++++++++ apps/files_versions/src/files_versions.js | 22 ++++++++ apps/files_versions/src/filesplugin.js | 21 ++++++-- apps/files_versions/src/versioncollection.js | 22 ++++++-- apps/files_versions/src/versionmodel.js | 22 ++++++-- apps/files_versions/src/versionstabview.js | 26 +++++++-- .../tests/js/versioncollectionSpec.js | 22 ++++++-- apps/files_versions/tests/js/versionmodelSpec.js | 23 ++++++-- .../files_versions/tests/js/versionstabviewSpec.js | 25 +++++++-- apps/files_versions/webpack.js | 24 +++++++++ apps/oauth2/src/main.js | 2 + apps/oauth2/webpack.js | 24 +++++++++ apps/settings/src/logger.js | 7 +-- apps/settings/src/main-admin-security.js | 24 +++++++++ apps/settings/src/main-apps-users-management.js | 2 + apps/settings/src/main-nextcloud-pdf.js | 3 +- apps/settings/src/main-personal-security.js | 8 +-- apps/settings/src/main-personal-webauth.js | 3 +- apps/settings/src/mixins/AppManagement.js | 1 - apps/settings/src/mixins/UserRowMixin.js | 2 + apps/settings/src/router.js | 1 + .../src/service/WebAuthnRegistrationSerice.js | 3 +- apps/settings/src/store/admin-security.js | 6 ++- apps/settings/src/store/api.js | 4 ++ apps/settings/src/store/apps.js | 4 +- apps/settings/src/store/oc.js | 1 + apps/settings/src/store/users.js | 6 +++ apps/settings/webpack.js | 25 +++++++++ apps/systemtags/src/app.js | 23 ++++++-- apps/systemtags/src/filesplugin.js | 22 ++++++-- apps/systemtags/src/systemtags.js | 23 ++++++++ apps/systemtags/src/systemtagsfilelist.js | 23 ++++++-- apps/systemtags/src/systemtagsinfoview.js | 24 +++++++-- apps/systemtags/tests/js/systemtagsfilelistSpec.js | 21 ++++++-- apps/systemtags/tests/js/systemtagsinfoviewSpec.js | 39 +++++++------- apps/systemtags/webpack.js | 24 +++++++++ .../src/service/BackupCodesService.js | 24 +++++++++ .../src/service/PrintService.js | 23 ++++++++ apps/twofactor_backupcodes/src/settings.js | 24 +++++++++ apps/twofactor_backupcodes/src/store.js | 8 +-- apps/twofactor_backupcodes/webpack.js | 25 +++++++++ apps/updatenotification/src/init.js | 5 +- apps/updatenotification/webpack.js | 23 ++++++++ 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 + .../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 + .../src/services/predefinedStatusService.js | 1 + .../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 + apps/user_status/webpack.js | 23 ++++++++ .../src/services/weatherStatusService.js | 1 + apps/weather_status/src/weather-status.js | 22 ++++++++ apps/weather_status/webpack.js | 23 ++++++++ .../src/components/Checks/MultiselectTag/api.js | 5 +- .../src/components/Checks/MultiselectTag/index.js | 3 +- apps/workflowengine/src/components/Checks/file.js | 3 +- apps/workflowengine/src/components/Checks/index.js | 2 +- .../src/components/Checks/request.js | 2 +- apps/workflowengine/src/helpers/api.js | 4 +- apps/workflowengine/src/helpers/validators.js | 3 +- apps/workflowengine/src/mixins/valueMixin.js | 3 +- apps/workflowengine/src/store.js | 6 ++- apps/workflowengine/src/workflowengine.js | 3 +- apps/workflowengine/webpack.js | 23 ++++++++ core/src/OC/admin.js | 8 +-- core/src/OC/appconfig.js | 11 +++- core/src/OC/apps.js | 23 ++++++-- core/src/OC/appsettings.js | 9 ++-- core/src/OC/appswebroots.js | 7 +-- core/src/OC/backbone-webdav.js | 63 ++++++---------------- core/src/OC/backbone.js | 6 ++- core/src/OC/capabilities.js | 9 ++-- core/src/OC/config.js | 7 +-- core/src/OC/constants.js | 14 ++--- core/src/OC/contactsmenu.js | 9 ++-- core/src/OC/currentuser.js | 8 +-- core/src/OC/debug.js | 7 +-- core/src/OC/dialogs.js | 30 +++++++++-- core/src/OC/eventsource.js | 42 +++++++-------- core/src/OC/get_set.js | 12 ++--- core/src/OC/host.js | 13 ++--- core/src/OC/index.js | 7 ++- core/src/OC/l10n-registry.js | 6 ++- core/src/OC/l10n.js | 26 +++++++-- core/src/OC/legacy-loader.js | 9 ++-- core/src/OC/menu.js | 7 ++- core/src/OC/msg.js | 9 ++-- core/src/OC/navigation.js | 11 ++-- core/src/OC/notification.js | 10 +++- core/src/OC/password-confirmation.js | 7 ++- core/src/OC/plugins.js | 11 ++-- core/src/OC/query-string.js | 7 ++- core/src/OC/requesttoken.js | 6 ++- core/src/OC/routing.js | 7 ++- core/src/OC/theme.js | 7 +-- core/src/OC/util-history.js | 6 ++- core/src/OC/util.js | 6 ++- core/src/OC/webroot.js | 7 +-- core/src/OC/xhr-error.js | 6 ++- core/src/OCA/index.js | 7 +-- core/src/OCA/search.js | 10 ++-- core/src/OCP/appconfig.js | 5 +- core/src/OCP/collaboration.js | 1 + core/src/OCP/comments.js | 20 +++++-- core/src/OCP/index.js | 32 +++++++++-- core/src/OCP/loader.js | 2 + core/src/OCP/toast.js | 3 +- core/src/OCP/whatsnew.js | 20 +++++-- core/src/Polyfill/closest.js | 22 ++++++++ core/src/Polyfill/console.js | 8 +-- core/src/Polyfill/index.js | 6 ++- core/src/Polyfill/tooltip.js | 9 ++-- core/src/Polyfill/windows-phone.js | 8 +-- core/src/Util/get-url-parameter.js | 12 ++--- core/src/components/ContactsMenu.js | 6 ++- core/src/components/MainMenu.js | 9 ++-- core/src/components/UserMenu.js | 7 +-- core/src/files/client.js | 32 +++++++++-- core/src/files/fileinfo.js | 25 +++++++-- core/src/files/iedavclient.js | 23 +++++--- core/src/globals.js | 10 ++-- core/src/init.js | 11 ++-- core/src/install.js | 24 +++++++++ core/src/jquery/avatar.js | 8 +-- core/src/jquery/contactsmenu.js | 9 ++-- core/src/jquery/exists.js | 6 ++- core/src/jquery/filterattr.js | 6 ++- core/src/jquery/index.js | 7 ++- core/src/jquery/ocdialog.js | 10 ++-- core/src/jquery/octemplate.js | 24 +++++++++ core/src/jquery/placeholder.js | 29 +++++----- core/src/jquery/requesttoken.js | 8 +-- core/src/jquery/selectrange.js | 6 ++- core/src/jquery/showpassword.js | 8 +-- core/src/jquery/ui-fixes.js | 23 ++++++++ core/src/logger.js | 5 +- core/src/login.js | 8 ++- core/src/main.js | 8 ++- core/src/maintenance.js | 7 ++- core/src/mixins/Nextcloud.js | 7 +-- core/src/recommendedapps.js | 5 +- core/src/services/UnifiedSearchService.js | 6 ++- core/src/services/WebAuthnAuthenticationService.js | 3 +- core/src/session-heartbeat.js | 8 ++- core/src/systemtags/merged-systemtags.js | 22 ++++++++ core/src/systemtags/systemtagmodel.js | 23 ++++++-- core/src/systemtags/systemtags.js | 26 +++++++-- core/src/systemtags/systemtagscollection.js | 23 ++++++-- core/src/systemtags/systemtagsinputfield.js | 25 +++++++-- core/src/systemtags/systemtagsmappingcollection.js | 22 ++++++-- core/src/tests/.eslintrc.js | 22 ++++++++ core/src/tests/OC/requesttoken.spec.js | 6 ++- core/src/tests/setup.js | 8 +-- core/src/unified-search.js | 3 +- core/webpack.js | 25 +++++++++ core/webpack.test.js | 6 ++- 248 files changed, 2582 insertions(+), 835 deletions(-) diff --git a/apps/accessibility/src/accessibilityoca.js b/apps/accessibility/src/accessibilityoca.js index d4aa18e7c81..7536aed59f2 100644 --- a/apps/accessibility/src/accessibilityoca.js +++ b/apps/accessibility/src/accessibilityoca.js @@ -1,7 +1,7 @@ /** * @copyright Copyright (c) 2020 Roeland Jago Douma * - * @author Roeland Jago Douma + * @author Jan C. Borchardt * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version @@ -17,8 +17,10 @@ * 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 . + * along with this program. If not, see . + * */ + import { loadState } from '@nextcloud/initial-state' OCA.Accessibility = loadState('accessibility', 'data') diff --git a/apps/accessibility/src/main.js b/apps/accessibility/src/main.js index 63ff6fda6ca..f88954f5904 100644 --- a/apps/accessibility/src/main.js +++ b/apps/accessibility/src/main.js @@ -16,8 +16,10 @@ * 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 . + * along with this program. If not, see . + * */ + import Vue from 'vue' import { loadState } from '@nextcloud/initial-state' import App from './Accessibility.vue' diff --git a/apps/accessibility/webpack.js b/apps/accessibility/webpack.js index 7fdf63b7fd4..be18f940b7b 100644 --- a/apps/accessibility/webpack.js +++ b/apps/accessibility/webpack.js @@ -1,3 +1,25 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author John Molakvoæ + * + * @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 . + * + */ + const path = require('path') module.exports = { diff --git a/apps/comments/src/activitytabviewplugin.js b/apps/comments/src/activitytabviewplugin.js index c01cdb8146b..d4590886b2c 100644 --- a/apps/comments/src/activitytabviewplugin.js +++ b/apps/comments/src/activitytabviewplugin.js @@ -1,11 +1,24 @@ /** - * @author Joas Schilling * Copyright (c) 2016 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Joas Schilling + * @author John Molakvoæ + * + * @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 . * - * See the COPYING-README file. */ (function() { diff --git a/apps/comments/src/app.js b/apps/comments/src/app.js index 626d7703a3e..8dbc3107eb7 100644 --- a/apps/comments/src/app.js +++ b/apps/comments/src/app.js @@ -1,10 +1,23 @@ -/* +/** * Copyright (c) 2016 Vincent Petry * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author John Molakvoæ + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/comments/src/comments.js b/apps/comments/src/comments.js index 3d7f52f4e74..ad59811b4cf 100644 --- a/apps/comments/src/comments.js +++ b/apps/comments/src/comments.js @@ -1,3 +1,26 @@ +/** + * @copyright Copyright (c) 2016 Roeland Jago Douma + * + * @author John Molakvoæ + * @author Roeland Jago Douma + * + * @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 . + * + */ + import './app' import './templates' import './filesplugin' diff --git a/apps/comments/src/filesplugin.js b/apps/comments/src/filesplugin.js index dc06cadcd84..b8a22612c62 100644 --- a/apps/comments/src/filesplugin.js +++ b/apps/comments/src/filesplugin.js @@ -1,10 +1,26 @@ -/* +/** * Copyright (c) 2016 Vincent Petry * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Joas Schilling + * @author John Molakvoæ + * @author Michael Jobst + * @author Roeland Jago Douma + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/comments/src/mixins/CommentMixin.js b/apps/comments/src/mixins/CommentMixin.js index 7b6e7a9b0a0..3405e11489d 100644 --- a/apps/comments/src/mixins/CommentMixin.js +++ b/apps/comments/src/mixins/CommentMixin.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/comments/src/services/CommentsInstance.js b/apps/comments/src/services/CommentsInstance.js index 9eeea198760..bf0199fe753 100644 --- a/apps/comments/src/services/CommentsInstance.js +++ b/apps/comments/src/services/CommentsInstance.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/comments/src/services/DavClient.js b/apps/comments/src/services/DavClient.js index 9fc67b52c98..476380b34ad 100644 --- a/apps/comments/src/services/DavClient.js +++ b/apps/comments/src/services/DavClient.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/comments/src/services/DeleteComment.js b/apps/comments/src/services/DeleteComment.js index d9954a5603e..dc2ee9a5163 100644 --- a/apps/comments/src/services/DeleteComment.js +++ b/apps/comments/src/services/DeleteComment.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/comments/src/services/EditComment.js b/apps/comments/src/services/EditComment.js index fd6624c7da8..1995bccf98e 100644 --- a/apps/comments/src/services/EditComment.js +++ b/apps/comments/src/services/EditComment.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/comments/src/services/GetComments.js b/apps/comments/src/services/GetComments.js index 4d2c4d21425..62fd54961d5 100644 --- a/apps/comments/src/services/GetComments.js +++ b/apps/comments/src/services/GetComments.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/comments/src/services/NewComment.js b/apps/comments/src/services/NewComment.js index 5bf200d1c8e..8f54e18d26e 100644 --- a/apps/comments/src/services/NewComment.js +++ b/apps/comments/src/services/NewComment.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/comments/src/utils/cancelableRequest.js b/apps/comments/src/utils/cancelableRequest.js index 425e94a787a..c678e42dae3 100644 --- a/apps/comments/src/utils/cancelableRequest.js +++ b/apps/comments/src/utils/cancelableRequest.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/comments/src/utils/davUtils.js b/apps/comments/src/utils/davUtils.js index b10b62e4f34..4bbdf25e1ce 100644 --- a/apps/comments/src/utils/davUtils.js +++ b/apps/comments/src/utils/davUtils.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/comments/src/utils/numberUtil.js b/apps/comments/src/utils/numberUtil.js index 018c34c49e8..9a8ec48ddb2 100644 --- a/apps/comments/src/utils/numberUtil.js +++ b/apps/comments/src/utils/numberUtil.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/comments/tests/js/filespluginSpec.js b/apps/comments/tests/js/filespluginSpec.js index e2d97da5f96..8057be264ea 100644 --- a/apps/comments/tests/js/filespluginSpec.js +++ b/apps/comments/tests/js/filespluginSpec.js @@ -1,10 +1,23 @@ -/* +/** * Copyright (c) 2016 Vincent Petry * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author John Molakvoæ + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/comments/webpack.js b/apps/comments/webpack.js index b9cba1ca218..9e7886931ed 100644 --- a/apps/comments/webpack.js +++ b/apps/comments/webpack.js @@ -1,3 +1,26 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author John Molakvoæ + * @author Roeland Jago Douma + * + * @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 . + * + */ + const path = require('path') module.exports = { diff --git a/apps/dashboard/src/helpers/getBackgroundUrl.js b/apps/dashboard/src/helpers/getBackgroundUrl.js index 814b35f01b7..a96aa40d5c0 100644 --- a/apps/dashboard/src/helpers/getBackgroundUrl.js +++ b/apps/dashboard/src/helpers/getBackgroundUrl.js @@ -1,6 +1,8 @@ -/* +/** * @copyright Copyright (c) 2020 Julius Härtl * + * @author Avior + * @author Julien Veyssier * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -12,7 +14,7 @@ * * 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 + * 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 diff --git a/apps/dashboard/src/helpers/prefixWithBaseUrl.js b/apps/dashboard/src/helpers/prefixWithBaseUrl.js index 7afbf284b79..b6e765f514d 100644 --- a/apps/dashboard/src/helpers/prefixWithBaseUrl.js +++ b/apps/dashboard/src/helpers/prefixWithBaseUrl.js @@ -1,4 +1,4 @@ -/* +/** * @copyright Copyright (c) 2020 Julius Härtl * * @author Julius Härtl @@ -12,13 +12,14 @@ * * 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 + * 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 . * */ + import { generateFilePath } from '@nextcloud/router' export default (url) => generateFilePath('dashboard', '', 'img/') + url diff --git a/apps/dashboard/src/main.js b/apps/dashboard/src/main.js index 93fb55e2d52..54c68bf71ee 100644 --- a/apps/dashboard/src/main.js +++ b/apps/dashboard/src/main.js @@ -1,3 +1,25 @@ +/** + * @copyright Copyright (c) 2016 Julius Härtl + * + * @author Julius Härtl + * + * @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 . + * + */ + import Vue from 'vue' import App from './App.vue' import { translate as t } from '@nextcloud/l10n' diff --git a/apps/dashboard/src/mixins/isMobile.js b/apps/dashboard/src/mixins/isMobile.js index cc66af56a82..7a80b437153 100644 --- a/apps/dashboard/src/mixins/isMobile.js +++ b/apps/dashboard/src/mixins/isMobile.js @@ -1,4 +1,4 @@ -/* +/** * @copyright Copyright (c) 2020 Julius Härtl * * @author Julius Härtl @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/dashboard/webpack.js b/apps/dashboard/webpack.js index f5ab624a9a9..6305bc17d18 100644 --- a/apps/dashboard/webpack.js +++ b/apps/dashboard/webpack.js @@ -1,3 +1,26 @@ +/** + * @copyright Copyright (c) 2016 Julius Härtl + * + * @author John Molakvoæ + * @author Julius Härtl + * + * @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 . + * + */ + const path = require('path') module.exports = { diff --git a/apps/federatedfilesharing/tests/js/externalSpec.js b/apps/federatedfilesharing/tests/js/externalSpec.js index d8c0d36432b..d6c68a2ff8e 100644 --- a/apps/federatedfilesharing/tests/js/externalSpec.js +++ b/apps/federatedfilesharing/tests/js/externalSpec.js @@ -1,15 +1,26 @@ -/* +/** * Copyright (c) 2015 Vincent Petry * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Christoph Wurst + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ -/* global sinon */ - describe('OCA.Sharing external tests', function() { var plugin; var urlQueryStub; diff --git a/apps/files/src/files-app-settings.js b/apps/files/src/files-app-settings.js index f5d50d8685b..daaafbcd6c3 100644 --- a/apps/files/src/files-app-settings.js +++ b/apps/files/src/files-app-settings.js @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2019 John Molakvoæ * * @author Gary Kim + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -13,7 +14,7 @@ * * 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 + * 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 diff --git a/apps/files/src/logger.js b/apps/files/src/logger.js index 45681f020d8..b487e7caa9f 100644 --- a/apps/files/src/logger.js +++ b/apps/files/src/logger.js @@ -1,7 +1,8 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import { getCurrentUser } from '@nextcloud/auth' diff --git a/apps/files/src/main-personal-settings.js b/apps/files/src/main-personal-settings.js index da5d91537ec..4a56e836ecd 100644 --- a/apps/files/src/main-personal-settings.js +++ b/apps/files/src/main-personal-settings.js @@ -1,3 +1,27 @@ +/** + * @copyright 2019 Christoph Wurst + * @copyright 2019 Christoph Wurst + * @copyright 2019 Christoph Wurst + * + * @author Roeland Jago Douma + * + * @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 . + * + */ + // global t /* diff --git a/apps/files/src/models/Setting.js b/apps/files/src/models/Setting.js index 64c81ee5013..3b57e330ad0 100644 --- a/apps/files/src/models/Setting.js +++ b/apps/files/src/models/Setting.js @@ -13,7 +13,7 @@ * * 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 + * 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 diff --git a/apps/files/src/models/Tab.js b/apps/files/src/models/Tab.js index 670c72e3a3a..93770ace0ac 100644 --- a/apps/files/src/models/Tab.js +++ b/apps/files/src/models/Tab.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/files/src/services/FileInfo.js b/apps/files/src/services/FileInfo.js index de97be2d9c3..33284df5032 100644 --- a/apps/files/src/services/FileInfo.js +++ b/apps/files/src/services/FileInfo.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/files/src/services/Settings.js b/apps/files/src/services/Settings.js index 7d8961b35ab..99ead3cd274 100644 --- a/apps/files/src/services/Settings.js +++ b/apps/files/src/services/Settings.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/files/src/services/Sidebar.js b/apps/files/src/services/Sidebar.js index fee699566bf..1370d83fe61 100644 --- a/apps/files/src/services/Sidebar.js +++ b/apps/files/src/services/Sidebar.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/files/src/services/Templates.js b/apps/files/src/services/Templates.js index c1a8992d661..53d1408bbb1 100644 --- a/apps/files/src/services/Templates.js +++ b/apps/files/src/services/Templates.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/files/src/sidebar.js b/apps/files/src/sidebar.js index 9bf34680ebc..274b2f49fd9 100644 --- a/apps/files/src/sidebar.js +++ b/apps/files/src/sidebar.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/files/src/templates.js b/apps/files/src/templates.js index ec219f2c91e..155ac2b1f43 100644 --- a/apps/files/src/templates.js +++ b/apps/files/src/templates.js @@ -2,6 +2,7 @@ * @copyright Copyright (c) 2020 John Molakvoæ * * @author John Molakvoæ + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * @@ -12,7 +13,7 @@ * * 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 + * 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 diff --git a/apps/files/src/utils/davUtils.js b/apps/files/src/utils/davUtils.js index cd5732a4772..b2a0bb2ebd8 100644 --- a/apps/files/src/utils/davUtils.js +++ b/apps/files/src/utils/davUtils.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/files/src/utils/fileUtils.js b/apps/files/src/utils/fileUtils.js index 97d1c333566..7b78a85dc0e 100644 --- a/apps/files/src/utils/fileUtils.js +++ b/apps/files/src/utils/fileUtils.js @@ -12,7 +12,7 @@ * * 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 + * 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 @@ -20,12 +20,6 @@ * */ -/** - * Get an url encoded path - * - * @param {String} path the full path - * @returns {string} url encoded file path - */ const encodeFilePath = function(path) { const pathSections = (path.startsWith('/') ? path : `/${path}`).split('/') let relativePath = '' diff --git a/apps/files/tests/js/appSpec.js b/apps/files/tests/js/appSpec.js index 62e3ac2868a..21f3502be04 100644 --- a/apps/files/tests/js/appSpec.js +++ b/apps/files/tests/js/appSpec.js @@ -1,23 +1,25 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2014 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author John Molakvoæ + * @author Vincent Petry + * + * @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 . + * + */ describe('OCA.Files.App tests', function() { var App = OCA.Files.App; diff --git a/apps/files/tests/js/breadcrumbSpec.js b/apps/files/tests/js/breadcrumbSpec.js index 5387edfaf2c..8fa66a1342a 100644 --- a/apps/files/tests/js/breadcrumbSpec.js +++ b/apps/files/tests/js/breadcrumbSpec.js @@ -1,23 +1,27 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2014 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author Daniel Calviño Sánchez + * @author John Molakvoæ + * @author Lukas Reschke + * @author Vincent Petry + * + * @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 . + * + */ describe('OCA.Files.BreadCrumb tests', function() { var BreadCrumb = OCA.Files.BreadCrumb; diff --git a/apps/files/tests/js/detailsviewSpec.js b/apps/files/tests/js/detailsviewSpec.js index 0f483728bff..8b0ba591a7c 100644 --- a/apps/files/tests/js/detailsviewSpec.js +++ b/apps/files/tests/js/detailsviewSpec.js @@ -1,23 +1,25 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2015 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author Daniel Calviño Sánchez + * @author Vincent Petry + * + * @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 . + * + */ describe('OCA.Files.DetailsView tests', function() { var detailsView; diff --git a/apps/files/tests/js/favoritesfilelistspec.js b/apps/files/tests/js/favoritesfilelistspec.js index b8218a05c7c..ec163e0512a 100644 --- a/apps/files/tests/js/favoritesfilelistspec.js +++ b/apps/files/tests/js/favoritesfilelistspec.js @@ -1,10 +1,24 @@ -/* +/** * Copyright (c) 2014 Vincent Petry * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Christoph Wurst + * @author Jan-Christoph Borchardt + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/files/tests/js/favoritespluginspec.js b/apps/files/tests/js/favoritespluginspec.js index 4687aadcdbe..fdf7c653fd3 100644 --- a/apps/files/tests/js/favoritespluginspec.js +++ b/apps/files/tests/js/favoritespluginspec.js @@ -1,10 +1,23 @@ -/* +/** * Copyright (c) 2014 Vincent Petry * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author John Molakvoæ + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/files/tests/js/fileUploadSpec.js b/apps/files/tests/js/fileUploadSpec.js index 64006d71e42..6ce0558d22d 100644 --- a/apps/files/tests/js/fileUploadSpec.js +++ b/apps/files/tests/js/fileUploadSpec.js @@ -1,23 +1,29 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2014 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author Christoph Wurst + * @author Jan-Christoph Borchardt + * @author Julius Härtl + * @author Morris Jobke + * @author Tomasz Grobelny + * @author Vincent Petry + * + * @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 . + * + */ describe('OC.Upload tests', function() { var $dummyUploader; diff --git a/apps/files/tests/js/fileactionsSpec.js b/apps/files/tests/js/fileactionsSpec.js index 024993b310d..80a5cf95d81 100644 --- a/apps/files/tests/js/fileactionsSpec.js +++ b/apps/files/tests/js/fileactionsSpec.js @@ -1,23 +1,30 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2014 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author Christoph Wurst + * @author Daniel Calviño Sánchez + * @author Jan-Christoph Borchardt + * @author Morris Jobke + * @author Roeland Jago Douma + * @author Vincent Chan + * @author Vincent Petry + * + * @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 . + * + */ describe('OCA.Files.FileActions tests', function() { var fileList, fileActions, clock; diff --git a/apps/files/tests/js/fileactionsmenuSpec.js b/apps/files/tests/js/fileactionsmenuSpec.js index c2be3011838..a689ca887d9 100644 --- a/apps/files/tests/js/fileactionsmenuSpec.js +++ b/apps/files/tests/js/fileactionsmenuSpec.js @@ -1,23 +1,29 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2015 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author Christoph Wurst + * @author Daniel Calviño Sánchez + * @author John Molakvoæ + * @author Julius Härtl + * @author Roland Tapken + * @author Vincent Petry + * + * @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 . + * + */ describe('OCA.Files.FileActionsMenu tests', function() { var fileList, fileActions, menu, actionStub, menuContext, $tr; diff --git a/apps/files/tests/js/filelistSpec.js b/apps/files/tests/js/filelistSpec.js index 04a71c1ce8b..5c75bfb43bf 100644 --- a/apps/files/tests/js/filelistSpec.js +++ b/apps/files/tests/js/filelistSpec.js @@ -1,23 +1,50 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2014 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author Abijeet + * @author Azul + * @author Bernd Stellwag + * @author Bjoern Schiessle + * @author Christoph Wurst + * @author Clark Tomlinson + * @author Daniel Calviño Sánchez + * @author Hasso Tepper + * @author Jan-Christoph Borchardt + * @author Joas Schilling + * @author John Molakvoæ + * @author Jörn Friedrich Dreyer + * @author Julius Härtl + * @author Lukas Reschke + * @author Michael Weimann + * @author Morris Jobke + * @author Nazar Mokrynskyi + * @author noveens + * @author Remco Brenninkmeijer + * @author Robin Appelman + * @author Robin McCorkell + * @author Roeland Jago Douma + * @author Roland Tapken + * @author Thomas Citharel + * @author Thomas Müller + * @author Tomasz Grobelny + * @author Vincent Petry + * + * @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 . + * + */ describe('OCA.Files.FileList tests', function() { var FileInfo = OC.Files.FileInfo; diff --git a/apps/files/tests/js/filesSpec.js b/apps/files/tests/js/filesSpec.js index bd4bae65102..441cbfb3014 100644 --- a/apps/files/tests/js/filesSpec.js +++ b/apps/files/tests/js/filesSpec.js @@ -1,23 +1,26 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2014 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author Christoph Wurst + * @author Felix Heidecke + * @author Vincent Petry + * + * @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 . + * + */ describe('OCA.Files.Files tests', function() { var Files = OCA.Files.Files; diff --git a/apps/files/tests/js/filesummarySpec.js b/apps/files/tests/js/filesummarySpec.js index e3f24d9ad43..f11ad27ed59 100644 --- a/apps/files/tests/js/filesummarySpec.js +++ b/apps/files/tests/js/filesummarySpec.js @@ -1,25 +1,28 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2014 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author Jörn Friedrich Dreyer + * @author Morris Jobke + * @author Thomas Müller + * @author Vincent Petry + * + * @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 . + * + */ -/* global FileSummary */ describe('OCA.Files.FileSummary tests', function() { var FileSummary = OCA.Files.FileSummary; var $container; diff --git a/apps/files/tests/js/mainfileinfodetailviewSpec.js b/apps/files/tests/js/mainfileinfodetailviewSpec.js index 0201429a472..758191a83a0 100644 --- a/apps/files/tests/js/mainfileinfodetailviewSpec.js +++ b/apps/files/tests/js/mainfileinfodetailviewSpec.js @@ -1,23 +1,29 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2015 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author Arthur Schiwon + * @author Daniel Calviño Sánchez + * @author Michael Jobst + * @author Morris Jobke + * @author Raghu Nayyar + * @author Vincent Petry + * + * @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 . + * + */ describe('OCA.Files.MainFileInfoDetailView tests', function() { var view, tooltipStub, fileActions, fileList, testFileInfo; diff --git a/apps/files/tests/js/newfilemenuSpec.js b/apps/files/tests/js/newfilemenuSpec.js index af998c14916..65b002a5449 100644 --- a/apps/files/tests/js/newfilemenuSpec.js +++ b/apps/files/tests/js/newfilemenuSpec.js @@ -1,23 +1,25 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2015 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author John Molakvoæ + * @author Vincent Petry + * + * @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 . + * + */ describe('OCA.Files.NewFileMenu', function() { var FileList = OCA.Files.FileList; diff --git a/apps/files/tests/js/tagspluginspec.js b/apps/files/tests/js/tagspluginspec.js index 66bf3d5a698..f5c7c418da7 100644 --- a/apps/files/tests/js/tagspluginspec.js +++ b/apps/files/tests/js/tagspluginspec.js @@ -1,10 +1,24 @@ -/* +/** * Copyright (c) 2014 Vincent Petry * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Christoph Wurst + * @author Daniel Calviño Sánchez + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/files/webpack.js b/apps/files/webpack.js index e83f14ad4e7..d3a047f5a58 100644 --- a/apps/files/webpack.js +++ b/apps/files/webpack.js @@ -1,3 +1,27 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author Gary Kim + * @author John Molakvoæ + * @author Roeland Jago Douma + * + * @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 . + * + */ + const path = require('path') module.exports = { diff --git a/apps/files_external/tests/appSpec.js b/apps/files_external/tests/appSpec.js index fa969f289f0..0f69db9e5c9 100644 --- a/apps/files_external/tests/appSpec.js +++ b/apps/files_external/tests/appSpec.js @@ -1,23 +1,26 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2014 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author Joas Schilling + * @author John Molakvoæ + * @author Vincent Petry + * + * @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 . + * + */ describe('OCA.Files_External.App tests', function() { const App = OCA.Files_External.App diff --git a/apps/files_external/tests/js/mountsfilelistSpec.js b/apps/files_external/tests/js/mountsfilelistSpec.js index 6bed62ed5c6..309c87948cd 100644 --- a/apps/files_external/tests/js/mountsfilelistSpec.js +++ b/apps/files_external/tests/js/mountsfilelistSpec.js @@ -1,10 +1,24 @@ -/* +/** * Copyright (c) 2014 Vincent Petry * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Christoph Wurst + * @author Joas Schilling + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/files_external/tests/js/settingsSpec.js b/apps/files_external/tests/js/settingsSpec.js index e004871650c..b68a3228ba3 100644 --- a/apps/files_external/tests/js/settingsSpec.js +++ b/apps/files_external/tests/js/settingsSpec.js @@ -1,10 +1,30 @@ -/* +/** * Copyright (c) 2015 Vincent Petry * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Christoph Wurst + * @author Joas Schilling + * @author John Molakvoæ + * @author Juan Pablo Villafáñez + * @author Julius Härtl + * @author Robin Appelman + * @author Robin McCorkell + * @author Roeland Jago Douma + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/files_sharing/src/additionalScripts.js b/apps/files_sharing/src/additionalScripts.js index dae47b3db12..6f07f7170ca 100644 --- a/apps/files_sharing/src/additionalScripts.js +++ b/apps/files_sharing/src/additionalScripts.js @@ -1,3 +1,27 @@ +/** + * @copyright Copyright (c) 2016 Roeland Jago Douma + * + * @author John Molakvoæ + * @author Julius Härtl + * @author Roeland Jago Douma + * + * @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 . + * + */ + import './share' import './sharebreadcrumbview' diff --git a/apps/files_sharing/src/collaborationresources.js b/apps/files_sharing/src/collaborationresources.js index b724c6f93a4..61f6361a6d7 100644 --- a/apps/files_sharing/src/collaborationresources.js +++ b/apps/files_sharing/src/collaborationresources.js @@ -1,6 +1,7 @@ /** * @copyright Copyright (c) 2019 Julius Härtl * + * @author John Molakvoæ * @author Julius Härtl * * @license GNU AGPL version 3 or any later version diff --git a/apps/files_sharing/src/collaborationresourceshandler.js b/apps/files_sharing/src/collaborationresourceshandler.js index ceb9234cd2b..91558add383 100644 --- a/apps/files_sharing/src/collaborationresourceshandler.js +++ b/apps/files_sharing/src/collaborationresourceshandler.js @@ -1,3 +1,26 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author John Molakvoæ + * @author Julius Härtl + * + * @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 . + * + */ + // eslint-disable-next-line camelcase __webpack_public_path__ = OC.linkTo('files_sharing', 'js/dist/') // eslint-disable-next-line camelcase diff --git a/apps/files_sharing/src/files_sharing.js b/apps/files_sharing/src/files_sharing.js index 645fd9ace85..1967006dd47 100644 --- a/apps/files_sharing/src/files_sharing.js +++ b/apps/files_sharing/src/files_sharing.js @@ -1,3 +1,26 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author John Molakvoæ + * @author Julius Härtl + * + * @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 . + * + */ + import '../js/app' import '../js/sharedfilelist' diff --git a/apps/files_sharing/src/files_sharing_tab.js b/apps/files_sharing/src/files_sharing_tab.js index c6ed380a6c5..2c12703ab83 100644 --- a/apps/files_sharing/src/files_sharing_tab.js +++ b/apps/files_sharing/src/files_sharing_tab.js @@ -2,6 +2,7 @@ * @copyright Copyright (c) 2019 John Molakvoæ * * @author John Molakvoæ + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * @@ -19,6 +20,7 @@ * along with this program. If not, see . * */ + import Vue from 'vue' import VueClipboard from 'vue-clipboard2' import { translate as t, translatePlural as n } from '@nextcloud/l10n' diff --git a/apps/files_sharing/src/index.js b/apps/files_sharing/src/index.js index 3c0d0e65c8f..dda9cefbd59 100644 --- a/apps/files_sharing/src/index.js +++ b/apps/files_sharing/src/index.js @@ -2,6 +2,7 @@ * @copyright Copyright (c) 2019 John Molakvoæ * * @author John Molakvoæ + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * diff --git a/apps/files_sharing/src/mixins/ShareRequests.js b/apps/files_sharing/src/mixins/ShareRequests.js index e6867514c2a..394567b829c 100644 --- a/apps/files_sharing/src/mixins/ShareRequests.js +++ b/apps/files_sharing/src/mixins/ShareRequests.js @@ -1,7 +1,10 @@ /** * @copyright Copyright (c) 2019 John Molakvoæ * + * @author Christoph Wurst + * @author Joas Schilling * @author John Molakvoæ + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * diff --git a/apps/files_sharing/src/mixins/ShareTypes.js b/apps/files_sharing/src/mixins/ShareTypes.js index 6e9524ce952..5d3a5a7daa7 100644 --- a/apps/files_sharing/src/mixins/ShareTypes.js +++ b/apps/files_sharing/src/mixins/ShareTypes.js @@ -2,6 +2,7 @@ * @copyright Copyright (c) 2019 John Molakvoæ * * @author John Molakvoæ + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * diff --git a/apps/files_sharing/src/mixins/SharesMixin.js b/apps/files_sharing/src/mixins/SharesMixin.js index 4349e10d641..6952d68a327 100644 --- a/apps/files_sharing/src/mixins/SharesMixin.js +++ b/apps/files_sharing/src/mixins/SharesMixin.js @@ -1,7 +1,12 @@ /** * @copyright Copyright (c) 2019 John Molakvoæ * + * @author Christoph Wurst + * @author Daniel Calviño Sánchez + * @author Gary Kim * @author John Molakvoæ + * @author Julius Härtl + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * diff --git a/apps/files_sharing/src/models/Share.js b/apps/files_sharing/src/models/Share.js index 63653d4b6e6..085eab056df 100644 --- a/apps/files_sharing/src/models/Share.js +++ b/apps/files_sharing/src/models/Share.js @@ -1,7 +1,12 @@ /** * @copyright Copyright (c) 2019 John Molakvoæ * + * @author Daniel Calviño Sánchez + * @author Gary Kim + * @author Georg Ehrke * @author John Molakvoæ + * @author Julius Härtl + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * diff --git a/apps/files_sharing/src/personal-settings.js b/apps/files_sharing/src/personal-settings.js index 04a68f58ecc..fb36e022c0d 100644 --- a/apps/files_sharing/src/personal-settings.js +++ b/apps/files_sharing/src/personal-settings.js @@ -1,3 +1,26 @@ +/** + * @copyright 2019 Christoph Wurst + * @copyright 2019 Christoph Wurst + * + * @author Roeland Jago Douma + * + * @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 . + * + */ + // global t /* diff --git a/apps/files_sharing/src/services/ConfigService.js b/apps/files_sharing/src/services/ConfigService.js index 940435fc7f3..84ee5ee0a69 100644 --- a/apps/files_sharing/src/services/ConfigService.js +++ b/apps/files_sharing/src/services/ConfigService.js @@ -1,7 +1,9 @@ /** * @copyright Copyright (c) 2019 John Molakvoæ * + * @author Arthur Schiwon * @author John Molakvoæ + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * @@ -11,7 +13,7 @@ * 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 + * 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. * diff --git a/apps/files_sharing/src/services/ExternalLinkActions.js b/apps/files_sharing/src/services/ExternalLinkActions.js index 74d9f85f0ef..1a4b0c20b93 100644 --- a/apps/files_sharing/src/services/ExternalLinkActions.js +++ b/apps/files_sharing/src/services/ExternalLinkActions.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/files_sharing/src/services/ShareSearch.js b/apps/files_sharing/src/services/ShareSearch.js index f037e8fb701..be0bd8c9ffa 100644 --- a/apps/files_sharing/src/services/ShareSearch.js +++ b/apps/files_sharing/src/services/ShareSearch.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/files_sharing/src/services/TabSections.js b/apps/files_sharing/src/services/TabSections.js index 0750cc707ef..fd32291a4e4 100644 --- a/apps/files_sharing/src/services/TabSections.js +++ b/apps/files_sharing/src/services/TabSections.js @@ -12,7 +12,7 @@ * * 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 + * 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 @@ -20,13 +20,6 @@ * */ -/** - * Callback for adding two numbers. - * - * @callback registerSectionCallback - * @param {Element} el The DOM element where the section is rendered - * @param {FileInfo} fileInfo current file FileInfo - */ export default class TabSections { #sections; diff --git a/apps/files_sharing/src/share.js b/apps/files_sharing/src/share.js index abcb444cb48..385d42eaaea 100644 --- a/apps/files_sharing/src/share.js +++ b/apps/files_sharing/src/share.js @@ -1,14 +1,38 @@ -/* eslint-disable */ -/* +/** * Copyright (c) 2014 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Arthur Schiwon + * @author Christoph Wurst + * @author Daniel Calviño Sánchez + * @author Joas Schilling + * @author John Molakvoæ + * @author Julius Härtl + * @author Maxence Lange + * @author Michael Jobst + * @author Michael Jobst + * @author Morris Jobke + * @author Roeland Jago Douma + * @author Samuel + * @author Vincent Petry + * + * @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. * - * See the COPYING-README file. + * 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 . * */ +/* eslint-disable */ import escapeHTML from 'escape-html' (function() { diff --git a/apps/files_sharing/src/sharebreadcrumbview.js b/apps/files_sharing/src/sharebreadcrumbview.js index 3e5fac2b3a0..3c0ed0a36e7 100644 --- a/apps/files_sharing/src/sharebreadcrumbview.js +++ b/apps/files_sharing/src/sharebreadcrumbview.js @@ -1,7 +1,9 @@ /** * @copyright 2016 Christoph Wurst * - * @author 2016 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,7 +18,7 @@ * 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 . + * along with this program. If not, see . * */ diff --git a/apps/files_sharing/src/utils/GeneratePassword.js b/apps/files_sharing/src/utils/GeneratePassword.js index 6e1a79f3f51..49a58596f7a 100644 --- a/apps/files_sharing/src/utils/GeneratePassword.js +++ b/apps/files_sharing/src/utils/GeneratePassword.js @@ -1,4 +1,3 @@ - /** * @copyright Copyright (c) 2020 John Molakvoæ * diff --git a/apps/files_sharing/src/utils/SharedWithMe.js b/apps/files_sharing/src/utils/SharedWithMe.js index 6a404416f3a..400bb8010f1 100644 --- a/apps/files_sharing/src/utils/SharedWithMe.js +++ b/apps/files_sharing/src/utils/SharedWithMe.js @@ -1,6 +1,7 @@ /** * @copyright Copyright (c) 2019 John Molakvoæ * + * @author Joas Schilling * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version @@ -20,12 +21,6 @@ * */ -/** - * Get the shared with me title - * - * @param {Share} share current share - * @returns {string} the title - */ const shareWithTitle = function(share) { if (share.type === OC.Share.SHARE_TYPE_GROUP) { return t( diff --git a/apps/files_sharing/tests/js/appSpec.js b/apps/files_sharing/tests/js/appSpec.js index f2871f4ab21..4cbad394bed 100644 --- a/apps/files_sharing/tests/js/appSpec.js +++ b/apps/files_sharing/tests/js/appSpec.js @@ -1,23 +1,26 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2014 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author Jan-Christoph Borchardt + * @author Morris Jobke + * @author Vincent Petry + * + * @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 . + * + */ describe('OCA.Sharing.App tests', function() { var App = OCA.Sharing.App; diff --git a/apps/files_sharing/tests/js/fileDropSpec.js b/apps/files_sharing/tests/js/fileDropSpec.js index 22bb95878b4..fb1d6de8021 100644 --- a/apps/files_sharing/tests/js/fileDropSpec.js +++ b/apps/files_sharing/tests/js/fileDropSpec.js @@ -1,7 +1,8 @@ /** - * * @copyright Copyright (c) 2017, Artur Neumann (info@individual-it.net) * + * @author Artur Neumann + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -15,7 +16,7 @@ * 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 . + * along with this program. If not, see . * */ diff --git a/apps/files_sharing/tests/js/publicAppSpec.js b/apps/files_sharing/tests/js/publicAppSpec.js index 52230b3e2fa..290c08e3be7 100644 --- a/apps/files_sharing/tests/js/publicAppSpec.js +++ b/apps/files_sharing/tests/js/publicAppSpec.js @@ -1,23 +1,27 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2015 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author Christoph Wurst + * @author Jan-Christoph Borchardt + * @author Roeland Jago Douma + * @author Vincent Petry + * + * @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 . + * + */ describe('OCA.Sharing.PublicApp tests', function() { var App = OCA.Sharing.PublicApp; diff --git a/apps/files_sharing/tests/js/shareSpec.js b/apps/files_sharing/tests/js/shareSpec.js index 061c789c141..3e8c686b2e6 100644 --- a/apps/files_sharing/tests/js/shareSpec.js +++ b/apps/files_sharing/tests/js/shareSpec.js @@ -1,10 +1,28 @@ /** * Copyright (c) 2014 Vincent Petry * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Arthur Schiwon + * @author Daniel Calviño Sánchez + * @author Jan-Christoph Borchardt + * @author John Molakvoæ + * @author Morris Jobke + * @author Roeland Jago Douma + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/files_sharing/webpack.js b/apps/files_sharing/webpack.js index ed1d28fe4da..4fa87f35b81 100644 --- a/apps/files_sharing/webpack.js +++ b/apps/files_sharing/webpack.js @@ -1,3 +1,27 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author John Molakvoæ + * @author Julius Härtl + * @author Roeland Jago Douma + * + * @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 . + * + */ + const path = require('path') module.exports = { diff --git a/apps/files_trashbin/src/app.js b/apps/files_trashbin/src/app.js index 38bd6b4c672..f12e21142bd 100644 --- a/apps/files_trashbin/src/app.js +++ b/apps/files_trashbin/src/app.js @@ -1,16 +1,32 @@ /** * Copyright (c) 2014 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Abijeet + * @author Christoph Wurst + * @author Daniel Calviño Sánchez + * @author Joas Schilling + * @author John Molakvoæ + * @author Robin Appelman + * @author Roeland Jago Douma + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ -/** - * @namespace OCA.Trashbin - */ OCA.Trashbin = {} /** * @namespace OCA.Trashbin.App diff --git a/apps/files_trashbin/src/filelist.js b/apps/files_trashbin/src/filelist.js index 4e7f0817802..9bc8b459038 100644 --- a/apps/files_trashbin/src/filelist.js +++ b/apps/files_trashbin/src/filelist.js @@ -1,13 +1,31 @@ -/* eslint-disable */ -/* +/** * Copyright (c) 2014 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Azul + * @author Gary Kim + * @author Jan C. Borchardt + * @author John Molakvoæ + * @author Robin Appelman + * @author Vincent Petry + * + * @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. * - * See the COPYING-README file. + * 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 . * */ + +/* eslint-disable */ (function() { var DELETED_REGEXP = new RegExp(/^(.+)\.d[0-9]+$/) var FILENAME_PROP = '{http://nextcloud.org/ns}trashbin-filename' diff --git a/apps/files_trashbin/src/files_trashbin.js b/apps/files_trashbin/src/files_trashbin.js index 59f93e8ee26..ea9c5cd2a7b 100644 --- a/apps/files_trashbin/src/files_trashbin.js +++ b/apps/files_trashbin/src/files_trashbin.js @@ -1,3 +1,25 @@ +/** + * @copyright Copyright (c) 2016 Roeland Jago Douma + * + * @author Roeland Jago Douma + * + * @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 . + * + */ + import './app' import './filelist' import './trash.scss' diff --git a/apps/files_trashbin/tests/js/appSpec.js b/apps/files_trashbin/tests/js/appSpec.js index ca7d71831f8..50d63883f24 100644 --- a/apps/files_trashbin/tests/js/appSpec.js +++ b/apps/files_trashbin/tests/js/appSpec.js @@ -1,23 +1,24 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2014 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author Vincent Petry + * + * @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 . + * + */ describe('OCA.Trashbin.App tests', function() { var App = OCA.Trashbin.App; diff --git a/apps/files_trashbin/tests/js/filelistSpec.js b/apps/files_trashbin/tests/js/filelistSpec.js index a655acb208c..840b4ce658c 100644 --- a/apps/files_trashbin/tests/js/filelistSpec.js +++ b/apps/files_trashbin/tests/js/filelistSpec.js @@ -1,21 +1,28 @@ /** - * ownCloud - * - * @author Vincent Petry * @copyright 2014 Vincent Petry * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE - * License as published by the Free Software Foundation; either - * version 3 of the License, or any later version. + * @author Abijeet + * @author Christoph Wurst + * @author Jan C. Borchardt + * @author Jan-Christoph Borchardt + * @author John Molakvoæ + * @author Robin Appelman + * @author Vincent Petry + * + * @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 library is distributed in the hope that it will be useful, + * 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. + * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public - * License along with this library. If not, see . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ diff --git a/apps/files_trashbin/webpack.js b/apps/files_trashbin/webpack.js index efe4330ef04..005b9fe1ab1 100644 --- a/apps/files_trashbin/webpack.js +++ b/apps/files_trashbin/webpack.js @@ -1,3 +1,27 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author John Molakvoæ + * @author Julius Härtl + * @author Roeland Jago Douma + * + * @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 . + * + */ + const path = require('path') module.exports = { diff --git a/apps/files_versions/src/files_versions.js b/apps/files_versions/src/files_versions.js index dfbb9ca0bf8..04436174446 100644 --- a/apps/files_versions/src/files_versions.js +++ b/apps/files_versions/src/files_versions.js @@ -1,3 +1,25 @@ +/** + * @copyright Copyright (c) 2016 Roeland Jago Douma + * + * @author Roeland Jago Douma + * + * @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 . + * + */ + import './versionmodel' import './versioncollection' import './versionstabview' diff --git a/apps/files_versions/src/filesplugin.js b/apps/files_versions/src/filesplugin.js index 4c4659bb0a7..69ebcc58c47 100644 --- a/apps/files_versions/src/filesplugin.js +++ b/apps/files_versions/src/filesplugin.js @@ -1,10 +1,23 @@ -/* +/** * Copyright (c) 2015 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author John Molakvoæ + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/files_versions/src/versioncollection.js b/apps/files_versions/src/versioncollection.js index 6a3fc3d3ba6..a5339fc6459 100644 --- a/apps/files_versions/src/versioncollection.js +++ b/apps/files_versions/src/versioncollection.js @@ -1,10 +1,24 @@ -/* +/** * Copyright (c) 2015 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author John Molakvoæ + * @author Robin Appelman + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/files_versions/src/versionmodel.js b/apps/files_versions/src/versionmodel.js index 98a1cb5320f..ca1c4716b05 100644 --- a/apps/files_versions/src/versionmodel.js +++ b/apps/files_versions/src/versionmodel.js @@ -1,10 +1,24 @@ -/* +/** * Copyright (c) 2015 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author John Molakvoæ + * @author Robin Appelman + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/files_versions/src/versionstabview.js b/apps/files_versions/src/versionstabview.js index 65e13513968..c0519aae36f 100644 --- a/apps/files_versions/src/versionstabview.js +++ b/apps/files_versions/src/versionstabview.js @@ -1,10 +1,28 @@ -/* +/** * Copyright (c) 2015 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Jan-Christoph Borchardt + * @author John Molakvoæ + * @author Julius Härtl + * @author Michael Jobst + * @author noveens + * @author Robin Appelman + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/files_versions/tests/js/versioncollectionSpec.js b/apps/files_versions/tests/js/versioncollectionSpec.js index 305685b71df..457de6c1aa4 100644 --- a/apps/files_versions/tests/js/versioncollectionSpec.js +++ b/apps/files_versions/tests/js/versioncollectionSpec.js @@ -1,12 +1,26 @@ -/* +/** * Copyright (c) 2015 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Robin Appelman + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ + describe('OCA.Versions.VersionCollection', function() { var VersionCollection = OCA.Versions.VersionCollection; var collection, fileInfoModel; diff --git a/apps/files_versions/tests/js/versionmodelSpec.js b/apps/files_versions/tests/js/versionmodelSpec.js index ae8801b1f5c..9b2d1298bca 100644 --- a/apps/files_versions/tests/js/versionmodelSpec.js +++ b/apps/files_versions/tests/js/versionmodelSpec.js @@ -1,12 +1,27 @@ -/* +/** * Copyright (c) 2015 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Daniel Calviño Sánchez + * @author Robin Appelman + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ + describe('OCA.Versions.VersionModel', function() { var VersionModel = OCA.Versions.VersionModel; var model; diff --git a/apps/files_versions/tests/js/versionstabviewSpec.js b/apps/files_versions/tests/js/versionstabviewSpec.js index 40fd8879645..7194cd428ee 100644 --- a/apps/files_versions/tests/js/versionstabviewSpec.js +++ b/apps/files_versions/tests/js/versionstabviewSpec.js @@ -1,12 +1,29 @@ -/* +/** * Copyright (c) 2015 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Michael Jobst + * @author Morris Jobke + * @author noveens + * @author Roeland Jago Douma + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ + describe('OCA.Versions.VersionsTabView', function() { var VersionCollection = OCA.Versions.VersionCollection; var VersionModel = OCA.Versions.VersionModel; diff --git a/apps/files_versions/webpack.js b/apps/files_versions/webpack.js index 89d545b7382..8aae648a500 100644 --- a/apps/files_versions/webpack.js +++ b/apps/files_versions/webpack.js @@ -1,3 +1,27 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author John Molakvoæ + * @author Julius Härtl + * @author Roeland Jago Douma + * + * @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 . + * + */ + const path = require('path') module.exports = { diff --git a/apps/oauth2/src/main.js b/apps/oauth2/src/main.js index 42fcb522eca..7067265cf22 100644 --- a/apps/oauth2/src/main.js +++ b/apps/oauth2/src/main.js @@ -1,6 +1,8 @@ /** * @copyright Copyright (c) 2018 Roeland Jago Douma * + * @author Christoph Wurst + * @author John Molakvoæ * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version diff --git a/apps/oauth2/webpack.js b/apps/oauth2/webpack.js index f8f65bc94d7..33a8776cab2 100644 --- a/apps/oauth2/webpack.js +++ b/apps/oauth2/webpack.js @@ -1,3 +1,27 @@ +/** + * @copyright Copyright (c) 2016 Roeland Jago Douma + * + * @author John Molakvoæ + * @author Julius Härtl + * @author Roeland Jago Douma + * + * @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 . + * + */ + const path = require('path') module.exports = { diff --git a/apps/settings/src/logger.js b/apps/settings/src/logger.js index 275771ce4c5..533c579585a 100644 --- a/apps/settings/src/logger.js +++ b/apps/settings/src/logger.js @@ -1,7 +1,7 @@ -/* +/** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,7 +16,8 @@ * 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 . + * along with this program. If not, see . + * */ import { getLoggerBuilder } from '@nextcloud/logger' diff --git a/apps/settings/src/main-admin-security.js b/apps/settings/src/main-admin-security.js index 5be21450fd2..a831cf6f52c 100644 --- a/apps/settings/src/main-admin-security.js +++ b/apps/settings/src/main-admin-security.js @@ -1,3 +1,27 @@ +/** + * @copyright Copyright (c) 2016 Christoph Wurst + * + * @author Christoph Wurst + * @author John Molakvoæ + * @author Roeland Jago Douma + * + * @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 . + * + */ + import { loadState } from '@nextcloud/initial-state' import Vue from 'vue' diff --git a/apps/settings/src/main-apps-users-management.js b/apps/settings/src/main-apps-users-management.js index 52f48691427..f50e98785d7 100644 --- a/apps/settings/src/main-apps-users-management.js +++ b/apps/settings/src/main-apps-users-management.js @@ -2,6 +2,8 @@ * @copyright Copyright (c) 2018 John Molakvoæ * * @author John Molakvoæ + * @author rakekniven + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * diff --git a/apps/settings/src/main-nextcloud-pdf.js b/apps/settings/src/main-nextcloud-pdf.js index d9e32a32b6e..f9f5a62d363 100644 --- a/apps/settings/src/main-nextcloud-pdf.js +++ b/apps/settings/src/main-nextcloud-pdf.js @@ -1,7 +1,7 @@ /** * @copyright Copyright (c) 2020 John Molakvoæ * - * @author John Molakvoæ + * @author Jan C. Borchardt * * @license GNU AGPL version 3 or any later version * @@ -19,6 +19,7 @@ * along with this program. If not, see . * */ + import { loadState } from '@nextcloud/initial-state' const hasPdf = loadState('settings', 'has-reasons-use-nextcloud-pdf') === true diff --git a/apps/settings/src/main-personal-security.js b/apps/settings/src/main-personal-security.js index 958c9da5e39..cd7475858cb 100644 --- a/apps/settings/src/main-personal-security.js +++ b/apps/settings/src/main-personal-security.js @@ -1,7 +1,8 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import { loadState } from '@nextcloud/initial-state' diff --git a/apps/settings/src/main-personal-webauth.js b/apps/settings/src/main-personal-webauth.js index e6e302df5f8..81d153092c5 100644 --- a/apps/settings/src/main-personal-webauth.js +++ b/apps/settings/src/main-personal-webauth.js @@ -16,7 +16,8 @@ * 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 . + * along with this program. If not, see . + * */ import Vue from 'vue' diff --git a/apps/settings/src/mixins/AppManagement.js b/apps/settings/src/mixins/AppManagement.js index 0bdb238601d..04ff38efad2 100644 --- a/apps/settings/src/mixins/AppManagement.js +++ b/apps/settings/src/mixins/AppManagement.js @@ -1,7 +1,6 @@ /** * @copyright Copyright (c) 2019 Julius Härtl * - * @author Julius Härtl * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version diff --git a/apps/settings/src/mixins/UserRowMixin.js b/apps/settings/src/mixins/UserRowMixin.js index 4107b247b14..1c33f3d33cb 100644 --- a/apps/settings/src/mixins/UserRowMixin.js +++ b/apps/settings/src/mixins/UserRowMixin.js @@ -1,7 +1,9 @@ /** * @copyright Copyright (c) 2019 John Molakvoæ * + * @author Greta Doci * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * diff --git a/apps/settings/src/router.js b/apps/settings/src/router.js index 3e689711b71..4b477d37b5d 100644 --- a/apps/settings/src/router.js +++ b/apps/settings/src/router.js @@ -3,6 +3,7 @@ * * @author John Molakvoæ * @author Julius Härtl + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * diff --git a/apps/settings/src/service/WebAuthnRegistrationSerice.js b/apps/settings/src/service/WebAuthnRegistrationSerice.js index 4c82c5b9fa7..98af818217b 100644 --- a/apps/settings/src/service/WebAuthnRegistrationSerice.js +++ b/apps/settings/src/service/WebAuthnRegistrationSerice.js @@ -16,7 +16,8 @@ * 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 . + * along with this program. If not, see . + * */ import axios from '@nextcloud/axios' diff --git a/apps/settings/src/store/admin-security.js b/apps/settings/src/store/admin-security.js index c71f40a1e85..b2806096989 100644 --- a/apps/settings/src/store/admin-security.js +++ b/apps/settings/src/store/admin-security.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Roeland Jago Douma * - * @author 2019 Roeland Jago Douma + * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import Vue from 'vue' diff --git a/apps/settings/src/store/api.js b/apps/settings/src/store/api.js index 9a03fe68ef9..4eae9f5c95d 100644 --- a/apps/settings/src/store/api.js +++ b/apps/settings/src/store/api.js @@ -1,7 +1,11 @@ /** * @copyright Copyright (c) 2018 John Molakvoæ * + * @author Christoph Wurst * @author John Molakvoæ + * @author Julius Härtl + * @author Roeland Jago Douma + * @author Sujith Haridasan * * @license GNU AGPL version 3 or any later version * diff --git a/apps/settings/src/store/apps.js b/apps/settings/src/store/apps.js index db174df2526..20af95a0235 100644 --- a/apps/settings/src/store/apps.js +++ b/apps/settings/src/store/apps.js @@ -1,7 +1,9 @@ -/* +/** * @copyright Copyright (c) 2018 Julius Härtl * + * @author John Molakvoæ * @author Julius Härtl + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * diff --git a/apps/settings/src/store/oc.js b/apps/settings/src/store/oc.js index 9e7a4e6655b..153c16570cd 100644 --- a/apps/settings/src/store/oc.js +++ b/apps/settings/src/store/oc.js @@ -2,6 +2,7 @@ * @copyright Copyright (c) 2018 John Molakvoæ * * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * diff --git a/apps/settings/src/store/users.js b/apps/settings/src/store/users.js index 7877c3f3a52..e07fccd9d5b 100644 --- a/apps/settings/src/store/users.js +++ b/apps/settings/src/store/users.js @@ -1,7 +1,13 @@ /** * @copyright Copyright (c) 2018 John Molakvoæ * + * @author Arthur Schiwon + * @author Christoph Wurst + * @author Daniel Calviño Sánchez * @author John Molakvoæ + * @author Julius Härtl + * @author Roeland Jago Douma + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * diff --git a/apps/settings/webpack.js b/apps/settings/webpack.js index 6ae417df149..756a748ae1b 100644 --- a/apps/settings/webpack.js +++ b/apps/settings/webpack.js @@ -1,3 +1,28 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author Christoph Wurst + * @author Jan C. Borchardt + * @author John Molakvoæ + * @author Roeland Jago Douma + * + * @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 . + * + */ + const path = require('path') module.exports = { diff --git a/apps/systemtags/src/app.js b/apps/systemtags/src/app.js index 683d957b938..2cfba2a4ce7 100644 --- a/apps/systemtags/src/app.js +++ b/apps/systemtags/src/app.js @@ -1,10 +1,25 @@ -/* +/** * Copyright (c) 2015 Vincent Petry * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Christoph Wurst + * @author Daniel Calviño Sánchez + * @author John Molakvoæ + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/systemtags/src/filesplugin.js b/apps/systemtags/src/filesplugin.js index ac6fe4174b6..39e20cefa13 100644 --- a/apps/systemtags/src/filesplugin.js +++ b/apps/systemtags/src/filesplugin.js @@ -1,10 +1,24 @@ -/* +/** * Copyright (c) 2015 Vincent Petry * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Joas Schilling + * @author John Molakvoæ + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/systemtags/src/systemtags.js b/apps/systemtags/src/systemtags.js index 308c1e7b44a..c19f3884c72 100644 --- a/apps/systemtags/src/systemtags.js +++ b/apps/systemtags/src/systemtags.js @@ -1,3 +1,26 @@ +/** + * @copyright Copyright (c) 2016 Roeland Jago Douma + * + * @author John Molakvoæ + * @author Roeland Jago Douma + * + * @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 . + * + */ + import './app' import './systemtagsfilelist' import './filesplugin' diff --git a/apps/systemtags/src/systemtagsfilelist.js b/apps/systemtags/src/systemtagsfilelist.js index bb4c9480b05..9b02af10909 100644 --- a/apps/systemtags/src/systemtagsfilelist.js +++ b/apps/systemtags/src/systemtagsfilelist.js @@ -1,12 +1,27 @@ -/* +/** * Copyright (c) 2016 Vincent Petry * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Joas Schilling + * @author John Molakvoæ + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ + (function() { /** * @class OCA.SystemTags.FileList diff --git a/apps/systemtags/src/systemtagsinfoview.js b/apps/systemtags/src/systemtagsinfoview.js index 33c4717cee8..7753b4d5340 100644 --- a/apps/systemtags/src/systemtagsinfoview.js +++ b/apps/systemtags/src/systemtagsinfoview.js @@ -1,10 +1,26 @@ -/* +/** * Copyright (c) 2015 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Daniel Calviño Sánchez + * @author Joas Schilling + * @author John Molakvoæ + * @author Julius Härtl + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/systemtags/tests/js/systemtagsfilelistSpec.js b/apps/systemtags/tests/js/systemtagsfilelistSpec.js index 341ddb60365..e09aa745f1a 100644 --- a/apps/systemtags/tests/js/systemtagsfilelistSpec.js +++ b/apps/systemtags/tests/js/systemtagsfilelistSpec.js @@ -1,10 +1,23 @@ -/* +/** * Copyright (c) 2016 Vincent Petry * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Christoph Wurst + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/apps/systemtags/tests/js/systemtagsinfoviewSpec.js b/apps/systemtags/tests/js/systemtagsinfoviewSpec.js index 0fb0cf4edf2..bbda8ced30e 100644 --- a/apps/systemtags/tests/js/systemtagsinfoviewSpec.js +++ b/apps/systemtags/tests/js/systemtagsinfoviewSpec.js @@ -1,23 +1,26 @@ /** -* ownCloud -* -* @author Vincent Petry * @copyright 2016 Vincent Petry -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library 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 library. If not, see . -* -*/ + * + * @author Daniel Calviño Sánchez + * @author John Molakvoæ + * @author Vincent Petry + * + * @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 . + * + */ describe('OCA.SystemTags.SystemTagsInfoView tests', function() { var isAdminStub; diff --git a/apps/systemtags/webpack.js b/apps/systemtags/webpack.js index 3d568bf7d8c..9ee4c336c28 100644 --- a/apps/systemtags/webpack.js +++ b/apps/systemtags/webpack.js @@ -1,3 +1,27 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author John Molakvoæ + * @author Julius Härtl + * @author Roeland Jago Douma + * + * @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 . + * + */ + const path = require('path') module.exports = { diff --git a/apps/twofactor_backupcodes/src/service/BackupCodesService.js b/apps/twofactor_backupcodes/src/service/BackupCodesService.js index 6d49892df5b..856c4ace0b8 100644 --- a/apps/twofactor_backupcodes/src/service/BackupCodesService.js +++ b/apps/twofactor_backupcodes/src/service/BackupCodesService.js @@ -1,3 +1,27 @@ +/** + * @copyright Copyright (c) 2016 Christoph Wurst + * + * @author Christoph Wurst + * @author John Molakvoæ + * @author Roeland Jago Douma + * + * @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 . + * + */ + import Axios from '@nextcloud/axios' import { generateUrl } from '@nextcloud/router' diff --git a/apps/twofactor_backupcodes/src/service/PrintService.js b/apps/twofactor_backupcodes/src/service/PrintService.js index f0036201a45..2e73e62f525 100644 --- a/apps/twofactor_backupcodes/src/service/PrintService.js +++ b/apps/twofactor_backupcodes/src/service/PrintService.js @@ -1,3 +1,26 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author Christoph Wurst + * @author John Molakvoæ + * + * @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 . + * + */ + export function print(data) { const name = OC.theme.name || 'Nextcloud' const newTab = window.open('', t('twofactor_backupcodes', '{name} backup codes', { name })) diff --git a/apps/twofactor_backupcodes/src/settings.js b/apps/twofactor_backupcodes/src/settings.js index 12f118ae007..7645313c053 100644 --- a/apps/twofactor_backupcodes/src/settings.js +++ b/apps/twofactor_backupcodes/src/settings.js @@ -1,3 +1,27 @@ +/** + * @copyright Copyright (c) 2016 Christoph Wurst + * + * @author Christoph Wurst + * @author John Molakvoæ + * @author Roeland Jago Douma + * + * @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 . + * + */ + import { loadState } from '@nextcloud/initial-state' import Vue from 'vue' diff --git a/apps/twofactor_backupcodes/src/store.js b/apps/twofactor_backupcodes/src/store.js index 99c327ec362..762d6050e8f 100644 --- a/apps/twofactor_backupcodes/src/store.js +++ b/apps/twofactor_backupcodes/src/store.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Roeland Jago Douma * - * @author 2019 Roeland Jago Douma + * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -11,12 +12,13 @@ * 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 + * 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 . + * along with this program. If not, see . + * */ import Vue from 'vue' diff --git a/apps/twofactor_backupcodes/webpack.js b/apps/twofactor_backupcodes/webpack.js index 47e5bbe7fa0..231f25928ef 100644 --- a/apps/twofactor_backupcodes/webpack.js +++ b/apps/twofactor_backupcodes/webpack.js @@ -1,3 +1,28 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author Christoph Wurst + * @author John Molakvoæ + * @author Julius Härtl + * @author Roeland Jago Douma + * + * @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 . + * + */ + const path = require('path') module.exports = { diff --git a/apps/updatenotification/src/init.js b/apps/updatenotification/src/init.js index 794c4ff77a3..f914f9343e1 100644 --- a/apps/updatenotification/src/init.js +++ b/apps/updatenotification/src/init.js @@ -1,6 +1,9 @@ /** * @copyright Copyright (c) 2018 Joas Schilling * + * @author Joas Schilling + * @author John Molakvoæ + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -14,7 +17,7 @@ * 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 . + * along with this program. If not, see . * */ diff --git a/apps/updatenotification/webpack.js b/apps/updatenotification/webpack.js index 2c38d6f616c..f11bf541a7b 100644 --- a/apps/updatenotification/webpack.js +++ b/apps/updatenotification/webpack.js @@ -1,3 +1,26 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author John Molakvoæ + * @author Julius Härtl + * + * @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 . + * + */ + const path = require('path') module.exports = { 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, 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 + * + * @author Georg Ehrke + * @author John Molakvoæ + * + * @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 . + * + */ + const path = require('path') module.exports = { diff --git a/apps/weather_status/src/services/weatherStatusService.js b/apps/weather_status/src/services/weatherStatusService.js index 32a81bd6108..e6c5e6a2c35 100644 --- a/apps/weather_status/src/services/weatherStatusService.js +++ b/apps/weather_status/src/services/weatherStatusService.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/weather_status/src/weather-status.js b/apps/weather_status/src/weather-status.js index 0e7c5690b90..0816f62e8dc 100644 --- a/apps/weather_status/src/weather-status.js +++ b/apps/weather_status/src/weather-status.js @@ -1,3 +1,25 @@ +/** + * @copyright Copyright (c) 2016 Julien Veyssier + * + * @author Julien Veyssier + * + * @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 . + * + */ + import Vue from 'vue' import { getRequestToken } from '@nextcloud/auth' import { generateUrl } from '@nextcloud/router' diff --git a/apps/weather_status/webpack.js b/apps/weather_status/webpack.js index 30c833bca7c..9e6812e0ddd 100644 --- a/apps/weather_status/webpack.js +++ b/apps/weather_status/webpack.js @@ -1,3 +1,26 @@ +/** + * @copyright Copyright (c) 2016 Julien Veyssier + * + * @author John Molakvoæ + * @author Julien Veyssier + * + * @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 . + * + */ + const path = require('path') module.exports = { diff --git a/apps/workflowengine/src/components/Checks/MultiselectTag/api.js b/apps/workflowengine/src/components/Checks/MultiselectTag/api.js index d5295a5b6da..d3af76db329 100644 --- a/apps/workflowengine/src/components/Checks/MultiselectTag/api.js +++ b/apps/workflowengine/src/components/Checks/MultiselectTag/api.js @@ -1,7 +1,10 @@ /** * @copyright Copyright (c) 2019 Julius Härtl * + * @author Christoph Wurst + * @author John Molakvoæ * @author Julius Härtl + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -12,7 +15,7 @@ * * 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 + * 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 diff --git a/apps/workflowengine/src/components/Checks/MultiselectTag/index.js b/apps/workflowengine/src/components/Checks/MultiselectTag/index.js index 99628cf145a..6420b49859e 100644 --- a/apps/workflowengine/src/components/Checks/MultiselectTag/index.js +++ b/apps/workflowengine/src/components/Checks/MultiselectTag/index.js @@ -1,6 +1,7 @@ /** * @copyright Copyright (c) 2019 Julius Härtl * + * @author John Molakvoæ * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -12,7 +13,7 @@ * * 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 + * 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 diff --git a/apps/workflowengine/src/components/Checks/file.js b/apps/workflowengine/src/components/Checks/file.js index 26c246be591..84c7ab29738 100644 --- a/apps/workflowengine/src/components/Checks/file.js +++ b/apps/workflowengine/src/components/Checks/file.js @@ -1,6 +1,7 @@ /** * @copyright Copyright (c) 2019 Julius Härtl * + * @author Arthur Schiwon * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -12,7 +13,7 @@ * * 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 + * 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 diff --git a/apps/workflowengine/src/components/Checks/index.js b/apps/workflowengine/src/components/Checks/index.js index 4f68f5e074c..6130f9af806 100644 --- a/apps/workflowengine/src/components/Checks/index.js +++ b/apps/workflowengine/src/components/Checks/index.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/workflowengine/src/components/Checks/request.js b/apps/workflowengine/src/components/Checks/request.js index 22710315c2e..392407be41a 100644 --- a/apps/workflowengine/src/components/Checks/request.js +++ b/apps/workflowengine/src/components/Checks/request.js @@ -12,7 +12,7 @@ * * 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 + * 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 diff --git a/apps/workflowengine/src/helpers/api.js b/apps/workflowengine/src/helpers/api.js index 59e0248ed60..878ae03acdd 100644 --- a/apps/workflowengine/src/helpers/api.js +++ b/apps/workflowengine/src/helpers/api.js @@ -1,7 +1,9 @@ /** * @copyright Copyright (c) 2019 Julius Härtl * + * @author Christoph Wurst * @author Julius Härtl + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -12,7 +14,7 @@ * * 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 + * 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 diff --git a/apps/workflowengine/src/helpers/validators.js b/apps/workflowengine/src/helpers/validators.js index d64adfa1385..9c6450731d3 100644 --- a/apps/workflowengine/src/helpers/validators.js +++ b/apps/workflowengine/src/helpers/validators.js @@ -12,13 +12,14 @@ * * 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 + * 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 . * */ + const regexRegex = /^\/(.*)\/([gui]{0,3})$/ const regexIPv4 = /^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/(3[0-2]|[1-2][0-9]|[1-9])$/ const regexIPv6 = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(1([01][0-9]|2[0-8])|[1-9][0-9]|[0-9])$/ diff --git a/apps/workflowengine/src/mixins/valueMixin.js b/apps/workflowengine/src/mixins/valueMixin.js index fd630c0ff76..0e9690ecad2 100644 --- a/apps/workflowengine/src/mixins/valueMixin.js +++ b/apps/workflowengine/src/mixins/valueMixin.js @@ -1,6 +1,7 @@ /** * @copyright Copyright (c) 2019 Julius Härtl * + * @author John Molakvoæ * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -12,7 +13,7 @@ * * 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 + * 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 diff --git a/apps/workflowengine/src/store.js b/apps/workflowengine/src/store.js index b6fb252cbed..9cb314707c8 100644 --- a/apps/workflowengine/src/store.js +++ b/apps/workflowengine/src/store.js @@ -1,7 +1,11 @@ /** * @copyright Copyright (c) 2019 Julius Härtl * + * @author Christoph Wurst + * @author Daniel Kesselberg + * @author John Molakvoæ * @author Julius Härtl + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -12,7 +16,7 @@ * * 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 + * 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 diff --git a/apps/workflowengine/src/workflowengine.js b/apps/workflowengine/src/workflowengine.js index 61ceb91a4f2..00ca352d9af 100644 --- a/apps/workflowengine/src/workflowengine.js +++ b/apps/workflowengine/src/workflowengine.js @@ -1,6 +1,7 @@ /** * @copyright Copyright (c) 2019 Julius Härtl * + * @author John Molakvoæ * @author Julius Härtl * * @license GNU AGPL version 3 or any later version @@ -12,7 +13,7 @@ * * 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 + * 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 diff --git a/apps/workflowengine/webpack.js b/apps/workflowengine/webpack.js index c1437a3f89b..4dcc0bb6adb 100644 --- a/apps/workflowengine/webpack.js +++ b/apps/workflowengine/webpack.js @@ -1,3 +1,26 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author Arthur Schiwon + * @author John Molakvoæ + * + * @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 . + * + */ + const path = require('path') module.exports = { diff --git a/core/src/OC/admin.js b/core/src/OC/admin.js index 008016645d9..bb947573490 100644 --- a/core/src/OC/admin.js +++ b/core/src/OC/admin.js @@ -1,7 +1,8 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ const isAdmin = !!window._oc_isadmin diff --git a/core/src/OC/appconfig.js b/core/src/OC/appconfig.js index 37fc3ca420d..cf70d7b1262 100644 --- a/core/src/OC/appconfig.js +++ b/core/src/OC/appconfig.js @@ -1,7 +1,13 @@ -/* eslint-disable */ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Christoph Wurst + * @author Joas Schilling + * @author John Molakvoæ + * @author Jörn Friedrich Dreyer + * @author Robin Appelman + * @author Vincent Petry + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -15,10 +21,11 @@ * 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 . + * along with this program. If not, see . * */ +/* eslint-disable */ import { getValue, setValue, getApps, getKeys, deleteKey } from '../OCP/appconfig' export const appConfig = window.oc_appconfig || {} diff --git a/core/src/OC/apps.js b/core/src/OC/apps.js index c7b2c4f5e17..d504a99eaac 100644 --- a/core/src/OC/apps.js +++ b/core/src/OC/apps.js @@ -1,11 +1,24 @@ /** - * ownCloud - core + * @copyright Bernhard Posselt 2014 * - * This file is licensed under the Affero General Public License version 3 or - * later. See the COPYING file. + * @author Christoph Wurst + * @author John Molakvoæ + * + * @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 . * - * @author Bernhard Posselt - * @copyright Bernhard Posselt 2014 */ import $ from 'jquery' diff --git a/core/src/OC/appsettings.js b/core/src/OC/appsettings.js index 7665d93fb7c..8d200960660 100644 --- a/core/src/OC/appsettings.js +++ b/core/src/OC/appsettings.js @@ -1,8 +1,8 @@ -/* eslint-disable */ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,8 +17,11 @@ * 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 . + * along with this program. If not, see . + * */ + +/* eslint-disable */ import $ from 'jquery' import { filePath } from './routing' diff --git a/core/src/OC/appswebroots.js b/core/src/OC/appswebroots.js index f4a82384fe6..9a7a24c2aa3 100644 --- a/core/src/OC/appswebroots.js +++ b/core/src/OC/appswebroots.js @@ -1,7 +1,7 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,7 +16,8 @@ * 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 . + * along with this program. If not, see . + * */ const appswebroots = (window._oc_appswebroots !== undefined) ? window._oc_appswebroots : false diff --git a/core/src/OC/backbone-webdav.js b/core/src/OC/backbone-webdav.js index 4175b386b21..d7d5c5bf434 100644 --- a/core/src/OC/backbone-webdav.js +++ b/core/src/OC/backbone-webdav.js @@ -1,59 +1,28 @@ -/* eslint-disable */ -/* - * Copyright (c) 2015 - * - * This file is licensed under the Affero General Public License version 3 - * or later. - * - * See the COPYING-README file. - * - */ - /** - * Webdav transport for Backbone. - * - * This makes it possible to use Webdav endpoints when - * working with Backbone models and collections. - * - * Requires the davclient.js library. - * - * Usage example: + * Copyright (c) 2015 * - * var PersonModel = OC.Backbone.Model.extend({ - * // make it use the DAV transport - * sync: OC.Backbone.davSync, + * @author Christoph Wurst + * @author John Molakvoæ + * @author Julius Härtl * - * // DAV properties mapping - * davProperties: { - * 'id': '{http://example.com/ns}id', - * 'firstName': '{http://example.com/ns}first-name', - * 'lastName': '{http://example.com/ns}last-name', - * 'age': '{http://example.com/ns}age' - * }, + * @license GNU AGPL version 3 or any later version * - * // additional parsing, if needed - * parse: function(props) { - * // additional parsing (DAV property values are always strings) - * props.age = parseInt(props.age, 10); - * return props; - * } - * }); + * 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. * - * var PersonCollection = OC.Backbone.Collection.extend({ - * // make it use the DAV transport - * sync: OC.Backbone.davSync, + * 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. * - * // use person model - * // note that davProperties will be inherited - * model: PersonModel, + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * - * // DAV collection URL - * url: function() { - * return OC.linkToRemote('dav') + '/person/'; - * }, - * }); */ +/* eslint-disable */ import _ from 'underscore' import { dav } from 'davclient.js' diff --git a/core/src/OC/backbone.js b/core/src/OC/backbone.js index 86e98ec1b41..23dca847a44 100644 --- a/core/src/OC/backbone.js +++ b/core/src/OC/backbone.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import VendorBackbone from 'backbone' diff --git a/core/src/OC/capabilities.js b/core/src/OC/capabilities.js index 6e51abce60e..50b919d0ea3 100644 --- a/core/src/OC/capabilities.js +++ b/core/src/OC/capabilities.js @@ -1,7 +1,9 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,7 +18,8 @@ * 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 . + * along with this program. If not, see . + * */ import { getCapabilities as realGetCapabilities } from '@nextcloud/capabilities' diff --git a/core/src/OC/config.js b/core/src/OC/config.js index d1a3211cf62..46188e5dea3 100644 --- a/core/src/OC/config.js +++ b/core/src/OC/config.js @@ -1,7 +1,7 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,7 +16,8 @@ * 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 . + * along with this program. If not, see . + * */ const config = window._oc_config || {} diff --git a/core/src/OC/constants.js b/core/src/OC/constants.js index 972848997ae..300380ce90f 100644 --- a/core/src/OC/constants.js +++ b/core/src/OC/constants.js @@ -1,22 +1,24 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * - * This program is free software = you can redistribute it and/or modify + * 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. + * 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 + * 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 . + * along with this program. If not, see . + * */ export const coreApps = ['', 'admin', 'log', 'core/search', 'core', '3rdparty'] diff --git a/core/src/OC/contactsmenu.js b/core/src/OC/contactsmenu.js index e986c46ec20..a4dc3022c3f 100644 --- a/core/src/OC/contactsmenu.js +++ b/core/src/OC/contactsmenu.js @@ -1,9 +1,9 @@ -/* eslint-disable */ - /** * @copyright 2017 Christoph Wurst * - * @author 2017 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -18,10 +18,11 @@ * 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 . + * along with this program. If not, see . * */ +/* eslint-disable */ import $ from 'jquery' import { Collection, Model, View } from 'backbone' diff --git a/core/src/OC/currentuser.js b/core/src/OC/currentuser.js index 061abba89d6..b6dc900b6f3 100644 --- a/core/src/OC/currentuser.js +++ b/core/src/OC/currentuser.js @@ -1,7 +1,8 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author Joas Schilling * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ const rawUid = document diff --git a/core/src/OC/debug.js b/core/src/OC/debug.js index 15a66c44aed..ec52e470ef4 100644 --- a/core/src/OC/debug.js +++ b/core/src/OC/debug.js @@ -1,7 +1,7 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,7 +16,8 @@ * 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 . + * along with this program. If not, see . + * */ const base = window._oc_debug diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js index 38b7b42751b..1e39a52c2f8 100644 --- a/core/src/OC/dialogs.js +++ b/core/src/OC/dialogs.js @@ -1,10 +1,30 @@ -/* eslint-disable */ -/* +/** * @copyright 2019 Christoph Wurst * @copyright Copyright (c) 2019 Gary Kim * - * @author 2019 Christoph Wurst + * @author Bartek Przybylski + * @author Christopher Schäpers + * @author Christoph Wurst + * @author Daniel Calviño Sánchez + * @author Daniel Kesselberg + * @author Florian Schunk * @author Gary Kim + * @author Hendrik Leppelsack + * @author Jan-Christoph Borchardt + * @author Joas Schilling + * @author John Molakvoæ + * @author Jörn Friedrich Dreyer + * @author Julius Härtl + * @author Loïc Hermann + * @author Morris Jobke + * @author Olivier Paroz + * @author Robin Appelman + * @author Roeland Jago Douma + * @author Sujith Haridasan + * @author Thomas Citharel + * @author Thomas Müller + * @author Thomas Tanghus + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -19,9 +39,11 @@ * 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 . + * along with this program. If not, see . + * */ +/* eslint-disable */ import _ from 'underscore' import $ from 'jquery' diff --git a/core/src/OC/eventsource.js b/core/src/OC/eventsource.js index cc576d8655a..b4b719d0dd4 100644 --- a/core/src/OC/eventsource.js +++ b/core/src/OC/eventsource.js @@ -1,36 +1,32 @@ -/* eslint-disable */ /** - * ownCloud - * - * @author Robin Appelman * @copyright 2012 Robin Appelman icewind1991@gmail.com * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE - * License as published by the Free Software Foundation; either - * version 3 of the License, or any later version. + * @author Arthur Schiwon + * @author Christoph Wurst + * @author John Molakvoæ + * @author Lukas Reschke + * @author Robin Appelman + * @author Thomas Müller + * @author Vincent Petry + * + * @license GNU AGPL version 3 or any later version * - * This library is distributed in the hope that it will be useful, + * 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 library. If not, see . + * GNU Affero General Public License for more details. * - */ - -/** - * Wrapper for server side events - * (http://en.wikipedia.org/wiki/Server-sent_events) - * includes a fallback for older browsers and IE + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * - * use server side events with caution, too many open requests can hang the - * server */ -/* global EventSource */ - +/* eslint-disable */ import $ from 'jquery' import { getToken } from './requesttoken' diff --git a/core/src/OC/get_set.js b/core/src/OC/get_set.js index b4dcd563eff..e5d5bd5c5fd 100644 --- a/core/src/OC/get_set.js +++ b/core/src/OC/get_set.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,15 +17,10 @@ * 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 . + * along with this program. If not, see . + * */ -/** - * Get a variable by name - * @param {string} context context - * @returns {Function} getter - * @deprecated 19.0.0 use https://lodash.com/docs#get - */ export const get = context => name => { const namespaces = name.split('.') const tail = namespaces.pop() diff --git a/core/src/OC/host.js b/core/src/OC/host.js index f90ca65b4da..44623b27399 100644 --- a/core/src/OC/host.js +++ b/core/src/OC/host.js @@ -1,7 +1,8 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,10 @@ * 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 . + * along with this program. If not, see . + * */ -/** - * Protocol that is used to access this Nextcloud instance - * @returns {string} Used protocol - * @deprecated 17.0.0 use window.location.protocol directly - */ export const getProtocol = () => window.location.protocol.split(':')[0] /** diff --git a/core/src/OC/index.js b/core/src/OC/index.js index 036e640be39..c7d2ba2c33d 100644 --- a/core/src/OC/index.js +++ b/core/src/OC/index.js @@ -1,7 +1,9 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,7 +18,8 @@ * 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 . + * along with this program. If not, see . + * */ import { subscribe } from '@nextcloud/event-bus' diff --git a/core/src/OC/l10n-registry.js b/core/src/OC/l10n-registry.js index dc353902337..5ed463275a9 100644 --- a/core/src/OC/l10n-registry.js +++ b/core/src/OC/l10n-registry.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ // This var is global because it's shared across webpack bundles diff --git a/core/src/OC/l10n.js b/core/src/OC/l10n.js index 2eeb342aa13..0704269ce4b 100644 --- a/core/src/OC/l10n.js +++ b/core/src/OC/l10n.js @@ -1,10 +1,30 @@ /** * Copyright (c) 2014 Vincent Petry + * Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * + * @author Christoph Wurst + * @author Daniel Kesselberg + * @author Joas Schilling + * @author John Molakvoæ + * @author Morris Jobke + * @author Roeland Jago Douma + * @author Vincent Petry + * + * @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 file is licensed under the Affero General Public License version 3 - * or later. + * 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. * - * See the COPYING-README file. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ diff --git a/core/src/OC/legacy-loader.js b/core/src/OC/legacy-loader.js index 273ba3e359f..3fedc07a081 100644 --- a/core/src/OC/legacy-loader.js +++ b/core/src/OC/legacy-loader.js @@ -1,7 +1,9 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -11,12 +13,13 @@ * 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 + * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/OC/menu.js b/core/src/OC/menu.js index 82cde9e862d..26d139b5f08 100644 --- a/core/src/OC/menu.js +++ b/core/src/OC/menu.js @@ -1,7 +1,9 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author Daniel Calviño Sánchez + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +18,8 @@ * 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 . + * along with this program. If not, see . + * */ import _ from 'underscore' diff --git a/core/src/OC/msg.js b/core/src/OC/msg.js index 9be2b7fd322..bb28d873c98 100644 --- a/core/src/OC/msg.js +++ b/core/src/OC/msg.js @@ -1,7 +1,9 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author rakekniven * * @license GNU AGPL version 3 or any later version * @@ -16,7 +18,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/OC/navigation.js b/core/src/OC/navigation.js index f9e6789950a..a4ccb9ced51 100644 --- a/core/src/OC/navigation.js +++ b/core/src/OC/navigation.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,10 @@ * 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 . + * along with this program. If not, see . + * */ -/** - * Redirect to the target URL, can also be used for downloads. - * @param {string} targetURL URL to redirect to - * @deprecated 17.0.0 use window.location directly - */ export const redirect = targetURL => { window.location = targetURL } /** diff --git a/core/src/OC/notification.js b/core/src/OC/notification.js index 8b7e43373a6..a0b289b6a87 100644 --- a/core/src/OC/notification.js +++ b/core/src/OC/notification.js @@ -1,7 +1,12 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author Daniel Calviño Sánchez + * @author Joas Schilling + * @author John Molakvoæ + * @author Julius Härtl + * @author npmbuildbot[bot] "npmbuildbot[bot]@users.noreply.github.com" * * @license GNU AGPL version 3 or any later version * @@ -16,7 +21,8 @@ * 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 . + * along with this program. If not, see . + * */ import _ from 'underscore' diff --git a/core/src/OC/password-confirmation.js b/core/src/OC/password-confirmation.js index 77977f1efbd..ec70720b4d2 100644 --- a/core/src/OC/password-confirmation.js +++ b/core/src/OC/password-confirmation.js @@ -1,7 +1,9 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,7 +18,8 @@ * 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 . + * along with this program. If not, see . + * */ import _ from 'underscore' diff --git a/core/src/OC/plugins.js b/core/src/OC/plugins.js index 27c5e6acb2c..dab74db11e9 100644 --- a/core/src/OC/plugins.js +++ b/core/src/OC/plugins.js @@ -1,7 +1,8 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,12 +17,10 @@ * 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 . + * along with this program. If not, see . + * */ -/** - * @namespace OC.Plugins - */ export default { /** diff --git a/core/src/OC/query-string.js b/core/src/OC/query-string.js index 33a51505ae8..3b71ebb5a8d 100644 --- a/core/src/OC/query-string.js +++ b/core/src/OC/query-string.js @@ -1,7 +1,9 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,7 +18,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/OC/requesttoken.js b/core/src/OC/requesttoken.js index 6c011879b8b..06ccdffd00d 100644 --- a/core/src/OC/requesttoken.js +++ b/core/src/OC/requesttoken.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import { emit } from '@nextcloud/event-bus' diff --git a/core/src/OC/routing.js b/core/src/OC/routing.js index 7895b958c81..0531a6776a4 100644 --- a/core/src/OC/routing.js +++ b/core/src/OC/routing.js @@ -1,7 +1,9 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,7 +18,8 @@ * 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 . + * along with this program. If not, see . + * */ import { diff --git a/core/src/OC/theme.js b/core/src/OC/theme.js index 8e49499f485..1af0f721475 100644 --- a/core/src/OC/theme.js +++ b/core/src/OC/theme.js @@ -1,7 +1,7 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,7 +16,8 @@ * 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 . + * along with this program. If not, see . + * */ export const theme = window._theme || {} diff --git a/core/src/OC/util-history.js b/core/src/OC/util-history.js index 54019b804c2..de40a9c4eed 100644 --- a/core/src/OC/util-history.js +++ b/core/src/OC/util-history.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import _ from 'underscore' diff --git a/core/src/OC/util.js b/core/src/OC/util.js index 611c42d317f..7f348704831 100644 --- a/core/src/OC/util.js +++ b/core/src/OC/util.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/OC/webroot.js b/core/src/OC/webroot.js index 89c04a6bb07..41752bc0c78 100644 --- a/core/src/OC/webroot.js +++ b/core/src/OC/webroot.js @@ -1,7 +1,7 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,7 +16,8 @@ * 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 . + * along with this program. If not, see . + * */ let webroot = window._oc_webroot diff --git a/core/src/OC/xhr-error.js b/core/src/OC/xhr-error.js index 8d2ad115336..660651dd0d9 100644 --- a/core/src/OC/xhr-error.js +++ b/core/src/OC/xhr-error.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import _ from 'underscore' diff --git a/core/src/OCA/index.js b/core/src/OCA/index.js index 8cf5e6efeb4..2f92eff367b 100644 --- a/core/src/OCA/index.js +++ b/core/src/OCA/index.js @@ -1,7 +1,7 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,7 +16,8 @@ * 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 . + * along with this program. If not, see . + * */ import Search from './search' diff --git a/core/src/OCA/search.js b/core/src/OCA/search.js index f3eba1247f9..909ec28480f 100644 --- a/core/src/OCA/search.js +++ b/core/src/OCA/search.js @@ -1,7 +1,7 @@ -/* +/** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,12 +16,10 @@ * 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 . + * along with this program. If not, see . + * */ -/** - * @deprecated 20.0.0, will be removed in Nextcloud 22 - */ export default class Search { /** diff --git a/core/src/OCP/appconfig.js b/core/src/OCP/appconfig.js index 78ee1643878..6e18f591894 100644 --- a/core/src/OCP/appconfig.js +++ b/core/src/OCP/appconfig.js @@ -1,6 +1,9 @@ /** * @copyright Copyright (c) 2016 Joas Schilling * + * @author Christoph Wurst + * @author John Molakvoæ + * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify @@ -14,7 +17,7 @@ * 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 . + * along with this program. If not, see . * */ diff --git a/core/src/OCP/collaboration.js b/core/src/OCP/collaboration.js index 73573b3f1f7..06ff7b6b570 100644 --- a/core/src/OCP/collaboration.js +++ b/core/src/OCP/collaboration.js @@ -1,6 +1,7 @@ /** * @copyright Copyright (c) 2018 Julius Härtl * + * @author John Molakvoæ * @author Julius Härtl * * @license GNU AGPL version 3 or any later version diff --git a/core/src/OCP/comments.js b/core/src/OCP/comments.js index 2e12accddce..5d346a80ba0 100644 --- a/core/src/OCP/comments.js +++ b/core/src/OCP/comments.js @@ -1,10 +1,24 @@ /** * @copyright (c) 2017 Arthur Schiwon * - * @author Arthur Schiwon + * @author Christoph Wurst + * @author John Molakvoæ + * + * @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 . * - * This file is licensed under the Affero General Public License version 3 or - * later. See the COPYING file. */ import $ from 'jquery' diff --git a/core/src/OCP/index.js b/core/src/OCP/index.js index 4f2c47f1fa4..cb524a2be70 100644 --- a/core/src/OCP/index.js +++ b/core/src/OCP/index.js @@ -1,9 +1,35 @@ +/** + * @copyright Copyright (c) 2016 Christoph Wurst + * + * @author Christoph Wurst + * @author John Molakvoæ + * @author Julius Härtl + * + * @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 . + * + */ + +import { loadState } from '@nextcloud/initial-state' + import * as AppConfig from './appconfig' import * as Comments from './comments' -import Loader from './loader' -import { loadState } from '@nextcloud/initial-state' -import Collaboration from './collaboration' import * as WhatsNew from './whatsnew' + +import Collaboration from './collaboration' +import Loader from './loader' import Toast from './toast' /** @namespace OCP */ diff --git a/core/src/OCP/loader.js b/core/src/OCP/loader.js index 26beaffca33..9a41fa7910f 100644 --- a/core/src/OCP/loader.js +++ b/core/src/OCP/loader.js @@ -1,6 +1,8 @@ /** * @copyright Copyright (c) 2018 Julius Härtl * + * @author Christoph Wurst + * @author John Molakvoæ * @author Julius Härtl * * @license GNU AGPL version 3 or any later version diff --git a/core/src/OCP/toast.js b/core/src/OCP/toast.js index e5331377dc9..9fde3884987 100644 --- a/core/src/OCP/toast.js +++ b/core/src/OCP/toast.js @@ -1,6 +1,7 @@ -/* +/** * @copyright Copyright (c) 2019 Julius Härtl * + * @author Christoph Wurst * @author Julius Härtl * * @license GNU AGPL version 3 or any later version diff --git a/core/src/OCP/whatsnew.js b/core/src/OCP/whatsnew.js index 17c9eeabce2..afcffb7c34f 100644 --- a/core/src/OCP/whatsnew.js +++ b/core/src/OCP/whatsnew.js @@ -1,10 +1,24 @@ /** * @copyright (c) 2017 Arthur Schiwon * - * @author Arthur Schiwon + * @author Christoph Wurst + * @author John Molakvoæ + * + * @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 . * - * This file is licensed under the Affero General Public License version 3 or - * later. See the COPYING file. */ import _ from 'underscore' diff --git a/core/src/Polyfill/closest.js b/core/src/Polyfill/closest.js index 6af05d526a7..059f981e973 100644 --- a/core/src/Polyfill/closest.js +++ b/core/src/Polyfill/closest.js @@ -1,3 +1,25 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author John Molakvoæ + * + * @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 . + * + */ + // https://developer.mozilla.org/en-US/docs/Web/API/Element/closest#Polyfill if (!Element.prototype.matches) { diff --git a/core/src/Polyfill/console.js b/core/src/Polyfill/console.js index 0d60fe6f20d..0659cd6dc42 100644 --- a/core/src/Polyfill/console.js +++ b/core/src/Polyfill/console.js @@ -1,8 +1,8 @@ -/* eslint-disable no-console */ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -17,9 +17,11 @@ * 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 . + * along with this program. If not, see . + * */ +/* eslint-disable no-console */ if (typeof console === 'undefined' || typeof console.log === 'undefined') { if (!window.console) { window.console = {} diff --git a/core/src/Polyfill/index.js b/core/src/Polyfill/index.js index 306c72a0777..57a1f516695 100644 --- a/core/src/Polyfill/index.js +++ b/core/src/Polyfill/index.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import './console' diff --git a/core/src/Polyfill/tooltip.js b/core/src/Polyfill/tooltip.js index 2dd7592edb4..1001d62bd8d 100644 --- a/core/src/Polyfill/tooltip.js +++ b/core/src/Polyfill/tooltip.js @@ -1,7 +1,9 @@ -/* +/** * @copyright 2019 Julius Härtl * - * @author 2019 Julius Härtl + * @author Christoph Wurst + * @author John Molakvoæ + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * @@ -16,7 +18,8 @@ * 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 . + * along with this program. If not, see . + * */ $.prototype.tooltip = (function(tooltip) { diff --git a/core/src/Polyfill/windows-phone.js b/core/src/Polyfill/windows-phone.js index 983e412e453..6bb01888c43 100644 --- a/core/src/Polyfill/windows-phone.js +++ b/core/src/Polyfill/windows-phone.js @@ -1,7 +1,8 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ // fix device width on windows phone diff --git a/core/src/Util/get-url-parameter.js b/core/src/Util/get-url-parameter.js index 6f809994f10..1bde89ed7b1 100644 --- a/core/src/Util/get-url-parameter.js +++ b/core/src/Util/get-url-parameter.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,15 +17,10 @@ * 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 . + * along with this program. If not, see . + * */ -/** - * Get the value of a URL parameter - * @link http://stackoverflow.com/questions/1403888/get-url-parameter-with-jquery - * @param {string} name URL parameter - * @returns {string} - */ export default function getURLParameter(name) { return decodeURIComponent( // eslint-disable-next-line no-sparse-arrays diff --git a/core/src/components/ContactsMenu.js b/core/src/components/ContactsMenu.js index 0791fe83b0c..a2e09341067 100644 --- a/core/src/components/ContactsMenu.js +++ b/core/src/components/ContactsMenu.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/components/MainMenu.js b/core/src/components/MainMenu.js index d57711010ea..74ca3de1c5e 100644 --- a/core/src/components/MainMenu.js +++ b/core/src/components/MainMenu.js @@ -1,7 +1,9 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * @@ -16,7 +18,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/components/UserMenu.js b/core/src/components/UserMenu.js index a9e7d8725bb..c4cb6527da3 100644 --- a/core/src/components/UserMenu.js +++ b/core/src/components/UserMenu.js @@ -1,7 +1,7 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,7 +16,8 @@ * 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 . + * along with this program. If not, see . + * */ import OC from '../OC' diff --git a/core/src/files/client.js b/core/src/files/client.js index 4e606f4f5ac..679457e38cf 100644 --- a/core/src/files/client.js +++ b/core/src/files/client.js @@ -1,14 +1,36 @@ -/* eslint-disable */ -/* +/** * Copyright (c) 2015 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Bjoern Schiessle + * @author John Molakvoæ + * @author Julius Härtl + * @author Lukas Reschke + * @author Michael Jobst + * @author Robin Appelman + * @author Roeland Jago Douma + * @author Thomas Citharel + * @author Tomasz Grobelny + * @author Vincent Petry + * @author Vinicius Cubas Brand + * + * @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. * - * See the COPYING-README file. + * 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 . * */ +/* eslint-disable */ import escapeHTML from 'escape-html' /* global dav */ diff --git a/core/src/files/fileinfo.js b/core/src/files/fileinfo.js index 19baad5a2d7..936c3c0331b 100644 --- a/core/src/files/fileinfo.js +++ b/core/src/files/fileinfo.js @@ -1,14 +1,29 @@ -/* eslint-disable */ -/* +/** * Copyright (c) 2015 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Julius Härtl + * @author Robin Appelman + * @author Roeland Jago Douma + * @author Vincent Petry + * + * @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. * - * See the COPYING-README file. + * 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 . * */ +/* eslint-disable */ (function(OC) { /** diff --git a/core/src/files/iedavclient.js b/core/src/files/iedavclient.js index 447d05c0497..470e34009ab 100644 --- a/core/src/files/iedavclient.js +++ b/core/src/files/iedavclient.js @@ -1,15 +1,26 @@ -/* eslint-disable */ -/* +/** * Copyright (c) 2015 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Roeland Jago Douma + * + * @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. * - * See the COPYING-README file. + * 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 . * */ -/* global dav */ +/* eslint-disable */ (function(dav) { /** diff --git a/core/src/globals.js b/core/src/globals.js index 8dbfc15de27..a52631232cc 100644 --- a/core/src/globals.js +++ b/core/src/globals.js @@ -1,8 +1,10 @@ -/* eslint-disable @nextcloud/no-deprecations */ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Julius Härtl + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -17,9 +19,11 @@ * 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 . + * along with this program. If not, see . + * */ +/* eslint-disable @nextcloud/no-deprecations */ import { initCore } from './init' import _ from 'underscore' diff --git a/core/src/init.js b/core/src/init.js index b6bb49346bd..f1c3eaa17c1 100644 --- a/core/src/init.js +++ b/core/src/init.js @@ -1,8 +1,11 @@ -/* globals Snap */ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author Jan-Christoph Borchardt + * @author John Molakvoæ + * @author nacho + * @author Vincent Petry * * @license GNU AGPL version 3 or any later version * @@ -17,9 +20,11 @@ * 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 . + * along with this program. If not, see . + * */ +/* globals Snap */ import _ from 'underscore' import $ from 'jquery' import moment from 'moment' diff --git a/core/src/install.js b/core/src/install.js index 10d22aaf634..a8d3ed7afc0 100644 --- a/core/src/install.js +++ b/core/src/install.js @@ -1,3 +1,27 @@ +/** + * @copyright Copyright (c) 2016 Julius Härtl + * + * @author John Molakvoæ + * @author Julius Härtl + * @author Richard Steinmetz + * + * @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 . + * + */ + import $ from 'jquery' import { translate as t } from '@nextcloud/l10n' import { getToken } from './OC/requesttoken' diff --git a/core/src/jquery/avatar.js b/core/src/jquery/avatar.js index 8c17e65e98c..3849af3b359 100644 --- a/core/src/jquery/avatar.js +++ b/core/src/jquery/avatar.js @@ -1,7 +1,8 @@ -/* +/** * @copyright 2018 Christoph Wurst * - * @author 2018 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/jquery/contactsmenu.js b/core/src/jquery/contactsmenu.js index 447f5adb62a..ed05d4602a7 100644 --- a/core/src/jquery/contactsmenu.js +++ b/core/src/jquery/contactsmenu.js @@ -1,7 +1,9 @@ -/* +/** * @copyright 2018 Christoph Wurst * - * @author 2018 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,7 +18,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/jquery/exists.js b/core/src/jquery/exists.js index 3481faeb6cd..22fed55badb 100644 --- a/core/src/jquery/exists.js +++ b/core/src/jquery/exists.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/jquery/filterattr.js b/core/src/jquery/filterattr.js index 204d04b46a0..2bd4af417ac 100644 --- a/core/src/jquery/filterattr.js +++ b/core/src/jquery/filterattr.js @@ -1,7 +1,8 @@ /** * @copyright 2018 Christoph Wurst * - * @author 2018 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/jquery/index.js b/core/src/jquery/index.js index aceee5cf87b..c8ab1a7f673 100644 --- a/core/src/jquery/index.js +++ b/core/src/jquery/index.js @@ -1,7 +1,9 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,7 +18,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/jquery/ocdialog.js b/core/src/jquery/ocdialog.js index e08db2530e3..14abd5aa666 100644 --- a/core/src/jquery/ocdialog.js +++ b/core/src/jquery/ocdialog.js @@ -1,7 +1,10 @@ -/* +/** * @copyright 2018 Christoph Wurst * - * @author 2018 Christoph Wurst + * @author Christoph Wurst + * @author Gary Kim + * @author Joas Schilling + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +19,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/jquery/octemplate.js b/core/src/jquery/octemplate.js index f89e13b000f..9e060881e21 100644 --- a/core/src/jquery/octemplate.js +++ b/core/src/jquery/octemplate.js @@ -1,3 +1,27 @@ +/** + * @copyright Copyright (c) 2016 Christoph Wurst + * + * @author Christoph Wurst + * @author John Molakvoæ + * @author Roeland Jago Douma + * + * @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 . + * + */ + import $ from 'jquery' import escapeHTML from 'escape-html' diff --git a/core/src/jquery/placeholder.js b/core/src/jquery/placeholder.js index 6c5f94313f6..001e71f102c 100644 --- a/core/src/jquery/placeholder.js +++ b/core/src/jquery/placeholder.js @@ -1,27 +1,30 @@ -/* eslint-disable */ /** - * ownCloud - * - * @author John Molakvoæ * @copyright 2016-2018 John Molakvoæ - * @author Morris Jobke * @copyright 2013 Morris Jobke * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE - * License as published by the Free Software Foundation; either - * version 3 of the License, or any later version. + * @author Christoph Wurst + * @author John Molakvoæ + * @author Julius Härtl + * @author Sergey Shliakhov + * + * @license GNU AGPL version 3 or any later version * - * This library is distributed in the hope that it will be useful, + * 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. + * GNU Affero General Public License for more details. * - * You should have received a copy of the GNU Affero General Public - * License along with this library. If not, see . + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * */ +/* eslint-disable */ import $ from 'jquery' import md5 from 'blueimp-md5' diff --git a/core/src/jquery/requesttoken.js b/core/src/jquery/requesttoken.js index 5f15d43aa17..65d4ac01a48 100644 --- a/core/src/jquery/requesttoken.js +++ b/core/src/jquery/requesttoken.js @@ -1,7 +1,8 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/jquery/selectrange.js b/core/src/jquery/selectrange.js index 3076726024a..914832d4538 100644 --- a/core/src/jquery/selectrange.js +++ b/core/src/jquery/selectrange.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/jquery/showpassword.js b/core/src/jquery/showpassword.js index ac0a9556ae8..3423ea5fc17 100644 --- a/core/src/jquery/showpassword.js +++ b/core/src/jquery/showpassword.js @@ -1,7 +1,8 @@ -/* +/** * @copyright 2018 Christoph Wurst * - * @author 2018 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/jquery/ui-fixes.js b/core/src/jquery/ui-fixes.js index d70c5579f94..39da7084e44 100644 --- a/core/src/jquery/ui-fixes.js +++ b/core/src/jquery/ui-fixes.js @@ -1,3 +1,26 @@ +/** + * @copyright Copyright (c) 2016 Christoph Wurst + * + * @author Christoph Wurst + * @author John Molakvoæ + * + * @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 . + * + */ + import $ from 'jquery' // Set autocomplete width the same as the related input diff --git a/core/src/logger.js b/core/src/logger.js index bd01f58a413..edf2e35e2b7 100644 --- a/core/src/logger.js +++ b/core/src/logger.js @@ -1,7 +1,7 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,7 +16,8 @@ * 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 . + * along with this program. If not, see . + * */ import { getCurrentUser } from '@nextcloud/auth' diff --git a/core/src/login.js b/core/src/login.js index b23da4bebd1..1b33c6dc5ae 100644 --- a/core/src/login.js +++ b/core/src/login.js @@ -1,7 +1,10 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Julius Härtl + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,7 +19,8 @@ * 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 . + * along with this program. If not, see . + * */ import { loadState } from '@nextcloud/initial-state' diff --git a/core/src/main.js b/core/src/main.js index 492ac37c4ac..25316952866 100644 --- a/core/src/main.js +++ b/core/src/main.js @@ -1,7 +1,10 @@ /** * @copyright 2018 Christoph Wurst * - * @author 2018 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Julius Härtl + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,7 +19,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/maintenance.js b/core/src/maintenance.js index 3abc20ea8fc..b49fcd8d83c 100644 --- a/core/src/maintenance.js +++ b/core/src/maintenance.js @@ -1,7 +1,9 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,7 +18,8 @@ * 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 . + * along with this program. If not, see . + * */ import Axios from '@nextcloud/axios' diff --git a/core/src/mixins/Nextcloud.js b/core/src/mixins/Nextcloud.js index 3ca755b3052..d1307f90e8e 100644 --- a/core/src/mixins/Nextcloud.js +++ b/core/src/mixins/Nextcloud.js @@ -1,7 +1,7 @@ -/* +/** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,7 +16,8 @@ * 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 . + * along with this program. If not, see . + * */ import L10n from '../OC/l10n' diff --git a/core/src/recommendedapps.js b/core/src/recommendedapps.js index ef9071eb42c..44c424989be 100644 --- a/core/src/recommendedapps.js +++ b/core/src/recommendedapps.js @@ -1,7 +1,7 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst * * @license GNU AGPL version 3 or any later version * @@ -16,7 +16,8 @@ * 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 . + * along with this program. If not, see . + * */ import { getRequestToken } from '@nextcloud/auth' diff --git a/core/src/services/UnifiedSearchService.js b/core/src/services/UnifiedSearchService.js index eb91f18f8c9..09d0d02fedf 100644 --- a/core/src/services/UnifiedSearchService.js +++ b/core/src/services/UnifiedSearchService.js @@ -1,6 +1,9 @@ /** * @copyright 2020, John Molakvoæ * + * @author Christoph Wurst + * @author Daniel Calviño Sánchez + * @author Joas Schilling * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version @@ -16,7 +19,8 @@ * 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 . + * along with this program. If not, see . + * */ import { generateOcsUrl } from '@nextcloud/router' diff --git a/core/src/services/WebAuthnAuthenticationService.js b/core/src/services/WebAuthnAuthenticationService.js index 91f19177066..db05e7ca3fe 100644 --- a/core/src/services/WebAuthnAuthenticationService.js +++ b/core/src/services/WebAuthnAuthenticationService.js @@ -16,7 +16,8 @@ * 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 . + * along with this program. If not, see . + * */ import Axios from '@nextcloud/axios' diff --git a/core/src/session-heartbeat.js b/core/src/session-heartbeat.js index 38db6b49a5c..828896f9fae 100644 --- a/core/src/session-heartbeat.js +++ b/core/src/session-heartbeat.js @@ -1,7 +1,10 @@ /** * @copyright 2019 Christoph Wurst * - * @author 2019 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ + * @author Julius Härtl + * @author Roeland Jago Douma * * @license GNU AGPL version 3 or any later version * @@ -16,7 +19,8 @@ * 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 . + * along with this program. If not, see . + * */ import $ from 'jquery' diff --git a/core/src/systemtags/merged-systemtags.js b/core/src/systemtags/merged-systemtags.js index 011544baa08..1dc8be0ae62 100644 --- a/core/src/systemtags/merged-systemtags.js +++ b/core/src/systemtags/merged-systemtags.js @@ -1,3 +1,25 @@ +/** + * @copyright Copyright (c) 2016 Roeland Jago Douma + * + * @author Roeland Jago Douma + * + * @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 . + * + */ + import './systemtags.js' import './systemtagmodel.js' import './systemtagsmappingcollection.js' diff --git a/core/src/systemtags/systemtagmodel.js b/core/src/systemtags/systemtagmodel.js index f0f564e012a..588d6a26fc2 100644 --- a/core/src/systemtags/systemtagmodel.js +++ b/core/src/systemtags/systemtagmodel.js @@ -1,10 +1,25 @@ -/* +/** * Copyright (c) 2015 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author John Molakvoæ + * @author Michael Jobst + * @author Roeland Jago Douma + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/core/src/systemtags/systemtags.js b/core/src/systemtags/systemtags.js index 676f1b8de73..6254941296c 100644 --- a/core/src/systemtags/systemtags.js +++ b/core/src/systemtags/systemtags.js @@ -1,14 +1,30 @@ -/* eslint-disable */ -/* +/** * Copyright (c) 2016 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Gary Kim + * @author Joas Schilling + * @author John Molakvoæ + * @author Roeland Jago Douma + * @author Vincent Petry + * + * @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. * - * See the COPYING-README file. + * 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 . * */ +/* eslint-disable */ import escapeHTML from 'escape-html' (function(OC) { diff --git a/core/src/systemtags/systemtagscollection.js b/core/src/systemtags/systemtagscollection.js index fe3f2868558..5e6c43314e1 100644 --- a/core/src/systemtags/systemtagscollection.js +++ b/core/src/systemtags/systemtagscollection.js @@ -1,14 +1,27 @@ -/* eslint-disable */ -/* +/** * Copyright (c) 2015 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author John Molakvoæ + * @author Vincent Petry + * + * @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. * - * See the COPYING-README file. + * 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 . * */ +/* eslint-disable */ (function(OC) { function filterFunction(model, term) { diff --git a/core/src/systemtags/systemtagsinputfield.js b/core/src/systemtags/systemtagsinputfield.js index d05ac5899fd..f0aac9381d6 100644 --- a/core/src/systemtags/systemtagsinputfield.js +++ b/core/src/systemtags/systemtagsinputfield.js @@ -1,14 +1,29 @@ -/* eslint-disable */ -/* +/** * Copyright (c) 2015 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Joas Schilling + * @author John Molakvoæ + * @author Roeland Jago Douma + * @author Vincent Petry + * + * @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. * - * See the COPYING-README file. + * 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 . * */ +/* eslint-disable */ import templateResult from './templates/result.handlebars' import templateResultForm from './templates/result_form.handlebars' import templateSelection from './templates/selection.handlebars' diff --git a/core/src/systemtags/systemtagsmappingcollection.js b/core/src/systemtags/systemtagsmappingcollection.js index 62c9fa69b88..6c6b6578608 100644 --- a/core/src/systemtags/systemtagsmappingcollection.js +++ b/core/src/systemtags/systemtagsmappingcollection.js @@ -1,10 +1,24 @@ -/* +/** * Copyright (c) 2015 * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author John Molakvoæ + * @author Roeland Jago Douma + * @author Vincent Petry * - * See the COPYING-README file. + * @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 . * */ diff --git a/core/src/tests/.eslintrc.js b/core/src/tests/.eslintrc.js index 451ef6bdfa2..449d15fec67 100644 --- a/core/src/tests/.eslintrc.js +++ b/core/src/tests/.eslintrc.js @@ -1,3 +1,25 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author John Molakvoæ + * + * @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 . + * + */ + module.exports = { globals: { jsdom: true, diff --git a/core/src/tests/OC/requesttoken.spec.js b/core/src/tests/OC/requesttoken.spec.js index 5506a4f72cc..7d17f2f630e 100644 --- a/core/src/tests/OC/requesttoken.spec.js +++ b/core/src/tests/OC/requesttoken.spec.js @@ -1,7 +1,8 @@ /** * @copyright 2020 Christoph Wurst * - * @author 2020 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ import { JSDOM } from 'jsdom' diff --git a/core/src/tests/setup.js b/core/src/tests/setup.js index 2e8ab27775d..0390a67599b 100644 --- a/core/src/tests/setup.js +++ b/core/src/tests/setup.js @@ -1,7 +1,8 @@ -/* +/** * @copyright 2018 Christoph Wurst * - * @author 2018 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ require('jsdom-global')() diff --git a/core/src/unified-search.js b/core/src/unified-search.js index 0d977383586..a799586017b 100644 --- a/core/src/unified-search.js +++ b/core/src/unified-search.js @@ -16,7 +16,8 @@ * 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 . + * along with this program. If not, see . + * */ import { generateFilePath } from '@nextcloud/router' diff --git a/core/webpack.js b/core/webpack.js index 3fc3290d470..9c501ede414 100644 --- a/core/webpack.js +++ b/core/webpack.js @@ -1,3 +1,28 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ + * + * @author Christoph Wurst + * @author John Molakvoæ + * @author Julius Härtl + * @author Roeland Jago Douma + * + * @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 . + * + */ + const path = require('path') const webpack = require('webpack') diff --git a/core/webpack.test.js b/core/webpack.test.js index 1fe0c2509db..c68624f5d40 100644 --- a/core/webpack.test.js +++ b/core/webpack.test.js @@ -1,7 +1,8 @@ /** * @copyright 2018 Christoph Wurst * - * @author 2018 Christoph Wurst + * @author Christoph Wurst + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * 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 . + * along with this program. If not, see . + * */ const { merge } = require('webpack-merge') -- cgit v1.2.3