Commit Graph

18 Commits

Author SHA1 Message Date
UnnoTed
038509a943 Merge branch 'tray_tunnels_submenu_update'
# Conflicts:
#	gui/tunnels.go
2026-05-02 15:31:36 -03:00
UnnoTed
0c4c826cbe Resolve merge conflicts for PR #72 2026-05-02 15:15:13 -03:00
UnnoTed
1c61ed51c8 new settings for country flags, reconnect, passwordless polkit policy 2026-04-26 23:43:11 -03:00
Nikolay Lazarov
ce395e50f2 Add tray submenu for VPN tunnels
This commit adds a menu item in the tray labeled "Tunnels", which shows
a submenu with available VPN tunnels and a checkbox indicating if the
tunnel is connected or disconnected. Clicking on a tunnel toggles its
connected/disconnected status.
2024-10-31 02:31:49 +02:00
Nikolay Lazarov
654eff94a4 Refactor button change state logic
This commit extracts the following functions from the button change
state callback:

 - `IsTunnelConnected(name string) (bool, error)` - checks if the
   tunnels is connected or returns an error
 - `DisconnectTunnel(name string) error` - disconnects from the tunnel
   or returns an error
 - `ConnectTunnel(name string) error` - connects to the tunnel or
   returns an error
 - `ToggleTunnel(name string) error` - toggles the
   connected/disconnected status of the tunnel
2024-10-31 02:28:11 +02:00
Nikolay Lazarov
0b7aca734e Update gui with wireguard state on every tick
By updating the gui on every tick, changes from `wg-quick` commands ran
by the user outside of wireguird will be reflected in the wireguird interface.
2024-10-31 00:05:10 +02:00
Nikolay Lazarov
4d429b4b7a Remove unnecessary err check
Just before this err check is another err check that always returns.
2024-10-31 00:04:25 +02:00
Nikolay Lazarov
e4e2c3c7b5 Cache icons instead of reading them from the filesystem every time 2024-10-31 00:04:14 +02:00
Nikolay Lazarov
660e4c3491 Replace calls to deprecated io/ioutil library with their supported alternatives 2024-10-30 23:49:14 +02:00
UnnoTed
6dac3cd878 v1.1 2023-10-01 00:39:49 +02:00
tgbv
a541ac2223 chore: using errors pkg instead of fmt 2023-09-30 18:01:44 +03:00
tgbv
0a0b34ff53 chore: fixed spelling mistake 2023-09-30 17:57:34 +03:00
tgbv
d653d88ab0 fix: invalid mem addr or nil pointer deref 2023-09-30 17:54:16 +03:00
tgbv
57264985e9 feat: allow parsing of zip archives 2023-09-25 00:14:11 +03:00
UnnoTed
7508f721d1 v1
- Add settings window
- Fix libappindicator3 dependency problem
- Add support for multiple tunnels
- Add tunnel name length check
- Add wireguard error messages
2023-03-30 04:26:00 +02:00
UnnoTed
89b8eb8d09 Update dependencies, add icons, tunnel editor, buttons to add, delete and zip tunnels. 2021-08-15 03:05:17 +02:00
UnnoTed
c2990d0c93 v0.1
add deb package
add basic logs
2021-02-28 21:47:03 +01:00
UnnoTed
49bb68c505 init 2020-05-27 15:48:31 +02:00