Commit Graph

73 Commits

Author SHA1 Message Date
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
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
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
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
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
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
4ef04c72ca [desktop] Tauri HTTP interceptor 2025-04-12 23:34:07 +03:00
Vladimir Stoilov
9524138f0f [destkop] Add tauri http and websocket plugins 2025-04-01 14:54:25 +03: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
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
Vladimir Stoilov
c3f6eec7d6 Fix Earthly build 2025-03-01 01:13:51 +02:00
Vladimir Stoilov
9ff7ec96d1 [desktop] Tauri update v2.2.5 2025-02-24 10:44:13 +02:00
Alexandr Stelnykovych
d8108bff0e [fix] UI: Error when clicking on 'Apps' in the application configuration
https://github.com/safing/portmaster/issues/1721
2025-01-31 17:50:00 +02:00
Vladimir Stoilov
85031e861b [desktop] Update tauri (#1760) 2024-11-28 10:41:14 +02:00
Daniel
706ce222d0 WIP 2024-11-27 16:16:15 +01:00
Vladimir Stoilov
ca88c6d8ad [desktop] Update tauri (#1760) 2024-11-26 16:59:06 +02:00
Vladimir Stoilov
f465f95e81 Update desktop/angular/src/app/prompt-entrypoint/prompt-entrypoint.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-09-03 11:35:38 +03:00
Vladimir Stoilov
4ed4640fee [desktop] update tauri npm packages 2024-09-02 09:55:21 +03:00
Daniel
30eb77d213 Bump UI version 2024-08-28 14:28:17 +02:00
Daniel
7df0fbb614 [desktop] Fix version information in UI 2024-08-23 10:17:49 +02:00
Daniel
77d8e3818d Bump UI version 2024-08-21 15:04:21 +02:00
Daniel Hååvi
80664d1a27 Restructure modules (#1572)
* Move portbase into monorepo

* Add new simple module mgr

* [WIP] Switch to new simple module mgr

* Add StateMgr and more worker variants

* [WIP] Switch more modules

* [WIP] Switch more modules

* [WIP] swtich more modules

* [WIP] switch all SPN modules

* [WIP] switch all service modules

* [WIP] Convert all workers to the new module system

* [WIP] add new task system to module manager

* [WIP] Add second take for scheduling workers

* [WIP] Add FIXME for bugs in new scheduler

* [WIP] Add minor improvements to scheduler

* [WIP] Add new worker scheduler

* [WIP] Fix more bug related to new module system

* [WIP] Fix start handing of the new module system

* [WIP] Improve startup process

* [WIP] Fix minor issues

* [WIP] Fix missing subsystem in settings

* [WIP] Initialize managers in constructor

* [WIP] Move module event initialization to constrictors

* [WIP] Fix setting for enabling and disabling the SPN module

* [WIP] Move API registeration into module construction

* [WIP] Update states mgr for all modules

* [WIP] Add CmdLine operation support

* Add state helper methods to module group and instance

* Add notification and module status handling to status package

* Fix starting issues

* Remove pilot widget and update security lock to new status data

* Remove debug logs

* Improve http server shutdown

* Add workaround for cleanly shutting down firewall+netquery

* Improve logging

* Add syncing states with notifications for new module system

* Improve starting, stopping, shutdown; resolve FIXMEs/TODOs

* [WIP] Fix most unit tests

* Review new module system and fix minor issues

* Push shutdown and restart events again via API

* Set sleep mode via interface

* Update example/template module

* [WIP] Fix spn/cabin unit test

* Remove deprecated UI elements

* Make log output more similar for the logging transition phase

* Switch spn hub and observer cmds to new module system

* Fix log sources

* Make worker mgr less error prone

* Fix tests and minor issues

* Fix observation hub

* Improve shutdown and restart handling

* Split up big connection.go source file

* Move varint and dsd packages to structures repo

* Improve expansion test

* Fix linter warnings

* Fix interception module on windows

* Fix linter errors

---------

Co-authored-by: Vladimir Stoilov <vladimir@safing.io>
2024-08-09 18:15:48 +03:00
Vladimir Stoilov
22a288c66b [desktop] disable annimation from the service dialog 2024-07-24 11:16:34 +03:00
Daniel
735174dfd3 Remove transition notice from UI 2024-07-22 16:05:46 +02:00
Daniel
617694ed95 Fix font paths 2024-07-22 16:04:35 +02:00
Vladimir Stoilov
919cfd89eb Fix CI, tauri, angular, go-test 2024-07-16 12:31:52 +03:00
Vladimir Stoilov
0b72e99edd [cmds] Allow running of tauri in beta 2024-07-08 09:22:11 +03:00
Vladimir Stoilov
b026e7b97e Merge branch 'develop' into feature/tauri-beta-update 2024-07-04 13:47:09 +03:00
Daniel
d6cea3a667 [desktop/angular] Bump UI version 2024-06-05 15:56:15 +02:00
Daniel
401e09b963 [desktop/angular] Improve country display in connection details 2024-05-28 16:32:55 +02:00
Daniel
9a77664de1 Update node deps 2024-05-28 15:57:31 +02:00