summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-03-16build: remove JCenter repositoryHarsh Shandilya
Force trove4j to be resolved from the newer coordinates used by AGP 7.0 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-11build: upgrade AndroidX activity and fragmentHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-01build: upgrade Kotlin and turn on IR compilerHarsh Shandilya
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>
2021-02-23build: upgrade to Gradle 6.8.3Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-22tunnel: update to go 1.16 and newer apiJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-19build: upgrade to ZXING 4.1.0Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-12tunnel: report git commit as wgVersionJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-12README: move tunnel to maven centralJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-11build: update MDC to 1.3.0 stable releaseHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-11build: upgrade to Kotlin 1.4.30Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-11build: upgrade AndroidX libraries to stable versionsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-11gradle: fix the distribution checksumHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-11version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-11tunnel: add developer information to pom xmlJason A. Donenfeld
Otherwise sonatype gets upset. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-11build: update AGP to 4.1.2Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-11gradle: remove bad checksum from propertiesJason A. Donenfeld
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>
2021-02-11tunnel: bump all toolsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-11tunnel: sign using gpg-agentJason A. Donenfeld
This way we don't have to have a separate java universe. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-11tunnel: switch publishing to MavenCentralHarsh Shandilya
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>
2021-02-10build: include org.jetbrains.trove4j from jcenterL.W.Reek
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>
2021-02-05build: upgrade to Gradle 6.8.2Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-05build: switch to mavenCentral as the main repositoryHarsh Shandilya
Retain JCenter but restrict it the single dependency we require off it Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-03build: update fragment to 1.3.0-rc02Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-27tunnel: bump libwg-go and use newer logging functionJason A. Donenfeld
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>
2021-01-23strings: sync translationsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-23libwg-go: update to go 1.15.6L.W.Reek
Signed-off-by: L.W.Reek <syphyr@gmail.com>
2021-01-23build: upgrade runtime dependenciesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-23gradle: bump wrapper to v6.8.1Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-01ClipboardUtils: localize clipboard notification snackJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-12-24version: bumpJason A. Donenfeld
A Christmas eve special. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-12-23tunnel: bump libwg-goJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-12-21strings: sync with crowdinJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-12-17build: upgrade to MDC 1.3.0-beta01Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-16version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-12-16tunnel: bump libwg-goJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-12-16build: downgrade Jetpack Datastore to 1.0.0-alpha02Harsh Shandilya
We're hitting occasional build failures with the newer versions that have not been triaged yet Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-16build: upgrade AGP, Kotlin, core-ktx and mdc-androidHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-16build: upgrade activity and fragment to latest betasHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-03build: upgrade datastore dependencyHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-30build: upgrade dependenciesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-16ui: show all apps with internet permission in exclusions listHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-10ui: test for any camera, not just rear oneJason A. Donenfeld
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>
2020-11-09build: upgrade runtime dependenciesHarsh Shandilya
Updates ConstraintLayout, kotlinx.coroutines, Jetpack DataStore, JUnit and Lifecycle-Runtime-KTX Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-07strings: sync translationsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-07build: add task to sync localisations with CrowdinHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-07build: switch to Gradle's maven-publish pluginHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-27ToolsInstaller: unbreak cleanupJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-10-26tunnel: do not constantly raise toasts when process is opportunistically killedJason A. Donenfeld
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>
2020-10-20tunnel: clean up some docstring wordingJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-10-15build: upgrade to Gradle 6.7Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>