diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml new file mode 100644 index 0000000000..ec41e61ef0 --- /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 diff --git a/README.md b/README.md index 4a3e362a9a..4ea25808be 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 - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License 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 651eefe8b9..a52c0196a2 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 ff25288a47..63a81b9c1a 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 1dae3149fc..500e452972 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 37ff543cfe..969423e82c 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 865b122e12..02357b112c 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 551e15a26d..9ee5b06f5a 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 dcd26f53f3..8033c2fa28 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 9d39d987c5..3c7d469a00 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 dfff2e7147..446456ac8a 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 fe00b08639..f191071aac 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 06e7084af4..c73826c4ff 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 03fd4f9957..4c9f729279 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 38dbf99a98..9f6d125319 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 618d757b20..81f80a582a 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 2e38b9bb3d..4d00f445dd 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 16c8d9884e..f5121a6e55 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 84ac390406..df04577525 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 27c2550e0e..648c9910dc 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 02d3c8d2b0..50c1ae6691 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 36a1930262..05712f5c06 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 afbc893fd7..2c0d169856 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 f11ad9e2be..5a05cbc425 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 8452a157ca..05180c121c 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 f57bd16d75..f1288a8a03 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 7a07fb337b..a7cb20e295 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 3354c3ab99..f1c1d12066 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 f09dfc4352..d446e7ec84 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 a29a13fdc7..85d7e54398 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 db1fd1f4d5..5858e38d15 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 2fbb3a0c9c..57e3fd98f8 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 df5be648c0..c681b07745 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 ff68dfdbeb..c89befc2a7 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 653455a64a..fa2c60f5db 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 fd8760d49e..f85409e1f9 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 d4b657b6c7..f18db95788 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 69e2303103..cdbe3f0c9e 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 ff992d7075..c998f91f01 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 c086f470f5..a81e3ab187 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 e0cb224898..8c78d4d8d1 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 99f094372e..83628ca7c7 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 1e4530b314..c84e17c659 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 31f37a2a43..cc9af97fea 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 388ba62355..31a623edb2 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 3e1bb83d0d..6f7baf1a58 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 7cf0fca081..098b27e71c 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 36096bd37f..50dc68386e 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 bb2558f8f8..98eb7b4480 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 95b319644d..05eb3b29fe 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 140500b23f..be1bf6c333 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 aca16d0a6b..d0c52a77eb 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 e5862cd279..c2d305a329 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 8993711fce..c055f724c3 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 c5a611053c..28163dfb18 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 a40220a821..e1ee647729 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 2e4738bccc..5a6adc7219 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 800a15d7ca..25194df523 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 5664fbbfc5..70be98f75f 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 cd99dda9b3..6c56416a59 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 0941b6f9af..0fe66e1990 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 ea5c3c9f8e..3ca2b84b94 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 6eb07cf761..b61b5db3cd 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 56b93b38b4..1d5b1318b6 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 ab5f7dc626..5c5677a429 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 d6f5a1e2b6..04b9db18e1 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 565d980f1e..e2291f49be 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 e8470b59f4..4889b5cb74 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 d6723d7ee0..5578607636 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 4ce808e3e7..07d9b8f7b8 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 cba19b9f53..66fdf166f7 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 a1795af497..c4c4e30076 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 f69e5d1d4a..f1172e28ae 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 e1d2e33d8d..1062e6142f 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 24e7ac3f11..64377dc824 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 ccdfec5a93..41a7538992 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 0dd0b9ba50..fb252375c7 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 d78ff54c38..b14480c27d 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 09fdf03cba..9fbb237866 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 6631e8ecba..78799c564e 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 78e6e16cda..9234a93ab4 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 dbe2c11622..f20b72147e 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 c39a951404..0a5c6231ab 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 2343ce69cd..4af17c5692 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 a3c338e18c..878b207385 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 6b36a98aa3..d1ff2d7929 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 0e089bca2c..db3bba39cf 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 e0ecd4888a..18d16c150c 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 c2c90c551d..346bd9401b 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 5f20742fcb..20eef72176 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 71ae0e9319..2b2cda35f4 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 544e2ad164..739461aad2 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 973397205b..f52bfda546 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 65850c5fa9..0f7e385662 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 e303f1d2de..256e25992d 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 1864070e82..e84f0353b3 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 def90d3ca0..e4dcd5cc18 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 004814d716..35c1160bb5 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 ca396f52f9..8f7b97f027 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 2b3d233d42..7ef317b0fe 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 01f7f0be60..2f678d048b 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 d58fe9bcb6..472d369977 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 2d790c6be7..a1c4ae5a03 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 09a1ad7a55..3d6e1517d7 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 637ad73840..0cd08fef1a 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 - * - * @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. + * Nextcloud Talk - Android Client * - * 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 0685e06900..f65964b0be 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 eb12998ae3..8a73e0845c 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 f0aca47b99..049d045cec 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 417426d270..e95750702d 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 2e0612ced7..db18ffab00 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 cdae476201..2cae74c6b2 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 93da5ed48f..a1469580bf 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 07259466da..40a1e283cf 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 b11fb201d5..aa6a9e8819 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 d2c68ae15f..ad714af3eb 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 e91e259abb..ac6e042f71 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 20c1694c9b..e1ce5da424 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 7e3b69c749..d1b96df40e 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 b0fc49b162..c06e657cc9 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 becd71dc7d..f65493a123 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 a90603849a..62761b73a0 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 9d4b60fdc7..5a9be55dfa 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 19083c657f..2ca7cef622 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 3e073d2fd6..13827c395a 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 73eead9dba..9c8c095b16 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 1bc86ea029..b4cef9ac02 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 9c133c064e..1c8a269cd2 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 941d849a6d..7ad6e9b164 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 3150eaecfc..42544aa316 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 fae9653b27..05fffdb820 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 07be4c5278..3289902df0 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 b9652110e5..f79657cce8 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 c9697429d7..834a0079ec 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 74eeec9a39..f9f7e12891 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 a52cea636d..52ef976c2b 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 56fad102c5..e198bc77cb 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 b8b47fc28a..9f46c15a4a 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 2dbe0309b2..bfbb1a886e 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 8c94cf8675..49af4a1718 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 9df294a3ca..3ba93065a4 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 6fdf7ccf72..329618cd50 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 9f43683aba..8aae7b11ef 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 8d9d13c349..6d7e986ed0 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 a8d88e3694..06ea3629a2 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 5a34f3e233..b117036a90 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 e89ae28f65..58c2575ece 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 a4450560f0..d1429492f7 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 c37a4d45a3..25ba03204d 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 ce5992463d..4c68b12a86 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 f261aea22f..dd11074ae3 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 207d469b2c..8a7c9b4d31 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 354d2f7498..02d61d25ab 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 9c9875860a..bd4be634b1 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 51b4c1a7ab..8b1dcd4321 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 96f608377e..79300cfef2 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 1e0a885c51..3178fb706e 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 3b277bed54..e682fa016a 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 e28c3c952e..5b63e58860 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 c6e5790af2..f096ea46c0 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 6da4471422..b86b867004 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 f4542c7d35..cf75dafb2e 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 2f4217c8fc..bf1064d2ee 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 6280b6a1e8..e2f75478f4 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 724d87f40a..422e594441 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 a057592bd7..0cf13a292d 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 436e14b0ac..670c1cc55b 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 44749193ad..7da2b43fec 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 d4d97fd779..1266d70a63 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 d0a15156e3..53b5c7492c 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 e8da7ceee6..95997463d4 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 99d70102b5..89037ba96f 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 fd356c7afd..56fd01480c 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 f65ed1256c..10b5263489 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 878b1b15c0..3f6f809a56 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 e74b29aa44..82f3be807a 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 f96e0009e0..939186a61a 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 6b025bf8fb..2e36d96b57 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 feef4b563e..73332f5c5e 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 abd887b1b4..5039469c4b 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 336a812267..b052296f0c 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 cb691979da..ff8dbfd402 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 f0b3f48b8a..7f44dc4a9b 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 948d8698c4..2531eb0693 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 16d8bf67e8..7db876580a 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 803e1136c7..ee30122015 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 4ee667ad77..6361ad2a4b 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 2d6b338bd4..3218cc3b43 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 9ce1540191..c83ebcc2f3 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 f6022537b0..6ccd67c9e2 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 32f0152d78..178165bd14 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 8ce1737c5a..ebbba69c21 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 e3689ff62f..499cd3135d 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 5c399c0d3f..9678e9dac2 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 4718382844..acd3bda699 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 2c5d2b958a..f7cfcd2df2 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 e15b42c2fd..1dacc324c1 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 f8bba900dd..1a530f2514 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 2d8a8a36aa..12d609d946 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 fdb8d68913..09984c0c61 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 8edea62423..314c3fb9e0 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 c245dc7762..b95a41fd0c 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 aebd9230a7..18199f2507 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 12c21bb61b..24b9c397a5 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 a667156e78..043db2e6ad 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 c99d21d433..9205979cdb 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 b4594221b3..02da0c7d98 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 6f2239d832..30a651539d 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 b238744d53..d8862b8521 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 3b2396d9da..93bde149c2 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 8422a8315b..898ee35754 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 369bca3420..7b80a74ce1 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 df0148096f..80cf47990e 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 0a969998e7..3142f3686c 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 e99340c392..0687118185 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 5a7837e7eb..e6d4e6c441 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 d636ced459..88ce0175cd 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 4a7c22b260..fbdb3c68fe 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 5c2719e9d0..d6b388c614 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 d2b0cb7ad6..79b8f311c2 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 1eb23cf906..232b0813cb 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 bf75ea984d..75628caef9 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 e5230a126d..b27cd52ed9 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 904dc0b127..17b09c78d5 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 6e5cacb92e..2d900368d2 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 d15d932ae4..59073593b2 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 291840e13e..26e3f0deec 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 9d23a6a614..ec46272eac 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 ed19917b14..5ac47edc2b 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 0860d159b1..3dd701d1c3 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 81641e7f4d..28475518db 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 f964da317b..3dfced2166 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 3f28dce50c..8fd8968b02 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 e1207f52ed..9bd2408abe 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 b22ed51952..f3fffbf754 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 e0c3842cd3..b0dd8ba3bf 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 b37c3f659f..c860574e12 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 5a2ffe4bc3..4abfe757be 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 72df249fa4..56452166a2 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 6e9ce3c22b..4bc6f3cb7e 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 15287dab27..55e6b3ed18 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 3cd2f22066..e0f9a8ff6d 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 f8c88edd83..d8f7fa4a08 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 1e8a35b900..2c57137c1f 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 22bc1073d2..b10e9d7559 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 617eb20a18..02484c11a2 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 577c0e9ecc..deadfc6fdb 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 9ba98ee99b..186a90e264 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 18def2f055..14b2d81433 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 cc1ce661c3..276bd67960 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 2505c98d3b..85693fc482 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 b69600fa7d..0ee23c1da4 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 a79289ef95..a6834391aa 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 49b724bfde..db794df324 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 c0bdbe923e..9cdeff7dbb 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 dd83374b68..758710ce01 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 209bd36906..160a3756fb 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 9c53b81e54..ed006262bf 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 d4a61f9e56..e4cfd93bf1 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 21654118b4..b13e3bebf5 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 68a1ff3243..22850892a2 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 e5d8def95c..39e7aa8e37 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 c26153a456..184d91d29d 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 7c65dfa812..7c38d2aa69 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 90ec087746..cad4eff9e9 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 30b03ebdec..96dbf18bab 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 d0ad288320..e469c4e460 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 da17eebddd..926dfa5d53 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 fc6b8f2e7d..68c257890b 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 ffccd9f948..f0003129dc 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 37ccf64773..7b8038a971 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 ec9f2e2b23..4a97b43c02 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 1bf24b4a59..ed6fb16897 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 5c058d16bc..21d6d6b03e 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 2dadc65387..eb05b16f32 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 e3451af063..7437421aa3 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 48f392523e..93d890e7a5 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 6ba4633427..652c97253d 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 74ddbfd334..e5f6809994 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 4aa831bd5c..388661b7ad 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 008b2355d9..1e5541e13f 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 ed85664f36..e98d9aeb61 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 8b180ce9f7..ee2d56a42f 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 bc1e7b1ef5..1184090328 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 14f8680a8c..46154e2b74 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 1297c661f7..13303dfda6 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 da66c27071..5c5f81c50b 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 405e766355..8237847f06 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 f7bcc5e05b..df4f592656 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 487c4f3c76..b10a11da3c 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 9beab94a4f..25155f4119 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 aeff10873f..7a9ea633b0 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 @@ -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. + * Nextcloud Talk - Android Client * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License 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 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 + 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 d2aeb47839..f5c1e33c94 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 2fa12d87b1..cd422f2275 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 77367b8e2d..9778e35a5d 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 452f95ad99..c28801d6dd 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 450963486c..12e05c97eb 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 a33d5c2ba1..05233f1f5b 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 b18067233d..3f5e12e9ba 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 8ceda84bec..5f473c6457 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 d54cdcbc53..0a3774af30 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 @@ -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. + * Nextcloud Talk - Android Client * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License 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: 2020 Chris Narkiewicz + * SPDX-FileCopyrightText: 2016 ownCloud GmbH + * SPDX-License-Identifier: GPL-3.0-or-later */ +package com.nextcloud.talk.utils + 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 397b49d349..5358ddf586 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 87be50d322..49ee026a16 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 e4d7cfaaf3..4f2bb367bb 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 712db93f4e..cc377e0f66 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 58f2b68fe9..57e13d5df4 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 2632658765..91c2e69726 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 21aaa88750..39fb2c9312 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 b1b457ce5c..361ba5877d 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 5c23206f3e..9ac61bb0aa 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 51085108af..7116d7bc18 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 4655a538ff..b818163f1a 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 084d284974..df45c5e1f3 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 e0bf7f4978..1d70012901 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 969c0cc80d..2f13957220 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 48f37449ff..97fa83b867 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 9731bfc842..a2f1b5f5eb 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 64cd31b97a..688b5e7072 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 -->