Commit Graph

175 Commits

Author SHA1 Message Date
Alexandr Stelnykovych
0c2dfbc489 Bump version 2.0.21 2025-06-20 16:35:25 +03:00
Alexandr Stelnykovych
f7dd9825be (UI): Add endpoint check to TauriHttpInterceptor for non-API requests 2025-06-19 17:26:52 +03:00
Alexandr Stelnykovych
95838b510c fix(UI; Linux): Workaround for unresponsive title-bar buttons on KDE with Wayland
https://github.com/safing/portmaster/issues/1909
2025-06-19 15:38:36 +03:00
Alexandr Stelnykovych
1292fd7dae Bump version 2.0.20 2025-06-09 10:26:27 +03:00
Alexandr Stelnykovych
93f87f4dc4 refactor(UI; tauri-websocket): Simplify Tauri WebSocket connection by removing NgZone dependency and adding inactivity timeout handling 2025-06-09 10:17:45 +03:00
Alexandr Stelnykovych
795d99cc12 (UI; tauri-http): Improve body handling in send_tauri_http_request for various types 2025-06-06 18:46:05 +03:00
Alexandr Stelnykovych
bd12a784c2 (UI; tauri-websocket): Enhance error handling and connection management in WebSocket implementation 2025-06-06 18:45:13 +03:00
Alexandr Stelnykovych
2e5076b3bc fix(UI): Automatically unminimize window when triggered by left mouse click 2025-06-06 13:55:06 +03:00
Alexandr Stelnykovych
ff18ec1292 Refactor window creation functions for improved environment variable handling 2025-06-05 15:08:14 +03:00
Alexandr Stelnykovych
5c46ef0d85 (UI; tauri-websocket): Enhance WebSocket connection handling 2025-06-05 14:55:51 +03:00
Alexandr Stelnykovych
7a7e9c5d6e fix(Windows) Installer: Preserved app data does not include icon cache 2025-06-03 16:41:21 +03:00
Alexandr Stelnykovych
2c1de8c51e Bump version 2.0.19 2025-06-03 15:59:14 +03:00
Alexandr Stelnykovych
cb39e11b32 fix(UI; tauri-websocket): Enhance WebSocket connection handling with observers and improved error management 2025-06-03 14:24:29 +03:00
Alexandr Stelnykovych
774a83dc33 Bump version 2.0.17 2025-05-28 13:20:05 +03:00
Alexandr Stelnykovych
ec2d4ca9eb Merge branch 'master' into merge/master-into-v2-with-history (v1 into v2)
# Conflicts:
#	Earthfile
#	base/config/main.go
#	base/database/dbmodule/db.go
#	base/database/main.go
#	go.mod
#	go.sum
#	service/core/base/global.go
2025-05-28 11:52:15 +03:00
Alexandr Stelnykovych
d3f6cb1504 Bump version 2.0.16 2025-05-22 15:49:58 +03:00
Alexandr Stelnykovych
11c4ae39d2 (Windows) Fix false-positive detection of Portmaster UI processes
Problem:
  System browsers launched from the Portmaster UI (e.g., when a user clicks a link) may be incorrectly detected as Portmaster UI child processes.

Solution:
  The Tauri UI app now sets the PORTMASTER_UI_WEBVIEW_PROCESS environment variable for all child WebView processes. Portmaster-core uses this variable to accurately determine if a process is truly related to the Portmaster UI.
2025-05-21 18:08:04 +03:00
Alexandr Stelnykovych
3e034fc33b (Windows) Use contrast icon for installer and UI app binary 2025-05-21 14:48:59 +03:00
Alexandr Stelnykovych
58ca3150e7 Log a warning in the UI when falling back to default connection parameters 2025-05-20 12:56:24 +03:00
Alexandr Stelnykovych
8035c3d5ac Bump version 2.0.14 2025-05-16 20:13:19 +03:00
Alexandr Stelnykovych
61e85eb85d Revert "[desktop] UI: Restrict CSP to 127.0.0.1:817"
This reverts commit 7407545b6e.
2025-05-16 20:09:13 +03:00
Alexandr Stelnykovych
7407545b6e [desktop] UI: Restrict CSP to 127.0.0.1:817 2025-05-16 19:10:17 +03:00
Alexandr Stelnykovych
5bc1e779b2 fix: force UI to use IPv4 (127.0.0.1) for API endpoints
Previously, the API endpoint was defined using `localhost`, which could resolve to the IPv6 address `::1`.
This caused issues because the Portmaster core service is listening on `127.0.0.1:817` and only fast-tracking connections to that specific IPv4 address.
2025-05-16 10:56:30 +03:00
Alexandr Stelnykovych
c6f47967b1 Bump UI version 2025-05-06 11:34:10 +03:00
Alexandr Stelnykovych
ab3981ba60 [desktop] UI fix: integrate NgZone into Tauri WebSocket connection for better change detection 2025-05-05 18:11:36 +03:00
Alexandr Stelnykovych
eaa70b7a73 Bump UI version 2025-04-30 14:13:11 +03:00
Alexandr Stelnykovych
27cdfd696d [desktop] fix: Bug in the asyncInvoke() function — sometimes it never receives a response.
This fixes the ticket s26: "[bug] UI: Sometimes the UI remains stuck in the "Connecting to System Service" state indefinitely. "
2025-04-28 16:57:32 +03:00
Alexandr Stelnykovych
54f07e15d9 Bump UI version 2025-04-28 11:36:29 +03:00
Alexandr Stelnykovych
d3e489f10a Merge branch 'v2.0' into feature/ui-security 2025-04-28 11:08:25 +03:00
Alexandr Stelnykovych
f81f5c7566 [desktop] Fix: --background command-line argument for UI 2025-04-25 17:12:03 +03:00
Alexandr Stelnykovych
8a0c34826d [packaging] (Windows installer) Add registry entry for autostart and cleanup on uninstall 2025-04-25 12:27:21 +03:00
Alexandr Stelnykovych
dce08b8af8 Revert "[desktop] Custom pipe for '<img>' 'src' to bypass WebView image downloads"
This reverts commit d11bc077cf.
2025-04-24 14:36:10 +03:00
Alexandr Stelnykovych
0cb17a16bb Revert "[desktop] Force <img> elements to use Angular HttpClient for image downloads (bypassing WebView)"
This reverts commit 76289610ee.
2025-04-24 14:36:00 +03:00
Alexandr Stelnykovych
0f74763fb8 Removed Tauri-generated files from repository 2025-04-24 14:19:54 +03:00
Alexandr Stelnykovych
f1b6d85e54 [desktop] Removed "tauri-apps/plugin-http" from UI project dependencies 2025-04-24 14:17:26 +03:00
Alexandr Stelnykovych
5053ef1a23 [desktop] Use custom Tauri command for HTTP requests instead of http-client plugin
Replaced the http-client plugin, as it does not support keep-alive connections.
Each request opened a new TCP connection to the service, which was inefficient.

The new custom `send_tauri_http_request` command, exposed to the UI, uses an application-wide `reqwest::Client`, which supports idle (persistent) connections.
2025-04-24 14:00:15 +03:00
Alexandr Stelnykovych
a42f0a6084 [desktop] Tauri HTTP interceptor: respect request data type 2025-04-23 16:26:16 +03:00
Alexandr Stelnykovych
09412e9222 [desktop] fix: Rust compilation warnings in Tauri project 2025-04-23 13:45:45 +03:00
Alexandr Stelnykovych
bd20714db6 [desktop] Tauri WebSocket connection 2025-04-18 12:13:10 +03:00
Alexandr Stelnykovych
8dfa004d34 [desktop] minor fix in dashboard component 2025-04-17 17:19:00 +03:00
Alexandr Stelnykovych
76289610ee [desktop] Force <img> elements to use Angular HttpClient for image downloads (bypassing WebView) 2025-04-17 17:16:38 +03:00
Alexandr Stelnykovych
d11bc077cf [desktop] Custom pipe for '<img>' 'src' to bypass WebView image downloads 2025-04-17 17:09:04 +03:00
Alexandr Stelnykovych
73174cdca8 [desktop] Force to use custom HttpClient from portmaster-api 2025-04-17 17:06:06 +03:00
Alexandr Stelnykovych
1e7baff6bd [desktop] Tauri HTTP interceptor: content-type support 2025-04-17 16:58:44 +03:00
Alexandr Stelnykovych
88af6d7e1d Bump UI version 2025-04-15 14:12:58 +03:00
Alexandr Stelnykovych
70c2fad662 Merge pull request #1853 from safing/feature/ui-security
UI process authentication
2025-04-14 10:03:24 +03:00
Alexandr Stelnykovych
4ef04c72ca [desktop] Tauri HTTP interceptor 2025-04-12 23:34:07 +03:00
Alexandr Stelnykovych
18b67257e4 Merge branch 'v2.0' into fix/traymenu-button 2025-04-04 11:48:09 +03:00
Alexandr Stelnykovych
c73df64221 Merge pull request #1855 from safing/feature/installer-migration
[packaging] fix: remove leftover installer migration artifacts
2025-04-04 11:17:12 +03:00
Alexandr Stelnykovych
1aa69f73a2 [packaging] fix: remove leftover installer migration artifacts 2025-04-03 17:45:11 +03:00