Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/new-gui #209

Merged
merged 169 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
8e61d77
added new controls elements (BasicButtonType, ImageButtonType, LabelW…
Nethius Mar 23, 2023
167d574
added CardType component
Nethius Apr 6, 2023
c74c5e0
added CheckBoxType
Nethius Apr 7, 2023
ec96c1b
added hover and pressed effects for CheckBoxType.qml
Nethius Apr 10, 2023
905a3a3
added some new controls and started layout of pageStart and pageCrede…
Nethius Apr 12, 2023
3d63d6c
added PageSetupWizardCredentials and PageSetupWizardProtocols
Nethius Apr 14, 2023
87f0100
Merge branch 'dev' of github.com:amnezia-vpn/desktop-client into feat…
Nethius Apr 18, 2023
a9ebf53
added DropDown component
Nethius Apr 25, 2023
904e173
added HorizontalRadioButton and VerticalRadioButton components
Nethius Apr 26, 2023
cfc17cf
added mousearea to VerticalRadioButton
Nethius Apr 26, 2023
c7acd63
added SwitcherType and TabButtonType
Nethius Apr 29, 2023
68b2745
Added scroll bar for DropDownType
Nethius May 1, 2023
4f36349
changed the way to create qml pages, now the page is created when you…
Nethius May 3, 2023
1c8dbae
added PageHome, PageSettings, PageShare, PageStart
Nethius May 6, 2023
b66f4bf
added display of protocols on PageHome
May 11, 2023
e3e7503
added saving the selected server and protocol to the config
Nethius May 12, 2023
dd0de7e
Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into orig…
Nethius May 12, 2023
35d4222
added connectionController and ConnectionButton.qml
Nethius May 12, 2023
116fa67
added logic to the connect to vpn button
Nethius May 14, 2023
03a0e20
added PageLoader and pageController
Nethius May 15, 2023
acca85b
added installController with logic for server/container installation
Nethius May 17, 2023
0479113
moved ContainersPageHomeListView and ConnectionTypeSelectionDrawer to…
Nethius May 21, 2023
ca6b7fb
added importController
Nethius May 22, 2023
e00656d
added PageSettings and PageSettingsServersList.
Nethius May 25, 2023
1e18048
added display of vpn containers and services on the settings page
Nethius May 27, 2023
de0cd97
added page transition effects
Nethius Jun 1, 2023
420c33d
added PageSetupWizardViewConfig
Nethius Jun 5, 2023
80fca58
added ConnectionController error handling
Nethius Jun 5, 2023
68d9394
fixed windows build errors after refactoring
Nethius Jun 5, 2023
c3f39ad
added caching of servers and containers in models
Nethius Jun 7, 2023
1fd48a1
added protocol settings page and openvpn settings page
Nethius Jun 7, 2023
3034019
Merge branch 'feature/new-gui' of github.com:amnezia-vpn/amnezia-clie…
Nethius Jun 7, 2023
cd3263d
made libssh::ssh_connect a non-blocking feature
Nethius Jun 10, 2023
be7386f
added exportController and PageShare
Nethius Jun 13, 2023
7b14ad9
added PageSettingsAbout, PageSettingsApplication, PageSettingsBackup,…
Nethius Jun 16, 2023
4224e83
Merge branch 'feature/new-gui' of github.com:amnezia-vpn/amnezia-clie…
Nethius Jun 16, 2023
3a264e6
added a drawer to change the server name and moved the display of the…
Nethius Jun 20, 2023
249be45
moved handling of connection states from qml in connectionController
Nethius Jun 21, 2023
2ef53c6
added separation for read/write and readonly servers for pageSettings…
Nethius Jun 23, 2023
795405c
added display of amnesia dns container activity on the main page
Nethius Jun 27, 2023
d0c9c10
Merge remote-tracking branch 'remotes/origin/dev' into feature/new-gui
Nethius Jun 27, 2023
464d77d
added functionality to change app language via settings
Nethius Jun 30, 2023
b4eb317
Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into feat…
Nethius Jun 30, 2023
9b07909
added FlickableType to PageSettingsServerProtocols and PageSettingsSe…
Nethius Jun 30, 2023
35660ff
speed optimization of ui on windows
Nethius Jun 30, 2023
b32935d
Merge branch 'feature/new-gui' of github.com:amnezia-vpn/amnezia-clie…
Nethius Jun 30, 2023
43261f8
added busy indicator component
Nethius Jul 4, 2023
a97417f
added config export in native format openvpn and wireguard
Nethius Jul 5, 2023
c13b975
added protocol settings pages and models for openvpn, cloak and shado…
Nethius Jul 13, 2023
3aaa7b6
added page to display raw config
Nethius Jul 14, 2023
75489c0
added button 'Reset settings and remove all data from the application'
Nethius Jul 14, 2023
5d677a9
added pages for sftp and tor website settings
Nethius Jul 18, 2023
5b8a088
Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into feat…
Nethius Jul 18, 2023
0a1359e
moved the platform-specific android code for the new ui
Nethius Jul 24, 2023
b9a13d3
changed all text to english
Nethius Jul 24, 2023
0411792
added qr-code decoder for android
Nethius Jul 25, 2023
1092abe
added output of notifications/errors after installation/import
Nethius Jul 30, 2023
66f9a82
added icons for buttons in the drop-down window of connections sharing.
Nethius Jul 31, 2023
aa66133
added 'insert' button and 'show password' button for PageSetupWizardC…
Nethius Jul 31, 2023
0058edc
added server availability check after entering credentials
Nethius Jul 31, 2023
925fd9f
added display of installed services on the page PageSettingsServersList
Nethius Aug 1, 2023
ebcca0c
added processing of private ssh keys
Nethius Aug 2, 2023
2c429fd
added removal of spaces when inserting ip addresses
Nethius Aug 2, 2023
90ae0b3
added PageSettingsSplitTunneling
Nethius Aug 8, 2023
784f99a
Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into feat…
Nethius Aug 8, 2023
0c40a95
fixed include in sitesController for android build
Nethius Aug 8, 2023
e0d93ea
Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into feat…
Nethius Aug 9, 2023
591d98d
moved vpnConnection to separate thread
Nethius Aug 9, 2023
c1c68cf
fixed ability to share warguard in native format
Nethius Aug 10, 2023
14fa0b4
added qr code scanner for ios
Nethius Aug 13, 2023
e157160
added disconnection from vpn when closing application for desktop
Nethius Aug 16, 2023
e0d6e01
Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into feat…
Nethius Aug 16, 2023
a8deb35
dropdown list fixes to match design layout
Nethius Aug 16, 2023
3964bff
Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into feat…
Nethius Aug 16, 2023
a40f365
"added display of busy server package manager on the PageSetupWizardI…
Nethius Aug 16, 2023
ddaa5b7
minor ui fixes
Nethius Aug 18, 2023
0060f57
fixed selection of connection type on PageShare when changing protocol
Nethius Aug 19, 2023
b5e1c78
minor ui fixes
Nethius Aug 20, 2023
822009e
Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into feat…
Nethius Aug 20, 2023
420c616
added authResultReceiver to android.cmake
Nethius Aug 20, 2023
f792684
minor ui fixes
Nethius Aug 22, 2023
23ad006
removed Widgets from service part
Nethius Aug 22, 2023
4c79905
added autostart and start minimized options
Nethius Aug 24, 2023
7539afa
Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into feat…
Nethius Aug 24, 2023
c271235
added confirmation dialog when clearing logs and notification after c…
Nethius Aug 24, 2023
259eff3
upgraded app version
Nethius Aug 24, 2023
3f7e7f2
fixed native wireguard config import if there is no port in the Endpo…
Nethius Aug 25, 2023
a74736b
Merge branch 'bugfix/macos-installer' of github.com:amnezia-vpn/amnez…
Nethius Aug 25, 2023
29bef05
minor ui fixes
Nethius Aug 26, 2023
fe08fd3
moved the connect button to the center of the screen
Nethius Aug 28, 2023
639c183
fixed display of notification about successful clearing of cached pro…
Nethius Aug 28, 2023
36a2482
Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into feat…
Nethius Aug 28, 2023
8f6aa95
fixed conflicts after merge
Nethius Aug 28, 2023
810da0d
Fixes for iOS
pokamest Aug 28, 2023
0eda42f
Savefile for iOS
outspace Aug 29, 2023
1c1a826
Fix qrDecoder for Android
outspace Aug 30, 2023
e8862a3
removed the use of QFileDialog
Nethius Aug 30, 2023
e3e2c0a
Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into feat…
Nethius Aug 31, 2023
8cf8c3c
Merge branch 'feature/new-gui' of github.com:amnezia-vpn/amnezia-clie…
Nethius Aug 31, 2023
4baa003
removed old ui files
Nethius Aug 31, 2023
cbcf187
added missing include files
Nethius Aug 31, 2023
b58295d
added the ability to restore settings from backup on the initial screen
Nethius Aug 31, 2023
4e9f68a
returned the lost comma
Nethius Aug 31, 2023
cacf74a
Fix iOS build
outspace Aug 31, 2023
1b3a32f
Import config from filesystem on iOS
outspace Sep 1, 2023
a96f485
added display of all protocols in the settings after installing a new…
Nethius Sep 1, 2023
195a3ab
Save files for iOS
outspace Sep 1, 2023
7fc4ea0
Merge branch 'feature/new-gui' of github.com:amnezia-vpn/amnezia-clie…
Nethius Sep 1, 2023
c4f94ef
Android fileSave fixes
outspace Sep 2, 2023
7eaaef6
Connection button status change for background start
outspace Sep 3, 2023
4ab006f
added swipe up for menu on PageHome
Nethius Sep 6, 2023
c166327
filedialog for qml moved to main.qml
Nethius Sep 6, 2023
a76e22c
Merge branch 'feature/new-gui' of github.com:amnezia-vpn/amnezia-clie…
Nethius Sep 6, 2023
e1fa24c
moved the qml filedialog opening code below the ios section
Nethius Sep 6, 2023
b5dd48a
reworking of getting the path to the file when saving/opening files
Nethius Sep 7, 2023
fdff57d
fixed navigation during initial installation
Nethius Sep 8, 2023
85414eb
fixed protocol reloads old value in settings page
ronoaer Sep 8, 2023
3cfca04
adapted installer wizard to macos style
ronoaer Sep 8, 2023
1c78683
added getting the path to the file for iOS
Nethius Sep 8, 2023
6a6b200
Merge pull request #316 from amnezia-vpn/fixed_protocol_reload_old_value
Nethius Sep 8, 2023
7dc21ce
Merge pull request #317 from amnezia-vpn/adapt_mac_installer_wizard
Nethius Sep 8, 2023
3aa0adb
fixed conflicts
ronoaer Sep 9, 2023
0a56577
added a wait for the file dialog to close when sharing ios files
Nethius Sep 9, 2023
85eae0b
Merge branch 'feature/new-gui' of github.com:amnezia-vpn/amnezia-clie…
Nethius Sep 9, 2023
4bf6cce
fixed return type of sharedText function
Nethius Sep 9, 2023
8909655
added constructor for MobileUtils.cpp
Nethius Sep 9, 2023
f751657
fixed false triggering of swipes for the main menu drawer of PageHome
Nethius Sep 9, 2023
551f761
fixed the display of the protocol list in the settings when attemptin…
Nethius Sep 11, 2023
6bb85de
Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into feat…
Nethius Sep 11, 2023
844b552
removed duplicate function routeMode
Nethius Sep 11, 2023
97c0fe1
increased the application version to 4.0.5.1
Nethius Sep 11, 2023
72eb36f
fixed the implicitWidth error in protocol installation page
ronoaer Sep 11, 2023
f8e5e9f
fixed display of cursorShape for all mouseArea
Nethius Sep 11, 2023
f11c65c
Merge pull request #319 from amnezia-vpn/fix_install_error_in_procoto…
Nethius Sep 11, 2023
a964d95
fixed scroll stuck on textarea in page OpenVpnSettings
ronoaer Sep 11, 2023
f81ee1b
reconnect to server when changed the protocol and status is connected…
ronoaer Sep 12, 2023
9c0f27e
removed invalid codes
ronoaer Sep 13, 2023
3c9b42b
deleted unused code
ronoaer Sep 13, 2023
16cadfe
the cursor changes to Qt.PointingHandCursor when hovering over links
ronoaer Sep 13, 2023
e2aef1f
fixed display of installation errors on the initial installation screen
Nethius Sep 13, 2023
4ae608e
added import backup file from outside for ios
Nethius Sep 13, 2023
d93b5a7
fixed saving of configs for mobile platforms
Nethius Sep 13, 2023
bfc8c10
auto reconection when current-server's defaul container hase been cha…
ronoaer Sep 13, 2023
154044e
Merge pull request #323 from amnezia-vpn/bugfix/linktext_cursor_sftp
Nethius Sep 13, 2023
3c8d923
Merge pull request #322 from amnezia-vpn/bugfix/reconnect_server_when…
Nethius Sep 13, 2023
2b3383a
removed the transition animation between tabs in the main menu
Nethius Sep 14, 2023
2fd25f5
fixed auto-connection starting after starting the application
Nethius Sep 14, 2023
c0aca97
Merge branch 'feature/new-gui' of github.com:amnezia-vpn/amnezia-clie…
Nethius Sep 14, 2023
8a3bdf1
added close button when drawer shown in the topright corner
ronoaer Sep 16, 2023
9eebee3
fixed additional info can not be save in page OpenVpn settings
ronoaer Sep 16, 2023
f40bf2d
limited the length of the displayed server name
Nethius Sep 17, 2023
ff60030
Merge pull request #329 from amnezia-vpn/bugfix/text_not_saved_after_…
Nethius Sep 17, 2023
c0cb5b9
added reconnection to vpn after changing any protocol settings
Nethius Sep 17, 2023
32dda9b
Merge pull request #325 from amnezia-vpn/bugfix/reconnectvpn_when_dc_…
Nethius Sep 17, 2023
9b32411
Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into HEAD
Nethius Sep 17, 2023
8965b1f
fixed the size of the drawer close button
Nethius Sep 17, 2023
ad236ba
fixed a typo in the variable name
Nethius Sep 17, 2023
fd09321
removed the 'mount sftp folder' button for mobile platforms
Nethius Sep 17, 2023
29e8f8f
Merge branch 'feature/new-gui' into bugfix/scroll_stuck_on_fl_textarea
ronoaer Sep 17, 2023
fd9f9ee
Merge pull request #320 from amnezia-vpn/bugfix/scroll_stuck_on_fl_te…
Nethius Sep 18, 2023
814c574
Merge pull request #328 from amnezia-vpn/bugfix/add_top_close_button
Nethius Sep 18, 2023
9e7cf3c
added PageServiceDnsSettings
Nethius Sep 18, 2023
152d7bc
added restore default settings for dns settings page
Nethius Sep 18, 2023
e38fe87
Merge branch 'feature/new-gui' of github.com:amnezia-vpn/amnezia-clie…
Nethius Sep 18, 2023
d4d6fba
changed the protocols for easySetup setup
Nethius Sep 18, 2023
893ec2d
researching: tried to close drawer easily
ronoaer Sep 19, 2023
dd039a6
used position-changed to closes drawer
ronoaer Sep 20, 2023
18bb045
Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into HEAD
Nethius Sep 21, 2023
a6d660e
Merge pull request #336 from amnezia-vpn/bugfix/close_drawer_easily
Nethius Sep 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ deploy/build/*
deploy/build_32/*
deploy/build_64/*
winbuild*.bat
.cache/


# Qt-es
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.25.0 FATAL_ERROR)

set(PROJECT AmneziaVPN)

project(${PROJECT} VERSION 3.1.0.1
project(${PROJECT} VERSION 4.0.7.1
DESCRIPTION "AmneziaVPN"
HOMEPAGE_URL "https://amnezia.org/"
)
Expand Down
43 changes: 29 additions & 14 deletions client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,34 @@ set_property(GLOBAL PROPERTY AUTOMOC_TARGETS_FOLDER "Autogen")
set_property(GLOBAL PROPERTY PREDEFINED_TARGETS_FOLDER "Autogen")

set(PACKAGES
Widgets Core Gui Network Xml
Core Gui Network Xml
RemoteObjects Quick Svg QuickControls2
Core5Compat Concurrent LinguistTools
)

if(IOS)
set(PACKAGES
${PACKAGES}
Multimedia
)
set(PACKAGES ${PACKAGES} Multimedia)
endif()

if(WIN32 OR (APPLE AND NOT IOS) OR (LINUX AND NOT ANDROID))
set(PACKAGES ${PACKAGES} Widgets)
endif()

find_package(Qt6 REQUIRED COMPONENTS ${PACKAGES})

set(LIBS ${LIBS}
Qt6::Widgets Qt6::Core Qt6::Gui
Qt6::Core Qt6::Gui
Qt6::Network Qt6::Xml Qt6::RemoteObjects
Qt6::Quick Qt6::Svg Qt6::QuickControls2
Qt6::Core5Compat Qt6::Concurrent
)

if(IOS)
set(LIBS
${LIBS}
Qt6::Multimedia
)
set(LIBS ${LIBS} Qt6::Multimedia)
endif()

if(WIN32 OR (APPLE AND NOT IOS) OR (LINUX AND NOT ANDROID))
set(LIBS ${LIBS} Qt6::Widgets)
endif()

qt_standard_project_setup()
Expand Down Expand Up @@ -91,7 +95,6 @@ set(HEADERS ${HEADERS}
${CMAKE_CURRENT_LIST_DIR}/ui/notificationhandler.h
${CMAKE_CURRENT_LIST_DIR}/ui/pages.h
${CMAKE_CURRENT_LIST_DIR}/ui/property_helper.h
${CMAKE_CURRENT_LIST_DIR}/ui/uilogic.h
${CMAKE_CURRENT_LIST_DIR}/ui/qautostart.h
${CMAKE_CURRENT_LIST_DIR}/protocols/vpnprotocol.h
${CMAKE_CURRENT_BINARY_DIR}/version.h
Expand Down Expand Up @@ -128,7 +131,6 @@ set(SOURCES ${SOURCES}
${CMAKE_CURRENT_LIST_DIR}/core/servercontroller.cpp
${CMAKE_CURRENT_LIST_DIR}/protocols/protocols_defs.cpp
${CMAKE_CURRENT_LIST_DIR}/ui/notificationhandler.cpp
${CMAKE_CURRENT_LIST_DIR}/ui/uilogic.cpp
${CMAKE_CURRENT_LIST_DIR}/ui/qautostart.cpp
${CMAKE_CURRENT_LIST_DIR}/protocols/vpnprotocol.cpp
${CMAKE_CURRENT_LIST_DIR}/core/sshclient.cpp
Expand Down Expand Up @@ -162,20 +164,33 @@ file(GLOB_RECURSE PAGE_LOGIC_CPP CONFIGURE_DEPENDS ${CMAKE_CURRENT_LIST_DIR}/ui/
file(GLOB CONFIGURATORS_H CONFIGURE_DEPENDS ${CMAKE_CURRENT_LIST_DIR}/configurators/*.h)
file(GLOB CONFIGURATORS_CPP CONFIGURE_DEPENDS ${CMAKE_CURRENT_LIST_DIR}/configurators/*.cpp)

file(GLOB UI_MODELS_H CONFIGURE_DEPENDS ${CMAKE_CURRENT_LIST_DIR}/ui/models/*.h)
file(GLOB UI_MODELS_CPP CONFIGURE_DEPENDS ${CMAKE_CURRENT_LIST_DIR}/ui/models/*.cpp)
file(GLOB UI_MODELS_H CONFIGURE_DEPENDS
${CMAKE_CURRENT_LIST_DIR}/ui/models/*.h
${CMAKE_CURRENT_LIST_DIR}/ui/models/protocols/*.h
${CMAKE_CURRENT_LIST_DIR}/ui/models/services/*.h
)
file(GLOB UI_MODELS_CPP CONFIGURE_DEPENDS
${CMAKE_CURRENT_LIST_DIR}/ui/models/*.cpp
${CMAKE_CURRENT_LIST_DIR}/ui/models/protocols/*.cpp
${CMAKE_CURRENT_LIST_DIR}/ui/models/services/*.cpp
)

file(GLOB UI_CONTROLLERS_H CONFIGURE_DEPENDS ${CMAKE_CURRENT_LIST_DIR}/ui/controllers/*.h)
file(GLOB UI_CONTROLLERS_CPP CONFIGURE_DEPENDS ${CMAKE_CURRENT_LIST_DIR}/ui/controllers/*.cpp)

set(HEADERS ${HEADERS}
${COMMON_FILES_H}
${PAGE_LOGIC_H}
${CONFIGURATORS_H}
${UI_MODELS_H}
${UI_CONTROLLERS_H}
)
set(SOURCES ${SOURCES}
${COMMON_FILES_CPP}
${PAGE_LOGIC_CPP}
${CONFIGURATORS_CPP}
${UI_MODELS_CPP}
${UI_CONTROLLERS_CPP}
)

if(WIN32)
Expand Down
Loading