1528 Commits
Author SHA1 Message Date
Hermes Agent 9cc4259fea Add Gitea Actions runner docker-compose setup 2026-09-12 21:56:45 +00:00
Hermes Agent b632bc755b F-Droid inclusion policy compliance fixes
- Update all 36 locale strings to 'Wire VPN' (fork translation requirement)
- Disable auto-updater on F-Droid builds (no binary downloads without consent)
- Updater checks if installed via F-Droid and skips update monitoring
2026-09-12 20:15:20 +00:00
Hermes Agent 9866a31129 Move CI workflow to .gitea/workflows for Gitea Actions
release / build (release) Canceled after 0s
v1.0.20260912-test
2026-09-12 19:44:32 +00:00
Hermes (for frank) 99c66bd52c CI: ensure patch on runner (vendored shim), fallback to artifacts branch, master target 2026-09-12 17:11:37 +00:00
frank bbd1034c69 remove test_upload.txt 2026-09-12 19:09:23 +02:00
frank 5372b44ccf test 2026-09-12 19:09:06 +02:00
Hermes (for frank) 646e617476 Rebrand WireGuard Android to Wire VPN
release / build (release) Canceled after 0s
- Rename package and all Java/Kotlin sources: com.wireguard.android -> page.onram.wirevpn
- applicationId -> page.onram.wirevpn, version 1.0.20260910 (520)
- New launcher icon: dark circle, white padlock with bold W
- App name 'Wire VPN' in all locales; remove donate preference
- Release signing from KEYSTORE_* env vars (CI)
- F-Droid v2: scripts/fdroid_metadata.py
- GitHub/Gitea Actions workflow: auto-build signed APK + F-Droid
  metadata/signature on every new release, attach to the release
- README + NOTICE (license inventory)
v1.0.20260910
2026-09-12 17:04:15 +00:00
Jason A. Donenfeld e7b3a3c118 gradle: remove unused settings
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2026-03-17 01:50:01 +01:00
Jason A. Donenfeld 0856e2ecf7 version: bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2026-03-15 22:26:00 +01:00
Jason A. Donenfeld ba7edf3e3e ui: remove use of deprecated bundleOf
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2026-03-15 22:25:56 +01:00
Jason A. Donenfeld 3b1673584b Updater: discourage copy and pasting
When other projects copy and paste all of WireGuard and then tweak it,
some idiots leave the updater code in, resulting in useless requests
going to my server. In some cases this has even resulted in a DoS
because of further confusions.

To cut down on this, hardcode the usual package name prefix, and abort
with a really silly exception if it doesn't match. This will lead copy
and pasters to this comment, which hopefully they read.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2026-03-15 22:10:40 +01:00
L.W.ReekandJason A. Donenfeld ecc3c0a61c tunnel: uatch minSdk between tunnel and ui
Signed-off-by: L.W.Reek <syphyr@gmail.com>
[Jason: remove else clause]
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2026-03-15 19:24:14 +01:00
Jason A. Donenfeld 176dc18dba gradle: update to agp 9.1
The legacy kapt thing is a bummer. We'll need to move to ksp at some
point.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2026-03-15 19:20:29 +01:00
Jason A. Donenfeld cc3f417d76 Application: include appid in user agent
This will help make it more clear which app is doing what.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2026-03-10 00:49:28 +01:00
Jason A. Donenfeld 1d80cde609 res: remove untranslatable string from hindi translation
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2026-03-10 00:25:21 +01:00
Jason A. Donenfeld 45b12811b0 Updater: don't immediately retry if check fails
If something goes wrong, maybe it's best not to DoS the update server.
Instead back off gradually and then go into the usual sleep loop.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2026-03-10 00:17:22 +01:00
Jason A. Donenfeld 09b75c2bd3 version: bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2026-01-02 03:37:18 +01:00
Jason A. Donenfeld 2a01764282 tunnel: also bump the minsdk of this module
Fixes: 3b6ab660 ("ui: raise min SDK to 24")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2026-01-02 03:34:42 +01:00
Jason A. Donenfeld 3f30378c73 tunnel: newIncompleteFuture requires API 31
Fixes: 3b6ab660 ("ui: raise min SDK to 24")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2026-01-02 03:33:27 +01:00
Jason A. Donenfeld a494c62bd9 version: bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-12-31 13:11:08 +01:00
Jason A. Donenfeld 743b28bb85 Updater: don't compile in updater when it can't be used
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-12-31 13:06:45 +01:00
Jason A. Donenfeld 1c0b211bd6 LogViewerActivity: remove unnecessary ?.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-12-31 12:23:59 +01:00
Jason A. Donenfeld 5e88cd24c5 build: upgrade all dependencies
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-12-31 12:15:42 +01:00
Harsh ShandilyaandJason A. Donenfeld 3b6ab660a9 ui: raise min SDK to 24
The difference between the usage of 21 and 24 is not big enough to hold
on to all the baggage from API 21

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-10-20 18:22:36 +02:00
Brandon TandJason A. Donenfeld 0d18e478ca tunnel: add isAlwaysOn and isLockdownEnabled
Signed-off-by: Brandon T <JustBrandonT@gmail.com>
[Harsh: fix build and Javadoc errors]
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-10-20 18:22:36 +02:00
Anthony RyanandJason A. Donenfeld 89c0bb6c7a ui: losslessly optimize launcher icons
Using Efficient-Comprression-Tool we can reduce image size  by 37.59KB (27%)
with no visual change.

      compressed      │     uncompressed      │
──────────┬───────────┼───────────┬───────────┤
 size     │ diff      │ size      │ diff      │ path
──────────┼───────────┼───────────┼───────────┼───────────────────────────────────────────────
 75.2 KiB │ +75.2 KiB │       0 B │       0 B │ +
 15.8 KiB │  -6.7 KiB │  15.7 KiB │  -6.7 KiB │ ∆ res/mipmap-xxxhdpi-v4/ic_launcher.png
 20.4 KiB │  -6.3 KiB │  20.3 KiB │  -6.3 KiB │ ∆ res/mipmap-xxxhdpi-v4/ic_launcher_round.png
  8.6 KiB │  -6.2 KiB │   8.4 KiB │  -6.2 KiB │ ∆ res/mipmap-xhdpi-v4/banner.png
 11.6 KiB │  -4.3 KiB │  11.5 KiB │  -4.3 KiB │ ∆ res/mipmap-xxhdpi-v4/ic_launcher.png
 15.2 KiB │    -4 KiB │  15.1 KiB │    -4 KiB │ ∆ res/mipmap-xxhdpi-v4/ic_launcher_round.png
  6.2 KiB │  -2.6 KiB │   6.1 KiB │  -2.6 KiB │ ∆ res/mipmap-xhdpi-v4/ic_launcher.png
  7.9 KiB │  -2.5 KiB │   7.8 KiB │  -2.5 KiB │ ∆ res/mipmap-xhdpi-v4/ic_launcher_round.png
    5 KiB │  -1.7 KiB │   4.9 KiB │  -1.7 KiB │ ∆ res/mipmap-hdpi-v4/ic_launcher.png
    6 KiB │  -1.5 KiB │   5.8 KiB │  -1.5 KiB │ ∆ res/mipmap-hdpi-v4/ic_launcher_round.png
  2.7 KiB │  -1,002 B │   2.5 KiB │    -996 B │ ∆ res/mipmap-mdpi-v4/ic_launcher.png
  3.2 KiB │    -918 B │   3.1 KiB │    -918 B │ ∆ res/mipmap-mdpi-v4/ic_launcher_round.png
──────────┼───────────┼───────────┼───────────┼───────────────────────────────────────────────
  178 KiB │ +37.6 KiB │ 101.1 KiB │ -37.6 KiB │ (total)

[0]: https://github.com/JakeWharton/diffuse/

Signed-off-by: Anthony Ryan <anthonyryan1@gmail.com>
[Harsh: comparing APKs with Diffuse[0] shows modest but non-zero size savings]
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2025-10-20 18:22:36 +02:00
Harsh ShandilyaandJason A. Donenfeld 705ebdb19c build: upgrade all dependencies
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-10-20 18:22:36 +02:00
Harsh ShandilyaandJason A. Donenfeld b5411b8c57 gradle: upgrade to 9.1.0
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-10-20 18:22:36 +02:00
Harsh ShandilyaandJason A. Donenfeld 9438b9d7f4 build(tunnel): update publishing setup for OSSRH deprecation
The newly added zipReleasePublication task will generate a ZIP file at tunnel/build/distributions/tunnel-$VERSION-maven.zip
that can be uploaded to https://central.sonatype.com/publishing.

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-10-20 18:22:36 +02:00
Jason A. Donenfeld f0b45d50f3 version: bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-31 04:22:08 +02:00
Jason A. Donenfeld cb216c6ec6 QrCodeFromFileScanner: more efficiently downscale images and release memory
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-31 04:22:06 +02:00
Jason A. Donenfeld d45b1ea9a7 QrCodeFromFileScanner: catch OOM errors
OutOfMemoryError is an Error which is a Throwable, but it isn't an
exception. Try to catch it for downscaling by catching all Throwables.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-31 03:47:10 +02:00
Jason A. Donenfeld f9764e9592 gradle: bump dependencies
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-31 03:43:04 +02:00
Jason A. Donenfeld 6414de156c QuickTileService: wait for tunnels to load
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-28 03:56:51 +02:00
Jason A. Donenfeld fa989fe58e QuickTileService: handle onClick in applicationScope
This helps with the case where the TunnelManager is still loading.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-28 03:49:37 +02:00
Jason A. Donenfeld 1310a513d8 version: bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-23 04:19:29 +02:00
Jason A. Donenfeld 90395232b0 TvMainActivity: link to cx file explorer
Google requires us to link to a specific file manager. We can't just
open the app store. They keep rejecting the app otherwise. Annoying.

Also, due to Android TV bugs, we also can't link to a prefilled search
query of "file manager". Instead we must link to an actual file manager.

Unfortunately, none of the open source file manager apps both support
the TV interface and can act as a file chooser. So instead we pick what
looks like the only decent one that doesn't have any in app purchases.
Ugh. I don't like doing this. It's not an endorsement. I don't know much
about who makes these. But what choice do we have?

So doing this for now. Maybe we'll find some better solution or apply to
be a file manager ourselves in the future.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-23 04:16:41 +02:00
Jason A. Donenfeld b9969891b8 version: bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-22 01:46:37 +02:00
Jason A. Donenfeld 559112998f tools: bump to wireguard-go 0.0.20250522 for major regression
Things were broken on kernels [4.19, 5.12).

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-22 01:46:10 +02:00
Jason A. Donenfeld e12e658408 DonatePreferences: use toUri() extension
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-21 01:48:42 +02:00
Jason A. Donenfeld a57ca57e6c tools: align to 16k
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-21 01:46:01 +02:00
Jason A. Donenfeld f3f30030b9 tools: bump wireguard-tools to 1.0.20250521
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-21 01:35:38 +02:00
Jason A. Donenfeld c417bb8d7c version: bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-19 18:14:43 +02:00
Jason A. Donenfeld 567fd6ae96 gradle: update to agp 8.10
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-19 18:11:00 +02:00
Jason A. Donenfeld 2c223fb68c MainActivity: don't reuse id names across layouts
This causes problems on foldables.

Reported-by: Josh Dague <josh3736@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-19 17:57:39 +02:00
Jason A. Donenfeld 0ea6cee192 global: add missing xml copyright and opening tag
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-19 17:40:03 +02:00
Jason A. Donenfeld 0295abd808 global: update copyright notices
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-19 17:31:02 +02:00
Jason A. Donenfeld 0350b801b6 TunnelCreatorActivity: use proper xml for layout
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-19 17:26:38 +02:00
Jason A. Donenfeld 4061003ef8 version: bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-16 18:49:22 +02:00
Jason A. Donenfeld 3240bd13a8 gradle: update agp to 8.9.3
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-16 18:49:04 +02:00