Commit Graph

2523 Commits

Author SHA1 Message Date
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
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
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
Vladimir Stoilov
9524138f0f [destkop] Add tauri http and websocket plugins 2025-04-01 14:54:25 +03:00
Vladimir Stoilov
c1c3197574 [service] Fix UI path detection 2025-04-01 14:33:15 +03:00
Alexandr Stelnykovych
90ce30e842 [desktop] Windows Installer: unregister V1 uninstaller 2025-03-27 15:47:53 +02:00
Alexandr Stelnykovych
4a8c64067d [desktop] Windows uninstaller fixes 2025-03-27 15:13:05 +02:00
Alexandr Stelnykovych
af4035feda [desktop] Windows Installer: stop service (when running) before install 2025-03-27 13:38:20 +02:00
Alexandr Stelnykovych
27235ad7b7 Revert "[desktop] Fix tray menu spn status and button"
This reverts commit 8aab22a9ec.
2025-03-26 14:44:10 +02:00
Alexandr Stelnykovych
731ad885bb Merge pull request #1821 from safing/feature/installer-migration
Feature/installer migration
2025-03-25 17:06:35 +02:00
Alexandr Stelnykovych
b320ac24fb Merge pull request #1845 from safing/fix/generated-index-version
Use the current binary version for the generated index
2025-03-25 17:02:53 +02:00
Alexandr Stelnykovych
9258148b1a Merge pull request #1843 from safing/fix/traymenu-button
Fix tray menu SPN status and button
2025-03-25 16:59:05 +02:00
Alexandr Stelnykovych
f08a36f5ff [packaging] Fix: Linux installers (migration/update/removal) 2025-03-25 14:30:46 +00:00
Daniel
93b1623b61 Use the current binary version for the generated index 2025-03-25 15:00:24 +01:00
Vladimir Stoilov
8aab22a9ec [desktop] Fix tray menu spn status and button 2025-03-25 14:47:13 +02:00
Vladimir Stoilov
6b958fd93d [desktop] Fix installer migration leftovers Win 2025-03-24 16:43:52 +02:00
Alexandr Stelnykovych
4de155fafd Bump UI version 2025-03-21 15:49:52 +02:00
Alexandr Stelnykovych
aada179191 Merge branch 'v2.0' into feature/installer-migration 2025-03-21 15:41:29 +02:00
Alexandr Stelnykovych
9437a95645 Merge remote-tracking branch 'origin/fix/geoip-db-handling' into feature/installer-migration 2025-03-21 15:40:35 +02:00
Alexandr Stelnykovych
0597bf7dc2 [packaging] Compatibility generate_windows_installers.ps1 with 'updatemgr download ...' 2025-03-21 15:34:06 +02:00
Alexandr Stelnykovych
b970a98055 Bump binaries versions to v2 2025-03-21 12:16:51 +00:00
Alexandr Stelnykovych
15bd31adb5 [desktop] Fix: Failed to display "News" on the dashboard 2025-03-21 13:38:10 +02:00
Alexandr Stelnykovych
3defb5f0ba [packaging] Fix in generate_windows_installers.ps1 2025-03-20 12:37:16 +02:00
Alexandr Stelnykovych
69a3d03a4f [packaging] Set the correct versions for compiled binaries and installers based on the Git tag 2025-03-20 09:50:52 +00:00
Daniel
a2b44d73ca Make sure main directory exists when starting updater module 2025-03-17 16:13:33 +01:00
Daniel
5ffb637321 Remove geoip db loading fallback with binary index 2025-03-17 16:10:38 +01:00
Alexandr Stelnykovych
1ed666e863 [packaging] fix: incorrect dependency in DEB package 2025-03-14 00:10:05 +02:00
Alexandr Stelnykovych
ef080cc3fb [packaging] Added missing intel artifacts to installers 2025-03-14 00:08:51 +02:00
Alexandr Stelnykovych
8a0aacd446 [packaging] Excluded binary index from installers 2025-03-14 00:07:26 +02:00
Alexandr Stelnykovych
5c38035f14 Merge branch 'v2.0' into feature/installer-migration 2025-03-13 16:37:13 +02:00
Alexandr Stelnykovych
453a8ff0ba Merge pull request #1828 from safing/fix/v2-spn-init
[cmds] fix: Enable SPN client mode (PMv2)
2025-03-13 12:58:52 +02:00
Alexandr Stelnykovych
0a7c5f9306 [cmds] fix: Enable SPN client mode 2025-03-12 19:20:32 +02:00
Vladimir Stoilov
009ad6b2f1 [desktop] Delete files after uninstall from NSIS 2025-03-12 16:22:33 +02:00
Vladimir Stoilov
3b5556b7bb [cmds] Trigger instance shutdown on external events 2025-03-12 15:07:54 +02:00
Daniel Hååvi
770d5767b6 Merge pull request #1827 from safing/feature/disable-intel-index-sigs
Disable Intel Index signatures for now
2025-03-12 10:33:49 +01:00
Daniel
ac3f0599b6 Disable Intel Index signatures for now 2025-03-10 15:26:27 +01:00