Skip to content

Commit

Permalink
Merge pull request #45549 from nextcloud/chore/noid/spdx-batch7
Browse files Browse the repository at this point in the history
Add SPDX header - batch 7
  • Loading branch information
AndyScherzinger committed May 28, 2024
2 parents 236c949 + a4244f7 commit ddb840c
Show file tree
Hide file tree
Showing 246 changed files with 765 additions and 4,096 deletions.
8 changes: 4 additions & 4 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Files: tests/data/testimage-wide.png tests/data/testimage.eps tests/data/testima
Copyright: 2015 ownCloud, Inc.
License: AGPL-3.0-only

Files: tests/data/testapp.zip tests/data/testapp2.zip tests/docker/mariadb/oc.cnf
Files: tests/data/testapp.zip tests/data/testapp2.zip tests/docker/mariadb/oc.cnf apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/reports/put/1.txt apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/reports/put/2.txt apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/reports/put/3.txt apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/reports/put/4.txt apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/reports/put/5.txt apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/reports/put/6.txt apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/sharing/calendars/read-write/5.ics apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/sharing/calendars/read-write/6.ics apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/sharing/calendars/read-write/7.ics apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/sharing/calendars/read-write/8.ics apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/sharing/calendars/read-write/9.ics apps/dav/tests/travis/caldavtest/data/Resource/CardDAV/sharing/read-write/6.vcf apps/dav/tests/travis/caldavtest/data/Resource/CardDAV/sharing/read-write/7.vcf apps/dav/tests/travis/caldavtest/data/Resource/CardDAV/sharing/read-write/8.vcf apps/dav/tests/travis/caldavtest/data/Resource/CardDAV/sharing/read-write/9.vcf apps/dav/tests/travis/caldavtest/data/Resource/CardDAV/vreports/put/1.vcf apps/dav/tests/travis/caldavtest/data/Resource/CardDAV/vreports/put/2.vcf apps/dav/tests/travis/caldavtest/data/Resource/CardDAV/vreports/put/3.vcf
Copyright: 2016 ownCloud, Inc.
License: AGPL-3.0-only

Expand Down Expand Up @@ -123,23 +123,23 @@ Files: build/stubs/ftp.php tests/data/integritycheck/mimetypeListModified/coresi
Copyright: 2022 Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-or-later

Files: build/stubs/app_api.php build/stubs/SensitiveParameter.phpstub build/stubs/psr_container.php tests/data/testimage-large.jpg
Files: build/stubs/app_api.php build/stubs/SensitiveParameter.phpstub build/stubs/psr_container.php tests/data/testimage-large.jpg apps/dav/tests/integration/UserMigration/assets/address_books/contact-complex.vcf apps/dav/tests/integration/UserMigration/assets/address_books/contact-multiple-complex.vcf apps/dav/tests/integration/UserMigration/assets/address_books/contact-multiple.vcf apps/dav/tests/integration/UserMigration/assets/address_books/contact.vcf apps/dav/tests/integration/UserMigration/assets/calendars/event-alarms.ics apps/dav/tests/integration/UserMigration/assets/calendars/event-attendees.ics apps/dav/tests/integration/UserMigration/assets/calendars/event-categories.ics apps/dav/tests/integration/UserMigration/assets/calendars/event-complex-alarm-recurring.ics apps/dav/tests/integration/UserMigration/assets/calendars/event-complex-recurrence.ics apps/dav/tests/integration/UserMigration/assets/calendars/event-custom-color.ics apps/dav/tests/integration/UserMigration/assets/calendars/event-multiple-recurring.ics apps/dav/tests/integration/UserMigration/assets/calendars/event-multiple.ics apps/dav/tests/integration/UserMigration/assets/calendars/event-recurring.ics apps/dav/tests/integration/UserMigration/assets/calendars/event-timed.ics apps/dav/tests/integration/UserMigration/assets/calendars/journal-todo-event.ics apps/dav/tests/integration/UserMigration/assets/calendars/journal.ics apps/dav/tests/integration/UserMigration/assets/calendars/todo.ics
Copyright: 2023 Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-or-later

Files: apps/cloud_federation_api/l10n/*.js apps/cloud_federation_api/l10n/*.json apps/contactsinteraction/l10n/*.js apps/contactsinteraction/l10n/*.json apps/dashboard/l10n/*.js apps/dashboard/l10n/*.json apps/files_reminders/l10n/*.js apps/files_reminders/l10n/*.json apps/lookup_server_connector/l10n/*.js apps/lookup_server_connector/l10n/*.json apps/oauth2 apps/sharebymail/l10n/*.js apps/oauth2 apps/sharebymail/l10n/*.json apps/theming/l10n/*.js apps/theming/l10n/*.json apps/twofactor_backupcodes/l10n/*.js apps/twofactor_backupcodes/l10n/*.json apps/user_status/l10n/*.js apps/user_status/l10n/*.json apps/weather_status/l10n/*.js apps/weather_status/l10n/*.json apps/workflowengine/l10n/*.js apps/workflowengine/l10n/*.json
Copyright: 2016-2024 Nextcloud translators
License: AGPL-3.0-or-later

Files: .gitattributes composer.json composer.lock .github/CODEOWNERS __tests__/tsconfig.json tsconfig.json build/integration/composer.* build/integration/data/*.png vendor-bin/*/composer.json vendor-bin/*/composer.lock
Files: .gitattributes composer.json composer.lock .github/CODEOWNERS __tests__/tsconfig.json tsconfig.json build/integration/composer.* build/integration/data/*.png vendor-bin/*/composer.json vendor-bin/*/composer.lock apps/*/composer/composer.json apps/*/composer/composer.lock apps/*/composer/composer/installed.json
Copyright: 2011-2016 ownCloud, Inc., 2016-2024 Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-only OR AGPL-3.0-or-later

Files: vendor-bin/*/composer.json vendor-bin/*/composer.lock
Copyright: 2021 Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-or-later

Files: lib/composer/*
Files: lib/composer/* apps/*/composer/autoload.php apps/*/composer/composer/*.php
Copyright: Nils Adermann, Jordi Boggiano
License: MIT

Expand Down
2 changes: 2 additions & 0 deletions apps/dav/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# SPDX-FileCopyrightText: 2015 ownCloud, Inc.
# SPDX-License-Identifier: AGPL-3.0-only
tests/travis/CalDAVTester
2 changes: 2 additions & 0 deletions apps/dav/.l10nignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
#webpack bundled files
js/
5 changes: 5 additions & 0 deletions apps/dav/appinfo/info.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?xml version="1.0"?>
<!--
- SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
- SPDX-FileCopyrightText: 2015-2016 ownCloud, Inc.
- SPDX-License-Identifier: AGPL-3.0-only
-->
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
<id>dav</id>
Expand Down
6 changes: 0 additions & 6 deletions apps/dav/img/LICENSES.md

This file was deleted.

2 changes: 1 addition & 1 deletion apps/dav/img/calendar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions apps/dav/img/calendar.svg.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2018-2024 Google LLC.
SPDX-License-Identifier: Apache-2.0
2 changes: 2 additions & 0 deletions apps/dav/img/schedule.svg.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2018-2024 Google LLC.
SPDX-License-Identifier: Apache-2.0
2 changes: 2 additions & 0 deletions apps/dav/openapi.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later
23 changes: 3 additions & 20 deletions apps/dav/src/components/AbsenceForm.vue
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
<!--
- @copyright Copyright (c) 2023 Richard Steinmetz <[email protected]>
-
- @author Richard Steinmetz <[email protected]>
-
- @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 <http://www.gnu.org/licenses/>.
-
-->
- SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->

<template>
<form class="absence" @submit.prevent="saveForm">
Expand Down
4 changes: 4 additions & 0 deletions apps/dav/src/components/AvailabilityForm.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div>
<div class="time-zone">
Expand Down
20 changes: 2 additions & 18 deletions apps/dav/src/dav/client.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
/**
* @copyright 2021 Christoph Wurst <[email protected]>
*
* @author 2021 Christoph Wurst <[email protected]>
*
* @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 <http://www.gnu.org/licenses/>.
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

import { createClient } from 'webdav'
Expand Down
20 changes: 2 additions & 18 deletions apps/dav/src/service/CalendarService.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
/**
* @copyright 2021 Christoph Wurst <[email protected]>
*
* @author 2021 Christoph Wurst <[email protected]>
*
* @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 <http://www.gnu.org/licenses/>.
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { getClient } from '../dav/client.js'
import logger from './logger.js'
Expand Down
20 changes: 2 additions & 18 deletions apps/dav/src/service/PreferenceService.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
/**
* @copyright 2022 Joas Schilling <[email protected]>
*
* @author Joas Schilling <[email protected]>
*
* @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 <http://www.gnu.org/licenses/>.
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

import axios from '@nextcloud/axios'
Expand Down
22 changes: 3 additions & 19 deletions apps/dav/src/service/logger.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
/*
* @copyright 2021 Christoph Wurst <[email protected]>
*
* @author 2021 Christoph Wurst <[email protected]>
*
* @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 <http://www.gnu.org/licenses/>.
/**
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { getLoggerBuilder } from '@nextcloud/logger'

Expand Down
4 changes: 4 additions & 0 deletions apps/dav/src/settings-personal-availability.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import Vue from 'vue'
import { translate } from '@nextcloud/l10n'
import Availability from './views/Availability.vue'
Expand Down
4 changes: 4 additions & 0 deletions apps/dav/src/settings.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import Vue from 'vue'
import { loadState } from '@nextcloud/initial-state'
import { translate } from '@nextcloud/l10n'
Expand Down
21 changes: 2 additions & 19 deletions apps/dav/src/utils/date.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
/**
* @copyright Copyright (c) 2023 Richard Steinmetz <[email protected]>
*
* @author Richard Steinmetz <[email protected]>
*
* @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 <http://www.gnu.org/licenses/>.
*
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

/**
Expand Down
4 changes: 4 additions & 0 deletions apps/dav/src/views/Availability.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div>
<NcSettingsSection :name="$t('dav', 'Availability')"
Expand Down
4 changes: 4 additions & 0 deletions apps/dav/src/views/CalDavSettings.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { render } from '@testing-library/vue'
import CalDavSettings from './CalDavSettings.vue'
// eslint-disable-next-line no-unused-vars
Expand Down
4 changes: 4 additions & 0 deletions apps/dav/src/views/CalDavSettings.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<NcSettingsSection :name="$t('dav', 'Calendar server')"
:doc-url="userSyncCalendarsDocUrl">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later
9 changes: 5 additions & 4 deletions apps/dav/templates/schedule-response-error.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php
// SPDX-FileCopyrightText: 2018 Georg Ehrke <[email protected]>
// SPDX-FileCopyrightText: 2020 Christoph Wurst <[email protected]>
// SPDX-FileCopyrightText: 2022 Carl Schwan <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-or-later

/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
?>
<div class="guest-box">
<div class="notecard error">
Expand Down
6 changes: 4 additions & 2 deletions apps/dav/templates/schedule-response-options.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php
// SPDX-FileCopyrightText: 2018 Georg Ehrke <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-or-later
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
\OCP\Util::addStyle('dav', 'schedule-response');
?>

Expand Down
8 changes: 5 additions & 3 deletions apps/dav/templates/schedule-response-success.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<?php
// SPDX-FileCopyrightText: 2020 Christoph Wurst <[email protected]>
// SPDX-FileCopyrightText: 2022 Carl Schwan <[email protected]>
// SPDX-License-Identifier: AGPL-3.0-or-later

/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
?>
<div class="guest-box">
<div class="icon icon-checkmark"></div>
Expand Down
24 changes: 3 additions & 21 deletions apps/dav/templates/settings-admin-caldav.php
Original file line number Diff line number Diff line change
@@ -1,27 +1,9 @@
<?php

/**
* @copyright 2017, Georg Ehrke <[email protected]>
*
* @author Georg Ehrke <[email protected]>
* @author François Freitag <[email protected]>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

script('dav', 'settings-admin-caldav');

?>
Expand Down
24 changes: 3 additions & 21 deletions apps/dav/templates/settings-personal-availability.php
Original file line number Diff line number Diff line change
@@ -1,27 +1,9 @@
<?php

/**
* @copyright 2017, Georg Ehrke <[email protected]>
*
* @author Georg Ehrke <[email protected]>
* @author François Freitag <[email protected]>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

script('dav', 'settings-personal-availability');

?>
Expand Down
5 changes: 4 additions & 1 deletion apps/dav/tests/benchmarks/benchmark.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

#
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
#
set -eu

# benchmark.sh
Expand Down
Loading

0 comments on commit ddb840c

Please sign in to comment.