From f5a4274e545f506861dc7baf7f92ec5e73d674f6 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Fri, 29 Mar 2024 15:42:11 +0100 Subject: [PATCH 1/3] Add SPDX header Signed-off-by: Andy Scherzinger --- .../talk/adapters/GeocodingAdapter.kt | 20 ++--------- .../ParticipantDisplayItemNotifier.java | 19 ++-------- .../adapters/PredefinedStatusClickListener.kt | 21 ++--------- .../adapters/PredefinedStatusListAdapter.kt | 22 +++--------- .../adapters/PredefinedStatusViewHolder.kt | 22 +++--------- .../nextcloud/talk/adapters/ReactionItem.kt | 20 ++--------- .../adapters/ReactionItemClickListener.kt | 20 ++--------- .../talk/adapters/ReactionsAdapter.kt | 20 ++--------- .../talk/adapters/ReactionsViewHolder.kt | 20 ++--------- .../messages/CallStartedMessageInterface.kt | 19 ++-------- .../messages/CallStartedViewHolder.kt | 20 ++--------- .../messages/IncomingPollMessageViewHolder.kt | 20 ++--------- .../IncomingPreviewMessageViewHolder.java | 26 +++----------- .../talk/adapters/messages/LinkPreview.kt | 20 ++--------- .../talk/adapters/messages/MessagePayload.kt | 20 ++--------- .../OutcomingPreviewMessageViewHolder.java | 23 +++--------- .../talk/adapters/messages/Reaction.kt | 20 ++--------- .../messages/TalkMessagesListAdapter.java | 22 +++--------- .../messages/VoiceMessageInterface.kt | 20 ++--------- .../ArbitraryStorageManager.kt | 20 ++--------- .../nextcloud/talk/call/CallParticipant.java | 19 ++-------- .../talk/call/CallParticipantList.java | 19 ++-------- .../call/CallParticipantListNotifier.java | 19 ++-------- .../talk/call/CallParticipantModel.java | 19 ++-------- .../call/CallParticipantModelNotifier.java | 19 ++-------- .../call/MutableCallParticipantModel.java | 19 ++-------- .../com/nextcloud/talk/call/RaisedHand.kt | 19 ++-------- .../nextcloud/talk/call/ReactionAnimator.kt | 20 ++--------- .../viewmodel/CallNotificationViewModel.kt | 20 ++--------- .../nextcloud/talk/chat/TypingParticipant.kt | 20 ++--------- .../talk/chat/data/ChatRepository.kt | 20 ++--------- .../data/network/NetworkChatRepositoryImpl.kt | 20 ++--------- .../talk/chat/viewmodels/ChatViewModel.kt | 20 ++--------- .../CreateConversationDialogFragment.kt | 20 ++--------- .../RenameConversationDialogFragment.kt | 20 ++--------- .../repository/ConversationRepository.kt | 20 ++--------- .../repository/ConversationRepositoryImpl.kt | 20 ++--------- .../viewmodel/ConversationViewModel.kt | 20 ++--------- .../viewmodel/RenameConversationViewModel.kt | 20 ++--------- .../viewmodel/ConversationInfoViewModel.kt | 20 ++--------- .../ConversationInfoEditActivity.kt | 23 +++--------- .../data/ConversationInfoEditRepository.kt | 20 ++--------- .../ConversationInfoEditRepositoryImpl.kt | 20 ++--------- .../ConversationInfoEditViewModel.kt | 20 ++--------- .../ConversationsListActivity.kt | 32 +++++------------ .../data/ConversationsListRepository.kt | 20 ++--------- .../data/ConversationsListRepositoryImpl.kt | 20 ++--------- .../viewmodels/ConversationsListViewModel.kt | 20 ++--------- .../talk/dagger/modules/RepositoryModule.kt | 28 ++++----------- .../talk/dagger/modules/UtilsModule.kt | 22 +++--------- .../talk/dagger/modules/ViewModelModule.kt | 22 +++--------- .../talk/data/source/local/Migrations.kt | 20 ++--------- .../talk/data/source/local/TalkDatabase.kt | 22 +++--------- .../local/converters/CapabilitiesConverter.kt | 21 +++-------- .../ExternalSignalingServerConverter.kt | 20 ++--------- .../converters/HashMapHashMapConverter.kt | 21 +++-------- .../converters/PushConfigurationConverter.kt | 23 +++--------- .../converters/ServerVersionConverter.kt | 23 +++--------- .../converters/SignalingSettingsConverter.kt | 23 +++--------- .../data/storage/ArbitraryStorageMapper.kt | 20 ++--------- .../talk/data/storage/ArbitraryStoragesDao.kt | 20 ++--------- .../storage/ArbitraryStoragesRepository.kt | 20 ++--------- .../ArbitraryStoragesRepositoryImpl.kt | 20 ++--------- .../data/storage/model/ArbitraryStorage.kt | 20 ++--------- .../storage/model/ArbitraryStorageEntity.kt | 20 ++--------- .../nextcloud/talk/data/user/UserMapper.kt | 20 ++--------- .../com/nextcloud/talk/data/user/UsersDao.kt | 23 +++--------- .../talk/data/user/UsersRepository.kt | 23 +++--------- .../talk/data/user/UsersRepositoryImpl.kt | 23 +++--------- .../nextcloud/talk/data/user/model/User.kt | 21 +++-------- .../talk/data/user/model/UserEntity.kt | 23 +++--------- .../talk/diagnose/DiagnoseActivity.kt | 19 ++-------- .../events/ConversationsListFetchDataEvent.kt | 20 ++--------- .../talk/events/OpenConversationEvent.kt | 20 ++--------- .../talk/extensions/ImageViewExtensions.kt | 25 +++---------- .../fullscreenfile/FullScreenImageActivity.kt | 29 ++++----------- .../fullscreenfile/FullScreenMediaActivity.kt | 29 ++++----------- .../FullScreenTextViewerActivity.kt | 26 +++----------- .../talk/invitation/InvitationsActivity.kt | 20 ++--------- .../invitation/adapters/InvitationsAdapter.kt | 20 ++--------- .../talk/invitation/data/Invitation.kt | 20 ++--------- .../invitation/data/InvitationActionModel.kt | 20 ++--------- .../talk/invitation/data/InvitationsModel.kt | 20 ++--------- .../invitation/data/InvitationsRepository.kt | 20 ++--------- .../data/InvitationsRepositoryImpl.kt | 20 ++--------- .../viewmodels/InvitationsViewModel.kt | 20 ++--------- .../talk/jobs/ContactAddressBookWorker.kt | 20 ++--------- .../talk/jobs/DownloadFileToCacheWorker.kt | 23 +++--------- .../talk/jobs/SaveFileToStorageWorker.kt | 23 +++--------- .../talk/jobs/UploadAndShareFilesWorker.kt | 23 +++--------- .../talk/location/GeocodingActivity.kt | 20 ++--------- .../talk/location/GeocodingResult.kt | 20 ++--------- .../talk/location/LocationPickerActivity.kt | 23 +++--------- .../messagesearch/MessageSearchActivity.kt | 25 +++---------- .../talk/messagesearch/MessageSearchHelper.kt | 22 +++--------- .../messagesearch/MessageSearchViewModel.kt | 22 +++--------- .../talk/models/TakePictureViewModel.java | 23 +++--------- .../talk/models/domain/ReactionAddedModel.kt | 20 ++--------- .../models/domain/ReactionDeletedModel.kt | 20 ++--------- .../talk/models/domain/SearchMessageEntry.kt | 22 +++--------- .../models/domain/StartCallRecordingModel.kt | 20 ++--------- .../models/domain/StopCallRecordingModel.kt | 20 ++--------- .../nextcloud/talk/models/json/AnyParceler.kt | 19 ++-------- .../json/capabilities/CoreCapability.kt | 19 ++-------- .../capabilities/ProvisioningCapability.kt | 23 +++--------- .../models/json/capabilities/ServerVersion.kt | 19 ++-------- .../models/json/chat/ChatOCSSingleMessage.kt | 22 +++--------- .../json/chat/ChatOverallSingleMessage.kt | 22 +++--------- .../talk/models/json/chat/ChatShareOCS.kt | 22 +++--------- .../talk/models/json/chat/ChatShareOverall.kt | 22 +++--------- .../models/json/chat/ChatShareOverviewOCS.kt | 22 +++--------- .../json/chat/ChatShareOverviewOverall.kt | 22 +++--------- .../talk/models/json/chat/ReadStatus.kt | 19 ++-------- .../conversations/password/PasswordData.kt | 21 +++-------- .../conversations/password/PasswordOCS.kt | 21 +++-------- .../conversations/password/PasswordOverall.kt | 21 +++-------- .../ConversationObjectTypeConverter.kt | 20 ++--------- .../json/converters/EnumActorTypeConverter.kt | 23 +++--------- .../EnumReactionActorTypeConverter.kt | 20 ++--------- .../LoganSquareJodaTimeConverter.java | 20 +++-------- .../talk/models/json/hovercard/HoverCard.kt | 19 ++-------- .../models/json/hovercard/HoverCardAction.kt | 19 ++-------- .../models/json/hovercard/HoverCardOCS.kt | 23 +++--------- .../models/json/hovercard/HoverCardOverall.kt | 19 ++-------- .../talk/models/json/invitation/Invitation.kt | 19 ++-------- .../models/json/invitation/InvitationOCS.kt | 19 ++-------- .../json/invitation/InvitationOverall.kt | 19 ++-------- .../models/json/opengraph/OpenGraphOCS.kt | 19 ++-------- .../models/json/opengraph/OpenGraphObject.kt | 19 ++-------- .../models/json/opengraph/OpenGraphOverall.kt | 19 ++-------- .../json/opengraph/OpenGraphResponse.kt | 19 ++-------- .../talk/models/json/opengraph/Reference.kt | 19 ++-------- .../talk/models/json/opengraph/RichObject.kt | 19 ++-------- .../models/json/reactions/ReactionVoter.kt | 19 ++-------- .../models/json/reactions/ReactionsOCS.kt | 22 +++--------- .../models/json/reactions/ReactionsOverall.kt | 19 ++-------- .../talk/models/json/reminder/Reminder.kt | 19 ++-------- .../talk/models/json/reminder/ReminderOCS.kt | 19 ++-------- .../models/json/reminder/ReminderOverall.kt | 19 ++-------- .../models/json/search/ContactsByNumberOCS.kt | 22 +++--------- .../json/search/ContactsByNumberOverall.kt | 22 +++--------- .../talk/models/json/status/Status.kt | 20 +++-------- .../talk/models/json/status/StatusOCS.kt | 22 +++--------- .../talk/models/json/status/StatusOverall.kt | 22 +++--------- .../talk/models/json/status/StatusType.kt | 19 ++-------- .../status/predefined/PredefinedStatusOCS.kt | 23 +++--------- .../json/unifiedsearch/UnifiedSearchEntry.kt | 22 +++--------- .../json/unifiedsearch/UnifiedSearchOCS.kt | 19 ++-------- .../unifiedsearch/UnifiedSearchOverall.kt | 19 ++-------- .../UnifiedSearchResponseData.kt | 22 +++--------- .../talk/models/json/userprofile/Scope.kt | 22 +++--------- .../json/userprofile/UserProfileFieldsOCS.kt | 22 +++--------- .../userprofile/UserProfileFieldsOverall.kt | 22 +++--------- .../ListOpenConversationsActivity.kt | 20 ++--------- .../adapters/OpenConversationsAdapter.kt | 20 ++--------- .../data/JoinConversationModel.kt | 20 ++--------- .../data/OpenConversation.kt | 20 ++--------- .../data/OpenConversationsModel.kt | 20 ++--------- .../data/OpenConversationsRepository.kt | 20 ++--------- .../data/OpenConversationsRepositoryImpl.kt | 20 ++--------- .../viewmodels/OpenConversationsViewModel.kt | 20 ++--------- .../polls/adapters/PollCreateOptionItem.kt | 20 ++--------- .../adapters/PollCreateOptionViewHolder.kt | 20 ++--------- .../adapters/PollCreateOptionsAdapter.kt | 20 ++--------- .../adapters/PollCreateOptionsItemListener.kt | 20 ++--------- .../polls/adapters/PollResultHeaderItem.kt | 20 ++--------- .../adapters/PollResultHeaderViewHolder.kt | 20 ++--------- .../talk/polls/adapters/PollResultItem.kt | 20 ++--------- .../adapters/PollResultItemClickListener.kt | 20 ++--------- .../polls/adapters/PollResultViewHolder.kt | 20 ++--------- .../polls/adapters/PollResultVoterItem.kt | 20 ++--------- .../adapters/PollResultVoterViewHolder.kt | 20 ++--------- .../adapters/PollResultVotersOverviewItem.kt | 20 ++--------- .../PollResultVotersOverviewViewHolder.kt | 23 +++--------- .../talk/polls/adapters/PollResultsAdapter.kt | 20 ++--------- .../com/nextcloud/talk/polls/model/Poll.kt | 20 ++--------- .../nextcloud/talk/polls/model/PollDetails.kt | 20 ++--------- .../talk/polls/repositories/PollRepository.kt | 23 +++--------- .../polls/repositories/PollRepositoryImpl.kt | 23 +++--------- .../repositories/model/PollDetailsResponse.kt | 19 ++-------- .../talk/polls/repositories/model/PollOCS.kt | 19 ++-------- .../polls/repositories/model/PollOverall.kt | 19 ++-------- .../polls/repositories/model/PollResponse.kt | 19 ++-------- .../talk/polls/ui/PollCreateDialogFragment.kt | 20 ++--------- .../talk/polls/ui/PollLoadingFragment.kt | 20 ++--------- .../talk/polls/ui/PollMainDialogFragment.kt | 20 ++--------- .../talk/polls/ui/PollResultsFragment.kt | 23 +++--------- .../talk/polls/ui/PollVoteFragment.kt | 23 +++--------- .../polls/viewmodels/PollCreateViewModel.kt | 20 ++--------- .../polls/viewmodels/PollMainViewModel.kt | 20 ++--------- .../polls/viewmodels/PollResultsViewModel.kt | 23 +++--------- .../polls/viewmodels/PollVoteViewModel.kt | 23 +++--------- .../nextcloud/talk/profile/ProfileActivity.kt | 2 +- .../talk/raisehand/RequestAssistanceModel.kt | 20 ++--------- .../raisehand/RequestAssistanceRepository.kt | 20 ++--------- .../RequestAssistanceRepositoryImpl.kt | 20 ++--------- .../WithdrawRequestAssistanceModel.kt | 20 ++--------- .../raisehand/viewmodel/RaiseHandViewModel.kt | 20 ++--------- .../talk/receivers/DirectReplyReceiver.kt | 20 ++--------- .../DismissRecordingAvailableReceiver.kt | 20 ++--------- .../talk/receivers/MarkAsReadReceiver.kt | 23 +++--------- .../receivers/ShareRecordingToChatReceiver.kt | 20 ++--------- .../activities/RemoteFileBrowserActivity.kt | 26 +++----------- .../adapters/RemoteFileBrowserItemsAdapter.kt | 20 ++--------- .../RemoteFileBrowserItemsListViewHolder.kt | 20 ++--------- .../RemoteFileBrowserItemsViewHolder.kt | 20 ++--------- .../RemoteFileBrowserItemsRepository.kt | 20 ++--------- .../RemoteFileBrowserItemsRepositoryImpl.kt | 20 ++--------- .../RemoteFileBrowserItemsViewModel.kt | 23 +++--------- .../callrecording/CallRecordingRepository.kt | 20 ++--------- .../CallRecordingRepositoryImpl.kt | 20 ++--------- .../conversations/ConversationsRepository.kt | 22 +++--------- .../ConversationsRepositoryImpl.kt | 21 +++-------- .../reactions/ReactionsRepository.kt | 20 ++--------- .../reactions/ReactionsRepositoryImpl.kt | 20 ++--------- .../UnifiedSearchRepositoryImpl.kt | 22 +++--------- .../activities/SharedItemsActivity.kt | 29 ++++----------- .../adapters/SharedItemsAdapter.kt | 23 +++--------- .../adapters/SharedItemsGridViewHolder.kt | 23 +++--------- .../adapters/SharedItemsListViewHolder.kt | 23 +++--------- .../adapters/SharedItemsViewHolder.kt | 23 +++--------- .../shareditems/model/SharedDeckCardItem.kt | 19 ++-------- .../talk/shareditems/model/SharedFileItem.kt | 23 +++--------- .../talk/shareditems/model/SharedItemType.kt | 26 +++----------- .../talk/shareditems/model/SharedItems.kt | 23 +++--------- .../shareditems/model/SharedLocationItem.kt | 19 ++-------- .../talk/shareditems/model/SharedOtherItem.kt | 19 ++-------- .../talk/shareditems/model/SharedPollItem.kt | 19 ++-------- .../repositories/SharedItemsRepository.kt | 23 +++--------- .../repositories/SharedItemsRepositoryImpl.kt | 23 +++--------- .../viewmodels/SharedItemsViewModel.kt | 23 +++--------- .../CallParticipantMessageNotifier.java | 19 ++-------- .../signaling/ConversationMessageNotifier.kt | 19 ++-------- .../LocalParticipantMessageNotifier.java | 19 ++-------- .../talk/signaling/OfferMessageNotifier.java | 19 ++-------- .../ParticipantListMessageNotifier.java | 19 ++-------- .../signaling/SignalingMessageReceiver.java | 19 ++-------- .../signaling/SignalingMessageSender.java | 19 ++-------- .../talk/signaling/WebRtcMessageNotifier.java | 19 ++-------- .../translate/repositories/model/Language.kt | 19 ++-------- .../repositories/model/LanguagesData.kt | 19 ++-------- .../repositories/model/LanguagesOCS.kt | 19 ++-------- .../repositories/model/LanguagesOverall.kt | 19 ++-------- .../repositories/model/TranslateData.kt | 19 ++-------- .../repositories/model/TranslateOCS.kt | 19 ++-------- .../repositories/model/TranslationsOverall.kt | 19 ++-------- .../talk/translate/ui/TranslateActivity.kt | 22 +++--------- .../com/nextcloud/talk/ui/MessageInput.kt | 20 ++--------- .../com/nextcloud/talk/ui/MicInputCloud.kt | 20 ++--------- .../com/nextcloud/talk/ui/StatusDrawable.java | 25 +++---------- .../com/nextcloud/talk/ui/WaveformSeekBar.kt | 20 ++--------- .../ui/bottom/sheet/ProfileBottomSheet.kt | 19 ++-------- .../talk/ui/dialog/AttachmentDialog.kt | 23 +++--------- .../talk/ui/dialog/AudioOutputDialog.kt | 20 ++--------- .../dialog/ConversationsListBottomDialog.kt | 20 ++--------- .../talk/ui/dialog/DateTimePickerFragment.kt | 19 ++-------- .../dialog/FileAttachmentPreviewFragment.kt | 19 ++-------- .../ui/dialog/FilterConversationFragment.kt | 19 ++-------- .../talk/ui/dialog/MessageActionsDialog.kt | 23 +++--------- .../talk/ui/dialog/MoreCallActionsDialog.kt | 20 ++--------- .../ui/dialog/SaveToStorageDialogFragment.kt | 22 +++--------- .../nextcloud/talk/ui/dialog/ScopeDialog.kt | 23 +++--------- .../ui/dialog/SetPhoneNumberDialogFragment.kt | 22 +++--------- .../talk/ui/dialog/SetStatusDialogFragment.kt | 24 +++---------- .../ui/dialog/SortingOrderDialogFragment.java | 22 +++--------- .../ui/recyclerview/MessageSwipeActions.kt | 23 +++--------- .../ui/recyclerview/MessageSwipeCallback.kt | 23 +++--------- .../talk/ui/theme/MaterialSchemesProvider.kt | 22 +++--------- .../ui/theme/MaterialSchemesProviderImpl.kt | 24 +++---------- .../talk/ui/theme/ServerThemeImpl.kt | 24 +++---------- .../ui/theme/TalkSpecificViewThemeUtils.kt | 22 +++--------- .../nextcloud/talk/ui/theme/ThemeModule.kt | 22 +++--------- .../nextcloud/talk/ui/theme/ViewThemeUtils.kt | 22 +++--------- .../nextcloud/talk/upload/chunked/Chunk.kt | 22 +++--------- .../chunked/ChunkFromFileRequestBody.kt | 27 +++----------- .../upload/chunked/ChunkedFileUploader.kt | 28 +++------------ .../chunked/OnDataTransferProgressListener.kt | 27 +++----------- .../com/nextcloud/talk/utils/AudioUtils.kt | 19 ++-------- .../talk/utils/AuthenticatorService.java | 20 ++--------- .../nextcloud/talk/utils/BitmapShrinker.kt | 20 ++--------- .../nextcloud/talk/utils/ContextExtensions.kt | 23 +++--------- .../nextcloud/talk/utils/ConversationUtils.kt | 18 ++-------- .../com/nextcloud/talk/utils/DateConstants.kt | 20 ++--------- .../com/nextcloud/talk/utils/DisplayUtils.kt | 26 ++++---------- .../com/nextcloud/talk/utils/DrawableUtils.kt | 20 ++--------- .../utils/FABAwareScrollingViewBehavior.java | 15 ++------ .../com/nextcloud/talk/utils/FileSortOrder.kt | 22 +++--------- .../talk/utils/FileSortOrderByDate.kt | 22 +++--------- .../talk/utils/FileSortOrderByName.kt | 22 +++--------- .../talk/utils/FileSortOrderBySize.kt | 22 +++--------- .../com/nextcloud/talk/utils/FileUtils.kt | 35 +++++-------------- .../nextcloud/talk/utils/FileViewerUtils.kt | 20 ++--------- .../talk/utils/ImageEmojiEditText.kt | 20 ++--------- .../java/com/nextcloud/talk/utils/Mimetype.kt | 20 ++--------- .../com/nextcloud/talk/utils/MimetypeUtils.kt | 20 ++--------- .../talk/utils/NoSupportedApiException.kt | 20 ++--------- .../talk/utils/ParticipantPermissions.kt | 23 +++--------- .../com/nextcloud/talk/utils/PickImage.kt | 19 ++-------- .../com/nextcloud/talk/utils/ReceiverFlag.kt | 23 +++--------- .../nextcloud/talk/utils/RemoteFileUtils.kt | 30 +++++----------- .../com/nextcloud/talk/utils/SyncAdapter.java | 20 ++--------- .../com/nextcloud/talk/utils/SyncService.java | 20 ++--------- .../java/com/nextcloud/talk/utils/UriUtils.kt | 23 +++--------- .../com/nextcloud/talk/utils/UserIdUtils.kt | 20 ++--------- .../nextcloud/talk/utils/VibrationUtils.kt | 19 ++-------- .../ViewHidingBehaviourAnimation.java | 2 +- .../database/user/CurrentUserProviderImpl.kt | 22 +++--------- .../database/user/CurrentUserProviderNew.kt | 21 +++-------- .../talk/utils/message/MessageUtils.kt | 20 ++--------- .../permissions/PlatformPermissionUtil.kt | 22 +++--------- .../permissions/PlatformPermissionUtilImpl.kt | 22 +++--------- .../utils/preferences/AppPreferencesImpl.kt | 20 ++--------- .../nextcloud/talk/utils/rx/DisposableSet.kt | 22 +++--------- .../talk/utils/rx/SearchViewObservable.kt | 22 +++--------- .../talk/utils/ssl/SSLSocketFactoryCompat.kt | 10 +++--- .../webrtc/DataChannelMessageNotifier.java | 19 ++-------- .../res/layout/activity_full_screen_image.xml | 2 +- 317 files changed, 1104 insertions(+), 5485 deletions(-) diff --git a/app/src/main/java/com/nextcloud/talk/adapters/GeocodingAdapter.kt b/app/src/main/java/com/nextcloud/talk/adapters/GeocodingAdapter.kt index 603c73537..835284bd1 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/GeocodingAdapter.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/GeocodingAdapter.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2021 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/adapters/ParticipantDisplayItemNotifier.java b/app/src/main/java/com/nextcloud/talk/adapters/ParticipantDisplayItemNotifier.java index 651eefe8b..a52c0196a 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/ParticipantDisplayItemNotifier.java +++ b/app/src/main/java/com/nextcloud/talk/adapters/ParticipantDisplayItemNotifier.java @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2022 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.adapters; diff --git a/app/src/main/java/com/nextcloud/talk/adapters/PredefinedStatusClickListener.kt b/app/src/main/java/com/nextcloud/talk/adapters/PredefinedStatusClickListener.kt index ff25288a4..63a81b9c1 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/PredefinedStatusClickListener.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/PredefinedStatusClickListener.kt @@ -1,24 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * Copyright (C) 2020 Tobias Kaminsky - * Copyright (C) 2020 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Tim Krüger . + * SPDX-FileCopyrightText: 2020 Tobias Kaminsky + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/adapters/PredefinedStatusViewHolder.kt b/app/src/main/java/com/nextcloud/talk/adapters/PredefinedStatusViewHolder.kt index 1dae3149f..500e45297 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/PredefinedStatusViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/PredefinedStatusViewHolder.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * Copyright (C) 2020 Tobias Kaminsky - * Copyright (C) 2020 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2020 Tobias Kaminsky + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/adapters/ReactionItem.kt b/app/src/main/java/com/nextcloud/talk/adapters/ReactionItem.kt index 37ff543cf..969423e82 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/ReactionItem.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/ReactionItem.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters import com.nextcloud.talk.models.json.reactions.ReactionVoter diff --git a/app/src/main/java/com/nextcloud/talk/adapters/ReactionItemClickListener.kt b/app/src/main/java/com/nextcloud/talk/adapters/ReactionItemClickListener.kt index 865b122e1..02357b112 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/ReactionItemClickListener.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/ReactionItemClickListener.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters interface ReactionItemClickListener { diff --git a/app/src/main/java/com/nextcloud/talk/adapters/ReactionsAdapter.kt b/app/src/main/java/com/nextcloud/talk/adapters/ReactionsAdapter.kt index 551e15a26..9ee5b06f5 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/ReactionsAdapter.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/ReactionsAdapter.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters import android.view.LayoutInflater diff --git a/app/src/main/java/com/nextcloud/talk/adapters/ReactionsViewHolder.kt b/app/src/main/java/com/nextcloud/talk/adapters/ReactionsViewHolder.kt index dcd26f53f..8033c2fa2 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/ReactionsViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/ReactionsViewHolder.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters import android.text.TextUtils diff --git a/app/src/main/java/com/nextcloud/talk/adapters/messages/CallStartedMessageInterface.kt b/app/src/main/java/com/nextcloud/talk/adapters/messages/CallStartedMessageInterface.kt index 9d39d987c..3c7d469a0 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/messages/CallStartedMessageInterface.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/messages/CallStartedMessageInterface.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.adapters.messages diff --git a/app/src/main/java/com/nextcloud/talk/adapters/messages/CallStartedViewHolder.kt b/app/src/main/java/com/nextcloud/talk/adapters/messages/CallStartedViewHolder.kt index dfff2e714..446456ac8 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/messages/CallStartedViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/messages/CallStartedViewHolder.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters.messages import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/adapters/messages/IncomingPollMessageViewHolder.kt b/app/src/main/java/com/nextcloud/talk/adapters/messages/IncomingPollMessageViewHolder.kt index fe00b0863..f191071aa 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/messages/IncomingPollMessageViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/messages/IncomingPollMessageViewHolder.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters.messages import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/adapters/messages/IncomingPreviewMessageViewHolder.java b/app/src/main/java/com/nextcloud/talk/adapters/messages/IncomingPreviewMessageViewHolder.java index 06e7084af..c73826c4f 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/messages/IncomingPreviewMessageViewHolder.java +++ b/app/src/main/java/com/nextcloud/talk/adapters/messages/IncomingPreviewMessageViewHolder.java @@ -1,27 +1,11 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Tim Krüger - * @author Marcel Hibbe - * Copyright (C) 2022-2023 Marcel Hibbe - * Copyright (C) 2021-2022 Tim Krüger - * Copyright (C) 2021 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022-2023 Marcel Hibbe + * SPDX-FileCopyrightText: 2021-2022 Tim Krüger + * SPDX-FileCopyrightText: 2021 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters.messages; import android.text.Spanned; diff --git a/app/src/main/java/com/nextcloud/talk/adapters/messages/LinkPreview.kt b/app/src/main/java/com/nextcloud/talk/adapters/messages/LinkPreview.kt index 03fd4f995..4c9f72927 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/messages/LinkPreview.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/messages/LinkPreview.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe (dev@mhibbe.de) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters.messages import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/adapters/messages/MessagePayload.kt b/app/src/main/java/com/nextcloud/talk/adapters/messages/MessagePayload.kt index 38dbf99a9..9f6d12531 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/messages/MessagePayload.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/messages/MessagePayload.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters.messages import com.nextcloud.talk.ui.bottom.sheet.ProfileBottomSheet diff --git a/app/src/main/java/com/nextcloud/talk/adapters/messages/OutcomingPreviewMessageViewHolder.java b/app/src/main/java/com/nextcloud/talk/adapters/messages/OutcomingPreviewMessageViewHolder.java index 618d757b2..81f80a582 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/messages/OutcomingPreviewMessageViewHolder.java +++ b/app/src/main/java/com/nextcloud/talk/adapters/messages/OutcomingPreviewMessageViewHolder.java @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Tim Krüger - * Copyright (C) 2021 Tim Krüger - * Copyright (C) 2021 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters.messages; import android.text.Spanned; diff --git a/app/src/main/java/com/nextcloud/talk/adapters/messages/Reaction.kt b/app/src/main/java/com/nextcloud/talk/adapters/messages/Reaction.kt index 2e38b9bb3..4d00f445d 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/messages/Reaction.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/messages/Reaction.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe (dev@mhibbe.de) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters.messages import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/adapters/messages/TalkMessagesListAdapter.java b/app/src/main/java/com/nextcloud/talk/adapters/messages/TalkMessagesListAdapter.java index 16c8d9884..f5121a6e5 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/messages/TalkMessagesListAdapter.java +++ b/app/src/main/java/com/nextcloud/talk/adapters/messages/TalkMessagesListAdapter.java @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application - * - * @author Tobias Kaminsky - * Copyright (C) 2020 Tobias Kaminsky - * - * 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 . + * Nextcloud Talk - Android Client + * + * SPDX-FileCopyrightText: 2020 Tobias Kaminsky + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters.messages; import com.nextcloud.talk.chat.ChatActivity; diff --git a/app/src/main/java/com/nextcloud/talk/adapters/messages/VoiceMessageInterface.kt b/app/src/main/java/com/nextcloud/talk/adapters/messages/VoiceMessageInterface.kt index 84ac39040..df0457752 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/messages/VoiceMessageInterface.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/messages/VoiceMessageInterface.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2021 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.adapters.messages import com.nextcloud.talk.models.json.chat.ChatMessage diff --git a/app/src/main/java/com/nextcloud/talk/arbitrarystorage/ArbitraryStorageManager.kt b/app/src/main/java/com/nextcloud/talk/arbitrarystorage/ArbitraryStorageManager.kt index 27c2550e0..648c9910d 100644 --- a/app/src/main/java/com/nextcloud/talk/arbitrarystorage/ArbitraryStorageManager.kt +++ b/app/src/main/java/com/nextcloud/talk/arbitrarystorage/ArbitraryStorageManager.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.arbitrarystorage import com.nextcloud.talk.data.storage.ArbitraryStoragesRepository diff --git a/app/src/main/java/com/nextcloud/talk/call/CallParticipant.java b/app/src/main/java/com/nextcloud/talk/call/CallParticipant.java index 02d3c8d2b..50c1ae669 100644 --- a/app/src/main/java/com/nextcloud/talk/call/CallParticipant.java +++ b/app/src/main/java/com/nextcloud/talk/call/CallParticipant.java @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2022 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.call; diff --git a/app/src/main/java/com/nextcloud/talk/call/CallParticipantList.java b/app/src/main/java/com/nextcloud/talk/call/CallParticipantList.java index 36a193026..05712f5c0 100644 --- a/app/src/main/java/com/nextcloud/talk/call/CallParticipantList.java +++ b/app/src/main/java/com/nextcloud/talk/call/CallParticipantList.java @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2022 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.call; diff --git a/app/src/main/java/com/nextcloud/talk/call/CallParticipantListNotifier.java b/app/src/main/java/com/nextcloud/talk/call/CallParticipantListNotifier.java index afbc893fd..2c0d16985 100644 --- a/app/src/main/java/com/nextcloud/talk/call/CallParticipantListNotifier.java +++ b/app/src/main/java/com/nextcloud/talk/call/CallParticipantListNotifier.java @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2022 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.call; diff --git a/app/src/main/java/com/nextcloud/talk/call/CallParticipantModel.java b/app/src/main/java/com/nextcloud/talk/call/CallParticipantModel.java index f11ad9e2b..5a05cbc42 100644 --- a/app/src/main/java/com/nextcloud/talk/call/CallParticipantModel.java +++ b/app/src/main/java/com/nextcloud/talk/call/CallParticipantModel.java @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2022 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.call; diff --git a/app/src/main/java/com/nextcloud/talk/call/CallParticipantModelNotifier.java b/app/src/main/java/com/nextcloud/talk/call/CallParticipantModelNotifier.java index 8452a157c..05180c121 100644 --- a/app/src/main/java/com/nextcloud/talk/call/CallParticipantModelNotifier.java +++ b/app/src/main/java/com/nextcloud/talk/call/CallParticipantModelNotifier.java @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2022 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.call; diff --git a/app/src/main/java/com/nextcloud/talk/call/MutableCallParticipantModel.java b/app/src/main/java/com/nextcloud/talk/call/MutableCallParticipantModel.java index f57bd16d7..f1288a8a0 100644 --- a/app/src/main/java/com/nextcloud/talk/call/MutableCallParticipantModel.java +++ b/app/src/main/java/com/nextcloud/talk/call/MutableCallParticipantModel.java @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2022 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.call; diff --git a/app/src/main/java/com/nextcloud/talk/call/RaisedHand.kt b/app/src/main/java/com/nextcloud/talk/call/RaisedHand.kt index 7a07fb337..a7cb20e29 100644 --- a/app/src/main/java/com/nextcloud/talk/call/RaisedHand.kt +++ b/app/src/main/java/com/nextcloud/talk/call/RaisedHand.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2023 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.call diff --git a/app/src/main/java/com/nextcloud/talk/call/ReactionAnimator.kt b/app/src/main/java/com/nextcloud/talk/call/ReactionAnimator.kt index 3354c3ab9..f1c1d1206 100644 --- a/app/src/main/java/com/nextcloud/talk/call/ReactionAnimator.kt +++ b/app/src/main/java/com/nextcloud/talk/call/ReactionAnimator.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.call import android.animation.Animator diff --git a/app/src/main/java/com/nextcloud/talk/callnotification/viewmodel/CallNotificationViewModel.kt b/app/src/main/java/com/nextcloud/talk/callnotification/viewmodel/CallNotificationViewModel.kt index f09dfc435..d446e7ec8 100644 --- a/app/src/main/java/com/nextcloud/talk/callnotification/viewmodel/CallNotificationViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/callnotification/viewmodel/CallNotificationViewModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.callnotification.viewmodel import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/chat/TypingParticipant.kt b/app/src/main/java/com/nextcloud/talk/chat/TypingParticipant.kt index a29a13fdc..85d7e5439 100644 --- a/app/src/main/java/com/nextcloud/talk/chat/TypingParticipant.kt +++ b/app/src/main/java/com/nextcloud/talk/chat/TypingParticipant.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2021-2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021-2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.chat import android.os.CountDownTimer diff --git a/app/src/main/java/com/nextcloud/talk/chat/data/ChatRepository.kt b/app/src/main/java/com/nextcloud/talk/chat/data/ChatRepository.kt index db1fd1f4d..5858e38d1 100644 --- a/app/src/main/java/com/nextcloud/talk/chat/data/ChatRepository.kt +++ b/app/src/main/java/com/nextcloud/talk/chat/data/ChatRepository.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.chat.data import com.nextcloud.talk.data.user.model.User diff --git a/app/src/main/java/com/nextcloud/talk/chat/data/network/NetworkChatRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/chat/data/network/NetworkChatRepositoryImpl.kt index 2fbb3a0c9..57e3fd98f 100644 --- a/app/src/main/java/com/nextcloud/talk/chat/data/network/NetworkChatRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/chat/data/network/NetworkChatRepositoryImpl.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.chat.data.network import com.nextcloud.talk.api.NcApi diff --git a/app/src/main/java/com/nextcloud/talk/chat/viewmodels/ChatViewModel.kt b/app/src/main/java/com/nextcloud/talk/chat/viewmodels/ChatViewModel.kt index df5be648c..c681b0774 100644 --- a/app/src/main/java/com/nextcloud/talk/chat/viewmodels/ChatViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/chat/viewmodels/ChatViewModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.chat.viewmodels import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/conversation/CreateConversationDialogFragment.kt b/app/src/main/java/com/nextcloud/talk/conversation/CreateConversationDialogFragment.kt index ff68dfdbe..c89befc2a 100644 --- a/app/src/main/java/com/nextcloud/talk/conversation/CreateConversationDialogFragment.kt +++ b/app/src/main/java/com/nextcloud/talk/conversation/CreateConversationDialogFragment.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.conversation import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/conversation/RenameConversationDialogFragment.kt b/app/src/main/java/com/nextcloud/talk/conversation/RenameConversationDialogFragment.kt index 653455a64..fa2c60f5d 100644 --- a/app/src/main/java/com/nextcloud/talk/conversation/RenameConversationDialogFragment.kt +++ b/app/src/main/java/com/nextcloud/talk/conversation/RenameConversationDialogFragment.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.conversation import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/conversation/repository/ConversationRepository.kt b/app/src/main/java/com/nextcloud/talk/conversation/repository/ConversationRepository.kt index fd8760d49..f85409e1f 100644 --- a/app/src/main/java/com/nextcloud/talk/conversation/repository/ConversationRepository.kt +++ b/app/src/main/java/com/nextcloud/talk/conversation/repository/ConversationRepository.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.conversation.repository import com.nextcloud.talk.models.json.conversations.Conversation diff --git a/app/src/main/java/com/nextcloud/talk/conversation/repository/ConversationRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/conversation/repository/ConversationRepositoryImpl.kt index d4b657b6c..f18db9578 100644 --- a/app/src/main/java/com/nextcloud/talk/conversation/repository/ConversationRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/conversation/repository/ConversationRepositoryImpl.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.conversation.repository import com.nextcloud.talk.api.NcApi diff --git a/app/src/main/java/com/nextcloud/talk/conversation/viewmodel/ConversationViewModel.kt b/app/src/main/java/com/nextcloud/talk/conversation/viewmodel/ConversationViewModel.kt index 69e230310..cdbe3f0c9 100644 --- a/app/src/main/java/com/nextcloud/talk/conversation/viewmodel/ConversationViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/conversation/viewmodel/ConversationViewModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.conversation.viewmodel import androidx.lifecycle.LiveData diff --git a/app/src/main/java/com/nextcloud/talk/conversation/viewmodel/RenameConversationViewModel.kt b/app/src/main/java/com/nextcloud/talk/conversation/viewmodel/RenameConversationViewModel.kt index ff992d707..c998f91f0 100644 --- a/app/src/main/java/com/nextcloud/talk/conversation/viewmodel/RenameConversationViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/conversation/viewmodel/RenameConversationViewModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.conversation.viewmodel import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt b/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt index c086f470f..a81e3ab18 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.conversationinfo.viewmodel import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/conversationinfoedit/ConversationInfoEditActivity.kt b/app/src/main/java/com/nextcloud/talk/conversationinfoedit/ConversationInfoEditActivity.kt index e0cb22489..8c78d4d8d 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationinfoedit/ConversationInfoEditActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationinfoedit/ConversationInfoEditActivity.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Ezhil Shanmugham - * Copyright (C) 2023 Marcel Hibbe (dev@mhibbe.de) - * Copyright (C) 2023 Ezhil Shanmugham - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-FileCopyrightText: 2023 Ezhil Shanmugham + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.conversationinfoedit import android.app.Activity diff --git a/app/src/main/java/com/nextcloud/talk/conversationinfoedit/data/ConversationInfoEditRepository.kt b/app/src/main/java/com/nextcloud/talk/conversationinfoedit/data/ConversationInfoEditRepository.kt index 99f094372..83628ca7c 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationinfoedit/data/ConversationInfoEditRepository.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationinfoedit/data/ConversationInfoEditRepository.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.conversationinfoedit.data import com.nextcloud.talk.data.user.model.User diff --git a/app/src/main/java/com/nextcloud/talk/conversationinfoedit/data/ConversationInfoEditRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/conversationinfoedit/data/ConversationInfoEditRepositoryImpl.kt index 1e4530b31..c84e17c65 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationinfoedit/data/ConversationInfoEditRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationinfoedit/data/ConversationInfoEditRepositoryImpl.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.conversationinfoedit.data import com.nextcloud.talk.api.NcApi diff --git a/app/src/main/java/com/nextcloud/talk/conversationinfoedit/viewmodel/ConversationInfoEditViewModel.kt b/app/src/main/java/com/nextcloud/talk/conversationinfoedit/viewmodel/ConversationInfoEditViewModel.kt index 31f37a2a4..cc9af97fe 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationinfoedit/viewmodel/ConversationInfoEditViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationinfoedit/viewmodel/ConversationInfoEditViewModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.conversationinfoedit.viewmodel import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/conversationlist/ConversationsListActivity.kt b/app/src/main/java/com/nextcloud/talk/conversationlist/ConversationsListActivity.kt index 388ba6235..31a623edb 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationlist/ConversationsListActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationlist/ConversationsListActivity.kt @@ -1,29 +1,13 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * @author Andy Scherzinger - * @author Marcel Hibbe - * @author Mario Danic - * @author Ezhil Shanmugham - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Andy Scherzinger (info@andy-scherzinger.de) - * Copyright (C) 2022-2024 Marcel Hibbe (dev@mhibbe.de) - * Copyright (C) 2017-2020 Mario Danic (mario@lovelyhq.com) - * Copyright (C) 2023 Ezhil Shanmugham - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022-2024 Marcel Hibbe + * SPDX-FileCopyrightText: 2022-2023 Andy Scherzinger + * SPDX-FileCopyrightText: 2023 Tobias Kaminsky + * SPDX-FileCopyrightText: 2023 Ezhil Shanmugham + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2017-2020 Mario Danic + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.conversationlist diff --git a/app/src/main/java/com/nextcloud/talk/conversationlist/data/ConversationsListRepository.kt b/app/src/main/java/com/nextcloud/talk/conversationlist/data/ConversationsListRepository.kt index 3e1bb83d0..6f7baf1a5 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationlist/data/ConversationsListRepository.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationlist/data/ConversationsListRepository.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.conversationlist.data interface ConversationsListRepository diff --git a/app/src/main/java/com/nextcloud/talk/conversationlist/data/ConversationsListRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/conversationlist/data/ConversationsListRepositoryImpl.kt index 7cf0fca08..098b27e71 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationlist/data/ConversationsListRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationlist/data/ConversationsListRepositoryImpl.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.conversationlist.data import com.nextcloud.talk.api.NcApi diff --git a/app/src/main/java/com/nextcloud/talk/conversationlist/viewmodels/ConversationsListViewModel.kt b/app/src/main/java/com/nextcloud/talk/conversationlist/viewmodels/ConversationsListViewModel.kt index 36096bd37..50dc68386 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationlist/viewmodels/ConversationsListViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationlist/viewmodels/ConversationsListViewModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.conversationlist.viewmodels import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/dagger/modules/RepositoryModule.kt b/app/src/main/java/com/nextcloud/talk/dagger/modules/RepositoryModule.kt index bb2558f8f..98eb7b448 100644 --- a/app/src/main/java/com/nextcloud/talk/dagger/modules/RepositoryModule.kt +++ b/app/src/main/java/com/nextcloud/talk/dagger/modules/RepositoryModule.kt @@ -1,28 +1,12 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * @author Andy Scherzinger - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.dagger.modules import com.nextcloud.talk.api.NcApi diff --git a/app/src/main/java/com/nextcloud/talk/dagger/modules/UtilsModule.kt b/app/src/main/java/com/nextcloud/talk/dagger/modules/UtilsModule.kt index 95b319644..05eb3b29f 100644 --- a/app/src/main/java/com/nextcloud/talk/dagger/modules/UtilsModule.kt +++ b/app/src/main/java/com/nextcloud/talk/dagger/modules/UtilsModule.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.dagger.modules import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/dagger/modules/ViewModelModule.kt b/app/src/main/java/com/nextcloud/talk/dagger/modules/ViewModelModule.kt index 140500b23..be1bf6c33 100644 --- a/app/src/main/java/com/nextcloud/talk/dagger/modules/ViewModelModule.kt +++ b/app/src/main/java/com/nextcloud/talk/dagger/modules/ViewModelModule.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.dagger.modules import androidx.lifecycle.ViewModel diff --git a/app/src/main/java/com/nextcloud/talk/data/source/local/Migrations.kt b/app/src/main/java/com/nextcloud/talk/data/source/local/Migrations.kt index aca16d0a6..d0c52a77e 100644 --- a/app/src/main/java/com/nextcloud/talk/data/source/local/Migrations.kt +++ b/app/src/main/java/com/nextcloud/talk/data/source/local/Migrations.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.source.local import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/data/source/local/TalkDatabase.kt b/app/src/main/java/com/nextcloud/talk/data/source/local/TalkDatabase.kt index e5862cd27..c2d305a32 100644 --- a/app/src/main/java/com/nextcloud/talk/data/source/local/TalkDatabase.kt +++ b/app/src/main/java/com/nextcloud/talk/data/source/local/TalkDatabase.kt @@ -1,23 +1,11 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Mario Danic - * Copyright (C) 2017-2020 Mario Danic - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2017-2020 Mario Danic + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.source.local import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/data/source/local/converters/CapabilitiesConverter.kt b/app/src/main/java/com/nextcloud/talk/data/source/local/converters/CapabilitiesConverter.kt index 8993711fc..c055f724c 100644 --- a/app/src/main/java/com/nextcloud/talk/data/source/local/converters/CapabilitiesConverter.kt +++ b/app/src/main/java/com/nextcloud/talk/data/source/local/converters/CapabilitiesConverter.kt @@ -1,23 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Mario Danic - * Copyright (C) 2017-2020 Mario Danic - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2017-2020 Mario Danic + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.source.local.converters import androidx.room.TypeConverter diff --git a/app/src/main/java/com/nextcloud/talk/data/source/local/converters/ExternalSignalingServerConverter.kt b/app/src/main/java/com/nextcloud/talk/data/source/local/converters/ExternalSignalingServerConverter.kt index c5a611053..28163dfb1 100644 --- a/app/src/main/java/com/nextcloud/talk/data/source/local/converters/ExternalSignalingServerConverter.kt +++ b/app/src/main/java/com/nextcloud/talk/data/source/local/converters/ExternalSignalingServerConverter.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.source.local.converters import androidx.room.TypeConverter diff --git a/app/src/main/java/com/nextcloud/talk/data/source/local/converters/HashMapHashMapConverter.kt b/app/src/main/java/com/nextcloud/talk/data/source/local/converters/HashMapHashMapConverter.kt index a40220a82..e1ee64772 100644 --- a/app/src/main/java/com/nextcloud/talk/data/source/local/converters/HashMapHashMapConverter.kt +++ b/app/src/main/java/com/nextcloud/talk/data/source/local/converters/HashMapHashMapConverter.kt @@ -1,23 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Mario Danic - * Copyright (C) 2017-2020 Mario Danic - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2017-2020 Mario Danic + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.source.local.converters import androidx.room.TypeConverter diff --git a/app/src/main/java/com/nextcloud/talk/data/source/local/converters/PushConfigurationConverter.kt b/app/src/main/java/com/nextcloud/talk/data/source/local/converters/PushConfigurationConverter.kt index 2e4738bcc..5a6adc721 100644 --- a/app/src/main/java/com/nextcloud/talk/data/source/local/converters/PushConfigurationConverter.kt +++ b/app/src/main/java/com/nextcloud/talk/data/source/local/converters/PushConfigurationConverter.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Mario Danic - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2017-2020 Mario Danic - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2017-2020 Mario Danic + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.source.local.converters import androidx.room.TypeConverter diff --git a/app/src/main/java/com/nextcloud/talk/data/source/local/converters/ServerVersionConverter.kt b/app/src/main/java/com/nextcloud/talk/data/source/local/converters/ServerVersionConverter.kt index 800a15d7c..25194df52 100644 --- a/app/src/main/java/com/nextcloud/talk/data/source/local/converters/ServerVersionConverter.kt +++ b/app/src/main/java/com/nextcloud/talk/data/source/local/converters/ServerVersionConverter.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Mario Danic - * @author Marcel Hibbe - * Copyright (C) 2017-2020 Mario Danic - * Copyright (C) 2024 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2024 Marcel Hibbe + * SPDX-FileCopyrightText: 2017-2020 Mario Danic + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.source.local.converters import androidx.room.TypeConverter diff --git a/app/src/main/java/com/nextcloud/talk/data/source/local/converters/SignalingSettingsConverter.kt b/app/src/main/java/com/nextcloud/talk/data/source/local/converters/SignalingSettingsConverter.kt index 5664fbbfc..70be98f75 100644 --- a/app/src/main/java/com/nextcloud/talk/data/source/local/converters/SignalingSettingsConverter.kt +++ b/app/src/main/java/com/nextcloud/talk/data/source/local/converters/SignalingSettingsConverter.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Mario Danic - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2017-2020 Mario Danic - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2017-2020 Mario Danic + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.source.local.converters import androidx.room.TypeConverter diff --git a/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStorageMapper.kt b/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStorageMapper.kt index cd99dda9b..6c56416a5 100644 --- a/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStorageMapper.kt +++ b/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStorageMapper.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * model 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. - * - * model 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 model program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.storage import com.nextcloud.talk.data.storage.model.ArbitraryStorage diff --git a/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStoragesDao.kt b/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStoragesDao.kt index 0941b6f9a..0fe66e199 100644 --- a/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStoragesDao.kt +++ b/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStoragesDao.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.storage import androidx.room.Dao diff --git a/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStoragesRepository.kt b/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStoragesRepository.kt index ea5c3c9f8..3ca2b84b9 100644 --- a/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStoragesRepository.kt +++ b/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStoragesRepository.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.storage import com.nextcloud.talk.data.storage.model.ArbitraryStorage diff --git a/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStoragesRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStoragesRepositoryImpl.kt index 6eb07cf76..b61b5db3c 100644 --- a/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStoragesRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/data/storage/ArbitraryStoragesRepositoryImpl.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.storage import com.nextcloud.talk.data.storage.model.ArbitraryStorage diff --git a/app/src/main/java/com/nextcloud/talk/data/storage/model/ArbitraryStorage.kt b/app/src/main/java/com/nextcloud/talk/data/storage/model/ArbitraryStorage.kt index 56b93b38b..1d5b1318b 100644 --- a/app/src/main/java/com/nextcloud/talk/data/storage/model/ArbitraryStorage.kt +++ b/app/src/main/java/com/nextcloud/talk/data/storage/model/ArbitraryStorage.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.storage.model import android.os.Parcelable diff --git a/app/src/main/java/com/nextcloud/talk/data/storage/model/ArbitraryStorageEntity.kt b/app/src/main/java/com/nextcloud/talk/data/storage/model/ArbitraryStorageEntity.kt index ab5f7dc62..5c5677a42 100644 --- a/app/src/main/java/com/nextcloud/talk/data/storage/model/ArbitraryStorageEntity.kt +++ b/app/src/main/java/com/nextcloud/talk/data/storage/model/ArbitraryStorageEntity.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.storage.model import android.os.Parcelable diff --git a/app/src/main/java/com/nextcloud/talk/data/user/UserMapper.kt b/app/src/main/java/com/nextcloud/talk/data/user/UserMapper.kt index d6f5a1e2b..04b9db18e 100644 --- a/app/src/main/java/com/nextcloud/talk/data/user/UserMapper.kt +++ b/app/src/main/java/com/nextcloud/talk/data/user/UserMapper.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * model 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. - * - * model 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 model program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.user import com.nextcloud.talk.data.user.model.User diff --git a/app/src/main/java/com/nextcloud/talk/data/user/UsersDao.kt b/app/src/main/java/com/nextcloud/talk/data/user/UsersDao.kt index 565d980f1..e2291f49b 100644 --- a/app/src/main/java/com/nextcloud/talk/data/user/UsersDao.kt +++ b/app/src/main/java/com/nextcloud/talk/data/user/UsersDao.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Mario Danic - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2017-2020 Mario Danic - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2017-2020 Mario Danic + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.user import androidx.room.Dao diff --git a/app/src/main/java/com/nextcloud/talk/data/user/UsersRepository.kt b/app/src/main/java/com/nextcloud/talk/data/user/UsersRepository.kt index e8470b59f..4889b5cb7 100644 --- a/app/src/main/java/com/nextcloud/talk/data/user/UsersRepository.kt +++ b/app/src/main/java/com/nextcloud/talk/data/user/UsersRepository.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Mario Danic - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2017-2020 Mario Danic - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2017-2020 Mario Danic + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.user import com.nextcloud.talk.data.user.model.User diff --git a/app/src/main/java/com/nextcloud/talk/data/user/UsersRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/data/user/UsersRepositoryImpl.kt index d6723d7ee..557860763 100644 --- a/app/src/main/java/com/nextcloud/talk/data/user/UsersRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/data/user/UsersRepositoryImpl.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Mario Danic - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2017-2020 Mario Danic - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2017-2020 Mario Danic + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.user import com.nextcloud.talk.data.user.model.User diff --git a/app/src/main/java/com/nextcloud/talk/data/user/model/User.kt b/app/src/main/java/com/nextcloud/talk/data/user/model/User.kt index 4ce808e3e..07d9b8f7b 100644 --- a/app/src/main/java/com/nextcloud/talk/data/user/model/User.kt +++ b/app/src/main/java/com/nextcloud/talk/data/user/model/User.kt @@ -1,21 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Mario Danic - * Copyright (C) 2017-2020 Mario Danic - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2024 Marcel Hibbe + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2017-2020 Mario Danic + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.data.user.model diff --git a/app/src/main/java/com/nextcloud/talk/data/user/model/UserEntity.kt b/app/src/main/java/com/nextcloud/talk/data/user/model/UserEntity.kt index cba19b9f5..66fdf166f 100644 --- a/app/src/main/java/com/nextcloud/talk/data/user/model/UserEntity.kt +++ b/app/src/main/java/com/nextcloud/talk/data/user/model/UserEntity.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Mario Danic - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2017-2020 Mario Danic - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2017-2020 Mario Danic + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.data.user.model import android.os.Parcelable diff --git a/app/src/main/java/com/nextcloud/talk/diagnose/DiagnoseActivity.kt b/app/src/main/java/com/nextcloud/talk/diagnose/DiagnoseActivity.kt index a1795af49..c4c4e3007 100644 --- a/app/src/main/java/com/nextcloud/talk/diagnose/DiagnoseActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/diagnose/DiagnoseActivity.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.diagnose diff --git a/app/src/main/java/com/nextcloud/talk/events/ConversationsListFetchDataEvent.kt b/app/src/main/java/com/nextcloud/talk/events/ConversationsListFetchDataEvent.kt index f69e5d1d4..f1172e28a 100644 --- a/app/src/main/java/com/nextcloud/talk/events/ConversationsListFetchDataEvent.kt +++ b/app/src/main/java/com/nextcloud/talk/events/ConversationsListFetchDataEvent.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.events class ConversationsListFetchDataEvent diff --git a/app/src/main/java/com/nextcloud/talk/events/OpenConversationEvent.kt b/app/src/main/java/com/nextcloud/talk/events/OpenConversationEvent.kt index e1d2e33d8..1062e6142 100644 --- a/app/src/main/java/com/nextcloud/talk/events/OpenConversationEvent.kt +++ b/app/src/main/java/com/nextcloud/talk/events/OpenConversationEvent.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.events import android.os.Bundle diff --git a/app/src/main/java/com/nextcloud/talk/extensions/ImageViewExtensions.kt b/app/src/main/java/com/nextcloud/talk/extensions/ImageViewExtensions.kt index 24e7ac3f1..64377dc82 100644 --- a/app/src/main/java/com/nextcloud/talk/extensions/ImageViewExtensions.kt +++ b/app/src/main/java/com/nextcloud/talk/extensions/ImageViewExtensions.kt @@ -1,26 +1,11 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * @author Marcel Hibbe - * Copyright (C) 2022 Tim Krüger - * Copyright (C) 2023 Marcel Hibbe (dev@mhibbe.de) - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - @file:Suppress("TooManyFunctions") package com.nextcloud.talk.extensions diff --git a/app/src/main/java/com/nextcloud/talk/fullscreenfile/FullScreenImageActivity.kt b/app/src/main/java/com/nextcloud/talk/fullscreenfile/FullScreenImageActivity.kt index ccdfec5a9..41a753899 100644 --- a/app/src/main/java/com/nextcloud/talk/fullscreenfile/FullScreenImageActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/fullscreenfile/FullScreenImageActivity.kt @@ -1,29 +1,12 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Dariusz Olszewski - * @author Andy Scherzinger - * @author Ezhil Shanmugham - * Copyright (C) 2023 Ezhil Shanmugham - * Copyright (C) 2021 Andy Scherzinger - * Copyright (C) 2021 Marcel Hibbe - * Copyright (C) 2021 Dariusz Olszewski - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Ezhil Shanmugham + * SPDX-FileCopyrightText: 2021 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Marcel Hibbe + * SPDX-FileCopyrightText: 2021 Dariusz Olszewski + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.fullscreenfile import android.content.Intent diff --git a/app/src/main/java/com/nextcloud/talk/fullscreenfile/FullScreenMediaActivity.kt b/app/src/main/java/com/nextcloud/talk/fullscreenfile/FullScreenMediaActivity.kt index 0dd0b9ba5..fb252375c 100644 --- a/app/src/main/java/com/nextcloud/talk/fullscreenfile/FullScreenMediaActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/fullscreenfile/FullScreenMediaActivity.kt @@ -1,29 +1,12 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Andy Scherzinger - * @author Ezhil Shanmugham - * @author Parneet Singh - * Copyright (C) 2021 Andy Scherzinger - * Copyright (C) 2021 Marcel Hibbe - * Copyright (C) 2023 Ezhil Shanmugham - * Copyright (c) 2023 Parneet Singh - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Ezhil Shanmugham + * SPDX-FileCopyrightText: 2023 Parneet Singh + * SPDX-FileCopyrightText: 2021 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.fullscreenfile import android.content.Intent diff --git a/app/src/main/java/com/nextcloud/talk/fullscreenfile/FullScreenTextViewerActivity.kt b/app/src/main/java/com/nextcloud/talk/fullscreenfile/FullScreenTextViewerActivity.kt index d78ff54c3..b14480c27 100644 --- a/app/src/main/java/com/nextcloud/talk/fullscreenfile/FullScreenTextViewerActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/fullscreenfile/FullScreenTextViewerActivity.kt @@ -1,27 +1,11 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Andy Scherzinger - * @author Ezhil Shanmugham - * Copyright (C) 2021 Andy Scherzinger - * Copyright (C) 2021 Marcel Hibbe - * Copyright (C) 2023 Ezhil Shanmugham - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Ezhil Shanmugham + * SPDX-FileCopyrightText: 2021 Marcel Hibbe + * SPDX-FileCopyrightText: 2021 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.fullscreenfile import android.content.Intent diff --git a/app/src/main/java/com/nextcloud/talk/invitation/InvitationsActivity.kt b/app/src/main/java/com/nextcloud/talk/invitation/InvitationsActivity.kt index 09fdf03cb..9fbb23786 100644 --- a/app/src/main/java/com/nextcloud/talk/invitation/InvitationsActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/invitation/InvitationsActivity.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.invitation import android.content.Intent diff --git a/app/src/main/java/com/nextcloud/talk/invitation/adapters/InvitationsAdapter.kt b/app/src/main/java/com/nextcloud/talk/invitation/adapters/InvitationsAdapter.kt index 6631e8ecb..78799c564 100644 --- a/app/src/main/java/com/nextcloud/talk/invitation/adapters/InvitationsAdapter.kt +++ b/app/src/main/java/com/nextcloud/talk/invitation/adapters/InvitationsAdapter.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.invitation.adapters import android.view.LayoutInflater diff --git a/app/src/main/java/com/nextcloud/talk/invitation/data/Invitation.kt b/app/src/main/java/com/nextcloud/talk/invitation/data/Invitation.kt index 78e6e16cd..9234a93ab 100644 --- a/app/src/main/java/com/nextcloud/talk/invitation/data/Invitation.kt +++ b/app/src/main/java/com/nextcloud/talk/invitation/data/Invitation.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.invitation.data data class Invitation( diff --git a/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationActionModel.kt b/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationActionModel.kt index dbe2c1162..f20b72147 100644 --- a/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationActionModel.kt +++ b/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationActionModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.invitation.data enum class ActionEnum { ACCEPT, REJECT } data class InvitationActionModel( diff --git a/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationsModel.kt b/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationsModel.kt index c39a95140..0a5c6231a 100644 --- a/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationsModel.kt +++ b/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationsModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.invitation.data import com.nextcloud.talk.data.user.model.User diff --git a/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationsRepository.kt b/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationsRepository.kt index 2343ce69c..4af17c569 100644 --- a/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationsRepository.kt +++ b/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationsRepository.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.invitation.data import com.nextcloud.talk.data.user.model.User diff --git a/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationsRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationsRepositoryImpl.kt index a3c338e18..878b20738 100644 --- a/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationsRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/invitation/data/InvitationsRepositoryImpl.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.invitation.data import com.nextcloud.talk.api.NcApi diff --git a/app/src/main/java/com/nextcloud/talk/invitation/viewmodels/InvitationsViewModel.kt b/app/src/main/java/com/nextcloud/talk/invitation/viewmodels/InvitationsViewModel.kt index 6b36a98aa..d1ff2d792 100644 --- a/app/src/main/java/com/nextcloud/talk/invitation/viewmodels/InvitationsViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/invitation/viewmodels/InvitationsViewModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.invitation.viewmodels import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/jobs/ContactAddressBookWorker.kt b/app/src/main/java/com/nextcloud/talk/jobs/ContactAddressBookWorker.kt index 0e089bca2..db3bba39c 100644 --- a/app/src/main/java/com/nextcloud/talk/jobs/ContactAddressBookWorker.kt +++ b/app/src/main/java/com/nextcloud/talk/jobs/ContactAddressBookWorker.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * Copyright (C) 2020 Tobias Kaminsky - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2020 Tobias Kaminsky + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.jobs import android.Manifest diff --git a/app/src/main/java/com/nextcloud/talk/jobs/DownloadFileToCacheWorker.kt b/app/src/main/java/com/nextcloud/talk/jobs/DownloadFileToCacheWorker.kt index e0ecd4888..18d16c150 100644 --- a/app/src/main/java/com/nextcloud/talk/jobs/DownloadFileToCacheWorker.kt +++ b/app/src/main/java/com/nextcloud/talk/jobs/DownloadFileToCacheWorker.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Marcel Hibbe - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2021 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.jobs import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/jobs/SaveFileToStorageWorker.kt b/app/src/main/java/com/nextcloud/talk/jobs/SaveFileToStorageWorker.kt index c2c90c551..346bd9401 100644 --- a/app/src/main/java/com/nextcloud/talk/jobs/SaveFileToStorageWorker.kt +++ b/app/src/main/java/com/nextcloud/talk/jobs/SaveFileToStorageWorker.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Fariba Khandani - * @author Marcel Hibbe - * Copyright (C) 2023 Fariba Khandani - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-FileCopyrightText: 2023 Fariba Khandani + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.jobs import android.content.ContentValues diff --git a/app/src/main/java/com/nextcloud/talk/jobs/UploadAndShareFilesWorker.kt b/app/src/main/java/com/nextcloud/talk/jobs/UploadAndShareFilesWorker.kt index 5f20742fc..20eef7217 100644 --- a/app/src/main/java/com/nextcloud/talk/jobs/UploadAndShareFilesWorker.kt +++ b/app/src/main/java/com/nextcloud/talk/jobs/UploadAndShareFilesWorker.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Parneet Singh - * Copyright (C) 2021-2022 Marcel Hibbe - * Copyright (C) 2024-2025 Parneet Singh - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2024 Parneet Singh + * SPDX-FileCopyrightText: 2021-2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.jobs import android.Manifest diff --git a/app/src/main/java/com/nextcloud/talk/location/GeocodingActivity.kt b/app/src/main/java/com/nextcloud/talk/location/GeocodingActivity.kt index 71ae0e931..2b2cda35f 100644 --- a/app/src/main/java/com/nextcloud/talk/location/GeocodingActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/location/GeocodingActivity.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2021 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.location import android.app.SearchManager diff --git a/app/src/main/java/com/nextcloud/talk/location/GeocodingResult.kt b/app/src/main/java/com/nextcloud/talk/location/GeocodingResult.kt index 544e2ad16..739461aad 100644 --- a/app/src/main/java/com/nextcloud/talk/location/GeocodingResult.kt +++ b/app/src/main/java/com/nextcloud/talk/location/GeocodingResult.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.location import android.os.Parcelable diff --git a/app/src/main/java/com/nextcloud/talk/location/LocationPickerActivity.kt b/app/src/main/java/com/nextcloud/talk/location/LocationPickerActivity.kt index 973397205..f52bfda54 100644 --- a/app/src/main/java/com/nextcloud/talk/location/LocationPickerActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/location/LocationPickerActivity.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Ezhil Shanmugham - * Copyright (C) 2021 Marcel Hibbe - * Copyright (C) 2023 Ezhil Shanmugham - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Ezhil Shanmugham + * SPDX-FileCopyrightText: 2021 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.location import android.Manifest diff --git a/app/src/main/java/com/nextcloud/talk/messagesearch/MessageSearchActivity.kt b/app/src/main/java/com/nextcloud/talk/messagesearch/MessageSearchActivity.kt index 65850c5fa..0f7e38566 100644 --- a/app/src/main/java/com/nextcloud/talk/messagesearch/MessageSearchActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/messagesearch/MessageSearchActivity.kt @@ -1,26 +1,11 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * @author Ezhil Shanmugham - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Nextcloud GmbH - * Copyright (C) 2023 Ezhil Shanmugham - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Ezhil Shanmugham + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.messagesearch import android.app.Activity diff --git a/app/src/main/java/com/nextcloud/talk/messagesearch/MessageSearchHelper.kt b/app/src/main/java/com/nextcloud/talk/messagesearch/MessageSearchHelper.kt index e303f1d2d..256e25992 100644 --- a/app/src/main/java/com/nextcloud/talk/messagesearch/MessageSearchHelper.kt +++ b/app/src/main/java/com/nextcloud/talk/messagesearch/MessageSearchHelper.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.messagesearch import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/messagesearch/MessageSearchViewModel.kt b/app/src/main/java/com/nextcloud/talk/messagesearch/MessageSearchViewModel.kt index 1864070e8..e84f0353b 100644 --- a/app/src/main/java/com/nextcloud/talk/messagesearch/MessageSearchViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/messagesearch/MessageSearchViewModel.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.messagesearch import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/models/TakePictureViewModel.java b/app/src/main/java/com/nextcloud/talk/models/TakePictureViewModel.java index def90d3ca..e4dcd5cc1 100644 --- a/app/src/main/java/com/nextcloud/talk/models/TakePictureViewModel.java +++ b/app/src/main/java/com/nextcloud/talk/models/TakePictureViewModel.java @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Stefan Niedermann - * Copyright (C) 2021 Andy Scherzinger - * Copyright (C) 2021 Stefan Niedermann - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Stefan Niedermann + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.models; import com.nextcloud.talk.R; diff --git a/app/src/main/java/com/nextcloud/talk/models/domain/ReactionAddedModel.kt b/app/src/main/java/com/nextcloud/talk/models/domain/ReactionAddedModel.kt index 004814d71..35c1160bb 100644 --- a/app/src/main/java/com/nextcloud/talk/models/domain/ReactionAddedModel.kt +++ b/app/src/main/java/com/nextcloud/talk/models/domain/ReactionAddedModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.models.domain import com.nextcloud.talk.models.json.chat.ChatMessage diff --git a/app/src/main/java/com/nextcloud/talk/models/domain/ReactionDeletedModel.kt b/app/src/main/java/com/nextcloud/talk/models/domain/ReactionDeletedModel.kt index ca396f52f..8f7b97f02 100644 --- a/app/src/main/java/com/nextcloud/talk/models/domain/ReactionDeletedModel.kt +++ b/app/src/main/java/com/nextcloud/talk/models/domain/ReactionDeletedModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.models.domain import com.nextcloud.talk.models.json.chat.ChatMessage diff --git a/app/src/main/java/com/nextcloud/talk/models/domain/SearchMessageEntry.kt b/app/src/main/java/com/nextcloud/talk/models/domain/SearchMessageEntry.kt index 2b3d233d4..7ef317b0f 100644 --- a/app/src/main/java/com/nextcloud/talk/models/domain/SearchMessageEntry.kt +++ b/app/src/main/java/com/nextcloud/talk/models/domain/SearchMessageEntry.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.models.domain data class SearchMessageEntry( diff --git a/app/src/main/java/com/nextcloud/talk/models/domain/StartCallRecordingModel.kt b/app/src/main/java/com/nextcloud/talk/models/domain/StartCallRecordingModel.kt index 01f7f0be6..2f678d048 100644 --- a/app/src/main/java/com/nextcloud/talk/models/domain/StartCallRecordingModel.kt +++ b/app/src/main/java/com/nextcloud/talk/models/domain/StartCallRecordingModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.models.domain data class StartCallRecordingModel( diff --git a/app/src/main/java/com/nextcloud/talk/models/domain/StopCallRecordingModel.kt b/app/src/main/java/com/nextcloud/talk/models/domain/StopCallRecordingModel.kt index d58fe9bcb..472d36997 100644 --- a/app/src/main/java/com/nextcloud/talk/models/domain/StopCallRecordingModel.kt +++ b/app/src/main/java/com/nextcloud/talk/models/domain/StopCallRecordingModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.models.domain data class StopCallRecordingModel( diff --git a/app/src/main/java/com/nextcloud/talk/models/json/AnyParceler.kt b/app/src/main/java/com/nextcloud/talk/models/json/AnyParceler.kt index 2d790c6be..a1c4ae5a0 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/AnyParceler.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/AnyParceler.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json diff --git a/app/src/main/java/com/nextcloud/talk/models/json/capabilities/CoreCapability.kt b/app/src/main/java/com/nextcloud/talk/models/json/capabilities/CoreCapability.kt index 09a1ad7a5..3d6e1517d 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/capabilities/CoreCapability.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/capabilities/CoreCapability.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.capabilities diff --git a/app/src/main/java/com/nextcloud/talk/models/json/capabilities/ProvisioningCapability.kt b/app/src/main/java/com/nextcloud/talk/models/json/capabilities/ProvisioningCapability.kt index 637ad7384..0cd08fef1 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/capabilities/ProvisioningCapability.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/capabilities/ProvisioningCapability.kt @@ -1,23 +1,10 @@ + /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * @author Tim Krüger - * Copyright (C) 2022 Tim Krüger - * Copyright (C) 2021 Tobias Kaminsky - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-FileCopyrightText: 2021 Tobias Kaminsky + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.capabilities diff --git a/app/src/main/java/com/nextcloud/talk/models/json/capabilities/ServerVersion.kt b/app/src/main/java/com/nextcloud/talk/models/json/capabilities/ServerVersion.kt index 0685e0690..f65964b0b 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/capabilities/ServerVersion.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/capabilities/ServerVersion.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2024 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2024 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.capabilities diff --git a/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOCSSingleMessage.kt b/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOCSSingleMessage.kt index eb12998ae..8a73e0845 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOCSSingleMessage.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOCSSingleMessage.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2021 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.chat diff --git a/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOverallSingleMessage.kt b/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOverallSingleMessage.kt index f0aca47b9..049d045ce 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOverallSingleMessage.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOverallSingleMessage.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2021 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.chat diff --git a/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOCS.kt b/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOCS.kt index 417426d27..e95750702 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOCS.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Tim Krüger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.chat diff --git a/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOverall.kt b/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOverall.kt index 2e0612ced..db18ffab0 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOverall.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOverall.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Tim Krüger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.chat diff --git a/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOverviewOCS.kt b/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOverviewOCS.kt index cdae47620..2cae74c6b 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOverviewOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOverviewOCS.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Tim Krüger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.chat diff --git a/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOverviewOverall.kt b/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOverviewOverall.kt index 93da5ed48..a1469580b 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOverviewOverall.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/chat/ChatShareOverviewOverall.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Tim Krüger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.chat diff --git a/app/src/main/java/com/nextcloud/talk/models/json/chat/ReadStatus.kt b/app/src/main/java/com/nextcloud/talk/models/json/chat/ReadStatus.kt index 07259466d..40a1e283c 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/chat/ReadStatus.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/chat/ReadStatus.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * Copyright (C) 2020 Tobias Kaminsky - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2020 Tobias Kaminsky + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.chat diff --git a/app/src/main/java/com/nextcloud/talk/models/json/conversations/password/PasswordData.kt b/app/src/main/java/com/nextcloud/talk/models/json/conversations/password/PasswordData.kt index b11fb201d..aa6a9e881 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/conversations/password/PasswordData.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/conversations/password/PasswordData.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2022 Tim Krüger - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.conversations.password diff --git a/app/src/main/java/com/nextcloud/talk/models/json/conversations/password/PasswordOCS.kt b/app/src/main/java/com/nextcloud/talk/models/json/conversations/password/PasswordOCS.kt index d2c68ae15..ad714af3e 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/conversations/password/PasswordOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/conversations/password/PasswordOCS.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2022 Tim Krüger - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.conversations.password diff --git a/app/src/main/java/com/nextcloud/talk/models/json/conversations/password/PasswordOverall.kt b/app/src/main/java/com/nextcloud/talk/models/json/conversations/password/PasswordOverall.kt index e91e259ab..ac6e042f7 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/conversations/password/PasswordOverall.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/conversations/password/PasswordOverall.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2022 Tim Krüger - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.conversations.password diff --git a/app/src/main/java/com/nextcloud/talk/models/json/converters/ConversationObjectTypeConverter.kt b/app/src/main/java/com/nextcloud/talk/models/json/converters/ConversationObjectTypeConverter.kt index 20c1694c9..e1ce5da42 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/converters/ConversationObjectTypeConverter.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/converters/ConversationObjectTypeConverter.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.models.json.converters import com.bluelinelabs.logansquare.typeconverters.StringBasedTypeConverter diff --git a/app/src/main/java/com/nextcloud/talk/models/json/converters/EnumActorTypeConverter.kt b/app/src/main/java/com/nextcloud/talk/models/json/converters/EnumActorTypeConverter.kt index 7e3b69c74..d1b96df40 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/converters/EnumActorTypeConverter.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/converters/EnumActorTypeConverter.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Joas Schilling - * @author Andy Scherzinger - * Copyright (C) 2021 Joas Schilling - * Copyright (C) 2021 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Joas Schilling + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.models.json.converters import com.bluelinelabs.logansquare.typeconverters.StringBasedTypeConverter diff --git a/app/src/main/java/com/nextcloud/talk/models/json/converters/EnumReactionActorTypeConverter.kt b/app/src/main/java/com/nextcloud/talk/models/json/converters/EnumReactionActorTypeConverter.kt index b0fc49b16..c06e657cc 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/converters/EnumReactionActorTypeConverter.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/converters/EnumReactionActorTypeConverter.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.models.json.converters import com.bluelinelabs.logansquare.typeconverters.StringBasedTypeConverter diff --git a/app/src/main/java/com/nextcloud/talk/models/json/converters/LoganSquareJodaTimeConverter.java b/app/src/main/java/com/nextcloud/talk/models/json/converters/LoganSquareJodaTimeConverter.java index becd71dc7..f65493a12 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/converters/LoganSquareJodaTimeConverter.java +++ b/app/src/main/java/com/nextcloud/talk/models/json/converters/LoganSquareJodaTimeConverter.java @@ -1,25 +1,13 @@ /* - * Copyright (c) 2016 Touch Instinct + * Nextcloud Talk - Android Client * - * This file was part of RoboSwag library. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-FileCopyrightText: 2016 Touch Instinct + * SPDX-License-Identifier: Apache-2.0 * + * This file was part of RoboSwag library. */ - package com.nextcloud.talk.models.json.converters; - import android.util.Log; import com.bluelinelabs.logansquare.typeconverters.TypeConverter; diff --git a/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCard.kt b/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCard.kt index a90603849..62761b73a 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCard.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCard.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2021-2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021-2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.hovercard diff --git a/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCardAction.kt b/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCardAction.kt index 9d4b60fdc..5a9be55df 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCardAction.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCardAction.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2021-2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021-2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.hovercard diff --git a/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCardOCS.kt b/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCardOCS.kt index 19083c657..2ca7cef62 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCardOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCardOCS.kt @@ -1,24 +1,9 @@ /* + * Nextcloud Talk - Android Client * - * Nextcloud Talk application - * - * @author Tim Krüger - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2021-2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2021-2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.hovercard diff --git a/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCardOverall.kt b/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCardOverall.kt index 3e073d2fd..13827c395 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCardOverall.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/hovercard/HoverCardOverall.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2021-2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021-2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.hovercard diff --git a/app/src/main/java/com/nextcloud/talk/models/json/invitation/Invitation.kt b/app/src/main/java/com/nextcloud/talk/models/json/invitation/Invitation.kt index 73eead9db..9c8c095b1 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/invitation/Invitation.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/invitation/Invitation.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2024 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2024 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.invitation diff --git a/app/src/main/java/com/nextcloud/talk/models/json/invitation/InvitationOCS.kt b/app/src/main/java/com/nextcloud/talk/models/json/invitation/InvitationOCS.kt index 1bc86ea02..b4cef9ac0 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/invitation/InvitationOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/invitation/InvitationOCS.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2024 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2024 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.invitation diff --git a/app/src/main/java/com/nextcloud/talk/models/json/invitation/InvitationOverall.kt b/app/src/main/java/com/nextcloud/talk/models/json/invitation/InvitationOverall.kt index 9c133c064..1c8a269cd 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/invitation/InvitationOverall.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/invitation/InvitationOverall.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2024 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2024 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.invitation diff --git a/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphOCS.kt b/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphOCS.kt index 941d849a6..7ad6e9b16 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphOCS.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.opengraph diff --git a/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphObject.kt b/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphObject.kt index 3150eaecf..42544aa31 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphObject.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphObject.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.opengraph diff --git a/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphOverall.kt b/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphOverall.kt index fae9653b2..05fffdb82 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphOverall.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphOverall.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.opengraph diff --git a/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphResponse.kt b/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphResponse.kt index 07be4c527..3289902df 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphResponse.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/opengraph/OpenGraphResponse.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.opengraph diff --git a/app/src/main/java/com/nextcloud/talk/models/json/opengraph/Reference.kt b/app/src/main/java/com/nextcloud/talk/models/json/opengraph/Reference.kt index b9652110e..f79657cce 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/opengraph/Reference.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/opengraph/Reference.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.opengraph diff --git a/app/src/main/java/com/nextcloud/talk/models/json/opengraph/RichObject.kt b/app/src/main/java/com/nextcloud/talk/models/json/opengraph/RichObject.kt index c9697429d..834a0079e 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/opengraph/RichObject.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/opengraph/RichObject.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.opengraph diff --git a/app/src/main/java/com/nextcloud/talk/models/json/reactions/ReactionVoter.kt b/app/src/main/java/com/nextcloud/talk/models/json/reactions/ReactionVoter.kt index 74eeec9a3..f9f7e1289 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/reactions/ReactionVoter.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/reactions/ReactionVoter.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.reactions diff --git a/app/src/main/java/com/nextcloud/talk/models/json/reactions/ReactionsOCS.kt b/app/src/main/java/com/nextcloud/talk/models/json/reactions/ReactionsOCS.kt index a52cea636..52ef976c2 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/reactions/ReactionsOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/reactions/ReactionsOCS.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.reactions diff --git a/app/src/main/java/com/nextcloud/talk/models/json/reactions/ReactionsOverall.kt b/app/src/main/java/com/nextcloud/talk/models/json/reactions/ReactionsOverall.kt index 56fad102c..e198bc77c 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/reactions/ReactionsOverall.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/reactions/ReactionsOverall.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.reactions diff --git a/app/src/main/java/com/nextcloud/talk/models/json/reminder/Reminder.kt b/app/src/main/java/com/nextcloud/talk/models/json/reminder/Reminder.kt index b8b47fc28..9f46c15a4 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/reminder/Reminder.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/reminder/Reminder.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.reminder diff --git a/app/src/main/java/com/nextcloud/talk/models/json/reminder/ReminderOCS.kt b/app/src/main/java/com/nextcloud/talk/models/json/reminder/ReminderOCS.kt index 2dbe0309b..bfbb1a886 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/reminder/ReminderOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/reminder/ReminderOCS.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.reminder diff --git a/app/src/main/java/com/nextcloud/talk/models/json/reminder/ReminderOverall.kt b/app/src/main/java/com/nextcloud/talk/models/json/reminder/ReminderOverall.kt index 8c94cf867..49af4a171 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/reminder/ReminderOverall.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/reminder/ReminderOverall.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.reminder diff --git a/app/src/main/java/com/nextcloud/talk/models/json/search/ContactsByNumberOCS.kt b/app/src/main/java/com/nextcloud/talk/models/json/search/ContactsByNumberOCS.kt index 9df294a3c..3ba93065a 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/search/ContactsByNumberOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/search/ContactsByNumberOCS.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2020 Tobias Kaminsky - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2020 Tobias Kaminsky + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.search diff --git a/app/src/main/java/com/nextcloud/talk/models/json/search/ContactsByNumberOverall.kt b/app/src/main/java/com/nextcloud/talk/models/json/search/ContactsByNumberOverall.kt index 6fdf7ccf7..329618cd5 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/search/ContactsByNumberOverall.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/search/ContactsByNumberOverall.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2020 Tobias Kaminsky - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2020 Tobias Kaminsky + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.search diff --git a/app/src/main/java/com/nextcloud/talk/models/json/status/Status.kt b/app/src/main/java/com/nextcloud/talk/models/json/status/Status.kt index 9f43683ab..8aae7b11e 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/status/Status.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/status/Status.kt @@ -1,21 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2021 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.status diff --git a/app/src/main/java/com/nextcloud/talk/models/json/status/StatusOCS.kt b/app/src/main/java/com/nextcloud/talk/models/json/status/StatusOCS.kt index 8d9d13c34..6d7e986ed 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/status/StatusOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/status/StatusOCS.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2021 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.status diff --git a/app/src/main/java/com/nextcloud/talk/models/json/status/StatusOverall.kt b/app/src/main/java/com/nextcloud/talk/models/json/status/StatusOverall.kt index a8d88e369..06ea3629a 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/status/StatusOverall.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/status/StatusOverall.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2021 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.status diff --git a/app/src/main/java/com/nextcloud/talk/models/json/status/StatusType.kt b/app/src/main/java/com/nextcloud/talk/models/json/status/StatusType.kt index 5a34f3e23..b117036a9 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/status/StatusType.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/status/StatusType.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2023 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.status diff --git a/app/src/main/java/com/nextcloud/talk/models/json/status/predefined/PredefinedStatusOCS.kt b/app/src/main/java/com/nextcloud/talk/models/json/status/predefined/PredefinedStatusOCS.kt index e89ae28f6..58c2575ec 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/status/predefined/PredefinedStatusOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/status/predefined/PredefinedStatusOCS.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2022 Marcel Hibbe (dev@mhibbe.de) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.models.json.status.predefined import android.os.Parcelable diff --git a/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchEntry.kt b/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchEntry.kt index a4450560f..d1429492f 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchEntry.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchEntry.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.models.json.unifiedsearch import android.os.Parcelable diff --git a/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchOCS.kt b/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchOCS.kt index c37a4d45a..25ba03204 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchOCS.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.unifiedsearch diff --git a/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchOverall.kt b/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchOverall.kt index ce5992463..4c68b12a8 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchOverall.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchOverall.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.unifiedsearch diff --git a/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchResponseData.kt b/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchResponseData.kt index f261aea22..dd11074ae 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchResponseData.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/unifiedsearch/UnifiedSearchResponseData.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.models.json.unifiedsearch import android.os.Parcelable diff --git a/app/src/main/java/com/nextcloud/talk/models/json/userprofile/Scope.kt b/app/src/main/java/com/nextcloud/talk/models/json/userprofile/Scope.kt index 207d469b2..8a7c9b4d3 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/userprofile/Scope.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/userprofile/Scope.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2021 Tobias Kaminsky - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Tobias Kaminsky + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.userprofile diff --git a/app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileFieldsOCS.kt b/app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileFieldsOCS.kt index 354d2f749..02d61d25a 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileFieldsOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileFieldsOCS.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2021 Tobias Kaminsky - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Tobias Kaminsky + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.userprofile diff --git a/app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileFieldsOverall.kt b/app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileFieldsOverall.kt index 9c9875860..bd4be634b 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileFieldsOverall.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileFieldsOverall.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2021 Tobias Kaminsky - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Tobias Kaminsky + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.models.json.userprofile diff --git a/app/src/main/java/com/nextcloud/talk/openconversations/ListOpenConversationsActivity.kt b/app/src/main/java/com/nextcloud/talk/openconversations/ListOpenConversationsActivity.kt index 51b4c1a7a..8b1dcd432 100644 --- a/app/src/main/java/com/nextcloud/talk/openconversations/ListOpenConversationsActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/openconversations/ListOpenConversationsActivity.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.openconversations import android.content.Intent diff --git a/app/src/main/java/com/nextcloud/talk/openconversations/adapters/OpenConversationsAdapter.kt b/app/src/main/java/com/nextcloud/talk/openconversations/adapters/OpenConversationsAdapter.kt index 96f608377..79300cfef 100644 --- a/app/src/main/java/com/nextcloud/talk/openconversations/adapters/OpenConversationsAdapter.kt +++ b/app/src/main/java/com/nextcloud/talk/openconversations/adapters/OpenConversationsAdapter.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.openconversations.adapters import android.view.LayoutInflater diff --git a/app/src/main/java/com/nextcloud/talk/openconversations/data/JoinConversationModel.kt b/app/src/main/java/com/nextcloud/talk/openconversations/data/JoinConversationModel.kt index 1e0a885c5..3178fb706 100644 --- a/app/src/main/java/com/nextcloud/talk/openconversations/data/JoinConversationModel.kt +++ b/app/src/main/java/com/nextcloud/talk/openconversations/data/JoinConversationModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.openconversations.data data class JoinConversationModel( diff --git a/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversation.kt b/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversation.kt index 3b277bed5..e682fa016 100644 --- a/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversation.kt +++ b/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversation.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.openconversations.data data class OpenConversation( diff --git a/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversationsModel.kt b/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversationsModel.kt index e28c3c952..5b63e5886 100644 --- a/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversationsModel.kt +++ b/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversationsModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.openconversations.data data class OpenConversationsModel( diff --git a/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversationsRepository.kt b/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversationsRepository.kt index c6e5790af..f096ea46c 100644 --- a/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversationsRepository.kt +++ b/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversationsRepository.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.openconversations.data import io.reactivex.Observable diff --git a/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversationsRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversationsRepositoryImpl.kt index 6da447142..b86b86700 100644 --- a/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversationsRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/openconversations/data/OpenConversationsRepositoryImpl.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.openconversations.data import com.nextcloud.talk.api.NcApi diff --git a/app/src/main/java/com/nextcloud/talk/openconversations/viewmodels/OpenConversationsViewModel.kt b/app/src/main/java/com/nextcloud/talk/openconversations/viewmodels/OpenConversationsViewModel.kt index f4542c7d3..cf75dafb2 100644 --- a/app/src/main/java/com/nextcloud/talk/openconversations/viewmodels/OpenConversationsViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/openconversations/viewmodels/OpenConversationsViewModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.openconversations.viewmodels import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionItem.kt b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionItem.kt index 2f4217c8f..bf1064d2e 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionItem.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionItem.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.adapters class PollCreateOptionItem( diff --git a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionViewHolder.kt b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionViewHolder.kt index 6280b6a1e..e2f75478f 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionViewHolder.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.adapters import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionsAdapter.kt b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionsAdapter.kt index 724d87f40..422e59444 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionsAdapter.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionsAdapter.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.adapters import android.view.LayoutInflater diff --git a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionsItemListener.kt b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionsItemListener.kt index a057592bd..0cf13a292 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionsItemListener.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollCreateOptionsItemListener.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.adapters import android.widget.EditText diff --git a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultHeaderItem.kt b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultHeaderItem.kt index 436e14b0a..670c1cc55 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultHeaderItem.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultHeaderItem.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.adapters import com.nextcloud.talk.adapters.items.FlexibleItemViewType diff --git a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultHeaderViewHolder.kt b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultHeaderViewHolder.kt index 44749193a..7da2b43fe 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultHeaderViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultHeaderViewHolder.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.adapters import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultItem.kt b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultItem.kt index d4d97fd77..1266d70a6 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultItem.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultItem.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.adapters interface PollResultItem { diff --git a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultItemClickListener.kt b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultItemClickListener.kt index d0a15156e..53b5c7492 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultItemClickListener.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultItemClickListener.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.adapters interface PollResultItemClickListener { diff --git a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultViewHolder.kt b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultViewHolder.kt index e8da7ceee..95997463d 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultViewHolder.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.adapters import androidx.recyclerview.widget.RecyclerView diff --git a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVoterItem.kt b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVoterItem.kt index 99d70102b..89037ba96 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVoterItem.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVoterItem.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.adapters import com.nextcloud.talk.adapters.items.FlexibleItemViewType diff --git a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVoterViewHolder.kt b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVoterViewHolder.kt index fd356c7af..56fd01480 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVoterViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVoterViewHolder.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.adapters import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVotersOverviewItem.kt b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVotersOverviewItem.kt index f65ed1256..10b526348 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVotersOverviewItem.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVotersOverviewItem.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.adapters import com.nextcloud.talk.adapters.items.FlexibleItemViewType diff --git a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVotersOverviewViewHolder.kt b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVotersOverviewViewHolder.kt index 878b1b15c..3f6f809a5 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVotersOverviewViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultVotersOverviewViewHolder.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Tim Krüger - * Copyright (C) 2022 Tim Krüger - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.adapters import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultsAdapter.kt b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultsAdapter.kt index e74b29aa4..82f3be807 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultsAdapter.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/adapters/PollResultsAdapter.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.adapters import android.view.LayoutInflater diff --git a/app/src/main/java/com/nextcloud/talk/polls/model/Poll.kt b/app/src/main/java/com/nextcloud/talk/polls/model/Poll.kt index f96e0009e..939186a61 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/model/Poll.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/model/Poll.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.model data class Poll( diff --git a/app/src/main/java/com/nextcloud/talk/polls/model/PollDetails.kt b/app/src/main/java/com/nextcloud/talk/polls/model/PollDetails.kt index 6b025bf8f..2e36d96b5 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/model/PollDetails.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/model/PollDetails.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.model data class PollDetails( diff --git a/app/src/main/java/com/nextcloud/talk/polls/repositories/PollRepository.kt b/app/src/main/java/com/nextcloud/talk/polls/repositories/PollRepository.kt index feef4b563..73332f5c5 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/repositories/PollRepository.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/repositories/PollRepository.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.repositories import com.nextcloud.talk.polls.model.Poll diff --git a/app/src/main/java/com/nextcloud/talk/polls/repositories/PollRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/polls/repositories/PollRepositoryImpl.kt index abd887b1b..5039469c4 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/repositories/PollRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/repositories/PollRepositoryImpl.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.repositories import com.nextcloud.talk.api.NcApi diff --git a/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollDetailsResponse.kt b/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollDetailsResponse.kt index 336a81226..b052296f0 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollDetailsResponse.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollDetailsResponse.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.polls.repositories.model diff --git a/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollOCS.kt b/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollOCS.kt index cb691979d..ff8dbfd40 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollOCS.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.polls.repositories.model diff --git a/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollOverall.kt b/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollOverall.kt index f0b3f48b8..7f44dc4a9 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollOverall.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollOverall.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.polls.repositories.model diff --git a/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollResponse.kt b/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollResponse.kt index 948d8698c..2531eb069 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollResponse.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/repositories/model/PollResponse.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.polls.repositories.model diff --git a/app/src/main/java/com/nextcloud/talk/polls/ui/PollCreateDialogFragment.kt b/app/src/main/java/com/nextcloud/talk/polls/ui/PollCreateDialogFragment.kt index 16d8bf67e..7db876580 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/ui/PollCreateDialogFragment.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/ui/PollCreateDialogFragment.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.ui import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/polls/ui/PollLoadingFragment.kt b/app/src/main/java/com/nextcloud/talk/polls/ui/PollLoadingFragment.kt index 803e1136c..ee3012201 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/ui/PollLoadingFragment.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/ui/PollLoadingFragment.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.ui import android.os.Bundle diff --git a/app/src/main/java/com/nextcloud/talk/polls/ui/PollMainDialogFragment.kt b/app/src/main/java/com/nextcloud/talk/polls/ui/PollMainDialogFragment.kt index 4ee667ad7..6361ad2a4 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/ui/PollMainDialogFragment.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/ui/PollMainDialogFragment.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.ui import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/polls/ui/PollResultsFragment.kt b/app/src/main/java/com/nextcloud/talk/polls/ui/PollResultsFragment.kt index 2d6b338bd..3218cc3b4 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/ui/PollResultsFragment.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/ui/PollResultsFragment.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.ui import android.os.Bundle diff --git a/app/src/main/java/com/nextcloud/talk/polls/ui/PollVoteFragment.kt b/app/src/main/java/com/nextcloud/talk/polls/ui/PollVoteFragment.kt index 9ce154019..c83ebcc2f 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/ui/PollVoteFragment.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/ui/PollVoteFragment.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.ui import android.graphics.Typeface diff --git a/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollCreateViewModel.kt b/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollCreateViewModel.kt index f6022537b..6ccd67c9e 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollCreateViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollCreateViewModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.viewmodels import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollMainViewModel.kt b/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollMainViewModel.kt index 32f0152d7..178165bd1 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollMainViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollMainViewModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.viewmodels import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollResultsViewModel.kt b/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollResultsViewModel.kt index 8ce1737c5..ebbba69c2 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollResultsViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollResultsViewModel.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * @author Marcel Hibbe - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.viewmodels import androidx.lifecycle.MutableLiveData diff --git a/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollVoteViewModel.kt b/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollVoteViewModel.kt index e3689ff62..499cd3135 100644 --- a/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollVoteViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/polls/viewmodels/PollVoteViewModel.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.polls.viewmodels import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/profile/ProfileActivity.kt b/app/src/main/java/com/nextcloud/talk/profile/ProfileActivity.kt index 5c399c0d3..9678e9dac 100644 --- a/app/src/main/java/com/nextcloud/talk/profile/ProfileActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/profile/ProfileActivity.kt @@ -4,7 +4,7 @@ * SPDX-FileCopyrightText: 2023 Ezhil Shanmugham * SPDX-FileCopyrightText: 2022 Andy Scherzinger * SPDX-FileCopyrightText: 2022 Tim Krüger - * SPDX-FileCopyrightText: 2021 2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2021 Tobias Kaminsky * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.profile diff --git a/app/src/main/java/com/nextcloud/talk/raisehand/RequestAssistanceModel.kt b/app/src/main/java/com/nextcloud/talk/raisehand/RequestAssistanceModel.kt index 471838284..acd3bda69 100644 --- a/app/src/main/java/com/nextcloud/talk/raisehand/RequestAssistanceModel.kt +++ b/app/src/main/java/com/nextcloud/talk/raisehand/RequestAssistanceModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.raisehand data class RequestAssistanceModel( diff --git a/app/src/main/java/com/nextcloud/talk/raisehand/RequestAssistanceRepository.kt b/app/src/main/java/com/nextcloud/talk/raisehand/RequestAssistanceRepository.kt index 2c5d2b958..f7cfcd2df 100644 --- a/app/src/main/java/com/nextcloud/talk/raisehand/RequestAssistanceRepository.kt +++ b/app/src/main/java/com/nextcloud/talk/raisehand/RequestAssistanceRepository.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.raisehand import io.reactivex.Observable diff --git a/app/src/main/java/com/nextcloud/talk/raisehand/RequestAssistanceRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/raisehand/RequestAssistanceRepositoryImpl.kt index e15b42c2f..1dacc324c 100644 --- a/app/src/main/java/com/nextcloud/talk/raisehand/RequestAssistanceRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/raisehand/RequestAssistanceRepositoryImpl.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.raisehand import com.nextcloud.talk.api.NcApi diff --git a/app/src/main/java/com/nextcloud/talk/raisehand/WithdrawRequestAssistanceModel.kt b/app/src/main/java/com/nextcloud/talk/raisehand/WithdrawRequestAssistanceModel.kt index f8bba900d..1a530f251 100644 --- a/app/src/main/java/com/nextcloud/talk/raisehand/WithdrawRequestAssistanceModel.kt +++ b/app/src/main/java/com/nextcloud/talk/raisehand/WithdrawRequestAssistanceModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.raisehand data class WithdrawRequestAssistanceModel( diff --git a/app/src/main/java/com/nextcloud/talk/raisehand/viewmodel/RaiseHandViewModel.kt b/app/src/main/java/com/nextcloud/talk/raisehand/viewmodel/RaiseHandViewModel.kt index 2d8a8a36a..12d609d94 100644 --- a/app/src/main/java/com/nextcloud/talk/raisehand/viewmodel/RaiseHandViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/raisehand/viewmodel/RaiseHandViewModel.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.raisehand.viewmodel import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/receivers/DirectReplyReceiver.kt b/app/src/main/java/com/nextcloud/talk/receivers/DirectReplyReceiver.kt index fdb8d6891..09984c0c6 100644 --- a/app/src/main/java/com/nextcloud/talk/receivers/DirectReplyReceiver.kt +++ b/app/src/main/java/com/nextcloud/talk/receivers/DirectReplyReceiver.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Dariusz Olszewski - * Copyright (C) 2022 Dariusz Olszewski - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Dariusz Olszewski + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.receivers import android.app.Notification diff --git a/app/src/main/java/com/nextcloud/talk/receivers/DismissRecordingAvailableReceiver.kt b/app/src/main/java/com/nextcloud/talk/receivers/DismissRecordingAvailableReceiver.kt index 8edea6242..314c3fb9e 100644 --- a/app/src/main/java/com/nextcloud/talk/receivers/DismissRecordingAvailableReceiver.kt +++ b/app/src/main/java/com/nextcloud/talk/receivers/DismissRecordingAvailableReceiver.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022-2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022-2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.receivers import android.app.NotificationManager diff --git a/app/src/main/java/com/nextcloud/talk/receivers/MarkAsReadReceiver.kt b/app/src/main/java/com/nextcloud/talk/receivers/MarkAsReadReceiver.kt index c245dc776..b95a41fd0 100644 --- a/app/src/main/java/com/nextcloud/talk/receivers/MarkAsReadReceiver.kt +++ b/app/src/main/java/com/nextcloud/talk/receivers/MarkAsReadReceiver.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Dariusz Olszewski - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2022 Dariusz Olszewski - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2022 Dariusz Olszewski + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.receivers import android.app.NotificationManager diff --git a/app/src/main/java/com/nextcloud/talk/receivers/ShareRecordingToChatReceiver.kt b/app/src/main/java/com/nextcloud/talk/receivers/ShareRecordingToChatReceiver.kt index aebd9230a..18199f250 100644 --- a/app/src/main/java/com/nextcloud/talk/receivers/ShareRecordingToChatReceiver.kt +++ b/app/src/main/java/com/nextcloud/talk/receivers/ShareRecordingToChatReceiver.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022-2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022-2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.receivers import android.app.NotificationManager diff --git a/app/src/main/java/com/nextcloud/talk/remotefilebrowser/activities/RemoteFileBrowserActivity.kt b/app/src/main/java/com/nextcloud/talk/remotefilebrowser/activities/RemoteFileBrowserActivity.kt index 12c21bb61..24b9c397a 100644 --- a/app/src/main/java/com/nextcloud/talk/remotefilebrowser/activities/RemoteFileBrowserActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/remotefilebrowser/activities/RemoteFileBrowserActivity.kt @@ -1,27 +1,11 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Álvaro Brey - * @author Ezhil Shanmugham - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2023 Ezhil Shanmugham - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Ezhil Shanmugham + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.remotefilebrowser.activities import android.app.Activity diff --git a/app/src/main/java/com/nextcloud/talk/remotefilebrowser/adapters/RemoteFileBrowserItemsAdapter.kt b/app/src/main/java/com/nextcloud/talk/remotefilebrowser/adapters/RemoteFileBrowserItemsAdapter.kt index a667156e7..043db2e6a 100644 --- a/app/src/main/java/com/nextcloud/talk/remotefilebrowser/adapters/RemoteFileBrowserItemsAdapter.kt +++ b/app/src/main/java/com/nextcloud/talk/remotefilebrowser/adapters/RemoteFileBrowserItemsAdapter.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.remotefilebrowser.adapters import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/remotefilebrowser/adapters/RemoteFileBrowserItemsListViewHolder.kt b/app/src/main/java/com/nextcloud/talk/remotefilebrowser/adapters/RemoteFileBrowserItemsListViewHolder.kt index c99d21d43..9205979cd 100644 --- a/app/src/main/java/com/nextcloud/talk/remotefilebrowser/adapters/RemoteFileBrowserItemsListViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/remotefilebrowser/adapters/RemoteFileBrowserItemsListViewHolder.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.remotefilebrowser.adapters import android.text.format.Formatter diff --git a/app/src/main/java/com/nextcloud/talk/remotefilebrowser/adapters/RemoteFileBrowserItemsViewHolder.kt b/app/src/main/java/com/nextcloud/talk/remotefilebrowser/adapters/RemoteFileBrowserItemsViewHolder.kt index b4594221b..02da0c7d9 100644 --- a/app/src/main/java/com/nextcloud/talk/remotefilebrowser/adapters/RemoteFileBrowserItemsViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/remotefilebrowser/adapters/RemoteFileBrowserItemsViewHolder.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.remotefilebrowser.adapters import android.widget.ImageView diff --git a/app/src/main/java/com/nextcloud/talk/remotefilebrowser/repositories/RemoteFileBrowserItemsRepository.kt b/app/src/main/java/com/nextcloud/talk/remotefilebrowser/repositories/RemoteFileBrowserItemsRepository.kt index 6f2239d83..30a651539 100644 --- a/app/src/main/java/com/nextcloud/talk/remotefilebrowser/repositories/RemoteFileBrowserItemsRepository.kt +++ b/app/src/main/java/com/nextcloud/talk/remotefilebrowser/repositories/RemoteFileBrowserItemsRepository.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.remotefilebrowser.repositories import com.nextcloud.talk.remotefilebrowser.model.RemoteFileBrowserItem diff --git a/app/src/main/java/com/nextcloud/talk/remotefilebrowser/repositories/RemoteFileBrowserItemsRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/remotefilebrowser/repositories/RemoteFileBrowserItemsRepositoryImpl.kt index b238744d5..d8862b852 100644 --- a/app/src/main/java/com/nextcloud/talk/remotefilebrowser/repositories/RemoteFileBrowserItemsRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/remotefilebrowser/repositories/RemoteFileBrowserItemsRepositoryImpl.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.remotefilebrowser.repositories import com.nextcloud.talk.components.filebrowser.webdav.ReadFolderListingOperation diff --git a/app/src/main/java/com/nextcloud/talk/remotefilebrowser/viewmodels/RemoteFileBrowserItemsViewModel.kt b/app/src/main/java/com/nextcloud/talk/remotefilebrowser/viewmodels/RemoteFileBrowserItemsViewModel.kt index 3b2396d9d..93bde149c 100644 --- a/app/src/main/java/com/nextcloud/talk/remotefilebrowser/viewmodels/RemoteFileBrowserItemsViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/remotefilebrowser/viewmodels/RemoteFileBrowserItemsViewModel.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Álvaro Brey - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2022 Álvaro Brey - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.remotefilebrowser.viewmodels import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/repositories/callrecording/CallRecordingRepository.kt b/app/src/main/java/com/nextcloud/talk/repositories/callrecording/CallRecordingRepository.kt index 8422a8315..898ee3575 100644 --- a/app/src/main/java/com/nextcloud/talk/repositories/callrecording/CallRecordingRepository.kt +++ b/app/src/main/java/com/nextcloud/talk/repositories/callrecording/CallRecordingRepository.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.repositories.callrecording import com.nextcloud.talk.models.domain.StartCallRecordingModel diff --git a/app/src/main/java/com/nextcloud/talk/repositories/callrecording/CallRecordingRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/repositories/callrecording/CallRecordingRepositoryImpl.kt index 369bca342..7b80a74ce 100644 --- a/app/src/main/java/com/nextcloud/talk/repositories/callrecording/CallRecordingRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/repositories/callrecording/CallRecordingRepositoryImpl.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.repositories.callrecording import com.nextcloud.talk.api.NcApi diff --git a/app/src/main/java/com/nextcloud/talk/repositories/conversations/ConversationsRepository.kt b/app/src/main/java/com/nextcloud/talk/repositories/conversations/ConversationsRepository.kt index df0148096..80cf47990 100644 --- a/app/src/main/java/com/nextcloud/talk/repositories/conversations/ConversationsRepository.kt +++ b/app/src/main/java/com/nextcloud/talk/repositories/conversations/ConversationsRepository.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2022 Tim Krüger - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.repositories.conversations import io.reactivex.Observable diff --git a/app/src/main/java/com/nextcloud/talk/repositories/conversations/ConversationsRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/repositories/conversations/ConversationsRepositoryImpl.kt index 0a969998e..3142f3686 100644 --- a/app/src/main/java/com/nextcloud/talk/repositories/conversations/ConversationsRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/repositories/conversations/ConversationsRepositoryImpl.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2022 Tim Krüger - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.repositories.conversations diff --git a/app/src/main/java/com/nextcloud/talk/repositories/reactions/ReactionsRepository.kt b/app/src/main/java/com/nextcloud/talk/repositories/reactions/ReactionsRepository.kt index e99340c39..068711818 100644 --- a/app/src/main/java/com/nextcloud/talk/repositories/reactions/ReactionsRepository.kt +++ b/app/src/main/java/com/nextcloud/talk/repositories/reactions/ReactionsRepository.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.repositories.reactions import com.nextcloud.talk.models.domain.ReactionAddedModel diff --git a/app/src/main/java/com/nextcloud/talk/repositories/reactions/ReactionsRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/repositories/reactions/ReactionsRepositoryImpl.kt index 5a7837e7e..e6d4e6c44 100644 --- a/app/src/main/java/com/nextcloud/talk/repositories/reactions/ReactionsRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/repositories/reactions/ReactionsRepositoryImpl.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.repositories.reactions import com.nextcloud.talk.api.NcApi diff --git a/app/src/main/java/com/nextcloud/talk/repositories/unifiedsearch/UnifiedSearchRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/repositories/unifiedsearch/UnifiedSearchRepositoryImpl.kt index d636ced45..88ce0175c 100644 --- a/app/src/main/java/com/nextcloud/talk/repositories/unifiedsearch/UnifiedSearchRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/repositories/unifiedsearch/UnifiedSearchRepositoryImpl.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.repositories.unifiedsearch import com.nextcloud.talk.api.NcApi diff --git a/app/src/main/java/com/nextcloud/talk/shareditems/activities/SharedItemsActivity.kt b/app/src/main/java/com/nextcloud/talk/shareditems/activities/SharedItemsActivity.kt index 4a7c22b26..fbdb3c68f 100644 --- a/app/src/main/java/com/nextcloud/talk/shareditems/activities/SharedItemsActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/shareditems/activities/SharedItemsActivity.kt @@ -1,29 +1,12 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * @author Álvaro Brey - * @author Marcel Hibbe - * @author Ezhil Shanmugham - * Copyright (C) 2023 Marcel Hibbe - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Tim Krüger - * Copyright (C) 2023 Ezhil Shanmugham - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-FileCopyrightText: 2023 Ezhil Shanmugham + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.shareditems.activities import android.os.Bundle diff --git a/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsAdapter.kt b/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsAdapter.kt index 5c2719e9d..d6b388c61 100644 --- a/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsAdapter.kt +++ b/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsAdapter.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.shareditems.adapters import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsGridViewHolder.kt b/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsGridViewHolder.kt index d2b0cb7ad..79b8f311c 100644 --- a/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsGridViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsGridViewHolder.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.shareditems.adapters import android.view.View diff --git a/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsListViewHolder.kt b/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsListViewHolder.kt index 1eb23cf90..232b0813c 100644 --- a/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsListViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsListViewHolder.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.shareditems.adapters import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsViewHolder.kt b/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsViewHolder.kt index bf75ea984..75628caef 100644 --- a/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/shareditems/adapters/SharedItemsViewHolder.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.shareditems.adapters import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedDeckCardItem.kt b/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedDeckCardItem.kt index e5230a126..b27cd52ed 100644 --- a/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedDeckCardItem.kt +++ b/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedDeckCardItem.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.shareditems.model diff --git a/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedFileItem.kt b/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedFileItem.kt index 904dc0b12..17b09c78d 100644 --- a/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedFileItem.kt +++ b/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedFileItem.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.shareditems.model data class SharedFileItem( diff --git a/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedItemType.kt b/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedItemType.kt index 6e5cacb92..2d900368d 100644 --- a/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedItemType.kt +++ b/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedItemType.kt @@ -1,27 +1,11 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * @author Álvaro Brey - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.shareditems.model import java.util.Locale diff --git a/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedItems.kt b/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedItems.kt index d15d932ae..59073593b 100644 --- a/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedItems.kt +++ b/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedItems.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.shareditems.model class SharedItems( diff --git a/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedLocationItem.kt b/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedLocationItem.kt index 291840e13..26e3f0dee 100644 --- a/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedLocationItem.kt +++ b/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedLocationItem.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.shareditems.model diff --git a/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedOtherItem.kt b/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedOtherItem.kt index 9d23a6a61..ec46272ea 100644 --- a/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedOtherItem.kt +++ b/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedOtherItem.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.shareditems.model diff --git a/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedPollItem.kt b/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedPollItem.kt index ed19917b1..5ac47edc2 100644 --- a/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedPollItem.kt +++ b/app/src/main/java/com/nextcloud/talk/shareditems/model/SharedPollItem.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.shareditems.model diff --git a/app/src/main/java/com/nextcloud/talk/shareditems/repositories/SharedItemsRepository.kt b/app/src/main/java/com/nextcloud/talk/shareditems/repositories/SharedItemsRepository.kt index 0860d159b..3dd701d1c 100644 --- a/app/src/main/java/com/nextcloud/talk/shareditems/repositories/SharedItemsRepository.kt +++ b/app/src/main/java/com/nextcloud/talk/shareditems/repositories/SharedItemsRepository.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.shareditems.repositories import com.nextcloud.talk.shareditems.model.SharedItemType diff --git a/app/src/main/java/com/nextcloud/talk/shareditems/repositories/SharedItemsRepositoryImpl.kt b/app/src/main/java/com/nextcloud/talk/shareditems/repositories/SharedItemsRepositoryImpl.kt index 81641e7f4..28475518d 100644 --- a/app/src/main/java/com/nextcloud/talk/shareditems/repositories/SharedItemsRepositoryImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/shareditems/repositories/SharedItemsRepositoryImpl.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.shareditems.repositories import android.net.Uri diff --git a/app/src/main/java/com/nextcloud/talk/shareditems/viewmodels/SharedItemsViewModel.kt b/app/src/main/java/com/nextcloud/talk/shareditems/viewmodels/SharedItemsViewModel.kt index f964da317..3dfced216 100644 --- a/app/src/main/java/com/nextcloud/talk/shareditems/viewmodels/SharedItemsViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/shareditems/viewmodels/SharedItemsViewModel.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.shareditems.viewmodels import android.util.Log diff --git a/app/src/main/java/com/nextcloud/talk/signaling/CallParticipantMessageNotifier.java b/app/src/main/java/com/nextcloud/talk/signaling/CallParticipantMessageNotifier.java index 3f28dce50..8fd8968b0 100644 --- a/app/src/main/java/com/nextcloud/talk/signaling/CallParticipantMessageNotifier.java +++ b/app/src/main/java/com/nextcloud/talk/signaling/CallParticipantMessageNotifier.java @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2022 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.signaling; diff --git a/app/src/main/java/com/nextcloud/talk/signaling/ConversationMessageNotifier.kt b/app/src/main/java/com/nextcloud/talk/signaling/ConversationMessageNotifier.kt index e1207f52e..9bd2408ab 100644 --- a/app/src/main/java/com/nextcloud/talk/signaling/ConversationMessageNotifier.kt +++ b/app/src/main/java/com/nextcloud/talk/signaling/ConversationMessageNotifier.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.signaling diff --git a/app/src/main/java/com/nextcloud/talk/signaling/LocalParticipantMessageNotifier.java b/app/src/main/java/com/nextcloud/talk/signaling/LocalParticipantMessageNotifier.java index b22ed5195..f3fffbf75 100644 --- a/app/src/main/java/com/nextcloud/talk/signaling/LocalParticipantMessageNotifier.java +++ b/app/src/main/java/com/nextcloud/talk/signaling/LocalParticipantMessageNotifier.java @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2023 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.signaling; diff --git a/app/src/main/java/com/nextcloud/talk/signaling/OfferMessageNotifier.java b/app/src/main/java/com/nextcloud/talk/signaling/OfferMessageNotifier.java index e0c3842cd..b0dd8ba3b 100644 --- a/app/src/main/java/com/nextcloud/talk/signaling/OfferMessageNotifier.java +++ b/app/src/main/java/com/nextcloud/talk/signaling/OfferMessageNotifier.java @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2022 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.signaling; diff --git a/app/src/main/java/com/nextcloud/talk/signaling/ParticipantListMessageNotifier.java b/app/src/main/java/com/nextcloud/talk/signaling/ParticipantListMessageNotifier.java index b37c3f659..c860574e1 100644 --- a/app/src/main/java/com/nextcloud/talk/signaling/ParticipantListMessageNotifier.java +++ b/app/src/main/java/com/nextcloud/talk/signaling/ParticipantListMessageNotifier.java @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2022 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.signaling; diff --git a/app/src/main/java/com/nextcloud/talk/signaling/SignalingMessageReceiver.java b/app/src/main/java/com/nextcloud/talk/signaling/SignalingMessageReceiver.java index 5a2ffe4bc..4abfe757b 100644 --- a/app/src/main/java/com/nextcloud/talk/signaling/SignalingMessageReceiver.java +++ b/app/src/main/java/com/nextcloud/talk/signaling/SignalingMessageReceiver.java @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2022 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.signaling; diff --git a/app/src/main/java/com/nextcloud/talk/signaling/SignalingMessageSender.java b/app/src/main/java/com/nextcloud/talk/signaling/SignalingMessageSender.java index 72df249fa..56452166a 100644 --- a/app/src/main/java/com/nextcloud/talk/signaling/SignalingMessageSender.java +++ b/app/src/main/java/com/nextcloud/talk/signaling/SignalingMessageSender.java @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2022 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.signaling; diff --git a/app/src/main/java/com/nextcloud/talk/signaling/WebRtcMessageNotifier.java b/app/src/main/java/com/nextcloud/talk/signaling/WebRtcMessageNotifier.java index 6e9ce3c22..4bc6f3cb7 100644 --- a/app/src/main/java/com/nextcloud/talk/signaling/WebRtcMessageNotifier.java +++ b/app/src/main/java/com/nextcloud/talk/signaling/WebRtcMessageNotifier.java @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2022 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.signaling; diff --git a/app/src/main/java/com/nextcloud/talk/translate/repositories/model/Language.kt b/app/src/main/java/com/nextcloud/talk/translate/repositories/model/Language.kt index 15287dab2..55e6b3ed1 100644 --- a/app/src/main/java/com/nextcloud/talk/translate/repositories/model/Language.kt +++ b/app/src/main/java/com/nextcloud/talk/translate/repositories/model/Language.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.translate.repositories.model diff --git a/app/src/main/java/com/nextcloud/talk/translate/repositories/model/LanguagesData.kt b/app/src/main/java/com/nextcloud/talk/translate/repositories/model/LanguagesData.kt index 3cd2f2206..e0f9a8ff6 100644 --- a/app/src/main/java/com/nextcloud/talk/translate/repositories/model/LanguagesData.kt +++ b/app/src/main/java/com/nextcloud/talk/translate/repositories/model/LanguagesData.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.translate.repositories.model diff --git a/app/src/main/java/com/nextcloud/talk/translate/repositories/model/LanguagesOCS.kt b/app/src/main/java/com/nextcloud/talk/translate/repositories/model/LanguagesOCS.kt index f8c88edd8..d8f7fa4a0 100644 --- a/app/src/main/java/com/nextcloud/talk/translate/repositories/model/LanguagesOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/translate/repositories/model/LanguagesOCS.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.translate.repositories.model diff --git a/app/src/main/java/com/nextcloud/talk/translate/repositories/model/LanguagesOverall.kt b/app/src/main/java/com/nextcloud/talk/translate/repositories/model/LanguagesOverall.kt index 1e8a35b90..2c57137c1 100644 --- a/app/src/main/java/com/nextcloud/talk/translate/repositories/model/LanguagesOverall.kt +++ b/app/src/main/java/com/nextcloud/talk/translate/repositories/model/LanguagesOverall.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.translate.repositories.model diff --git a/app/src/main/java/com/nextcloud/talk/translate/repositories/model/TranslateData.kt b/app/src/main/java/com/nextcloud/talk/translate/repositories/model/TranslateData.kt index 22bc1073d..b10e9d755 100644 --- a/app/src/main/java/com/nextcloud/talk/translate/repositories/model/TranslateData.kt +++ b/app/src/main/java/com/nextcloud/talk/translate/repositories/model/TranslateData.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.translate.repositories.model diff --git a/app/src/main/java/com/nextcloud/talk/translate/repositories/model/TranslateOCS.kt b/app/src/main/java/com/nextcloud/talk/translate/repositories/model/TranslateOCS.kt index 617eb20a1..02484c11a 100644 --- a/app/src/main/java/com/nextcloud/talk/translate/repositories/model/TranslateOCS.kt +++ b/app/src/main/java/com/nextcloud/talk/translate/repositories/model/TranslateOCS.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.translate.repositories.model diff --git a/app/src/main/java/com/nextcloud/talk/translate/repositories/model/TranslationsOverall.kt b/app/src/main/java/com/nextcloud/talk/translate/repositories/model/TranslationsOverall.kt index 577c0e9ec..deadfc6fd 100644 --- a/app/src/main/java/com/nextcloud/talk/translate/repositories/model/TranslationsOverall.kt +++ b/app/src/main/java/com/nextcloud/talk/translate/repositories/model/TranslationsOverall.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.translate.repositories.model diff --git a/app/src/main/java/com/nextcloud/talk/translate/ui/TranslateActivity.kt b/app/src/main/java/com/nextcloud/talk/translate/ui/TranslateActivity.kt index 9ba98ee99..186a90e26 100644 --- a/app/src/main/java/com/nextcloud/talk/translate/ui/TranslateActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/translate/ui/TranslateActivity.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * @author Andy Scherzinger - * Copyright (C) 2023 Julius Linus - * Copyright (C) 2023 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-FileCopyrightText: 2023 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.translate.ui diff --git a/app/src/main/java/com/nextcloud/talk/ui/MessageInput.kt b/app/src/main/java/com/nextcloud/talk/ui/MessageInput.kt index 18def2f05..14b2d8143 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/MessageInput.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/MessageInput.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/ui/MicInputCloud.kt b/app/src/main/java/com/nextcloud/talk/ui/MicInputCloud.kt index cc1ce661c..276bd6796 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/MicInputCloud.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/MicInputCloud.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui import android.animation.ValueAnimator diff --git a/app/src/main/java/com/nextcloud/talk/ui/StatusDrawable.java b/app/src/main/java/com/nextcloud/talk/ui/StatusDrawable.java index 2505c98d3..85693fc48 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/StatusDrawable.java +++ b/app/src/main/java/com/nextcloud/talk/ui/StatusDrawable.java @@ -1,26 +1,11 @@ /* - * Nextcloud Android client application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * @author Marcel Hibbe - * Copyright (C) 2020 Tobias Kaminsky - * Copyright (C) 2022 Marcel Hibbe (dev@mhibbe.de) - * Copyright (C) 2020 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-FileCopyrightText: 2020 Tobias Kaminsky + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui; import android.content.Context; diff --git a/app/src/main/java/com/nextcloud/talk/ui/WaveformSeekBar.kt b/app/src/main/java/com/nextcloud/talk/ui/WaveformSeekBar.kt index b69600fa7..0ee23c1da 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/WaveformSeekBar.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/WaveformSeekBar.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/ui/bottom/sheet/ProfileBottomSheet.kt b/app/src/main/java/com/nextcloud/talk/ui/bottom/sheet/ProfileBottomSheet.kt index a79289ef9..a6834391a 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/bottom/sheet/ProfileBottomSheet.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/bottom/sheet/ProfileBottomSheet.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2021 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.ui.bottom.sheet diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/AttachmentDialog.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/AttachmentDialog.kt index 49b724bfd..db794df32 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/AttachmentDialog.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/AttachmentDialog.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Andy Scherzinger - * Copyright (C) 2021 Marcel Hibbe - * Copyright (C) 2021 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021 Marcel Hibbe + * SPDX-FileCopyrightText: 2021 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui.dialog import android.app.Activity diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/AudioOutputDialog.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/AudioOutputDialog.kt index c0bdbe923..9cdeff7db 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/AudioOutputDialog.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/AudioOutputDialog.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui.dialog import android.os.Bundle diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/ConversationsListBottomDialog.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/ConversationsListBottomDialog.kt index dd83374b6..758710ce0 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/ConversationsListBottomDialog.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/ConversationsListBottomDialog.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui.dialog import android.os.Bundle diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/DateTimePickerFragment.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/DateTimePickerFragment.kt index 209bd3690..160a3756f 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/DateTimePickerFragment.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/DateTimePickerFragment.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.ui.dialog diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/FileAttachmentPreviewFragment.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/FileAttachmentPreviewFragment.kt index 9c53b81e5..ed006262b 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/FileAttachmentPreviewFragment.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/FileAttachmentPreviewFragment.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.ui.dialog diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/FilterConversationFragment.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/FilterConversationFragment.kt index d4a61f9e5..e4cfd93bf 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/FilterConversationFragment.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/FilterConversationFragment.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.ui.dialog diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/MessageActionsDialog.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/MessageActionsDialog.kt index 21654118b..b13e3bebf 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/MessageActionsDialog.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/MessageActionsDialog.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui.dialog import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/MoreCallActionsDialog.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/MoreCallActionsDialog.kt index 68a1ff324..22850892a 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/MoreCallActionsDialog.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/MoreCallActionsDialog.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui.dialog import android.os.Bundle diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/SaveToStorageDialogFragment.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/SaveToStorageDialogFragment.kt index e5d8def95..39e7aa8e3 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/SaveToStorageDialogFragment.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/SaveToStorageDialogFragment.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Fariba Khandani - * Copyright (C) 2023 Marcel Hibbe (dev@mhibbe.de) - * Copyright (C) 2023 Fariba Khandani - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe (dev@mhibbe.de) + * SPDX-FileCopyrightText: 2023 Fariba Khandani + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.ui.dialog diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/ScopeDialog.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/ScopeDialog.kt index c26153a45..184d91d29 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/ScopeDialog.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/ScopeDialog.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * @author Andy Scherzinger - * Copyright (C) 2021 Tobias Kaminsky - * Copyright (C) 2021 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021 Tobias Kaminsky + * SPDX-FileCopyrightText: 2021 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui.dialog import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/SetPhoneNumberDialogFragment.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/SetPhoneNumberDialogFragment.kt index 7c65dfa81..7c38d2aa6 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/SetPhoneNumberDialogFragment.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/SetPhoneNumberDialogFragment.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Parneet Singh - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2024 Parneet Singh - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2024 Parneet Singh + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.ui.dialog diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/SetStatusDialogFragment.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/SetStatusDialogFragment.kt index 90ec08774..cad4eff9e 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/SetStatusDialogFragment.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/SetStatusDialogFragment.kt @@ -1,25 +1,11 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * @author Marcel Hibbe - * Copyright (C) 2020 Nextcloud GmbH - * Copyright (C) 2022 Marcel Hibbe (dev@mhibbe.de) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE - * License as published by the Free Software Foundation; either - * version 3 of the License, or any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU AFFERO GENERAL PUBLIC LICENSE for more details. - * - * You should have received a copy of the GNU Affero General Public - * License along with this program. If not, see . + * SPDX-FileCopyrightText: 2022-2023 Marcel Hibbe + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH + * SPDX-FileCopyrightText: 2020 Tobias Kaminsky + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui.dialog import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/SortingOrderDialogFragment.java b/app/src/main/java/com/nextcloud/talk/ui/dialog/SortingOrderDialogFragment.java index 30b03ebde..96dbf18ba 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/SortingOrderDialogFragment.java +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/SortingOrderDialogFragment.java @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2017-2021 Andy Scherzinger - * Copyright (C) 2017 Nextcloud - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2017-2021 Andy Scherzinger + * SPDX-FileCopyrightText: 2017 Nextcloud Gmbh + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui.dialog; import android.annotation.SuppressLint; diff --git a/app/src/main/java/com/nextcloud/talk/ui/recyclerview/MessageSwipeActions.kt b/app/src/main/java/com/nextcloud/talk/ui/recyclerview/MessageSwipeActions.kt index d0ad28832..e469c4e46 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/recyclerview/MessageSwipeActions.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/recyclerview/MessageSwipeActions.kt @@ -1,28 +1,13 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Shain Singh - * @author Andy Scherzinger - * Copyright (C) 2021 Shain Singh - * Copyright (C) 2021 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021 Andy Scherzinger + * SPDX-FileCopyrightText: 2019 Shain Singh + * SPDX-License-Identifier: GPL-3.0-or-later * * Based on the MessageSwipeController by Shain Singh at: * https://github.com/shainsingh89/SwipeToReply/blob/master/app/src/main/java/com/shain/messenger/SwipeControllerActions.kt */ - package com.nextcloud.talk.ui.recyclerview /** diff --git a/app/src/main/java/com/nextcloud/talk/ui/recyclerview/MessageSwipeCallback.kt b/app/src/main/java/com/nextcloud/talk/ui/recyclerview/MessageSwipeCallback.kt index da17eebdd..926dfa5d5 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/recyclerview/MessageSwipeCallback.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/recyclerview/MessageSwipeCallback.kt @@ -1,28 +1,13 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Shain Singh - * @author Andy Scherzinger - * Copyright (C) 2021 Shain Singh - * Copyright (C) 2021 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021 Andy Scherzinger + * SPDX-FileCopyrightText: 2019 Shain Singh + * SPDX-License-Identifier: GPL-3.0-or-later * * Based on the MessageSwipeController by Shain Singh at: * https://github.com/shainsingh89/SwipeToReply/blob/master/app/src/main/java/com/shain/messenger/MessageSwipeController.kt */ - package com.nextcloud.talk.ui.recyclerview import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/ui/theme/MaterialSchemesProvider.kt b/app/src/main/java/com/nextcloud/talk/ui/theme/MaterialSchemesProvider.kt index fc6b8f2e7..68c257890 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/theme/MaterialSchemesProvider.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/theme/MaterialSchemesProvider.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui.theme import com.nextcloud.android.common.ui.theme.MaterialSchemes diff --git a/app/src/main/java/com/nextcloud/talk/ui/theme/MaterialSchemesProviderImpl.kt b/app/src/main/java/com/nextcloud/talk/ui/theme/MaterialSchemesProviderImpl.kt index ffccd9f94..f0003129d 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/theme/MaterialSchemesProviderImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/theme/MaterialSchemesProviderImpl.kt @@ -1,26 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * @author Andy Scherzinger - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Andy Scherzinger - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui.theme import com.nextcloud.android.common.ui.color.ColorUtil diff --git a/app/src/main/java/com/nextcloud/talk/ui/theme/ServerThemeImpl.kt b/app/src/main/java/com/nextcloud/talk/ui/theme/ServerThemeImpl.kt index 37ccf6477..7b8038a97 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/theme/ServerThemeImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/theme/ServerThemeImpl.kt @@ -1,26 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * @author Andy Scherzinger - * Copyright (C) 2022 Álvaro Brey - * Copyright (C) 2022 Andy Scherzinger - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui.theme import com.nextcloud.android.common.ui.theme.ServerTheme diff --git a/app/src/main/java/com/nextcloud/talk/ui/theme/TalkSpecificViewThemeUtils.kt b/app/src/main/java/com/nextcloud/talk/ui/theme/TalkSpecificViewThemeUtils.kt index ec9f2e2b2..4a97b43c0 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/theme/TalkSpecificViewThemeUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/theme/TalkSpecificViewThemeUtils.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui.theme import android.annotation.TargetApi diff --git a/app/src/main/java/com/nextcloud/talk/ui/theme/ThemeModule.kt b/app/src/main/java/com/nextcloud/talk/ui/theme/ThemeModule.kt index 1bf24b4a5..ed6fb1689 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/theme/ThemeModule.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/theme/ThemeModule.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui.theme import com.nextcloud.android.common.ui.theme.MaterialSchemes diff --git a/app/src/main/java/com/nextcloud/talk/ui/theme/ViewThemeUtils.kt b/app/src/main/java/com/nextcloud/talk/ui/theme/ViewThemeUtils.kt index 5c058d16b..21d6d6b03 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/theme/ViewThemeUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/theme/ViewThemeUtils.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.ui.theme import com.nextcloud.android.common.ui.theme.MaterialSchemes diff --git a/app/src/main/java/com/nextcloud/talk/upload/chunked/Chunk.kt b/app/src/main/java/com/nextcloud/talk/upload/chunked/Chunk.kt index 2dadc6538..eb05b16f3 100644 --- a/app/src/main/java/com/nextcloud/talk/upload/chunked/Chunk.kt +++ b/app/src/main/java/com/nextcloud/talk/upload/chunked/Chunk.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * Copyright (C) 2019 Tobias Kaminsky - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-FileCopyrightText: 2019 Tobias Kaminsky + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.upload.chunked diff --git a/app/src/main/java/com/nextcloud/talk/upload/chunked/ChunkFromFileRequestBody.kt b/app/src/main/java/com/nextcloud/talk/upload/chunked/ChunkFromFileRequestBody.kt index e3451af06..7437421aa 100644 --- a/app/src/main/java/com/nextcloud/talk/upload/chunked/ChunkFromFileRequestBody.kt +++ b/app/src/main/java/com/nextcloud/talk/upload/chunked/ChunkFromFileRequestBody.kt @@ -1,28 +1,9 @@ /* - * Nextcloud Talk application - * - * Copyright (C) 2020 ownCloud GmbH. - * Copyright (C) 2022 Nextcloud GmbH - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. + * Nextcloud Talk - Android Client * + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-FileCopyrightText: 2020 ownCloud GmbH + * SPDX-License-Identifier: MIT */ package com.nextcloud.talk.upload.chunked diff --git a/app/src/main/java/com/nextcloud/talk/upload/chunked/ChunkedFileUploader.kt b/app/src/main/java/com/nextcloud/talk/upload/chunked/ChunkedFileUploader.kt index 48f392523..93d890e7a 100644 --- a/app/src/main/java/com/nextcloud/talk/upload/chunked/ChunkedFileUploader.kt +++ b/app/src/main/java/com/nextcloud/talk/upload/chunked/ChunkedFileUploader.kt @@ -1,30 +1,10 @@ /* - * Nextcloud Talk application - * - * Copyright (C) 2015 ownCloud Inc. - * Copyright (C) 2022 Nextcloud GmbH - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. + * Nextcloud Talk - Android Client * + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-FileCopyrightText: 2015 ownCloud GmbH + * SPDX-License-Identifier: MIT */ - package com.nextcloud.talk.upload.chunked import android.net.Uri diff --git a/app/src/main/java/com/nextcloud/talk/upload/chunked/OnDataTransferProgressListener.kt b/app/src/main/java/com/nextcloud/talk/upload/chunked/OnDataTransferProgressListener.kt index 6ba463342..652c97253 100644 --- a/app/src/main/java/com/nextcloud/talk/upload/chunked/OnDataTransferProgressListener.kt +++ b/app/src/main/java/com/nextcloud/talk/upload/chunked/OnDataTransferProgressListener.kt @@ -1,26 +1,9 @@ -/* ownCloud Android Library is available under MIT license - * Copyright (C) 2015 ownCloud Inc. - * Copyright (C) 2012 Bartek Przybylski - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. +/* + * Nextcloud Talk - Android Client * + * SPDX-FileCopyrightText: 2023 Andy Scherzinger + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.upload.chunked diff --git a/app/src/main/java/com/nextcloud/talk/utils/AudioUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/AudioUtils.kt index 74ddbfd33..e5f680999 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/AudioUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/AudioUtils.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.utils diff --git a/app/src/main/java/com/nextcloud/talk/utils/AuthenticatorService.java b/app/src/main/java/com/nextcloud/talk/utils/AuthenticatorService.java index 4aa831bd5..388661b7a 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/AuthenticatorService.java +++ b/app/src/main/java/com/nextcloud/talk/utils/AuthenticatorService.java @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * Copyright (C) 2020 Tobias Kaminsky - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2020 Tobias Kaminsky + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils; diff --git a/app/src/main/java/com/nextcloud/talk/utils/BitmapShrinker.kt b/app/src/main/java/com/nextcloud/talk/utils/BitmapShrinker.kt index 008b2355d..1e5541e13 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/BitmapShrinker.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/BitmapShrinker.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2021 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils import android.graphics.Bitmap diff --git a/app/src/main/java/com/nextcloud/talk/utils/ContextExtensions.kt b/app/src/main/java/com/nextcloud/talk/utils/ContextExtensions.kt index ed85664f3..e98d9aeb6 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/ContextExtensions.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/ContextExtensions.kt @@ -1,24 +1,11 @@ /* - * Nextcloud Android client application + * Nextcloud Talk - Android Client * - * @author Alper Ozturk - * Copyright (C) 2023 Alper Ozturk - * Copyright (C) 2023 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Andy Scherzinger + * SPDX-FileCopyrightText: 2023 Alper Ozturk + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/utils/ConversationUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/ConversationUtils.kt index 8b180ce9f..ee2d56a42 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/ConversationUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/ConversationUtils.kt @@ -1,20 +1,8 @@ /* - * Nextcloud Talk application - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe + * Nextcloud Talk - Android Client * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.utils diff --git a/app/src/main/java/com/nextcloud/talk/utils/DateConstants.kt b/app/src/main/java/com/nextcloud/talk/utils/DateConstants.kt index bc1e7b1ef..118409032 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/DateConstants.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/DateConstants.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils class DateConstants { diff --git a/app/src/main/java/com/nextcloud/talk/utils/DisplayUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/DisplayUtils.kt index 14f8680a8..46154e2b7 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/DisplayUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/DisplayUtils.kt @@ -1,25 +1,11 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Mario Danic - * @author Andy Scherzinger - * @author Tim Krüger - * Copyright (C) 2022 Tim Krüger - * Copyright (C) 2021 Andy Scherzinger - * Copyright (C) 2017-2020 Mario Danic - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2024 Marcel Hibbe + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-FileCopyrightText: 2021 Andy Scherzinger + * SPDX-FileCopyrightText: 2017-2020 Mario Danic + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.utils diff --git a/app/src/main/java/com/nextcloud/talk/utils/DrawableUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/DrawableUtils.kt index 1297c661f..13303dfda 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/DrawableUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/DrawableUtils.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Mario Danic - * Copyright (C) 2017/2018 Mario Danic - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2017-2018 Mario Danic + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils import com.nextcloud.talk.R diff --git a/app/src/main/java/com/nextcloud/talk/utils/FABAwareScrollingViewBehavior.java b/app/src/main/java/com/nextcloud/talk/utils/FABAwareScrollingViewBehavior.java index da66c2707..5c5f81c50 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/FABAwareScrollingViewBehavior.java +++ b/app/src/main/java/com/nextcloud/talk/utils/FABAwareScrollingViewBehavior.java @@ -1,17 +1,8 @@ /* - * Copyright 2015 The Android Open Source Project + * Nextcloud Talk - Android Client * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-FileCopyrightText: 2015 The Android Open Source Project + * SPDX-License-Identifier: Apache-2.0 */ package com.nextcloud.talk.utils; diff --git a/app/src/main/java/com/nextcloud/talk/utils/FileSortOrder.kt b/app/src/main/java/com/nextcloud/talk/utils/FileSortOrder.kt index 405e76635..8237847f0 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/FileSortOrder.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/FileSortOrder.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Sven R. Kunze - * @author Andy Scherzinger - * Copyright (C) 2021-2022 Andy Scherzinger - * Copyright (C) 2017 Sven R. Kunze - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021-2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2017 Sven R. Kunze + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.utils diff --git a/app/src/main/java/com/nextcloud/talk/utils/FileSortOrderByDate.kt b/app/src/main/java/com/nextcloud/talk/utils/FileSortOrderByDate.kt index f7bcc5e05..df4f59265 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/FileSortOrderByDate.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/FileSortOrderByDate.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Sven R. Kunze - * @author Andy Scherzinger - * Copyright (C) 2021-2022 Andy Scherzinger - * Copyright (C) 2017 Sven R. Kunze - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021-2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2017 Sven R. Kunze + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.utils diff --git a/app/src/main/java/com/nextcloud/talk/utils/FileSortOrderByName.kt b/app/src/main/java/com/nextcloud/talk/utils/FileSortOrderByName.kt index 487c4f3c7..b10a11da3 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/FileSortOrderByName.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/FileSortOrderByName.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Sven R. Kunze - * @author Andy Scherzinger - * Copyright (C) 2021-2022 Andy Scherzinger - * Copyright (C) 2017 Sven R. Kunze - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021-2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2017 Sven R. Kunze + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.utils diff --git a/app/src/main/java/com/nextcloud/talk/utils/FileSortOrderBySize.kt b/app/src/main/java/com/nextcloud/talk/utils/FileSortOrderBySize.kt index 9beab94a4..25155f411 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/FileSortOrderBySize.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/FileSortOrderBySize.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Sven R. Kunze - * @author Andy Scherzinger - * Copyright (C) 2021-2022 Andy Scherzinger - * Copyright (C) 2017 Sven R. Kunze - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021-2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2017 Sven R. Kunze + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.utils diff --git a/app/src/main/java/com/nextcloud/talk/utils/FileUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/FileUtils.kt index aeff10873..7a9ea633b 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/FileUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/FileUtils.kt @@ -1,31 +1,14 @@ +/* + * Nextcloud Talk - Android Client + * + * SPDX-FileCopyrightText: 2021 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Marcel Hibbe + * SPDX-FileCopyrightText: 2021 Stefan Niedermann + * SPDX-FileCopyrightText: 2020 Chris Narkiewicz + * SPDX-License-Identifier: GPL-3.0-or-later + */ package com.nextcloud.talk.utils -/* - * Nextcloud Talk application - * @author Marcel Hibbe - * @author Andy Scherzinger - * @author Stefan Niedermann - * @author David A. Velasco - * @author Chris Narkiewicz - * Copyright (C) 2021 Andy Scherzinger - * Copyright (C) 2021 Stefan Niedermann - * Copyright (C) 2021 Marcel Hibbe - * Copyright (C) 2016 ownCloud GmbH. - * Copyright (C) 2020 Chris Narkiewicz - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License 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 . - */ import android.content.ContentResolver import android.content.Context import android.database.Cursor diff --git a/app/src/main/java/com/nextcloud/talk/utils/FileViewerUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/FileViewerUtils.kt index d2aeb4783..f5c1e33c9 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/FileViewerUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/FileViewerUtils.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils import android.annotation.SuppressLint diff --git a/app/src/main/java/com/nextcloud/talk/utils/ImageEmojiEditText.kt b/app/src/main/java/com/nextcloud/talk/utils/ImageEmojiEditText.kt index 2fa12d87b..cd422f227 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/ImageEmojiEditText.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/ImageEmojiEditText.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Dariusz Olszewski - * Copyright (C) 2021 Dariusz Olszewski - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021 Dariusz Olszewski + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/utils/Mimetype.kt b/app/src/main/java/com/nextcloud/talk/utils/Mimetype.kt index 77367b8e2..9778e35a5 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/Mimetype.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/Mimetype.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils object Mimetype { diff --git a/app/src/main/java/com/nextcloud/talk/utils/MimetypeUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/MimetypeUtils.kt index 452f95ad9..c28801d6d 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/MimetypeUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/MimetypeUtils.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * model 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. - * - * model 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 model program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils object MimetypeUtils { diff --git a/app/src/main/java/com/nextcloud/talk/utils/NoSupportedApiException.kt b/app/src/main/java/com/nextcloud/talk/utils/NoSupportedApiException.kt index 450963486..12e05c97e 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/NoSupportedApiException.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/NoSupportedApiException.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Joas Schilling - * Copyright (C) 2021 Joas Schilling - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2021 Joas Schilling + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils class NoSupportedApiException : RuntimeException("No supported API version found") diff --git a/app/src/main/java/com/nextcloud/talk/utils/ParticipantPermissions.kt b/app/src/main/java/com/nextcloud/talk/utils/ParticipantPermissions.kt index a33d5c2ba..05233f1f5 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/ParticipantPermissions.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/ParticipantPermissions.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * @author Tim Krüger - * Copyright (C) 2022 Tim Krüger - * Copyright (C) 2022 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Marcel Hibbe + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils import com.nextcloud.talk.models.domain.ConversationModel diff --git a/app/src/main/java/com/nextcloud/talk/utils/PickImage.kt b/app/src/main/java/com/nextcloud/talk/utils/PickImage.kt index b18067233..3f5e12e9b 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/PickImage.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/PickImage.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tim Krüger - * Copyright (C) 2022 Tim Krüger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Tim Krüger + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.utils diff --git a/app/src/main/java/com/nextcloud/talk/utils/ReceiverFlag.kt b/app/src/main/java/com/nextcloud/talk/utils/ReceiverFlag.kt index 8ceda84be..5f473c645 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/ReceiverFlag.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/ReceiverFlag.kt @@ -1,24 +1,11 @@ /* - * Nextcloud Android client application + * Nextcloud Talk - Android Client * - * @author Alper Ozturk - * Copyright (C) 2023 Alper Ozturk - * Copyright (C) 2023 Nextcloud GmbH - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Andy Scherzinger + * SPDX-FileCopyrightText: 2023 Alper Ozturk + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/utils/RemoteFileUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/RemoteFileUtils.kt index d54cdcbc5..0a3774af3 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/RemoteFileUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/RemoteFileUtils.kt @@ -1,27 +1,13 @@ +/* + * Nextcloud Talk - Android Client + * + * SPDX-FileCopyrightText: 2021 Marcel Hibbe + * SPDX-FileCopyrightText: 2020 Chris Narkiewicz + * SPDX-FileCopyrightText: 2016 ownCloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later + */ package com.nextcloud.talk.utils -/* - * Nextcloud Talk application - * @author Marcel Hibbe - * @author David A. Velasco - * @author Chris Narkiewicz - * Copyright (C) 2021 Marcel Hibbe - * Copyright (C) 2016 ownCloud GmbH. - * Copyright (C) 2020 Chris Narkiewicz - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License 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 . - */ import com.nextcloud.talk.api.NcApi import com.nextcloud.talk.data.user.model.User import io.reactivex.Observable diff --git a/app/src/main/java/com/nextcloud/talk/utils/SyncAdapter.java b/app/src/main/java/com/nextcloud/talk/utils/SyncAdapter.java index 397b49d34..5358ddf58 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/SyncAdapter.java +++ b/app/src/main/java/com/nextcloud/talk/utils/SyncAdapter.java @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * Copyright (C) 2020 Tobias Kaminsky - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2020 Tobias Kaminsky + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils; import android.accounts.Account; diff --git a/app/src/main/java/com/nextcloud/talk/utils/SyncService.java b/app/src/main/java/com/nextcloud/talk/utils/SyncService.java index 87be50d32..49ee026a1 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/SyncService.java +++ b/app/src/main/java/com/nextcloud/talk/utils/SyncService.java @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Tobias Kaminsky - * Copyright (C) 2020 Tobias Kaminsky - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2020 Tobias Kaminsky + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils; diff --git a/app/src/main/java/com/nextcloud/talk/utils/UriUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/UriUtils.kt index e4d7cfaaf..4f2bb367b 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/UriUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/UriUtils.kt @@ -1,25 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * @author Marcel Hibbe - * Copyright (C) 2022 Andy Scherzinger - * Copyright (C) 2021 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-FileCopyrightText: 2021 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils import android.net.Uri diff --git a/app/src/main/java/com/nextcloud/talk/utils/UserIdUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/UserIdUtils.kt index 712db93f4..cc377e0f6 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/UserIdUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/UserIdUtils.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2022 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils import com.nextcloud.talk.data.user.model.User diff --git a/app/src/main/java/com/nextcloud/talk/utils/VibrationUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/VibrationUtils.kt index 58f2b68fe..57e13d5df 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/VibrationUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/VibrationUtils.kt @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Marcel Hibbe - * Copyright (C) 2023 Marcel Hibbe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Marcel Hibbe + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.utils diff --git a/app/src/main/java/com/nextcloud/talk/utils/animations/ViewHidingBehaviourAnimation.java b/app/src/main/java/com/nextcloud/talk/utils/animations/ViewHidingBehaviourAnimation.java index 263265876..91c2e6972 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/animations/ViewHidingBehaviourAnimation.java +++ b/app/src/main/java/com/nextcloud/talk/utils/animations/ViewHidingBehaviourAnimation.java @@ -5,7 +5,7 @@ * SPDX-FileCopyrightText: 2016 Srijith Narayanan * SPDX-License-Identifier: GPL-3.0-or-later * - * The original code is Copyright (c) 2016 Srijith Narayanan under MIT licence + * The original code is Copyright 2016 Srijith Narayanan under MIT licence * https://github.com/sjthn/BottomNavigationViewBehavior/blob/9558104a16a1276bd8a73fba6736d88cd25b5488/app/src/main/java/com/example/srijith/bottomnavigationviewbehavior/BottomNavigationViewBehavior.java */ package com.nextcloud.talk.utils.animations; diff --git a/app/src/main/java/com/nextcloud/talk/utils/database/user/CurrentUserProviderImpl.kt b/app/src/main/java/com/nextcloud/talk/utils/database/user/CurrentUserProviderImpl.kt index 21aaa8875..39fb2c931 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/database/user/CurrentUserProviderImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/database/user/CurrentUserProviderImpl.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils.database.user import com.nextcloud.talk.data.user.model.User diff --git a/app/src/main/java/com/nextcloud/talk/utils/database/user/CurrentUserProviderNew.kt b/app/src/main/java/com/nextcloud/talk/utils/database/user/CurrentUserProviderNew.kt index b1b457ce5..361ba5877 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/database/user/CurrentUserProviderNew.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/database/user/CurrentUserProviderNew.kt @@ -1,22 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.utils.database.user diff --git a/app/src/main/java/com/nextcloud/talk/utils/message/MessageUtils.kt b/app/src/main/java/com/nextcloud/talk/utils/message/MessageUtils.kt index 5c23206f3..9ac61bb0a 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/message/MessageUtils.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/message/MessageUtils.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Andy Scherzinger - * Copyright (C) 2023 Andy Scherzinger - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Andy Scherzinger + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils.message import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/utils/permissions/PlatformPermissionUtil.kt b/app/src/main/java/com/nextcloud/talk/utils/permissions/PlatformPermissionUtil.kt index 51085108a..7116d7bc1 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/permissions/PlatformPermissionUtil.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/permissions/PlatformPermissionUtil.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils.permissions interface PlatformPermissionUtil { diff --git a/app/src/main/java/com/nextcloud/talk/utils/permissions/PlatformPermissionUtilImpl.kt b/app/src/main/java/com/nextcloud/talk/utils/permissions/PlatformPermissionUtilImpl.kt index 4655a538f..b818163f1 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/permissions/PlatformPermissionUtilImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/permissions/PlatformPermissionUtilImpl.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils.permissions import android.Manifest diff --git a/app/src/main/java/com/nextcloud/talk/utils/preferences/AppPreferencesImpl.kt b/app/src/main/java/com/nextcloud/talk/utils/preferences/AppPreferencesImpl.kt index 084d28497..df45c5e1f 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/preferences/AppPreferencesImpl.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/preferences/AppPreferencesImpl.kt @@ -1,23 +1,9 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Julius Linus - * Copyright (C) 2023 Julius Linus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2023 Julius Linus + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils.preferences import android.content.Context diff --git a/app/src/main/java/com/nextcloud/talk/utils/rx/DisposableSet.kt b/app/src/main/java/com/nextcloud/talk/utils/rx/DisposableSet.kt index e0bf7f497..1d7001290 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/rx/DisposableSet.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/rx/DisposableSet.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils.rx import io.reactivex.disposables.Disposable diff --git a/app/src/main/java/com/nextcloud/talk/utils/rx/SearchViewObservable.kt b/app/src/main/java/com/nextcloud/talk/utils/rx/SearchViewObservable.kt index 969c0cc80..2f1395722 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/rx/SearchViewObservable.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/rx/SearchViewObservable.kt @@ -1,24 +1,10 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Álvaro Brey - * Copyright (C) 2022 Álvaro Brey - * 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 as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Álvaro Brey + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils.rx import androidx.appcompat.widget.SearchView diff --git a/app/src/main/java/com/nextcloud/talk/utils/ssl/SSLSocketFactoryCompat.kt b/app/src/main/java/com/nextcloud/talk/utils/ssl/SSLSocketFactoryCompat.kt index 48f37449f..97fa83b86 100644 --- a/app/src/main/java/com/nextcloud/talk/utils/ssl/SSLSocketFactoryCompat.kt +++ b/app/src/main/java/com/nextcloud/talk/utils/ssl/SSLSocketFactoryCompat.kt @@ -1,11 +1,9 @@ /* - * Copyright © Ricki Hirner (bitfire web engineering). - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the GNU Public License v3.0 - * which accompanies this distribution, and is available at - * http://www.gnu.org/licenses/gpl.html + * Nextcloud Talk - Android Client + * + * SPDX-FileCopyrightText: 2017-2024 Ricki Hirner (bitfire web engineering) + * SPDX-License-Identifier: GPL-3.0-or-later */ - package com.nextcloud.talk.utils.ssl import java.net.InetAddress diff --git a/app/src/main/java/com/nextcloud/talk/webrtc/DataChannelMessageNotifier.java b/app/src/main/java/com/nextcloud/talk/webrtc/DataChannelMessageNotifier.java index 9731bfc84..a2f1b5f5e 100644 --- a/app/src/main/java/com/nextcloud/talk/webrtc/DataChannelMessageNotifier.java +++ b/app/src/main/java/com/nextcloud/talk/webrtc/DataChannelMessageNotifier.java @@ -1,21 +1,8 @@ /* - * Nextcloud Talk application + * Nextcloud Talk - Android Client * - * @author Daniel Calviño Sánchez - * Copyright (C) 2022 Daniel Calviño Sánchez - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-FileCopyrightText: 2022 Daniel Calviño Sánchez + * SPDX-License-Identifier: GPL-3.0-or-later */ package com.nextcloud.talk.webrtc; diff --git a/app/src/main/res/layout/activity_full_screen_image.xml b/app/src/main/res/layout/activity_full_screen_image.xml index 64cd31b97..688b5e707 100644 --- a/app/src/main/res/layout/activity_full_screen_image.xml +++ b/app/src/main/res/layout/activity_full_screen_image.xml @@ -4,7 +4,7 @@ ~ ~ SPDX-FileCopyrightText: 2021 Andy Scherzinger ~ SPDX-FileCopyrightText: 2021 Marcel Hibbe - ~ SPDX-FileCopyrightText: 2021 Dariusz Olszewski + ~ SPDX-FileCopyrightText: 2021 Dariusz Olszewski ~ SPDX-License-Identifier: GPL-3.0-or-later --> Date: Fri, 29 Mar 2024 15:43:50 +0100 Subject: [PATCH 2/3] Add REUSE Badge Signed-off-by: Andy Scherzinger --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a3e362a9..4ea25808b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ --> # [Nextcloud](https://nextcloud.com) Talk for Android :speech_balloon: -[![Build Status](https://drone.nextcloud.com/api/badges/nextcloud/talk-android/status.svg)](https://drone.nextcloud.com/nextcloud/talk-android) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/b89a720efbd24754984a776804913bca)](https://www.codacy.com/gh/nextcloud/talk-android/dashboard) [![Releases](https://img.shields.io/github/release/nextcloud/talk-android.svg)](https://github.com/nextcloud/talk-android/releases/latest) +[![Build Status](https://drone.nextcloud.com/api/badges/nextcloud/talk-android/status.svg)](https://drone.nextcloud.com/nextcloud/talk-android) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/b89a720efbd24754984a776804913bca)](https://www.codacy.com/gh/nextcloud/talk-android/dashboard) [![Releases](https://img.shields.io/github/release/nextcloud/talk-android.svg)](https://github.com/nextcloud/talk-android/releases/latest) [![REUSE status](https://api.reuse.software/badge/github.com/nextcloud/talk-android)](https://api.reuse.software/info/github.com/nextcloud/talk-android) [Download from Google Play Date: Fri, 29 Mar 2024 15:45:56 +0100 Subject: [PATCH 3/3] Add REUSE check Signed-off-by: Andy Scherzinger --- .github/workflows/reuse.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/reuse.yml diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml new file mode 100644 index 000000000..ec41e61ef --- /dev/null +++ b/.github/workflows/reuse.yml @@ -0,0 +1,17 @@ +# synced from @nextcloud/android-config + +# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. +# +# SPDX-License-Identifier: CC0-1.0 + +name: REUSE Compliance Check + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - name: REUSE Compliance Check + uses: fsfe/reuse-action@a46482ca367aef4454a87620aa37c2be4b2f8106 # v3.0.0