Commit Graph

2779 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
3c8bd02808 Earthfile: exclude extra fields when creating assets.zip 2025-12-09 23:27:02 +02:00
Alexandr Stelnykovych
d5d47223b4 fix(spn): Ensure intel data is initialized
Prevent intel remaining uninitialized, which caused SPN to fail to bootstrap on connect.
https://github.com/safing/portmaster/issues/2095
2025-12-09 14:28:48 +02:00
Alexandr Stelnykovych
e1475a1a3e feat(build): add script to build Tauri application for Portmaster on Linux 2025-12-08 18:19:56 +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
9af071ef17 fix(control): ensure wall-clock comparison for resume worker deadline 2025-12-01 13:32:46 +02:00
Alexandr Stelnykovych
1a47196d84 Merge pull request #2086 from safing/fix/pause-fixes
fixes in Pause logic
2025-11-28 13:40:59 +02:00
Alexandr Stelnykovych
aa507572d0 fix(group): correct IsStopped logic to use local state variable 2025-11-28 13:34:07 +02:00
Alexandr Stelnykovych
569e0a70dd fix(control): wait for SPN to fully stop before completing pause operation 2025-11-28 13:26:14 +02:00
Alexandr Stelnykovych
b12729cb3a Permanent verdict for accepted API outbound packets 2025-11-27 16:36:49 +02:00
Alexandr Stelnykovych
b43905aac5 Refactor resume worker to handle unexpected wall-clock changes and improve SPN auto-resume logic 2025-11-27 16:27:59 +02:00
Alexandr Stelnykovych
1208783f34 Enhance fast-tracking for API connections to maintain seamless UI experience after pause 2025-11-26 17:39:42 +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
7341fb3068 Merge pull request #2078 from safing/fix/UI-websocket-shutdown-lifecycle
Fix/UI websocket shutdown lifecycle
2025-11-21 12:54:47 +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
a14a55c950 Merge pull request #2067 from safing/feature/2050-pause
Feature: pause PM/SPN
2025-11-12 14:26:40 +02:00
Alexandr Stelnykovych
063fa7f115 fix(interception): ensure metrics are stopped on failed module start 2025-11-12 14:24:24 +02:00
Alexandr Stelnykovych
2a551d5f10 fix(test): add missing faker dependency for generated code
Added github.com/jaswdr/faker/v2 v2.9.0 to resolve test compilation failures
in generated factory test files
2025-11-12 13:19:17 +02:00
Alexandr Stelnykovych
40cd0dbe2f Merge pull request #2064 from D3SOX/patch-1
Update log file path in issue templates
2025-11-12 12:49:06 +02:00
Alexandr Stelnykovych
4a3a494ed2 Update report-compatibility.md
PMv2 logs path on Windows
2025-11-12 12:48:26 +02:00
Alexandr Stelnykovych
f1f18d4b64 Update report-bug.md
PMv2 logs path in Windows
2025-11-12 12:47:37 +02:00
Alexandr Stelnykovych
f9105fc738 (core) Update golang dependencies
``
go get -u ./...
go mod tidy
```
Fixed SQLite related code to fit latest changes in  SQLite driver
2025-11-12 12:37:33 +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
14be84d2d0 fix(instance): re-add dnsmonitor to serviceGroupInterception module 2025-11-11 18:20:10 +02:00
Alexandr Stelnykovych
83fb71b4bc Merge branch 'development' into feature/2050-pause 2025-11-11 17:33:28 +02:00
Alexandr Stelnykovych
2009dcf9c8 fix: DNSMonitor module crash on stop
Add traceEnded channel to ETWSession for better session management

https://github.com/safing/portmaster/issues/2065
2025-11-11 17:32:56 +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
3406017754 Refactor status module initialization: register runtime privider as soon as possible 2025-11-11 17:17:26 +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
Nico
c2d8e5a880 Update Linux log file path in issue templates 2025-11-09 18:51:45 +01: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
2c67b27b4a refactor: remove SPNGroup from 'control.instance' interface and update pause logic 2025-11-07 16:51:58 +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
4d2d91972b feat: refactor interception modules into pausable group
- Add GroupModule to wrap interception, dnsmonitor, and compat modules
- Simplify pause/resume operations by grouping related modules
- Update worker info collection to handle nested module groups
- Remove deprecated flags and improve module lifecycle management
- Add proper atomic state tracking for nfqueue interception

https://github.com/safing/portmaster/issues/2050
2025-11-06 17:28:38 +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
287c498bf1 removed obsolete command line argument "disable-shutdown-event" 2025-10-24 16:08:24 +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
a736e9fec1 update: bump rust version to 1.89 in Earthfile 2025-10-18 00:37:53 +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