Commit Graph

225 Commits

Author SHA1 Message Date
Alexandr Stelnykovych
2d7d0323b0 feat(VisualStudio Code): add launch configurations
Some checks failed
Angular / Lint (push) Has been cancelled
Angular / Build (push) Has been cancelled
Release v2.X / Prep (push) Has been cancelled
Tauri / Build (push) Has been cancelled
Tauri / Linter (push) Has been cancelled
Release v2.X / Installer linux (push) Has been cancelled
Release v2.X / Installer windows (push) Has been cancelled
Close Stale Issues / stale (push) Has been cancelled
2025-12-17 14:08:24 +02:00
Alexandr Stelnykovych
b5cb006937 Bump version 2.1.7 2025-12-09 23:35:06 +02:00
Alexandr Stelnykovych
8c19468e32 refactor(UI): remove unused structs and simplify GTK theme handling 2025-12-08 17:58:58 +02:00
Alexandr Stelnykovych
9a2b4f6256 fix(UI): ensure GTK calls are executed on the main thread to prevent segfaults 2025-12-08 17:31:26 +02:00
Alexandr Stelnykovych
d635db77c2 Improve pause info display and error handling 2025-11-26 13:01:24 +02:00
Alexandr Stelnykovych
4913147dd5 (UI) minor update of update pause notification messages 2025-11-21 14:07:57 +02:00
Alexandr Stelnykovych
76214bd986 Add WebSocket ping/pong keep-alive mechanism
Implements RFC 6455 compliant ping/pong health checking to detect dead connections:
- Send ping frames every 10 seconds
- Monitor pong responses with 5-second timeout after each ping
2025-11-21 12:28:57 +02:00
Alexandr Stelnykovych
0b20a368f9 Fix WebSocket shutdown and prevent WSA errors
- Add graceful shutdown for WebSocket reconnection loop
- Implement shutdown signal to stop connection attempts on exit
- Track and cancel tray handler tasks to prevent duplicates
- Handle app exit event to trigger WebSocket cleanup

Fixes WSAStartup error 10093 and application hang on shutdown.
2025-11-21 02:08:06 +02:00
Alexandr Stelnykovych
f5533b447c fix(traymenu): update SPN button logic and pause menu items based on SPN status 2025-11-20 14:13:51 +02:00
Alexandr Stelnykovych
d957e0142f Merge pull request #2069 from safing/fix/2051-ui-crash-in-rust-dark-light
Fix: UI crash in rust dark light module
2025-11-12 16:11:54 +02:00
Alexandr Stelnykovych
ae72509293 UI(Tauri): Replace local rust-dark-light with published dark-light crate
https://github.com/safing/portmaster/issues/2051
2025-11-11 19:44:31 +02:00
Alexandr Stelnykovych
3abb2b3c69 feat(control): add notification for automatic resume from pause state 2025-11-11 17:18:58 +02:00
Alexandr Stelnykovych
3aaa5ab161 fix(control): adjust pause logic to ensure correct state updates and notification behavior
fix(traymenu): update tray menu label from "Secured" to "unknown"
fix(notifications): log error when notification is clicked without an associated action
2025-11-10 18:20:34 +02:00
Alexandr Stelnykovych
139610b99d feat(UI): enhance pause info display in system tray menu and reorganize menu item positions
https://github.com/safing/portmaster/issues/2050
2025-11-10 15:14:20 +02:00
Alexandr Stelnykovych
997f95698b UI(system tray menu): added pause/resume menu items + replaced subscription to obsolete "runtime:subsystems" by "runtime:system/status" 2025-11-07 16:58:42 +02:00
Alexandr Stelnykovych
4d58f68fde feat(UI): enhance SPN pause menu to allow time modification while paused 2025-11-07 16:53:01 +02:00
Alexandr Stelnykovych
b9cce33113 UI: Removed sources for "runtime:subsystems/" status API calls
It looks like they are not used anymore and replaced by "runtime:system/status"
2025-11-07 16:50:18 +02:00
Alexandr Stelnykovych
fecb42a691 UI: update SPN pause menu items and add spnEnabled state management
https://github.com/safing/portmaster/issues/2050
2025-11-06 18:42:24 +02:00
Alexandr Stelnykovych
7709a6600c feat: pause and resume functionality improvements + UI
https://github.com/safing/portmaster/issues/2050
2025-11-05 18:36:52 +02:00
Alexandr Stelnykovych
c063bda700 feat(WIP): add pause and resume functionality for Portmaster/SPN
https://github.com/safing/portmaster/issues/2050
2025-10-24 18:15:27 +03:00
Alexandr Stelnykovych
bf3d007a4d Revert "Merge pull request #2003 from safing/dependabot/cargo/desktop/tauri/src-tauri/glib-0.20.0"
This reverts commit f8ac80bbb2, reversing
changes made to 37cb324b56.
2025-10-18 01:01:38 +03:00
Alexandr Stelnykovych
8190e66524 Merge pull request #2040 from safing/feature/2039-UI-auto-reload-connections
Feature: UI auto reload connections
2025-10-18 00:04:44 +03:00
Alexandr Stelnykovych
1ebac535af minor refactoring 2025-10-18 00:01:01 +03:00
Alexandr Stelnykovych
998865efe2 Merge pull request #2042 from safing/fix/2041-UI-crash-loading-grouped-connections
fix: UI bug: when loading grouped connections from 'future'
2025-10-17 23:51:19 +03:00
Alexandr Stelnykovych
67546f850d Merge pull request #2009 from safing/dependabot/cargo/desktop/tauri/src-tauri/crossbeam-channel-0.5.15
build(deps): bump crossbeam-channel from 0.5.14 to 0.5.15 in /desktop/tauri/src-tauri
2025-10-17 23:11:14 +03:00
Alexandr Stelnykovych
a1fbb0dc0a Merge pull request #1943 from safing/dependabot/cargo/desktop/tauri/src-tauri/tokio-1.44.2
Bump tokio from 1.44.1 to 1.44.2 in /desktop/tauri/src-tauri
2025-10-17 23:00:17 +03:00
Alexandr Stelnykovych
f8ac80bbb2 Merge pull request #2003 from safing/dependabot/cargo/desktop/tauri/src-tauri/glib-0.20.0
build(deps): bump glib from 0.18.5 to 0.20.0 in /desktop/tauri/src-tauri
2025-10-17 22:50:34 +03:00
Alexandr Stelnykovych
37cb324b56 Merge pull request #2002 from safing/dependabot/cargo/desktop/tauri/src-tauri/openssl-0.10.73
build(deps): bump openssl from 0.10.71 to 0.10.73 in /desktop/tauri/src-tauri
2025-10-17 22:45:16 +03:00
Alexandr Stelnykovych
965114becb Merge pull request #2008 from safing/dependabot/cargo/desktop/tauri/src-tauri/tauri-plugin-shell-2.2.1
build(deps): bump tauri-plugin-shell from 2.2.0 to 2.2.1 in /desktop/tauri/src-tauri
2025-10-17 22:41:09 +03:00
Alexandr Stelnykovych
303b26f679 npm audit fix 2025-10-17 22:36:21 +03:00
Alexandr Stelnykovych
a8e84d6d28 refactor(UI): remove unnecessary reload intervals from settings 2025-10-17 22:01:24 +03:00
Alexandr Stelnykovych
2dc2193587 feat: add manual trigger for lastReloadTicker updates
Add Subject-based manual trigger to immediately update "Last reload X ago" display when search completes, instead of waiting up to 2 seconds for next interval tick.
2025-10-15 17:43:02 +03:00
Alexandr Stelnykovych
ae2e1e5659 fix: UI bug: when loading grouped connections from 'future'
STR:

1. Network Activity View
2. Set "Search History" From/To dates in the future
3. Set "Group By" Domain
Observed Result:
- Infinite “Loading connections…” status.
- The UI remains unresponsive to any changes in connection filters or reload actions.

https://github.com/safing/portmaster/issues/2041
2025-10-15 17:17:47 +03:00
Alexandr Stelnykovych
54fe389c9d UI: skip auto-reload for historical data queries
https://github.com/safing/portmaster/issues/2039
2025-10-15 16:13:55 +03:00
Alexandr Stelnykovych
153768fb21 UI: Automatic reloading of the connections list
https://github.com/safing/portmaster/issues/2039
2025-10-15 15:23:11 +03:00
Alexandr Stelnykovych
f8679f6b8c fix[desktop:Tauri]: block navigation to blank page
https://github.com/safing/portmaster/issues/2023
2025-10-02 17:53:42 +03:00
Alexandr Stelnykovych
a66544959c Bump version 2.0.25 2025-09-05 11:17:28 +03:00
Alexandr Stelnykovych
8dbd61215b feat: implement debounced window state saving for shutdown resilience
- Add create_debounced_window_state_saver() function in window.rs
- Extract WINDOW_STATE_FLAGS_TO_SAVE and WINDOW_STATE_SAVE_TIMEOUT constants
- Listen to tauri://move and tauri://resize events with 5-second debouncing
- Automatically save window state after positioning changes settle
- Prevent window position loss during system shutdowns/restarts

The debouncing mechanism avoids excessive disk I/O during active window
manipulation while ensuring recent position changes are preserved even
when the application doesn't close normally.

Fixes window position being lost when system restarts before user
manually closes the application.
https://github.com/safing/portmaster/issues/2011
2025-09-04 23:36:01 +03:00
Alexandr Stelnykovych
74f549e562 Revert "ui(angular): dependency security cleanup"
This reverts commit 2893d68383.
2025-09-04 15:33:49 +03:00
dependabot[bot]
4cb043e47b build(deps): bump crossbeam-channel in /desktop/tauri/src-tauri
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.14 to 0.5.15.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.14...crossbeam-channel-0.5.15)

---
updated-dependencies:
- dependency-name: crossbeam-channel
  dependency-version: 0.5.15
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-04 12:17:54 +00:00
dependabot[bot]
d9e25d72c4 build(deps): bump tauri-plugin-shell in /desktop/tauri/src-tauri
Bumps [tauri-plugin-shell](https://github.com/tauri-apps/plugins-workspace) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases)
- [Commits](https://github.com/tauri-apps/plugins-workspace/compare/os-v2.2.0...os-v2.2.1)

---
updated-dependencies:
- dependency-name: tauri-plugin-shell
  dependency-version: 2.2.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-04 10:24:06 +00:00
Alexandr Stelnykovych
2893d68383 ui(angular): dependency security cleanup
Mitigate critical transitive vulnerabilities.
No functional app changes; runtime behavior unchanged.
2025-09-04 13:01:46 +03:00
dependabot[bot]
57186807eb build(deps): bump glib from 0.18.5 to 0.20.0 in /desktop/tauri/src-tauri
Bumps [glib](https://github.com/gtk-rs/gtk-rs-core) from 0.18.5 to 0.20.0.
- [Release notes](https://github.com/gtk-rs/gtk-rs-core/releases)
- [Changelog](https://github.com/gtk-rs/gtk-rs-core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gtk-rs/gtk-rs-core/compare/0.18.5...0.20.0)

---
updated-dependencies:
- dependency-name: glib
  dependency-version: 0.20.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-03 14:24:40 +00:00
dependabot[bot]
5a622ef8c0 build(deps): bump openssl in /desktop/tauri/src-tauri
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.71 to 0.10.73.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.71...openssl-v0.10.73)

---
updated-dependencies:
- dependency-name: openssl
  dependency-version: 0.10.73
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-03 14:17:31 +00:00
Alexandr Stelnykovych
5b121338ef [desktop] UI: Ctrl+/Crtl- shortcuts to Zoom-in/Zoom-out
https://github.com/safing/portmaster/issues/1961
2025-08-25 13:12:43 +03:00
Alexandr Stelnykovych
a652c8bce3 Bump version 2.0.24 2025-08-05 16:45:14 +03:00
dependabot[bot]
44c7697277 Bump tokio from 1.44.1 to 1.44.2 in /desktop/tauri/src-tauri
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.44.1 to 1.44.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.1...tokio-1.44.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-version: 1.44.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-28 12:16:09 +00:00
Alexandr Stelnykovych
bf8da732b9 Bump version 2.0.23 2025-07-14 11:25:04 +03:00
Alexandr Stelnykovych
7946568b63 Bump version 2.0.22 2025-06-27 13:05:59 +03:00
Alexandr Stelnykovych
d5c1a5c3f6 fix(UI): remove search highlight markup from merge profile names
https://github.com/safing/portmaster/issues/1490
2025-06-27 12:45:58 +03:00