72 Commits

Author SHA1 Message Date
Yaroslav
9fdcf5ab13 feat: macos with network extension Implementation (#1468)
* There's a common issue of building iOS apps on Qt 6.8 because of new introduced ffmpeg dependency in multimedia Qt package
ref: https://community.esri.com/t5/qt-maps-sdk-questions/build-failure-on-ios-with-qt-6-8/m-p/1548701#M5339

* Cmake related changes

* Source code changes

* Various entitlements

* Ci-cd config update

* Resources changes

* Submodules updated

* Remove me

* QtWidget exclusion omitted

* Distribution errors fixed

* Outdated files deleted

* macos_ne cmake fixed

* fix: update provisioning profile specifiers for macOS network extension

* fix: update provisioning profile specifiers and code sign flags for macOS build

* Revert me
(temporary 3rd-build commit pointer)

* fix: Welcome screen fix

* fix: ci/cd hanging forever fix

* fix: Fixed error popup on macos on file save

* refactor: rename networkextension target to AmneziaVPNNetworkExtension in macos build configuration

* feat: add autostart support for Mac App Store builds on macOS

Fixes: QA-8

* feat: add debug logging to Autostart functionality on macOS

* Revert "feat: add autostart support for Mac App Store builds on macOS"

This reverts commit 3bd25656fb4986d01e5bd6dd265f7279a73bd2a8.

* feat: add platform-specific close window behavior for macOS App Store build with Network Extension

Closes: QA-12

* When the application starts with "Start minimized" enabled on macOS (especially the
sandboxed App-Store build compiled with MACOS_NE), fully hiding the window prevents it
from being restored by clicking the Dock icon. The proper behaviour is to start the
window in the *minimized* state instead. That way the window is still part of the
window list and the system automatically brings it back when the user clicks the Dock
icon, replicating the native experience.

On the other platforms we keep the old behaviour (hide the window completely and rely
on the tray icon), therefore we switch at runtime by checking the current OS.

Closes: QA-7

Closes: QA-8

* Revert "When the application starts with "Start minimized" enabled on macOS (especially the"

This reverts commit 7b0d17987cdfdbc4cedc3822bf3fd2e4973da452.

* feat: MACOS_NE systray menu support

* feat: add macOS notification handler and install event filter on main window

* feat: implement custom close behavior for Amnezia application on different platforms

* fix: update provisioning profile specifiers for macos builds

* fix: Fatal error in logs

CLI-216

* fix: disabled unavailable on macos ne service logs

* fix: dock icon now hides only when window is closed; menubar icon shows always

Initial state of the docker icon to be presented follows "Start minimized" setting in app settings.

* temp-fix: temporary disable all OpenVPN options of VPN on MACOS_NE since it's not working yet.

* fix: build script updated

* feat: add macOS NE build workflow to GitHub Actions

* fix: Not working Auto start toggle is hidden

* fix: Log spamming during xray connection fixed

* 3rd-prebuild points to commit that stores macos_ne universal binaries.

* fix: missing native dependency on linking stage fixed

* chore: update link to submodule

---------

Co-authored-by: vladimir.kuznetsov <nethiuswork@gmail.com>
2025-08-10 11:12:19 +08:00
vladimir.kuznetsov
02a98b9d68 replaced QSingleApplication with QLocalServer 2024-09-25 11:42:02 +05:00
pokamest
33d1518fd2 Request internet permission before connect for iOS (#794)
* Attempt to fix API error 1100
* NSURLSession fake call to exec iOS network settings dialog
* use http://captive.apple.com/generate_204 for requesting internet
permission
* moved MobileUtils to IosController
* replaced callbacks with signal-slots in apiController
2024-05-16 14:19:56 +01:00
albexk
d4453a5f38 Add openssl .so libs for Android 2024-04-14 14:07:26 +03:00
Mykola Baibuz
5312a6e885 Update OpenSSL (3.0.13) and libssh (0.10.6) (#733)
Update OpenSSL (3.0.13) and libssh (0.10.6)
2024-04-08 15:49:18 +01:00
albexk
915fb6759a Add Android openssl3 libs, fix https connection error (#685)
Add Android openssl3 libs, fix https connection error
2024-03-13 21:22:56 +00:00
Artem Romanovich
deaf618520 added commit hash in logger 2024-03-09 00:21:57 +03:00
Igor Sorokin
f8b2cce618 Fix adding config from bot 2024-02-29 08:36:56 +03:00
albexk
357c283437 Disable android accessibility 2023-10-08 20:08:32 +03:00
ronoaer
eaede032b4 1. updated memory text when language changed,
2. updated initialize index
2023-10-01 11:12:27 +08:00
ronoaer
68095700a2 added i18n for v4 2023-09-28 23:21:13 +08:00
vladimir.kuznetsov
591d98d8b6 moved vpnConnection to separate thread
- added tabbar blocking when installing/removing containers
2023-08-09 18:17:29 +05:00
Mykola Baibuz
f58a16ca9d Prebuilt binaries for third-party submodules (#252)
* Add prebuilt submodule
* Remove Android native library
* Add links for Android prebuilt library
* Update OpenSSL to prebuilt binaries
* Setup links for prebuilt OpenSSL
* Set correct OpenSSL header dir
* Update prebuilt submodule
* Use static OpenSSL for linux build
* Use prebuilt binary from 3rd-prebuilt for Win installer
* Use prebuilt binary from 3rd-prebuilt for Linux installer
* Use prebuilt binary from 3rd-prebuilt for MacOS installer
* Use Android prebuilt openvpn libs
* Cleanup some unneeded code
* Add new maven repo for gradle-versions-plugin
* Use jitpack version of jsocks
* Fix some unnecessary header copy
* Fix issue with package name of original WG libs
* Change submodule path to https (3rd-prebuilt)
* Fix windows installer
* MacOS deploy fixes
* NetworkChange detection for OpenVPN protocol (#256)
* NetworkChange detection for OpenVPN protocol
* Update android native libs
* Always on VPN mode for OpenVPN, Cloak+OpenVPN
* Set foregroundService type
* Android 14 require to set foregroundServiceType
* Remove unused code and cleanup submodules
* Cleanup gradle build script
* Fix start button status
* Pull OpenSSL prebuilt for MacOS, iOS
* Update links for OpenSSL MacOS, iOS prebuilt
* Update OpenSSL binaries path
* Refactor some OpenSSL includes
* Update MacOS OpenVPN binary with statically linked dependency
* Use prebilt for LibSSH
* Android resources cleanup
* Set static runtime linux
* Use shared LibSSH for Android
* Update SS Android lib name
* Fix Linux install path and file permissions
* Feature/iOS GitHub actions (#265)
* Move Android cpp code to openvpn-pt-android repo
* Remove unused OpenVPN2 Android Libs
* Cleanup Gemfile

---------

Co-authored-by: Mazay B <pokamest@gmail.com>
2023-08-04 18:35:43 +01:00
Mazay B
4a4c9cd63f Build fixes and some refactoring 2023-06-30 00:21:56 +01:00
Mazay B
1ec50cf6ad Workaround for bug https://bugreports.qt.io/browse/QTBUG-113461 2023-06-27 00:23:34 +01:00
Nethius
19c42490e3 feature/versioning-for-desktop (#181)
Project refactoring and cleanup
2023-05-16 01:34:06 +01:00
Dmitriy Karpushin
3a5317f16a Implementation of "migration manager" to fix placement of config files issue appeared after moving from Qt 5 to Qt 6 2023-03-29 09:31:24 +03:00
pokamest
c5ba89b054 Code cleanup 2022-09-10 19:57:44 +03:00
pokamest
0ca4f3b104 Fix for CommandLineParser 2022-08-31 16:54:46 +03:00
pokamest
266859af19 Build fix for iOS 2022-08-26 03:19:34 -07:00
pokamest
510a564797 App refactoring 2022-08-25 12:47:02 +03:00
pokamest
1e85b25438 Backup/restore config 2022-08-05 18:59:47 +03:00
eugenyorbitsoftcom
9a180b098f try read and write chipher Settings 2022-08-04 11:49:00 +06:00
eugenyorbitsoftcom
e49b468fd5 writeToKeychain, readFromKeychain 2022-08-02 15:52:03 +06:00
eugenyorbitsoftcom
bc6ae1d1b5 Merge branch 'dev' into secure-config 2022-08-01 10:55:33 +06:00
pokamest
9f7b2de311 Merge branch 'dev' into open-config-in-app 2022-07-31 23:39:11 +03:00
eugenyorbitsoftcom
3b78c3a929 chiperSettings 2022-07-29 14:58:22 +06:00
eugenyorbitsoftcom
7029968c47 SecureFormat AES-GCM 2022-07-29 10:36:54 +06:00
pokamest
b93dd8cb9b Build fix 2022-07-27 03:22:46 +03:00
eugenyorbitsoftcom
9ed16b81e8 read imported file configuration 2022-07-11 16:08:57 +06:00
eugenyorbitsoftcom
6744dce57e QRCodeReader (WIP) 2022-07-06 11:51:45 +06:00
pokamest
6d1c9edc24 Log panel added 2022-02-04 17:49:48 +03:00
pokamest
d24f6ae064 Logs functions fixes 2022-01-30 17:35:57 +03:00
pokamest
2b9e615e51 Various fixes 2022-01-23 19:16:40 +03:00
pokamest
1d51419a11 QR codes rework 2021-12-20 02:29:23 +03:00
pokamest
bf8b3c3b2f Merge branch 'dev' into ios-wireguard 2021-11-30 21:51:06 +03:00
Alex Kh
7c7f77adc6 [WIP] Added wireguard, prepare to test and debug 2021-11-30 16:56:24 +04:00
pokamest
3a49d5fdc4 Tray fix 2021-11-17 20:24:45 +03:00
pokamest
a89104127a Share page refactoring part 1 2021-11-06 13:47:52 +03:00
pokamest
44f4d083bf VPN connection moved to separate thread 2021-10-26 12:59:20 +03:00
pokamest
1b1a5be607 Merge branch 'dev' into ikev2_fix_window_api_signal 2021-10-26 00:02:14 +03:00
Розов Никита Валерьевич
28ae7eeaee add disable openvpnconnection, refactoring 2021-10-13 18:33:43 +03:00
pokamest
b4007038fb ikev2 winapi test solution 2021-10-13 15:46:00 +03:00
pokamest
157d7c4f23 Various types containers support 2021-09-20 21:51:28 +03:00
pokamest
0d9f1ba95b qml ui fixes 2021-09-19 14:31:38 +03:00
pokamest
a390f2e988 Qml Containers Page refact 2021-09-16 19:49:50 +03:00
pokamest
0faf6c8599 QML ServerContainers page refact 2021-09-16 16:19:14 +03:00
Pokamest Nikak
539bf2ee24 VpnLogic 2021-09-07 21:01:56 +03:00
Pokamest Nikak
deaeda59d0 ServerContainersLogic 2021-09-07 19:26:58 +03:00
Pokamest Nikak
4c0ff29488 NewServerConfiguringLogic
NewServerProtocolsLogic
2021-09-07 18:06:05 +03:00