From 1f7e2ba599b147fcb587644cd6dc84807a9abad9 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Fri, 10 May 2024 15:09:14 +0200 Subject: [PATCH] chore: Add SPDX header Signed-off-by: Andy Scherzinger --- .drone.yml | 7 ++- .eslintignore | 2 + .eslintrc.js | 4 ++ .github/CONTRIBUTING.md | 4 ++ .github/FUNDING.yml | 2 + .github/ISSUE_TEMPLATE/BUG_REPORT.yml | 2 + .../ISSUE_TEMPLATE/Feature_request.md.license | 2 + .github/ISSUE_TEMPLATE/config.yml | 2 + .github/config.yml | 2 + .github/dependabot.yml | 2 + .github/pull_request_template.md.license | 2 + .gitignore | 4 ++ .php-cs-fixer.dist.php | 5 +- .pre-commit-config.yaml | 2 + .reuse/dep5 | 48 ++++++++++++++++++ .scrutinizer.yml | 3 ++ AUTHORS | 10 +++- LICENSES/LicenseRef-AppleAppStoreBadge.txt | 46 +++++++++++++++++ LICENSES/LicenseRef-FacebookTrademarks.txt | 17 +++++++ LICENSES/LicenseRef-GooglePlayBadge.txt | 23 +++++++++ LICENSES/LicenseRef-MastodonTrademarks.txt | 46 +++++++++++++++++ LICENSES/LicenseRef-NextcloudTrademarks.txt | 9 ++++ LICENSES/LicenseRef-XTrademarks.txt | 49 +++++++++++++++++++ __mocks__/@nextcloud/auth.ts | 21 +------- __mocks__/@nextcloud/axios.ts | 21 +------- __mocks__/@nextcloud/dialogs.ts | 21 +------- __mocks__/@nextcloud/initial-state.ts | 21 +------- __mocks__/css.js | 21 +------- __mocks__/svg.js | 21 +------- __mocks__/webdav.ts | 21 +------- build/files-checker.php | 19 +------ build/gen-coverage-badge.php | 20 ++------ build/htaccess-checker.php | 21 +------- .../features/bootstrap/AppConfiguration.php | 27 ++-------- build/integration/features/bootstrap/Auth.php | 27 ++-------- .../integration/features/bootstrap/Avatar.php | 21 +------- .../features/bootstrap/BasicStructure.php | 33 ++----------- .../features/bootstrap/CalDavContext.php | 27 ++-------- .../bootstrap/CapabilitiesContext.php | 28 ++--------- .../features/bootstrap/CardDavContext.php | 25 ++-------- .../features/bootstrap/ChecksumsContext.php | 26 ++-------- .../bootstrap/CollaborationContext.php | 21 +------- .../features/bootstrap/CommandLine.php | 25 ++-------- .../features/bootstrap/CommandLineContext.php | 26 ++-------- .../features/bootstrap/CommentsContext.php | 26 ++-------- .../features/bootstrap/ContactsMenu.php | 21 +------- .../features/bootstrap/Download.php | 22 +-------- .../features/bootstrap/FakeSMTPHelper.php | 22 +-------- .../features/bootstrap/FeatureContext.php | 25 ++-------- .../features/bootstrap/FederationContext.php | 28 ++--------- .../features/bootstrap/FilesDropContext.php | 24 +-------- .../features/bootstrap/LDAPContext.php | 24 +-------- build/integration/features/bootstrap/Mail.php | 21 +------- .../features/bootstrap/Provisioning.php | 33 ++----------- .../features/bootstrap/RemoteContext.php | 23 +-------- .../integration/features/bootstrap/Search.php | 21 +------- .../features/bootstrap/ShareesContext.php | 24 ++------- .../features/bootstrap/Sharing.php | 33 ++----------- .../features/bootstrap/SharingContext.php | 23 +-------- .../features/bootstrap/TagsContext.php | 28 ++--------- .../features/bootstrap/TalkContext.php | 21 +------- .../features/bootstrap/Trashbin.php | 24 ++------- .../integration/features/bootstrap/WebDav.php | 34 ++----------- build/license.php | 20 ++------ build/signed-off-checker.php | 21 +------- build/translation-checker.php | 19 +------ build/triple-dot-checker.php | 22 +-------- console.php | 33 ++----------- .../BackgroundCleanupUpdaterBackupsJob.php | 22 +-------- .../CheckForUserCertificates.php | 22 +-------- core/BackgroundJobs/CleanupLoginFlowV2.php | 22 +-------- core/BackgroundJobs/GenerateMetadataJob.php | 21 +------- .../LookupServerSendCheckBackgroundJob.php | 21 +------- core/css/apps.scss | 18 ++----- core/css/exception.scss | 21 +------- core/css/fixes.scss | 4 ++ core/css/functions.scss | 21 +------- core/css/global.scss | 9 ++-- core/css/guest.scss | 11 ++--- core/css/header.scss | 15 ++---- core/css/icons.scss | 28 +---------- core/css/inputs.scss | 14 ++---- core/css/mobile.scss | 4 ++ core/css/public.scss | 4 ++ core/css/server.scss | 4 ++ core/css/styles.scss | 16 ++---- core/css/systemtags.scss | 12 ++--- core/css/toast.scss | 4 ++ core/css/tooltip.scss | 12 ++--- core/css/variables.scss | 21 +------- core/css/whatsnew.scss | 7 +-- core/js/backgroundjobs.js | 24 ++------- core/js/login/authpicker.js | 4 ++ core/js/login/grant.js | 4 ++ core/js/mimetype.js | 20 ++------ core/js/public/publicpage.js | 23 ++------- core/js/publicshareauth.js | 4 ++ core/js/select2-toggleselect.js | 11 ++--- core/js/setupchecks.js | 12 ++--- core/js/tests/html-domparser.js | 5 +- core/js/tests/specHelper.js | 23 ++------- core/js/tests/specs/coreSpec.js | 23 ++------- core/js/tests/specs/files/clientSpec.js | 23 ++------- core/js/tests/specs/jquery.avatarSpec.js | 10 ++-- .../js/tests/specs/jquery.contactsmenuSpec.js | 9 +--- core/js/tests/specs/jquery.placeholderSpec.js | 9 +--- core/js/tests/specs/l10nSpec.js | 10 ++-- core/js/tests/specs/mimeTypeSpec.js | 20 ++------ core/js/tests/specs/oc-backbone-webdavSpec.js | 23 ++------- core/js/tests/specs/public/commentsSpec.js | 19 ++----- core/js/tests/specs/setupchecksSpec.js | 10 ++-- .../tests/specs/systemtags/systemtagsSpec.js | 23 ++------- .../systemtags/systemtagscollectionSpec.js | 22 ++------- .../systemtags/systemtagsinputfieldSpec.js | 23 ++------- core/js/update.js | 12 ++--- core/src/OC/admin.js | 22 +-------- core/src/OC/appconfig.js | 27 ++-------- core/src/OC/apps.js | 23 ++------- core/src/OC/appswebroots.js | 21 +------- core/src/OC/backbone-webdav.js | 23 +-------- core/src/OC/backbone.js | 22 +-------- core/src/OC/capabilities.js | 23 +-------- core/src/OC/config.js | 21 +------- core/src/OC/constants.js | 22 +-------- core/src/OC/currentuser.js | 22 +-------- core/src/OC/debug.js | 21 +------- core/src/OC/dialogs.js | 45 ++--------------- core/src/OC/eventsource.js | 28 ++--------- core/src/OC/get_set.js | 22 +-------- core/src/OC/host.js | 22 +-------- core/src/OC/index.js | 23 +-------- core/src/OC/l10n.js | 30 ++---------- core/src/OC/menu.js | 23 +-------- core/src/OC/msg.js | 23 +-------- core/src/OC/navigation.js | 22 +-------- core/src/OC/notification.js | 26 +--------- core/src/OC/password-confirmation.js | 23 +-------- core/src/OC/plugins.js | 22 +-------- core/src/OC/query-string.js | 23 +-------- core/src/OC/requesttoken.js | 22 +-------- core/src/OC/routing.js | 23 +-------- core/src/OC/theme.js | 21 +------- core/src/OC/util-history.js | 22 +-------- core/src/OC/util.js | 22 +-------- core/src/OC/webroot.js | 21 +------- core/src/OC/xhr-error.js | 22 +-------- core/src/OCA/index.js | 21 +------- core/src/OCP/accessibility.js | 21 +------- core/src/OCP/appconfig.js | 23 ++------- core/src/OCP/collaboration.js | 22 +-------- core/src/OCP/comments.js | 22 +-------- core/src/OCP/index.js | 23 +-------- core/src/OCP/loader.js | 23 +-------- core/src/OCP/toast.js | 22 +-------- core/src/OCP/whatsnew.js | 22 +-------- core/src/Util/a11y.js | 21 +------- core/src/Util/get-url-parameter.js | 22 +-------- core/src/components/AppMenu.vue | 22 ++------- core/src/components/ContactsMenu.js | 23 +-------- core/src/components/ContactsMenu/Contact.vue | 22 ++------- core/src/components/LegacyDialogPrompt.vue | 4 ++ core/src/components/MainMenu.js | 23 +-------- .../Profile/PrimaryActionButton.vue | 21 +------- .../UnifiedSearch/CustomDateRangeModal.vue | 4 ++ .../UnifiedSearch/LegacySearchResult.vue | 25 ++-------- .../UnifiedSearch/SearchFilterChip.vue | 4 ++ .../components/UnifiedSearch/SearchResult.vue | 4 ++ .../SearchResultPlaceholders.vue | 4 ++ .../UnifiedSearch/SearchableList.vue | 21 +------- core/src/components/UserMenu.js | 22 +-------- .../UserMenu/ProfileUserMenuEntry.vue | 21 +------- .../src/components/UserMenu/UserMenuEntry.vue | 21 +------- core/src/components/login/LoginButton.vue | 22 ++------- core/src/components/login/LoginForm.cy.ts | 4 ++ core/src/components/login/LoginForm.vue | 22 ++------- .../login/PasswordLessLoginForm.vue | 4 ++ core/src/components/login/ResetPassword.vue | 22 ++------- core/src/components/login/UpdatePassword.vue | 23 ++------- core/src/components/setup/RecommendedApps.vue | 22 ++------- core/src/files/client.js | 32 ++---------- core/src/files/fileinfo.js | 25 ++-------- core/src/globals.js | 24 +-------- core/src/icons.js | 4 ++ core/src/init.js | 25 +--------- core/src/install.js | 23 +-------- core/src/jquery/avatar.js | 22 +-------- core/src/jquery/contactsmenu.js | 23 +-------- core/src/jquery/css/jquery-ui-fixes.scss | 4 ++ core/src/jquery/css/jquery.ocdialog.scss | 4 ++ core/src/jquery/exists.js | 22 +-------- core/src/jquery/filterattr.js | 22 +-------- core/src/jquery/index.js | 23 +-------- core/src/jquery/ocdialog.js | 24 +-------- core/src/jquery/octemplate.js | 23 +-------- core/src/jquery/placeholder.js | 26 ++-------- core/src/jquery/requesttoken.js | 22 +-------- core/src/jquery/selectrange.js | 22 +-------- core/src/jquery/showpassword.js | 22 +-------- core/src/jquery/ui-fixes.js | 22 +-------- core/src/legacy-unified-search.js | 21 +------- core/src/logger.js | 21 +------- core/src/login.js | 24 +-------- core/src/main.js | 24 +-------- core/src/maintenance.js | 23 +-------- core/src/mixins/Nextcloud.js | 21 +------- core/src/mixins/auth.js | 21 +------- core/src/profile.ts | 21 +------- core/src/profile/ProfileSections.js | 21 +------- core/src/recommendedapps.js | 21 +------- core/src/services/BrowserStorageService.js | 21 +------- core/src/services/BrowsersListService.js | 21 +------- .../services/LegacyUnifiedSearchService.js | 24 +-------- core/src/services/UnifiedSearchService.js | 21 +------- .../services/WebAuthnAuthenticationService.ts | 21 +------- core/src/session-heartbeat.js | 24 +-------- .../store/unified-search-external-filters.js | 23 ++------- core/src/systemtags/merged-systemtags.js | 22 ++------- core/src/systemtags/systemtagmodel.js | 25 ++-------- core/src/systemtags/systemtags.js | 26 ++-------- core/src/systemtags/systemtagscollection.js | 23 ++------- core/src/systemtags/systemtagsinputfield.js | 25 ++-------- .../systemtags/systemtagsmappingcollection.js | 24 ++------- core/src/tests/OC/requesttoken.spec.js | 23 +-------- .../components/ContactsMenu/Contact.spec.js | 20 +------- core/src/tests/views/ContactsMenu.spec.js | 20 +------- core/src/unified-search.ts | 21 +------- core/src/unsupported-browser-redirect.js | 20 +------- core/src/unsupported-browser.js | 20 +------- core/src/utils/RedirectUnsupportedBrowsers.js | 20 +------- core/src/utils/xhr-request.js | 22 ++------- core/src/views/ContactsMenu.vue | 21 +------- core/src/views/LegacyUnifiedSearch.vue | 25 ++-------- core/src/views/Login.vue | 23 ++------- core/src/views/Profile.vue | 24 ++------- core/src/views/UnifiedSearch.vue | 25 ++-------- core/src/views/UnifiedSearchModal.vue | 4 ++ core/src/views/UnsupportedBrowser.vue | 26 ++-------- core/src/views/UserMenu.vue | 22 +-------- ocs-provider/index.php | 20 ++------ ocs/providers.php | 25 ++-------- ocs/v1.php | 29 ++--------- ocs/v2.php | 22 ++------- tests/Core/Command/Apps/AppsDisableTest.php | 19 +------ tests/Core/Command/Apps/AppsEnableTest.php | 19 +------ .../Command/Config/App/DeleteConfigTest.php | 20 ++------ .../Core/Command/Config/App/GetConfigTest.php | 20 ++------ .../Core/Command/Config/App/SetConfigTest.php | 20 ++------ tests/Core/Command/Config/ImportTest.php | 20 ++------ tests/Core/Command/Config/ListConfigsTest.php | 20 ++------ .../Config/System/DeleteConfigTest.php | 20 ++------ .../Command/Config/System/GetConfigTest.php | 20 ++------ .../Command/Config/System/SetConfigTest.php | 20 ++------ .../Encryption/ChangeKeyStorageRootTest.php | 20 ++------ .../Command/Encryption/DecryptAllTest.php | 20 ++------ tests/Core/Command/Encryption/DisableTest.php | 20 ++------ tests/Core/Command/Encryption/EnableTest.php | 20 ++------ .../Command/Encryption/EncryptAllTest.php | 20 ++------ .../Encryption/SetDefaultModuleTest.php | 20 ++------ tests/Core/Command/Group/AddTest.php | 21 +------- tests/Core/Command/Group/AddUserTest.php | 21 +------- tests/Core/Command/Group/DeleteTest.php | 21 +------- tests/Core/Command/Group/InfoTest.php | 21 +------- tests/Core/Command/Group/ListCommandTest.php | 21 +------- tests/Core/Command/Group/RemoveUserTest.php | 21 +------- tests/Core/Command/Log/FileTest.php | 20 ++------ tests/Core/Command/Log/ManageTest.php | 20 ++------ .../Maintenance/DataFingerprintTest.php | 20 ++------ .../Maintenance/Mimetype/UpdateDBTest.php | 20 ++------ tests/Core/Command/Maintenance/ModeTest.php | 5 +- .../Core/Command/Maintenance/UpdateTheme.php | 21 +------- tests/Core/Command/Preview/RepairTest.php | 5 +- tests/Core/Command/SystemTag/AddTest.php | 21 +------- tests/Core/Command/SystemTag/DeleteTest.php | 21 +------- tests/Core/Command/SystemTag/EditTest.php | 21 +------- .../Command/SystemTag/ListCommandTest.php | 21 +------- .../Command/TwoFactorAuth/CleanupTest.php | 21 +------- .../Command/TwoFactorAuth/DisableTest.php | 21 +------- .../Core/Command/TwoFactorAuth/EnableTest.php | 21 +------- .../Command/TwoFactorAuth/EnforceTest.php | 21 +------- .../Core/Command/TwoFactorAuth/StateTest.php | 21 +------- tests/Core/Command/User/AddTest.php | 21 +------- .../Command/User/AuthTokens/DeleteTest.php | 21 +------- tests/Core/Command/User/DeleteTest.php | 20 ++------ tests/Core/Command/User/DisableTest.php | 21 +------- tests/Core/Command/User/EnableTest.php | 21 +------- tests/Core/Command/User/LastSeenTest.php | 20 ++------ tests/Core/Command/User/SettingTest.php | 20 ++------ .../Controller/AppPasswordControllerTest.php | 21 +------- .../Controller/AutoCompleteControllerTest.php | 21 +------- .../Core/Controller/AvatarControllerTest.php | 20 ++------ .../Controller/CSRFTokenControllerTest.php | 21 +------- .../ChangePasswordControllerTest.php | 20 +------- .../ClientFlowLoginControllerTest.php | 19 +------ .../ClientFlowLoginV2ControllerTest.php | 21 +------- .../Controller/ContactsMenuControllerTest.php | 21 +------- tests/Core/Controller/CssControllerTest.php | 21 +------- .../Controller/GuestAvatarControllerTest.php | 5 +- tests/Core/Controller/JsControllerTest.php | 21 +------- tests/Core/Controller/LoginControllerTest.php | 20 ++------ tests/Core/Controller/LostControllerTest.php | 21 +------- .../Controller/NavigationControllerTest.php | 21 +------- tests/Core/Controller/OCSControllerTest.php | 22 ++------- .../Core/Controller/PreviewControllerTest.php | 21 +------- .../TwoFactorChallengeControllerTest.php | 20 ++------ tests/Core/Controller/UserControllerTest.php | 21 +------- .../Controller/WellKnownControllerTest.php | 22 ++------- tests/Core/Controller/WipeControllerTest.php | 21 +------- .../Core/Data/LoginFlowV2CredentialsTest.php | 19 +------ .../Middleware/TwoFactorMiddlewareTest.php | 20 ++------ .../Service/LoginFlowV2ServiceUnitTest.php | 19 +------ .../CleanPreviewsBackgroundJobTest.php | 21 +------- .../Repair/Owncloud/CleanPreviewsTest.php | 21 +------- .../Owncloud/UpdateLanguageCodesTest.php | 21 +------- tests/apps.php | 7 ++- .../appinfo/info.xml | 4 ++ tests/apps/testapp_infoxml/appinfo/info.xml | 4 ++ .../testapp_name_missing/appinfo/info.xml | 4 ++ tests/apps/testapp_version/appinfo/info.xml | 4 ++ tests/blueprints/basic.toml | 2 + tests/bootstrap.php | 6 ++- tests/data/scss/styles-error.scss | 4 ++ tests/data/scss/styles-success.scss | 6 ++- tests/docker/mysqlmb4.config.php | 6 ++- tests/drone-run-integration-tests.sh | 3 ++ tests/drone-run-php-tests.sh | 3 ++ tests/drone-wait-objectstore.sh | 3 ++ tests/enable_all.php | 7 ++- tests/karma.config.js | 21 ++------ tests/lib/APITest.php | 7 ++- tests/lib/Accounts/AccountManagerTest.php | 22 ++------- .../AccountPropertyCollectionTest.php | 21 +------- tests/lib/Accounts/AccountPropertyTest.php | 21 +------- tests/lib/Accounts/AccountTest.php | 21 +------- tests/lib/Accounts/HooksTest.php | 19 +------ tests/lib/Activity/ManagerTest.php | 21 ++------ tests/lib/AllConfigTest.php | 7 ++- tests/lib/App/AppManagerTest.php | 7 ++- tests/lib/App/AppStore/Bundles/BundleBase.php | 19 +------ .../AppStore/Bundles/BundleFetcherTest.php | 19 +------ .../AppStore/Bundles/EducationBundleTest.php | 19 +------ .../AppStore/Bundles/EnterpriseBundleTest.php | 19 +------ .../AppStore/Bundles/GroupwareBundleTest.php | 19 +------ .../Bundles/SocialSharingBundleTest.php | 19 +------ .../Fetcher/AppDiscoverFetcherTest.php | 21 +------- .../App/AppStore/Fetcher/AppFetcherTest.php | 19 +------ .../AppStore/Fetcher/CategoryFetcherTest.php | 19 +------ .../lib/App/AppStore/Fetcher/FetcherBase.php | 19 +------ .../AppStore/Version/VersionParserTest.php | 19 +------ .../lib/App/AppStore/Version/VersionTest.php | 19 +------ tests/lib/App/CompareVersionTest.php | 21 +------- tests/lib/App/DependencyAnalyzerTest.php | 10 ++-- tests/lib/App/InfoParserTest.php | 8 ++- tests/lib/App/PlatformRepositoryTest.php | 9 ++-- tests/lib/AppConfigTest.php | 20 +------- tests/lib/AppFramework/AppTest.php | 21 ++------ .../Bootstrap/BootContextTest.php | 20 +------- .../Bootstrap/CoordinatorTest.php | 20 +------- .../Bootstrap/FunctionInjectorTest.php | 20 +------- .../Bootstrap/RegistrationContextTest.php | 20 +------- .../Controller/ApiControllerTest.php | 21 ++------ .../AuthPublicShareControllerTest.php | 21 +------- .../Controller/ControllerTest.php | 21 ++------ .../Controller/OCSControllerTest.php | 21 ++------ .../Controller/PublicShareControllerTest.php | 21 +------- tests/lib/AppFramework/Db/EntityTest.php | 21 ++------ tests/lib/AppFramework/Db/QBMapperTest.php | 21 +------- .../lib/AppFramework/Db/TransactionalTest.php | 22 ++------- .../DependencyInjection/DIContainerTest.php | 23 ++------- .../DIIntergrationTests.php | 21 +------- .../Http/ContentSecurityPolicyTest.php | 7 ++- .../AppFramework/Http/DataResponseTest.php | 21 ++------ .../lib/AppFramework/Http/DispatcherTest.php | 21 ++------ .../Http/DownloadResponseTest.php | 21 ++------ .../Http/EmptyContentSecurityPolicyTest.php | 7 ++- .../Http/EmptyFeaturePolicyTest.php | 21 +------- .../AppFramework/Http/FeaturePolicyTest.php | 21 +------- .../Http/FileDisplayResponseTest.php | 21 +------- tests/lib/AppFramework/Http/HttpTest.php | 21 ++------ .../AppFramework/Http/JSONResponseTest.php | 23 ++------- tests/lib/AppFramework/Http/OutputTest.php | 6 +-- .../Http/PublicTemplateResponseTest.php | 21 +------- .../Http/RedirectResponseTest.php | 21 ++------ tests/lib/AppFramework/Http/RequestIdTest.php | 19 +------ tests/lib/AppFramework/Http/RequestStream.php | 5 +- tests/lib/AppFramework/Http/RequestTest.php | 11 ++--- tests/lib/AppFramework/Http/ResponseTest.php | 21 ++------ .../AppFramework/Http/StreamResponseTest.php | 21 ++------ .../Http/TemplateResponseTest.php | 21 ++------ .../AdditionalScriptsMiddlewareTest.php | 21 +------- .../Middleware/CompressionMiddlewareTest.php | 21 +------- .../Middleware/MiddlewareDispatcherTest.php | 21 ++------ .../Middleware/MiddlewareTest.php | 21 ++------ .../Middleware/NotModifiedMiddlewareTest.php | 21 +------- .../Middleware/OCSMiddlewareTest.php | 20 +------- .../PublicShare/PublicShareMiddlewareTest.php | 21 +------- .../Security/BruteForceMiddlewareTest.php | 20 +------- .../Security/CORSMiddlewareTest.php | 11 ++--- .../Middleware/Security/CSPMiddlewareTest.php | 21 +------- .../Security/FeaturePolicyMiddlewareTest.php | 21 +------- .../Mock/CORSMiddlewareController.php | 20 +------- .../Security/Mock/NormalController.php | 20 +------- .../Security/Mock/OCSController.php | 20 +------- ...sswordConfirmationMiddlewareController.php | 20 +------- .../Mock/SecurityMiddlewareController.php | 20 +------- .../PasswordConfirmationMiddlewareTest.php | 21 +------- .../Security/RateLimitingMiddlewareTest.php | 22 +-------- .../Security/SameSiteCookieMiddlewareTest.php | 21 +------- .../Security/SecurityMiddlewareTest.php | 21 ++------ .../Middleware/SessionMiddlewareTest.php | 12 ++--- .../lib/AppFramework/OCS/BaseResponseTest.php | 21 +------- .../lib/AppFramework/Routing/RoutingTest.php | 6 ++- .../AppFramework/Services/AppConfigTest.php | 20 +------- .../Utility/ControllerMethodReflectorTest.php | 21 ++------ .../Utility/SimpleContainerTest.php | 21 ++------ .../AppFramework/Utility/TimeFactoryTest.php | 20 +------- tests/lib/AppScriptSortTest.php | 7 ++- tests/lib/AppTest.php | 8 ++- tests/lib/Archive/TARTest.php | 7 ++- tests/lib/Archive/TestBase.php | 7 ++- tests/lib/Archive/ZIPTest.php | 7 ++- .../Events/RemoteWipeFinishedTest.php | 20 +------- .../Events/RemoteWipeStartedTest.php | 20 +------- .../RemoteWipeActivityListenerTest.php | 20 +------- .../Listeners/RemoteWipeEmailListenerTest.php | 20 +------- .../RemoteWipeNotificationsListenerTest.php | 20 +------- .../UserDeletedTokenCleanupListenerTest.php | 20 +------- .../Login/ALoginCommandTest.php | 20 +------- .../ClearLostPasswordTokensCommandTest.php | 20 +------- .../Login/CompleteLoginCommandTest.php | 20 +------- .../Login/CreateSessionTokenCommandTest.php | 20 +------- .../Login/EmailLoginCommandTest.php | 20 +------- .../FinishRememberedLoginCommandTest.php | 20 +------- .../Login/LoggedInCheckCommandTest.php | 20 +------- .../Login/PreLoginHookCommandTest.php | 20 +------- .../Login/SetUserTimezoneCommandTest.php | 20 +------- .../Login/TwoFactorCommandTest.php | 20 +------- .../Login/UidLoginCommandTest.php | 20 +------- .../UpdateLastPasswordConfirmCommandTest.php | 20 +------- .../Login/UserDisabledCheckCommandTest.php | 20 +------- .../LoginCredentials/CredentialsTest.php | 21 +------- .../LoginCredentials/StoreTest.php | 21 +------- .../lib/Authentication/Token/ManagerTest.php | 21 +------- .../Token/PublicKeyTokenMapperTest.php | 21 +------- .../Token/PublicKeyTokenProviderTest.php | 21 +------- .../Token/PublicKeyTokenTest.php | 21 +------- .../Authentication/Token/RemoteWipeTest.php | 20 +------- .../Db/ProviderUserAssignmentDaoTest.php | 21 +------- .../TwoFactorAuth/EnforcementStateTest.php | 20 +------- .../TwoFactorAuth/ManagerTest.php | 20 ++------ .../TwoFactorAuth/MandatoryTwoFactorTest.php | 21 +------- .../TwoFactorAuth/ProviderLoaderTest.php | 21 +------- .../TwoFactorAuth/ProviderManagerTest.php | 21 +------- .../TwoFactorAuth/ProviderSetTest.php | 21 +------- .../TwoFactorAuth/RegistryTest.php | 21 +------- tests/lib/AutoLoaderTest.php | 7 ++- tests/lib/Avatar/AvatarManagerTest.php | 23 ++------- tests/lib/Avatar/GuestAvatarTest.php | 19 +------ tests/lib/Avatar/UserAvatarTest.php | 7 ++- tests/lib/BackgroundJob/DummyJobList.php | 7 ++- tests/lib/BackgroundJob/JobListTest.php | 7 ++- tests/lib/BackgroundJob/JobTest.php | 7 ++- tests/lib/BackgroundJob/QueuedJobTest.php | 7 ++- tests/lib/BackgroundJob/TestJob.php | 7 ++- .../BackgroundJob/TestParallelAwareJob.php | 6 +-- tests/lib/BackgroundJob/TimedJobTest.php | 7 ++- tests/lib/Cache/CappedMemoryCacheTest.php | 21 ++------ tests/lib/Cache/FileCacheTest.php | 21 ++------ tests/lib/Cache/TestCache.php | 7 ++- tests/lib/Calendar/ManagerTest.php | 21 +------- tests/lib/Calendar/Resource/ManagerTest.php | 21 +------- tests/lib/Calendar/Room/ManagerTest.php | 21 +------- tests/lib/CapabilitiesManagerTest.php | 20 ++------ .../Collaborators/GroupPluginTest.php | 21 +------- .../Collaborators/LookupPluginTest.php | 21 +------- .../Collaborators/MailPluginTest.php | 21 +------- .../Collaborators/RemotePluginTest.php | 21 +------- .../Collaborators/SearchResultTest.php | 21 +------- .../Collaborators/SearchTest.php | 21 +------- .../Collaborators/UserPluginTest.php | 21 +------- .../Collaboration/Resources/ManagerTest.php | 19 +------ .../Resources/ProviderManagerTest.php | 19 +------ tests/lib/Command/AsyncBusTest.php | 7 ++- tests/lib/Command/BackgroundJobsTest.php | 25 ++-------- tests/lib/Command/CronBusTest.php | 19 +------ tests/lib/Command/Integrity/SignAppTest.php | 20 ++------ tests/lib/Command/Integrity/SignCoreTest.php | 20 ++------ tests/lib/Comments/CommentTest.php | 6 ++- tests/lib/Comments/FakeFactory.php | 6 ++- tests/lib/Comments/FakeManager.php | 6 ++- tests/lib/Comments/ManagerTest.php | 6 ++- tests/lib/ConfigTest.php | 7 ++- .../ContactsMenu/ActionFactoryTest.php | 21 +------- .../ContactsMenu/ActionProviderStoreTest.php | 21 +------- .../ContactsMenu/Actions/LinkActionTest.php | 21 +------- .../ContactsMenu/ContactsStoreTest.php | 23 +-------- tests/lib/Contacts/ContactsMenu/EntryTest.php | 21 +------- .../lib/Contacts/ContactsMenu/ManagerTest.php | 21 +------- .../Providers/EMailproviderTest.php | 21 +------- .../Providers/LocalTimeProviderTest.php | 21 +------- tests/lib/ContactsManagerTest.php | 6 ++- tests/lib/DB/ConnectionFactoryTest.php | 19 +------ tests/lib/DB/Exception/DbalExceptionTest.php | 18 +------ tests/lib/DB/MigrationsTest.php | 7 ++- tests/lib/DB/MigratorTest.php | 7 ++- tests/lib/DB/OCPostgreSqlPlatformTest.php | 20 ++------ .../QueryBuilder/ExpressionBuilderDBTest.php | 19 +------ .../DB/QueryBuilder/ExpressionBuilderTest.php | 20 ++------ .../DB/QueryBuilder/FunctionBuilderTest.php | 18 +------ .../lib/DB/QueryBuilder/QueryBuilderTest.php | 20 ++------ tests/lib/DB/QueryBuilder/QuoteHelperTest.php | 20 ++------ tests/lib/DateTimeFormatterTest.php | 7 ++- tests/lib/Diagnostics/EventLoggerTest.php | 20 ++------ tests/lib/Diagnostics/QueryLoggerTest.php | 20 ++------ tests/lib/DirectEditing/ManagerTest.php | 5 +- tests/lib/EmojiHelperTest.php | 21 +------- tests/lib/Encryption/DecryptAllTest.php | 20 ++------ .../lib/Encryption/EncryptionWrapperTest.php | 20 ++------ tests/lib/Encryption/Keys/StorageTest.php | 21 ++------ tests/lib/Encryption/ManagerTest.php | 6 ++- tests/lib/Encryption/UpdateTest.php | 20 ++------ tests/lib/Encryption/UtilTest.php | 6 ++- tests/lib/ErrorHandlerTest.php | 21 ++------ tests/lib/EventSourceFactoryTest.php | 20 +------- tests/lib/Federation/CloudIdManagerTest.php | 19 +------ tests/lib/Federation/CloudIdTest.php | 19 +------ tests/lib/FileChunkingTest.php | 20 ++------ tests/lib/Files/AppData/AppDataTest.php | 21 +------- tests/lib/Files/AppData/FactoryTest.php | 21 +------- tests/lib/Files/Cache/CacheTest.php | 7 ++- tests/lib/Files/Cache/HomeCacheTest.php | 7 ++- .../lib/Files/Cache/LocalRootScannerTest.php | 19 +------ .../Files/Cache/MoveFromCacheTraitTest.php | 7 ++- tests/lib/Files/Cache/PropagatorTest.php | 7 ++- tests/lib/Files/Cache/ScannerTest.php | 7 ++- tests/lib/Files/Cache/SearchBuilderTest.php | 19 +------ tests/lib/Files/Cache/UpdaterLegacyTest.php | 7 ++- tests/lib/Files/Cache/UpdaterTest.php | 7 ++- tests/lib/Files/Cache/WatcherTest.php | 7 ++- .../lib/Files/Cache/Wrapper/CacheJailTest.php | 7 ++- .../Wrapper/CachePermissionsMaskTest.php | 7 ++- tests/lib/Files/Config/UserMountCacheTest.php | 7 ++- tests/lib/Files/EtagTest.php | 7 ++- tests/lib/Files/FileInfoTest.php | 6 +-- tests/lib/Files/FilesystemTest.php | 21 ++------ .../Files/Mount/CacheMountProviderTest.php | 20 +------- tests/lib/Files/Mount/ManagerTest.php | 7 ++- tests/lib/Files/Mount/MountPointTest.php | 7 ++- tests/lib/Files/Mount/MountTest.php | 7 ++- .../Mount/ObjectHomeMountProviderTest.php | 6 ++- ...jectStorePreviewCacheMountProviderTest.php | 21 +------- .../lib/Files/Mount/RootMountProviderTest.php | 19 +------ tests/lib/Files/Node/FileTest.php | 7 ++- tests/lib/Files/Node/FolderTest.php | 7 ++- tests/lib/Files/Node/HookConnectorTest.php | 7 ++- tests/lib/Files/Node/IntegrationTest.php | 7 ++- tests/lib/Files/Node/NodeTest.php | 7 ++- tests/lib/Files/Node/RootTest.php | 7 ++- tests/lib/Files/ObjectStore/AzureTest.php | 19 +------ .../ObjectStore/FailDeleteObjectStore.php | 19 +------ .../ObjectStore/FailWriteObjectStore.php | 19 +------ tests/lib/Files/ObjectStore/LocalTest.php | 19 +------ tests/lib/Files/ObjectStore/MapperTest.php | 20 ++------ .../ObjectStore/ObjectStoreScannerTest.php | 10 +--- .../ObjectStoreStorageOverwrite.php | 19 +------ .../ObjectStore/ObjectStoreStorageTest.php | 19 ++----- .../lib/Files/ObjectStore/ObjectStoreTest.php | 19 +------ tests/lib/Files/ObjectStore/S3Test.php | 19 +------ tests/lib/Files/ObjectStore/SwiftTest.php | 20 ++------ tests/lib/Files/PathVerificationTest.php | 8 +-- .../Search/QueryOptimizer/CombinedTests.php | 5 +- .../QueryOptimizer/FlattenNestedBoolTest.php | 5 +- .../MergeDistributiveOperationsTest.php | 5 +- .../QueryOptimizer/OrEqualsToInTest.php | 5 +- .../Files/Search/SearchIntegrationTest.php | 5 +- tests/lib/Files/SimpleFS/InMemoryFileTest.php | 19 +------ tests/lib/Files/SimpleFS/SimpleFileTest.php | 21 +------- tests/lib/Files/SimpleFS/SimpleFolderTest.php | 21 +------- tests/lib/Files/Storage/CommonTest.php | 21 ++------ tests/lib/Files/Storage/CopyDirectoryTest.php | 20 ++------ tests/lib/Files/Storage/HomeTest.php | 21 ++------ tests/lib/Files/Storage/LocalTest.php | 21 ++------ tests/lib/Files/Storage/Storage.php | 21 ++------ .../lib/Files/Storage/StorageFactoryTest.php | 7 ++- .../Storage/Wrapper/AvailabilityTest.php | 20 ++------ .../Files/Storage/Wrapper/EncodingTest.php | 7 ++- .../Files/Storage/Wrapper/EncryptionTest.php | 6 ++- tests/lib/Files/Storage/Wrapper/JailTest.php | 7 ++- .../Files/Storage/Wrapper/KnownMtimeTest.php | 6 +-- .../Storage/Wrapper/PermissionsMaskTest.php | 7 ++- tests/lib/Files/Storage/Wrapper/QuotaTest.php | 7 ++- .../lib/Files/Storage/Wrapper/WrapperTest.php | 7 ++- .../Files/Stream/DummyEncryptionWrapper.php | 20 ++------ tests/lib/Files/Stream/EncryptionTest.php | 6 ++- tests/lib/Files/Stream/HashWrapperTest.php | 19 +------ tests/lib/Files/Stream/QuotaTest.php | 7 ++- tests/lib/Files/Type/DetectionTest.php | 20 ++------ tests/lib/Files/Type/LoaderTest.php | 20 ++------ tests/lib/Files/Utils/ScannerTest.php | 7 ++- tests/lib/Files/ViewTest.php | 8 +-- tests/lib/GlobalScale/ConfigTest.php | 19 +------ tests/lib/Group/Backend.php | 25 ++-------- tests/lib/Group/DatabaseTest.php | 24 ++------- tests/lib/Group/Dummy.php | 21 ++------ tests/lib/Group/GroupTest.php | 7 ++- tests/lib/Group/ManagerTest.php | 21 ++------ tests/lib/Group/MetaDataTest.php | 21 ++------ tests/lib/HelperStorageTest.php | 7 ++- tests/lib/HookHelper.php | 7 ++- tests/lib/Hooks/BasicEmitterTest.php | 7 ++- tests/lib/Http/Client/ClientServiceTest.php | 7 ++- tests/lib/Http/Client/ClientTest.php | 7 ++- .../lib/Http/Client/DnsPinMiddlewareTest.php | 21 +------- .../lib/Http/Client/NegativeDnsCacheTest.php | 21 +------- tests/lib/Http/Client/ResponseTest.php | 7 ++- .../Http/WellKnown/GenericResponseTest.php | 22 ++------- tests/lib/Http/WellKnown/JrdResponseTest.php | 22 ++------- .../lib/Http/WellKnown/RequestManagerTest.php | 22 ++------- tests/lib/ImageTest.php | 7 ++- tests/lib/InfoXmlTest.php | 19 +------ tests/lib/InitialStateServiceTest.php | 20 +------- tests/lib/InstallerTest.php | 7 ++- tests/lib/IntegrityCheck/CheckerTest.php | 20 ++------ .../IntegrityCheck/Helpers/AppLocatorTest.php | 20 ++------ .../Helpers/EnvironmentHelperTest.php | 20 ++------ .../Helpers/FileAccessHelperTest.php | 20 ++------ .../ExcludeFileByNameFilterIteratorTest.php | 18 +------ tests/lib/L10N/FactoryTest.php | 7 ++- tests/lib/L10N/L10nTest.php | 7 ++- tests/lib/L10N/LanguageIteratorTest.php | 21 +------- tests/lib/LargeFileHelperGetFileSizeTest.php | 7 ++- tests/lib/LargeFileHelperTest.php | 7 ++- tests/lib/LegacyHelperTest.php | 7 ++- tests/lib/Lock/DBLockingProviderTest.php | 20 ++------ tests/lib/Lock/LockingProvider.php | 20 ++------ .../lib/Lock/MemcacheLockingProviderTest.php | 20 ++------ .../Lock/NonCachingDBLockingProviderTest.php | 19 +------ tests/lib/Lockdown/Filesystem/NoFSTest.php | 21 +------- .../lib/Lockdown/Filesystem/NullCacheTest.php | 21 +------- .../Lockdown/Filesystem/NullStorageTest.php | 21 +------- tests/lib/Lockdown/LockdownManagerTest.php | 19 +------ tests/lib/Log/ExceptionSerializerTest.php | 21 +------- tests/lib/Log/FileTest.php | 16 +----- tests/lib/Log/LogFactoryTest.php | 22 +-------- tests/lib/LoggerTest.php | 10 ++-- tests/lib/Mail/EMailTemplateTest.php | 21 +------- tests/lib/Mail/MailerTest.php | 10 ++-- tests/lib/Mail/MessageTest.php | 7 ++- tests/lib/Memcache/APCuTest.php | 7 ++- tests/lib/Memcache/ArrayCacheTest.php | 7 ++- tests/lib/Memcache/Cache.php | 7 ++- tests/lib/Memcache/CasTraitTest.php | 20 ++------ tests/lib/Memcache/FactoryTest.php | 20 ++------ tests/lib/Memcache/MemcachedTest.php | 7 ++- tests/lib/Memcache/RedisTest.php | 7 ++- tests/lib/MemoryInfoTest.php | 19 +------ tests/lib/Migration/BackgroundRepairTest.php | 20 ++------ tests/lib/NaturalSortTest.php | 7 ++- tests/lib/NavigationManagerTest.php | 11 ++--- tests/lib/Net/HostnameClassifierTest.php | 22 ++------- tests/lib/Net/IpAddressClassifierTest.php | 22 ++------- tests/lib/Notification/ActionTest.php | 20 ++------ tests/lib/Notification/DummyApp.php | 19 +------ tests/lib/Notification/DummyNotifier.php | 19 +------ tests/lib/Notification/ManagerTest.php | 20 ++------ tests/lib/Notification/NotificationTest.php | 20 ++------ tests/lib/OCS/DiscoveryServiceTest.php | 19 +------ tests/lib/OCS/MapStatusCodeTest.php | 20 ++------ tests/lib/OCS/ProviderTest.php | 20 ++------ .../lib/Preview/BackgroundCleanupJobTest.php | 20 +------- tests/lib/Preview/BitmapTest.php | 20 ++------ tests/lib/Preview/GeneratorTest.php | 21 +------- tests/lib/Preview/HEICTest.php | 19 +------ tests/lib/Preview/ImageTest.php | 20 ++------ tests/lib/Preview/MP3Test.php | 20 ++------ tests/lib/Preview/MovieTest.php | 20 ++------ tests/lib/Preview/OfficeTest.php | 20 ++------ tests/lib/Preview/Provider.php | 20 ++------ tests/lib/Preview/SVGTest.php | 20 ++------ tests/lib/Preview/TXTTest.php | 20 ++------ tests/lib/PublicNamespace/UtilTest.php | 20 ++------ tests/lib/Remote/Api/OCSTest.php | 19 +------ tests/lib/Remote/InstanceTest.php | 19 +------ tests/lib/Repair/CleanTagsTest.php | 7 ++- tests/lib/Repair/ClearFrontendCachesTest.php | 21 +------- .../Repair/ClearGeneratedAvatarCacheTest.php | 21 +------- .../lib/Repair/NC11/FixMountStoragesTest.php | 21 +------- .../Repair/OldGroupMembershipSharesTest.php | 7 ++- tests/lib/Repair/RepairCollationTest.php | 7 ++- tests/lib/Repair/RepairDavSharesTest.php | 21 +------- tests/lib/Repair/RepairInvalidSharesTest.php | 7 ++- tests/lib/Repair/RepairMimeTypesTest.php | 8 ++- tests/lib/RepairTest.php | 7 ++- .../lib/RichObjectStrings/DefinitionsTest.php | 19 +------ tests/lib/RichObjectStrings/ValidatorTest.php | 19 +------ tests/lib/Route/RouterTest.php | 19 +------ .../Backend/MemoryCacheBackendTest.php | 21 +------- .../Security/Bruteforce/CapabilitiesTest.php | 19 +------ .../lib/Security/Bruteforce/ThrottlerTest.php | 19 +------ .../CSP/AddContentSecurityPolicyEventTest.php | 21 +------- .../CSP/ContentSecurityPolicyManagerTest.php | 20 ++------ .../ContentSecurityPolicyNonceManagerTest.php | 19 +------ .../Security/CSRF/CsrfTokenGeneratorTest.php | 20 ++------ .../Security/CSRF/CsrfTokenManagerTest.php | 20 ++------ tests/lib/Security/CSRF/CsrfTokenTest.php | 20 ++------ .../CSRF/TokenStorage/SessionStorageTest.php | 20 ++------ tests/lib/Security/CertificateManagerTest.php | 7 ++- tests/lib/Security/CertificateTest.php | 20 ++------ tests/lib/Security/CredentialsManagerTest.php | 20 ++------ tests/lib/Security/CryptoTest.php | 7 ++- .../AddFeaturePolicyEventTest.php | 21 +------- .../FeaturePolicyManagerTest.php | 21 +------- tests/lib/Security/HasherTest.php | 7 ++- tests/lib/Security/IdentityProof/KeyTest.php | 21 +------- .../Security/IdentityProof/ManagerTest.php | 19 +------ .../lib/Security/IdentityProof/SignerTest.php | 21 +------- .../lib/Security/Normalizer/IpAddressTest.php | 19 +------ .../Backend/MemoryCacheBackendTest.php | 19 +------ .../lib/Security/RateLimiting/LimiterTest.php | 19 +------ .../RemoteHostValidatorIntegrationTest.php | 22 ++------- .../lib/Security/RemoteHostValidatorTest.php | 22 ++------- tests/lib/Security/SecureRandomTest.php | 7 ++- .../lib/Security/TrustedDomainHelperTest.php | 7 ++- .../VerificationTokenTest.php | 21 +------- tests/lib/ServerTest.php | 23 ++------- tests/lib/Session/CryptoSessionDataTest.php | 20 ++------ tests/lib/Session/CryptoWrappingTest.php | 20 ++------ tests/lib/Session/MemoryTest.php | 7 ++- tests/lib/Session/Session.php | 7 ++- tests/lib/Settings/DeclarativeManagerTest.php | 21 +------- tests/lib/Settings/ManagerTest.php | 21 +------- tests/lib/Settings/SectionTest.php | 21 +------- tests/lib/SetupTest.php | 7 ++- tests/lib/Share/Backend.php | 20 ++------ tests/lib/Share/HelperTest.php | 20 ++------ tests/lib/Share/ShareTest.php | 20 ++------ .../lib/Share20/DefaultShareProviderTest.php | 21 ++------ tests/lib/Share20/LegacyHooksTest.php | 21 +------- tests/lib/Share20/ManagerTest.php | 20 ++------ tests/lib/Share20/ShareByMailProviderTest.php | 20 +------- tests/lib/Share20/ShareHelperTest.php | 21 +------- tests/lib/Share20/ShareTest.php | 20 ++------ tests/lib/SubAdminTest.php | 20 ++------ .../lib/Support/CrashReport/RegistryTest.php | 21 +------- .../Subscription/DummySubscription.php | 19 +------ .../lib/Support/Subscription/RegistryTest.php | 19 +------ tests/lib/SystemTag/SystemTagManagerTest.php | 8 ++- .../SystemTag/SystemTagObjectMapperTest.php | 8 ++- tests/lib/TagsTest.php | 21 ++------ tests/lib/Talk/BrokerTest.php | 22 ++------- tests/lib/Talk/ConversationOptionsTest.php | 22 ++------- tests/lib/TempManagerTest.php | 7 ++- tests/lib/Template/CSSResourceLocatorTest.php | 21 +------- tests/lib/Template/JSCombinerTest.php | 21 +------- tests/lib/Template/JSResourceLocatorTest.php | 21 +------- tests/lib/Template/ResourceLocatorTest.php | 7 ++- tests/lib/Template/data/1.js.license | 2 + tests/lib/Template/data/2.js.license | 2 + tests/lib/TemplateFunctionsTest.php | 21 ++------ tests/lib/TestCase.php | 21 ++------ tests/lib/TestMoveableMountPoint.php | 20 ++------ .../lib/TextProcessing/TextProcessingTest.php | 6 +-- tests/lib/Traits/ClientServiceTrait.php | 19 +------ tests/lib/Traits/EncryptionTrait.php | 7 ++- tests/lib/Traits/MountProviderTrait.php | 7 ++- tests/lib/Traits/UserTrait.php | 7 ++- tests/lib/Updater/ChangesCheckTest.php | 21 +------- tests/lib/Updater/VersionCheckTest.php | 21 ++------ tests/lib/UpdaterTest.php | 21 ++------ tests/lib/UrlGeneratorTest.php | 7 ++- .../lib/User/AvailabilityCoordinatorTest.php | 21 +------- tests/lib/User/AvatarUserDummy.php | 21 ++------ tests/lib/User/Backend.php | 21 ++------ tests/lib/User/DatabaseTest.php | 21 ++------ tests/lib/User/Dummy.php | 21 ++------ tests/lib/User/ManagerTest.php | 7 ++- tests/lib/User/SessionTest.php | 7 ++- tests/lib/User/UserTest.php | 7 ++- tests/lib/Util/Group/Dummy.php | 28 ++--------- tests/lib/Util/User/Dummy.php | 26 ++-------- tests/lib/UtilCheckServerTest.php | 7 ++- tests/lib/UtilTest.php | 7 ++- tests/phpunit-autotest-external.xml | 4 ++ tests/phpunit-autotest.xml | 5 ++ tests/preseed-config.php | 6 ++- tests/redis-cluster.config.php | 5 +- tests/redis.config.php | 5 +- tests/startsessionlistener.php | 7 ++- themes/README | 5 ++ themes/example/core/css/server.css | 18 ++----- themes/example/defaults.php | 19 ++----- 790 files changed, 2323 insertions(+), 11413 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/Feature_request.md.license create mode 100644 .github/pull_request_template.md.license create mode 100644 LICENSES/LicenseRef-AppleAppStoreBadge.txt create mode 100644 LICENSES/LicenseRef-FacebookTrademarks.txt create mode 100644 LICENSES/LicenseRef-GooglePlayBadge.txt create mode 100644 LICENSES/LicenseRef-MastodonTrademarks.txt create mode 100644 LICENSES/LicenseRef-NextcloudTrademarks.txt create mode 100644 LICENSES/LicenseRef-XTrademarks.txt create mode 100644 tests/lib/Template/data/1.js.license create mode 100644 tests/lib/Template/data/2.js.license diff --git a/.drone.yml b/.drone.yml index 4bfb2a4d469..66698f44550 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,6 +2,9 @@ kind: pipeline name: litmus +# SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later + steps: - name: submodules image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest @@ -124,4 +127,6 @@ trigger: --- kind: signature -hmac: 1c487e85d1dba3fec3151868f8f94fc46b4ecb0f821c35516c193700cdbc2a9c +hmac: 06ddea3f1885983230fcc996e805245357ac90e39599ed11a70161a7c09746d7 + +... diff --git a/.eslintignore b/.eslintignore index 104bf398964..6e1592b14fa 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later # Ignoring folders for eslint node_modules/ 3rdparty/ diff --git a/.eslintrc.js b/.eslintrc.js index 089dca10a04..737e689d0ea 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,3 +1,7 @@ +/** + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ module.exports = { globals: { __webpack_nonce__: true, diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 98c93c4a41e..fa68969c386 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,3 +1,7 @@ + ## Submitting issues If you have questions about how to install or use Nextcloud, please direct these to our [forum][forum]. We are also available on [IRC][irc]. diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 376a9dc0ff2..845f6a22994 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1 +1,3 @@ +# SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later custom: https://nextcloud.com/include/ diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.yml b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml index 4047a78bc83..0a15c5a06a5 100644 --- a/.github/ISSUE_TEMPLATE/BUG_REPORT.yml +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later name: "🐛 Bug report: Nextcloud Server" description: "Submit a report and help us improve Nextcloud Server" title: "[Bug]: " diff --git a/.github/ISSUE_TEMPLATE/Feature_request.md.license b/.github/ISSUE_TEMPLATE/Feature_request.md.license new file mode 100644 index 00000000000..3e87d1c6a63 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Feature_request.md.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 730c1b1ebe2..ad8a30caa91 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later contact_links: - name: 🚨 Report a security or privacy issue url: https://hackerone.com/nextcloud diff --git a/.github/config.yml b/.github/config.yml index 81f181ba756..583ceb64a56 100644 --- a/.github/config.yml +++ b/.github/config.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later firstPRMergeComment: > Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 46b990e452b..b84a2418606 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later version: 2 updates: # Linting and coding style diff --git a/.github/pull_request_template.md.license b/.github/pull_request_template.md.license new file mode 100644 index 00000000000..32990c01660 --- /dev/null +++ b/.github/pull_request_template.md.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/.gitignore b/.gitignore index e69bd0ffe32..2e73df093df 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2011-2016 ownCloud contributors +# SPDX-FileCopyrightText: 2010 ownCloud contributors +# SPDX-License-Identifier: AGPL-3.0-only # the default generated dir + db file /data /config/config.php diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index a360624b553..6354c24bfae 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -1,7 +1,10 @@ +License: CC-BY-SA-3.0 OR GPL-3.0-or-later diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 784366e09f8..445a8d804c2 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2016 ownCloud, Inc. +# SPDX-License-Identifier: AGPL-3.0-only before_commands: - 'git submodule update --init --recursive' diff --git a/AUTHORS b/AUTHORS index d3d5c4f0a5c..6d9f561e3af 100644 --- a/AUTHORS +++ b/AUTHORS @@ -28,6 +28,7 @@ - Andreas Fischer - Andreas Pflug - Andrew Brown + - Andrey Borysenko - Andy Xheli - Anna Larch - ArcticFall <23174635+ArcticFall@users.noreply.github.com> @@ -112,7 +113,7 @@ - David <37280718+yeyulantu@users.noreply.github.com> - David Prévot - David Toledo - - Denis Mosolov + - Denis MosolovDenis Mosolov - Derek - Dominik Schmidt - Donquixote @@ -136,6 +137,7 @@ - Florent - Florian Schunk - Florin Peter + - Fon E. Noel NFEBE - Frank Karlitschek - François Freitag - François Kubler @@ -201,6 +203,7 @@ - Jos Poortvliet - Jose Quinteiro - Josh Richards + - Joshua Trees - Juan Pablo Villafañez - Juan Pablo Villafáñez - Julien Lutran @@ -221,6 +224,7 @@ - Klaas Freitag - Knut Ahlers - Ko- + - Konrad Abicht - Konrad Bucheli - Kristof Provost - Kyle Fazzari @@ -242,6 +246,7 @@ - Louis <6653109+artonge@users.noreply.github.com> - Louis Chemineau - Loïc Hermann + - Lucas Azevedo - Luka Trovic - Lukas Reschke - Lukas Stabe @@ -307,6 +312,7 @@ - Mohammed Abdellatif - Morris Jobke - Mátyás Jani + - nacho - Naoto Kobayashi - Nazar Mokrynskyi - Nicolai Ehemann @@ -334,6 +340,7 @@ - Peter Kubica - Petre T - Phil Davis + - Philip Gatzka - Philipp Kapfer - Philipp Schaffrath - Philipp Staiger @@ -401,6 +408,7 @@ - Sergey Shliakhov - Sergio Bertolin - Sergio Bertolín + - Serhii Shliakhov - Sijmen Schoon - Simon Könnecke - Simon L diff --git a/LICENSES/LicenseRef-AppleAppStoreBadge.txt b/LICENSES/LicenseRef-AppleAppStoreBadge.txt new file mode 100644 index 00000000000..41393f67914 --- /dev/null +++ b/LICENSES/LicenseRef-AppleAppStoreBadge.txt @@ -0,0 +1,46 @@ +App Store Badges + +Include App Store badges in all digital and printed marketing materials as a clear call to action to get your app. App Store badges are available in 40 localizations to help you reach a broader audience. Versions are available for the App Store for iPhone and iPad, the Mac App Store, and Apple TV. + + +Preferred Badges + +Use the preferred black badge in all marketing communications promoting your app. The gray border surrounding the black badge is part of the badge artwork and should not be modified. Whenever one or more badges for other app platforms appear in the layout, use the preferred black badge. Place the App Store badge first in the lineup of badges. + + +Legal Requirements +Trademark Symbols + +In communications distributed only in the United States, the appropriate symbol (™, ℠, or ®) must follow each Apple trademark the first time it is mentioned in body copy. Do not use trademark symbols on products, product documentation, or other product communications that will be distributed outside the United States. + +For example, use Apple Watch®, iPhone®, iPad®, iPod touch®, Apple TV®, App Store®, Mac App Store℠, Mac®, MacBook Pro®, MacBook Air®, and iMac®. + +Don’t add symbols to headline copy or to the App Store badge artwork provided by Apple. + +For the correct trademark symbols, refer to the Apple Trademark List. +Credit Lines + +Use the appropriate credit lines in all communications worldwide, listing all the Apple trademarks and products included in your communication and advertising. Include the credit lines only once in your communication or website, and place the credit lines wherever you provide legal notification. Follow standard practices for the placement of legal copy, such as creating additional screens or providing interactive links. When the App Store badge is used, credit both Apple and the Apple Logo. + +Refer to the Apple Trademark List for the correct trademark symbol, spelling of the trademark, and generic term to use with the trademark. Generally, the symbol appears at the right shoulder of the trademark (except the Apple Logo, where the logo appears at the right foot). + +Use the following formats for distribution within the United States only: + +______ and ______ are registered trademarks of Apple Inc. + +______ and ______ are trademarks of Apple Inc. + +For distribution outside the United States, use one of the following international credit notices: + +______ and______ are trademarks of Apple Inc., registered in the U.S. and other countries. + +______ and______ are trademarks of Apple Inc. + +A translation of the legal notice and credit lines (but not the trademarks) can be used in materials distributed outside the U.S. + +For more information on using Apple trademarks, see Using Apple Trademarks and Copyrights. +Association with Apple + +Your app screen images, Mac, Apple Watch, iPhone, iPad, iPod touch, and Apple TV product images, or photographs thereof cannot be used in any manner that falsely suggests an association with Apple or is likely to reduce, diminish, or damage the goodwill, value, or reputation associated with the App Store, the Mac App Store, iPhone, iPad, iPod touch, Apple Watch, Apple TV, or Apple itself. + +see https://developer.apple.com/app-store/marketing/guidelines/ diff --git a/LICENSES/LicenseRef-FacebookTrademarks.txt b/LICENSES/LicenseRef-FacebookTrademarks.txt new file mode 100644 index 00000000000..41594459025 --- /dev/null +++ b/LICENSES/LicenseRef-FacebookTrademarks.txt @@ -0,0 +1,17 @@ +Facebook brand resources and guidelines + +The logo is our most important brand asset. We use it with consistency and intention to represent the world of social discovery to billions of people around the world. + +Our Logo Evolution + +Our logo has evolved over time, building on our past heritage, using an 'f' within a blue circle. The current logo has been refined in shape and color to make it more accessible and legible. Always ensure you are using the current version of our logo in any new designs or communications. + +Legal + +Meta dedicates substantial resources to the development and protection of its intellectual property. In addition to seeking registration of its trademarks and logos around the world, Meta enforces its rights against people who misuse its trademarks. + +Meta's trademarks are owned by Meta and may only be used as provided in these guidelines or with Meta’s permission. A list of some of Meta’s trademarks can be found here (https://about.meta.com/brand/resources/meta/our-trademarks/). You may not use or register, or otherwise claim rights in any Meta trademark, including as or as part of any trademark, service mark, company name, trade name, username or domain registration. You should not use or claim rights in any trademark in a way that is confusingly similar to or dilutive of Meta’s trademarks, including as, or as any part of, a trademark. Do not use Meta's trademarks for anything that would be inconsistent with Meta’s Terms of Service (https://www.facebook.com/terms.php) or Community Standards (https://transparency.meta.com/policies/community-standards/). + +We may revoke permission to use Meta’s trademarks at any time. Meta reserves the right to withhold approval of content that it considers inconsistent with the Meta brand. + +A copy can be found at https://about.meta.com/brand/resources/facebook/logo/ diff --git a/LICENSES/LicenseRef-GooglePlayBadge.txt b/LICENSES/LicenseRef-GooglePlayBadge.txt new file mode 100644 index 00000000000..eed50424ea1 --- /dev/null +++ b/LICENSES/LicenseRef-GooglePlayBadge.txt @@ -0,0 +1,23 @@ +badge guidelines +Dos & Don'ts + +Follow these guidelines whenever you are using a Google Play badge. + +* Use the badges as provided. Never alter the badges. +* There must be clear space surrounding the badge equal to one-quarter the height of the badge. +* The badge must be large enough that all of the text is legible. +* The Google Play badge should be the same size or larger than other application store badges. +* Badges must be shown on a solid colored background or a simple background image that does not obscure the badge. +* Match the badge language to the language of your marketing campaign whenever possible. +* Any online use of the badge must link to the Google Play store. Use the generator below to get the HTML to include in your digital marketing. +* The badge can only be used to promote content available on Google Play. +* Include the appropriate Google Play legal attribution when there is space in the creative. See the badge generator for localized legal attributions. +* Use of the Google Play badge must be reviewed and approved by the Google Play Partner Brand team if the badge will be in: + * a TV commercial + * an out-of-home marketing campaign + * a marketing campaign that will receive over 1 million impressions +* Use this form (https://partnermarketinghub.withgoogle.com/login/?next=/submit-assets/) to submit your marketing for approval. + +see https://play.google.com/intl/en_us/badges/ + +Google Play and the Google Play logo are trademarks of Google LLC. diff --git a/LICENSES/LicenseRef-MastodonTrademarks.txt b/LICENSES/LicenseRef-MastodonTrademarks.txt new file mode 100644 index 00000000000..d203a31dc62 --- /dev/null +++ b/LICENSES/LicenseRef-MastodonTrademarks.txt @@ -0,0 +1,46 @@ +Trademark Policy + +Last updated December 21, 2022 + +The Mastodon name and logos are trademarks of Mastodon gGmbH. As such, their use is restricted and protected by intellectual property law. While the software we create is available under a free and open source software license, the copyright license does not include an implied right or license to use our trademarks. + +The role of trademarks is to prevent the exploitation of the good name and reputation of Mastodon by other people and organizations, and to provide assurance about the quality of the products and services associated with it. + +To use our trademarks beyond what is considered "fair" or "nominative" use, you must follow these guidelines. By making use of our trademarks, you agree to abide by the following terms and conditions. You further agree that any dispute arising in connection with your use of our trademarks or under these terms and conditions shall be under the exclusive jurisdiction of the state and federal courts of New York in the United States of America and that the state and federal courts of New York shall have personal jurisdiction over you for the purposes of adjudicating any dispute concerning the use of our trademarks or these terms and conditions. + +You agree to defend and indemnify Mastodon gGmbH from and against any and all claims and losses brought by a third party in connection with your use of the Mastodon trademarks. + +To request the use of the Mastodon name and logos in a way not covered in these guidelines, or to report violations, please contact us at trademark@joinmastodon.org. In the event that we do not approve such use of the Mastodon name and logos within ten (10) business days, your request shall be deemed denied. +General guidelines + +In general: + +* Only use the Mastodon marks to accurately identify those goods or services that are built using the Mastodon software. +* Do not use the Mastodon marks in any way that could mistakenly imply that Mastodon GmbH has reviewed, approved, or guaranteed your goods or services. +* Do not use or register, in whole or in part, the Mastodon marks as part of your own or any other trademark, service mark, domain name, company name, trade name, product name, or service name. +* Do not use the Mastodon marks in a manner that disparages or defames the marks, Mastodon gGmbH, or Mastodon’s products. +* Do not use the Mastodon marks in connection with any illegal activity. +* You may use the Mastodon word mark in referential phrases such as "for", "for use with", or "compatible with". +* You may use the Mastodon marks when embedding or otherwise displaying user generated content published using the Mastodon software. +* Do not change or modify the Mastodon marks. +* Any all use of the Mastodon marks, and any goodwill accrued as a result of that use, belongs entirely to, and shall inure for the benefit of, Mastodon gGmbH. + +Server guidelines + +If you run your own Mastodon server using the Mastodon software, including modified Mastodon software on the condition that the modifications are limited to switching on or off features already included in the software, minor tweaks in visual appearance, translations into other languages, and bug fixes: + +* You may not use the Mastodon word mark, or any similar mark, in your domain name, unless you have written permission from Mastodon gGmbH. +* As long as you abide by the terms and conditions of this agreement, you may use the Mastodon marks included in the Mastodon server software for the purposes of running the server. + +Open source project guidelines + +If you choose to build on or modify Mastodon's open-source code, beyond modifications limited to switching on or off features already included in the software, minor tweaks in visual appearance, translations into other languages, and bug fixes: + +* You must choose your own branding, logos, and trademarks that denote your unique identity so as to clearly signal to users that there is no affiliation with or endorsement by Mastodon gGmbH. +* You may use word marks, but not our logos, in truthful statements that describe the relationship between your software and ours, for example "this software is derived from the source code of the Mastodon software". + +Social media guidelines + +The name and handle of your social media account and any and all pages cannot begin with a Mastodon word mark, or a similar mark (e.g. "mastodoon", "mast0don", "mstdn"). In addition, Mastodon logos cannot be used in a way that might suggest affiliation with or endorsement by Mastodon. + +A copy can be found at https://joinmastodon.org/de/trademark diff --git a/LICENSES/LicenseRef-NextcloudTrademarks.txt b/LICENSES/LicenseRef-NextcloudTrademarks.txt new file mode 100644 index 00000000000..40322c8b222 --- /dev/null +++ b/LICENSES/LicenseRef-NextcloudTrademarks.txt @@ -0,0 +1,9 @@ +The Nextcloud marks +Nextcloud and the Nextcloud logo is a registered trademark of Nextcloud GmbH in Germany and/or other countries. +These guidelines cover the following marks pertaining both to the product names and the logo: “Nextcloud” +and the blue/white cloud logo with or without the word Nextcloud; the service “Nextcloud Enterprise”; +and our products: “Nextcloud Files”; “Nextcloud Groupware” and “Nextcloud Talk”. +This set of marks is collectively referred to as the “Nextcloud marks.” + +Use of Nextcloud logos and other marks is only permitted under the guidelines provided by the Nextcloud GmbH. +A copy can be found at https://discord.com/branding diff --git a/LICENSES/LicenseRef-XTrademarks.txt b/LICENSES/LicenseRef-XTrademarks.txt new file mode 100644 index 00000000000..46b698359da --- /dev/null +++ b/LICENSES/LicenseRef-XTrademarks.txt @@ -0,0 +1,49 @@ +Trademark policy +April 2023 + + +You may not violate others’ intellectual property rights, including copyright and trademark. + +A trademark is a word, logo, phrase, or device that distinguishes a trademark holder’s good or service in the marketplace. Trademark law may prevent others from using a trademark in an unauthorized or confusing manner. + + +What is in violation of this policy? + +Using another’s trademark in a way that may mislead or confuse people about your affiliation may be a violation of our trademark policy. + + +What is not a violation of this policy? + +Referencing another’s trademark is not automatically a violation of X's trademark policy. Examples of non-violations include: + +* using a trademark in a way that is outside the scope of the trademark registration e.g., in a different territory, or a different class of goods or services than that identified in the registration; and +* using a trademark in a nominative or other fair use manner. For more information, see our Misleading and deceptive identities policy (https://help.twitter.com/en/rules-and-policies/twitter-impersonation-and-deceptive-identities-policy.html). + + +Who can report violations of this policy? + +X only investigates requests that are submitted by the trademark holder or their authorized representative e.g., a legal representative or other representative for a brand. + + +How can I report violations of this policy? + +You can submit a trademark report through our trademark report form (https://help.twitter.com/forms/trademark). Please provide all the information requested in the form. If you submit an incomplete report, we’ll need to follow up about the missing information. Please note that this will result in a delay in processing your report. + +Note: We may provide the account holder with your name and other information included in the copy of the report. + + +What happens if you violate this policy? + +If we determine that you violated our trademark policy, we may suspend your account. Depending on the type of violation, we may give you an opportunity to comply with our policies. In other instances, an account may be permanently suspended upon first review. If you believe that your account was suspended in error, you can submit an appeal (https://help.twitter.com/forms/general?subtopic=suspended). + + +Additional resources + +Learn more about our range of enforcement options (https://help.twitter.com/rules-and-policies/enforcement-options) and our approach to policy development and enforcement (https://help.twitter.com/rules-and-policies/enforcement-philosophy). + + +Legal disclaimer + +By using the X trademarks and resources on this site, you agree to follow the X Trademark Guidelines in our Brand Guidelines — as well as our Terms of Service and all other X rules and policies. If you have any questions, contact us at trademarks@x.com. + +A copy can be found at https://about.x.com/en/who-we-are/brand-toolkit and https://help.twitter.com/en/rules-and-policies/x-trademark-policy diff --git a/__mocks__/@nextcloud/auth.ts b/__mocks__/@nextcloud/auth.ts index e18a50c7c51..8d341dadad7 100644 --- a/__mocks__/@nextcloud/auth.ts +++ b/__mocks__/@nextcloud/auth.ts @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2023 John Molakvoæ - * - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ export const getCurrentUser = function() { return { diff --git a/__mocks__/@nextcloud/axios.ts b/__mocks__/@nextcloud/axios.ts index e9a440f4747..cef18f20df4 100644 --- a/__mocks__/@nextcloud/axios.ts +++ b/__mocks__/@nextcloud/axios.ts @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2023 John Molakvoæ - * - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ export default { get: async () => ({ status: 200, data: {} }), diff --git a/__mocks__/@nextcloud/dialogs.ts b/__mocks__/@nextcloud/dialogs.ts index 4b9f5de87c7..e56e07f691f 100644 --- a/__mocks__/@nextcloud/dialogs.ts +++ b/__mocks__/@nextcloud/dialogs.ts @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2023 John Molakvoæ - * - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import { jest } from '@jest/globals' diff --git a/__mocks__/@nextcloud/initial-state.ts b/__mocks__/@nextcloud/initial-state.ts index d4396311ec8..a562259b93f 100644 --- a/__mocks__/@nextcloud/initial-state.ts +++ b/__mocks__/@nextcloud/initial-state.ts @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2023 John Molakvoæ - * - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ export const loadState = function(app: string, key: string, fallback?: any) { diff --git a/__mocks__/css.js b/__mocks__/css.js index f2c71be8c32..152c532f313 100644 --- a/__mocks__/css.js +++ b/__mocks__/css.js @@ -1,22 +1,5 @@ /** - * @copyright Copyright (c) 2023 Lucas Azevedo - * - * @author Lucas Azevedo - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ export default {} diff --git a/__mocks__/svg.js b/__mocks__/svg.js index 1afe4357c0d..70674e5a0d0 100644 --- a/__mocks__/svg.js +++ b/__mocks__/svg.js @@ -1,22 +1,5 @@ /** - * @copyright Copyright (c) 2023 John Molakvoæ - * - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ export default 'SvgMock' diff --git a/__mocks__/webdav.ts b/__mocks__/webdav.ts index 5a1498c0e2d..7f56c7000b0 100644 --- a/__mocks__/webdav.ts +++ b/__mocks__/webdav.ts @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2023 John Molakvoæ - * - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ export const createClient = () => {} export const getPatcher = () => { diff --git a/build/files-checker.php b/build/files-checker.php index a434c9302bb..d7b683904d5 100644 --- a/build/files-checker.php +++ b/build/files-checker.php @@ -1,22 +1,7 @@ - * - * @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 . - * + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ $expectedFiles = [ diff --git a/build/gen-coverage-badge.php b/build/gen-coverage-badge.php index 0164951fc1c..1c19d381626 100644 --- a/build/gen-coverage-badge.php +++ b/build/gen-coverage-badge.php @@ -1,22 +1,8 @@ - * - * @copyright Copyright (c) 2016, ownCloud, Inc. - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope 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, version 3, - * along with this program. If not, see - * + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only */ if (!isset($argv[1])) { diff --git a/build/htaccess-checker.php b/build/htaccess-checker.php index 950735463c9..b0c7a1bd735 100644 --- a/build/htaccess-checker.php +++ b/build/htaccess-checker.php @@ -1,24 +1,7 @@ - * - * @author Lukas Reschke - * - * @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 . - * + * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ /** diff --git a/build/integration/features/bootstrap/AppConfiguration.php b/build/integration/features/bootstrap/AppConfiguration.php index 740a8b169a6..5f39c58ffeb 100644 --- a/build/integration/features/bootstrap/AppConfiguration.php +++ b/build/integration/features/bootstrap/AppConfiguration.php @@ -1,29 +1,8 @@ - * - * @author Arthur Schiwon - * @author Christoph Wurst - * @author Daniel Calviño Sánchez - * @author Joas Schilling - * @author John Molakvoæ - * @author Sergio Bertolin - * - * @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 . - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ use Behat\Behat\Hook\Scope\AfterScenarioScope; use Behat\Behat\Hook\Scope\BeforeScenarioScope; diff --git a/build/integration/features/bootstrap/Auth.php b/build/integration/features/bootstrap/Auth.php index 8ce72e73b82..e620af4d530 100644 --- a/build/integration/features/bootstrap/Auth.php +++ b/build/integration/features/bootstrap/Auth.php @@ -1,29 +1,8 @@ - * - * @author Christoph Wurst - * @author Daniel Kesselberg - * @author Joas Schilling - * @author Lukas Reschke - * @author Phil Davis - * @author Robin Appelman - * - * @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 . - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ use GuzzleHttp\Client; use GuzzleHttp\Cookie\CookieJar; diff --git a/build/integration/features/bootstrap/Avatar.php b/build/integration/features/bootstrap/Avatar.php index 6b8e5d88092..f05d0372687 100644 --- a/build/integration/features/bootstrap/Avatar.php +++ b/build/integration/features/bootstrap/Avatar.php @@ -1,24 +1,7 @@ - * - * @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 . - * + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ use Behat\Gherkin\Node\TableNode; use PHPUnit\Framework\Assert; diff --git a/build/integration/features/bootstrap/BasicStructure.php b/build/integration/features/bootstrap/BasicStructure.php index e12a40ac6b4..6a1cc7e1ada 100644 --- a/build/integration/features/bootstrap/BasicStructure.php +++ b/build/integration/features/bootstrap/BasicStructure.php @@ -1,35 +1,8 @@ - * - * @author Arthur Schiwon - * @author Christoph Wurst - * @author Daniel Calviño Sánchez - * @author Joas Schilling - * @author John Molakvoæ - * @author Lukas Reschke - * @author Morris Jobke - * @author Robin Appelman - * @author Roeland Jago Douma - * @author Sergio Bertolin - * @author Sergio Bertolín - * @author Thomas Müller - * - * @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 . - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ use Behat\Gherkin\Node\TableNode; use GuzzleHttp\Client; diff --git a/build/integration/features/bootstrap/CalDavContext.php b/build/integration/features/bootstrap/CalDavContext.php index 7f986542d25..a9db5c89d4d 100644 --- a/build/integration/features/bootstrap/CalDavContext.php +++ b/build/integration/features/bootstrap/CalDavContext.php @@ -1,29 +1,8 @@ - * @author Christoph Wurst - * @author Joas Schilling - * @author Lukas Reschke - * @author Phil Davis - * @author Robin Appelman - * @author Richard Steinmetz - * - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope 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, version 3, - * along with this program. If not, see - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only */ require __DIR__ . '/../../vendor/autoload.php'; diff --git a/build/integration/features/bootstrap/CapabilitiesContext.php b/build/integration/features/bootstrap/CapabilitiesContext.php index 4fdfb3e41b0..79ede6ac8ba 100644 --- a/build/integration/features/bootstrap/CapabilitiesContext.php +++ b/build/integration/features/bootstrap/CapabilitiesContext.php @@ -1,30 +1,8 @@ - * - * @author Christoph Wurst - * @author Daniel Calviño Sánchez - * @author Joas Schilling - * @author John Molakvoæ - * @author Robin Appelman - * @author Roeland Jago Douma - * @author Sergio Bertolin - * - * @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 . - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ use Behat\Behat\Context\Context; use Behat\Behat\Context\SnippetAcceptingContext; diff --git a/build/integration/features/bootstrap/CardDavContext.php b/build/integration/features/bootstrap/CardDavContext.php index 80d96215eba..d5694ec619b 100644 --- a/build/integration/features/bootstrap/CardDavContext.php +++ b/build/integration/features/bootstrap/CardDavContext.php @@ -1,27 +1,8 @@ - * @author Joas Schilling - * @author Lukas Reschke - * @author Phil Davis - * @author Robin Appelman - * - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope 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, version 3, - * along with this program. If not, see - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only */ require __DIR__ . '/../../vendor/autoload.php'; diff --git a/build/integration/features/bootstrap/ChecksumsContext.php b/build/integration/features/bootstrap/ChecksumsContext.php index ae44fcb1503..5661015e714 100644 --- a/build/integration/features/bootstrap/ChecksumsContext.php +++ b/build/integration/features/bootstrap/ChecksumsContext.php @@ -1,28 +1,8 @@ - * - * @author Christoph Wurst - * @author Joas Schilling - * @author Phil Davis - * @author Robin Appelman - * @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 . - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ require __DIR__ . '/../../vendor/autoload.php'; diff --git a/build/integration/features/bootstrap/CollaborationContext.php b/build/integration/features/bootstrap/CollaborationContext.php index 00fcbd09b26..854abe98b2f 100644 --- a/build/integration/features/bootstrap/CollaborationContext.php +++ b/build/integration/features/bootstrap/CollaborationContext.php @@ -3,25 +3,8 @@ declare(strict_types=1); /** - * @copyright Copyright (c) 2021, Joas Schilling - * - * @author Joas Schilling - * - * @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 . - * + * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ use Behat\Behat\Context\Context; use Behat\Gherkin\Node\TableNode; diff --git a/build/integration/features/bootstrap/CommandLine.php b/build/integration/features/bootstrap/CommandLine.php index cba254551e0..84b3dfd447f 100644 --- a/build/integration/features/bootstrap/CommandLine.php +++ b/build/integration/features/bootstrap/CommandLine.php @@ -1,27 +1,8 @@ - * @author Joas Schilling - * @author Lukas Reschke - * @author Robin Appelman - * @author Vincent Petry - * - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope 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, version 3, - * along with this program. If not, see - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only */ use PHPUnit\Framework\Assert; diff --git a/build/integration/features/bootstrap/CommandLineContext.php b/build/integration/features/bootstrap/CommandLineContext.php index 8f9cfc7b45a..38bdb54c38d 100644 --- a/build/integration/features/bootstrap/CommandLineContext.php +++ b/build/integration/features/bootstrap/CommandLineContext.php @@ -1,28 +1,8 @@ - * @author Daniel Calviño Sánchez - * @author Lukas Reschke - * @author Stefan Weil - * @author Sujith H - * @author Vincent Petry - * - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope 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, version 3, - * along with this program. If not, see - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only */ require __DIR__ . '/../../vendor/autoload.php'; diff --git a/build/integration/features/bootstrap/CommentsContext.php b/build/integration/features/bootstrap/CommentsContext.php index 0eddf972bc1..8d7b0fe0c2f 100644 --- a/build/integration/features/bootstrap/CommentsContext.php +++ b/build/integration/features/bootstrap/CommentsContext.php @@ -1,28 +1,8 @@ - * @author Joas Schilling - * @author Julius Härtl - * @author Lukas Reschke - * @author Robin Appelman - * @author Roeland Jago Douma - * - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope 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, version 3, - * along with this program. If not, see - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only */ require __DIR__ . '/../../vendor/autoload.php'; diff --git a/build/integration/features/bootstrap/ContactsMenu.php b/build/integration/features/bootstrap/ContactsMenu.php index 0506d827a39..4fc3c03c5e9 100644 --- a/build/integration/features/bootstrap/ContactsMenu.php +++ b/build/integration/features/bootstrap/ContactsMenu.php @@ -1,24 +1,7 @@ - * - * @author Daniel Calviño Sánchez - * - * @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 . - * + * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ use PHPUnit\Framework\Assert; diff --git a/build/integration/features/bootstrap/Download.php b/build/integration/features/bootstrap/Download.php index e5e6dc64853..aa10830427a 100644 --- a/build/integration/features/bootstrap/Download.php +++ b/build/integration/features/bootstrap/Download.php @@ -1,25 +1,7 @@ - * @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 . - * + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ use PHPUnit\Framework\Assert; diff --git a/build/integration/features/bootstrap/FakeSMTPHelper.php b/build/integration/features/bootstrap/FakeSMTPHelper.php index 9d3b5979114..2d90494b82c 100644 --- a/build/integration/features/bootstrap/FakeSMTPHelper.php +++ b/build/integration/features/bootstrap/FakeSMTPHelper.php @@ -1,25 +1,7 @@ - * - * @author Christoph Wurst - * @author Daniel Calviño Sánchez - * - * @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 . - * + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ // Code below modified from https://github.com/axllent/fake-smtp/blob/f0856f8a0df6f4ca5a573cf31428c09ebc5b9ea3/fakeSMTP.php, // which is under the MIT license (https://github.com/axllent/fake-smtp/blob/f0856f8a0df6f4ca5a573cf31428c09ebc5b9ea3/LICENSE) diff --git a/build/integration/features/bootstrap/FeatureContext.php b/build/integration/features/bootstrap/FeatureContext.php index a3a600d6625..638772da0b7 100644 --- a/build/integration/features/bootstrap/FeatureContext.php +++ b/build/integration/features/bootstrap/FeatureContext.php @@ -1,27 +1,8 @@ - * - * @author Daniel Calviño Sánchez - * @author Joas Schilling - * @author Sergio Bertolin - * @author Thomas Müller - * - * @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 . - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ use Behat\Behat\Context\Context; use Behat\Behat\Context\SnippetAcceptingContext; diff --git a/build/integration/features/bootstrap/FederationContext.php b/build/integration/features/bootstrap/FederationContext.php index 423708adc10..03a03ef2fd6 100644 --- a/build/integration/features/bootstrap/FederationContext.php +++ b/build/integration/features/bootstrap/FederationContext.php @@ -1,30 +1,8 @@ - * - * @author Bjoern Schiessle - * @author Christoph Wurst - * @author Daniel Calviño Sánchez - * @author Joas Schilling - * @author Robin Appelman - * @author Sergio Bertolin - * @author Sergio Bertolín - * - * @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 . - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ use Behat\Behat\Context\Context; use Behat\Behat\Context\SnippetAcceptingContext; diff --git a/build/integration/features/bootstrap/FilesDropContext.php b/build/integration/features/bootstrap/FilesDropContext.php index 22eaa639030..b611e55ea0f 100644 --- a/build/integration/features/bootstrap/FilesDropContext.php +++ b/build/integration/features/bootstrap/FilesDropContext.php @@ -1,27 +1,7 @@ - * - * @author Christoph Wurst - * @author Morris Jobke - * @author Robin Appelman - * @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 . - * + * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ use Behat\Behat\Context\Context; use Behat\Behat\Context\SnippetAcceptingContext; diff --git a/build/integration/features/bootstrap/LDAPContext.php b/build/integration/features/bootstrap/LDAPContext.php index fd4a448b5e9..f0181b36c71 100644 --- a/build/integration/features/bootstrap/LDAPContext.php +++ b/build/integration/features/bootstrap/LDAPContext.php @@ -1,27 +1,7 @@ - * - * @author Arthur Schiwon - * @author Christoph Wurst - * @author John Molakvoæ - * @author Robin Appelman - * - * @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 . - * + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ use Behat\Behat\Context\Context; use Behat\Gherkin\Node\TableNode; diff --git a/build/integration/features/bootstrap/Mail.php b/build/integration/features/bootstrap/Mail.php index c2d9e86275c..5e5a75fdc26 100644 --- a/build/integration/features/bootstrap/Mail.php +++ b/build/integration/features/bootstrap/Mail.php @@ -1,24 +1,7 @@ - * - * @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 . - * + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ trait Mail { // CommandLine trait is expected to be used in the class that uses this diff --git a/build/integration/features/bootstrap/Provisioning.php b/build/integration/features/bootstrap/Provisioning.php index 7fb4188f919..2fb1c807cc5 100644 --- a/build/integration/features/bootstrap/Provisioning.php +++ b/build/integration/features/bootstrap/Provisioning.php @@ -1,35 +1,8 @@ - * - * @author Christoph Wurst - * @author Daniel Calviño Sánchez - * @author Joas Schilling - * @author John Molakvoæ - * @author Morris Jobke - * @author Robin Appelman - * @author Roeland Jago Douma - * @author Sergio Bertolin - * @author Sergio Bertolín - * @author Thomas Müller - * @author Vincent Petry - * @author Jonas Meurer - * - * @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 . - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ use GuzzleHttp\Client; use GuzzleHttp\Message\ResponseInterface; diff --git a/build/integration/features/bootstrap/RemoteContext.php b/build/integration/features/bootstrap/RemoteContext.php index a3e5e1b5007..8c6708c4c37 100644 --- a/build/integration/features/bootstrap/RemoteContext.php +++ b/build/integration/features/bootstrap/RemoteContext.php @@ -1,26 +1,7 @@ - * - * @author Joas Schilling - * @author John Molakvoæ - * @author Robin Appelman - * - * @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 . - * + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ use Behat\Behat\Context\Context; use PHPUnit\Framework\Assert; diff --git a/build/integration/features/bootstrap/Search.php b/build/integration/features/bootstrap/Search.php index c9d5f75a1d3..47259be769c 100644 --- a/build/integration/features/bootstrap/Search.php +++ b/build/integration/features/bootstrap/Search.php @@ -1,24 +1,7 @@ - * - * @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 . - * + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ use Behat\Gherkin\Node\TableNode; use PHPUnit\Framework\Assert; diff --git a/build/integration/features/bootstrap/ShareesContext.php b/build/integration/features/bootstrap/ShareesContext.php index 70e78e24929..e152a749bfa 100644 --- a/build/integration/features/bootstrap/ShareesContext.php +++ b/build/integration/features/bootstrap/ShareesContext.php @@ -1,26 +1,8 @@ - * - * @author Arthur Schiwon - * @author Daniel Calviño Sánchez - * @author Joas Schilling - * - * @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 . - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ use Behat\Behat\Context\Context; use Behat\Behat\Context\SnippetAcceptingContext; diff --git a/build/integration/features/bootstrap/Sharing.php b/build/integration/features/bootstrap/Sharing.php index 146b1a35044..5677dd72857 100644 --- a/build/integration/features/bootstrap/Sharing.php +++ b/build/integration/features/bootstrap/Sharing.php @@ -1,35 +1,8 @@ - * - * @author Arthur Schiwon - * @author Christoph Wurst - * @author Daniel Calviño Sánchez - * @author Joas Schilling - * @author John Molakvoæ - * @author Julius Härtl - * @author Lukas Reschke - * @author Robin Appelman - * @author Roeland Jago Douma - * @author Sergio Bertolin - * @author Sergio Bertolín - * @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 . - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ use Behat\Gherkin\Node\TableNode; use GuzzleHttp\Client; diff --git a/build/integration/features/bootstrap/SharingContext.php b/build/integration/features/bootstrap/SharingContext.php index f187e89f08f..97c2a35ad84 100644 --- a/build/integration/features/bootstrap/SharingContext.php +++ b/build/integration/features/bootstrap/SharingContext.php @@ -1,26 +1,7 @@ - * - * @author Christoph Wurst - * @author Daniel Calviño Sánchez - * @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 . - * + * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ use Behat\Behat\Context\Context; use Behat\Behat\Context\SnippetAcceptingContext; diff --git a/build/integration/features/bootstrap/TagsContext.php b/build/integration/features/bootstrap/TagsContext.php index ecef9c08b1e..3a2c0e41744 100644 --- a/build/integration/features/bootstrap/TagsContext.php +++ b/build/integration/features/bootstrap/TagsContext.php @@ -1,30 +1,8 @@ - * @author Joas Schilling - * @author Lukas Reschke - * @author Phil Davis - * @author Robin Appelman - * @author Roeland Jago Douma - * @author Sergio Bertolin - * @author Vincent Petry - * - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope 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, version 3, - * along with this program. If not, see - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only */ require __DIR__ . '/../../vendor/autoload.php'; diff --git a/build/integration/features/bootstrap/TalkContext.php b/build/integration/features/bootstrap/TalkContext.php index 5417c22a058..fe248e1af7c 100644 --- a/build/integration/features/bootstrap/TalkContext.php +++ b/build/integration/features/bootstrap/TalkContext.php @@ -1,24 +1,7 @@ - * - * @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 . - * + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ use Behat\Behat\Context\Context; diff --git a/build/integration/features/bootstrap/Trashbin.php b/build/integration/features/bootstrap/Trashbin.php index 19e9b57c3fb..1b1be71bace 100644 --- a/build/integration/features/bootstrap/Trashbin.php +++ b/build/integration/features/bootstrap/Trashbin.php @@ -1,26 +1,8 @@ - * @author John Molakvoæ - * @author Robin Appelman - * @author Vincent Petry - * - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope 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, version 3, - * along with this program. If not, see - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2017 ownCloud GmbH + * SPDX-License-Identifier: AGPL-3.0-only */ use DMS\PHPUnitExtensions\ArraySubset\Assert as AssertArraySubset; use PHPUnit\Framework\Assert; diff --git a/build/integration/features/bootstrap/WebDav.php b/build/integration/features/bootstrap/WebDav.php index a832e26ec18..c2de207284d 100644 --- a/build/integration/features/bootstrap/WebDav.php +++ b/build/integration/features/bootstrap/WebDav.php @@ -1,36 +1,8 @@ - * - * @author Christoph Wurst - * @author David Toledo - * @author Joas Schilling - * @author John Molakvoæ - * @author Lukas Reschke - * @author Maxence Lange - * @author Morris Jobke - * @author Robin Appelman - * @author Roeland Jago Douma - * @author Sergio Bertolin - * @author Sergio Bertolín - * @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 . - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ use GuzzleHttp\Client as GClient; diff --git a/build/license.php b/build/license.php index 94ef4e4b02c..31b288f36eb 100644 --- a/build/license.php +++ b/build/license.php @@ -1,22 +1,8 @@ - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only */ class Licenses { diff --git a/build/signed-off-checker.php b/build/signed-off-checker.php index 9620309932a..750d4757b07 100644 --- a/build/signed-off-checker.php +++ b/build/signed-off-checker.php @@ -1,24 +1,7 @@ - * - * @author Lukas Reschke - * - * @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 . - * + * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ /** diff --git a/build/translation-checker.php b/build/translation-checker.php index 7bc80d53cdb..ea2fd85ee24 100644 --- a/build/translation-checker.php +++ b/build/translation-checker.php @@ -1,22 +1,7 @@ - * - * @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 . - * + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ $directories = [ diff --git a/build/triple-dot-checker.php b/build/triple-dot-checker.php index 15985a0a95c..d5e67f835f3 100644 --- a/build/triple-dot-checker.php +++ b/build/triple-dot-checker.php @@ -1,25 +1,7 @@ - * @copyright Copyright (c) 2020 Gary Kim - * - * @author Gary Kim - * - * @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 . - * + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ $directories = [ diff --git a/console.php b/console.php index 6bfbf964d94..a4ab13f5e6c 100644 --- a/console.php +++ b/console.php @@ -3,36 +3,9 @@ declare(strict_types=1); /** - * @copyright Copyright (c) 2016, ownCloud, Inc. - * - * @author Bart Visscher - * @author Christoph Wurst - * @author hoellen - * @author J0WI - * @author Joas Schilling - * @author Ko- - * @author Lukas Reschke - * @author Michael Weimann - * @author Morris Jobke - * @author Patrick Paysant - * @author Roeland Jago Douma - * @author Thomas Müller - * @author Victor Dubiniuk - * - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope 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, version 3, - * along with this program. If not, see - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only */ require_once __DIR__ . '/lib/versioncheck.php'; diff --git a/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php b/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php index e90cb73eb42..c6cf833342f 100644 --- a/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php +++ b/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php @@ -3,26 +3,8 @@ declare(strict_types=1); /** - * @copyright 2018 Morris Jobke - * - * @author Christoph Wurst - * @author Morris Jobke - * - * @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 . - * + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace OC\Core\BackgroundJobs; diff --git a/core/BackgroundJobs/CheckForUserCertificates.php b/core/BackgroundJobs/CheckForUserCertificates.php index 123b67099b3..7fa5951d775 100644 --- a/core/BackgroundJobs/CheckForUserCertificates.php +++ b/core/BackgroundJobs/CheckForUserCertificates.php @@ -3,26 +3,8 @@ declare(strict_types=1); /** - * @copyright 2020 Morris Jobke - * - * @author J0WI - * @author Morris Jobke - * - * @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 . - * + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace OC\Core\BackgroundJobs; diff --git a/core/BackgroundJobs/CleanupLoginFlowV2.php b/core/BackgroundJobs/CleanupLoginFlowV2.php index 7a17672f99e..0a95bf91579 100644 --- a/core/BackgroundJobs/CleanupLoginFlowV2.php +++ b/core/BackgroundJobs/CleanupLoginFlowV2.php @@ -3,26 +3,8 @@ declare(strict_types=1); /** - * @copyright Copyright (c) 2019, Roeland Jago Douma - * - * @author J0WI - * @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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace OC\Core\BackgroundJobs; diff --git a/core/BackgroundJobs/GenerateMetadataJob.php b/core/BackgroundJobs/GenerateMetadataJob.php index 65a687649b8..607d4dd7b20 100644 --- a/core/BackgroundJobs/GenerateMetadataJob.php +++ b/core/BackgroundJobs/GenerateMetadataJob.php @@ -2,25 +2,8 @@ declare(strict_types=1); /** - * @copyright Copyright (c) 2023 Louis Chemineau - * - * @author Louis Chemineau - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace OC\Core\BackgroundJobs; diff --git a/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php b/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php index 921f34f5746..01eec5b3ce1 100644 --- a/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php +++ b/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php @@ -3,25 +3,8 @@ declare(strict_types=1); /** - * @copyright Copyright (c) 2021 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 . - * + * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ namespace OC\Core\BackgroundJobs; diff --git a/core/css/apps.scss b/core/css/apps.scss index 27399d55928..124a46be20f 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -1,19 +1,7 @@ /** - * @copyright Copyright (c) 2016-2017, John Molakvoæ - * @copyright Copyright (c) 2016, Julius Haertl - * @copyright Copyright (c) 2016, Morris Jobke - * @copyright Copyright (c) 2016, pgys - * @copyright Copyright (c) 2016, Lukas Reschke - * @copyright Copyright (c) 2016, Stefan Weil - * @copyright Copyright (c) 2016, Roeland Jago Douma - * @copyright Copyright (c) 2016, jowi - * @copyright Copyright (c) 2015, Hendrik Leppelsack - * @copyright Copyright (c) 2015, Thomas Müller - * @copyright Copyright (c) 2015, Vincent Petry - * @copyright Copyright (c) 2014-2017, Jan-Christoph Borchardt - * - * @license GNU AGPL version 3 or any later version - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ @use 'variables'; @use 'sass:math'; diff --git a/core/css/exception.scss b/core/css/exception.scss index cce6daa13e7..2c98a6c826d 100644 --- a/core/css/exception.scss +++ b/core/css/exception.scss @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2024 Richard Steinmetz - * - * @author Richard Steinmetz - * - * @license AGPL-3.0-or-later - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - * + * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ li { diff --git a/core/css/fixes.scss b/core/css/fixes.scss index 6cb6b4069ad..8cd4dd1c084 100644 --- a/core/css/fixes.scss +++ b/core/css/fixes.scss @@ -1,3 +1,7 @@ +/** + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ /* ---- BROWSER-SPECIFIC FIXES ---- */ /* remove dotted outlines in Firefox */ diff --git a/core/css/functions.scss b/core/css/functions.scss index 62cd200a098..e4a37068a97 100644 --- a/core/css/functions.scss +++ b/core/css/functions.scss @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com) - * - * @author John Molakvoæ (skjnldsv) - * - * @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 . - * + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ /** diff --git a/core/css/global.scss b/core/css/global.scss index d2b0526c09c..7b517cd414a 100644 --- a/core/css/global.scss +++ b/core/css/global.scss @@ -1,6 +1,9 @@ -/* Copyright (c) 2015, Raghu Nayyar, http://raghunayyar.com - This file is licensed under the Affero General Public License version 3 or later. - See the COPYING-README file. */ +/** + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2015 Raghu Nayyar, http://raghunayyar.com + * SPDX-License-Identifier: AGPL-3.0-or-later + */ /* Global Components */ diff --git a/core/css/guest.scss b/core/css/guest.scss index 7669ff01588..ba87c7ff4b3 100644 --- a/core/css/guest.scss +++ b/core/css/guest.scss @@ -1,9 +1,8 @@ -/* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net - * SPDX-FileCopyrightText: 2022 Carl Schwan - * SPDX-FileCopyrightText: Richard Steinmetz - This file is licensed under the Affero General Public License version 3 or later. - See the COPYING-README file. */ - +/** + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later + */ @import 'animations.scss'; $guest-container-padding: 16px; diff --git a/core/css/header.scss b/core/css/header.scss index eb7c4e8dcf4..0d13f9847e5 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -1,16 +1,7 @@ /** - * @copyright Copyright (c) 2016, John Molakvoæ - * @copyright Copyright (c) 2016, Julius Haertl - * @copyright Copyright (c) 2016, Lukas Reschke - * @copyright Copyright (c) 2016, Jos Poortvliet - * @copyright Copyright (c) 2016, Erik Pellikka - * @copyright Copyright (c) 2016, jowi - * @copyright Copyright (c) 2015, Hendrik Leppelsack - * @copyright Copyright (c) 2015, Volker E - * @copyright Copyright (c) 2014-2017, Jan-Christoph Borchardt - * - * @license GNU AGPL version 3 or any later version - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ @use 'variables'; diff --git a/core/css/icons.scss b/core/css/icons.scss index 710dd6b0287..eacd16b1994 100644 --- a/core/css/icons.scss +++ b/core/css/icons.scss @@ -1,30 +1,6 @@ /** - * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com) - * - * @author John Molakvoæ (skjnldsv) - * @author Joas Schilling - * @author Lukas Reschke - * @author Roeland Jago Douma - * @author Vincent Chan - * @author Thomas Müller - * @author Hendrik Leppelsack - * @author Jan-Christoph Borchardt - * - * @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 . - * + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ @use 'variables'; @import 'functions'; diff --git a/core/css/inputs.scss b/core/css/inputs.scss index 35b433e70c9..bbf83e6c04b 100644 --- a/core/css/inputs.scss +++ b/core/css/inputs.scss @@ -1,15 +1,7 @@ /** - * @copyright Copyright (c) 2016, John Molakvoæ - * @copyright Copyright (c) 2016, Morris Jobke - * @copyright Copyright (c) 2016, Joas Schilling - * @copyright Copyright (c) 2016, Julius Haertl - * @copyright Copyright (c) 2016, jowi - * @copyright Copyright (c) 2015, Joas Schilling - * @copyright Copyright (c) 2015, Hendrik Leppelsack - * @copyright Copyright (c) 2014-2017, Jan-Christoph Borchardt - * - * @license GNU AGPL version 3 or any later version - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ @use 'variables'; @import 'functions'; diff --git a/core/css/mobile.scss b/core/css/mobile.scss index 4ea28799786..a16c200320e 100644 --- a/core/css/mobile.scss +++ b/core/css/mobile.scss @@ -1,3 +1,7 @@ +/** + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ @use 'variables'; @media only screen and (width < variables.$breakpoint-mobile) { diff --git a/core/css/public.scss b/core/css/public.scss index 11f72dc10f0..cd709928f83 100644 --- a/core/css/public.scss +++ b/core/css/public.scss @@ -1,3 +1,7 @@ +/** + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ $footer-height: 65px; #body-public { diff --git a/core/css/server.scss b/core/css/server.scss index 1a0ed054a12..c2abf5eeb27 100644 --- a/core/css/server.scss +++ b/core/css/server.scss @@ -1,3 +1,7 @@ +/** + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ @import 'styles.scss'; @import 'inputs.scss'; @import 'header.scss'; diff --git a/core/css/styles.scss b/core/css/styles.scss index 17cf7f8e514..030d8a86527 100644 --- a/core/css/styles.scss +++ b/core/css/styles.scss @@ -1,17 +1,7 @@ /** - * @copyright Copyright (c) 2016, John Molakvoæ - * @copyright Copyright (c) 2016, Lukas Reschke - * @copyright Copyright (c) 2016, Robin Appelman - * @copyright Copyright (c) 2016, Julius Haertl - * @copyright Copyright (c) 2016, Joas Schilling - * @copyright Copyright (c) 2016, Morris Jobke - * @copyright Copyright (c) 2016, Christoph Wurst - * @copyright Copyright (c) 2016, Raghu Nayyar - * @copyright Copyright (c) 2011-2017, Jan-Christoph Borchardt - * @copyright Copyright (c) 2019-2020, Gary Kim - * - * @license GNU AGPL version 3 or any later version - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ @use 'sass:math'; @use 'variables'; diff --git a/core/css/systemtags.scss b/core/css/systemtags.scss index c159db8322e..939ac932ffc 100644 --- a/core/css/systemtags.scss +++ b/core/css/systemtags.scss @@ -1,13 +1,7 @@ /** - * @copyright Copyright (c) 2016, John Molakvoæ - * @copyright Copyright (c) 2016, Robin Appelman - * @copyright Copyright (c) 2016, Jan-Christoph Borchardt - * @copyright Copyright (c) 2016, Vincent Petry - * @copyright Copyright (c) 2016, Erik Pellikka - * @copyright Copyright (c) 2015, Vincent Petry - * - * @license GNU AGPL version 3 or any later version - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ .systemtags-select2-dropdown { diff --git a/core/css/toast.scss b/core/css/toast.scss index 83b2d6b6a4e..95e64a9094f 100644 --- a/core/css/toast.scss +++ b/core/css/toast.scss @@ -1,3 +1,7 @@ +/** + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ @use 'variables'; @import 'functions'; diff --git a/core/css/tooltip.scss b/core/css/tooltip.scss index e906cf0fd8b..7c84124b252 100644 --- a/core/css/tooltip.scss +++ b/core/css/tooltip.scss @@ -1,13 +1,7 @@ /** - * @copyright Copyright (c) 2016, John Molakvoæ - * @copyright Copyright (c) 2016, Robin Appelman - * @copyright Copyright (c) 2016, Jan-Christoph Borchardt - * @copyright Copyright (c) 2016, Erik Pellikka - * @copyright Copyright (c) 2015, Vincent Petry - * - * Bootstrap (http://getbootstrap.com) - * Copyright 2011-2015 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2011-2015 Twitter, Inc. (Bootstrap (http://getbootstrap.com)) + * SPDX-License-Identifier: MIT */ .tooltip { diff --git a/core/css/variables.scss b/core/css/variables.scss index ae41f194bd2..8d802a7dc8f 100644 --- a/core/css/variables.scss +++ b/core/css/variables.scss @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com) - * - * @author John Molakvoæ (skjnldsv) - * - * @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 . - * + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ // SCSS darken/lighten function override @function nc-darken($color, $value) { diff --git a/core/css/whatsnew.scss b/core/css/whatsnew.scss index 99d99ded691..beadf3a2f24 100644 --- a/core/css/whatsnew.scss +++ b/core/css/whatsnew.scss @@ -1,10 +1,7 @@ /** - * @copyright Copyright (c) 2018, Arthur Schiwon - * - * @license GNU AGPL version 3 or any later version - * + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ - .whatsNewPopover { bottom: 35px !important; left: 15px !important; diff --git a/core/js/backgroundjobs.js b/core/js/backgroundjobs.js index f5061357f5c..ec5ae24d262 100644 --- a/core/js/backgroundjobs.js +++ b/core/js/backgroundjobs.js @@ -1,24 +1,8 @@ /** -* ownCloud -* -* @author Jakob Sack -* @copyright 2012 Jakob Sack owncloud@jakobsack.de -* -* 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 . -* -*/ - + * SPDX-FileCopyrightText: 2012 Jakob Sack owncloud@jakobsack.de + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + // start worker once page has loaded window.addEventListener('DOMContentLoaded', function(){ $.get( OC.getRootPath()+'/cron.php' ); diff --git a/core/js/login/authpicker.js b/core/js/login/authpicker.js index 1a94b02d72f..10b5d716d6a 100644 --- a/core/js/login/authpicker.js +++ b/core/js/login/authpicker.js @@ -1,3 +1,7 @@ +/** + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ jQuery(document).ready(function() { $('#app-token-login').click(function (e) { e.preventDefault(); diff --git a/core/js/login/grant.js b/core/js/login/grant.js index c4d49505059..a8c788397a8 100644 --- a/core/js/login/grant.js +++ b/core/js/login/grant.js @@ -1,3 +1,7 @@ +/** + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ document.querySelector('form').addEventListener('submit', function(e) { const wrapper = document.getElementById('submit-wrapper') if (wrapper === null) { diff --git a/core/js/mimetype.js b/core/js/mimetype.js index 13a7ba6f6e5..3c1396004de 100644 --- a/core/js/mimetype.js +++ b/core/js/mimetype.js @@ -1,21 +1,7 @@ /** - * @author Roeland Jago Douma - * - * @copyright Copyright (c) 2015, ownCloud, Inc. - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope 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, version 3, - * along with this program. If not, see - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2015 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only */ /** diff --git a/core/js/public/publicpage.js b/core/js/public/publicpage.js index adb1c4dd2fc..af473045413 100644 --- a/core/js/public/publicpage.js +++ b/core/js/public/publicpage.js @@ -1,23 +1,6 @@ -/* - * @copyright Copyright (c) 2018 Julius Härtl - * - * @author Julius Härtl - * - * @license AGPL-3.0-or-later - * - * 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 . - * +/** + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ window.addEventListener('DOMContentLoaded', function () { diff --git a/core/js/publicshareauth.js b/core/js/publicshareauth.js index 3d694c7bfd6..3408e6d7560 100644 --- a/core/js/publicshareauth.js +++ b/core/js/publicshareauth.js @@ -1,3 +1,7 @@ +/** + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ function showEmailAddressPromptForm() { // Shows email prompt var emailInput = document.getElementById('email-input-form'); diff --git a/core/js/select2-toggleselect.js b/core/js/select2-toggleselect.js index 4fada592a3b..286a57cae45 100644 --- a/core/js/select2-toggleselect.js +++ b/core/js/select2-toggleselect.js @@ -1,11 +1,6 @@ -/* - * Copyright (c) 2015 - * - * This file is licensed under the Affero General Public License version 3 - * or later. - * - * See the COPYING-README file. - * +/** + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* global Select2 */ diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index fd27dbc0791..fc4d4ff6969 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -1,11 +1,7 @@ -/* - * Copyright (c) 2014 - * - * This file is licensed under the Affero General Public License version 3 - * or later. - * - * See the COPYING-README file. - * +/** + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2014-2016 ownCloud Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ (function() { diff --git a/core/js/tests/html-domparser.js b/core/js/tests/html-domparser.js index ea22f9b8752..b0bb4e62718 100644 --- a/core/js/tests/html-domparser.js +++ b/core/js/tests/html-domparser.js @@ -1,10 +1,13 @@ -/* +/** * DOMParser HTML extension * 2012-09-04 * * By Eli Grey, http://eligrey.com * Public domain. * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. + * + * SPDX-FileCopyrightText: 2012 Eli Grey, http://eligrey.com + * SPDX-License-Identifier: CC0-1.0 */ /*! @source https://gist.github.com/1129031 */ diff --git a/core/js/tests/specHelper.js b/core/js/tests/specHelper.js index d2afe2b67cf..8d121a2fb38 100644 --- a/core/js/tests/specHelper.js +++ b/core/js/tests/specHelper.js @@ -1,23 +1,8 @@ /** -* 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 . -* -*/ + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2014 ownCloud Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later + */ /** * Simulate the variables that are normally set by PHP code diff --git a/core/js/tests/specs/coreSpec.js b/core/js/tests/specs/coreSpec.js index 8b689fbcecf..a7f55d1cf39 100644 --- a/core/js/tests/specs/coreSpec.js +++ b/core/js/tests/specs/coreSpec.js @@ -1,23 +1,8 @@ /** -* 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 . -* -*/ + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2014 ownCloud Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later + */ describe('Core base tests', function() { var debounceStub diff --git a/core/js/tests/specs/files/clientSpec.js b/core/js/tests/specs/files/clientSpec.js index 94d52bebacf..105af079ced 100644 --- a/core/js/tests/specs/files/clientSpec.js +++ b/core/js/tests/specs/files/clientSpec.js @@ -1,23 +1,8 @@ /** -* 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 . -* -*/ + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later + */ /* global dav */ diff --git a/core/js/tests/specs/jquery.avatarSpec.js b/core/js/tests/specs/jquery.avatarSpec.js index 420c72d2e9b..c01cd9b9603 100644 --- a/core/js/tests/specs/jquery.avatarSpec.js +++ b/core/js/tests/specs/jquery.avatarSpec.js @@ -1,11 +1,7 @@ /** - * Copyright (c) 2015 Roeland Jago Douma - * - * This file is licensed under the Affero General Public License version 3 - * or later. - * - * See the COPYING-README file. - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ describe('jquery.avatar tests', function() { diff --git a/core/js/tests/specs/jquery.contactsmenuSpec.js b/core/js/tests/specs/jquery.contactsmenuSpec.js index fb2514eb0de..62aaef89edc 100644 --- a/core/js/tests/specs/jquery.contactsmenuSpec.js +++ b/core/js/tests/specs/jquery.contactsmenuSpec.js @@ -1,11 +1,6 @@ /** - * Copyright (c) 2017 Georg Ehrke - * - * This file is licensed under the Affero General Public License version 3 - * or later. - * - * See the COPYING-README file. - * + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ describe('jquery.contactsMenu tests', function() { diff --git a/core/js/tests/specs/jquery.placeholderSpec.js b/core/js/tests/specs/jquery.placeholderSpec.js index 4937b99625f..436defdd703 100644 --- a/core/js/tests/specs/jquery.placeholderSpec.js +++ b/core/js/tests/specs/jquery.placeholderSpec.js @@ -1,11 +1,6 @@ /** - * Copyright (c) 2019 Serhii Shliakhov - * - * This file is licensed under the Affero General Public License version 3 - * or later. - * - * See the COPYING-README file. - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ describe('jquery.placeholder tests', function() { diff --git a/core/js/tests/specs/l10nSpec.js b/core/js/tests/specs/l10nSpec.js index c1d596badf6..03f7fd50796 100644 --- a/core/js/tests/specs/l10nSpec.js +++ b/core/js/tests/specs/l10nSpec.js @@ -1,11 +1,7 @@ /** - * Copyright (c) 2014 Vincent Petry - * - * This file is licensed under the Affero General Public License version 3 - * or later. - * - * See the COPYING-README file. - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2014 ownCloud Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ describe('OC.L10N tests', function() { diff --git a/core/js/tests/specs/mimeTypeSpec.js b/core/js/tests/specs/mimeTypeSpec.js index c9497a7c574..4fe5481541d 100644 --- a/core/js/tests/specs/mimeTypeSpec.js +++ b/core/js/tests/specs/mimeTypeSpec.js @@ -1,21 +1,7 @@ /** - * @author Roeland Jago Douma - * - * @copyright Copyright (c) 2015, ownCloud, Inc. - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope 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, version 3, - * along with this program. If not, see - * + * SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-License-Identifier: AGPL-3.0-only */ describe('MimeType tests', function() { diff --git a/core/js/tests/specs/oc-backbone-webdavSpec.js b/core/js/tests/specs/oc-backbone-webdavSpec.js index 6f48d0c92d2..bf4d6eef6ca 100644 --- a/core/js/tests/specs/oc-backbone-webdavSpec.js +++ b/core/js/tests/specs/oc-backbone-webdavSpec.js @@ -1,23 +1,8 @@ /** -* 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 . -* -*/ + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2014 ownCloud Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later + */ /* global dav */ diff --git a/core/js/tests/specs/public/commentsSpec.js b/core/js/tests/specs/public/commentsSpec.js index e77947bea9d..6e15ddca6a7 100644 --- a/core/js/tests/specs/public/commentsSpec.js +++ b/core/js/tests/specs/public/commentsSpec.js @@ -1,20 +1,7 @@ /** -* @copyright 2018 Joas Schilling -* -* 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 . -* -*/ + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ describe('OCP.Comments tests', function() { function dataProvider() { diff --git a/core/js/tests/specs/setupchecksSpec.js b/core/js/tests/specs/setupchecksSpec.js index dc5db7602ff..9f75ad501d1 100644 --- a/core/js/tests/specs/setupchecksSpec.js +++ b/core/js/tests/specs/setupchecksSpec.js @@ -1,11 +1,7 @@ /** - * Copyright (c) 2015 Lukas Reschke - * - * This file is licensed under the Affero General Public License version 3 - * or later. - * - * See the COPYING-README file. - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ describe('OC.SetupChecks tests', function() { diff --git a/core/js/tests/specs/systemtags/systemtagsSpec.js b/core/js/tests/specs/systemtags/systemtagsSpec.js index 376a25c7d83..52fe954f454 100644 --- a/core/js/tests/specs/systemtags/systemtagsSpec.js +++ b/core/js/tests/specs/systemtags/systemtagsSpec.js @@ -1,23 +1,8 @@ /** -* ownCloud -* -* @author Joas Schilling -* @copyright 2016 Joas Schilling -* -* 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 . -* -*/ + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later + */ describe('OC.SystemTags tests', function() { it('describes non existing tag', function() { diff --git a/core/js/tests/specs/systemtags/systemtagscollectionSpec.js b/core/js/tests/specs/systemtags/systemtagscollectionSpec.js index 6f2d8361754..f2a3bd067a5 100644 --- a/core/js/tests/specs/systemtags/systemtagscollectionSpec.js +++ b/core/js/tests/specs/systemtags/systemtagscollectionSpec.js @@ -1,23 +1,7 @@ /** -* 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 . -* -*/ + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later + */ describe('OC.SystemTags.SystemTagsCollection tests', function() { var collection; diff --git a/core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js b/core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js index b69054e647e..988bcfc8c24 100644 --- a/core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js +++ b/core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js @@ -1,23 +1,8 @@ /** -* 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 . -* -*/ + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later + */ describe('OC.SystemTags.SystemTagsInputField tests', function() { var view, select2Stub, clock; diff --git a/core/js/update.js b/core/js/update.js index 2132dc9c578..419ab65449f 100644 --- a/core/js/update.js +++ b/core/js/update.js @@ -1,11 +1,7 @@ -/* - * Copyright (c) 2014 - * - * This file is licensed under the Affero General Public License version 3 - * or later. - * - * See the COPYING-README file. - * +/** + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2014 ownCloud Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ (function() { diff --git a/core/src/OC/admin.js b/core/src/OC/admin.js index 5c939415266..d29e4cf676b 100644 --- a/core/src/OC/admin.js +++ b/core/src/OC/admin.js @@ -1,24 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ const isAdmin = !!window._oc_isadmin diff --git a/core/src/OC/appconfig.js b/core/src/OC/appconfig.js index 551259bd46c..350ffc3f21c 100644 --- a/core/src/OC/appconfig.js +++ b/core/src/OC/appconfig.js @@ -1,28 +1,7 @@ /** - * @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 AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2014 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* eslint-disable */ diff --git a/core/src/OC/apps.js b/core/src/OC/apps.js index 9f0ae217526..dec2b94bfbb 100644 --- a/core/src/OC/apps.js +++ b/core/src/OC/apps.js @@ -1,24 +1,7 @@ /** - * @copyright Bernhard Posselt 2014 - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2014 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ import $ from 'jquery' diff --git a/core/src/OC/appswebroots.js b/core/src/OC/appswebroots.js index ec2420eeed5..debbd2084bf 100644 --- a/core/src/OC/appswebroots.js +++ b/core/src/OC/appswebroots.js @@ -1,23 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ 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 ab234e22005..318c50e8ee5 100644 --- a/core/src/OC/backbone-webdav.js +++ b/core/src/OC/backbone-webdav.js @@ -1,25 +1,6 @@ /** - * Copyright (c) 2015 - * - * @author Christoph Wurst - * @author John Molakvoæ - * @author Julius Härtl - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* eslint-disable */ diff --git a/core/src/OC/backbone.js b/core/src/OC/backbone.js index 5d93ce21428..08520e278f6 100644 --- a/core/src/OC/backbone.js +++ b/core/src/OC/backbone.js @@ -1,24 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import VendorBackbone from 'backbone' diff --git a/core/src/OC/capabilities.js b/core/src/OC/capabilities.js index 72a71d7c743..10623229625 100644 --- a/core/src/OC/capabilities.js +++ b/core/src/OC/capabilities.js @@ -1,25 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * @author Roeland Jago Douma - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import { getCapabilities as realGetCapabilities } from '@nextcloud/capabilities' diff --git a/core/src/OC/config.js b/core/src/OC/config.js index 702105a4836..c47df61f6e6 100644 --- a/core/src/OC/config.js +++ b/core/src/OC/config.js @@ -1,23 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ const config = window._oc_config || {} diff --git a/core/src/OC/constants.js b/core/src/OC/constants.js index f2ba7bf7a97..5298107e94d 100644 --- a/core/src/OC/constants.js +++ b/core/src/OC/constants.js @@ -1,24 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ export const coreApps = ['', 'admin', 'log', 'core/search', 'core', '3rdparty'] diff --git a/core/src/OC/currentuser.js b/core/src/OC/currentuser.js index c6e8a8ee62c..a022698eab0 100644 --- a/core/src/OC/currentuser.js +++ b/core/src/OC/currentuser.js @@ -1,24 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author Joas Schilling - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ const rawUid = document diff --git a/core/src/OC/debug.js b/core/src/OC/debug.js index 25a6eae9597..52a9ef28145 100644 --- a/core/src/OC/debug.js +++ b/core/src/OC/debug.js @@ -1,23 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ const base = window._oc_debug diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js index 462982b7a60..fb203f31d28 100644 --- a/core/src/OC/dialogs.js +++ b/core/src/OC/dialogs.js @@ -1,46 +1,7 @@ /** - * @copyright 2019 Christoph Wurst - * @copyright Copyright (c) 2019 Gary Kim - * - * @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 AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2015 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* eslint-disable */ diff --git a/core/src/OC/eventsource.js b/core/src/OC/eventsource.js index 940b25655e4..bdafa364beb 100644 --- a/core/src/OC/eventsource.js +++ b/core/src/OC/eventsource.js @@ -1,29 +1,7 @@ /** - * @copyright 2012 Robin Appelman icewind1991@gmail.com - * - * @author Arthur Schiwon - * @author Christoph Wurst - * @author John Molakvoæ - * @author Lukas Reschke - * @author Robin Appelman - * @author Thomas Müller - * @author Vincent Petry - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2015 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ /* eslint-disable */ diff --git a/core/src/OC/get_set.js b/core/src/OC/get_set.js index 32f202ad35b..0c909ad04fd 100644 --- a/core/src/OC/get_set.js +++ b/core/src/OC/get_set.js @@ -1,24 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ export const get = context => name => { diff --git a/core/src/OC/host.js b/core/src/OC/host.js index 31f13d01a7f..75c7d63804b 100644 --- a/core/src/OC/host.js +++ b/core/src/OC/host.js @@ -1,24 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ export const getProtocol = () => window.location.protocol.split(':')[0] diff --git a/core/src/OC/index.js b/core/src/OC/index.js index 33dd45a17ee..eff3289308a 100644 --- a/core/src/OC/index.js +++ b/core/src/OC/index.js @@ -1,25 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * @author Roeland Jago Douma - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import { subscribe } from '@nextcloud/event-bus' diff --git a/core/src/OC/l10n.js b/core/src/OC/l10n.js index b04d4bf9fba..83fea41a16a 100644 --- a/core/src/OC/l10n.js +++ b/core/src/OC/l10n.js @@ -1,30 +1,8 @@ /** - * Copyright (c) 2014 Vincent Petry - * Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) - * - * @author Christoph Wurst - * @author Daniel Kesselberg - * @author Joas Schilling - * @author John Molakvoæ - * @author Morris Jobke - * @author Roeland Jago Douma - * @author Vincent Petry - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2014 ownCloud, Inc. + * SPDX-FileCopyrightText: 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * SPDX-License-Identifier: AGPL-3.0-or-later */ import Handlebars from 'handlebars' diff --git a/core/src/OC/menu.js b/core/src/OC/menu.js index efa917decd2..87ec5327047 100644 --- a/core/src/OC/menu.js +++ b/core/src/OC/menu.js @@ -1,25 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author Daniel Calviño Sánchez - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import _ from 'underscore' diff --git a/core/src/OC/msg.js b/core/src/OC/msg.js index ef6f9ec0f09..655631a03ff 100644 --- a/core/src/OC/msg.js +++ b/core/src/OC/msg.js @@ -1,25 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * @author rakekniven - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import $ from 'jquery' diff --git a/core/src/OC/navigation.js b/core/src/OC/navigation.js index 2102c37b3f5..b279b9a60f3 100644 --- a/core/src/OC/navigation.js +++ b/core/src/OC/navigation.js @@ -1,24 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ export const redirect = targetURL => { window.location = targetURL } diff --git a/core/src/OC/notification.js b/core/src/OC/notification.js index 949df6a519c..817620e9634 100644 --- a/core/src/OC/notification.js +++ b/core/src/OC/notification.js @@ -1,28 +1,6 @@ /** - * @copyright 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 AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import _ from 'underscore' diff --git a/core/src/OC/password-confirmation.js b/core/src/OC/password-confirmation.js index 210d6b1e5c1..621f7a0695f 100644 --- a/core/src/OC/password-confirmation.js +++ b/core/src/OC/password-confirmation.js @@ -1,25 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * @author Roeland Jago Douma - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import { confirmPassword, isPasswordConfirmationRequired } from '@nextcloud/password-confirmation' diff --git a/core/src/OC/plugins.js b/core/src/OC/plugins.js index 4425c118589..8212fc0b4ee 100644 --- a/core/src/OC/plugins.js +++ b/core/src/OC/plugins.js @@ -1,24 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ export default { diff --git a/core/src/OC/query-string.js b/core/src/OC/query-string.js index 56bf85186fb..57aef7a6850 100644 --- a/core/src/OC/query-string.js +++ b/core/src/OC/query-string.js @@ -1,25 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * @author Roeland Jago Douma - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import $ from 'jquery' diff --git a/core/src/OC/requesttoken.js b/core/src/OC/requesttoken.js index eba15e88e08..ed89af59c17 100644 --- a/core/src/OC/requesttoken.js +++ b/core/src/OC/requesttoken.js @@ -1,24 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import { emit } from '@nextcloud/event-bus' diff --git a/core/src/OC/routing.js b/core/src/OC/routing.js index 8752aa3883e..4b81714d6f0 100644 --- a/core/src/OC/routing.js +++ b/core/src/OC/routing.js @@ -1,25 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * @author Roeland Jago Douma - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import { diff --git a/core/src/OC/theme.js b/core/src/OC/theme.js index b7fcfd8ce4d..af45c37de7e 100644 --- a/core/src/OC/theme.js +++ b/core/src/OC/theme.js @@ -1,23 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ export const theme = window._theme || {} diff --git a/core/src/OC/util-history.js b/core/src/OC/util-history.js index d18b8743936..eb4ddb185c8 100644 --- a/core/src/OC/util-history.js +++ b/core/src/OC/util-history.js @@ -1,24 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import _ from 'underscore' diff --git a/core/src/OC/util.js b/core/src/OC/util.js index f0dd7e0ac14..c46d9a141b1 100644 --- a/core/src/OC/util.js +++ b/core/src/OC/util.js @@ -1,24 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import moment from 'moment' diff --git a/core/src/OC/webroot.js b/core/src/OC/webroot.js index f5d063d6b50..cbe5a6190e1 100644 --- a/core/src/OC/webroot.js +++ b/core/src/OC/webroot.js @@ -1,23 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ let webroot = window._oc_webroot diff --git a/core/src/OC/xhr-error.js b/core/src/OC/xhr-error.js index a346daa6984..f7dda747e67 100644 --- a/core/src/OC/xhr-error.js +++ b/core/src/OC/xhr-error.js @@ -1,24 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import _ from 'underscore' diff --git a/core/src/OCA/index.js b/core/src/OCA/index.js index f49f0319a9c..cf5c29ce60a 100644 --- a/core/src/OCA/index.js +++ b/core/src/OCA/index.js @@ -1,23 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ /** diff --git a/core/src/OCP/accessibility.js b/core/src/OCP/accessibility.js index d318d3497c4..4a1399f3f96 100644 --- a/core/src/OCP/accessibility.js +++ b/core/src/OCP/accessibility.js @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2022 Joas Schilling - * - * @author Joas Schilling - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import { loadState } from '@nextcloud/initial-state' diff --git a/core/src/OCP/appconfig.js b/core/src/OCP/appconfig.js index 5bd8ca9efae..78f94922d53 100644 --- a/core/src/OCP/appconfig.js +++ b/core/src/OCP/appconfig.js @@ -1,24 +1,7 @@ /** - * @copyright Copyright (c) 2016 Joas Schilling - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ import $ from 'jquery' diff --git a/core/src/OCP/collaboration.js b/core/src/OCP/collaboration.js index 2e49cebe9f1..a0c36d0762b 100644 --- a/core/src/OCP/collaboration.js +++ b/core/src/OCP/collaboration.js @@ -1,24 +1,6 @@ /** - * @copyright Copyright (c) 2018 Julius Härtl - * - * @author John Molakvoæ - * @author Julius Härtl - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import escapeHTML from 'escape-html' diff --git a/core/src/OCP/comments.js b/core/src/OCP/comments.js index 9e182aeef3e..34699a477d1 100644 --- a/core/src/OCP/comments.js +++ b/core/src/OCP/comments.js @@ -1,24 +1,6 @@ /** - * @copyright (c) 2017 Arthur Schiwon - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import $ from 'jquery' diff --git a/core/src/OCP/index.js b/core/src/OCP/index.js index aee37d17030..94f4e8e5eb3 100644 --- a/core/src/OCP/index.js +++ b/core/src/OCP/index.js @@ -1,25 +1,6 @@ /** - * @copyright Copyright (c) 2016 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * @author Julius Härtl - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import { loadState } from '@nextcloud/initial-state' diff --git a/core/src/OCP/loader.js b/core/src/OCP/loader.js index 6e58208a849..7b4e87dd9b4 100644 --- a/core/src/OCP/loader.js +++ b/core/src/OCP/loader.js @@ -1,25 +1,6 @@ /** - * @copyright Copyright (c) 2018 Julius Härtl - * - * @author Christoph Wurst - * @author John Molakvoæ - * @author Julius Härtl - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ const loadedScripts = {} diff --git a/core/src/OCP/toast.js b/core/src/OCP/toast.js index 40c46aa8f51..ae074aabda2 100644 --- a/core/src/OCP/toast.js +++ b/core/src/OCP/toast.js @@ -1,24 +1,6 @@ /** - * @copyright Copyright (c) 2019 Julius Härtl - * - * @author Christoph Wurst - * @author Julius Härtl - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import { diff --git a/core/src/OCP/whatsnew.js b/core/src/OCP/whatsnew.js index aafe1740e0d..acada6a8383 100644 --- a/core/src/OCP/whatsnew.js +++ b/core/src/OCP/whatsnew.js @@ -1,24 +1,6 @@ /** - * @copyright (c) 2017 Arthur Schiwon - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import _ from 'underscore' diff --git a/core/src/Util/a11y.js b/core/src/Util/a11y.js index 550ae375e02..2eb753b3faf 100644 --- a/core/src/Util/a11y.js +++ b/core/src/Util/a11y.js @@ -1,23 +1,6 @@ /** - * @copyright 2022 Christopher Ng - * - * @author Christopher Ng - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ /** diff --git a/core/src/Util/get-url-parameter.js b/core/src/Util/get-url-parameter.js index 00fa66a9eb3..52105f9c7fa 100644 --- a/core/src/Util/get-url-parameter.js +++ b/core/src/Util/get-url-parameter.js @@ -1,24 +1,6 @@ /** - * @copyright 2019 Christoph Wurst - * - * @author Christoph Wurst - * @author John Molakvoæ - * - * @license AGPL-3.0-or-later - * - * 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 . - * + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ /** diff --git a/core/src/components/AppMenu.vue b/core/src/components/AppMenu.vue index d6e5c9826dc..a9bce0dcea3 100644 --- a/core/src/components/AppMenu.vue +++ b/core/src/components/AppMenu.vue @@ -1,23 +1,7 @@ + - SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors + - SPDX-License-Identifier: AGPL-3.0-or-later +-->