Commit graph

2508 commits

Author SHA1 Message Date
Daniel
57e81fb6fb [service] Make linter happy 2024-08-28 11:55:40 +02:00
Daniel
4b2e4f208f [service] Run event callbacks asynchronously 2024-08-28 11:55:32 +02:00
Daniel
de4cb5b34f [service] Submit state clear event outside of lock 2024-08-28 11:55:01 +02:00
Daniel
c6ddaf8e1e [service] Fix startup race condition 2024-08-28 11:52:45 +02:00
Daniel
113dc0438a [service] Update golangci-lint 2024-08-28 11:51:13 +02:00
Daniel
78e4a40750 [service] Fix SPN build 2024-08-28 11:50:45 +02:00
Daniel
7f0b5ca149 [service] Fix starting and stopping of SPN 2024-08-27 16:42:22 +02:00
Daniel
57f08eccd7 [service] Add worker info system 2024-08-27 16:32:23 +02:00
Daniel
8b6b522aae [service] Improve rng tickfeeder 2024-08-27 15:15:24 +02:00
Daniel
2fd7c61acb Fix and improve start order 2024-08-23 10:18:33 +02:00
Daniel
b6b07296ae [service] Do not warn when custom filter lists are not configured 2024-08-23 10:18:26 +02:00
Daniel
7df0fbb614 [desktop] Fix version information in UI 2024-08-23 10:17:49 +02:00
Daniel
8abe04cb07 Add missing core CLI options for Windows 2024-08-22 14:22:17 +02:00
Daniel
77d8e3818d Bump UI version 2024-08-21 15:04:21 +02:00
Daniel
10dd83b153 Update and tidy deps 2024-08-21 15:00:58 +02:00
Daniel
4d5bbe42bd [service] Deactivate android interface code for now 2024-08-21 15:00:52 +02:00
Daniel
b7ec90e2c5 [service] Fix windows build 2024-08-21 15:00:29 +02:00
Daniel Hååvi
69432d0e48
Merge pull request #1659 from safing/feature/update-tauri
Update tauri 2.0.0-rc.3
2024-08-20 10:26:33 +02:00
Vladimir Stoilov
6225af8f4e
Earthly update rustc version 2024-08-19 18:42:14 +03:00
Vladimir Stoilov
c9ee01d2c4
[desktop] update tauri 2.0.0-rc.3 2024-08-19 17:56:46 +03: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
Daniel Hååvi
10a77498f4
Merge pull request #1641 from safing/fix/tauri-cmdline-args
Fix Tauri cmdline args
2024-08-01 15:41:49 +02:00
Vladimir Stoilov
7a06b0bc1c
[desktop] Tauri ignore extra cmdline args 2024-08-01 16:02:00 +03:00
Daniel
188b47c1fb Update ignore files 2024-08-01 14:17:01 +02:00
Daniel
a07b87fc20 [cmd/start] Compile cmdline args after possibly upgrading to new UI 2024-08-01 14:16:36 +02:00
Daniel Hååvi
4fd1ddb399
Merge pull request #1635 from safing/fix/tauri-bugs
Fix/tauri bugs
2024-08-01 10:29:32 +02:00
Vladimir Stoilov
e92da53703
[desktop] Add tauri logs 2024-07-26 15:58:27 +03:00
Vladimir Stoilov
22a288c66b
[desktop] disable annimation from the service dialog 2024-07-24 11:16:34 +03:00
Vladimir Stoilov
a12504178e
[desktop] Switch to png for tray menu 2024-07-24 11:09:42 +03:00
Vladimir Stoilov
84c6bff901
[assets] Leave only one size in the icon generation 2024-07-24 10:55:03 +03:00
Vladimir Stoilov
a6e1a37239
[desktop] Add support for system theme detection 2024-07-24 10:53:58 +03:00
Vladimir Stoilov
5b03076fac
[desktop] tauri fix main windows size and theme 2024-07-23 17:26:53 +03:00
Vladimir Stoilov
674787df87
[desktop] tauri seve window size/position on exit 2024-07-23 17:25:59 +03:00
Vladimir Stoilov
c3d787e3ce
[desktop] Update tauri 2024-07-23 17:24:29 +03:00
Daniel Hååvi
4185504432
Merge pull request #1631 from safing/fix/linux-tauri-build
Fix Earthfile linux tauri build
2024-07-23 09:36:28 +02:00
Daniel
735174dfd3 Remove transition notice from UI 2024-07-22 16:05:46 +02:00
Daniel
8b4f84c832 Simply new UI component in portmaster-start 2024-07-22 16:05:28 +02:00
Daniel
666b8b6f16 Add missing favicons to assets 2024-07-22 16:04:58 +02:00
Daniel
617694ed95 Fix font paths 2024-07-22 16:04:35 +02:00
Daniel
6179f0e021 Simplify windows tauri build artifacts 2024-07-22 16:03:02 +02:00
Daniel
c030ed2e80 Fix portmaster-start.exe build 2024-07-22 16:02:31 +02:00
Vladimir Stoilov
29a4b737fb
Fix Earthfile linux tauri build 2024-07-22 15:26:22 +03:00
Daniel Hååvi
5ec32d102e
Merge pull request #1623 from safing/feature/link-local-resolvesr
Add option to ignore DNS server if out-of-network
2024-07-19 16:12:27 +02:00
Daniel Hååvi
ef0085882d
Merge pull request #1519 from safing/feature/tauri-beta-update
Feature Tauri beta update
2024-07-19 16:11:31 +02:00
Daniel
fc4261706c Improve CI Earthly targets 2024-07-19 15:40:31 +02:00
Daniel
4c2dc14474 Improve Earthfile for clarity and maintainability 2024-07-19 15:26:24 +02:00
Vladimir Stoilov
919cfd89eb
Fix CI, tauri, angular, go-test 2024-07-16 12:31:52 +03:00
Vladimir Stoilov
c868598deb
[cmds] Move new UI to a zip for windows 2024-07-16 11:26:20 +03:00
Vladimir Stoilov
090a5e6508
[desktop] Update tauri Wix template 2024-07-16 11:25:40 +03:00
Vladimir Stoilov
273b16c523
[cmds] Handle edge cases when running tauri in beta 2024-07-11 09:33:21 +03:00