Commit 6954b813 authored by Nihar Thakkar's avatar Nihar Thakkar

Revert "Add author, create/modify licence"

This reverts commit ea3e3def
parent ea3e3def
Pipeline #1420 passed with stage
in 7 minutes and 19 seconds
......@@ -6,10 +6,6 @@
* http://www.gnu.org/licenses/gpl.html
*/
/**
* @author Nihar Thakkar
*/
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
......
......@@ -5,9 +5,6 @@
~ which accompanies this distribution, and is available at
~ http://www.gnu.org/licenses/gpl.html
-->
<!-- @author Nihar Thakkar -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="at.bitfire.davdroid"
......
......@@ -42,8 +42,6 @@ import java.util.*
import java.util.logging.Level
/**
* @author Nihar Thakkar
*
* Manages settings of an account.
*
* @throws InvalidAccountException on construction when the account doesn't exist (anymore)
......
......@@ -7,10 +7,6 @@
*/
package at.bitfire.davdroid
/**
* @author Nihar Thakkar
*/
object Constants {
const val DAVDROID_GREEN_RGBA = 0xFF8bc34a.toInt()
......
......@@ -42,10 +42,6 @@ import java.util.*
import java.util.logging.Level
import kotlin.concurrent.thread
/**
* @author Nihar Thakkar
*/
class DavService : Service() {
companion object {
......
......@@ -21,10 +21,6 @@ import at.bitfire.davdroid.model.ServiceDB.Services
import at.bitfire.davdroid.resource.LocalTaskList
import at.bitfire.ical4android.TaskProvider
/**
* @author Nihar Thakkar
*/
class PackageChangedReceiver: BroadcastReceiver() {
@SuppressLint("MissingPermission")
......
......@@ -31,8 +31,6 @@ import java.util.Arrays;
import java.util.List;
/**
* @author Nihar Thakkar
*
* An abstraction of identity providers, containing all necessary info for the demo app.
*/
public class IdentityProvider
......
......@@ -14,10 +14,6 @@ import at.bitfire.dav4android.property.*
import at.bitfire.davdroid.model.ServiceDB.Collections
import java.io.Serializable
/**
* @author Nihar Thakkar
*/
data class CollectionInfo(
val url: String,
......
......@@ -11,10 +11,6 @@ package at.bitfire.davdroid.model
import net.openid.appauth.AuthState
import java.io.Serializable
/**
* @author Nihar Thakkar
*/
class Credentials(
val userName: String? = null,
val password: String? = null,
......
......@@ -19,10 +19,6 @@ import at.bitfire.davdroid.log.Logger
import at.bitfire.davdroid.ui.StartupDialogFragment
import java.util.logging.Level
/**
* @author Nihar Thakkar
*/
class ServiceDB {
object Services {
......
......@@ -31,8 +31,6 @@ import java.util.*
import java.util.logging.Level
/**
* @author Nihar Thakkar
*
* A local address book. Requires an own Android account, because Android manages contacts per
* account and there is no such thing as "address books". So, DAVdroid creates a "DAVdroid
* address book" account for every CardDAV address book. These accounts are bound to a
......
......@@ -23,8 +23,6 @@ import java.util.logging.Level
/**
* @author Nihar Thakkar
*
* Account authenticator for the main DAVdroid account type.
*
* Gets started when a DAVdroid account is removed, too, so it also watches for account removals
......
......@@ -33,10 +33,6 @@ import okhttp3.HttpUrl
import okhttp3.RequestBody
import java.util.logging.Level
/**
* @author Nihar Thakkar
*/
abstract class BaseDavSyncManager<ResourceType: LocalResource<*>, out CollectionType: LocalCollection<ResourceType>, RemoteType: DavCollection>(
context: Context,
settings: ISettings,
......
......@@ -33,8 +33,6 @@ import java.util.*
import java.util.logging.Level
/**
* @author Nihar Thakkar
*
* Synchronization manager for CalDAV collections; handles events (VEVENT)
*/
class CalendarSyncManager(
......
......@@ -25,10 +25,6 @@ import at.bitfire.ical4android.AndroidCalendar
import net.openid.appauth.AuthorizationService
import java.util.logging.Level
/**
* @author Nihar Thakkar
*/
class CalendarsSyncAdapterService: SyncAdapterService() {
override fun syncAdapter() = CalendarsSyncAdapter(this)
......
......@@ -24,10 +24,6 @@ import at.bitfire.davdroid.settings.ISettings
import net.openid.appauth.AuthorizationService
import java.util.logging.Level
/**
* @author Nihar Thakkar
*/
class ContactsSyncAdapterService: SyncAdapterService() {
companion object {
......
......@@ -38,8 +38,6 @@ import java.util.*
import java.util.logging.Level
/**
* @author Nihar Thakkar
*
* Synchronization manager for CardDAV collections; handles contacts and groups.
*
* Group handling differs according to the {@link #groupMethod}. There are two basic methods to
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -26,8 +26,6 @@ import java.util.logging.Level
/**
* @author Nihar Thakkar
*
* Account authenticator for the eelo account type.
*
* Gets started when an eelo account is removed, too, so it also watches for account removals
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -23,10 +23,6 @@ import at.bitfire.davdroid.resource.LocalAddressBook
import at.bitfire.davdroid.settings.ISettings
import java.util.logging.Level
/**
* @author Nihar Thakkar
*/
class EeloAddressBooksSyncAdapterService: SyncAdapterService() {
override fun syncAdapter() = AddressBooksSyncAdapter(this)
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -12,10 +12,6 @@ import android.content.*
import android.os.Bundle
import at.bitfire.davdroid.settings.ISettings
/**
* @author Nihar Thakkar
*/
class EeloAppDataSyncAdapterService : SyncAdapterService() {
override fun syncAdapter() = CalendarsSyncAdapter(this)
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -25,10 +25,6 @@ import at.bitfire.ical4android.AndroidCalendar
import net.openid.appauth.AuthorizationService
import java.util.logging.Level
/**
* @author Nihar Thakkar
*/
class EeloCalendarsSyncAdapterService: SyncAdapterService() {
override fun syncAdapter() = CalendarsSyncAdapter(this)
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -24,10 +24,6 @@ import at.bitfire.davdroid.settings.ISettings
import net.openid.appauth.AuthorizationService
import java.util.logging.Level
/**
* @author Nihar Thakkar
*/
class EeloContactsSyncAdapterService: SyncAdapterService() {
companion object {
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -12,10 +12,6 @@ import android.content.*
import android.os.Bundle
import at.bitfire.davdroid.settings.ISettings
/**
* @author Nihar Thakkar
*/
class EeloEmailSyncAdapterService : SyncAdapterService() {
override fun syncAdapter() = CalendarsSyncAdapter(this)
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -12,10 +12,6 @@ import android.content.*
import android.os.Bundle
import at.bitfire.davdroid.settings.ISettings
/**
* @author Nihar Thakkar
*/
class EeloMediaSyncAdapterService : SyncAdapterService() {
override fun syncAdapter() = CalendarsSyncAdapter(this)
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -12,10 +12,6 @@ import android.content.*
import android.os.Bundle
import at.bitfire.davdroid.settings.ISettings
/**
* @author Nihar Thakkar
*/
class EeloNotesSyncAdapterService : SyncAdapterService() {
override fun syncAdapter() = CalendarsSyncAdapter(this)
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -18,10 +18,6 @@ import android.os.Bundle
import at.bitfire.davdroid.ui.AccountsActivity
import at.bitfire.davdroid.ui.setup.LoginActivity
/**
* @author Nihar Thakkar
*/
class EeloNullAuthenticatorService: Service() {
private lateinit var accountAuthenticator: AccountAuthenticator
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -36,8 +36,6 @@ import org.dmfs.tasks.contract.TaskContract
import java.util.logging.Level
/**
* @author Nihar Thakkar
*
* Synchronization manager for CalDAV collections; handles tasks ({@code VTODO}).
*/
class EeloTasksSyncAdapterService: SyncAdapterService() {
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -27,8 +27,6 @@ import net.openid.appauth.AuthorizationService
/**
* @author Nihar Thakkar
*
* Account authenticator for the Google account type.
*
* Gets started when a Google account is removed, too, so it also watches for account removals
......
/*
* Copyright © Nihar Thakkar (/e/ foundation.
* 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
......@@ -23,10 +23,6 @@ import at.bitfire.davdroid.resource.LocalAddressBook
import at.bitfire.davdroid.settings.ISettings
import java.util.logging.Level
/**
* @author Nihar Thakkar
*/
class GoogleAddressBooksSyncAdapterService: SyncAdapterService() {
override fun syncAdapter() = AddressBooksSyncAdapter(this)
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -25,10 +25,6 @@ import at.bitfire.ical4android.AndroidCalendar
import net.openid.appauth.AuthorizationService
import java.util.logging.Level
/**
* @author Nihar Thakkar
*/
class GoogleCalendarsSyncAdapterService: SyncAdapterService() {
override fun syncAdapter() = CalendarsSyncAdapter(this)
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -24,10 +24,6 @@ import at.bitfire.davdroid.settings.ISettings
import net.openid.appauth.AuthorizationService
import java.util.logging.Level
/**
* @author Nihar Thakkar
*/
class GoogleContactsSyncAdapterService: SyncAdapterService() {
companion object {
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -12,10 +12,6 @@ import android.content.*
import android.os.Bundle
import at.bitfire.davdroid.settings.ISettings
/**
* @author Nihar Thakkar
*/
class GoogleEmailSyncAdapterService : SyncAdapterService() {
override fun syncAdapter() = CalendarsSyncAdapter(this)
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -18,10 +18,6 @@ import android.os.Bundle
import at.bitfire.davdroid.ui.AccountsActivity
import at.bitfire.davdroid.ui.setup.LoginActivity
/**
* @author Nihar Thakkar
*/
class GoogleNullAuthenticatorService: Service() {
private lateinit var accountAuthenticator: AccountAuthenticator
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
......@@ -36,8 +36,6 @@ import org.dmfs.tasks.contract.TaskContract
import java.util.logging.Level
/**
* @author Nihar Thakkar
*
* Synchronization manager for CalDAV collections; handles tasks ({@code VTODO}).
*/
class GoogleTasksSyncAdapterService: SyncAdapterService() {
......
......@@ -46,10 +46,6 @@ import java.util.*
import java.util.logging.Level
import javax.net.ssl.SSLHandshakeException
/**
* @author Nihar Thakkar
*/
abstract class SyncManager<out ResourceType: LocalResource<*>, out CollectionType: LocalCollection<ResourceType>>(
val context: Context,
val settings: ISettings,
......
......@@ -36,8 +36,6 @@ import org.dmfs.tasks.contract.TaskContract
import java.util.logging.Level
/**
* @author Nihar Thakkar
*
* Synchronization manager for CalDAV collections; handles tasks ({@code VTODO}).
*/
class TasksSyncAdapterService: SyncAdapterService() {
......
......@@ -36,8 +36,6 @@ import java.util.*
import java.util.logging.Level
/**
* @author Nihar Thakkar
*
* Synchronization manager for CalDAV collections; handles tasks (VTODO)
*/
class TasksSyncManager(
......
......@@ -47,10 +47,6 @@ import kotlinx.android.synthetic.main.activity_account.*
import java.util.*
import java.util.logging.Level
/**
* @author Nihar Thakkar
*/
class AccountActivity: AppCompatActivity(), Toolbar.OnMenuItemClickListener, PopupMenu.OnMenuItemClickListener, LoaderManager.LoaderCallbacks<AccountActivity.AccountInfo> {
companion object {
......
......@@ -27,10 +27,6 @@ import android.widget.ArrayAdapter
import at.bitfire.davdroid.R
import kotlinx.android.synthetic.main.account_list_item.view.*
/**
* @author Nihar Thakkar
*/
class AccountListFragment: ListFragment(), LoaderManager.LoaderCallbacks<Array<Account>> {
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
......
......@@ -41,10 +41,6 @@ import at.bitfire.ical4android.TaskProvider
import at.bitfire.vcard4android.GroupMethod
import org.apache.commons.lang3.StringUtils
/**
* @author Nihar Thakkar
*/
class AccountSettingsActivity: AppCompatActivity() {
companion object {
......
......@@ -31,10 +31,6 @@ import at.bitfire.davdroid.ui.setup.LoginActivity
import kotlinx.android.synthetic.main.accounts_content.*
import kotlinx.android.synthetic.main.activity_accounts.*
/**
* @author Nihar Thakkar
*/
class AccountsActivity: AppCompatActivity(), NavigationView.OnNavigationItemSelectedListener, LoaderManager.LoaderCallbacks<AccountsActivity.Settings>, SyncStatusObserver {
companion object {
......
......@@ -48,10 +48,6 @@ import java.text.SimpleDateFormat
import java.util.*
import java.util.logging.Level
/**
* @author Nihar Thakkar
*/
class DebugInfoActivity: AppCompatActivity(), LoaderManager.LoaderCallbacks<String> {
companion object {
......
......@@ -15,10 +15,6 @@ import android.view.MenuItem
import at.bitfire.davdroid.R
import at.bitfire.davdroid.settings.ISettings
/**
* @author Nihar Thakkar
*/
class DefaultAccountsDrawerHandler : IAccountsDrawerHandler {
override fun onSettingsChanged(settings: ISettings?, menu: Menu) {
......
......@@ -39,10 +39,6 @@ import at.bitfire.vcard4android.GroupMethod
import kotlinx.android.synthetic.main.login_account_details.view.*
import java.util.logging.Level
/**
* @author Nihar Thakkar
*/
class AccountDetailsFragment : Fragment(), LoaderManager.LoaderCallbacks<CreateSettings> {
companion object {
......
......@@ -32,10 +32,6 @@ import java.util.*
import java.util.logging.Level
import java.util.logging.Logger
/**
* @author Nihar Thakkar
*/
class DavResourceFinder(
val context: Context,
private val loginInfo: LoginInfo
......
......@@ -25,10 +25,6 @@ import at.bitfire.davdroid.ui.DebugInfoActivity
import at.bitfire.davdroid.ui.setup.DavResourceFinder.Configuration
import kotlin.concurrent.thread
/**
* @author Nihar Thakkar
*/
@Suppress("DEPRECATION")
class DetectConfigurationFragment : DialogFragment(), LoaderManager.LoaderCallbacks<Configuration> {
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
*/
package at.bitfire.davdroid.ui.setup
import android.content.Context
......@@ -27,9 +19,6 @@ import java.net.URI
import java.net.URISyntaxException
import java.util.logging.Level
/**
* @author Nihar Thakkar
*/
class EeloAuthenticatorFragment : Fragment() {
......
/*
* Copyright © Nihar Thakkar (/e/ foundation).
* 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
*/
package at.bitfire.davdroid.ui.setup
import android.app.Activity
import android.app.PendingIntent
import android.content.Context
......@@ -37,9 +30,6 @@ import java.util.logging.Level
import android.net.ConnectivityManager
import android.widget.Toast
/**
* @author Nihar Thakkar
*/
class GoogleAuthenticatorFragment : Fragment(), AuthorizationService.TokenResponseCallback {
......
......@@ -13,8 +13,6 @@ import android.support.v7.app.AppCompatActivity