Commit Graph

63 Commits

Author SHA1 Message Date
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
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
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
Daniel
99e2f63c03 [desktop/angular] Deactivate View Active button 2024-05-28 15:57:11 +02:00
Daniel
dc1b9f98f2 Add support for showing anycast addresses in the UI 2024-05-28 15:56:48 +02:00
Vladimir Stoilov
f15958b091 Migrate tauri to new config 2024-04-24 15:30:46 +03:00
Vladimir Stoilov
7ee1faa68c tauri: Replace portmaster plugin with interface 2024-04-23 15:48:04 +03:00
Daniel
8c85259cc1 Bump UI version 2024-04-23 10:28:56 +02:00
Daniel
e2652d0934 Add new ready api endpoint 2024-04-23 10:26:08 +02:00
Daniel
4858d182fa Fix app icon component re-use 2024-04-23 10:11:39 +02:00
Daniel
830dda96c5 Bump ui version 2024-04-18 14:38:48 +02:00
Daniel
0c61f2c35e Fix some typescript linter errors 2024-04-18 14:24:43 +02:00
Daniel
2d45a1c712 Fix UI performance issue on Windows 2024-04-18 13:51:05 +02:00