2181 Commits

Author SHA1 Message Date
Hakan Sariman
618009e27f feat: introduce profile state management with active profile tracking 2025-06-23 16:17:06 +03:00
Hakan Sariman
4b68a2a665 feat: add profile management commands for listing, adding, removing, and selecting profiles 2025-06-23 15:51:38 +03:00
Hakan Sariman
790484bda2 feat: integrate profile manager with event handling for improved profile selection 2025-06-22 11:17:20 +03:00
Hakan Sariman
b27ed5e0cf feat: implement default profile and enhance profile management UI 2025-06-22 10:44:06 +03:00
Hakan Sariman
7f899d5005 feat: add connection status icons for UI updates 2025-06-22 09:59:27 +03:00
Hakan Sariman
fee8051685 refactor: remove unused profile-related messages and simplify profile switching logic 2025-06-22 09:38:58 +03:00
Hakan Sariman
63a8ccc13a remove unnecessary RPC methods 2025-06-22 09:35:10 +03:00
Hakan Sariman
0777f86891 add IsActive field to Profile and update profile management UI 2025-06-22 09:32:40 +03:00
Hakan Sariman
dceb69f27b add active profile management and JSON file utilities 2025-06-22 09:20:41 +03:00
Hakan Sariman
69fa927360 Merge branch 'main' into feat/multiple-profile 2025-06-22 08:44:52 +03:00
Hakan Sariman
4769b5e788 add profile manager with error handling for profile operations 2025-06-22 08:42:36 +03:00
Viktor Liu
2a51609436
[client] Handle lazy routing peers that are part of HA groups (#3943)
* Activate new lazy routing peers if the HA group is active
* Prevent lazy peers going to idle if HA group members are active (#3948)
2025-06-20 18:07:19 +02:00
Pascal Fischer
83457f8b99
[management] add transaction for integrated validator groups update and primary account update (#4014) 2025-06-20 12:13:24 +02:00
Hakan Sariman
77a3b209b5 [client] update systray menu to include multiple profile options 2025-06-20 11:46:50 +03:00
Pascal Fischer
b45284f086
[management] export ephemeral peer flag on api (#4004) v0.48.0 2025-06-19 16:46:56 +02:00
Bethuel Mmbaga
e9016aecea
[management] Add backward compatibility for older clients without firewall rules port range support (#4003)
Adds backward compatibility for clients with versions prior to v0.48.0 that do not support port range firewall rules.

- Skips generation of firewall rules with multi-port ranges for older clients
- Preserves support for single-port ranges by treating them as individual port rules, ensuring compatibility with older clients
2025-06-19 13:07:06 +03:00
Viktor Liu
23b5d45b68
[client] Fix port range squashing (#4007) 2025-06-18 18:56:48 +02:00
Viktor Liu
0e5dc9d412
[client] Add more Android advanced settings (#4001) 2025-06-18 17:23:23 +02:00
Zoltan Papp
91f7ee6a3c
Fix route notification
On Android ignore the dynamic roots in the route notifications
2025-06-18 16:49:03 +02:00
Bethuel Mmbaga
7c6b85b4cb
[management] Refactor routes to use store methods (#2928) 2025-06-18 16:40:29 +03:00
Hakan Sariman
b3dd1767d7 Merge branch 'main' into feat/multiple-profile 2025-06-18 14:49:12 +03:00
hakansa
08c9107c61
[client] fix connection state handling (#3995)
[client] fix connection state handling (#3995)
v0.47.2
2025-06-17 17:14:08 +03:00
hakansa
81d83245e1
[client] Fix logic in updateStatus to correctly handle connection state (#3994)
[client] Fix logic in updateStatus to correctly handle connection state (#3994)
2025-06-17 17:02:04 +03:00
Maycon Santos
af2b427751
[management] Avoid recalculating next peer expiration (#3991)
* Avoid recalculating next peer expiration

- Check if an account schedule is already running
- Cancel executing schedules only when changes occurs
- Add more context info to logs

* fix tests
2025-06-17 15:14:11 +02:00
hakansa
f61ebdb3bc
[client] Fix DNS Interceptor Build Error (#3993)
[client] Fix DNS Interceptor Build Error
2025-06-17 16:07:14 +03:00
Viktor Liu
de7384e8ea
[client] Tighten allowed domains for dns forwarder (#3978) 2025-06-17 14:03:00 +02:00
Viktor Liu
75c1be69cf
[client] Prioritze the local resolver in the dns handler chain (#3965) 2025-06-17 14:02:30 +02:00
hakansa
424ae28de9
[client] Fix UI Download URL (#3990)
[client] Fix UI Download URL
2025-06-17 11:55:48 +03:00
Hakan Sariman
bccf672dc0 Add platform-specific profile handling and sanitize usernames 2025-06-17 10:44:26 +03:00
Viktor Liu
d4a800edd5
[client] Fix status recorder panic (#3988) v0.47.1 2025-06-17 01:20:26 +02:00
Maycon Santos
dd9917f1a8
[misc] add missing images (#3987) v0.47.0 2025-06-16 21:05:49 +02:00
Viktor Liu
8df8c1012f
[client] Support wildcard DNS on iOS (#3979) 2025-06-16 18:33:51 +02:00
Viktor Liu
bfa5c21d2d
[client] Improve icmp conntrack log (#3963) 2025-06-16 10:12:59 +02:00
Hakan Sariman
ee8957b052 Remove unused debug case from service client UI 2025-06-16 09:29:25 +03:00
Hakan Sariman
4f067daefe [client] Add profile handling to event handler 2025-06-16 09:25:36 +03:00
Hakan Sariman
f769b28370 merge main 2025-06-16 09:18:17 +03:00
Maycon Santos
b1247a14ba
[management] Use xID for setup key IDs to avoid id collisions (#3977)
This PR addresses potential ID collisions by switching the setup key ID generation from a hash-based approach to using xid-generated IDs.

Replace the hash function with xid.New().String()
Remove obsolete imports and the Hash() function
2025-06-14 12:24:16 +01:00
Philippe Vaucher
f595057a0b
[signal] Set flags from environment variables (#3972) 2025-06-14 00:08:34 +02:00
hakansa
089d442fb2
[client] Display login popup on session expiration (#3955)
This PR implements a feature enhancement to display a login popup when the session expires. Key changes include updating flag handling and client construction to support a new login URL popup, revising login and notification handling logic to use the new popup, and updating status and server-side session state management accordingly.
2025-06-13 23:51:57 +02:00
Viktor Liu
04a3765391
[client] Fix unncessary UI updates (#3785) 2025-06-13 20:38:50 +02:00
Zoltan Papp
d24d8328f9
[client] Propagation networks for Android client (#3966)
Add networks propagation
2025-06-13 11:04:17 +02:00
Vlad
4f63996ae8
[management] added events streaming metrics (#3814) 2025-06-12 18:48:54 +01:00
Zoltan Papp
bdf2994e97
[client] Feature/android preferences (#3957)
Propagate Rosenpass preferences for Android
2025-06-12 09:41:12 +02:00
Bethuel Mmbaga
6d654acbad
[management] Persist peer flags in meta updates (#3958)
This PR adds persistence for peer feature flags when updating metadata, including equality checks, gRPC extraction, and corresponding unit tests.

- Introduce a new `Flags` struct with `isEqual` and incorporate it into `PeerSystemMeta`.
- Update `UpdateMetaIfNew` logic to consider flag changes.
- Extend gRPC server’s `extractPeerMeta` to populate `Flags` and add tests for `Flags.isEqual`.
2025-06-11 22:39:59 +02:00
Viktor Liu
3e43298471
[client] Fix local resolver returning error for existing domains with other types (#3959) 2025-06-11 21:08:45 +02:00
Bethuel Mmbaga
0ad2590974
[misc] Push all docker images to ghcr in releases (#3954)
This PR refactors the release process to push all release images to the GitHub Container Registry.

Updated image naming in .goreleaser.yaml to include new registry references.
Added a GitHub Actions step in .github/workflows/release.yml to log in to the GitHub Container Registry.
2025-06-11 15:28:30 +02:00
Zoltan Papp
9d11257b1a
[client] Carry the peer's actual state with the notification. (#3929)
- Removed separate thread execution of GetStates during notifications.
- Updated notification handler to rely on state data included in the notification payload.
2025-06-11 13:33:38 +02:00
Bethuel Mmbaga
4ee1635baa
[management] Propagate user groups when group propagation setting is re-enabled (#3912) 2025-06-11 14:32:16 +03:00
Zoltan Papp
75feb0da8b
[client] Refactor context management in ConnMgr for clarity and consistency (#3951)
In the conn_mgr we must distinguish two contexts. One is relevant for lazy-manager, and one (engine context) is relevant for peer creation. If we use the incorrect context, then when we disable the lazy connection feature, we cancel the peer connections too, instead of just the lazy manager.
2025-06-11 11:04:44 +02:00
Bethuel Mmbaga
87376afd13
[management] Enable unidirectional rules for all port policy (#3826) 2025-06-10 18:02:45 +03:00