Commit Graph

2732 Commits

Author SHA1 Message Date
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
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
9cf71fd3e1 go get -u=patch ./... 2025-10-17 23:42:54 +03:00
Alexandr Stelnykovych
e0345949b8 Merge pull request #2013 from safing/dependabot/go_modules/golang.org/x/sync-0.17.0
build(deps): bump golang.org/x/sync from 0.16.0 to 0.17.0
2025-10-17 23:13:42 +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
31aec94008 Build scripts refactoring 2025-10-17 21:53:50 +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
d32b51f083 Merge pull request #2037 from safing/fix/1949-Linux-recover-iptables
Fix/1949 linux recover iptables

https://github.com/safing/portmaster/pull/2037
2025-10-06 13:37:43 +03:00
Alexandr Stelnykovych
ad0a89edf4 Merge pull request #2036 from safing/fix/2023-mouse-BACK-btn-causes-blank-UI
fix[desktop:Tauri]: block navigation to blank page
2025-10-06 13:36:55 +03:00
Alexandr Stelnykovych
af6a1623cc fix: improve error handling in recoverIPTables by filtering chain not exist errors
https://github.com/safing/portmaster/issues/1949
2025-10-03 12:43:04 +03:00
Alexandr Stelnykovych
c085ae05ea fix: correct ExecStopPost command syntax in portmaster.service
https://github.com/safing/portmaster/issues/1949
2025-10-03 12:31:08 +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
dependabot[bot]
59b88148b2 build(deps): bump golang.org/x/sync from 0.16.0 to 0.17.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/sync/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-version: 0.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 01:03:22 +00: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
201b9a8773 deps: update vulnerable Go modules to latest safe versions 2025-09-03 16:50:29 +03:00
Alexandr Stelnykovych
753ee5ce9c Merge pull request #2001 from safing/fix/1999-SPN-intel-data-is-not-applied-in-some-cases
fix: SPN intel data is not applied in some cases
2025-09-03 13:57:59 +03:00
Alexandr Stelnykovych
75bd4d152d Merge pull request #1992 from safing/fix/1989-SQLite-data-save-issue
fix: (SQLite) Some configuration data is not stored in the core database
2025-09-03 13:52:45 +03:00
Alexandr Stelnykovych
866dce42da Merge pull request #1990 from safing/fix/1988-redundant-filterlists-update
fix: Unnecessary filterlists database update on service start
2025-09-03 13:46:43 +03:00
Alexandr Stelnykovych
0962f0a9b1 Merge pull request #1985 from safing/feature/1961-UI-zoom-in-out
[desktop] UI: Ctrl+/Crtl- shortcuts to Zoom-in/Zoom-out
2025-09-03 13:42:39 +03:00
Alexandr Stelnykovych
10589dc725 (interception) Linux: respect original packet marks (#1993)
(WireGuard/wg-quick compatibility)
2025-09-03 13:32:07 +03:00
Alexandr Stelnykovych
015cb5a969 Reorder import statements for better organization and linter compliance 2025-09-03 13:16:32 +03:00
Alexandr Stelnykovych
b41cded4cc Reorder import statements for better organization and linter compliance 2025-09-03 13:07:12 +03:00
Alexandr Stelnykovych
73ce148ad6 Refactor registerEventCallbacks to remove error handling and simplify callback registration 2025-09-03 12:55:58 +03:00
Alexandr Stelnykovych
c14eb43605 fix: Improve error handling for malformed records in SQLite storage 2025-09-03 12:44:43 +03:00
Alexandr Stelnykovych
2c6a1a993c fix: Ensure error handling during SPN intel initialization 2025-09-03 12:31:25 +03:00
Alexandr Stelnykovych
7a95b021a5 fix: Prevent unintended use of SPN nodes when intel data is not yet applied
Related Issue Details:
In some situations, SPN intel data was not fully applied.
This lead to Portmaster making connections that don’t align with the intended intel preferences.

https://github.com/safing/portmaster/issues/1999
https://github.com/safing/portmaster-shadow/issues/35
2025-09-02 18:26:34 +03:00
Alexandr Stelnykovych
d67c8e9a04 fix: Ensure intel data for the main SPN map is initialized before Portmaster starts an SPN connection
Related Issue Details:
In some situations, SPN intel data was not fully applied.
This lead to Portmaster making connections that don’t align with the intended intel preferences.

https://github.com/safing/portmaster/issues/1999
https://github.com/safing/portmaster-shadow/issues/35
2025-09-02 18:24:50 +03:00
Alexandr Stelnykovych
ce52869945 fix: Some configuration data is not stored in the core database when using SQLite.
https://github.com/safing/portmaster/issues/1989
2025-08-28 17:25:16 +03:00
Alexandr Stelnykovych
1ee7db6948 Unnecessary filterlists database update on service start
https://github.com/safing/portmaster/issues/1988

---
The filterlists database is often updated when the service starts, even if the latest version is already cached in the database.
This does not affect PM’s functionality, but it unnecessarily consumes CPU resources.

**Technical explanation:**
This happens because the filterlists update check sometimes runs before the module is fully initialized.

**Steps to Reproduce:**
1. Start PM and ensure the filterlists are up to date.
2. Fully stop PM.
3. Start PM again.

**Observed result:**
PM reprocesses the filterlists cache database.

**Expected result:**
PM should update only when new data is available. Already processed data should not be reprocessed.
2025-08-28 17:21:17 +03: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
f7a8133f81 Merge branch 'release/v2.0.24' into development 2025-08-11 11:51:28 +03:00
Alexandr Stelnykovych
58f4058633 v2 tests fix (#1956)
* v2 tests fix
* test: added tests for sqlite
2025-08-07 02:04:38 +03:00