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: [PATCH] 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 +- .../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 +++++++ .../dashboard/src/helpers/getBackgroundUrl.js | 6 +- .../src/helpers/prefixWithBaseUrl.js | 5 +- apps/dashboard/src/main.js | 22 ++++++ apps/dashboard/src/mixins/isMobile.js | 4 +- apps/dashboard/webpack.js | 23 +++++++ .../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 ++++++----- .../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 ++++++----- .../tests/js/mountsfilelistSpec.js | 22 ++++-- apps/files_external/tests/js/settingsSpec.js | 28 ++++++-- apps/files_sharing/src/additionalScripts.js | 24 +++++++ .../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 + .../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 +++++++ .../src/services/ConfigService.js | 4 +- .../src/services/ExternalLinkActions.js | 2 +- .../files_sharing/src/services/ShareSearch.js | 2 +- .../files_sharing/src/services/TabSections.js | 9 +-- apps/files_sharing/src/share.js | 34 +++++++-- apps/files_sharing/src/sharebreadcrumbview.js | 6 +- .../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 ++++-- .../tests/js/versionmodelSpec.js | 23 +++++-- .../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 +++++++ .../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 +++++-- .../tests/js/systemtagsfilelistSpec.js | 21 ++++-- .../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 + .../src/mixins/OnlineStatusMixin.js | 1 + .../src/services/clearAtOptionsService.js | 1 + .../src/services/clearAtService.js | 1 + apps/user_status/src/services/dateService.js | 5 -- .../src/services/heartbeatService.js | 1 + .../src/services/predefinedStatusService.js | 1 + .../src/services/statusOptionsService.js | 2 + .../user_status/src/services/statusService.js | 1 + apps/user_status/src/store/index.js | 1 + .../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 +++++++ .../components/Checks/MultiselectTag/api.js | 5 +- .../components/Checks/MultiselectTag/index.js | 3 +- .../src/components/Checks/file.js | 3 +- .../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 | 25 +++++-- core/src/OC/appsettings.js | 9 ++- core/src/OC/appswebroots.js | 7 +- core/src/OC/backbone-webdav.js | 69 +++++-------------- 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 +- .../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 +++++-- .../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, 2586 insertions(+), 839 deletions(-) diff --git a/apps/accessibility/src/accessibilityoca.js b/apps/accessibility/src/accessibilityoca.js index d4aa18e7c8..7536aed59f 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 63ff6fda6c..f88954f590 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 7fdf63b7fd..be18f940b7 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 c01cdb8146..d4590886b2 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 626d7703a3..8dbc3107eb 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 3d7f52f4e7..ad59811b4c 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 dc06cadcd8..b8a22612c6 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 7b6e7a9b0a..3405e11489 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 9eeea19876..bf0199fe75 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 9fc67b52c9..476380b34a 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 d9954a5603..dc2ee9a516 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 fd6624c7da..1995bccf98 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 4d2c4d2142..62fd54961d 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 5bf200d1c8..8f54e18d26 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 425e94a787..c678e42dae 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 b10b62e4f3..4bbdf25e1c 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 018c34c49e..9a8ec48ddb 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 e2d97da5f9..8057be264e 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 b9cba1ca21..9e7886931e 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 814b35f01b..a96aa40d5c 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 7afbf284b7..b6e765f514 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 93fb55e2d5..54c68bf71e 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 cc66af56a8..7a80b43715 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 f5ab624a9a..6305bc17d1 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 d8c0d36432..d6c68a2ff8 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 f5d50d8685..daaafbcd6c 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 45681f020d..b487e7caa9 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 da5d91537e..4a56e836ec 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 64c81ee501..3b57e330ad 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 670c72e3a3..93770ace0a 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 de97be2d9c..33284df503 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 7d8961b35a..99ead3cd27 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 fee699566b..1370d83fe6 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 c1a8992d66..53d1408bbb 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 9bf34680eb..274b2f49fd 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 ec219f2c91..155ac2b1f4 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 cd5732a477..b2a0bb2ebd 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 97d1c33356..7b78a85dc0 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 62e3ac2868..21f3502be0 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 5387edfaf2..8fa66a1342 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 0f483728bf..8b0ba591a7 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 b8218a05c7..ec163e0512 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 4687aadcdb..fdf7c653fd 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 64006d71e4..6ce0558d22 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 024993b310..80a5cf95d8 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 c2be301183..a689ca887d 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 04a71c1ce8..5c75bfb43b 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 bd4bae6510..441cbfb301 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 e3f24d9ad4..f11ad27ed5 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 0201429a47..758191a83a 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 af998c1491..65b002a544 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 66bf3d5a69..f5c7c418da 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 e83f14ad4e..d3a047f5a5 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 fa969f289f..0f69db9e5c 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 6bed62ed5c..309c87948c 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 e004871650..b68a3228ba 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 dae47b3db1..6f07f7170c 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 b724c6f93a..61f6361a6d 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 ceb9234cd2..91558add38 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 645fd9ace8..1967006dd4 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 c6ed380a6c..2c12703ab8 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 3c0d0e65c8..dda9cefbd5 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 e6867514c2..394567b829 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 6e9524ce95..5d3a5a7daa 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 4349e10d64..6952d68a32 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 63653d4b6e..085eab056d 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 04a68f58ec..fb36e022c0 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 940435fc7f..84ee5ee0a6 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 74d9f85f0e..1a4b0c20b9 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 f037e8fb70..be0bd8c9ff 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 0750cc707e..fd32291a4e 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 abcb444cb4..385d42eaae 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 * - * 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 . * */ +/* 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 3e5fac2b3a..3c0ed0a36e 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 6e1a79f3f5..49a58596f7 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 6a404416f3..400bb8010f 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 f2871f4ab2..4cbad394be 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 22bb95878b..fb1d6de802 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 52230b3e2f..290c08e3be 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 061c789c14..3e8c686b2e 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 ed1d28fe4d..4fa87f35b8 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 38bd6b4c67..f12e21142b 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 4e7f081780..9bc8b45903 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 * - * 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 . * */ + +/* 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 59f93e8ee2..ea9c5cd2a7 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 ca7d71831f..50d63883f2 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 a655acb208..840b4ce658 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 * - * This library is distributed in the hope that it will be useful, + * @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. + * 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 efe4330ef0..005b9fe1ab 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 dfbb9ca0bf..0443617444 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 4c4659bb0a..69ebcc58c4 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 6a3fc3d3ba..a5339fc645 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 98a1cb5320..ca1c4716b0 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 65e1351396..c0519aae36 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 305685b71d..457de6c1aa 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 ae8801b1f5..9b2d1298bc 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 40fd887964..7194cd428e 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 89d545b738..8aae648a50 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 42fcb522ec..7067265cf2 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 f8f65bc94d..33a8776cab 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 275771ce4c..533c579585 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 5be21450fd..a831cf6f52 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 52f4869142..f50e98785d 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 d9e32a32b6..f9f5a62d36 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 958c9da5e3..cd7475858c 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 e6e302df5f..81d153092c 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 0bdb238601..04ff38efad 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 4107b247b1..1c33f3d33c 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 3e689711b7..4b477d37b5 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 4c82c5b9fa..98af818217 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 c71f40a1e8..b280609698 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 9a03fe68ef..4eae9f5c95 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 db174df252..20af95a023 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 9e7a4e6655..153c16570c 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 7877c3f3a5..e07fccd9d5 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 6ae417df14..756a748ae1 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 683d957b93..2cfba2a4ce 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 ac6fe4174b..39e20cefa1 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 308c1e7b44..c19f3884c7 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 bb4c9480b0..9b02af1090 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 33c4717cee..7753b4d534 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 341ddb6036..e09aa745f1 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 0fb0cf4edf..bbda8ced30 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 3d568bf7d8..9ee4c336c2 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 6d49892df5..856c4ace0b 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 f0036201a4..2e73e62f52 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 12f118ae00..7645313c05 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 99c327ec36..762d6050e8 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 47e5bbe7fa..231f25928e 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 794c4ff77a..f914f9343e 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 2c38d6f616..f11bf541a7 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 22579baa82..c7140c0097 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 12fda36e85..f2b525a9b4 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 ceba40f05e..06a3d058a9 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 83289f9059..926f21d8b6 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 12328d3b39..bc01ff6c0c 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 641244dada..a2dc219df9 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 ca3a7de6d0..ec3a0e76cc 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 116fccb0c5..97cc9663e6 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 266f33230c..15da11fd5d 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 206ff4ee64..3983e41297 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 d810cae544..6bca839b41 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 f7174bf8bf..219fccd9b8 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 69ec6d8fed..cde1b5a6f6 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 178bd28e7a..587e824458 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 32a81bd610..e6c5e6a2c3 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 0e7c5690b9..0816f62e8d 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 30c833bca7..9e6812e0dd 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 d5295a5b6d..d3af76db32 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 99628cf145..6420b49859 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 26c246be59..84c7ab2973 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 4f68f5e074..6130f9af80 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 22710315c2..392407be41 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 59e0248ed6..878ae03acd 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 d64adfa138..9c6450731d 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 fd630c0ff7..0e9690ecad 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 b6fb252cbe..9cb314707c 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 61ceb91a4f..00ca352d9a 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 c1437a3f89..4dcc0bb6ad 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 008016645d..bb94757349 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 37fc3ca420..cf70d7b126 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 c7b2c4f5e1..d504a99eaa 100644 --- a/core/src/OC/apps.js +++ b/core/src/OC/apps.js @@ -1,11 +1,24 @@ /** - * ownCloud - core - * - * This file is licensed under the Affero General Public License version 3 or - * later. See the COPYING file. - * - * @author Bernhard Posselt * @copyright Bernhard Posselt 2014 + * + * @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' diff --git a/core/src/OC/appsettings.js b/core/src/OC/appsettings.js index 7665d93fb7..8d20096066 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 f4a82384fe..9a7a24c2aa 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 4175b386b2..d7d5c5bf43 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. + * @author Christoph Wurst + * @author John Molakvoæ + * @author Julius Härtl * - * 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 . * */ -/** - * 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: - * - * var PersonModel = OC.Backbone.Model.extend({ - * // make it use the DAV transport - * sync: OC.Backbone.davSync, - * - * // 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' - * }, - * - * // additional parsing, if needed - * parse: function(props) { - * // additional parsing (DAV property values are always strings) - * props.age = parseInt(props.age, 10); - * return props; - * } - * }); - * - * var PersonCollection = OC.Backbone.Collection.extend({ - * // make it use the DAV transport - * sync: OC.Backbone.davSync, - * - * // use person model - * // note that davProperties will be inherited - * model: PersonModel, - * - * // 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 86e98ec1b4..23dca847a4 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 6e51abce60..50b919d0ea 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 d1a3211cf6..46188e5dea 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 972848997a..300380ce90 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 e986c46ec2..a4dc3022c3 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 061abba89d..b6dc900b6f 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 15a66c44ae..ec52e470ef 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 38b7b42751..1e39a52c2f 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 cc576d8655..b4b719d0dd 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 * - * This library is distributed in the hope that it will be useful, + * @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. + * 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 . * */ -/** - * Wrapper for server side events - * (http://en.wikipedia.org/wiki/Server-sent_events) - * includes a fallback for older browsers and IE - * - * 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 b4dcd563ef..e5d5bd5c5f 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 f90ca65b4d..44623b2739 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 036e640be3..c7d2ba2c33 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 dc35390233..5ed463275a 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 2eeb342aa1..0704269ce4 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) * - * This file is licensed under the Affero General Public License version 3 - * or later. + * @author Christoph Wurst + * @author Daniel Kesselberg + * @author Joas Schilling + * @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/core/src/OC/legacy-loader.js b/core/src/OC/legacy-loader.js index 273ba3e359..3fedc07a08 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 82cde9e862..26d139b5f0 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 9be2b7fd32..bb28d873c9 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 f9e6789950..a4ccb9ced5 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 8b7e43373a..a0b289b6a8 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 77977f1efb..ec70720b4d 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 27c5e6acb2..dab74db11e 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 33a51505ae..3b71ebb5a8 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 6c011879b8..06ccdffd00 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 7895b958c8..0531a6776a 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 8e49499f48..1af0f72147 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 54019b804c..de40a9c4ee 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 611c42d317..7f34870483 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 89c04a6bb0..41752bc0c7 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 8d2ad11533..660651dd0d 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 8cf5e6efeb..2f92eff367 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 f3eba1247f..909ec28480 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 78ee164387..6e18f59189 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 73573b3f1f..06ff7b6b57 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 2e12accddc..5d346a80ba 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 4f2c47f1fa..cb524a2be7 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 26beaffca3..9a41fa7910 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 e5331377dc..9fde388498 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 17c9eeabce..afcffb7c34 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 6af05d526a..059f981e97 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 0d60fe6f20..0659cd6dc4 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 306c72a077..57a1f51669 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 2dd7592edb..1001d62bd8 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 983e412e45..6bb01888c4 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 6f809994f1..1bde89ed7b 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 0791fe83b0..a2e0934106 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 d57711010e..74ca3de1c5 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 a9e7d8725b..c4cb6527da 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 4e606f4f5a..679457e38c 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 * - * 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 . * */ +/* eslint-disable */ import escapeHTML from 'escape-html' /* global dav */ diff --git a/core/src/files/fileinfo.js b/core/src/files/fileinfo.js index 19baad5a2d..936c3c0331 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 * - * 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 . * */ +/* eslint-disable */ (function(OC) { /** diff --git a/core/src/files/iedavclient.js b/core/src/files/iedavclient.js index 447d05c049..470e34009a 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 * - * 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 dav */ +/* eslint-disable */ (function(dav) { /** diff --git a/core/src/globals.js b/core/src/globals.js index 8dbfc15de2..a52631232c 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 b6bb49346b..f1c3eaa17c 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 10d22aaf63..a8d3ed7afc 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 8c17e65e98..3849af3b35 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 447f5adb62..ed05d4602a 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 3481faeb6c..22fed55bad 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 204d04b46a..2bd4af417a 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 aceee5cf87..c8ab1a7f67 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 e08db2530e..14abd5aa66 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 f89e13b000..9e060881e2 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 6c5f94313f..001e71f102 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 * - * This library is distributed in the hope that it will be useful, + * @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. + * 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 5f15d43aa1..65d4ac01a4 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 3076726024..914832d453 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 ac0a9556ae..3423ea5fc1 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 d70c5579f9..39da7084e4 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 bd01f58a41..edf2e35e2b 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 b23da4bebd..1b33c6dc5a 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 492ac37c4a..2531695286 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 3abc20ea8f..b49fcd8d83 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 3ca755b305..d1307f90e8 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 ef9071eb42..44c424989b 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 eb91f18f8c..09d0d02fed 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 91f1917706..db05e7ca3f 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 38db6b49a5..828896f9fa 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 011544baa0..1dc8be0ae6 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 f0f564e012..588d6a26fc 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 676f1b8de7..6254941296 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 * - * 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 . * */ +/* eslint-disable */ import escapeHTML from 'escape-html' (function(OC) { diff --git a/core/src/systemtags/systemtagscollection.js b/core/src/systemtags/systemtagscollection.js index fe3f286855..5e6c43314e 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 * - * 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 . * */ +/* eslint-disable */ (function(OC) { function filterFunction(model, term) { diff --git a/core/src/systemtags/systemtagsinputfield.js b/core/src/systemtags/systemtagsinputfield.js index d05ac5899f..f0aac9381d 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 * - * 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 . * */ +/* 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 62c9fa69b8..6c6b657860 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 451ef6bdfa..449d15fec6 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 5506a4f72c..7d17f2f630 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 2e8ab27775..0390a67599 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 0d97738358..a799586017 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 3fc3290d47..9c501ede41 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 1fe0c2509d..c68624f5d4 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')