From 5366c1e6b9e53c64a1b7a966d78c1ff171905dab Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Tue, 9 Apr 2024 10:12:44 +0200 Subject: [PATCH] Add SPDX header Signed-off-by: Andy Scherzinger --- .../java/com/owncloud/android/MainApp.java | 2 +- .../authentication/AuthenticatorActivity.java | 2 +- .../authentication/AuthenticatorAsyncTask.kt | 2 +- .../android/authentication/PassCodeManager.kt | 20 +++--------- .../datamodel/FileDataStorageManager.java | 30 ++++++------------ .../owncloud/android/datamodel/OCFile.java | 29 ++++++----------- .../datamodel/SignatureVerification.kt | 19 ++---------- .../datamodel/UploadsStorageManager.java | 2 +- .../com/owncloud/android/db/OCUpload.java | 31 +++++++------------ .../owncloud/android/db/OCUploadComparator.kt | 18 ++--------- .../com/owncloud/android/db/ProviderMeta.java | 2 +- .../com/owncloud/android/db/UploadResult.java | 23 +++++--------- .../files/BootupBroadcastReceiver.java | 29 +++++------------ .../android/files/FileMenuFilter.java | 31 ++++++------------- .../android/files/services/IndexedForest.java | 27 +++++----------- .../android/media/MediaControlView.java | 29 ++++++----------- .../CheckCurrentCredentialsOperation.java | 26 +++++----------- .../android/operations/CopyFileOperation.java | 22 +++++-------- .../operations/CreateFolderOperation.java | 26 +++++----------- .../CreateShareViaLinkOperation.java | 25 +++++---------- .../CreateShareWithShareeOperation.java | 27 +++++----------- .../DetectAuthenticationMethodOperation.java | 25 +++++---------- .../operations/DownloadFileOperation.java | 26 +++++----------- .../operations/GetCapabilitiesOperation.java | 26 +++++----------- .../operations/GetServerInfoOperation.java | 29 +++++------------ .../operations/GetSharesForFileOperation.java | 24 ++++---------- .../operations/GetUserProfileOperation.java | 24 +++++--------- .../android/operations/MoveFileOperation.java | 24 +++++--------- .../operations/RemoveFileOperation.java | 2 +- .../operations/RenameFileOperation.java | 2 +- .../operations/SynchronizeFileOperation.java | 28 ++++++----------- .../SynchronizeFolderOperation.java | 27 +++++----------- .../android/operations/UnshareOperation.java | 24 ++++---------- .../operations/UpdateOCVersionOperation.java | 27 +++++----------- .../UpdateSharePermissionsOperation.java | 25 ++++----------- .../UpdateShareViaLinkOperation.java | 23 +++----------- .../operations/UploadFileOperation.java | 26 +++++----------- .../operations/common/SyncOperation.java | 24 ++++---------- .../providers/DocumentsStorageProvider.java | 24 +++----------- .../providers/FileContentProvider.java | 30 ++++++------------ .../UsersAndGroupsSearchProvider.java | 25 +++++---------- .../android/services/OperationsService.java | 30 ++++++------------ .../android/ui/activity/FileActivity.java | 2 +- .../ReceiveExternalFilesActivity.java | 2 +- .../android/ui/activity/SettingsActivity.java | 2 +- .../android/ui/activity/ShareActivity.java | 2 +- ...rtificateCombinedExceptionViewAdapter.java | 2 +- .../ui/adapter/SslCertificateViewAdapter.java | 2 +- .../ui/adapter/SslErrorViewAdapter.java | 2 +- .../adapter/X509CertificateViewAdapter.java | 2 +- .../CopyAndUploadContentUrisTask.java | 2 +- .../android/ui/dialog/LoadingDialog.kt | 2 +- .../ui/dialog/SharePasswordDialogFragment.kt | 2 +- .../ui/dialog/SslUntrustedCertDialog.java | 2 +- .../ui/helpers/FileOperationsHelper.java | 2 +- .../ui/preview/PreviewImageActivity.java | 2 +- .../android/utils/ErrorMessageAdapter.java | 2 +- .../android/utils/theme/CapabilityUtils.java | 2 +- .../android/utils/theme/ThemeColorUtils.java | 2 +- .../android/utils/theme/ThemeUtils.java | 2 +- .../main/res/layout/activity_manage_space.xml | 2 +- .../layout/dialog_sso_grant_permission.xml | 2 +- .../layout/file_details_share_share_item.xml | 2 +- app/src/main/res/layout/loading_dialog.xml | 2 +- app/src/main/res/layout/media_control.xml | 2 +- app/src/main/res/layout/note_dialog.xml | 2 +- .../res/layout/preview_image_activity.xml | 2 +- .../layout/preview_image_error_fragment.xml | 2 +- .../res/layout/search_users_groups_layout.xml | 2 +- app/src/main/res/layout/share_activity.xml | 2 +- .../res/layout/ssl_untrusted_cert_layout.xml | 2 +- .../alphabetical_asc.svg.license | 2 +- .../alphabetical_desc.svg.license | 2 +- .../modification_asc.svg.license | 2 +- .../modification_desc.svg.license | 2 +- drawable_resources/size_asc.svg.license | 2 +- drawable_resources/size_desc.svg.license | 2 +- 77 files changed, 298 insertions(+), 689 deletions(-) diff --git a/app/src/main/java/com/owncloud/android/MainApp.java b/app/src/main/java/com/owncloud/android/MainApp.java index 8f119a5b37..ae7e03f736 100644 --- a/app/src/main/java/com/owncloud/android/MainApp.java +++ b/app/src/main/java/com/owncloud/android/MainApp.java @@ -10,7 +10,7 @@ * SPDX-FileCopyrightText: 2016 Andy Scherzinger * SPDX-FileCopyrightText: 2015 ownCloud Inc. * SPDX-FileCopyrightText: 2014 David A. Velasco - * SPDX-FileCopyrightText: 2013 Masensio + * SPDX-FileCopyrightText: 2013 María Asensio Valverde * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ package com.owncloud.android; diff --git a/app/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java b/app/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java index 70561b2f9c..f285b2abb6 100644 --- a/app/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java +++ b/app/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java @@ -6,7 +6,7 @@ * SPDX-FileCopyrightText: 2018 Andy Scherzinger * SPDX-FileCopyrightText: 2017 Mario Danic * SPDX-FileCopyrightText: 2015 ownCloud Inc. - * SPDX-FileCopyrightText: 2013-2015 masensio + * SPDX-FileCopyrightText: 2013-2015 María Asensio Valverde * SPDX-FileCopyrightText: 2013-2015 David A. Velasco * SPDX-FileCopyrightText: 2011-2012 Bartosz Przybylski * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later diff --git a/app/src/main/java/com/owncloud/android/authentication/AuthenticatorAsyncTask.kt b/app/src/main/java/com/owncloud/android/authentication/AuthenticatorAsyncTask.kt index 5fb85bc95e..29d6ce0c9c 100644 --- a/app/src/main/java/com/owncloud/android/authentication/AuthenticatorAsyncTask.kt +++ b/app/src/main/java/com/owncloud/android/authentication/AuthenticatorAsyncTask.kt @@ -4,7 +4,7 @@ * SPDX-FileCopyrightText: 2023 Alper Ozturk * SPDX-FileCopyrightText: 2021 Tobias Kaminsky * SPDX-FileCopyrightText: 2015 ownCloud Inc. - * SPDX-FileCopyrightText: 2013-2015 masensio + * SPDX-FileCopyrightText: 2013-2015 María Asensio Valverde * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ @file:Suppress("DEPRECATION") diff --git a/app/src/main/java/com/owncloud/android/authentication/PassCodeManager.kt b/app/src/main/java/com/owncloud/android/authentication/PassCodeManager.kt index 062e6acb4f..2564806714 100644 --- a/app/src/main/java/com/owncloud/android/authentication/PassCodeManager.kt +++ b/app/src/main/java/com/owncloud/android/authentication/PassCodeManager.kt @@ -1,21 +1,9 @@ /* - * ownCloud Android client application - * - * @author David A. Velasco - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2024 Alper Ozturk + * SPDX-FileCopyrightText: 2022-2023 Álvaro Brey + * SPDX-License-Identifier: AGPL-3.0-or-later */ package com.owncloud.android.authentication diff --git a/app/src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java b/app/src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java index a63a84355e..6245958506 100644 --- a/app/src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java +++ b/app/src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java @@ -1,25 +1,16 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @author TSI-mc - * Copyright (C) 2012 Bartek Przybylski - * Copyright (C) 2015 ownCloud Inc. - * Copyright (C) 2021 Chris Narkiewicz - * Copyright (C) 2022 TSI-mc - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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: 2023 Alper Ozturk + * SPDX-FileCopyrightText: 2022 TSI-mc + * SPDX-FileCopyrightText: 2021 Chris Narkiewicz + * SPDX-FileCopyrightText: 2018-2020 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2012 David A. Velasco + * SPDX-FileCopyrightText: 2011 Bartosz Przybylski + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.datamodel; import android.content.ContentProviderClient; @@ -81,7 +72,6 @@ import androidx.annotation.Nullable; import androidx.annotation.VisibleForTesting; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; - public class FileDataStorageManager { private static final String TAG = FileDataStorageManager.class.getSimpleName(); diff --git a/app/src/main/java/com/owncloud/android/datamodel/OCFile.java b/app/src/main/java/com/owncloud/android/datamodel/OCFile.java index c8f1b23ff6..48108dc91f 100644 --- a/app/src/main/java/com/owncloud/android/datamodel/OCFile.java +++ b/app/src/main/java/com/owncloud/android/datamodel/OCFile.java @@ -1,27 +1,18 @@ /* - * ownCloud Android client application - * - * @author Bartek Przybylski - * @author David A. Velasco - * Copyright (C) 2012 Bartek Przybylski - * Copyright (C) 2016 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2023 Alper Ozturk + * SPDX-FileCopyrightText: 2022 Álvaro Brey Vilas + * SPDX-FileCopyrightText: 2020 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2018 Mario Danic + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-FileCopyrightText: 2012-2016 David A. Velasco + * SPDX-FileCopyrightText: 2012 Bartosz Przybylski + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ package com.owncloud.android.datamodel; - import android.content.ContentResolver; import android.content.Context; import android.net.Uri; diff --git a/app/src/main/java/com/owncloud/android/datamodel/SignatureVerification.kt b/app/src/main/java/com/owncloud/android/datamodel/SignatureVerification.kt index 0310d6291a..96f3b41220 100644 --- a/app/src/main/java/com/owncloud/android/datamodel/SignatureVerification.kt +++ b/app/src/main/java/com/owncloud/android/datamodel/SignatureVerification.kt @@ -1,21 +1,8 @@ /* - * Nextcloud application + * Nextcloud - Android Client * - * @author Mario Danic - * Copyright (C) 2017-2018 Mario Danic - * - * 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: 2022 Unpublished + * SPDX-License-Identifier: AGPL-3.0-or-later */ package com.owncloud.android.datamodel diff --git a/app/src/main/java/com/owncloud/android/datamodel/UploadsStorageManager.java b/app/src/main/java/com/owncloud/android/datamodel/UploadsStorageManager.java index da2bd0092b..51143ece66 100644 --- a/app/src/main/java/com/owncloud/android/datamodel/UploadsStorageManager.java +++ b/app/src/main/java/com/owncloud/android/datamodel/UploadsStorageManager.java @@ -7,7 +7,7 @@ * SPDX-FileCopyrightText: 2019-2021 Chris Narkiewicz * SPDX-FileCopyrightText: 2016-2020 Andy Scherzinger * SPDX-FileCopyrightText: 2016 ownCloud Inc. - * SPDX-FileCopyrightText: 2016 masensio + * SPDX-FileCopyrightText: 2016 María Asensio Valverde * SPDX-FileCopyrightText: 2016 David A. Velasco * SPDX-FileCopyrightText: 2014 Luke Owncloud * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later diff --git a/app/src/main/java/com/owncloud/android/db/OCUpload.java b/app/src/main/java/com/owncloud/android/db/OCUpload.java index d88a6a3f29..2cf40cf039 100644 --- a/app/src/main/java/com/owncloud/android/db/OCUpload.java +++ b/app/src/main/java/com/owncloud/android/db/OCUpload.java @@ -1,26 +1,17 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @author LukeOwncloud - * @author masensio - * @author David A. Velasco - * @author Tobias Kaminsky - * Copyright (C) 2016 ownCloud Inc. - * Copyright (C) 2018 Nextcloud GmbH. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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: 2021 Chris Narkiewicz + * SPDX-FileCopyrightText: 2020 Tobias Kaminsky + * SPDX-FileCopyrightText: 2019 Alice Gaudon + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH + * SPDX-FileCopyrightText: 2017 Andy Scherzinger + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-FileCopyrightText: 2014 Luke Owncloud + * SPDX-FileCopyrightText: 2015-2016 David A. Velasco + * SPDX-FileCopyrightText: 2015-2016 María Asensio Valverde + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.db; import android.os.Parcel; diff --git a/app/src/main/java/com/owncloud/android/db/OCUploadComparator.kt b/app/src/main/java/com/owncloud/android/db/OCUploadComparator.kt index 6ef5e63cc8..320de12755 100644 --- a/app/src/main/java/com/owncloud/android/db/OCUploadComparator.kt +++ b/app/src/main/java/com/owncloud/android/db/OCUploadComparator.kt @@ -1,20 +1,8 @@ /* - * NextCloud Android client application + * Nextcloud - Android Client * - * @copyright Copyright (C) 2019 Daniele Fognini - * - * 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: 2019 Daniele Fognini + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.owncloud.android.db diff --git a/app/src/main/java/com/owncloud/android/db/ProviderMeta.java b/app/src/main/java/com/owncloud/android/db/ProviderMeta.java index 8a64b554d5..5c948f39ca 100644 --- a/app/src/main/java/com/owncloud/android/db/ProviderMeta.java +++ b/app/src/main/java/com/owncloud/android/db/ProviderMeta.java @@ -4,7 +4,7 @@ * SPDX-FileCopyrightText: 2022 Álvaro Brey * SPDX-FileCopyrightText: 2016-2021 Tobias Kaminsky * SPDX-FileCopyrightText: 2016 ownCloud Inc. - * SPDX-FileCopyrightText: 2014-2015 Masensio + * SPDX-FileCopyrightText: 2014-2015 María Asensio Valverde * SPDX-FileCopyrightText: 2012 David A. Velasco * SPDX-FileCopyrightText: 2011 Bartosz Przybylski * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later diff --git a/app/src/main/java/com/owncloud/android/db/UploadResult.java b/app/src/main/java/com/owncloud/android/db/UploadResult.java index 919be585cb..4a38dae65b 100644 --- a/app/src/main/java/com/owncloud/android/db/UploadResult.java +++ b/app/src/main/java/com/owncloud/android/db/UploadResult.java @@ -1,22 +1,13 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @author masensio - * Copyright (C) 2016 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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: 2016-2019 Tobias Kaminsky + * SPDX-FileCopyrightText: 2017 Andy Scherzinger + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-FileCopyrightText: 2016 David A. Velasco + * SPDX-FileCopyrightText: 2015-2016 María Asensio Valverde + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.db; import com.owncloud.android.lib.common.operations.RemoteOperationResult; diff --git a/app/src/main/java/com/owncloud/android/files/BootupBroadcastReceiver.java b/app/src/main/java/com/owncloud/android/files/BootupBroadcastReceiver.java index 0ed4a72ab3..d00db54402 100644 --- a/app/src/main/java/com/owncloud/android/files/BootupBroadcastReceiver.java +++ b/app/src/main/java/com/owncloud/android/files/BootupBroadcastReceiver.java @@ -1,26 +1,14 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @author David A. Velasco - * @author Chris Narkiewicz - * Copyright (C) 2012 Bartek Przybylski - * Copyright (C) 2015 ownCloud Inc. - * Copyright (C) 2017 Mario Danic - * Copyright (C) 2020 Chris Narkiewicz - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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: 2022 Tobias Kaminsky + * SPDX-FileCopyrightText: 2020 Chris Narkiewicz + * SPDX-FileCopyrightText: 2017 Mario Danic + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2014 David A. Velasco + * SPDX-FileCopyrightText: 2012 Bartosz Przybylski + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.files; import android.content.BroadcastReceiver; @@ -43,7 +31,6 @@ import javax.inject.Inject; import dagger.android.AndroidInjection; - /** * App-registered receiver catching the broadcast intent reporting that the system was * just boot up. diff --git a/app/src/main/java/com/owncloud/android/files/FileMenuFilter.java b/app/src/main/java/com/owncloud/android/files/FileMenuFilter.java index 7408162650..38e855f69a 100644 --- a/app/src/main/java/com/owncloud/android/files/FileMenuFilter.java +++ b/app/src/main/java/com/owncloud/android/files/FileMenuFilter.java @@ -1,27 +1,16 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @author David A. Velasco - * @author Andy Scherzinger - * @author Álvaro Brey - * Copyright (C) 2015 ownCloud Inc. - * Copyright (C) 2018 Andy Scherzinger - * Copyright (C) 2022 Álvaro Brey Vilas - * Copyright (C) 2022 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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: 2023 Alper Ozturk + * SPDX-FileCopyrightText: 2019-2023 Tobias Kaminsky + * SPDX-FileCopyrightText: 2022 Álvaro Brey Vilas + * SPDX-FileCopyrightText: 2020 Andy Scherzinger + * SPDX-FileCopyrightText: 2018 Mario Danic + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-FileCopyrightText: 2014-2016 David A. Velasco + * SPDX-FileCopyrightText: 2012 Bartosz Przybylski + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.files; import android.accounts.AccountManager; diff --git a/app/src/main/java/com/owncloud/android/files/services/IndexedForest.java b/app/src/main/java/com/owncloud/android/files/services/IndexedForest.java index 3ca41db532..106af374d6 100644 --- a/app/src/main/java/com/owncloud/android/files/services/IndexedForest.java +++ b/app/src/main/java/com/owncloud/android/files/services/IndexedForest.java @@ -1,23 +1,12 @@ -/** - * ownCloud Android client application - * - * @author David A. Velasco - * Copyright (C) 2016 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . +/* + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2024 Alper Ozturk + * SPDX-FileCopyrightText: 2017-2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-FileCopyrightText: 2015 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.files.services; import android.util.Pair; @@ -34,9 +23,7 @@ import java.util.concurrent.ConcurrentMap; /** * Helper structure to keep the trees of folders containing any file downloading or synchronizing. - * * A map provides the indexation based in hashing. - * * A tree is created per account. */ public class IndexedForest { diff --git a/app/src/main/java/com/owncloud/android/media/MediaControlView.java b/app/src/main/java/com/owncloud/android/media/MediaControlView.java index 5204050af3..898b2200b1 100644 --- a/app/src/main/java/com/owncloud/android/media/MediaControlView.java +++ b/app/src/main/java/com/owncloud/android/media/MediaControlView.java @@ -1,20 +1,14 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @author David A. Velasco - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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: 2023 Alper Ozturk + * SPDX-FileCopyrightText: 2022 Álvaro Brey Vilas + * SPDX-FileCopyrightText: 2018-2020 Tobias Kaminsky + * SPDX-FileCopyrightText: 2019 Chris Narkiewicz + * SPDX-FileCopyrightText: 2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2013 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ package com.owncloud.android.media; @@ -47,7 +41,6 @@ import java.util.Locale; import javax.inject.Inject; - /** * View containing controls for a {@link MediaPlayer}. *

@@ -66,9 +59,7 @@ public class MediaControlView extends LinearLayout implements OnClickListener, O @Inject ViewThemeUtils viewThemeUtils; - - public MediaControlView(Context context, - AttributeSet attrs) { + public MediaControlView(Context context, AttributeSet attrs) { super(context, attrs); MainApp.getAppComponent().inject(this); diff --git a/app/src/main/java/com/owncloud/android/operations/CheckCurrentCredentialsOperation.java b/app/src/main/java/com/owncloud/android/operations/CheckCurrentCredentialsOperation.java index dc2e8695fd..c8a69e3fe1 100644 --- a/app/src/main/java/com/owncloud/android/operations/CheckCurrentCredentialsOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/CheckCurrentCredentialsOperation.java @@ -1,23 +1,13 @@ -/** - * ownCloud Android client application - * - * @author David A. Velasco - * Copyright (C) 2016 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . +/* + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2021 Chris Narkiewicz + * SPDX-FileCopyrightText: 2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-FileCopyrightText: 2016 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import com.nextcloud.client.account.User; diff --git a/app/src/main/java/com/owncloud/android/operations/CopyFileOperation.java b/app/src/main/java/com/owncloud/android/operations/CopyFileOperation.java index 389ef8286e..eba4565719 100644 --- a/app/src/main/java/com/owncloud/android/operations/CopyFileOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/CopyFileOperation.java @@ -1,19 +1,12 @@ -/* ownCloud Android client application - * Copyright (C) 2012-2014 ownCloud Inc. +/* + * Nextcloud - Android Client * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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: 2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2019 Andy Scherzinger + * SPDX-FileCopyrightText: 2012-2014 ownCloud Inc. + * SPDX-FileCopyrightText: 2014 Jorge Antonio Diaz-Benito Soriano + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import com.owncloud.android.datamodel.FileDataStorageManager; @@ -24,7 +17,6 @@ import com.owncloud.android.lib.common.operations.RemoteOperationResult.ResultCo import com.owncloud.android.lib.resources.files.CopyFileRemoteOperation; import com.owncloud.android.operations.common.SyncOperation; - /** * Operation copying an {@link OCFile} to a different folder. * diff --git a/app/src/main/java/com/owncloud/android/operations/CreateFolderOperation.java b/app/src/main/java/com/owncloud/android/operations/CreateFolderOperation.java index 4b9fc9908d..ad16496c11 100644 --- a/app/src/main/java/com/owncloud/android/operations/CreateFolderOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/CreateFolderOperation.java @@ -1,24 +1,14 @@ /* - * ownCloud Android client application - * - * @author David A. Velasco - * @author masensio - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2020-2023 Tobias Kaminsky + * SPDX-FileCopyrightText: 2020 Chris Narkiewicz + * SPDX-FileCopyrightText: 2020 Andy Scherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2012 David A. Velasco + * SPDX-FileCopyrightText: 2015 María Asensio Valverde + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import android.content.Context; diff --git a/app/src/main/java/com/owncloud/android/operations/CreateShareViaLinkOperation.java b/app/src/main/java/com/owncloud/android/operations/CreateShareViaLinkOperation.java index 5954250897..2c9377c379 100644 --- a/app/src/main/java/com/owncloud/android/operations/CreateShareViaLinkOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/CreateShareViaLinkOperation.java @@ -1,24 +1,13 @@ /* - * ownCloud Android client application - * - * @author masensio - * @author David A. Velasco - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2020-2023 Tobias Kaminsky + * SPDX-FileCopyrightText: 2019 Andy Scherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2016 David A. Velasco + * SPDX-FileCopyrightText: 2014 María Asensio Valverde + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import com.owncloud.android.datamodel.FileDataStorageManager; diff --git a/app/src/main/java/com/owncloud/android/operations/CreateShareWithShareeOperation.java b/app/src/main/java/com/owncloud/android/operations/CreateShareWithShareeOperation.java index 71a348d64b..bcae519d07 100644 --- a/app/src/main/java/com/owncloud/android/operations/CreateShareWithShareeOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/CreateShareWithShareeOperation.java @@ -1,26 +1,13 @@ /* - * ownCloud Android client application - * - * @author masensio - * @author David A. Velasco - * @author TSI-mc - * Copyright (C) 2015 ownCloud Inc. - * Copyright (C) 2023 TSI-mc - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2020-2023 Tobias Kaminsky + * SPDX-FileCopyrightText: 2021 TSI-mc + * SPDX-FileCopyrightText: 2016 Andy Scherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2015 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import android.content.Context; diff --git a/app/src/main/java/com/owncloud/android/operations/DetectAuthenticationMethodOperation.java b/app/src/main/java/com/owncloud/android/operations/DetectAuthenticationMethodOperation.java index c15c8f8fef..f5812d5ed5 100644 --- a/app/src/main/java/com/owncloud/android/operations/DetectAuthenticationMethodOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/DetectAuthenticationMethodOperation.java @@ -1,23 +1,12 @@ -/** - * ownCloud Android client application - * - * @author David A. Velasco - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . +/* + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2017-2019 Tobias Kaminsky + * SPDX-FileCopyrightText: 2016-2017 Andy Scherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2014 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import android.content.Context; diff --git a/app/src/main/java/com/owncloud/android/operations/DownloadFileOperation.java b/app/src/main/java/com/owncloud/android/operations/DownloadFileOperation.java index 81aeb9ec66..ec70fd4162 100644 --- a/app/src/main/java/com/owncloud/android/operations/DownloadFileOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/DownloadFileOperation.java @@ -1,24 +1,14 @@ /* - * ownCloud Android client application - * - * @author David A. Velasco - * @author masensio - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2024 Alper Ozturk + * SPDX-FileCopyrightText: 2020-2022 Tobias Kaminsky + * SPDX-FileCopyrightText: 2019 Andy Scherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2015 María Asensio Valverde + * SPDX-FileCopyrightText: 2012 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import android.content.Context; diff --git a/app/src/main/java/com/owncloud/android/operations/GetCapabilitiesOperation.java b/app/src/main/java/com/owncloud/android/operations/GetCapabilitiesOperation.java index 3957c7f1f8..b151a49f08 100644 --- a/app/src/main/java/com/owncloud/android/operations/GetCapabilitiesOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/GetCapabilitiesOperation.java @@ -1,21 +1,12 @@ -/** - * ownCloud Android client application - * - * @author masensio - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . +/* + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2021-2022 Tobias Kaminsky + * SPDX-FileCopyrightText: 2021 Chris Narkiewicz + * SPDX-FileCopyrightText: 2020 Daniel Kesselberg + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2015 María Asensio Valverde + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ package com.owncloud.android.operations; @@ -61,5 +52,4 @@ public class GetCapabilitiesOperation extends SyncOperation { return result; } - } diff --git a/app/src/main/java/com/owncloud/android/operations/GetServerInfoOperation.java b/app/src/main/java/com/owncloud/android/operations/GetServerInfoOperation.java index ed96f8aa1d..2f6cf721e4 100644 --- a/app/src/main/java/com/owncloud/android/operations/GetServerInfoOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/GetServerInfoOperation.java @@ -1,24 +1,13 @@ -/** - * ownCloud Android client application - * - * @author David A. Velasco - * @author masensio - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . +/* + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2017-2019 Tobias Kaminsky + * SPDX-FileCopyrightText: 2017-2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2015 María Asensio Valverde + * SPDX-FileCopyrightText: 2014 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import android.content.Context; @@ -38,11 +27,9 @@ import java.util.Locale; /** * Get basic information from an ownCloud server given its URL. - * * Checks the existence of a configured ownCloud server in the URL, gets its version * and finds out what authentication method is needed to access files in it. */ - public class GetServerInfoOperation extends RemoteOperation { private static final String TAG = GetServerInfoOperation.class.getSimpleName(); diff --git a/app/src/main/java/com/owncloud/android/operations/GetSharesForFileOperation.java b/app/src/main/java/com/owncloud/android/operations/GetSharesForFileOperation.java index db4b56beb5..2e9e18e38f 100644 --- a/app/src/main/java/com/owncloud/android/operations/GetSharesForFileOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/GetSharesForFileOperation.java @@ -1,24 +1,12 @@ /* - * ownCloud Android client application - * - * @author masensio - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2014-2015 María Asensio Valverde + * SPDX-FileCopyrightText: 2015 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - - package com.owncloud.android.operations; import com.owncloud.android.datamodel.FileDataStorageManager; diff --git a/app/src/main/java/com/owncloud/android/operations/GetUserProfileOperation.java b/app/src/main/java/com/owncloud/android/operations/GetUserProfileOperation.java index 67e8507095..4aa248da8b 100644 --- a/app/src/main/java/com/owncloud/android/operations/GetUserProfileOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/GetUserProfileOperation.java @@ -1,21 +1,11 @@ -/** - * ownCloud Android client application - * - * @author David A. Velasco - * Copyright (C) 2016 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . +/* + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2021 Chris Narkiewicz + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-FileCopyrightText: 2016 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ package com.owncloud.android.operations; diff --git a/app/src/main/java/com/owncloud/android/operations/MoveFileOperation.java b/app/src/main/java/com/owncloud/android/operations/MoveFileOperation.java index 3bad6f1137..d50fe820a5 100644 --- a/app/src/main/java/com/owncloud/android/operations/MoveFileOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/MoveFileOperation.java @@ -1,22 +1,13 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @author David A. Velasco - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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: 2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2019 Andy Scherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2015 María Asensio Valverde + * SPDX-FileCopyrightText: 2014 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import com.owncloud.android.datamodel.FileDataStorageManager; @@ -27,7 +18,6 @@ import com.owncloud.android.lib.common.operations.RemoteOperationResult.ResultCo import com.owncloud.android.lib.resources.files.MoveFileRemoteOperation; import com.owncloud.android.operations.common.SyncOperation; - /** * Operation moving an {@link OCFile} to a different folder. */ diff --git a/app/src/main/java/com/owncloud/android/operations/RemoveFileOperation.java b/app/src/main/java/com/owncloud/android/operations/RemoveFileOperation.java index 25c8f4e112..ab3239bef9 100644 --- a/app/src/main/java/com/owncloud/android/operations/RemoveFileOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/RemoveFileOperation.java @@ -3,7 +3,7 @@ * * SPDX-FileCopyrightText: 2020 Tobias Kaminsky * SPDX-FileCopyrightText: 2015 ownCloud Inc. - * SPDX-FileCopyrightText: 2015 Masensio + * SPDX-FileCopyrightText: 2015 María Asensio Valverde * SPDX-FileCopyrightText: 2012 David A. Velasco * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ diff --git a/app/src/main/java/com/owncloud/android/operations/RenameFileOperation.java b/app/src/main/java/com/owncloud/android/operations/RenameFileOperation.java index 197a1d2e63..2fb1b9a6e6 100644 --- a/app/src/main/java/com/owncloud/android/operations/RenameFileOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/RenameFileOperation.java @@ -4,7 +4,7 @@ * SPDX-FileCopyrightText: 2020-2021 Tobias Kaminsky * SPDX-FileCopyrightText: 2018-2019 Andy Scherzinger * SPDX-FileCopyrightText: 2015 ownCloud Inc. - * SPDX-FileCopyrightText: 2015 Masensio + * SPDX-FileCopyrightText: 2015 María Asensio Valverde * SPDX-FileCopyrightText: 2012 David A. Velasco * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ diff --git a/app/src/main/java/com/owncloud/android/operations/SynchronizeFileOperation.java b/app/src/main/java/com/owncloud/android/operations/SynchronizeFileOperation.java index c13a0c9845..b141136d2a 100644 --- a/app/src/main/java/com/owncloud/android/operations/SynchronizeFileOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/SynchronizeFileOperation.java @@ -1,24 +1,16 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @author David A. Velasco - * @author masensio - * Copyright (C) 2012 Bartek Przybylski - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 Alper Ozturk + * SPDX-FileCopyrightText: 2021 Chris Narkiewicz + * SPDX-FileCopyrightText: 2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2016-2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-FileCopyrightText: 2013-2016 María Asensio Valverde + * SPDX-FileCopyrightText: 2012 David A. Velasco + * SPDX-FileCopyrightText: 2012 Bartek Przybylski + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import android.content.Context; diff --git a/app/src/main/java/com/owncloud/android/operations/SynchronizeFolderOperation.java b/app/src/main/java/com/owncloud/android/operations/SynchronizeFolderOperation.java index bb1a8e43d7..f9449772db 100644 --- a/app/src/main/java/com/owncloud/android/operations/SynchronizeFolderOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/SynchronizeFolderOperation.java @@ -1,23 +1,13 @@ /* - * ownCloud Android client application - * - * @author David A. Velasco - * Copyright (C) 2016 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2020 Chris Narkiewicz + * SPDX-FileCopyrightText: 2018-2023 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-FileCopyrightText: 2012-2013 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import android.content.Context; @@ -53,14 +43,11 @@ import java.util.concurrent.atomic.AtomicBoolean; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; - /** * Remote operation performing the synchronization of the list of files contained * in a folder identified with its remote path. - * * Fetches the list and properties of the files contained in the given folder, including their * properties, and updates the local database with them. - * * Does NOT enter in the child folders to synchronize their contents also, BUT requests for a new operation instance * doing so. */ diff --git a/app/src/main/java/com/owncloud/android/operations/UnshareOperation.java b/app/src/main/java/com/owncloud/android/operations/UnshareOperation.java index fadc83225d..d45d8b6642 100644 --- a/app/src/main/java/com/owncloud/android/operations/UnshareOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/UnshareOperation.java @@ -1,24 +1,12 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @author masensio - * @author Andy Scherzinger - * Copyright (C) 2015 ownCloud Inc. - * Copyright (C) 2018 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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: 2023 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2014 María Asensio Valverde + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import android.content.Context; diff --git a/app/src/main/java/com/owncloud/android/operations/UpdateOCVersionOperation.java b/app/src/main/java/com/owncloud/android/operations/UpdateOCVersionOperation.java index 5dbe59eddf..abd4ac1ea1 100644 --- a/app/src/main/java/com/owncloud/android/operations/UpdateOCVersionOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/UpdateOCVersionOperation.java @@ -1,23 +1,13 @@ -/** - * ownCloud Android client application - * - * @author David A. Velasco - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . +/* + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2022 Chris Narkiewicz + * SPDX-FileCopyrightText: 2018-2022 Tobias Kaminsky + * SPDX-FileCopyrightText: 2017 Andy Scherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2012 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import android.accounts.AccountManager; @@ -37,7 +27,6 @@ import org.apache.commons.httpclient.methods.GetMethod; import org.json.JSONException; import org.json.JSONObject; - /** * Remote operation that checks the version of an ownCloud server and stores it locally */ diff --git a/app/src/main/java/com/owncloud/android/operations/UpdateSharePermissionsOperation.java b/app/src/main/java/com/owncloud/android/operations/UpdateSharePermissionsOperation.java index bac5e9a898..3e1eb53859 100644 --- a/app/src/main/java/com/owncloud/android/operations/UpdateSharePermissionsOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/UpdateSharePermissionsOperation.java @@ -1,24 +1,12 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @author David A. Velasco - * @author Andy Scherzinger - * Copyright (C) 2015 ownCloud Inc. - * Copyright (C) 2018 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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: 2020-2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2015 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import android.text.TextUtils; @@ -33,7 +21,6 @@ import com.owncloud.android.lib.resources.shares.OCShare; import com.owncloud.android.lib.resources.shares.UpdateShareRemoteOperation; import com.owncloud.android.operations.common.SyncOperation; - /** * Updates an existing private share for a given file. */ diff --git a/app/src/main/java/com/owncloud/android/operations/UpdateShareViaLinkOperation.java b/app/src/main/java/com/owncloud/android/operations/UpdateShareViaLinkOperation.java index 3d6b5d6f6c..a7c06ea3da 100644 --- a/app/src/main/java/com/owncloud/android/operations/UpdateShareViaLinkOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/UpdateShareViaLinkOperation.java @@ -1,23 +1,11 @@ /* - * ownCloud Android client application - * - * @author David A. Velasco - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2020-2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2015 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import com.owncloud.android.datamodel.FileDataStorageManager; @@ -29,7 +17,6 @@ import com.owncloud.android.lib.resources.shares.OCShare; import com.owncloud.android.lib.resources.shares.UpdateShareRemoteOperation; import com.owncloud.android.operations.common.SyncOperation; - /** * Updates an existing public share for a given file */ diff --git a/app/src/main/java/com/owncloud/android/operations/UploadFileOperation.java b/app/src/main/java/com/owncloud/android/operations/UploadFileOperation.java index 0329979e2f..5c2e793001 100644 --- a/app/src/main/java/com/owncloud/android/operations/UploadFileOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/UploadFileOperation.java @@ -1,24 +1,13 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @author David A. Velasco - * @author Chris Narkiewicz - * Copyright (C) 2016 ownCloud GmbH. - * Copyright (C) 2020 Chris Narkiewicz - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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: 2020-2023 Tobias Kaminsky + * SPDX-FileCopyrightText: 2021 Chris Narkiewicz + * SPDX-FileCopyrightText: 2017-2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-FileCopyrightText: 2012 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations; import android.annotation.SuppressLint; @@ -103,7 +92,6 @@ import androidx.localbroadcastmanager.content.LocalBroadcastManager; import static com.owncloud.android.ui.activity.FileDisplayActivity.REFRESH_FOLDER_EVENT_RECEIVER; - /** * Operation performing the update in the ownCloud server of a file that was modified locally. */ diff --git a/app/src/main/java/com/owncloud/android/operations/common/SyncOperation.java b/app/src/main/java/com/owncloud/android/operations/common/SyncOperation.java index 5fbd2c6cd3..ea71c44d77 100644 --- a/app/src/main/java/com/owncloud/android/operations/common/SyncOperation.java +++ b/app/src/main/java/com/owncloud/android/operations/common/SyncOperation.java @@ -1,23 +1,12 @@ /* - * ownCloud Android client application - * - * @author David A. Velasco - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2022 Chris Narkiewicz + * SPDX-FileCopyrightText: 2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2014 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.operations.common; import android.content.Context; @@ -32,7 +21,6 @@ import com.owncloud.android.lib.common.operations.RemoteOperationResult; import androidx.annotation.NonNull; - /** * Operation which execution involves both interactions with an ownCloud server and with local data in the device. *

diff --git a/app/src/main/java/com/owncloud/android/providers/DocumentsStorageProvider.java b/app/src/main/java/com/owncloud/android/providers/DocumentsStorageProvider.java index a5810faf16..cc8b20abe9 100644 --- a/app/src/main/java/com/owncloud/android/providers/DocumentsStorageProvider.java +++ b/app/src/main/java/com/owncloud/android/providers/DocumentsStorageProvider.java @@ -1,25 +1,11 @@ /* - * Nextcloud Android client application - * - * @author Bartosz Przybylski - * @author Chris Narkiewicz - * Copyright (C) 2016 Bartosz Przybylski - * Copyright (C) 2021 Chris Narkiewicz - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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 . + * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2020-2022 Tobias Kaminsky + * SPDX-FileCopyrightText: 2019-2021 Chris Narkiewicz + * SPDX-FileCopyrightText: 2016 Bartosz Przybylski + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.providers; import android.accounts.AuthenticatorException; diff --git a/app/src/main/java/com/owncloud/android/providers/FileContentProvider.java b/app/src/main/java/com/owncloud/android/providers/FileContentProvider.java index 3dea010290..b98db5704b 100644 --- a/app/src/main/java/com/owncloud/android/providers/FileContentProvider.java +++ b/app/src/main/java/com/owncloud/android/providers/FileContentProvider.java @@ -1,25 +1,14 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @author Bartek Przybylski - * @author David A. Velasco - * @author masensio - * Copyright (C) 2011 Bartek Przybylski - * Copyright (C) 2016 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2016 ownCloud Inc. + * SPDX-FileCopyrightText: 2013-2016 María Asensio Valverde + * SPDX-FileCopyrightText: 2014 David A. Velasco + * SPDX-FileCopyrightText: 2011 Bartosz Przybylski + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.providers; import android.content.ContentProvider; @@ -60,9 +49,8 @@ import androidx.sqlite.db.SupportSQLiteQueryBuilder; import dagger.android.AndroidInjection; import third_parties.aosp.SQLiteTokenizer; - /** - * The ContentProvider for the ownCloud App. + * The ContentProvider for the Nextcloud App. */ @SuppressWarnings("PMD.AvoidDuplicateLiterals") public class FileContentProvider extends ContentProvider { diff --git a/app/src/main/java/com/owncloud/android/providers/UsersAndGroupsSearchProvider.java b/app/src/main/java/com/owncloud/android/providers/UsersAndGroupsSearchProvider.java index 0cee694903..afedff8817 100644 --- a/app/src/main/java/com/owncloud/android/providers/UsersAndGroupsSearchProvider.java +++ b/app/src/main/java/com/owncloud/android/providers/UsersAndGroupsSearchProvider.java @@ -1,23 +1,13 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @author David A. Velasco - * @author Juan Carlos González Cabrero - * Copyright (C) 2015 ownCloud Inc. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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: 2019-2020 Tobias Kaminsky + * SPDX-FileCopyrightText: 2019 Chris Narkiewicz + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2016 Juan Carlos González Cabrero + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.providers; import android.app.SearchManager; @@ -80,7 +70,6 @@ import static com.owncloud.android.lib.resources.shares.GetShareesRemoteOperatio import static com.owncloud.android.lib.resources.shares.GetShareesRemoteOperation.PROPERTY_MESSAGE; import static com.owncloud.android.lib.resources.shares.GetShareesRemoteOperation.PROPERTY_STATUS; - /** * Content provider for search suggestions, to search for users and groups existing in an ownCloud server. */ diff --git a/app/src/main/java/com/owncloud/android/services/OperationsService.java b/app/src/main/java/com/owncloud/android/services/OperationsService.java index f0969afc5c..cb3d536429 100644 --- a/app/src/main/java/com/owncloud/android/services/OperationsService.java +++ b/app/src/main/java/com/owncloud/android/services/OperationsService.java @@ -1,27 +1,15 @@ /* - * ownCloud Android client application + * Nextcloud - Android Client * - * @author masensio - * @author David A. Velasco - * @author Andy Scherzinger - * @author TSI-mc - * Copyright (C) 2015 ownCloud Inc. - * Copyright (C) 2018 Andy Scherzinger - * Copyright (C) 2021 TSI-mc - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * 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 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: 2018-2023 Tobias Kaminsky + * SPDX-FileCopyrightText: 2021 TSI-mc + * SPDX-FileCopyrightText: 2019 Chris Narkiewicz + * SPDX-FileCopyrightText: 2017-2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2015 ownCloud Inc. + * SPDX-FileCopyrightText: 2015 María Asensio Valverde + * SPDX-FileCopyrightText: 2014 David A. Velasco + * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ - package com.owncloud.android.services; import android.accounts.Account; diff --git a/app/src/main/java/com/owncloud/android/ui/activity/FileActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/FileActivity.java index 3978c4ab5f..f398dd6d8c 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/FileActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/FileActivity.java @@ -7,7 +7,7 @@ * SPDX-FileCopyrightText: 2019 Chris Narkiewicz * SPDX-FileCopyrightText: 2018 Andy Scherzinger * SPDX-FileCopyrightText: 2016 ownCloud Inc. - * SPDX-FileCopyrightText: 2015 masensio + * SPDX-FileCopyrightText: 2015 María Asensio Valverde * SPDX-FileCopyrightText: 2013 David A. Velasco * SPDX-FileCopyrightText: 2011 Bartek Przybylski * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later diff --git a/app/src/main/java/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java index 90ff8ab92c..a0cf956f99 100755 --- a/app/src/main/java/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java @@ -2,7 +2,7 @@ * ownCloud Android client application * * @author Bartek Przybylski - * @author masensio + * @author María Asensio Valverde * @author Juan Carlos González Cabrero * @author David A. Velasco * @author Chris Narkiewicz diff --git a/app/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java index 1579eb0158..32c50ff330 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java @@ -9,7 +9,7 @@ * SPDX-FileCopyrightText: 2015-2017 Andy Scherzinger * SPDX-FileCopyrightText: 2016 ownCloud Inc. * SPDX-FileCopyrightText: 2014 jabarros - * SPDX-FileCopyrightText: 2013 masensio + * SPDX-FileCopyrightText: 2013 María Asensio Valverde * SPDX-FileCopyrightText: 2011-2015 Bartosz Przybylski * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ diff --git a/app/src/main/java/com/owncloud/android/ui/activity/ShareActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/ShareActivity.java index 637a961c75..6eb24919d4 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/ShareActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/ShareActivity.java @@ -1,7 +1,7 @@ /* * ownCloud Android client application * - * @author masensio + * @author María Asensio Valverde * @author David A. Velasco * @author Juan Carlos González Cabrero * Copyright (C) 2015 ownCloud Inc. diff --git a/app/src/main/java/com/owncloud/android/ui/adapter/CertificateCombinedExceptionViewAdapter.java b/app/src/main/java/com/owncloud/android/ui/adapter/CertificateCombinedExceptionViewAdapter.java index a41b9e1316..8a2bf69aa7 100644 --- a/app/src/main/java/com/owncloud/android/ui/adapter/CertificateCombinedExceptionViewAdapter.java +++ b/app/src/main/java/com/owncloud/android/ui/adapter/CertificateCombinedExceptionViewAdapter.java @@ -1,7 +1,7 @@ /** * ownCloud Android client application * - * @author masensio + * @author María Asensio Valverde * @author David A. Velasco * Copyright (C) 2015 ownCloud Inc. * diff --git a/app/src/main/java/com/owncloud/android/ui/adapter/SslCertificateViewAdapter.java b/app/src/main/java/com/owncloud/android/ui/adapter/SslCertificateViewAdapter.java index 37dd30d640..7bf643de55 100644 --- a/app/src/main/java/com/owncloud/android/ui/adapter/SslCertificateViewAdapter.java +++ b/app/src/main/java/com/owncloud/android/ui/adapter/SslCertificateViewAdapter.java @@ -1,7 +1,7 @@ /** * ownCloud Android client application * - * @author masensio + * @author María Asensio Valverde * @author David A. Velasco * Copyright (C) 2015 ownCloud Inc. * diff --git a/app/src/main/java/com/owncloud/android/ui/adapter/SslErrorViewAdapter.java b/app/src/main/java/com/owncloud/android/ui/adapter/SslErrorViewAdapter.java index 297f856dd9..334d70e924 100644 --- a/app/src/main/java/com/owncloud/android/ui/adapter/SslErrorViewAdapter.java +++ b/app/src/main/java/com/owncloud/android/ui/adapter/SslErrorViewAdapter.java @@ -1,7 +1,7 @@ /** * ownCloud Android client application * - * @author masensio + * @author María Asensio Valverde * @author David A. Velasco * Copyright (C) 2015 ownCloud Inc. * diff --git a/app/src/main/java/com/owncloud/android/ui/adapter/X509CertificateViewAdapter.java b/app/src/main/java/com/owncloud/android/ui/adapter/X509CertificateViewAdapter.java index 32245641e2..2f69378eea 100644 --- a/app/src/main/java/com/owncloud/android/ui/adapter/X509CertificateViewAdapter.java +++ b/app/src/main/java/com/owncloud/android/ui/adapter/X509CertificateViewAdapter.java @@ -1,7 +1,7 @@ /* * ownCloud Android client application * - * @author masensio + * @author María Asensio Valverde * @author David A. Velasco * Copyright (C) 2015 ownCloud Inc. * diff --git a/app/src/main/java/com/owncloud/android/ui/asynctasks/CopyAndUploadContentUrisTask.java b/app/src/main/java/com/owncloud/android/ui/asynctasks/CopyAndUploadContentUrisTask.java index 8880a75bc9..b92152cc54 100644 --- a/app/src/main/java/com/owncloud/android/ui/asynctasks/CopyAndUploadContentUrisTask.java +++ b/app/src/main/java/com/owncloud/android/ui/asynctasks/CopyAndUploadContentUrisTask.java @@ -1,7 +1,7 @@ /** * ownCloud Android client application * - * @author masensio + * @author María Asensio Valverde * @author Juan Carlos González Cabrero * @author David A. Velasco * Copyright (C) 2016 ownCloud Inc. diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/LoadingDialog.kt b/app/src/main/java/com/owncloud/android/ui/dialog/LoadingDialog.kt index c3ca59c3b7..5eede7d3fd 100644 --- a/app/src/main/java/com/owncloud/android/ui/dialog/LoadingDialog.kt +++ b/app/src/main/java/com/owncloud/android/ui/dialog/LoadingDialog.kt @@ -2,7 +2,7 @@ * Nextcloud - Android Client * * SPDX-FileCopyrightText: 2023 Alper Ozturk - * SPDX-FileCopyrightText: 2015 masensio + * SPDX-FileCopyrightText: 2015 María Asensio Valverde * SPDX-FileCopyrightText: 2015 ownCloud Inc. * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/SharePasswordDialogFragment.kt b/app/src/main/java/com/owncloud/android/ui/dialog/SharePasswordDialogFragment.kt index 2b8e9dde57..a7f8a5cb84 100644 --- a/app/src/main/java/com/owncloud/android/ui/dialog/SharePasswordDialogFragment.kt +++ b/app/src/main/java/com/owncloud/android/ui/dialog/SharePasswordDialogFragment.kt @@ -5,7 +5,7 @@ * SPDX-FileCopyrightText: 2022 Álvaro Brey * SPDX-FileCopyrightText: 2017-2020 Tobias Kaminsky * SPDX-FileCopyrightText: 2018 Andy Scherzinger - * SPDX-FileCopyrightText: 2015 masensio + * SPDX-FileCopyrightText: 2015 María Asensio Valverde * SPDX-FileCopyrightText: 2015 ownCloud Inc. * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/SslUntrustedCertDialog.java b/app/src/main/java/com/owncloud/android/ui/dialog/SslUntrustedCertDialog.java index f1501d5c6d..4457105320 100644 --- a/app/src/main/java/com/owncloud/android/ui/dialog/SslUntrustedCertDialog.java +++ b/app/src/main/java/com/owncloud/android/ui/dialog/SslUntrustedCertDialog.java @@ -7,7 +7,7 @@ * SPDX-FileCopyrightText: 2018 Tobias Kaminsky * SPDX-FileCopyrightText: 2015 ownCloud Inc. * SPDX-FileCopyrightText: 2014 David A. Velasco - * SPDX-FileCopyrightText: 2014 Masensio + * SPDX-FileCopyrightText: 2014 María Asensio Valverde * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ package com.owncloud.android.ui.dialog; diff --git a/app/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java b/app/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java index 4d1ac8a360..6d8efcea33 100755 --- a/app/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java +++ b/app/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java @@ -7,7 +7,7 @@ * SPDX-FileCopyrightText: 2018-2020 Andy Scherzinger * SPDX-FileCopyrightText: 2016 Atsushi Matsuo * SPDX-FileCopyrightText: 2015 ownCloud Inc. - * SPDX-FileCopyrightText: 2014 masensio + * SPDX-FileCopyrightText: 2014 María Asensio Valverde * SPDX-FileCopyrightText: 2014 David A. Velasco * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ diff --git a/app/src/main/java/com/owncloud/android/ui/preview/PreviewImageActivity.java b/app/src/main/java/com/owncloud/android/ui/preview/PreviewImageActivity.java index 5035151ec1..af6647c4e2 100644 --- a/app/src/main/java/com/owncloud/android/ui/preview/PreviewImageActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/preview/PreviewImageActivity.java @@ -7,7 +7,7 @@ * SPDX-FileCopyrightText: 2019 Tobias Kaminsky * SPDX-FileCopyrightText: 2019 Chris Narkiewicz * SPDX-FileCopyrightText: 2016 ownCloud Inc. - * SPDX-FileCopyrightText: 2015 masensio + * SPDX-FileCopyrightText: 2015 María Asensio Valverde * SPDX-FileCopyrightText: 2013 David A. Velasco * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later */ diff --git a/app/src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java b/app/src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java index 0b6911eef3..64f63c9645 100644 --- a/app/src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java +++ b/app/src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java @@ -1,7 +1,7 @@ /* * ownCloud Android client application * - * @author masensio + * @author María Asensio Valverde * Copyright (C) 2016 ownCloud GmbH. * * This program is free software: you can redistribute it and/or modify diff --git a/app/src/main/java/com/owncloud/android/utils/theme/CapabilityUtils.java b/app/src/main/java/com/owncloud/android/utils/theme/CapabilityUtils.java index e3758c052b..8669e66dd9 100644 --- a/app/src/main/java/com/owncloud/android/utils/theme/CapabilityUtils.java +++ b/app/src/main/java/com/owncloud/android/utils/theme/CapabilityUtils.java @@ -1,7 +1,7 @@ /* * Nextcloud - Android Client * - * SPDX-FileCopyrightText: 2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2018 Andy Scherzinger * SPDX-FileCopyrightText: 2017 Tobias Kaminsky * SPDX-FileCopyrightText: 2017 Nextcloud GmbH * SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/app/src/main/java/com/owncloud/android/utils/theme/ThemeColorUtils.java b/app/src/main/java/com/owncloud/android/utils/theme/ThemeColorUtils.java index 231284c5cd..000d352f00 100644 --- a/app/src/main/java/com/owncloud/android/utils/theme/ThemeColorUtils.java +++ b/app/src/main/java/com/owncloud/android/utils/theme/ThemeColorUtils.java @@ -1,7 +1,7 @@ /* * Nextcloud - Android Client * - * SPDX-FileCopyrightText: 2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2018 Andy Scherzinger * SPDX-FileCopyrightText: 2017 Tobias Kaminsky * SPDX-FileCopyrightText: 2017 Nextcloud GmbH * SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/app/src/main/java/com/owncloud/android/utils/theme/ThemeUtils.java b/app/src/main/java/com/owncloud/android/utils/theme/ThemeUtils.java index e36d697757..1d28d16468 100644 --- a/app/src/main/java/com/owncloud/android/utils/theme/ThemeUtils.java +++ b/app/src/main/java/com/owncloud/android/utils/theme/ThemeUtils.java @@ -1,7 +1,7 @@ /* * Nextcloud - Android Client * - * SPDX-FileCopyrightText: 2018 Andy Scherzinger + * SPDX-FileCopyrightText: 2018 Andy Scherzinger * SPDX-FileCopyrightText: 2017 Tobias Kaminsky * SPDX-FileCopyrightText: 2017 Nextcloud GmbH * SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/app/src/main/res/layout/activity_manage_space.xml b/app/src/main/res/layout/activity_manage_space.xml index 25358a017f..97caf0baa5 100644 --- a/app/src/main/res/layout/activity_manage_space.xml +++ b/app/src/main/res/layout/activity_manage_space.xml @@ -3,7 +3,7 @@ ~ Nextcloud - Android Client ~ ~ SPDX-FileCopyrightText: 2018 Andy Scherzinger - ~ SPDX-FileCopyrightText: 2016 Maria Asensio + ~ SPDX-FileCopyrightText: 2016 María Asensio Valverde ~ SPDX-FileCopyrightText: 2016 ownCloud Inc. ~ SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later --> diff --git a/app/src/main/res/layout/dialog_sso_grant_permission.xml b/app/src/main/res/layout/dialog_sso_grant_permission.xml index 96cbfa6496..ba2c307fcd 100644 --- a/app/src/main/res/layout/dialog_sso_grant_permission.xml +++ b/app/src/main/res/layout/dialog_sso_grant_permission.xml @@ -2,7 +2,7 @@ - ~ SPDX-FileCopyrightText: 2015 Masensio ~ SPDX-FileCopyrightText: 2017 Tobias Kaminsky ~ SPDX-FileCopyrightText: 2015 ownCloud Inc. - ~ SPDX-FileCopyrightText: 2013 masensio + ~ SPDX-FileCopyrightText: 2013 María Asensio Valverde ~ SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later --> + ~ SPDX-FileCopyrightText: 2018 Andy Scherzinger ~ SPDX-FileCopyrightText: 2015 ownCloud Inc. ~ SPDX-FileCopyrightText: 2013 David A. Velasco ~ SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later diff --git a/app/src/main/res/layout/note_dialog.xml b/app/src/main/res/layout/note_dialog.xml index f8f9683e35..042f9ec391 100644 --- a/app/src/main/res/layout/note_dialog.xml +++ b/app/src/main/res/layout/note_dialog.xml @@ -2,7 +2,7 @@ diff --git a/app/src/main/res/layout/search_users_groups_layout.xml b/app/src/main/res/layout/search_users_groups_layout.xml index 7eff9e1618..ced1225ec8 100644 --- a/app/src/main/res/layout/search_users_groups_layout.xml +++ b/app/src/main/res/layout/search_users_groups_layout.xml @@ -5,7 +5,7 @@ ~ SPDX-FileCopyrightText: 2017 Tobias Kaminsky ~ SPDX-FileCopyrightText: 2016 Andy Scherzinger ~ SPDX-FileCopyrightText: 2016 Juan Carlos González Cabrero - ~ SPDX-FileCopyrightText: 2015 masensio + ~ SPDX-FileCopyrightText: 2015 María Asensio Valverde ~ SPDX-FileCopyrightText: 2015 ownCloud Inc. ~ SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later --> diff --git a/app/src/main/res/layout/share_activity.xml b/app/src/main/res/layout/share_activity.xml index 7471ad3797..1f8e712f73 100644 --- a/app/src/main/res/layout/share_activity.xml +++ b/app/src/main/res/layout/share_activity.xml @@ -4,7 +4,7 @@ ~ ~ SPDX-FileCopyrightText: 2020-2022 Tobias Kaminsky ~ SPDX-FileCopyrightText: 2015 ownCloud Inc. - ~ SPDX-FileCopyrightText: 2015 masensio + ~ SPDX-FileCopyrightText: 2015 María Asensio Valverde ~ SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later --> ~ SPDX-FileCopyrightText: 2015 Andy Scherzinger ~ SPDX-FileCopyrightText: 2015 ownCloud Inc. - ~ SPDX-FileCopyrightText: 2014 masensio + ~ SPDX-FileCopyrightText: 2014 María Asensio Valverde ~ SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later --> +SPDX-FileCopyrightText: 2018 Andy Scherzinger SPDX-FileCopyrightText: 2018-2024 Google LLC SPDX-License-Identifier: Apache-2.0 diff --git a/drawable_resources/alphabetical_desc.svg.license b/drawable_resources/alphabetical_desc.svg.license index 5ac2f93f33..2d69832009 100644 --- a/drawable_resources/alphabetical_desc.svg.license +++ b/drawable_resources/alphabetical_desc.svg.license @@ -1,3 +1,3 @@ -SPDX-FileCopyrightText: 2018 Andy Scherzinger +SPDX-FileCopyrightText: 2018 Andy Scherzinger SPDX-FileCopyrightText: 2018-2024 Google LLC SPDX-License-Identifier: Apache-2.0 diff --git a/drawable_resources/modification_asc.svg.license b/drawable_resources/modification_asc.svg.license index 5ac2f93f33..2d69832009 100644 --- a/drawable_resources/modification_asc.svg.license +++ b/drawable_resources/modification_asc.svg.license @@ -1,3 +1,3 @@ -SPDX-FileCopyrightText: 2018 Andy Scherzinger +SPDX-FileCopyrightText: 2018 Andy Scherzinger SPDX-FileCopyrightText: 2018-2024 Google LLC SPDX-License-Identifier: Apache-2.0 diff --git a/drawable_resources/modification_desc.svg.license b/drawable_resources/modification_desc.svg.license index 5ac2f93f33..2d69832009 100644 --- a/drawable_resources/modification_desc.svg.license +++ b/drawable_resources/modification_desc.svg.license @@ -1,3 +1,3 @@ -SPDX-FileCopyrightText: 2018 Andy Scherzinger +SPDX-FileCopyrightText: 2018 Andy Scherzinger SPDX-FileCopyrightText: 2018-2024 Google LLC SPDX-License-Identifier: Apache-2.0 diff --git a/drawable_resources/size_asc.svg.license b/drawable_resources/size_asc.svg.license index 5ac2f93f33..2d69832009 100644 --- a/drawable_resources/size_asc.svg.license +++ b/drawable_resources/size_asc.svg.license @@ -1,3 +1,3 @@ -SPDX-FileCopyrightText: 2018 Andy Scherzinger +SPDX-FileCopyrightText: 2018 Andy Scherzinger SPDX-FileCopyrightText: 2018-2024 Google LLC SPDX-License-Identifier: Apache-2.0 diff --git a/drawable_resources/size_desc.svg.license b/drawable_resources/size_desc.svg.license index 5ac2f93f33..2d69832009 100644 --- a/drawable_resources/size_desc.svg.license +++ b/drawable_resources/size_desc.svg.license @@ -1,3 +1,3 @@ -SPDX-FileCopyrightText: 2018 Andy Scherzinger +SPDX-FileCopyrightText: 2018 Andy Scherzinger SPDX-FileCopyrightText: 2018-2024 Google LLC SPDX-License-Identifier: Apache-2.0