From 7897c007a4c1f9a4ffa8e676fb8d87d7e74bbafc Mon Sep 17 00:00:00 2001 From: pacien Date: Wed, 1 Aug 2018 13:35:52 +0200 Subject: Succumb to paranoia --- app/.gitignore | 16 ++++++++++++++++ app/CMakeLists.txt | 16 ++++++++++++++++ app/build.gradle | 18 ++++++++++++++++++ app/lint.xml | 19 +++++++++++++++++++ app/proguard-rules.pro | 16 ++++++++++++++++ app/src/main/AndroidManifest.xml | 19 +++++++++++++++++++ app/src/main/c/exec.c | 18 ++++++++++++++++++ .../org/pacien/tincapp/activities/BaseActivity.kt | 18 ++++++++++++++++++ .../pacien/tincapp/activities/ConfigureActivity.kt | 18 ++++++++++++++++++ .../org/pacien/tincapp/activities/StartActivity.kt | 18 ++++++++++++++++++ .../org/pacien/tincapp/activities/StatusActivity.kt | 18 ++++++++++++++++++ .../org/pacien/tincapp/activities/ViewLogActivity.kt | 18 ++++++++++++++++++ .../main/java/org/pacien/tincapp/commands/Command.kt | 18 ++++++++++++++++++ .../main/java/org/pacien/tincapp/commands/Executor.kt | 18 ++++++++++++++++++ app/src/main/java/org/pacien/tincapp/commands/Tinc.kt | 18 ++++++++++++++++++ .../main/java/org/pacien/tincapp/commands/TincApp.kt | 18 ++++++++++++++++++ .../main/java/org/pacien/tincapp/commands/Tincd.kt | 18 ++++++++++++++++++ app/src/main/java/org/pacien/tincapp/context/App.kt | 18 ++++++++++++++++++ .../main/java/org/pacien/tincapp/context/AppInfo.kt | 18 ++++++++++++++++++ .../main/java/org/pacien/tincapp/context/AppLogger.kt | 18 ++++++++++++++++++ .../main/java/org/pacien/tincapp/context/AppPaths.kt | 18 ++++++++++++++++++ .../java/org/pacien/tincapp/context/CrashRecorder.kt | 18 ++++++++++++++++++ .../main/java/org/pacien/tincapp/data/CidrAddress.kt | 18 ++++++++++++++++++ .../java/org/pacien/tincapp/data/TincConfiguration.kt | 18 ++++++++++++++++++ .../pacien/tincapp/data/VpnInterfaceConfiguration.kt | 18 ++++++++++++++++++ .../java/org/pacien/tincapp/extensions/Android.kt | 18 ++++++++++++++++++ .../pacien/tincapp/extensions/ApacheConfiguration.kt | 18 ++++++++++++++++++ .../main/java/org/pacien/tincapp/extensions/Java.kt | 18 ++++++++++++++++++ .../pacien/tincapp/extensions/VpnServiceBuilder.kt | 18 ++++++++++++++++++ .../main/java/org/pacien/tincapp/intent/Actions.kt | 18 ++++++++++++++++++ .../java/org/pacien/tincapp/intent/BroadcastMapper.kt | 18 ++++++++++++++++++ .../java/org/pacien/tincapp/service/TincVpnService.kt | 18 ++++++++++++++++++ .../main/java/org/pacien/tincapp/utils/PemUtils.kt | 18 ++++++++++++++++++ .../main/java/org/pacien/tincapp/utils/TincKeyring.kt | 18 ++++++++++++++++++ app/src/main/res/drawable/horizontal_line.xml | 18 ++++++++++++++++++ app/src/main/res/drawable/ic_build_primary_24dp.xml | 18 ++++++++++++++++++ app/src/main/res/drawable/ic_help_primary_24dp.xml | 18 ++++++++++++++++++ .../drawable/ic_pause_circle_filled_primary_24dp.xml | 18 ++++++++++++++++++ .../drawable/ic_pause_circle_outline_primary_24dp.xml | 18 ++++++++++++++++++ .../res/drawable/ic_photo_camera_primary_24dp.xml | 18 ++++++++++++++++++ app/src/main/res/drawable/ic_receipt_primary_24dp.xml | 18 ++++++++++++++++++ app/src/main/res/drawable/ic_share_primary_24dp.xml | 18 ++++++++++++++++++ app/src/main/res/drawable/ic_stop_primary_24dp.xml | 18 ++++++++++++++++++ app/src/main/res/icon.svg | 8 +++++++- app/src/main/res/layout/base.xml | 18 ++++++++++++++++++ app/src/main/res/layout/dialog_decrypt_keys.xml | 18 ++++++++++++++++++ .../main/res/layout/dialog_encrypt_decrypt_keys.xml | 18 ++++++++++++++++++ app/src/main/res/layout/dialog_network_generate.xml | 18 ++++++++++++++++++ app/src/main/res/layout/dialog_network_join.xml | 18 ++++++++++++++++++ app/src/main/res/layout/dialog_node_details.xml | 18 ++++++++++++++++++ app/src/main/res/layout/fragment_list_item.xml | 18 ++++++++++++++++++ app/src/main/res/layout/fragment_list_view.xml | 18 ++++++++++++++++++ .../main/res/layout/fragment_network_list_header.xml | 18 ++++++++++++++++++ .../res/layout/fragment_network_status_header.xml | 18 ++++++++++++++++++ app/src/main/res/layout/page_configure.xml | 18 ++++++++++++++++++ app/src/main/res/layout/page_viewlog.xml | 18 ++++++++++++++++++ app/src/main/res/menu/menu_base.xml | 18 ++++++++++++++++++ app/src/main/res/menu/menu_start.xml | 18 ++++++++++++++++++ app/src/main/res/menu/menu_status.xml | 18 ++++++++++++++++++ app/src/main/res/menu/menu_viewlog.xml | 18 ++++++++++++++++++ app/src/main/res/raw/network.conf | 18 +++++++++++++++++- app/src/main/res/values-ja/strings.xml | 18 ++++++++++++++++++ app/src/main/res/values-nb-rNO/strings.xml | 18 ++++++++++++++++++ app/src/main/res/values-w600dp/dimens.xml | 18 ++++++++++++++++++ app/src/main/res/values-w960dp/dimens.xml | 18 ++++++++++++++++++ app/src/main/res/values-zh-rCN/strings.xml | 18 ++++++++++++++++++ app/src/main/res/values-zh-rHK/strings.xml | 18 ++++++++++++++++++ app/src/main/res/values-zh-rTW/strings.xml | 18 ++++++++++++++++++ app/src/main/res/values/colors.xml | 19 +++++++++++++++++++ app/src/main/res/values/dimens.xml | 18 ++++++++++++++++++ app/src/main/res/values/strings.xml | 18 ++++++++++++++++++ app/src/main/res/values/styles.xml | 18 ++++++++++++++++++ 72 files changed, 1281 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/.gitignore b/app/.gitignore index cfabd20..cf95e35 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -1,2 +1,18 @@ +# tinc app, an Android binding and user interface for the tinc mesh VPN daemon +# Copyright (C) 2018 Pacien TRAN-GIRARD +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + /build *.apk diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 8074662..a5bf55c 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -1,3 +1,19 @@ +# tinc app, an Android binding and user interface for the tinc mesh VPN daemon +# Copyright (C) 2018 Pacien TRAN-GIRARD +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + cmake_minimum_required(VERSION 3.4.1) include(ExternalProject) diff --git a/app/build.gradle b/app/build.gradle index edb3699..4021040 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' diff --git a/app/lint.xml b/app/lint.xml index 04dadc1..d083bb9 100644 --- a/app/lint.xml +++ b/app/lint.xml @@ -1,4 +1,23 @@ + + + diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 6027bd7..05449cd 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -1,3 +1,19 @@ +# tinc app, an Android binding and user interface for the tinc mesh VPN daemon +# Copyright (C) 2018 Pacien TRAN-GIRARD +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + -keep class org.bouncycastle.** -keep class ch.qos.** { *; } -keep class org.slf4j.** { *; } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 5e92405..ef446cd 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,4 +1,23 @@ + + + diff --git a/app/src/main/c/exec.c b/app/src/main/c/exec.c index 5a76177..2710376 100644 --- a/app/src/main/c/exec.c +++ b/app/src/main/c/exec.c @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include #include diff --git a/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt b/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt index bad2f8b..9581cb3 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.activities import android.app.ProgressDialog diff --git a/app/src/main/java/org/pacien/tincapp/activities/ConfigureActivity.kt b/app/src/main/java/org/pacien/tincapp/activities/ConfigureActivity.kt index 5f6a3fe..6a7b4fe 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/ConfigureActivity.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/ConfigureActivity.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.activities import android.content.Intent diff --git a/app/src/main/java/org/pacien/tincapp/activities/StartActivity.kt b/app/src/main/java/org/pacien/tincapp/activities/StartActivity.kt index f5737a4..987ee82 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/StartActivity.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/StartActivity.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.activities import android.app.Activity diff --git a/app/src/main/java/org/pacien/tincapp/activities/StatusActivity.kt b/app/src/main/java/org/pacien/tincapp/activities/StatusActivity.kt index eb6989d..3ffc108 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/StatusActivity.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/StatusActivity.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.activities import android.app.ProgressDialog diff --git a/app/src/main/java/org/pacien/tincapp/activities/ViewLogActivity.kt b/app/src/main/java/org/pacien/tincapp/activities/ViewLogActivity.kt index 5dc1a36..6f3ea81 100644 --- a/app/src/main/java/org/pacien/tincapp/activities/ViewLogActivity.kt +++ b/app/src/main/java/org/pacien/tincapp/activities/ViewLogActivity.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.activities import android.content.Intent diff --git a/app/src/main/java/org/pacien/tincapp/commands/Command.kt b/app/src/main/java/org/pacien/tincapp/commands/Command.kt index ccb5f10..0b5380f 100644 --- a/app/src/main/java/org/pacien/tincapp/commands/Command.kt +++ b/app/src/main/java/org/pacien/tincapp/commands/Command.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.commands import java.util.* diff --git a/app/src/main/java/org/pacien/tincapp/commands/Executor.kt b/app/src/main/java/org/pacien/tincapp/commands/Executor.kt index 96e48b9..a4e2bd5 100644 --- a/app/src/main/java/org/pacien/tincapp/commands/Executor.kt +++ b/app/src/main/java/org/pacien/tincapp/commands/Executor.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.commands import android.os.AsyncTask diff --git a/app/src/main/java/org/pacien/tincapp/commands/Tinc.kt b/app/src/main/java/org/pacien/tincapp/commands/Tinc.kt index 0f4c0a4..a538fb2 100644 --- a/app/src/main/java/org/pacien/tincapp/commands/Tinc.kt +++ b/app/src/main/java/org/pacien/tincapp/commands/Tinc.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.commands import java8.util.concurrent.CompletableFuture diff --git a/app/src/main/java/org/pacien/tincapp/commands/TincApp.kt b/app/src/main/java/org/pacien/tincapp/commands/TincApp.kt index 53e91db..ea56017 100644 --- a/app/src/main/java/org/pacien/tincapp/commands/TincApp.kt +++ b/app/src/main/java/org/pacien/tincapp/commands/TincApp.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.commands import org.pacien.tincapp.R diff --git a/app/src/main/java/org/pacien/tincapp/commands/Tincd.kt b/app/src/main/java/org/pacien/tincapp/commands/Tincd.kt index 9950b49..52715cd 100644 --- a/app/src/main/java/org/pacien/tincapp/commands/Tincd.kt +++ b/app/src/main/java/org/pacien/tincapp/commands/Tincd.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.commands import org.pacien.tincapp.context.AppPaths diff --git a/app/src/main/java/org/pacien/tincapp/context/App.kt b/app/src/main/java/org/pacien/tincapp/context/App.kt index d806659..b70a01f 100644 --- a/app/src/main/java/org/pacien/tincapp/context/App.kt +++ b/app/src/main/java/org/pacien/tincapp/context/App.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.context import android.app.Application diff --git a/app/src/main/java/org/pacien/tincapp/context/AppInfo.kt b/app/src/main/java/org/pacien/tincapp/context/AppInfo.kt index 2feca05..a95e790 100644 --- a/app/src/main/java/org/pacien/tincapp/context/AppInfo.kt +++ b/app/src/main/java/org/pacien/tincapp/context/AppInfo.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.context import android.os.Build diff --git a/app/src/main/java/org/pacien/tincapp/context/AppLogger.kt b/app/src/main/java/org/pacien/tincapp/context/AppLogger.kt index e240e70..3eae9de 100644 --- a/app/src/main/java/org/pacien/tincapp/context/AppLogger.kt +++ b/app/src/main/java/org/pacien/tincapp/context/AppLogger.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.context import ch.qos.logback.classic.Logger diff --git a/app/src/main/java/org/pacien/tincapp/context/AppPaths.kt b/app/src/main/java/org/pacien/tincapp/context/AppPaths.kt index 3b84a69..2c9cfb1 100644 --- a/app/src/main/java/org/pacien/tincapp/context/AppPaths.kt +++ b/app/src/main/java/org/pacien/tincapp/context/AppPaths.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.context import android.os.Environment diff --git a/app/src/main/java/org/pacien/tincapp/context/CrashRecorder.kt b/app/src/main/java/org/pacien/tincapp/context/CrashRecorder.kt index 1e8556a..ddfb901 100644 --- a/app/src/main/java/org/pacien/tincapp/context/CrashRecorder.kt +++ b/app/src/main/java/org/pacien/tincapp/context/CrashRecorder.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.context import org.slf4j.Logger diff --git a/app/src/main/java/org/pacien/tincapp/data/CidrAddress.kt b/app/src/main/java/org/pacien/tincapp/data/CidrAddress.kt index 5d966c4..fb16c8a 100644 --- a/app/src/main/java/org/pacien/tincapp/data/CidrAddress.kt +++ b/app/src/main/java/org/pacien/tincapp/data/CidrAddress.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.data import org.apache.commons.configuration2.ex.ConversionException diff --git a/app/src/main/java/org/pacien/tincapp/data/TincConfiguration.kt b/app/src/main/java/org/pacien/tincapp/data/TincConfiguration.kt index eb55d2d..7e62c88 100644 --- a/app/src/main/java/org/pacien/tincapp/data/TincConfiguration.kt +++ b/app/src/main/java/org/pacien/tincapp/data/TincConfiguration.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.data import org.apache.commons.configuration2.Configuration diff --git a/app/src/main/java/org/pacien/tincapp/data/VpnInterfaceConfiguration.kt b/app/src/main/java/org/pacien/tincapp/data/VpnInterfaceConfiguration.kt index fec9a8e..0b73ee6 100644 --- a/app/src/main/java/org/pacien/tincapp/data/VpnInterfaceConfiguration.kt +++ b/app/src/main/java/org/pacien/tincapp/data/VpnInterfaceConfiguration.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.data import org.apache.commons.configuration2.Configuration diff --git a/app/src/main/java/org/pacien/tincapp/extensions/Android.kt b/app/src/main/java/org/pacien/tincapp/extensions/Android.kt index 2269736..85d78e3 100644 --- a/app/src/main/java/org/pacien/tincapp/extensions/Android.kt +++ b/app/src/main/java/org/pacien/tincapp/extensions/Android.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.extensions import android.widget.ArrayAdapter diff --git a/app/src/main/java/org/pacien/tincapp/extensions/ApacheConfiguration.kt b/app/src/main/java/org/pacien/tincapp/extensions/ApacheConfiguration.kt index 969c2c8..28dab98 100644 --- a/app/src/main/java/org/pacien/tincapp/extensions/ApacheConfiguration.kt +++ b/app/src/main/java/org/pacien/tincapp/extensions/ApacheConfiguration.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.extensions import org.apache.commons.configuration2.Configuration diff --git a/app/src/main/java/org/pacien/tincapp/extensions/Java.kt b/app/src/main/java/org/pacien/tincapp/extensions/Java.kt index e51e9db..bd03353 100644 --- a/app/src/main/java/org/pacien/tincapp/extensions/Java.kt +++ b/app/src/main/java/org/pacien/tincapp/extensions/Java.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.extensions import java8.util.concurrent.CompletableFuture diff --git a/app/src/main/java/org/pacien/tincapp/extensions/VpnServiceBuilder.kt b/app/src/main/java/org/pacien/tincapp/extensions/VpnServiceBuilder.kt index f11115e..943bc6f 100644 --- a/app/src/main/java/org/pacien/tincapp/extensions/VpnServiceBuilder.kt +++ b/app/src/main/java/org/pacien/tincapp/extensions/VpnServiceBuilder.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.extensions import android.net.VpnService diff --git a/app/src/main/java/org/pacien/tincapp/intent/Actions.kt b/app/src/main/java/org/pacien/tincapp/intent/Actions.kt index c6e0fec..b90ae3e 100644 --- a/app/src/main/java/org/pacien/tincapp/intent/Actions.kt +++ b/app/src/main/java/org/pacien/tincapp/intent/Actions.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.intent import android.net.Uri diff --git a/app/src/main/java/org/pacien/tincapp/intent/BroadcastMapper.kt b/app/src/main/java/org/pacien/tincapp/intent/BroadcastMapper.kt index 1382f0a..f9529c6 100644 --- a/app/src/main/java/org/pacien/tincapp/intent/BroadcastMapper.kt +++ b/app/src/main/java/org/pacien/tincapp/intent/BroadcastMapper.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.intent import android.content.BroadcastReceiver diff --git a/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt b/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt index ec3e774..99100ea 100644 --- a/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt +++ b/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.service import android.app.Service diff --git a/app/src/main/java/org/pacien/tincapp/utils/PemUtils.kt b/app/src/main/java/org/pacien/tincapp/utils/PemUtils.kt index b75193d..915caff 100644 --- a/app/src/main/java/org/pacien/tincapp/utils/PemUtils.kt +++ b/app/src/main/java/org/pacien/tincapp/utils/PemUtils.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.utils import org.bouncycastle.openssl.PEMException diff --git a/app/src/main/java/org/pacien/tincapp/utils/TincKeyring.kt b/app/src/main/java/org/pacien/tincapp/utils/TincKeyring.kt index 422763f..6468d24 100644 --- a/app/src/main/java/org/pacien/tincapp/utils/TincKeyring.kt +++ b/app/src/main/java/org/pacien/tincapp/utils/TincKeyring.kt @@ -1,3 +1,21 @@ +/* + * tinc app, an Android binding and user interface for the tinc mesh VPN daemon + * Copyright (C) 2018 Pacien TRAN-GIRARD + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.pacien.tincapp.utils import android.os.ParcelFileDescriptor diff --git a/app/src/main/res/drawable/horizontal_line.xml b/app/src/main/res/drawable/horizontal_line.xml index 76386bb..b32db1c 100644 --- a/app/src/main/res/drawable/horizontal_line.xml +++ b/app/src/main/res/drawable/horizontal_line.xml @@ -1,3 +1,21 @@ + + diff --git a/app/src/main/res/drawable/ic_build_primary_24dp.xml b/app/src/main/res/drawable/ic_build_primary_24dp.xml index fec2a3d..fea960b 100644 --- a/app/src/main/res/drawable/ic_build_primary_24dp.xml +++ b/app/src/main/res/drawable/ic_build_primary_24dp.xml @@ -1,3 +1,21 @@ + + . +--> + . +--> + . +--> + . +--> + . +--> + . +--> + . +--> + . + * Licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported License for non-commercial projects. + * Commercial license granted to tinc app. +--> + @@ -52,4 +58,4 @@ stroke-width="1"> - \ No newline at end of file + diff --git a/app/src/main/res/layout/base.xml b/app/src/main/res/layout/base.xml index 710c002..6370f39 100644 --- a/app/src/main/res/layout/base.xml +++ b/app/src/main/res/layout/base.xml @@ -1,3 +1,21 @@ + + . +--> + . +--> + . +--> + . +--> + . +--> +