Commit Graph

169 Commits

Author SHA1 Message Date
albexk 2f84e24353 Fix opening configs 2024-04-05 14:06:40 +03:00
Nethius adab30fc81 feature/app-split-tunneling (#702)
App Split Tunneling for Windows and Android
2024-04-01 12:45:00 +01:00
albexk c6e6f2ae84 Add a function that minimizes the Android app (#692)
Add a function that minimizes the Android app
2024-03-31 12:14:12 +01:00
albexk 7730dd510c Add error handling of enabled "always-on" during VPN connection (#698)
* Always add awg-go version to the log
* Display an error message always when no vpn permission is granted
2024-03-25 23:09:50 +00:00
albexk 10caecbffd Fix wg reconnection problem after awg connection (#696)
* Update Android AWG to 0.2.5
2024-03-18 11:20:01 +00:00
Mykola Baibuz e646b85e56 Setup MTU for WG/AWG protocol (#576)
Setup MTU for AWG/WG protocol
2024-03-18 10:41:53 +00:00
isamnezia 840c388ab9 Add in-app screenshot preventing (#606)
In-app screenshot preventing fixes
2024-03-06 01:18:19 +00:00
albexk 080e1d98c6 Add Quick Settings tile (#660)
* Add Quick Settings tile

- Add multi-client support to AmneziaVpnService
- Make AmneziaActivity permanently connected to AmneziaVpnService while it is running
- Refactor processing of connection state changes on qt side
- Add VpnState DataStore
- Add check if AmneziaVpnService is running

* Add tile reset when the server is removed from the application
2024-03-04 15:08:55 +00:00
albexk 82fa6b13c6 Fix foreground service type (#592)
Fix foreground service type
2024-02-14 16:35:40 +00:00
albexk 2b413736a4 Build with new version of awg lib. Move GoBackend to org.amnezia.vpn.protocol.wireguard package. 2024-02-13 12:30:55 +03:00
albexk 090208bd2c Bug fix for processing exclude routes for older android versions 2024-01-31 19:59:00 +03:00
albexk 0b6dc5bcfc Add unbinding and destroying vpn service after disconnection 2024-01-27 17:34:57 +03:00
albexk cbd6755aa5 Fix OpenVpn over Cloak 2024-01-27 17:30:56 +03:00
albexk 3afbc248b1 Refactor split-tunneling: separate site addresses from routes 2024-01-27 17:28:31 +03:00
albexk 0103c1722e Fix wg address parameter parsing 2024-01-20 21:38:58 +03:00
albexk 9b7914538f set wg PresharedKey parameter as optional 2024-01-20 18:43:26 +03:00
albexk 2b61c48303 Hide "QR-code" button from config import menu for Android devices without camera 2024-01-20 18:20:06 +03:00
albexk 3e02dfef63 Refactoring Android logging (#511)
Refactoring Android logging
2024-01-20 13:40:12 +00:00
albexk 60aeefe1c2 Restore previous Android keyboard behaviour
There is a Qt bug related to this behaviour: https://bugreports.qt.io/browse/QTBUG-41170
2024-01-16 15:06:34 +03:00
albexk e8cc80f046 Refactor Android open file method
Fix some bugs with mimetype filters when the Qt mimetype database does not match the Android database
2023-12-26 16:30:33 +03:00
albexk 7437d47d92 Remove unnecessary permission RECEIVE_BOOT_COMPLETED 2023-12-25 15:16:22 +03:00
albexk eafac491d8 Add a stub for errors coming from Android
These errors are related to VPN connection errors
2023-12-22 15:35:24 +03:00
albexk 375825125f Fix cloak config 2023-12-22 15:11:48 +03:00
albexk 6d0167dcf3 Get back the ability to open configuration files
Doesn't work in all applications because some applications pass an abstract URI instead of the file path in the 'content' scheme
2023-12-14 22:10:22 +03:00
albexk 95d1440d6f Some minor refactoring 2023-12-14 18:01:55 +03:00
albexk 0cabf60dc4 Fixes and refactoring in file saving and import functions 2023-12-14 18:00:58 +03:00
albexk 836ca1cc6b Switch to Qt fileprovider introduced in 6.6 2023-12-14 17:59:03 +03:00
albexk b0dcae3586 Disable global split tunneling if a non-default route exists in the Wireguard configuration 2023-12-12 22:48:18 +03:00
albexk 195bdb947e Refactor import config
Remove the path filter, as the content path may not contain a filename.
Disable import when viewing files.
Config can be imported from:
- shared file
- shared text
- vpn:// link
2023-12-11 22:56:01 +03:00
albexk 1576aed1ea Add network state listening and reconnection
Vpn reconnects when the default network is changed
2023-12-11 15:16:50 +03:00
albexk 8cc5846808 Fix application hangs in disconnection state 2023-12-07 22:43:33 +03:00
albexk 2eaaf01ca1 Up AGP to version 8.2.0 2023-12-07 19:28:41 +03:00
albexk 163e5b2c52 Fix for Qt Creator 2023-12-06 18:25:11 +03:00
albexk 508f1d3a42 Add service bind timeout 2023-12-06 18:24:52 +03:00
albexk d2207a5255 Up Gradle to version 8.5 2023-12-06 13:38:36 +03:00
albexk bf03f5c9ae Fix for Qt Creator 2023-12-05 23:53:49 +03:00
albexk 656223f57d Fix rebinding to the service 2023-12-05 16:57:53 +03:00
albexk dc6e3ec53b Add passing the VPN connection status when rebinding to the service 2023-12-05 16:10:29 +03:00
albexk 5835a756ce Add onError callback to handle errors in protocol threads 2023-12-05 13:56:01 +03:00
albexk 5c3e253067 Fix service description in AndroidManifest.xml 2023-12-05 13:09:28 +03:00
albexk 8d43cee52e Remove shadowsocks code 2023-12-04 18:45:53 +03:00
albexk 1e64413904 Fix disconnect bug 2023-12-04 18:23:08 +03:00
albexk e7658f9859 Add split tunneling 2023-12-01 00:12:50 +03:00
albexk 20f3c0388a Add sending statistics 2023-11-29 17:08:53 +03:00
albexk ef530780bd Fixes in AmneziaVpnService 2023-11-29 17:01:21 +03:00
albexk d7ec611ff4 Fix bugs in awg and wireguard protocols 2023-11-29 16:55:17 +03:00
albexk eaa209bc3a Add OpenVpn over Cloak module 2023-11-28 22:27:00 +03:00
albexk 51d4aea9e2 Add OpenVpn module 2023-11-28 20:07:39 +03:00
albexk 9738ada946 ProtocolApi refactoring, move network classes to NetworkUtils.kt 2023-11-28 19:47:22 +03:00
albexk 8ec105bee0 Move Log class to org.amnezia.vpn.util package 2023-11-28 19:07:32 +03:00