Skip to content

Commit 494f307

Browse files
committed
Merged in develop (pull request #15)
Develop
2 parents cbcc30c + f5bc2b1 commit 494f307

194 files changed

Lines changed: 847 additions & 762 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CONTRIBUTING.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,31 @@ Follow these steps when you want to submit a pull request:
3232

3333
1. Go over installation guides in the [README](/README.md#installation)
3434
2. Follow all instructions in the [PR template](/.github/PULL_REQUEST_TEMPLATE.md)
35-
3. Update the [README](/README.md) file with details of changes if applicable
35+
3. Update the [README](/README.md) file with details of changes if applicable
36+
37+
<a name="git"></a>
38+
## Git Workflow
39+
40+
This project is using [Gitflow Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow).
41+
42+
### Branch naming guidelines
43+
44+
Naming for branches is made with following structure:
45+
46+
```
47+
<type>/<issue ID>-<short-summary-or-description>
48+
```
49+
50+
In case when there is no issue:
51+
52+
```
53+
<type>/<short-summary-or-description>
54+
```
55+
56+
Where <type> can be `epic`, `feature`, `task`, `bugfix`, `hotfix` or `release`.
57+
58+
### Branches
59+
60+
`master` - The production branch. Clone or fork this repository for the latest copy.
61+
`develop` - The active development branch. Pull requests should be directed to this branch.
62+
`<feature branch>` - The feature of fix branch. Pull requests should be made from this branch into `develop` brach.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Please check if your PR fulfills the following requirements:
1717

1818
- [ ] I have read the CONTRIBUTING.md doc
1919
- [ ] I have added necessary documentation (if appropriate)
20+
- [ ] The Git workflow follows our guidelines: CONTRIBUTING.md#git
2021

2122
## What is the current behavior?
2223

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@
99
/captures
1010
.externalNativeBuild
1111
keystore.properties
12-
/keystore.properties
12+
/keystore.properties
13+
/app/storeProduction
14+
/app/siteProduction

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
##Version 1.65 - 2020-02-27
6+
7+
[NEW] Option to enable/disable sending crash reports
8+
[IMPROVED] Migrated Android SDK to androidx
9+
[IMPROVED] Logic for start on boot. Feature is now disabled for Android 10, due to OS restrictions. Please use Always-on VPN
10+
[IMPROVED] Logic of all services for Android 10
11+
[IMPROVED] WireGuard library was upgraded to the latest version
12+
[IMPROVED] Subscription logic for edge cases
13+
[IMPROVED] Overall stability
14+
[FIXED] Network protection for some cases
15+
[FIXED] Always-on VPN for Android 10
16+
[FIXED] Logic for sending crashes for Android 10
17+
[FIXED] UI issues for devices with small screen
18+
519
##Version 1.64 - 2020-01-20
620

721
[IMPROVED] Overall stability

app/build.gradle

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ apply plugin: 'io.sentry.android.gradle'
33
apply plugin: 'kotlin-android'
44

55
def keystoreProperties = new Properties()
6-
keystoreProperties.load(new FileInputStream(rootProject.file("keystore.properties")))
6+
if (new File("keystore.properties").exists()) {
7+
keystoreProperties.load(new FileInputStream(rootProject.file("keystore.properties")))
8+
} else {
9+
keystoreProperties.load(new FileInputStream(rootProject.file("fakekeystore.properties")))
10+
}
711

812
android {
913
signingConfigs {
@@ -101,12 +105,12 @@ dependencies {
101105
implementation 'com.google.code.gson:gson:2.8.5'
102106
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
103107

104-
implementation "com.android.support:appcompat-v7:$supportLibsVersion"
105-
implementation "com.android.support:support-annotations:$supportLibsVersion"
106-
implementation "com.android.support:support-v4:$supportLibsVersion"
107-
implementation "com.android.support:design:$supportLibsVersion"
108-
implementation "com.android.support:cardview-v7:$supportLibsVersion"
109-
implementation "com.android.support:preference-v14:$supportLibsVersion"
108+
implementation 'androidx.appcompat:appcompat:1.1.0'
109+
implementation 'androidx.annotation:annotation:1.1.0'
110+
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
111+
implementation 'com.google.android.material:material:1.1.0'
112+
implementation 'androidx.cardview:cardview:1.0.0'
113+
implementation 'androidx.legacy:legacy-preference-v14:1.0.0'
110114

111115
//Used to support stream API from JAVA8 and JAVA9
112116
implementation "net.sourceforge.streamsupport:android-retrofuture:$streamsupportVersion"
@@ -117,8 +121,9 @@ dependencies {
117121

118122
//For crash logging
119123
implementation 'io.sentry:sentry-android-core:2.0.+'
124+
120125
//Powerful library for logging
121-
implementation 'org.slf4j:slf4j-api:1.7.0'
126+
implementation 'org.slf4j:slf4j-api:1.7.24'
122127
implementation 'org.slf4j:jul-to-slf4j:1.7.0'
123128
implementation 'com.github.tony19:logback-android:2.0.0'
124129

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<application
1818
android:name=".IVPNApplication"
1919
android:allowBackup="false"
20-
android:debuggable="true"
20+
android:debuggable="false"
2121
android:icon="@mipmap/ic_launcher"
2222
android:label="@string/app_name"
2323
android:largeHeap="true"
@@ -183,7 +183,7 @@
183183
</receiver>
184184

185185
<provider
186-
android:name="android.support.v4.content.FileProvider"
186+
android:name="androidx.core.content.FileProvider"
187187
android:authorities="net.ivpn.client"
188188
android:exported="false"
189189
android:grantUriPermissions="true">

app/src/main/java/com/todtenkopf/mvvm/Command.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.todtenkopf.mvvm;
22

3-
import android.databinding.BaseObservable;
4-
import android.databinding.Bindable;
3+
import androidx.databinding.BaseObservable;
4+
import androidx.databinding.Bindable;
55

66
public abstract class Command extends BaseObservable
77
{

app/src/main/java/com/todtenkopf/mvvm/MenuCommandBindings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.todtenkopf.mvvm;
22

3-
import android.databinding.Observable;
3+
import androidx.databinding.Observable;
44
import android.view.Menu;
55
import android.view.MenuItem;
66

app/src/main/java/com/todtenkopf/mvvm/ViewModelActivity.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package com.todtenkopf.mvvm;
22

33
import android.os.Bundle;
4-
import android.support.annotation.Nullable;
5-
import android.support.annotation.VisibleForTesting;
6-
import android.support.v7.app.AppCompatActivity;
4+
import androidx.annotation.Nullable;
5+
import androidx.annotation.VisibleForTesting;
6+
import androidx.appcompat.app.AppCompatActivity;
77
import android.view.Menu;
88
import android.view.MenuItem;
99

app/src/main/java/com/wireguard/android/backend/GoBackend.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import android.content.Intent;
1212
import android.content.pm.PackageManager;
1313
import android.os.ParcelFileDescriptor;
14-
import android.support.annotation.Nullable;
14+
import androidx.annotation.Nullable;
1515

1616
import com.wireguard.android.config.Config;
1717
import com.wireguard.android.config.InetNetwork;

0 commit comments

Comments
 (0)