From 207af8315fc76863f668f98a47a0f0d769ed58b0 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Tue, 2 Apr 2024 18:32:11 +0200 Subject: [PATCH] Add SPDX header Signed-off-by: Andy Scherzinger --- .reuse/dep5 | 14 ++- .../account/CurrentAccountProvider.java | 6 + .../com/nextcloud/client/device/Package.md | 4 - .../etm/pages/EtmFileTransferFragment.kt | 6 + .../client/etm/pages/EtmMigrations.kt | 6 + .../client/integrations/IntegrationsModule.kt | 6 + .../nextcloud/client/integrations/Package.md | 4 - .../com/nextcloud/client/media/PlayerError.kt | 6 + .../nextcloud/client/media/PlaylistItem.kt | 7 ++ .../nextcloud/client/migrations/Package.md | 6 - .../com/nextcloud/client/mixins/Package.md | 10 -- .../notifications/AppNotificationManager.kt | 6 + .../AppNotificationManagerImpl.kt | 6 + .../client/preferences/PreferencesModule.java | 6 + .../bottomSheet/MoreActionsBottomSheet.kt | 6 + .../authentication/DeepLinkLoginActivity.kt | 7 ++ .../files/services/NameCollisionPolicy.java | 6 + .../RemoteOperationFailedException.java | 6 + .../android/ui/NextcloudWebViewClient.kt | 7 ++ .../android/ui/activity/BaseActivity.java | 9 +- .../ui/adapter/FeaturesViewAdapter.java | 6 + .../ui/adapter/FeaturesWebViewAdapter.java | 6 + .../NotificationExecuteActionTask.java | 6 + .../ui/components/CustomViewPager.java | 6 + .../android/ui/fragment/FeatureFragment.java | 7 +- .../ui/fragment/FeatureWebFragment.java | 7 +- .../android/ui/fragment/SearchType.kt | 7 ++ .../ui/interfaces/ActivityListInterface.java | 11 +- .../ui/preview/PreviewImageErrorFragment.java | 9 +- .../unifiedsearch/IUnifiedSearchRepository.kt | 1 + .../unifiedsearch/IUnifiedSearchViewModel.kt | 6 + .../ui/unifiedsearch/UnifiedSearchModel.kt | 7 ++ .../android/utils/NextcloudServer.java | 9 +- app/src/main/res/drawable/ic_expand_less.xml | 12 +- app/src/main/res/drawable/ic_info.xml | 12 +- app/src/main/res/drawable/ic_unknown.xml | 6 + .../layout/fragment_etm_background_jobs.xml | 6 + app/src/main/res/layout/list_footer.xml | 7 ++ .../main/res/layout/log_entry_list_item.xml | 15 ++- .../main/res/layout/synced_folders_empty.xml | 6 + .../main/res/layout/unified_search_empty.xml | 6 + .../res/layout/whats_new_webview_element.xml | 16 ++- drawable_resources/audio.svg.license | 2 + drawable_resources/get_it_as_apk.svg | 119 ------------------ drawable_resources/get_it_as_apk_backup.svg | 119 ------------------ drawable_resources/ic_activity.svg.license | 2 + .../ic_activity_light_grey.svg.license | 2 + drawable_resources/ic_file.svg.license | 3 + drawable_resources/ic_home.svg.license | 2 + .../ic_list_empty_home.svg.license | 2 + drawable_resources/ic_list_empty_recent.svg | 62 --------- .../ic_scan_document.svg.license | 3 + .../package-x-generic.svg.license | 2 + drawable_resources/qrcode.svg.license | 2 + .../shared_via_link.svg.license | 2 + drawable_resources/spinner_inner.svg.license | 2 + drawable_resources/view_play.svg.license | 2 + src/README.md | 4 + user_manual/make.bat | 3 + 59 files changed, 287 insertions(+), 354 deletions(-) delete mode 100644 app/src/main/java/com/nextcloud/client/device/Package.md delete mode 100644 app/src/main/java/com/nextcloud/client/integrations/Package.md delete mode 100644 app/src/main/java/com/nextcloud/client/migrations/Package.md delete mode 100644 app/src/main/java/com/nextcloud/client/mixins/Package.md create mode 100644 drawable_resources/audio.svg.license delete mode 100644 drawable_resources/get_it_as_apk.svg delete mode 100644 drawable_resources/get_it_as_apk_backup.svg create mode 100644 drawable_resources/ic_activity.svg.license create mode 100644 drawable_resources/ic_activity_light_grey.svg.license create mode 100644 drawable_resources/ic_file.svg.license create mode 100644 drawable_resources/ic_home.svg.license create mode 100644 drawable_resources/ic_list_empty_home.svg.license delete mode 100644 drawable_resources/ic_list_empty_recent.svg create mode 100644 drawable_resources/ic_scan_document.svg.license create mode 100644 drawable_resources/package-x-generic.svg.license create mode 100644 drawable_resources/qrcode.svg.license create mode 100644 drawable_resources/shared_via_link.svg.license create mode 100644 drawable_resources/spinner_inner.svg.license create mode 100644 drawable_resources/view_play.svg.license diff --git a/.reuse/dep5 b/.reuse/dep5 index e0644ee6c1..1babbb7e97 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -7,10 +7,22 @@ Files: gradle/wrapper/gradle-wrapper.jar Copyright: 2015-2021 the original authors License: Apache-2.0 +Files: user_manual/images/android-1.png user_manual/images/android-2.png user_manual/images/android-3.png user_manual/images/android-4.png user_manual/images/android-10.png user_manual/images/davdroid-1-button-in-nextcloud-app.png user_manual/images/davdroid-2-install-davdroid.png user_manual/images/davdroid-3-enter-password.png user_manual/images/davdroid-4-specify-owner-email.png +Copyright: 2016-2024 Nextcloud GmbH and Nextcloud contributors +License: AGPL-3.0-or-later + +Files: user_manual/conf.py user_manual/android_app.rst user_manual/index.rst user_manual/conf.py user_manual/Makefile +Copyright: 2015-2016 ownCloud Inc., 2016-2024 Nextcloud GmbH +License: GPL-2.0-only + +Files: user_manual/images/android-11.png user_manual/images/android-12.png user_manual/images/android-13.png user_manual/images/android-14.png user_manual/images/android-15.png user_manual/images/android-5.png user_manual/images/android-6.png user_manual/images/android-8.png user_manual/images/android-9.png +Copyright: 2015-2016 ownCloud Inc. +License: GPL-2.0-only + Files: app/src/*/res/mipmap-*dpi/ic_launcher.png app/src/*/ic_launcher-web.png src/generic/fastlane/metadata/android/en-US/images/icon.png src/versionDev/fastlane/metadata/android/en-US/images/icon.png app/src/main/ic_launcher-web-round.png Copyright: 2017-2024 Nextcloud GmbH. All rights reserved. Trademarks apply, see https://nextcloud.com/trademarks/ License: AGPL-3.0-or-later -Files: .idea/* app/schemas/com.nextcloud.client.database.NextcloudDatabase/*.json app/screenshots/gplay/debug/*.png app/src/main/res/values-*/strings.xml src/*/fastlane/metadata/android/*/*.txt src/versionDev/fastlane/metadata/android/*/changelogs/*.txt app/src/androidTest/assets/* app/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker app/src/*/google-services.json app/src/main/res/drawable-*dpi/checker_16_16.png +Files: .idea/* app/schemas/com.nextcloud.client.database.NextcloudDatabase/*.json app/screenshots/gplay/debug/*.png app/src/main/res/values-*/strings.xml src/*/fastlane/metadata/android/*/*.txt src/versionDev/fastlane/metadata/android/*/changelogs/*.txt app/src/androidTest/assets/* app/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker app/src/*/google-services.json app/src/main/res/drawable-*dpi/checker_16_16.png app/src/main/res/raw/encryption_key_words.txt app/src/main/resources/ical4j.properties app/src/main/res/drawable-*dpi/apk.png app/src/main/res/drawable-*dpi/fdroid.png app/src/main/res/drawable-*dpi/playstore.png app/src/main/res/drawable-*dpi/background.png app/src/main/res/drawable-*dpi/background_nc18.png Copyright: 2016-2024 Nextcloud GmbH and Nextcloud contributors License: AGPL-3.0-or-later diff --git a/app/src/main/java/com/nextcloud/client/account/CurrentAccountProvider.java b/app/src/main/java/com/nextcloud/client/account/CurrentAccountProvider.java index 6bdc87c221..5852fc8ff5 100644 --- a/app/src/main/java/com/nextcloud/client/account/CurrentAccountProvider.java +++ b/app/src/main/java/com/nextcloud/client/account/CurrentAccountProvider.java @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2019 Chris Narkiewicz + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.nextcloud.client.account; import android.accounts.Account; diff --git a/app/src/main/java/com/nextcloud/client/device/Package.md b/app/src/main/java/com/nextcloud/client/device/Package.md deleted file mode 100644 index c30cd46dd1..0000000000 --- a/app/src/main/java/com/nextcloud/client/device/Package.md +++ /dev/null @@ -1,4 +0,0 @@ -# Package com.nextcloud.client.device - -This package provides utitilies to access underlying Android -hardware API and relevant abstractions. diff --git a/app/src/main/java/com/nextcloud/client/etm/pages/EtmFileTransferFragment.kt b/app/src/main/java/com/nextcloud/client/etm/pages/EtmFileTransferFragment.kt index 997106e7df..07c0fded17 100644 --- a/app/src/main/java/com/nextcloud/client/etm/pages/EtmFileTransferFragment.kt +++ b/app/src/main/java/com/nextcloud/client/etm/pages/EtmFileTransferFragment.kt @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2020 Chris Narkiewicz + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.nextcloud.client.etm.pages import android.os.Bundle diff --git a/app/src/main/java/com/nextcloud/client/etm/pages/EtmMigrations.kt b/app/src/main/java/com/nextcloud/client/etm/pages/EtmMigrations.kt index 3d9b78ed01..4fe2652eff 100644 --- a/app/src/main/java/com/nextcloud/client/etm/pages/EtmMigrations.kt +++ b/app/src/main/java/com/nextcloud/client/etm/pages/EtmMigrations.kt @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2020 Chris Narkiewicz + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.nextcloud.client.etm.pages import android.os.Bundle diff --git a/app/src/main/java/com/nextcloud/client/integrations/IntegrationsModule.kt b/app/src/main/java/com/nextcloud/client/integrations/IntegrationsModule.kt index 9793fdcf20..6a88e5d0a3 100644 --- a/app/src/main/java/com/nextcloud/client/integrations/IntegrationsModule.kt +++ b/app/src/main/java/com/nextcloud/client/integrations/IntegrationsModule.kt @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2020 Chris Narkiewicz + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.nextcloud.client.integrations import android.content.Context diff --git a/app/src/main/java/com/nextcloud/client/integrations/Package.md b/app/src/main/java/com/nextcloud/client/integrations/Package.md deleted file mode 100644 index b5d3bbdac9..0000000000 --- a/app/src/main/java/com/nextcloud/client/integrations/Package.md +++ /dev/null @@ -1,4 +0,0 @@ -# Package com.nextcloud.client.integrations - -This package provides utilities and interfaces to integrate -Files application with 3rd party apps. diff --git a/app/src/main/java/com/nextcloud/client/media/PlayerError.kt b/app/src/main/java/com/nextcloud/client/media/PlayerError.kt index 6c56b139a1..78fc130a38 100644 --- a/app/src/main/java/com/nextcloud/client/media/PlayerError.kt +++ b/app/src/main/java/com/nextcloud/client/media/PlayerError.kt @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2019 Chris Narkiewicz + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.nextcloud.client.media data class PlayerError(val message: String) diff --git a/app/src/main/java/com/nextcloud/client/media/PlaylistItem.kt b/app/src/main/java/com/nextcloud/client/media/PlaylistItem.kt index b822bf73d9..616d2d1f03 100644 --- a/app/src/main/java/com/nextcloud/client/media/PlaylistItem.kt +++ b/app/src/main/java/com/nextcloud/client/media/PlaylistItem.kt @@ -1,3 +1,10 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2019 Chris Narkiewicz + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.nextcloud.client.media import com.nextcloud.client.account.User diff --git a/app/src/main/java/com/nextcloud/client/migrations/Package.md b/app/src/main/java/com/nextcloud/client/migrations/Package.md deleted file mode 100644 index 7443659ddc..0000000000 --- a/app/src/main/java/com/nextcloud/client/migrations/Package.md +++ /dev/null @@ -1,6 +0,0 @@ -# Package com.nextcloud.client.migrations - -This package provides utitilies to migrate application state -during version upgrade. - -Migrations are registered upon run so they can be run only once. diff --git a/app/src/main/java/com/nextcloud/client/mixins/Package.md b/app/src/main/java/com/nextcloud/client/mixins/Package.md deleted file mode 100644 index d88d0704bf..0000000000 --- a/app/src/main/java/com/nextcloud/client/mixins/Package.md +++ /dev/null @@ -1,10 +0,0 @@ -# Package com.nextcloud.client.mixins - -This package provides utilities and interfaces -allowing implementation of UI logic as mix-ins. - -Mix-ins allow encapsulation of non-visual logic -as classes facilitating composition over inheritance. - -For more information about mix-in concept, please -refer to [article on Wikipedia](https://en.wikipedia.org/wiki/Mixin). diff --git a/app/src/main/java/com/nextcloud/client/notifications/AppNotificationManager.kt b/app/src/main/java/com/nextcloud/client/notifications/AppNotificationManager.kt index 189801f168..7c9942358a 100644 --- a/app/src/main/java/com/nextcloud/client/notifications/AppNotificationManager.kt +++ b/app/src/main/java/com/nextcloud/client/notifications/AppNotificationManager.kt @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2020-2021 Chris Narkiewicz + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.nextcloud.client.notifications import android.app.Notification diff --git a/app/src/main/java/com/nextcloud/client/notifications/AppNotificationManagerImpl.kt b/app/src/main/java/com/nextcloud/client/notifications/AppNotificationManagerImpl.kt index 203802b157..78f31f893a 100644 --- a/app/src/main/java/com/nextcloud/client/notifications/AppNotificationManagerImpl.kt +++ b/app/src/main/java/com/nextcloud/client/notifications/AppNotificationManagerImpl.kt @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2020-2021 Chris Narkiewicz + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.nextcloud.client.notifications import android.app.Notification diff --git a/app/src/main/java/com/nextcloud/client/preferences/PreferencesModule.java b/app/src/main/java/com/nextcloud/client/preferences/PreferencesModule.java index d0b1d37103..d836dbbded 100644 --- a/app/src/main/java/com/nextcloud/client/preferences/PreferencesModule.java +++ b/app/src/main/java/com/nextcloud/client/preferences/PreferencesModule.java @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2019 Chris Narkiewicz + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.nextcloud.client.preferences; import android.content.Context; diff --git a/app/src/main/java/com/nextcloud/ui/composeComponents/bottomSheet/MoreActionsBottomSheet.kt b/app/src/main/java/com/nextcloud/ui/composeComponents/bottomSheet/MoreActionsBottomSheet.kt index 89d0f87eab..ae5bb94c67 100644 --- a/app/src/main/java/com/nextcloud/ui/composeComponents/bottomSheet/MoreActionsBottomSheet.kt +++ b/app/src/main/java/com/nextcloud/ui/composeComponents/bottomSheet/MoreActionsBottomSheet.kt @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2024 Alper Ozturk + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.nextcloud.ui.composeComponents.bottomSheet import android.annotation.SuppressLint diff --git a/app/src/main/java/com/owncloud/android/authentication/DeepLinkLoginActivity.kt b/app/src/main/java/com/owncloud/android/authentication/DeepLinkLoginActivity.kt index 9032371a72..24d9faf4b0 100644 --- a/app/src/main/java/com/owncloud/android/authentication/DeepLinkLoginActivity.kt +++ b/app/src/main/java/com/owncloud/android/authentication/DeepLinkLoginActivity.kt @@ -1,3 +1,10 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2023 Alper Ozturk + * SPDX-FileCopyrightText: 2018-2022 Tobias Kaminsky + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.authentication import android.os.Bundle diff --git a/app/src/main/java/com/owncloud/android/files/services/NameCollisionPolicy.java b/app/src/main/java/com/owncloud/android/files/services/NameCollisionPolicy.java index a87fe439f4..cab2f10c6f 100644 --- a/app/src/main/java/com/owncloud/android/files/services/NameCollisionPolicy.java +++ b/app/src/main/java/com/owncloud/android/files/services/NameCollisionPolicy.java @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2021 Chris Narkiewicz + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.files.services; /** diff --git a/app/src/main/java/com/owncloud/android/operations/RemoteOperationFailedException.java b/app/src/main/java/com/owncloud/android/operations/RemoteOperationFailedException.java index ab26dfae16..d52e7985cf 100644 --- a/app/src/main/java/com/owncloud/android/operations/RemoteOperationFailedException.java +++ b/app/src/main/java/com/owncloud/android/operations/RemoteOperationFailedException.java @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2017-2019 Andy Scherzinger + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.operations; /** diff --git a/app/src/main/java/com/owncloud/android/ui/NextcloudWebViewClient.kt b/app/src/main/java/com/owncloud/android/ui/NextcloudWebViewClient.kt index 7179d11c68..dbb7282ab8 100644 --- a/app/src/main/java/com/owncloud/android/ui/NextcloudWebViewClient.kt +++ b/app/src/main/java/com/owncloud/android/ui/NextcloudWebViewClient.kt @@ -1,3 +1,10 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2023 Elv1zz + * SPDX-FileCopyrightText: 2022 Unpublished + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.ui import android.annotation.SuppressLint diff --git a/app/src/main/java/com/owncloud/android/ui/activity/BaseActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/BaseActivity.java index 4c1e79f28d..3c5e21f0f8 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/BaseActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/BaseActivity.java @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.ui.activity; import android.accounts.Account; @@ -137,9 +143,6 @@ public abstract class BaseActivity extends AppCompatActivity implements Injectab sessionMixin.setUser(user); } - /** - * Launches the account creation activity. - */ protected void startAccountCreation() { sessionMixin.startAccountCreation(); } diff --git a/app/src/main/java/com/owncloud/android/ui/adapter/FeaturesViewAdapter.java b/app/src/main/java/com/owncloud/android/ui/adapter/FeaturesViewAdapter.java index b106a14dca..4f4af3d576 100644 --- a/app/src/main/java/com/owncloud/android/ui/adapter/FeaturesViewAdapter.java +++ b/app/src/main/java/com/owncloud/android/ui/adapter/FeaturesViewAdapter.java @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.ui.adapter; import com.owncloud.android.features.FeatureItem; diff --git a/app/src/main/java/com/owncloud/android/ui/adapter/FeaturesWebViewAdapter.java b/app/src/main/java/com/owncloud/android/ui/adapter/FeaturesWebViewAdapter.java index 46b7a7ca79..98c1e051ce 100644 --- a/app/src/main/java/com/owncloud/android/ui/adapter/FeaturesWebViewAdapter.java +++ b/app/src/main/java/com/owncloud/android/ui/adapter/FeaturesWebViewAdapter.java @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.ui.adapter; import com.owncloud.android.ui.fragment.FeatureWebFragment; diff --git a/app/src/main/java/com/owncloud/android/ui/asynctasks/NotificationExecuteActionTask.java b/app/src/main/java/com/owncloud/android/ui/asynctasks/NotificationExecuteActionTask.java index 2d8ad69a0b..6c4dabfe88 100644 --- a/app/src/main/java/com/owncloud/android/ui/asynctasks/NotificationExecuteActionTask.java +++ b/app/src/main/java/com/owncloud/android/ui/asynctasks/NotificationExecuteActionTask.java @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2018-2020 Tobias Kaminsky + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.ui.asynctasks; import android.os.AsyncTask; diff --git a/app/src/main/java/com/owncloud/android/ui/components/CustomViewPager.java b/app/src/main/java/com/owncloud/android/ui/components/CustomViewPager.java index 3119385274..5a81a8fbd0 100644 --- a/app/src/main/java/com/owncloud/android/ui/components/CustomViewPager.java +++ b/app/src/main/java/com/owncloud/android/ui/components/CustomViewPager.java @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.ui.components; import android.annotation.SuppressLint; diff --git a/app/src/main/java/com/owncloud/android/ui/fragment/FeatureFragment.java b/app/src/main/java/com/owncloud/android/ui/fragment/FeatureFragment.java index f3e2bb5961..1419d7bfc8 100644 --- a/app/src/main/java/com/owncloud/android/ui/fragment/FeatureFragment.java +++ b/app/src/main/java/com/owncloud/android/ui/fragment/FeatureFragment.java @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.ui.fragment; import android.content.Context; @@ -28,7 +34,6 @@ import androidx.annotation.Nullable; import androidx.core.content.res.ResourcesCompat; import androidx.fragment.app.Fragment; - public class FeatureFragment extends Fragment implements Injectable { private FeatureItem item; @Inject ViewThemeUtils.Factory viewThemeUtilsFactory; diff --git a/app/src/main/java/com/owncloud/android/ui/fragment/FeatureWebFragment.java b/app/src/main/java/com/owncloud/android/ui/fragment/FeatureWebFragment.java index 3124c3f1d9..dcc4520f33 100644 --- a/app/src/main/java/com/owncloud/android/ui/fragment/FeatureWebFragment.java +++ b/app/src/main/java/com/owncloud/android/ui/fragment/FeatureWebFragment.java @@ -1,6 +1,11 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.ui.fragment; - import android.annotation.SuppressLint; import android.os.Bundle; import android.view.LayoutInflater; diff --git a/app/src/main/java/com/owncloud/android/ui/fragment/SearchType.kt b/app/src/main/java/com/owncloud/android/ui/fragment/SearchType.kt index e27d3d886d..3e170be675 100644 --- a/app/src/main/java/com/owncloud/android/ui/fragment/SearchType.kt +++ b/app/src/main/java/com/owncloud/android/ui/fragment/SearchType.kt @@ -1,3 +1,10 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2023 Tobias Kaminsky + * SPDX-FileCopyrightText: 2022 Unpublished + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.ui.fragment import android.os.Parcelable diff --git a/app/src/main/java/com/owncloud/android/ui/interfaces/ActivityListInterface.java b/app/src/main/java/com/owncloud/android/ui/interfaces/ActivityListInterface.java index 2a9b4417fe..b145f47f07 100644 --- a/app/src/main/java/com/owncloud/android/ui/interfaces/ActivityListInterface.java +++ b/app/src/main/java/com/owncloud/android/ui/interfaces/ActivityListInterface.java @@ -1,13 +1,14 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2017 Alejandro Morales + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.ui.interfaces; import com.owncloud.android.lib.resources.activities.model.RichObject; -/** - * Created by alejandro on 12/05/17. - */ - public interface ActivityListInterface { void onActivityClicked(RichObject richObject); - } diff --git a/app/src/main/java/com/owncloud/android/ui/preview/PreviewImageErrorFragment.java b/app/src/main/java/com/owncloud/android/ui/preview/PreviewImageErrorFragment.java index 7b0cce38c6..8009069b43 100644 --- a/app/src/main/java/com/owncloud/android/ui/preview/PreviewImageErrorFragment.java +++ b/app/src/main/java/com/owncloud/android/ui/preview/PreviewImageErrorFragment.java @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2018 Tobias Kaminsky + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.ui.preview; import android.os.Bundle; @@ -13,9 +19,8 @@ import androidx.annotation.Nullable; import static com.owncloud.android.ui.activity.FileActivity.EXTRA_FILE; /** - * A fragment showing an error message + * A fragment showing an error message. */ - public class PreviewImageErrorFragment extends FileFragment { @Nullable @Override diff --git a/app/src/main/java/com/owncloud/android/ui/unifiedsearch/IUnifiedSearchRepository.kt b/app/src/main/java/com/owncloud/android/ui/unifiedsearch/IUnifiedSearchRepository.kt index 201617c3e0..8c15a9f395 100644 --- a/app/src/main/java/com/owncloud/android/ui/unifiedsearch/IUnifiedSearchRepository.kt +++ b/app/src/main/java/com/owncloud/android/ui/unifiedsearch/IUnifiedSearchRepository.kt @@ -1,6 +1,7 @@ /* * Nextcloud - Android Client * + * SPDX-FileCopyrightText: 2021 Álvaro Brey * SPDX-FileCopyrightText: 2020 Tobias Kaminsky * SPDX-FileCopyrightText: 2020 Nextcloud GmbH * SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/app/src/main/java/com/owncloud/android/ui/unifiedsearch/IUnifiedSearchViewModel.kt b/app/src/main/java/com/owncloud/android/ui/unifiedsearch/IUnifiedSearchViewModel.kt index 697ae50b71..c6699ea788 100644 --- a/app/src/main/java/com/owncloud/android/ui/unifiedsearch/IUnifiedSearchViewModel.kt +++ b/app/src/main/java/com/owncloud/android/ui/unifiedsearch/IUnifiedSearchViewModel.kt @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2021 Álvaro Brey + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.ui.unifiedsearch import android.net.Uri diff --git a/app/src/main/java/com/owncloud/android/ui/unifiedsearch/UnifiedSearchModel.kt b/app/src/main/java/com/owncloud/android/ui/unifiedsearch/UnifiedSearchModel.kt index 6b515a9821..334169c93e 100644 --- a/app/src/main/java/com/owncloud/android/ui/unifiedsearch/UnifiedSearchModel.kt +++ b/app/src/main/java/com/owncloud/android/ui/unifiedsearch/UnifiedSearchModel.kt @@ -1,3 +1,10 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2023 Alper Ozturk + * SPDX-FileCopyrightText: 2021 Álvaro Brey + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.ui.unifiedsearch import com.owncloud.android.lib.common.SearchResultEntry diff --git a/app/src/main/java/com/owncloud/android/utils/NextcloudServer.java b/app/src/main/java/com/owncloud/android/utils/NextcloudServer.java index cf72c345af..bd617cdfba 100644 --- a/app/src/main/java/com/owncloud/android/utils/NextcloudServer.java +++ b/app/src/main/java/com/owncloud/android/utils/NextcloudServer.java @@ -1,3 +1,9 @@ +/* + * Nextcloud - Android Client + * + * SPDX-FileCopyrightText: 2017-2018 Tobias Kaminsky + * SPDX-License-Identifier: AGPL-3.0-or-later + */ package com.owncloud.android.utils; import java.lang.annotation.ElementType; @@ -9,11 +15,10 @@ import java.lang.annotation.Target; * Defines min and max server version. Useful to find not needed code, e.g. if annotated max=12 and last supported * version is 13 the code can be removed. */ - @Retention(RetentionPolicy.SOURCE) @Target(ElementType.METHOD) public @interface NextcloudServer { int min() default -1; int max(); -} \ No newline at end of file +} diff --git a/app/src/main/res/drawable/ic_expand_less.xml b/app/src/main/res/drawable/ic_expand_less.xml index a5941e22fc..a625653901 100644 --- a/app/src/main/res/drawable/ic_expand_less.xml +++ b/app/src/main/res/drawable/ic_expand_less.xml @@ -1,9 +1,15 @@ + - + diff --git a/app/src/main/res/drawable/ic_info.xml b/app/src/main/res/drawable/ic_info.xml index cc960680ca..345147ea17 100644 --- a/app/src/main/res/drawable/ic_info.xml +++ b/app/src/main/res/drawable/ic_info.xml @@ -1,9 +1,15 @@ + - + diff --git a/app/src/main/res/drawable/ic_unknown.xml b/app/src/main/res/drawable/ic_unknown.xml index 77f8861847..a1a48de484 100644 --- a/app/src/main/res/drawable/ic_unknown.xml +++ b/app/src/main/res/drawable/ic_unknown.xml @@ -1,3 +1,9 @@ + + + - + ~ SPDX-FileCopyrightText: 2019 Chris Narkiewicz + ~ SPDX-License-Identifier: AGPL-3.0-or-later +--> + + diff --git a/app/src/main/res/layout/unified_search_empty.xml b/app/src/main/res/layout/unified_search_empty.xml index aa6dafc043..67a9f5d92e 100644 --- a/app/src/main/res/layout/unified_search_empty.xml +++ b/app/src/main/res/layout/unified_search_empty.xml @@ -1,4 +1,10 @@ + diff --git a/app/src/main/res/layout/whats_new_webview_element.xml b/app/src/main/res/layout/whats_new_webview_element.xml index 9bd8d5ec1d..9b1005a342 100644 --- a/app/src/main/res/layout/whats_new_webview_element.xml +++ b/app/src/main/res/layout/whats_new_webview_element.xml @@ -1,12 +1,18 @@ + + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + android:layout_height="match_parent" /> diff --git a/drawable_resources/audio.svg.license b/drawable_resources/audio.svg.license new file mode 100644 index 0000000000..44627ac066 --- /dev/null +++ b/drawable_resources/audio.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2018-2024 Nextcloud GmbH, all rights reserved +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/drawable_resources/get_it_as_apk.svg b/drawable_resources/get_it_as_apk.svg deleted file mode 100644 index c9e8a5bbac..0000000000 --- a/drawable_resources/get_it_as_apk.svg +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - GET IT AS - APK-File - - - - - - diff --git a/drawable_resources/get_it_as_apk_backup.svg b/drawable_resources/get_it_as_apk_backup.svg deleted file mode 100644 index 2abd229c6e..0000000000 --- a/drawable_resources/get_it_as_apk_backup.svg +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - GET IT AS - APK-File - - - - - - diff --git a/drawable_resources/ic_activity.svg.license b/drawable_resources/ic_activity.svg.license new file mode 100644 index 0000000000..740613b97b --- /dev/null +++ b/drawable_resources/ic_activity.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH, all rights reserved +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/drawable_resources/ic_activity_light_grey.svg.license b/drawable_resources/ic_activity_light_grey.svg.license new file mode 100644 index 0000000000..740613b97b --- /dev/null +++ b/drawable_resources/ic_activity_light_grey.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH, all rights reserved +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/drawable_resources/ic_file.svg.license b/drawable_resources/ic_file.svg.license new file mode 100644 index 0000000000..231b16cc1c --- /dev/null +++ b/drawable_resources/ic_file.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 Andy Scherzinger +SPDX-FileCopyrightText: 2018-2024 Google LLC +SPDX-License-Identifier: Apache-2.0 diff --git a/drawable_resources/ic_home.svg.license b/drawable_resources/ic_home.svg.license new file mode 100644 index 0000000000..740613b97b --- /dev/null +++ b/drawable_resources/ic_home.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH, all rights reserved +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/drawable_resources/ic_list_empty_home.svg.license b/drawable_resources/ic_list_empty_home.svg.license new file mode 100644 index 0000000000..740613b97b --- /dev/null +++ b/drawable_resources/ic_list_empty_home.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH, all rights reserved +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/drawable_resources/ic_list_empty_recent.svg b/drawable_resources/ic_list_empty_recent.svg deleted file mode 100644 index 8a40be5fa5..0000000000 --- a/drawable_resources/ic_list_empty_recent.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - diff --git a/drawable_resources/ic_scan_document.svg.license b/drawable_resources/ic_scan_document.svg.license new file mode 100644 index 0000000000..231b16cc1c --- /dev/null +++ b/drawable_resources/ic_scan_document.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 Andy Scherzinger +SPDX-FileCopyrightText: 2018-2024 Google LLC +SPDX-License-Identifier: Apache-2.0 diff --git a/drawable_resources/package-x-generic.svg.license b/drawable_resources/package-x-generic.svg.license new file mode 100644 index 0000000000..740613b97b --- /dev/null +++ b/drawable_resources/package-x-generic.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH, all rights reserved +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/drawable_resources/qrcode.svg.license b/drawable_resources/qrcode.svg.license new file mode 100644 index 0000000000..740613b97b --- /dev/null +++ b/drawable_resources/qrcode.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH, all rights reserved +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/drawable_resources/shared_via_link.svg.license b/drawable_resources/shared_via_link.svg.license new file mode 100644 index 0000000000..a08772acc5 --- /dev/null +++ b/drawable_resources/shared_via_link.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/drawable_resources/spinner_inner.svg.license b/drawable_resources/spinner_inner.svg.license new file mode 100644 index 0000000000..740613b97b --- /dev/null +++ b/drawable_resources/spinner_inner.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH, all rights reserved +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/drawable_resources/view_play.svg.license b/drawable_resources/view_play.svg.license new file mode 100644 index 0000000000..740613b97b --- /dev/null +++ b/drawable_resources/view_play.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH, all rights reserved +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/src/README.md b/src/README.md index 52d15dd980..3958d9d592 100644 --- a/src/README.md +++ b/src/README.md @@ -1,2 +1,6 @@ + This `src/` directory is only here for F-Droid, as it doesn't pick up per-flavor metadata in the app/ subdir. Tracking issue: https://gitlab.com/fdroid/fdroidserver/-/issues/829 diff --git a/user_manual/make.bat b/user_manual/make.bat index 3fbb57f5d6..5735b2393f 100644 --- a/user_manual/make.bat +++ b/user_manual/make.bat @@ -1,5 +1,8 @@ @ECHO OFF +REM SPDX-FileCopyrightText: 2015 Carla Schroder +REM SPDX-License-Identifier: GPL-2.0-only + REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" (