mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 13:15:35 +03:00
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
4488660ed3
commit
afa0cb5f00
9 changed files with 60 additions and 154 deletions
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* SPDX-FileCopyrightText: 2018 Tobias Kaminsky <tobias@kaminsky.me>
|
* SPDX-FileCopyrightText: 2018 Tobias Kaminsky <tobias@kaminsky.me>
|
||||||
* SPDX-FileCopyrightText: 2015 ownCloud Inc.
|
* SPDX-FileCopyrightText: 2015 ownCloud Inc.
|
||||||
* SPDX-License-Identifier: GPL-2.0-only
|
* SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
|
||||||
*/
|
*/
|
||||||
package com.owncloud.android.uiautomator;
|
package com.owncloud.android.uiautomator;
|
||||||
|
|
||||||
|
|
|
@ -1,17 +1,11 @@
|
||||||
/*
|
/*
|
||||||
* ownCloud Android client application
|
* Nextcloud - Android Client
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012 Bartek Przybylski Copyright (C) 2015 ownCloud Inc.
|
* SPDX-FileCopyrightText: 2023 Alper Ozturk <alper_ozturk@proton.me>
|
||||||
*
|
* SPDX-FileCopyrightText: 2020-2022 Tobias Kaminsky <tobias@kaminsky.me>
|
||||||
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
|
* SPDX-FileCopyrightText: 2015 ownCloud Inc.
|
||||||
* License version 2, as published by the Free Software Foundation.
|
* SPDX-FileCopyrightText: 2012 Bartosz Przybylski <bart.p.pl@gmail.com>
|
||||||
*
|
* SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
|
||||||
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
||||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 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/>.
|
|
||||||
*/
|
*/
|
||||||
package com.owncloud.android.ui.dialog
|
package com.owncloud.android.ui.dialog
|
||||||
|
|
||||||
|
|
|
@ -1,24 +1,12 @@
|
||||||
/*
|
/*
|
||||||
* ownCloud Android client application
|
* Nextcloud - Android Client
|
||||||
*
|
|
||||||
* @author Bartek Przybylski
|
|
||||||
* Copyright (C) 2012 Bartek Przybylski
|
|
||||||
* Copyright (C) 2015 ownCloud Inc.
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License version 2,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
*
|
||||||
|
* SPDX-FileCopyrightText: 2023 Alper Ozturk <alper_ozturk@proton.me>
|
||||||
|
* SPDX-FileCopyrightText: 2020-2022 Tobias Kaminsky <tobias@kaminsky.me>
|
||||||
|
* SPDX-FileCopyrightText: 2015 ownCloud Inc.
|
||||||
|
* SPDX-FileCopyrightText: 2012 Bartosz Przybylski <bart.p.pl@gmail.com>
|
||||||
|
* SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.owncloud.android.ui.dialog;
|
package com.owncloud.android.ui.dialog;
|
||||||
|
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
|
@ -58,7 +46,6 @@ import androidx.fragment.app.DialogFragment;
|
||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
import androidx.fragment.app.FragmentTransaction;
|
import androidx.fragment.app.FragmentTransaction;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dialog which will be displayed to user upon keep-in-sync file conflict.
|
* Dialog which will be displayed to user upon keep-in-sync file conflict.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,22 +1,14 @@
|
||||||
/*
|
/*
|
||||||
* ownCloud Android client application
|
* Nextcloud - Android Client
|
||||||
*
|
*
|
||||||
* @author David A. Velasco
|
* SPDX-FileCopyrightText: 2023 Alper Ozturk <alper_ozturk@proton.me>
|
||||||
* Copyright (C) 2015 ownCloud Inc.
|
* SPDX-FileCopyrightText: 2018 Andy Scherzinger <info@andy-scherzinger.de>
|
||||||
*
|
* SPDX-FileCopyrightText: 2018 Jessie Chatham Spencer <jessie@teainspace.com>
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* SPDX-FileCopyrightText: 2016-2022 Tobias Kaminsky <tobias@kaminsky.me>
|
||||||
* it under the terms of the GNU General Public License version 2,
|
* SPDX-FileCopyrightText: 2015 ownCloud Inc.
|
||||||
* as published by the Free Software Foundation.
|
* SPDX-FileCopyrightText: 2015 David A. Velasco <dvelasco@solidgear.es>
|
||||||
*
|
* SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General 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/>.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.owncloud.android.ui.dialog;
|
package com.owncloud.android.ui.dialog;
|
||||||
|
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
|
@ -38,7 +30,6 @@ import androidx.appcompat.app.AlertDialog;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dialog requiring confirmation before removing a collection of given OCFiles.
|
* Dialog requiring confirmation before removing a collection of given OCFiles.
|
||||||
* <p>
|
|
||||||
* Triggers the removal according to the user response.
|
* Triggers the removal according to the user response.
|
||||||
*/
|
*/
|
||||||
public class RemoveFilesDialogFragment extends ConfirmationDialogFragment implements
|
public class RemoveFilesDialogFragment extends ConfirmationDialogFragment implements
|
||||||
|
|
|
@ -1,31 +1,15 @@
|
||||||
/*
|
/*
|
||||||
* ownCloud Android client application
|
* Nextcloud - Android Client
|
||||||
*
|
|
||||||
* @author David A. Velasco
|
|
||||||
* Copyright (C) 2014 ownCloud Inc.
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License version 2,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
*
|
||||||
|
* SPDX-FileCopyrightText: 2023 Alper Ozturk <alper_ozturk@proton.me>
|
||||||
|
* SPDX-FileCopyrightText: 2022 Andy Scherzinger <info@andy-scherzinger.de>
|
||||||
|
* SPDX-FileCopyrightText: 2017-2022 Tobias Kaminsky <tobias@kaminsky.me>
|
||||||
|
* SPDX-FileCopyrightText: 2014 ownCloud Inc.
|
||||||
|
* SPDX-FileCopyrightText: 2014 David A. Velasco <dvelasco@solidgear.es>
|
||||||
|
* SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.owncloud.android.ui.dialog;
|
package com.owncloud.android.ui.dialog;
|
||||||
|
|
||||||
/*
|
|
||||||
* Dialog to input a new name for an {@link OCFile} being renamed.
|
|
||||||
*
|
|
||||||
* Triggers the rename operation.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
import android.content.DialogInterface;
|
import android.content.DialogInterface;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
@ -59,11 +43,9 @@ import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.AlertDialog;
|
import androidx.appcompat.app.AlertDialog;
|
||||||
import androidx.fragment.app.DialogFragment;
|
import androidx.fragment.app.DialogFragment;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dialog to input a new name for a file or folder to rename.
|
* Dialog to input a new name for an {@link OCFile} being renamed.
|
||||||
* <p>
|
* Triggers the rename operation.
|
||||||
* Triggers the rename operation when name is confirmed.
|
|
||||||
*/
|
*/
|
||||||
public class RenameFileDialogFragment
|
public class RenameFileDialogFragment
|
||||||
extends DialogFragment implements DialogInterface.OnClickListener, TextWatcher, Injectable {
|
extends DialogFragment implements DialogInterface.OnClickListener, TextWatcher, Injectable {
|
||||||
|
|
|
@ -1,23 +1,12 @@
|
||||||
/*
|
/*
|
||||||
* ownCloud Android client application
|
* Nextcloud - Android Client
|
||||||
*
|
|
||||||
* @author David A. Velasco
|
|
||||||
* Copyright (C) 2015 ownCloud Inc.
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License version 2,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
*
|
||||||
|
* SPDX-FileCopyrightText: 2017-2018 Andy Scherzinger <info@andy-scherzinger.de>
|
||||||
|
* SPDX-FileCopyrightText: 2017-2018 Tobias Kaminsky <tobias@kaminsky.me>
|
||||||
|
* SPDX-FileCopyrightText: 2015 ownCloud Inc.
|
||||||
|
* SPDX-FileCopyrightText: 2015 David A. Velasco <dvelasco@solidgear.es>
|
||||||
|
* SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.owncloud.android.ui.dialog;
|
package com.owncloud.android.ui.dialog;
|
||||||
|
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
|
|
|
@ -1,22 +1,14 @@
|
||||||
/**
|
/*
|
||||||
* ownCloud Android client application
|
* Nextcloud - Android Client
|
||||||
*
|
|
||||||
* @author masensio
|
|
||||||
* @author David A. Velasco
|
|
||||||
* Copyright (C) 2015 ownCloud Inc.
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License version 2,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
*
|
||||||
|
* SPDX-FileCopyrightText: 2022 Álvaro Brey <alvaro@alvarobrey.com>
|
||||||
|
* SPDX-FileCopyrightText: 2018-2022 Andy Scherzinger <info@andy-scherzinger.de>
|
||||||
|
* SPDX-FileCopyrightText: 2020 Stefan Niedermann <info@niedermann.it>
|
||||||
|
* SPDX-FileCopyrightText: 2018 Tobias Kaminsky <tobias@kaminsky.me>
|
||||||
|
* SPDX-FileCopyrightText: 2015 ownCloud Inc.
|
||||||
|
* SPDX-FileCopyrightText: 2014 David A. Velasco <dvelasco@solidgear.es>
|
||||||
|
* SPDX-FileCopyrightText: 2014 Masensio <masensio@solidgear.es>
|
||||||
|
* SPDX-License-Identifier: GPL-2.0-only AND AGPL-3.0-or-later
|
||||||
*/
|
*/
|
||||||
package com.owncloud.android.ui.dialog;
|
package com.owncloud.android.ui.dialog;
|
||||||
|
|
||||||
|
@ -53,11 +45,9 @@ import androidx.annotation.NonNull;
|
||||||
import androidx.fragment.app.DialogFragment;
|
import androidx.fragment.app.DialogFragment;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dialog to show information about an untrusted certificate and allow the user
|
* Dialog to show information about an untrusted certificate and allow the user to decide trust on it or not.
|
||||||
* to decide trust on it or not.
|
* Abstract implementation of common functionality for different dialogs that get the information about the error and
|
||||||
*
|
* the certificate from different classes.
|
||||||
* Abstract implementation of common functionality for different dialogs that
|
|
||||||
* get the information about the error and the certificate from different classes.
|
|
||||||
*/
|
*/
|
||||||
public class SslUntrustedCertDialog extends DialogFragment implements Injectable {
|
public class SslUntrustedCertDialog extends DialogFragment implements Injectable {
|
||||||
|
|
||||||
|
|
|
@ -1,22 +1,10 @@
|
||||||
/**
|
/*
|
||||||
* ownCloud Android client application
|
* Nextcloud - Android Client
|
||||||
*
|
|
||||||
* Copyright (C) 2015 ownCloud Inc.
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License version 2,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
*
|
||||||
|
* SPDX-FileCopyrightText: 2015 ownCloud Inc.
|
||||||
|
* SPDX-FileCopyrightText: 2013 David A. Velasco <dvelasco@solidgear.es>
|
||||||
|
* SPDX-License-Identifier: GPL-2.0-only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.owncloud.android.ui.dialog;
|
package com.owncloud.android.ui.dialog;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -37,6 +25,4 @@ public class SsoWebView extends WebView {
|
||||||
public boolean onCheckIsTextEditor () {
|
public boolean onCheckIsTextEditor () {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,10 @@
|
||||||
/**
|
/*
|
||||||
* ownCloud Android client application
|
* Nextcloud - Android Client
|
||||||
*
|
|
||||||
* @author David A. Velasco
|
|
||||||
* 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: 2016 David A. Velasco <dvelasco@owncloud.com>
|
||||||
|
* SPDX-FileCopyrightText: 2016 ownCloud GmbH
|
||||||
|
* SPDX-License-Identifier: GPL-2.0-only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.owncloud.android.ui.helpers;
|
package com.owncloud.android.ui.helpers;
|
||||||
|
|
||||||
import android.os.Parcel;
|
import android.os.Parcel;
|
||||||
|
@ -25,7 +12,7 @@ import android.os.Parcelable;
|
||||||
import android.util.SparseBooleanArray;
|
import android.util.SparseBooleanArray;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wraps a SparseBooleanArrayParcelable to allow its serialization and desearialization
|
* Wraps a SparseBooleanArrayParcelable to allow its serialization and de-searialization
|
||||||
* through {@link Parcelable} interface.
|
* through {@link Parcelable} interface.
|
||||||
*/
|
*/
|
||||||
public class SparseBooleanArrayParcelable implements Parcelable {
|
public class SparseBooleanArrayParcelable implements Parcelable {
|
||||||
|
|
Loading…
Reference in a new issue