aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
...
* build: upgrade AndroidX activity and fragmentHarsh Shandilya2021-03-111-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade Kotlin and turn on IR compilerHarsh Shandilya2021-03-012-1/+2
| | | | | | | | | Kotlin has been building a new JVM backend for a while now and it is finally in Beta, scheduled to hit stable in Kotlin 1.4.50. This is the time to enable it and report any bugs we hit, before it becomes the default. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade to Gradle 6.8.3Harsh Shandilya2021-02-232-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tunnel: update to go 1.16 and newer apiJason A. Donenfeld2021-02-225-31/+32
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: upgrade to ZXING 4.1.0Harsh Shandilya2021-02-192-2/+5
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tunnel: report git commit as wgVersionJason A. Donenfeld2021-02-1220-21/+36
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* README: move tunnel to maven centralJason A. Donenfeld2021-02-121-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: update MDC to 1.3.0 stable releaseHarsh Shandilya2021-02-111-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade to Kotlin 1.4.30Harsh Shandilya2021-02-111-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade AndroidX libraries to stable versionsHarsh Shandilya2021-02-111-3/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* gradle: fix the distribution checksumHarsh Shandilya2021-02-112-3/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* version: bump1.0.20210211Jason A. Donenfeld2021-02-111-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: add developer information to pom xmlJason A. Donenfeld2021-02-111-0/+4
| | | | | | Otherwise sonatype gets upset. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: update AGP to 4.1.2Jason A. Donenfeld2021-02-111-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* gradle: remove bad checksum from propertiesJason A. Donenfeld2021-02-111-2/+2
| | | | | | | | The hash was wrong, causing crashes. Android studio told me to remove it so I did. I don't quite like that, but I don't know how Harsh came up with the previous hash. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: bump all toolsJason A. Donenfeld2021-02-114-5/+13
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: sign using gpg-agentJason A. Donenfeld2021-02-111-0/+1
| | | | | | This way we don't have to have a separate java universe. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: switch publishing to MavenCentralHarsh Shandilya2021-02-111-4/+9
| | | | | | | | | | | | | | | | | Since MavenCentral requires GPG signed artifacts, we'll need to configure some things on the machine running the deployment. Specifically, these three Gradle properties need to be set (preferably in ~/.gradle/gradle.properties) ``` signing.keyId= // Duh signing.password= // I have absolutely no idea how this will work with HSMs signing.secretKeyRingFile= // $HOME/.gnupg/... you know the deal ``` The BINTRAY_USER and BINTRAY_KEY variables are replaced by SONATYPE_USER and SONATYPE_PASSWORD to better reflect their new contents. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: include org.jetbrains.trove4j from jcenterL.W.Reek2021-02-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | mavenCentral does not have org.jetbrains.trove4j which causes the build to fail. * What went wrong: Execution failed for task ':tunnel:extractReleaseAnnotations'. > Could not resolve all files for configuration ':tunnel:lintClassPath'. > Could not find org.jetbrains.trove4j:trove4j:20160824. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/jetbrains/trove4j/ trove4j/20160824/trove4j-20160824.pom - https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/ trove4j/20160824/trove4j-20160824.pom Required by: project :tunnel > com.android.tools.lint:lint-gradle:27.1.1 > com.android.tools:sdk-common:27.1.1 project :tunnel > com.android.tools.lint:lint-gradle:27.1.1 > com.android.tools.external.com-intellij:intellij-core:27.1.1 Fixes: 13cc4436ca22 ("build: switch to mavenCentral as the main repository") Signed-off-by: L.W.Reek <syphyr@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade to Gradle 6.8.2Harsh Shandilya2021-02-052-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: switch to mavenCentral as the main repositoryHarsh Shandilya2021-02-051-2/+8
| | | | | | Retain JCenter but restrict it the single dependency we require off it Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: update fragment to 1.3.0-rc02Harsh Shandilya2021-02-031-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tunnel: bump libwg-go and use newer logging functionJason A. Donenfeld2021-01-273-47/+45
| | | | | | | We also plug a memory leak. C.CString was calling malloc, and these were never freed. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: sync translationsHarsh Shandilya2021-01-233-31/+236
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* libwg-go: update to go 1.15.6L.W.Reek2021-01-231-3/+3
| | | | Signed-off-by: L.W.Reek <syphyr@gmail.com>
* build: upgrade runtime dependenciesHarsh Shandilya2021-01-231-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* gradle: bump wrapper to v6.8.1Harsh Shandilya2021-01-232-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ClipboardUtils: localize clipboard notification snackJason A. Donenfeld2021-01-012-1/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bump1.0.20201224Jason A. Donenfeld2020-12-241-2/+2
| | | | | | A Christmas eve special. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: bump libwg-goJason A. Donenfeld2020-12-232-10/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: sync with crowdinJason A. Donenfeld2020-12-217-0/+532
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: upgrade to MDC 1.3.0-beta01Harsh Shandilya2020-12-171-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* version: bump1.0.20201216Jason A. Donenfeld2020-12-161-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: bump libwg-goJason A. Donenfeld2020-12-162-18/+22
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: downgrade Jetpack Datastore to 1.0.0-alpha02Harsh Shandilya2020-12-161-1/+1
| | | | | | We're hitting occasional build failures with the newer versions that have not been triaged yet Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade AGP, Kotlin, core-ktx and mdc-androidHarsh Shandilya2020-12-161-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade activity and fragment to latest betasHarsh Shandilya2020-12-161-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade datastore dependencyHarsh Shandilya2020-12-031-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade dependenciesHarsh Shandilya2020-11-302-8/+8
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: show all apps with internet permission in exclusions listHarsh Shandilya2020-11-161-7/+6
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: test for any camera, not just rear oneJason A. Donenfeld2020-11-101-1/+1
| | | | | | | Some folks use chromebooks, which don't have rear cameras. Reported-by: Jay Tuley <jay.tuley@ekonbenefits.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: upgrade runtime dependenciesHarsh Shandilya2020-11-091-5/+5
| | | | | | Updates ConstraintLayout, kotlinx.coroutines, Jetpack DataStore, JUnit and Lifecycle-Runtime-KTX Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: sync translationsHarsh Shandilya2020-11-071-0/+184
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: add task to sync localisations with CrowdinHarsh Shandilya2020-11-071-0/+33
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: switch to Gradle's maven-publish pluginHarsh Shandilya2020-11-073-52/+45
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ToolsInstaller: unbreak cleanupJason A. Donenfeld2020-10-271-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: do not constantly raise toasts when process is opportunistically killedJason A. Donenfeld2020-10-261-2/+5
| | | | | | | | | | | | | | | | | | | | | | Modern Android likes to kill processes to free ram and resources. When kernel-mode WireGuard is in use, this is quite alright with us, since the app doesn't actually need to consume any resources at all in order for the tunnel to run. So, we want to allow and encourage this resource frugality. However, when the quick settings tile is being used or when the app is referenced otherwise, the app will occasionally be restarted, to, for example, repaint the quick settings tile. This is also fine, as the process winds up being short-lived again. But, since process initialization means asking for a new root shell in order to check on kernel-mode WireGuard, this means that Magisk raises a systemwide toast. On some phones, this happens each and every time that the notification shade is pulled down. It's not only annoying but it sometimes obscures other notifications that users want to see, prompting their pulling down of the notification shade in the first place. In order to get rid of this nuisance, just disable these notifications and extraneous logs, so that we don't clutter the system every time that the process is opportunistically killed and restarted. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: clean up some docstring wordingJason A. Donenfeld2020-10-203-3/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: upgrade to Gradle 6.7Harsh Shandilya2020-10-152-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: add crowdin syncer script and use itJason A. Donenfeld2020-10-1413-4/+1017
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>