aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/.gitignore16
-rw-r--r--app/CMakeLists.txt16
-rw-r--r--app/build.gradle18
-rw-r--r--app/lint.xml19
-rw-r--r--app/proguard-rules.pro16
-rw-r--r--app/src/main/AndroidManifest.xml19
-rw-r--r--app/src/main/c/exec.c18
-rw-r--r--app/src/main/java/org/pacien/tincapp/activities/BaseActivity.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/activities/ConfigureActivity.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/activities/StartActivity.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/activities/StatusActivity.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/activities/ViewLogActivity.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/commands/Command.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/commands/Executor.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/commands/Tinc.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/commands/TincApp.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/commands/Tincd.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/context/App.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/context/AppInfo.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/context/AppLogger.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/context/AppPaths.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/context/CrashRecorder.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/data/CidrAddress.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/data/TincConfiguration.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/data/VpnInterfaceConfiguration.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/extensions/Android.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/extensions/ApacheConfiguration.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/extensions/Java.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/extensions/VpnServiceBuilder.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/intent/Actions.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/intent/BroadcastMapper.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/utils/PemUtils.kt18
-rw-r--r--app/src/main/java/org/pacien/tincapp/utils/TincKeyring.kt18
-rw-r--r--app/src/main/res/drawable/horizontal_line.xml18
-rw-r--r--app/src/main/res/drawable/ic_build_primary_24dp.xml18
-rw-r--r--app/src/main/res/drawable/ic_help_primary_24dp.xml18
-rw-r--r--app/src/main/res/drawable/ic_pause_circle_filled_primary_24dp.xml18
-rw-r--r--app/src/main/res/drawable/ic_pause_circle_outline_primary_24dp.xml18
-rw-r--r--app/src/main/res/drawable/ic_photo_camera_primary_24dp.xml18
-rw-r--r--app/src/main/res/drawable/ic_receipt_primary_24dp.xml18
-rw-r--r--app/src/main/res/drawable/ic_share_primary_24dp.xml18
-rw-r--r--app/src/main/res/drawable/ic_stop_primary_24dp.xml18
-rw-r--r--app/src/main/res/icon.svg8
-rw-r--r--app/src/main/res/layout/base.xml18
-rw-r--r--app/src/main/res/layout/dialog_decrypt_keys.xml18
-rw-r--r--app/src/main/res/layout/dialog_encrypt_decrypt_keys.xml18
-rw-r--r--app/src/main/res/layout/dialog_network_generate.xml18
-rw-r--r--app/src/main/res/layout/dialog_network_join.xml18
-rw-r--r--app/src/main/res/layout/dialog_node_details.xml18
-rw-r--r--app/src/main/res/layout/fragment_list_item.xml18
-rw-r--r--app/src/main/res/layout/fragment_list_view.xml18
-rw-r--r--app/src/main/res/layout/fragment_network_list_header.xml18
-rw-r--r--app/src/main/res/layout/fragment_network_status_header.xml18
-rw-r--r--app/src/main/res/layout/page_configure.xml18
-rw-r--r--app/src/main/res/layout/page_viewlog.xml18
-rw-r--r--app/src/main/res/menu/menu_base.xml18
-rw-r--r--app/src/main/res/menu/menu_start.xml18
-rw-r--r--app/src/main/res/menu/menu_status.xml18
-rw-r--r--app/src/main/res/menu/menu_viewlog.xml18
-rw-r--r--app/src/main/res/raw/network.conf18
-rw-r--r--app/src/main/res/values-ja/strings.xml18
-rw-r--r--app/src/main/res/values-nb-rNO/strings.xml18
-rw-r--r--app/src/main/res/values-w600dp/dimens.xml18
-rw-r--r--app/src/main/res/values-w960dp/dimens.xml18
-rw-r--r--app/src/main/res/values-zh-rCN/strings.xml18
-rw-r--r--app/src/main/res/values-zh-rHK/strings.xml18
-rw-r--r--app/src/main/res/values-zh-rTW/strings.xml18
-rw-r--r--app/src/main/res/values/colors.xml19
-rw-r--r--app/src/main/res/values/dimens.xml18
-rw-r--r--app/src/main/res/values/strings.xml18
-rw-r--r--app/src/main/res/values/styles.xml18
72 files changed, 1281 insertions, 2 deletions
diff --git a/app/.gitignore b/app/.gitignore
index cfabd20..cf95e35 100644
--- a/app/.gitignore
+++ b/app/.gitignore
@@ -1,2 +1,18 @@
1# tinc app, an Android binding and user interface for the tinc mesh VPN daemon
2# Copyright (C) 2018 Pacien TRAN-GIRARD
3#
4# This program is free software: you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation, either version 3 of the License, or
7# (at your option) any later version.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program. If not, see <https://www.gnu.org/licenses/>.
16
1/build 17/build
2*.apk 18*.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 @@
1# tinc app, an Android binding and user interface for the tinc mesh VPN daemon
2# Copyright (C) 2018 Pacien TRAN-GIRARD
3#
4# This program is free software: you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation, either version 3 of the License, or
7# (at your option) any later version.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program. If not, see <https://www.gnu.org/licenses/>.
16
1cmake_minimum_required(VERSION 3.4.1) 17cmake_minimum_required(VERSION 3.4.1)
2include(ExternalProject) 18include(ExternalProject)
3 19
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 @@
1/*
2 * tinc app, an Android binding and user interface for the tinc mesh VPN daemon
3 * Copyright (C) 2018 Pacien TRAN-GIRARD
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <https://www.gnu.org/licenses/>.
17 */
18
1apply plugin: 'com.android.application' 19apply plugin: 'com.android.application'
2apply plugin: 'kotlin-android' 20apply plugin: 'kotlin-android'
3apply plugin: 'kotlin-android-extensions' 21apply 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 @@
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--
4 * tinc app, an Android binding and user interface for the tinc mesh VPN daemon
5 * Copyright (C) 2018 Pacien TRAN-GIRARD
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
19-->
20
2<lint> 21<lint>
3 <issue id="InvalidPackage"> 22 <issue id="InvalidPackage">
4 <!-- In unused library code --> 23 <!-- In unused library code -->
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 @@
1# tinc app, an Android binding and user interface for the tinc mesh VPN daemon
2# Copyright (C) 2018 Pacien TRAN-GIRARD
3#
4# This program is free software: you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation, either version 3 of the License, or
7# (at your option) any later version.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program. If not, see <https://www.gnu.org/licenses/>.
16
1-keep class org.bouncycastle.** 17-keep class org.bouncycastle.**
2-keep class ch.qos.** { *; } 18-keep class ch.qos.** { *; }
3-keep class org.slf4j.** { *; } 19-keep class org.slf4j.** { *; }