Browse Source

Add SPDX header

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 1 year ago
parent
commit
5366c1e6b9
77 changed files with 298 additions and 689 deletions
  1. 1 1
      app/src/main/java/com/owncloud/android/MainApp.java
  2. 1 1
      app/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java
  3. 1 1
      app/src/main/java/com/owncloud/android/authentication/AuthenticatorAsyncTask.kt
  4. 4 16
      app/src/main/java/com/owncloud/android/authentication/PassCodeManager.kt
  5. 10 20
      app/src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java
  6. 10 19
      app/src/main/java/com/owncloud/android/datamodel/OCFile.java
  7. 3 16
      app/src/main/java/com/owncloud/android/datamodel/SignatureVerification.kt
  8. 1 1
      app/src/main/java/com/owncloud/android/datamodel/UploadsStorageManager.java
  9. 11 20
      app/src/main/java/com/owncloud/android/db/OCUpload.java
  10. 3 15
      app/src/main/java/com/owncloud/android/db/OCUploadComparator.kt
  11. 1 1
      app/src/main/java/com/owncloud/android/db/ProviderMeta.java
  12. 7 16
      app/src/main/java/com/owncloud/android/db/UploadResult.java
  13. 8 21
      app/src/main/java/com/owncloud/android/files/BootupBroadcastReceiver.java
  14. 10 21
      app/src/main/java/com/owncloud/android/files/FileMenuFilter.java
  15. 7 20
      app/src/main/java/com/owncloud/android/files/services/IndexedForest.java
  16. 10 19
      app/src/main/java/com/owncloud/android/media/MediaControlView.java
  17. 8 18
      app/src/main/java/com/owncloud/android/operations/CheckCurrentCredentialsOperation.java
  18. 7 15
      app/src/main/java/com/owncloud/android/operations/CopyFileOperation.java
  19. 8 18
      app/src/main/java/com/owncloud/android/operations/CreateFolderOperation.java
  20. 7 18
      app/src/main/java/com/owncloud/android/operations/CreateShareViaLinkOperation.java
  21. 7 20
      app/src/main/java/com/owncloud/android/operations/CreateShareWithShareeOperation.java
  22. 7 18
      app/src/main/java/com/owncloud/android/operations/DetectAuthenticationMethodOperation.java
  23. 8 18
      app/src/main/java/com/owncloud/android/operations/DownloadFileOperation.java
  24. 8 18
      app/src/main/java/com/owncloud/android/operations/GetCapabilitiesOperation.java
  25. 8 21
      app/src/main/java/com/owncloud/android/operations/GetServerInfoOperation.java
  26. 6 18
      app/src/main/java/com/owncloud/android/operations/GetSharesForFileOperation.java
  27. 7 17
      app/src/main/java/com/owncloud/android/operations/GetUserProfileOperation.java
  28. 7 17
      app/src/main/java/com/owncloud/android/operations/MoveFileOperation.java
  29. 1 1
      app/src/main/java/com/owncloud/android/operations/RemoveFileOperation.java
  30. 1 1
      app/src/main/java/com/owncloud/android/operations/RenameFileOperation.java
  31. 10 18
      app/src/main/java/com/owncloud/android/operations/SynchronizeFileOperation.java
  32. 7 20
      app/src/main/java/com/owncloud/android/operations/SynchronizeFolderOperation.java
  33. 6 18
      app/src/main/java/com/owncloud/android/operations/UnshareOperation.java
  34. 8 19
      app/src/main/java/com/owncloud/android/operations/UpdateOCVersionOperation.java
  35. 6 19
      app/src/main/java/com/owncloud/android/operations/UpdateSharePermissionsOperation.java
  36. 5 18
      app/src/main/java/com/owncloud/android/operations/UpdateShareViaLinkOperation.java
  37. 7 19
      app/src/main/java/com/owncloud/android/operations/UploadFileOperation.java
  38. 6 18
      app/src/main/java/com/owncloud/android/operations/common/SyncOperation.java
  39. 5 19
      app/src/main/java/com/owncloud/android/providers/DocumentsStorageProvider.java
  40. 9 21
      app/src/main/java/com/owncloud/android/providers/FileContentProvider.java
  41. 7 18
      app/src/main/java/com/owncloud/android/providers/UsersAndGroupsSearchProvider.java
  42. 9 21
      app/src/main/java/com/owncloud/android/services/OperationsService.java
  43. 1 1
      app/src/main/java/com/owncloud/android/ui/activity/FileActivity.java
  44. 1 1
      app/src/main/java/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java
  45. 1 1
      app/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java
  46. 1 1
      app/src/main/java/com/owncloud/android/ui/activity/ShareActivity.java
  47. 1 1
      app/src/main/java/com/owncloud/android/ui/adapter/CertificateCombinedExceptionViewAdapter.java
  48. 1 1
      app/src/main/java/com/owncloud/android/ui/adapter/SslCertificateViewAdapter.java
  49. 1 1
      app/src/main/java/com/owncloud/android/ui/adapter/SslErrorViewAdapter.java
  50. 1 1
      app/src/main/java/com/owncloud/android/ui/adapter/X509CertificateViewAdapter.java
  51. 1 1
      app/src/main/java/com/owncloud/android/ui/asynctasks/CopyAndUploadContentUrisTask.java
  52. 1 1
      app/src/main/java/com/owncloud/android/ui/dialog/LoadingDialog.kt
  53. 1 1
      app/src/main/java/com/owncloud/android/ui/dialog/SharePasswordDialogFragment.kt
  54. 1 1
      app/src/main/java/com/owncloud/android/ui/dialog/SslUntrustedCertDialog.java
  55. 1 1
      app/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java
  56. 1 1
      app/src/main/java/com/owncloud/android/ui/preview/PreviewImageActivity.java
  57. 1 1
      app/src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java
  58. 1 1
      app/src/main/java/com/owncloud/android/utils/theme/CapabilityUtils.java
  59. 1 1
      app/src/main/java/com/owncloud/android/utils/theme/ThemeColorUtils.java
  60. 1 1
      app/src/main/java/com/owncloud/android/utils/theme/ThemeUtils.java
  61. 1 1
      app/src/main/res/layout/activity_manage_space.xml
  62. 1 1
      app/src/main/res/layout/dialog_sso_grant_permission.xml
  63. 1 1
      app/src/main/res/layout/file_details_share_share_item.xml
  64. 1 1
      app/src/main/res/layout/loading_dialog.xml
  65. 1 1
      app/src/main/res/layout/media_control.xml
  66. 1 1
      app/src/main/res/layout/note_dialog.xml
  67. 1 1
      app/src/main/res/layout/preview_image_activity.xml
  68. 1 1
      app/src/main/res/layout/preview_image_error_fragment.xml
  69. 1 1
      app/src/main/res/layout/search_users_groups_layout.xml
  70. 1 1
      app/src/main/res/layout/share_activity.xml
  71. 1 1
      app/src/main/res/layout/ssl_untrusted_cert_layout.xml
  72. 1 1
      drawable_resources/alphabetical_asc.svg.license
  73. 1 1
      drawable_resources/alphabetical_desc.svg.license
  74. 1 1
      drawable_resources/modification_asc.svg.license
  75. 1 1
      drawable_resources/modification_desc.svg.license
  76. 1 1
      drawable_resources/size_asc.svg.license
  77. 1 1
      drawable_resources/size_desc.svg.license

+ 1 - 1
app/src/main/java/com/owncloud/android/MainApp.java

@@ -10,7 +10,7 @@
  * SPDX-FileCopyrightText: 2016 Andy Scherzinger <info@andy-scherzinger.de>
  * SPDX-FileCopyrightText: 2015 ownCloud Inc.
  * SPDX-FileCopyrightText: 2014 David A. Velasco <dvelasco@solidgear.es>
- * SPDX-FileCopyrightText: 2013 Masensio <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2013 María Asensio Valverde <masensio@solidgear.es>
  * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
 package com.owncloud.android;

+ 1 - 1
app/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java

@@ -6,7 +6,7 @@
  * SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger>
  * SPDX-FileCopyrightText: 2017 Mario Danic <mario@lovelyhq.com>
  * SPDX-FileCopyrightText: 2015 ownCloud Inc.
- * SPDX-FileCopyrightText: 2013-2015 masensio <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2013-2015 María Asensio Valverde <masensio@solidgear.es>
  * SPDX-FileCopyrightText: 2013-2015 David A. Velasco <dvelasco@solidgear.es>
  * SPDX-FileCopyrightText: 2011-2012 Bartosz Przybylski <bart.p.pl@gmail.com>
  * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later

+ 1 - 1
app/src/main/java/com/owncloud/android/authentication/AuthenticatorAsyncTask.kt

@@ -4,7 +4,7 @@
  * SPDX-FileCopyrightText: 2023 Alper Ozturk <alper_ozturk@proton.me>
  * SPDX-FileCopyrightText: 2021 Tobias Kaminsky <tobias@kaminsky.me>
  * SPDX-FileCopyrightText: 2015 ownCloud Inc.
- * SPDX-FileCopyrightText: 2013-2015 masensio <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2013-2015 María Asensio Valverde <masensio@solidgear.es>
  * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
 @file:Suppress("DEPRECATION")

+ 4 - 16
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 <http://www.gnu.org/licenses/>.
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2024 Alper Ozturk <alper_ozturk@proton.me>
+ * SPDX-FileCopyrightText: 2022-2023 Álvaro Brey <alvaro@alvarobrey.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.authentication
 

+ 10 - 20
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 <hello@ezaquarii.com>
- * 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 <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2023 Alper Ozturk <alper_ozturk@proton.me>
+ * SPDX-FileCopyrightText: 2022 TSI-mc
+ * SPDX-FileCopyrightText: 2021 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2018-2020 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2012 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-FileCopyrightText: 2011 Bartosz Przybylski <bart.p.pl@gmail.com>
+ * 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();
 

+ 10 - 19
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 <http://www.gnu.org/licenses/>.
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2023 Alper Ozturk <alper_ozturk@proton.me>
+ * SPDX-FileCopyrightText: 2022 Álvaro Brey Vilas <alvaro@alvarobrey.com>
+ * SPDX-FileCopyrightText: 2020 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2018 Mario Danic <mario@lovelyhq.com>
+ * SPDX-FileCopyrightText: 2016 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2012-2016 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-FileCopyrightText: 2012 Bartosz Przybylski <bart.p.pl@gmail.com>
+ * 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;

+ 3 - 16
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 <mario@lovelyhq.com>
- *
- * 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: 2022 Unpublished <unpublished@users.noreply.github.com>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 package com.owncloud.android.datamodel
 

+ 1 - 1
app/src/main/java/com/owncloud/android/datamodel/UploadsStorageManager.java

@@ -7,7 +7,7 @@
  * SPDX-FileCopyrightText: 2019-2021 Chris Narkiewicz <hello@ezaquarii.com>
  * SPDX-FileCopyrightText: 2016-2020 Andy Scherzinger <info@andy-scherzinger.de>
  * SPDX-FileCopyrightText: 2016 ownCloud Inc.
- * SPDX-FileCopyrightText: 2016 masensio <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2016 María Asensio Valverde <masensio@solidgear.es>
  * SPDX-FileCopyrightText: 2016 David A. Velasco <dvelasco@solidgear.es>
  * SPDX-FileCopyrightText: 2014 Luke Owncloud <owncloud@ohrt.org>
  * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later

+ 11 - 20
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 <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2021 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2020 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2019 Alice Gaudon <alice@gaudon.pro>
+ * SPDX-FileCopyrightText: 2018 Nextcloud GmbH
+ * SPDX-FileCopyrightText: 2017 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2016 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2014 Luke Owncloud <owncloud@ohrt.org>
+ * SPDX-FileCopyrightText: 2015-2016 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-FileCopyrightText: 2015-2016 María Asensio Valverde <masensio@solidgear.es>
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
-
 package com.owncloud.android.db;
 
 import android.os.Parcel;

+ 3 - 15
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 <dfogni@gmail.com>
- *
- * 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 <https://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2019 Daniele Fognini <dfogni@gmail.com>
+ * SPDX-License-Identifier: GPL-3.0-or-later
  */
 package com.owncloud.android.db
 

+ 1 - 1
app/src/main/java/com/owncloud/android/db/ProviderMeta.java

@@ -4,7 +4,7 @@
  * SPDX-FileCopyrightText: 2022 Álvaro Brey  <alvaro@alvarobrey.com>
  * SPDX-FileCopyrightText: 2016-2021 Tobias Kaminsky <tobias@kaminsky.me>
  * SPDX-FileCopyrightText: 2016 ownCloud Inc.
- * SPDX-FileCopyrightText: 2014-2015 Masensio <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2014-2015 María Asensio Valverde <masensio@solidgear.es>
  * SPDX-FileCopyrightText: 2012 David A. Velasco <dvelasco@solidgear.es>
  * SPDX-FileCopyrightText: 2011 Bartosz Przybylski <bart.p.pl@gmail.com>
  * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later

+ 7 - 16
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 <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2016-2019 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2017 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2016 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2016 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-FileCopyrightText: 2015-2016 María Asensio Valverde <masensio@solidgear.es>
+ * 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;

+ 8 - 21
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 <hello@ezaquarii.com>
- *
- * 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 <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2022 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2017 Mario Danic <mario@lovelyhq.com>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2014 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-FileCopyrightText: 2012 Bartosz Przybylski <bart.p.pl@gmail.com>
+ * 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.

+ 10 - 21
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 <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2023 Alper Ozturk <alper_ozturk@proton.me>
+ * SPDX-FileCopyrightText: 2019-2023 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2022 Álvaro Brey Vilas <alvaro@alvarobrey.com>
+ * SPDX-FileCopyrightText: 2020 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2018 Mario Danic <mario@lovelyhq.com>
+ * SPDX-FileCopyrightText: 2016 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2014-2016 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-FileCopyrightText: 2012 Bartosz Przybylski <bart.p.pl@gmail.com>
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
-
 package com.owncloud.android.files;
 
 import android.accounts.AccountManager;

+ 7 - 20
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 <http://www.gnu.org/licenses/>.
+/*
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2024 Alper Ozturk <alper_ozturk@proton.me>
+ * SPDX-FileCopyrightText: 2017-2018 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2016 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2015 David A. Velasco <dvelasco@solidgear.es>
+ * 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<V> {

+ 10 - 19
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 <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2023 Alper Ozturk <alper_ozturk@proton.me>
+ * SPDX-FileCopyrightText: 2022 Álvaro Brey Vilas <alvaro@alvarobrey.com>
+ * SPDX-FileCopyrightText: 2018-2020 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2019 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2013 David A. Velasco <dvelasco@solidgear.es>
+ * 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}.
  * <p>
@@ -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);

+ 8 - 18
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 <http://www.gnu.org/licenses/>.
+/*
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2021 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2021 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2016 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2016 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
-
 package com.owncloud.android.operations;
 
 import com.nextcloud.client.account.User;

+ 7 - 15
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 <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2021 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2019 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2012-2014 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2014 Jorge Antonio Diaz-Benito Soriano <jorge.diazbenitosoriano@gmail.com>
+ * 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.
  *

+ 8 - 18
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 <http://www.gnu.org/licenses/>.
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2020-2023 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2020 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2012 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es>
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
-
 package com.owncloud.android.operations;
 
 import android.content.Context;

+ 7 - 18
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 <http://www.gnu.org/licenses/>.
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2020-2023 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2019 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2016 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-FileCopyrightText: 2014 María Asensio Valverde <masensio@solidgear.es>
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
-
 package com.owncloud.android.operations;
 
 import com.owncloud.android.datamodel.FileDataStorageManager;

+ 7 - 20
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 <http://www.gnu.org/licenses/>.
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2020-2023 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2021 TSI-mc
+ * SPDX-FileCopyrightText: 2016 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2015 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
-
 package com.owncloud.android.operations;
 
 import android.content.Context;

+ 7 - 18
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 <http://www.gnu.org/licenses/>.
+/*
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2017-2019 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2016-2017 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2014 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
-
 package com.owncloud.android.operations;
 
 import android.content.Context;

+ 8 - 18
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 <http://www.gnu.org/licenses/>.
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2024 Alper Ozturk <alper_ozturk@proton.me>
+ * SPDX-FileCopyrightText: 2020-2022 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2019 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2012 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
-
 package com.owncloud.android.operations;
 
 import android.content.Context;

+ 8 - 18
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 <http://www.gnu.org/licenses/>.
+/*
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2021-2022 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2021 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2020 Daniel Kesselberg <mail@danielkesselberg.de>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es>
+ * 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;
     }
-
 }

+ 8 - 21
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 <http://www.gnu.org/licenses/>.
+/*
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2017-2019 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2017-2018 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2014 David A. Velasco <dvelasco@solidgear.es>
+ * 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();

+ 6 - 18
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 <http://www.gnu.org/licenses/>.
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2021 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2014-2015 María Asensio Valverde <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2015 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
-
-
 package com.owncloud.android.operations;
 
 import com.owncloud.android.datamodel.FileDataStorageManager;

+ 7 - 17
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 <http://www.gnu.org/licenses/>.
+/*
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2021 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2021 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2016 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2016 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
 package com.owncloud.android.operations;
 

+ 7 - 17
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 <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2021 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2019 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2014 David A. Velasco <dvelasco@solidgear.es>
+ * 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.
  */

+ 1 - 1
app/src/main/java/com/owncloud/android/operations/RemoveFileOperation.java

@@ -3,7 +3,7 @@
  *
  * SPDX-FileCopyrightText: 2020 Tobias Kaminsky <tobias@kaminsky.me>
  * SPDX-FileCopyrightText: 2015 ownCloud Inc.
- * SPDX-FileCopyrightText: 2015 Masensio <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es>
  * SPDX-FileCopyrightText: 2012 David A. Velasco <dvelasco@solidgear.es>
  * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */

+ 1 - 1
app/src/main/java/com/owncloud/android/operations/RenameFileOperation.java

@@ -4,7 +4,7 @@
  * SPDX-FileCopyrightText: 2020-2021 Tobias Kaminsky <tobias@kaminsky.me>
  * SPDX-FileCopyrightText: 2018-2019 Andy Scherzinger <info@andy-scherzinger>
  * SPDX-FileCopyrightText: 2015 ownCloud Inc.
- * SPDX-FileCopyrightText: 2015 Masensio <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es>
  * SPDX-FileCopyrightText: 2012 David A. Velasco <dvelasco@solidgear.es>
  * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */

+ 10 - 18
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 <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2024 Alper Ozturk <alper_ozturk@proton.me>
+ * SPDX-FileCopyrightText: 2021 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2021 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2016-2018 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2016 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2013-2016 María Asensio Valverde <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2012 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-FileCopyrightText: 2012 Bartek Przybylski <bart.p.pl@gmail.com>
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
-
 package com.owncloud.android.operations;
 
 import android.content.Context;

+ 7 - 20
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 <http://www.gnu.org/licenses/>.
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2020 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2018-2023 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2016 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2012-2013 David A. Velasco <dvelasco@solidgear.es>
+ * 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.
  */

+ 6 - 18
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 <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2023 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2014 María Asensio Valverde <masensio@solidgear.es>
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
-
 package com.owncloud.android.operations;
 
 import android.content.Context;

+ 8 - 19
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 <http://www.gnu.org/licenses/>.
+/*
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2022 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2018-2022 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2017 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2012 David A. Velasco <dvelasco@solidgear.es>
+ * 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
  */

+ 6 - 19
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 <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2020-2021 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2015 David A. Velasco <dvelasco@solidgear.es>
+ * 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.
  */

+ 5 - 18
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 <http://www.gnu.org/licenses/>.
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2020-2021 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2015 David A. Velasco <dvelasco@solidgear.es>
+ * 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
  */

+ 7 - 19
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 <hello@ezaquarii.com>
- *
- * 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 <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2020-2023 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2021 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2017-2018 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2016 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2012 David A. Velasco <dvelasco@solidgear.es>
+ * 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.
  */

+ 6 - 18
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 <http://www.gnu.org/licenses/>.
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2022 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2021 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2014 David A. Velasco <dvelasco@solidgear.es>
+ * 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.
  * <p>

+ 5 - 19
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 <bart.p.pl@gmail.com>
- *   Copyright (C) 2021 Chris Narkiewicz <hello@ezaquarii.com>
- *
- *   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 <http://www.gnu.org/licenses/>.
+ * Nextcloud - Android Client
  *
+ * SPDX-FileCopyrightText: 2020-2022 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2019-2021 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2016 Bartosz Przybylski <bart.p.pl@gmail.com>
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
-
 package com.owncloud.android.providers;
 
 import android.accounts.AuthenticatorException;

+ 9 - 21
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 <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2022 Álvaro Brey <alvaro@alvarobrey.com>
+ * SPDX-FileCopyrightText: 2021 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2016 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2013-2016 María Asensio Valverde <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2014 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-FileCopyrightText: 2011 Bartosz Przybylski <bart.p.pl@gmail.com>
+ * 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 {

+ 7 - 18
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 <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2019-2020 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2019 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2016 Juan Carlos González Cabrero <malkomich@gmail.com
+ * SPDX-FileCopyrightText: 2015 David A. Velasco <dvelasco@solidgear.es>
+ * 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.
  */

+ 9 - 21
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 <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2018-2023 Tobias Kaminsky <tobias@kaminsky.me>
+ * SPDX-FileCopyrightText: 2021 TSI-mc
+ * SPDX-FileCopyrightText: 2019 Chris Narkiewicz <hello@ezaquarii.com>
+ * SPDX-FileCopyrightText: 2017-2018 Andy Scherzinger <info@andy-scherzinger.de>
+ * SPDX-FileCopyrightText: 2015 ownCloud Inc.
+ * SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2014 David A. Velasco <dvelasco@solidgear.es>
+ * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
-
 package com.owncloud.android.services;
 
 import android.accounts.Account;

+ 1 - 1
app/src/main/java/com/owncloud/android/ui/activity/FileActivity.java

@@ -7,7 +7,7 @@
  * SPDX-FileCopyrightText: 2019 Chris Narkiewicz <hello@ezaquarii.com>
  * SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
  * SPDX-FileCopyrightText: 2016 ownCloud Inc.
- * SPDX-FileCopyrightText: 2015 masensio <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es>
  * SPDX-FileCopyrightText: 2013 David A. Velasco <dvelasco@solidgear.es>
  * SPDX-FileCopyrightText: 2011 Bartek Przybylski
  * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later

+ 1 - 1
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

+ 1 - 1
app/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java

@@ -9,7 +9,7 @@
  * SPDX-FileCopyrightText: 2015-2017 Andy Scherzinger <info@andy-scherzinger.de>
  * SPDX-FileCopyrightText: 2016 ownCloud Inc.
  * SPDX-FileCopyrightText: 2014 jabarros <jabarros@solidgear.es>
- * SPDX-FileCopyrightText: 2013 masensio <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2013 María Asensio Valverde <masensio@solidgear.es>
  * SPDX-FileCopyrightText: 2011-2015 Bartosz Przybylski <bart.p.pl@gmail.com>
  * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */

+ 1 - 1
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.

+ 1 - 1
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.
  *

+ 1 - 1
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.
  *

+ 1 - 1
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.
  *

+ 1 - 1
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.
  *

+ 1 - 1
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.

+ 1 - 1
app/src/main/java/com/owncloud/android/ui/dialog/LoadingDialog.kt

@@ -2,7 +2,7 @@
  * Nextcloud - Android Client
  *
  * SPDX-FileCopyrightText: 2023 Alper Ozturk <alper_ozturk@proton.me>
- * SPDX-FileCopyrightText: 2015 masensio <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es>
  * SPDX-FileCopyrightText: 2015 ownCloud Inc.
  * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */

+ 1 - 1
app/src/main/java/com/owncloud/android/ui/dialog/SharePasswordDialogFragment.kt

@@ -5,7 +5,7 @@
  * SPDX-FileCopyrightText: 2022 Álvaro Brey <alvaro@alvarobrey.com>
  * SPDX-FileCopyrightText: 2017-2020 Tobias Kaminsky <tobias@kaminsky.me>
  * SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
- * SPDX-FileCopyrightText: 2015 masensio <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es>
  * SPDX-FileCopyrightText: 2015 ownCloud Inc.
  * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */

+ 1 - 1
app/src/main/java/com/owncloud/android/ui/dialog/SslUntrustedCertDialog.java

@@ -7,7 +7,7 @@
  * SPDX-FileCopyrightText: 2018 Tobias Kaminsky <tobias@kaminsky.me>
  * SPDX-FileCopyrightText: 2015 ownCloud Inc.
  * SPDX-FileCopyrightText: 2014 David A. Velasco <dvelasco@solidgear.es>
- * SPDX-FileCopyrightText: 2014 Masensio <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2014 María Asensio Valverde <masensio@solidgear.es>
  * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */
 package com.owncloud.android.ui.dialog;

+ 1 - 1
app/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java

@@ -7,7 +7,7 @@
  * SPDX-FileCopyrightText: 2018-2020 Andy Scherzinger <info@andy-scherzinger.de>
  * SPDX-FileCopyrightText: 2016 Atsushi Matsuo <matsuo@dds.co.jp>
  * SPDX-FileCopyrightText: 2015 ownCloud Inc.
- * SPDX-FileCopyrightText: 2014 masensio <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2014 María Asensio Valverde <masensio@solidgear.es>
  * SPDX-FileCopyrightText: 2014 David A. Velasco <dvelasco@solidgear.es>
  * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */

+ 1 - 1
app/src/main/java/com/owncloud/android/ui/preview/PreviewImageActivity.java

@@ -7,7 +7,7 @@
  * SPDX-FileCopyrightText: 2019 Tobias Kaminsky <tobias@kaminsky.me>
  * SPDX-FileCopyrightText: 2019 Chris Narkiewicz <hello@ezaquarii.com>
  * SPDX-FileCopyrightText: 2016 ownCloud Inc.
- * SPDX-FileCopyrightText: 2015 masensio <masensio@solidgear.es>
+ * SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es>
  * SPDX-FileCopyrightText: 2013 David A. Velasco <dvelasco@solidgear.es>
  * SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
  */

+ 1 - 1
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

+ 1 - 1
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 <info@andy-scherzinger.de>
  * SPDX-FileCopyrightText: 2017 Tobias Kaminsky <tobias@kaminsky.me>
  * SPDX-FileCopyrightText: 2017 Nextcloud GmbH
  * SPDX-License-Identifier: AGPL-3.0-or-later

+ 1 - 1
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 <info@andy-scherzinger.de>
  * SPDX-FileCopyrightText: 2017 Tobias Kaminsky <tobias@kaminsky.me>
  * SPDX-FileCopyrightText: 2017 Nextcloud GmbH
  * SPDX-License-Identifier: AGPL-3.0-or-later

+ 1 - 1
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 <info@andy-scherzinger.de>
  * SPDX-FileCopyrightText: 2017 Tobias Kaminsky <tobias@kaminsky.me>
  * SPDX-FileCopyrightText: 2017 Nextcloud GmbH
  * SPDX-License-Identifier: AGPL-3.0-or-later

+ 1 - 1
app/src/main/res/layout/activity_manage_space.xml

@@ -3,7 +3,7 @@
   ~ Nextcloud - Android Client
   ~
   ~ SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
-  ~ SPDX-FileCopyrightText: 2016 Maria Asensio <masensio@solidgear.es>
+  ~ SPDX-FileCopyrightText: 2016 María Asensio Valverde <masensio@solidgear.es>
   ~ SPDX-FileCopyrightText: 2016 ownCloud Inc.
   ~ SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
 -->

+ 1 - 1
app/src/main/res/layout/dialog_sso_grant_permission.xml

@@ -2,7 +2,7 @@
 <!--
   ~ Nextcloud - Android Client
   ~
-  ~ SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger>
+  ~ SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
   ~ SPDX-License-Identifier: AGPL-3.0-or-later
 -->
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

+ 1 - 1
app/src/main/res/layout/file_details_share_share_item.xml

@@ -4,7 +4,7 @@
   ~
   ~ SPDX-FileCopyrightText: 2021 TSI-mc
   ~ SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
-  ~ SPDX-FileCopyrightText: 2015 Masensio <masensio@solidgear.es
+  ~ SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es
   ~ SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
 -->
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

+ 1 - 1
app/src/main/res/layout/loading_dialog.xml

@@ -6,7 +6,7 @@
   ~ SPDX-FileCopyrightText: 2015-2017 Andy Scherzinger <info@andy-scherzinger.de>
   ~ SPDX-FileCopyrightText: 2017 Tobias Kaminsky <tobias@kaminsky.me>
   ~ SPDX-FileCopyrightText: 2015 ownCloud Inc.
-  ~ SPDX-FileCopyrightText: 2013 masensio <masensio@solidgear.es>
+  ~ SPDX-FileCopyrightText: 2013 María Asensio Valverde <masensio@solidgear.es>
   ~ SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
 -->
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

+ 1 - 1
app/src/main/res/layout/media_control.xml

@@ -2,7 +2,7 @@
 <!--
   ~ Nextcloud - Android Client
   ~
-  ~ SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger>
+  ~ SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
   ~ SPDX-FileCopyrightText: 2015 ownCloud Inc.
   ~ SPDX-FileCopyrightText: 2013 David A. Velasco <dvelasco@solidgear.es>
   ~ SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later

+ 1 - 1
app/src/main/res/layout/note_dialog.xml

@@ -2,7 +2,7 @@
 <!--
   ~ Nextcloud - Android Client
   ~
-  ~ SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger>
+  ~ SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
   ~ SPDX-FileCopyrightText: 2018 Tobias Kaminsky <tobias@kaminsky.me>
   ~ SPDX-FileCopyrightText: 2018 Nextcloud GmbH
   ~ SPDX-License-Identifier: AGPL-3.0-or-later

+ 1 - 1
app/src/main/res/layout/preview_image_activity.xml

@@ -5,7 +5,7 @@
   ~ SPDX-FileCopyrightText: 2018 Álvaro Brey <alvaro@alvarobrey.com>
   ~ SPDX-FileCopyrightText: 2018 Tobias Kaminsky <tobias@kaminsky.me>
   ~ SPDX-FileCopyrightText: 2016 Divay Prakash <divayprakash3@gmail.com>
-  ~ SPDX-FileCopyrightText: 2015 masensio <masensio@solidgear.es>
+  ~ SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es>
   ~ SPDX-FileCopyrightText: 2015 ownCloud Inc.
   ~ SPDX-FileCopyrightText: 2013 David A. Velasco <dvelasco@solidgear.es>
   ~ SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later

+ 1 - 1
app/src/main/res/layout/preview_image_error_fragment.xml

@@ -3,7 +3,7 @@
   ~ Nextcloud - Android Client
   ~
   ~ SPDX-FileCopyrightText: 2018 Tobias Kaminsky <tobias@kaminsky.me>
-  ~ SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger>
+  ~ SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
   ~ SPDX-FileCopyrightText: 2018 Nextcloud GmbH
   ~ SPDX-License-Identifier: AGPL-3.0-or-later
 -->

+ 1 - 1
app/src/main/res/layout/search_users_groups_layout.xml

@@ -5,7 +5,7 @@
   ~ SPDX-FileCopyrightText: 2017 Tobias Kaminsky <tobias@kaminsky.me>
   ~ SPDX-FileCopyrightText: 2016 Andy Scherzinger <info@andy-scherzinger>
   ~ SPDX-FileCopyrightText: 2016 Juan Carlos González Cabrero <malkomich@gmail.com>
-  ~ SPDX-FileCopyrightText: 2015 masensio <masensio@solidgear.es>
+  ~ SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es>
   ~ SPDX-FileCopyrightText: 2015 ownCloud Inc.
   ~ SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
 -->

+ 1 - 1
app/src/main/res/layout/share_activity.xml

@@ -4,7 +4,7 @@
   ~
   ~ SPDX-FileCopyrightText: 2020-2022 Tobias Kaminsky <tobias@kaminsky.me>
   ~ SPDX-FileCopyrightText: 2015 ownCloud Inc.
-  ~ SPDX-FileCopyrightText: 2015 masensio <masensio@solidgear.es>
+  ~ SPDX-FileCopyrightText: 2015 María Asensio Valverde <masensio@solidgear.es>
   ~ SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
 -->
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

+ 1 - 1
app/src/main/res/layout/ssl_untrusted_cert_layout.xml

@@ -5,7 +5,7 @@
   ~ SPDX-FileCopyrightText: 2017 Tobias Kaminsky <tobias@kaminsky.me>
   ~ SPDX-FileCopyrightText: 2015 Andy Scherzinger <info@andy-scherzinger.de>
   ~ SPDX-FileCopyrightText: 2015 ownCloud Inc.
-  ~ SPDX-FileCopyrightText: 2014 masensio <masensio@solidgear.es>
+  ~ SPDX-FileCopyrightText: 2014 María Asensio Valverde <masensio@solidgear.es>
   ~ SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
 -->
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

+ 1 - 1
drawable_resources/alphabetical_asc.svg.license

@@ -1,3 +1,3 @@
-SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger>
+SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
 SPDX-FileCopyrightText: 2018-2024 Google LLC
 SPDX-License-Identifier: Apache-2.0

+ 1 - 1
drawable_resources/alphabetical_desc.svg.license

@@ -1,3 +1,3 @@
-SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger>
+SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
 SPDX-FileCopyrightText: 2018-2024 Google LLC
 SPDX-License-Identifier: Apache-2.0

+ 1 - 1
drawable_resources/modification_asc.svg.license

@@ -1,3 +1,3 @@
-SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger>
+SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
 SPDX-FileCopyrightText: 2018-2024 Google LLC
 SPDX-License-Identifier: Apache-2.0

+ 1 - 1
drawable_resources/modification_desc.svg.license

@@ -1,3 +1,3 @@
-SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger>
+SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
 SPDX-FileCopyrightText: 2018-2024 Google LLC
 SPDX-License-Identifier: Apache-2.0

+ 1 - 1
drawable_resources/size_asc.svg.license

@@ -1,3 +1,3 @@
-SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger>
+SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
 SPDX-FileCopyrightText: 2018-2024 Google LLC
 SPDX-License-Identifier: Apache-2.0

+ 1 - 1
drawable_resources/size_desc.svg.license

@@ -1,3 +1,3 @@
-SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger>
+SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
 SPDX-FileCopyrightText: 2018-2024 Google LLC
 SPDX-License-Identifier: Apache-2.0