Commit Graph

2571 Commits

Author SHA1 Message Date
Yaroslav Yashin 7b0d17987c 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
2025-05-14 19:14:02 +03:00
Yaroslav Yashin 32c3b758af feat: add platform-specific close window behavior for macOS App Store build with Network Extension
Closes: QA-12
2025-05-13 23:31:01 +03:00
Yaroslav Yashin dd0e2a6cb8 Revert "feat: add autostart support for Mac App Store builds on macOS"
This reverts commit 3bd25656fb.
2025-05-13 23:28:15 +03:00
Yaroslav Yashin aa023c2919 feat: add debug logging to Autostart functionality on macOS 2025-05-13 15:32:00 +03:00
Yaroslav Yashin 3bd25656fb feat: add autostart support for Mac App Store builds on macOS
Fixes: QA-8
2025-05-12 19:23:56 +03:00
Yaroslav Yashin 94ee3a89a4 Merge branch 'dev' into feature/macos-network-extension-bak 2025-04-11 19:25:28 +03:00
Yaroslav f3a4a1b1be feat: improve post uninstall script for macos to properly remove application and its components (#1521) 2025-04-11 23:09:12 +07:00
Nethius 6977a8ecbc chore: bump version and update translation files (#1526) 2025-04-11 12:59:06 +07:00
Nethius d00f64e6ad feature: added export logs button on start page (#1525) 2025-04-11 12:29:28 +07:00
Mykola Baibuz d5b3da6ba3 Use older Ubuntu version for build job (#1523) 2025-04-11 08:57:56 +07:00
aiamnezia c245318339 bugfix: empty split tunneling list (#1520)
* Disable split tunneling with empty list

* Fix bug with Amnezia DNS in split tunneling list

* update ubuntu version for linux deploy pipeline

* Fix deploy script
2025-04-10 14:24:33 +07:00
Nethius b3b0fec2e1 feature: additional logs for proxy bypass (#1518) 2025-04-09 10:47:33 +07:00
Nethius 9d571a4c71 feature: new mirrors support (#1519) 2025-04-08 12:07:31 +07:00
pokamest f283858490 Merge pull request #1517 from amnezia-vpn/chore/update-go-version
Update go version in actions to 1.24
2025-04-07 21:53:05 +01:00
pokamest 76fe203767 Update go version in actions to 1.24 2025-04-07 18:05:08 +01:00
pokamest b9a47f2f50 Merge pull request #1516 from amnezia-vpn/feature/openvpn-warning
feature: warning when importing openvpn configurations
2025-04-07 17:59:37 +01:00
vladimir.kuznetsov 27cb17c640 chore: clear warning text before extract 2025-04-07 23:35:24 +08:00
vladimir.kuznetsov ef8fb89eb3 feature: warning when importing openvpn configurations 2025-04-07 23:30:11 +08:00
Yaroslav Yashin 0a41c6cc99 refactor: rename networkextension target to AmneziaVPNNetworkExtension in macos build configuration 2025-04-04 17:31:39 +02:00
Yaroslav Yashin 661692d9eb Merge remote-tracking branch 'origin/dev' into feature/macos-network-extension-bak 2025-03-31 16:45:12 +02:00
Yaroslav Yashin 1efa7e681a fix: Fixed error popup on macos on file save 2025-03-31 16:10:08 +02:00
Nethius f1b045f8a8 fixed selecting the default button on PageSetupWizardEasy (#1502) 2025-03-30 12:53:26 +07:00
Yaroslav Yashin 066158e669 fix: ci/cd hanging forever fix 2025-03-28 20:43:59 +01:00
Yaroslav Yashin c716d5930d fix: Welcome screen fix 2025-03-27 00:11:49 +01:00
Anton Sosnin 050066132b Fix iOS initial translation loading (#1477) 2025-03-24 14:35:22 +07:00
Yaroslav Yashin 6ecd9e17db Revert me
(temporary 3rd-build commit pointer)
2025-03-21 15:23:25 +01:00
Yaroslav Yashin 0f25f88c10 fix: update provisioning profile specifiers and code sign flags for macOS build 2025-03-21 15:08:35 +01:00
Yaroslav Yashin 8e18f8a9ac fix: update provisioning profile specifiers for macOS network extension 2025-03-21 12:54:47 +01:00
Nethius 2a6e6a1e24 chore: bump version (#1485) 4.8.5.0 2025-03-21 14:12:56 +07:00
Nethius 92689d084c feature/old api proxy (#1484)
* feature: proxy old api requests through gateway

* chore: bump version
4.8.4.5
2025-03-21 10:25:44 +07:00
lunardunno 00f314039d Patch for user checking. (#1481)
* Direct use of the $HOME variable.

* Sudo check witch variable $HOME.

Direct use of the $HOME variable.

* Changing for Error 208

Changing description and title for error 208

* Revert "Changing for Error 208"

This reverts commit f45624c023.

* Changing for Error 207

Changing description and title for Error 207
2025-03-20 10:24:37 +07:00
Yaroslav Yashin ed6785b8ea macos_ne cmake fixed 2025-03-19 16:33:53 +01:00
lunardunno fcb75e837d chore: correcting version (#1480)
* Сorrecting version

Correction: return to the correct version

* Correction for SH
2025-03-19 21:51:49 +07:00
Yaroslav Yashin c9b4fa6c3a Outdated files deleted 2025-03-18 19:11:30 +01:00
Yaroslav Yashin df9170d97f Merge branch 'dev' into feature/macos-network-extension-bak 2025-03-17 16:20:42 +01:00
Yaroslav Yashin 935d6b4f0e Distribution errors fixed 2025-03-15 01:43:57 +01:00
Yaroslav Yashin 6cb87bcd06 QtWidget exclusion omitted 2025-03-15 01:43:57 +01:00
Yaroslav Yashin 10fb050c08 Remove me 2025-03-15 01:43:56 +01:00
Yaroslav Yashin 02af1d2def Submodules updated 2025-03-15 01:43:51 +01:00
Yaroslav Yashin e7cf9dbd49 Resources changes 2025-03-15 01:43:51 +01:00
Yaroslav Yashin 7698774804 Ci-cd config update 2025-03-15 01:43:51 +01:00
Yaroslav Yashin f39eca5f6a Various entitlements 2025-03-15 01:43:25 +01:00
Yaroslav Yashin 95ee1bfe58 Source code changes 2025-03-15 01:43:25 +01:00
Yaroslav Yashin 332588a705 Cmake related changes 2025-03-15 01:43:25 +01:00
Yaroslav 9fbea76b74 There's a common issue of building iOS apps on Qt 6.8 because of new introduced ffmpeg dependency in multimedia Qt package (#1414)
ref: https://community.esri.com/t5/qt-maps-sdk-questions/build-failure-on-ios-with-qt-6-8/m-p/1548701#M5339
2025-03-14 20:40:27 +07:00
lunardunno b3ff120bcf Checking server user permissions to use sudo (#1442)
* Username if whoami returns an error

Сommand to use home directory name if whoami returns error or is missing for prepare_host.sh.

* Update check_user_in_sudo.sh

Сommand to use home directory name if whoami returns error or is missing for check_user_in_sudo.sh.
Checking server user permissions to use sudo using a package manager or using uname.
Сhecking and redefining the system language.
Checking requirements for sudo users or root in script.

* Cases have been changed and added.

Changed description of the “Server User Not In Sudo” case.
Corrected the name and description of the "ServerPacketManagerError" case. Packet to Package.
Adding a "SudoPackageIsNotPreinstalled" case.
Adding a "ServerUserNotAllowedInSudoers" case.
Adding a "ServerUserPasswordRequired" case.

* Serves errors have been changed and added.

Corrected the name of the "ServerPacketManagerError" error to "ServerPackageManagerError".
Adding a "SudoPackageIsNotPreinstalled" error.
Adding a "ServerUserNotAllowedInSudoers" error.
Adding a "ServerUserPasswordRequired" error.

* Return ServerPacketManagerError

Return to the name "ServerPacketManagerError".

* Added errors handling 

Added new errors' handling to serverController.cpp.
Permission checks are also performed for the root user.

* Update translations

Updating translations for two existing server errors.

* Myanmar translation update

* Update for my_MM.ts

* checking for not allowed

Checking for "not allowed" in stdOut

* Removed "not allowed"

Removed check for "not allowed" in stdOut

* Removed nested launch

Removed nested launch via sudo

* Returned nested launch

Returned nested launch via sudo

* All checks with sudo

Both checks with sudo always run.

* Moved removing timestamp sudo

Removing the sudo timestamp is done every time.

* Checking the user directory

Checking the accessibility of the user's home directory

* Polishing

Изменение порядка обработки ошибок.

* changing detection order 

change the order of detection of inconsistencies:
1. sudo not preinstalled. (if user != root)
2. user not in sudo or wheel group. (if user != root)
3. user's directory is not accessible. (for all)
4. user not allowed in sudoers. (for all)
5. user password required. (for all)

* Packet to Package

* chore: bump version (#1463)

* fix for sh (#1462)

Fix for servers where sh is used as default shell.

* Username if whoami returns an error

Сommand to use home directory name if whoami returns error or is missing for prepare_host.sh.

* Update check_user_in_sudo.sh

Сommand to use home directory name if whoami returns error or is missing for check_user_in_sudo.sh.
Checking server user permissions to use sudo using a package manager or using uname.
Сhecking and redefining the system language.
Checking requirements for sudo users or root in script.

* Cases have been changed and added.

Changed description of the “Server User Not In Sudo” case.
Corrected the name and description of the "ServerPacketManagerError" case. Packet to Package.
Adding a "SudoPackageIsNotPreinstalled" case.
Adding a "ServerUserNotAllowedInSudoers" case.
Adding a "ServerUserPasswordRequired" case.

* Serves errors have been changed and added.

Corrected the name of the "ServerPacketManagerError" error to "ServerPackageManagerError".
Adding a "SudoPackageIsNotPreinstalled" error.
Adding a "ServerUserNotAllowedInSudoers" error.
Adding a "ServerUserPasswordRequired" error.

* Return ServerPacketManagerError

Return to the name "ServerPacketManagerError".

* Update translations

Updating translations for two existing server errors.

* Added errors handling 

Added new errors' handling to serverController.cpp.
Permission checks are also performed for the root user.

* Myanmar translation update

* Update for my_MM.ts

* checking for not allowed

Checking for "not allowed" in stdOut

* Removed "not allowed"

Removed check for "not allowed" in stdOut

* Removed nested launch

Removed nested launch via sudo

* Returned nested launch

Returned nested launch via sudo

* All checks with sudo

Both checks with sudo always run.

* Moved removing timestamp sudo

Removing the sudo timestamp is done every time.

* Checking the user directory

Checking the accessibility of the user's home directory

* Polishing

Изменение порядка обработки ошибок.

* changing detection order 

change the order of detection of inconsistencies:
1. sudo not preinstalled. (if user != root)
2. user not in sudo or wheel group. (if user != root)
3. user's directory is not accessible. (for all)
4. user not allowed in sudoers. (for all)
5. user password required. (for all)

* Undoing unintended changes

Undoing unintended changes.

* Undoing unintended change

Undoing unintended change.

* not allowed to use sudo

The user is not allowed to use sudo on this server.

* Capital letters in the error

Capital letters in the error description.

---------

Co-authored-by: albexk <albexk@proton.me>
2025-03-14 20:39:58 +07:00
paldeflex 9dea98f020 chore: README typo fixes (#1467) 2025-03-10 23:22:09 +07:00
Mykola Baibuz c4701d4e7a Update XRay for Desktops (#1459)
version 25.3.6
4.8.4.4
2025-03-10 15:11:26 +07:00
Nethius 48903ca3a1 chore: fixed proxyStorageUrl typo (#1466) 2025-03-09 13:36:21 +07:00
Nethius 0c9fd4aef4 feature: added multiply proxy storage support (#1465) 2025-03-09 13:07:08 +07:00