Add SPDX header

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2024-04-07 16:32:48 +02:00
parent 3bc5171ca1
commit 4638b3df1a
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B
25 changed files with 119 additions and 201 deletions

View File

@ -58,7 +58,7 @@ class UploadFilesActivityIT : AbstractIT() {
waitForIdleSync()
longSleep()
screenshot(sut.fileListFragment.binding.emptyList.emptyListView)
screenshot(sut.fileListFragment.binding.listRoot)
}
@Test

View File

@ -1,13 +1,10 @@
/*
* Nextcloud Android client application
*
* @author Andy Scherzinger
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 Nextcloud
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2016 Andy Scherzinger
* SPDX-FileCopyrightText: 2016 Nextcloud
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.authentication;
/**

View File

@ -1,12 +1,8 @@
/*
* Nextcloud Android client application
*
* @author Andy Scherzinger
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 Nextcloud
*
* SPDX-License-Identifier: AGPL-3.0-or-later
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2016 Andy Scherzinger
* SPDX-FileCopyrightText: 2016 Nextcloud
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.datamodel

View File

@ -1,13 +1,10 @@
/*
* Nextcloud Android client application
*
* @author Andy Scherzinger
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 Nextcloud
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2016 Andy Scherzinger
* SPDX-FileCopyrightText: 2016 Nextcloud
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.datamodel;
import android.content.ContentResolver;

View File

@ -1,13 +1,10 @@
/*
* Nextcloud Android client application
*
* @author Andy Scherzinger
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 Nextcloud
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2016 Andy Scherzinger
* SPDX-FileCopyrightText: 2016 Nextcloud
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.datamodel;
import com.nextcloud.client.preferences.SubFolderRule;

View File

@ -1,10 +1,8 @@
/*
* Nextcloud Android client application
*
* @author Andy Scherzinger
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 Nextcloud.
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2016 Andy Scherzinger
* SPDX-FileCopyrightText: 2016 Nextcloud
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.datamodel;

View File

@ -1,11 +1,10 @@
/*
* Nextcloud Android client application
*
* @author Andy Scherzinger
* @author Tobias Kaminsky
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 Nextcloud
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2023 Alper Ozturk <alper_ozturk@proton.me>
* SPDX-FileCopyrightText: 2016 Andy Scherzinger
* SPDX-FileCopyrightText: 2016 Tobias Kaminsky <tobias@kaminsky.me>
* SPDX-FileCopyrightText: 2016 Nextcloud
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.activity

View File

@ -1,21 +1,15 @@
/*
* Nextcloud Android client application
* Nextcloud - Android Client
*
* @author Andy Scherzinger
* @author Tobias Kaminsky
* @author Chris Narkiewicz <hello@ezaquarii.com>
* @author TSI-mc
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2017 Tobias Kaminsky
* Copyright (C) 2016 Nextcloud
* Copyright (C) 2016 ownCloud Inc.
* Copyright (C) 2020 Chris Narkiewicz <hello@ezaquarii.com>
* Copyright (C) 2020 Infomaniak Network SA
* Copyright (C) 2021 TSI-mc
*
* SPDX-License-Identifier: AGPL-3.0-or-later
* SPDX-FileCopyrightText: 2021 TSI-mc
* SPDX-FileCopyrightText: 2020 Infomaniak Network SA
* SPDX-FileCopyrightText: 2020 Chris Narkiewicz <hello@ezaquarii.com>
* SPDX-FileCopyrightText: 2017 Tobias Kaminsky <tobias@kaminsky.me>
* SPDX-FileCopyrightText: 2016 Andy Scherzinger <info@andy-scherzinger.de>
* SPDX-FileCopyrightText: 2016 Nextcloud
* SPDX-FileCopyrightText: 2016 ownCloud Inc.
* SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
*/
package com.owncloud.android.ui.activity;
import android.accounts.AuthenticatorException;

View File

@ -1,11 +1,9 @@
/*
* Nextcloud Android client application
*
* @author Andy Scherzinger
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 Nextcloud
* Copyright (C) 2020 Chris Narkiewicz <hello@ezaquarii.com>
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2020 Chris Narkiewicz <hello@ezaquarii.com>
* SPDX-FileCopyrightText: 2016 Andy Scherzinger
* SPDX-FileCopyrightText: 2016 Nextcloud
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.activity

View File

@ -1,16 +1,16 @@
/*
* Nextcloud Android client application
* Nextcloud - Android Client
*
* @author Andy Scherzinger
* @author TSI-mc
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 Nextcloud
* Copyright (C) 2016 ownCloud Inc.
* Copyright (C) 2022 TSI-mc
*
* SPDX-License-Identifier: AGPL-3.0-or-later
* SPDX-FileCopyrightText: 2023 ZetaTom
* SPDX-FileCopyrightText: 2023 Parneet Singh <gurayaparneet@gmail.com>
* SPDX-FileCopyrightText: 2022 Brey Álvaro Brey <alvaro@alvarobrey.com>
* SPDX-FileCopyrightText: 2022 TSI-mc
* SPDX-FileCopyrightText: 2020 Joris Bodin <joris.bodin@infomaniak.com>
* SPDX-FileCopyrightText: 2016-2022 Andy Scherzinger
* SPDX-FileCopyrightText: 2018-2022 Tobias Kaminsky <tobias@kaminsky.me>
* SPDX-FileCopyrightText: 2016 Nextcloud
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.activity;
import android.animation.AnimatorInflater;

View File

@ -1,17 +1,11 @@
/*
* Nextcloud Android client application
*
* @author Chris Narkiewicz
* @author Tobias Kaminsky
* @author Andy Scherzinger
*
* Copyright (C) 2019 Tobias Kaminsky
* Copyright (C) 2019 Chris Narkiewicz <hello@ezaquarii.com>
* Copyright (C) 2020 Andy Scherzinger
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2020 Andy Scherzinger <info@andy-scherzinger.de>
* SPDX-FileCopyrightText: 2019 Chris Narkiewicz <hello@ezaquarii.com>
* SPDX-FileCopyrightText: 2019 Tobias Kaminsky <tobias@kaminsky.me>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.adapter;
import android.content.Context;

View File

@ -1,14 +1,11 @@
/*
* Nextcloud Android client application
*
* @author Alejandro Bautista
* @author Chris Narkiewicz
* @author Andy Scherzinger
*
* Copyright (C) 2017 Alejandro Bautista
* Copyright (C) 2019 Chris Narkiewicz <hello@ezaquarii.com>
* Copyright (C) 2020 Andy Scherzinger
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2020 Andy Scherzinger <info@andy-scherzinger.de>
* SPDX-FileCopyrightText: 2019 Chris Narkiewicz <hello@ezaquarii.com>
* SPDX-FileCopyrightText: 2019 Alex Plutta <alex.plutta@googlemail.com>
* SPDX-FileCopyrightText: 2018 Tobias Kaminsky <tobias@kaminsky.me>
* SPDX-FileCopyrightText: 2017 Alejandro Morales <aleister09@gmail.com>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.adapter;

View File

@ -1,22 +1,8 @@
/*
* Nextcloud Android client application
* Nextcloud - Android Client
*
* @author Andy Scherzinger
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 Nextcloud
* Copyright (C) 2016 ownCloud GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* SPDX-FileCopyrightText: 2017-2018 Andy Scherzinger <info@andy-scherzinger.de>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.adapter;

View File

@ -1,13 +1,10 @@
/*
* Nextcloud Android client application
*
* @author Andy Scherzinger
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 Nextcloud
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2016 Andy Scherzinger
* SPDX-FileCopyrightText: 2016 Nextcloud
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.adapter;
import android.content.Context;

View File

@ -1,16 +1,11 @@
/*
* Nextcloud Android client application
*
* @author Tobias Kaminsky
* @author Chris Narkiewicz
*
* Copyright (C) 2018 Tobias Kaminsky
* Copyright (C) 2018 Nextcloud GmbH.
* Copyright (C) 2019 Chris Narkiewicz <hello@ezaquarii.com>
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2019 Chris Narkiewicz <hello@ezaquarii.com>
* SPDX-FileCopyrightText: 2018 Tobias Kaminsky <tobias@kaminsky.me>
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.adapter;
import android.content.Context;

View File

@ -1,13 +1,9 @@
/*
* Nextcloud Android client application
*
* @author Tobias Kaminsky
* @author Chris Narkiewicz <hello@ezaquarii.com>
*
* Copyright (C) 2018 Tobias Kaminsky
* Copyright (C) 2018 Nextcloud
* Copyright (C) 2020 Chris Narkiewicz <hello@ezaquarii.com>
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2019 Chris Narkiewicz <hello@ezaquarii.com>
* SPDX-FileCopyrightText: 2018 Tobias Kaminsky <tobias@kaminsky.me>
* SPDX-FileCopyrightText: 2018 Nextcloud
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.adapter

View File

@ -1,16 +1,11 @@
/*
* Nextcloud Android client application
*
* @author Tobias Kaminsky
* @author Chris Narkiewicz <hello@ezaquarii.com>
*
* Copyright (C) 2018 Tobias Kaminsky
* Copyright (C) 2018 Nextcloud
* Copyright (C) 2019 Chris Narkiewicz <hello@ezaquarii.com>
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2019 Chris Narkiewicz <hello@ezaquarii.com>
* SPDX-FileCopyrightText: 2018 Tobias Kaminsky <tobias@kaminsky.me>
* SPDX-FileCopyrightText: 2018 Nextcloud
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.adapter;
import android.app.NotificationManager;

View File

@ -1,18 +1,15 @@
/*
* Nextcloud Android client application
*
* @author Andy Scherzinger
* @author Chris Narkiewicz <hello@ezaquarii.com>
* @author Nick Antoniou
*
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 ownCloud Inc.
* Copyright (C) 2019 Nick Antoniou
* Copyright (C) 2020 Chris Narkiewicz <hello@ezaquarii.com>
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2022 Álvaro Brey <alvaro@alvarobrey.com>
* SPDX-FileCopyrightText: 2020 Kilian Périsset <kilian.perisset@infomaniak.com>
* SPDX-FileCopyrightText: 2020 Stefan Niedermann <info@niedermann.it>
* SPDX-FileCopyrightText: 2018-2020 Tobias Kaminsky <tobias@kaminsky.me>
* SPDX-FileCopyrightText: 2020 Chris Narkiewicz <hello@ezaquarii.com>
* SPDX-FileCopyrightText: 2019 Nick Antoniou <nikolasea@windowslive.com>
* SPDX-FileCopyrightText: 2016 Andy Scherzinger <info@andy-scherzinger.de>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.adapter;
import android.content.Context;
@ -39,9 +36,6 @@ import java.util.List;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
/**
* This Adapter populates a RecyclerView with all accounts within the app.
*/
public class UserListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
implements DisplayUtils.AvatarGenerationListener {
private static final String TAG = UserListAdapter.class.getSimpleName();

View File

@ -1,16 +1,11 @@
/*
* Nextcloud Android client application
*
* @author Andy Scherzinger
* @author Chris Narkiewicz <hello@ezaquarii.com>
*
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 ownCloud Inc.
* Copyright (C) 2020 Chris Narkiewicz <hello@ezaquarii.com>
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2020 Chris Narkiewicz <hello@ezaquarii.com>
* SPDX-FileCopyrightText: 2017 Tobias Kaminsky <tobias@kaminsky.me>
* SPDX-FileCopyrightText: 2016 Andy Scherzinger <info@andy-scherzinger.de>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.adapter;
import android.accounts.Account;

View File

@ -1,10 +1,8 @@
/*
* Nextcloud Android client application
*
* @author Andy Scherzinger
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 Nextcloud
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2016 Andy Scherzinger
* SPDX-FileCopyrightText: 2016 Nextcloud
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.adapter;

View File

@ -1,9 +1,8 @@
/*
* Nextcloud Android client application
*
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 Nextcloud.
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2016 Andy Scherzinger
* SPDX-FileCopyrightText: 2016 Nextcloud
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.decoration;

View File

@ -1,16 +1,11 @@
/*
* Nextcloud - Android Client
*
* Nextcloud Android client application
*
* @author Tobias Kaminsky
* @author Chris Narkiewicz <hello@ezaquarii.com>
*
* Copyright (C) 2019 Tobias Kaminsky
* Copyright (C) 2019 Nextcloud GmbH
* Copyright (C) 2020 Chris Narkiewicz <hello@ezaquarii.com>
*
* SPDX-FileCopyrightText: 2023 Alper Ozturk <alper_ozturk@proton.me>
* SPDX-FileCopyrightText: 2020 Chris Narkiewicz <hello@ezaquarii.com>
* SPDX-FileCopyrightText: 2021 Andy Scherzinger <info@andy-scherzinger.de>
* SPDX-FileCopyrightText: 2019 Tobias Kaminsky <tobias@kaminsky.me>
* SPDX-License-Identifier: AGPL-3.0-or-later
*
*/
package com.owncloud.android.ui.dialog

View File

@ -1,10 +1,8 @@
/*
* Nextcloud Android client application
*
* @author Andy Scherzinger
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 Nextcloud
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2016 Andy Scherzinger
* SPDX-FileCopyrightText: 2016 Nextcloud
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.dialog

View File

@ -1,10 +1,8 @@
/*
* Nextcloud Android client application
*
* @author Andy Scherzinger
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2016 Nextcloud
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2016 Andy Scherzinger
* SPDX-FileCopyrightText: 2016 Nextcloud
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.dialog.parcel;

View File

@ -1,19 +1,24 @@
/*
* Nextcloud Android client application
* Nextcloud - Android Client
*
* @author Andy Scherzinger
* @author Bartek Przybylski
* @author David A. Velasco
* @author Chris Narkiewicz <hello@ezaquarii.com>
*
* Copyright (C) 2011 Bartek Przybylski
* Copyright (C) 2015 ownCloud Inc.
* Copyright (C) 2016 Andy Scherzinger
* Copyright (C) 2020 Chris Narkiewicz <hello@ezaquarii.com>
*
* SPDX-License-Identifier: AGPL-3.0-or-later
* SPDX-FileCopyrightText: 2024 Alper Ozturk <alper_ozturk@proton.me>
* SPDX-FileCopyrightText: 2023 ZetaTom
* SPDX-FileCopyrightText: 2022 Álvaro Brey <alvaro@alvarobrey.com>
* SPDX-FileCopyrightText: 2021 TSI-mc
* SPDX-FileCopyrightText: 2020 Infomaniak Network SA
* SPDX-FileCopyrightText: 2020 Joris Bodin <joris.bodin@infomaniak.com>
* SPDX-FileCopyrightText: 2020 Kilian Périsset <kilian.perisset@infomaniak.com>
* SPDX-FileCopyrightText: 2020 Chris Narkiewicz <hello@ezaquarii.com>
* SPDX-FileCopyrightText: 2018-2020 Tobias Kaminsky <tobias@kaminsky.me>
* SPDX-FileCopyrightText: 2017 Harikrishnan Rajan <rhari991@gmail.com>
* SPDX-FileCopyrightText: 2017 Alejandro Morales <aleister09@gmail.com>
* SPDX-FileCopyrightText: 2016 Andy Scherzinger <info@andy-scherzinger.de>
* SPDX-FileCopyrightText: 2016 ownCloud Inc.
* SPDX-FileCopyrightText: 2015 David A. Velasco <dvelasco@solidgear.es>
* SPDX-FileCopyrightText: 2012 Lennart Rosam <lennart@familie-rosam.de>
* SPDX-FileCopyrightText: 2011 Bartosz Przybylski <bart.p.pl@gmail.com>
* SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
*/
package com.owncloud.android.utils;
import android.accounts.AccountManager;