Commit Graph

472 Commits

Author SHA1 Message Date
Zane Schepke 08d11a53b4 fix: AndroidTV D-pad control and banner
Fix Android TV D-pad access to elements on screen without reloading screen

Update AndroidTV banner
2023-07-31 23:38:51 -04:00
Zane Schepke 9952e97e1c Merge branch 'main' of github.com:zaneschepke/wgtunnel 2023-07-29 18:18:26 -04:00
Zane Schepke 4cdc974778 fix: AndroidTV D-pad support and precise location check
Allows app be fully navigated via D-pad on AndroidTV (with some quirks)

Adds precise location check to setting screen as WiFi-SSID is not readable without this permission.

Closes #2
2023-07-29 18:18:24 -04:00
Zane Schepke e31a4c03cd
docs: update README.md 2023-07-27 17:21:01 -04:00
Zane Schepke 5b94f22359
docs: update README.md 2023-07-27 17:19:25 -04:00
Zane Schepke c673a8dc91 feat: support for Always-On VPN and Android TV
Added support for Android TV

Added support for Always-On VPN in settings

Fixes bug where handshake notification is not dismissed after successful handshake

Fixes bug that allowed you to use Auto tunneling without Location Services enabled. Now checks for Location Services before allowing access to feature.

Closes #2,  Closes #5, Closes #8
2023-07-23 00:51:19 -04:00
Zane Schepke f6612abe28 fix: service requirements for Android 14
Fixes requirement for foregroundServiceType which is causing crashes on Android 14
2023-07-20 14:23:43 -04:00
Zane Schepke 7ca5de1836 fix: screens not scrollable in landscape
Fixes not being able to scroll when in landscape mode if content is off screen.

Fixes FAB being in the way of controlling tunnels by making it disappear on scroll down.

Bump targetSdk to 34
2023-07-19 09:02:31 -04:00
Zane Schepke 509d22a98c build: disable crashlytics on debug builds 2023-07-18 17:07:36 -04:00
Zane Schepke 68b0902398 feat: add tunnel details screen and handshake monitoring
Adds details screen which display details of tunnel configuration as well as last handshake and rx/tx of peer.

Adds last handshake monitoring with statuses and thresholds.

Adds handshake/connection notifications based on last successful handshake.

Adds status LED next to tunnel on main screen.

Fixes bug where first click on QR code could result in nothing happening if QR code module is being downloaded. Now shows message to user.

Fixes bug where changes made after editing tunnel were not propagated to settings if that tunnel was configured as the default tunnel.

Fixes bug causing crash if wrong config file selected

Update README

Closes #7, Closes #6
2023-07-18 11:53:03 -04:00
Zane Schepke 0c45558293
docs: update README.md 2023-07-09 19:57:07 -04:00
Zane Schepke 89212fe191 fix: fix bug causing inconsistent behavior after making trusted ssid changes, fix bug causing vpn not to disconnect on mobile data
This fixes a bug causing inconsistent connects and disconnects to vpn on wifi capability changes by properly associated a child job to a parent job using a SupervisorJob instead of a GlobalScope job.

This fixes a bug causing VPN to stay connected on mobile data even when the setting is disabled by adding an additional check for this situation to disable the tunnel.
2023-07-07 23:11:15 -04:00
Zane Schepke a98a47f54d fix: prevent crash from bad file config upload and bug preventing vpn from starting via watcher service after reboot
Add catch for file configs that are malformed and display message to the user

Pass full tunnel config to watcher service after detecting reboot to allow watcher service to start tunnel properly.
2023-07-05 23:21:55 -04:00
Zane Schepke cb3a7d024b fix: discord link expired 2023-07-04 22:28:39 -04:00
Zane Schepke 259be21b04 docs: update README 2023-07-04 17:03:30 -04:00
Zane Schepke 8b81831910 feat: add split tunneling and tunnel configuration screen
This adds a tunnel configuration screen where user can configure split application tunneling and change tunnel name.

Additional QR code validation added to prevent adding of invalid QR codes to tunnels.

Minor UI quality-of-life changes.

Closes #3
2023-07-04 14:21:45 -04:00
Zane Schepke 49bf7fa8b9 feat: add scan qr code option for importing tunnel configs
Closes #1
2023-07-02 22:45:36 -04:00
Zane Schepke 2f53a8f3b4 Update VPN connection required message to add always-on VPN disclaimer 2023-07-02 11:59:24 -04:00
Zane Schepke 4b75381adb fix: watcher service mobile data monitoring
Fix for a bug where watcher service does not start monitoring mobile data when feature is turned on
2023-07-01 01:09:35 -04:00
Zane Schepke 98da234ef9 fix: service status out of sync
This fixes the status of service becoming out of sync with the user settings by getting service status from ActivityManager.
2023-06-30 21:55:34 -04:00
Zane Schepke f894a3e0c9 fix: fix disable foreground notification dismiss for watcher service
This fixes foreground notification that was allowed to be dismissed which causes the service to eventually be killed.

Also fixes notification conflict bug where notification messages were not created separate notifications for different services.
2023-06-30 01:51:17 -04:00
Zane Schepke 005afc7089 initial commit 2023-06-18 21:43:22 -04:00