Commit Graph

2713 Commits

Author SHA1 Message Date
Alexandr Stelnykovych
1ebac535af minor refactoring 2025-10-18 00:01:01 +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
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
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
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
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
Alexandr Stelnykovych
a652c8bce3 Bump version 2.0.24 2025-08-05 16:45:14 +03:00
Alexandr Stelnykovych
5609594b2a Merge pull request #1955 from safing/fix/1951-Filter-list-update-failed
fix(filterlists): Resolve occasional FilterLists initialization failures
2025-08-05 16:30:51 +03:00
Alexandr Stelnykovych
878de4ba9d refactor(filterlists): Improve index update logging
feat(updates): Add String method
2025-08-05 15:40:02 +03:00
Alexandr Stelnykovych
645438bbf4 fix(filterlists): Semantic version comparison for filter lists index file
Avoid false positives, like: "2025.04.14" != "2025.4.14"
2025-08-05 15:33:14 +03:00
Alexandr Stelnykovych
440e605123 fix(filterlists): Resolve occasional FilterLists initialization failures
Improved module initialization and processing logic to enhance concurrency handling and ensure reliable
https://github.com/safing/portmaster/issues/1951
2025-08-05 13:50:03 +03:00
Alexandr Stelnykovych
95459aae21 workflows: update triggers for renamed branches 2025-07-28 15:02:29 +03:00
Alexandr Stelnykovych
bf8da732b9 Bump version 2.0.23 2025-07-14 11:25:04 +03:00
Alexandr Stelnykovych
be22e57302 Merge pull request #1925 from safing/fix/Linux_core_bpf_compatibility
improvement(ebpf-Linux): enhance eBPF object loading for kernel compatibility
2025-07-14 08:14:48 +00:00
Alexandr Stelnykovych
1b76004a63 Minor cleanup in code comments 2025-07-11 19:47:28 +03:00
Alexandr Stelnykovych
d5698270e9 improvement(ebpf-Linux): enhance eBPF object loading for kernel compatibility and update attach points 2025-07-11 19:03:13 +03:00
Alexandr Stelnykovych
7946568b63 Bump version 2.0.22 2025-06-27 13:05:59 +03:00
Alexandr Stelnykovych
f56e980d22 Merge pull request #1917 from safing/fix/1872-Reinitializing-SPN-breaks-SPN
Fix/1872 reinitializing spn breaks spn
2025-06-27 12:54:10 +03:00
Alexandr Stelnykovych
f0e154f9ed Merge pull request #1916 from safing/fix/1490-search-highlight-markup-in-merging-profile-name
fix(UI): remove search highlight markup from merge profile names
2025-06-27 12:53:39 +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
Alexandr Stelnykovych
bcaf0b90f0 Refactor WorkerCtx to use a boolean for isStopWorker 2025-06-26 17:55:10 +03:00
Alexandr Stelnykovych
5d37c126bc Fixed SPN re-initialization
https://github.com/safing/portmaster/issues/1872
2025-06-26 17:14:57 +03:00
Alexandr Stelnykovych
0c2dfbc489 Bump version 2.0.21 2025-06-20 16:35:25 +03:00
Alexandr Stelnykovych
c7f2420c64 [kext] (inf): add PnpLockdown setting to PortmasterKext64.inf 2025-06-20 15:14:29 +03:00