Commit Graph

2563 Commits

Author SHA1 Message Date
Daniel Hååvi
03da033cd2 Only use stale dns cache entries when the query result was successful
(cherry picked from commit f233a56eea)
2025-05-07 17:30:36 +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
93e4449b00 (Windows) fix: UI restart – do not send "shutdown" event during restart 2025-04-30 12:33:18 +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
deee68d5d3 [packaging] fix: duplicate 'assets' in release files 2025-04-28 11:38:07 +03:00
Alexandr Stelnykovych
54f07e15d9 Bump UI version 2025-04-28 11:36:29 +03:00
Alexandr Stelnykovych
beb06ed764 Merge pull request #1871 from safing/feature/ui-security
[desktop] Portmaster UI process detection (including child processes)
2025-04-28 11:09:01 +03:00
Alexandr Stelnykovych
d3e489f10a Merge branch 'v2.0' into feature/ui-security 2025-04-28 11:08:25 +03:00
Alexandr Stelnykovych
37d32c7038 Merge pull request #1873 from safing/fix/s10-linux_upgrade_fix
Fix/s10 linux upgrade fix
2025-04-28 11:05:55 +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
e21acae888 [desktop] API requests from the UI are now sent from the app binary instead of the WebView.
This makes it easier to identify the API request initiator, which is important for authenticating the UI process.

Note: Requests that do not require authentication (e.g., images, fonts, styles) may still be made from the WebView.

Merge branch 'feature/ui-connections-trough-tauri-bin' into feature/ui-security

# Conflicts:
#	desktop/angular/package-lock.json
#	desktop/angular/package.json
#	desktop/tauri/src-tauri/Cargo.lock
#	desktop/tauri/src-tauri/Cargo.toml
#	desktop/tauri/src-tauri/gen/schemas/acl-manifests.json
#	desktop/tauri/src-tauri/gen/schemas/desktop-schema.json
#	desktop/tauri/src-tauri/gen/schemas/windows-schema.json
2025-04-24 15:02:05 +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
41f860bb9c [github workflow] Temporarily disabled building installers 2025-04-23 14:17:04 +03:00
Alexandr Stelnykovych
09412e9222 [desktop] fix: Rust compilation warnings in Tauri project 2025-04-23 13:45:45 +03:00
Alexandr Stelnykovych
6a230b828c [updates] (Linux): custom post-upgrade commands + command to restore SELinux context 2025-04-22 17:36:42 +03:00
Alexandr Stelnykovych
6288056dc6 [packaging] (Linux) fix: modified service restrictions to allow write access to Portmaster binary folder 2025-04-22 17:22:48 +03:00
Alexandr Stelnykovych
c94ec9ac5e [packaging] (Linux) fix: Incorrect Portmaster icon on task bar 2025-04-21 16:38:35 +03:00
Alexandr Stelnykovych
7e61536992 [desktop] Portmaster UI process detection (including child processes) 2025-04-18 17:23:59 +03:00
Alexandr Stelnykovych
827a6083e0 Revert "[destkop] Add tauri http and websocket plugins"
This reverts commit 9524138f0f.
2025-04-18 17:20:34 +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
29d70b6ab4 Modified .gitignore 2025-04-15 14:02:38 +03:00
Alexandr Stelnykovych
17d017c2e8 [packaging] Earthfile +all-artifacts 2025-04-15 10:37:38 +00:00
Alexandr Stelnykovych
d96f61bd5c fix: [updater] preserve "uninstaller.exe" during upgrade + purged obsolete config of "ignore" files from binary index 2025-04-14 17:48:26 +03:00
Alexandr Stelnykovych
8337eef359 fix: [updater] "restart" action to apply updates 2025-04-14 17:44:12 +03:00
Alexandr Stelnykovych
f0c71c97d1 fix: [updater] crash when updater runs without UI instance 2025-04-14 10:57:12 +00:00
Alexandr Stelnykovych
7d5a8fd1dc Merge pull request #1861 from safing/feature/ui-serving-upgrade-lock
Add upgrade locking mechanism to core ui serving module
2025-04-14 10:05:22 +03:00
Alexandr Stelnykovych
2c6fe52d5f Merge pull request #1860 from safing/feature/call-limiter-2
CallLimiter2
2025-04-14 10:04:41 +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
592e8faf83 [packaging] new helper scripts 2025-04-12 23:17:07 +03:00
Daniel
438f43156f Add upgrade locking mechanism to core ui serving module 2025-04-07 15:26:35 +02:00
Daniel
38d84b57b4 Use CallLimiter2 2025-04-07 14:23:58 +02:00
Daniel
cacf285260 Add CallLimiter2 2025-04-07 14:22:38 +02:00
Alexandr Stelnykovych
b1bc5e2d0e [packaging] Erasing work directories before building Windows installer 2025-04-04 16:35:29 +03:00
Alexandr Stelnykovych
58167bd259 Merge pull request #1849 from safing/fix/updater-fix-2
Fix/updater fix 2
2025-04-04 12:05:42 +03:00
Alexandr Stelnykovych
2dff08a4e8 Merge pull request #1851 from safing/fix/traymenu-button
[destkop] Fix tray context menu update
2025-04-04 11:48:45 +03:00