Commit graph

2333 commits

Author SHA1 Message Date
Vladimir Stoilov
89b533f949
[WIP] Refactoring 2024-09-20 17:36:07 +03:00
Vladimir Stoilov
b3ff6f14f1
[WIP] Error and state handleing improvments, better logs 2024-09-19 12:38:23 +03:00
Vladimir Stoilov
072d7e6971
[WIP] Minor improvments 2024-09-19 08:45:50 +03:00
Vladimir Stoilov
1a866584a4
[WIP] Refactoring and bug fixes 2024-09-18 18:34:42 +03:00
Vladimir Stoilov
84a15b5fb3
[WIP] updater rafactoring, minor improvments 2024-09-17 12:36:44 +03:00
Vladimir Stoilov
83ec18f552
[WIP] Updater support for windows 2024-09-11 18:52:36 +03:00
Vladimir Stoilov
8c6eb04292
[desktop] Fix merge issues 2024-09-05 11:21:19 +03:00
Vladimir Stoilov
701505ae75
[WIP] working download and replace. 2024-09-05 10:25:57 +03:00
Vladimir Stoilov
f7abb700bf
[WIP] Fix SELinux permissions 2024-09-05 10:25:57 +03:00
Vladimir Stoilov
9bae1afd73
[WIP] New updater first working prototype 2024-09-05 10:25:57 +03:00
Vladimir Stoilov
abf444630b
[WIP] New updater 2024-09-05 10:25:57 +03:00
Vladimir Stoilov
556e5dd921
[desktop] tauri remove some global variables. 2024-09-05 10:25:56 +03:00
Vladimir Stoilov
4c340f7b70
[desktop] Fix all clippy warning. Add clippy to CI. 2024-09-05 10:23:04 +03:00
Vladimir Stoilov
9472a1f8f5
[desktop] Add update tauri process README 2024-09-05 10:20:38 +03:00
Vladimir Stoilov
500256759e
[desktop] Minor tauri fixes and improvments 2024-09-05 10:20:34 +03:00
Daniel Hååvi
cfd877757d
Merge pull request #1675 from safing/fix/clipboard-bug
Fix clipboard issue when coping debug info
2024-09-03 15:03:52 +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
05a4093676
[desktop] improve theme detection and add manual theme selection. 2024-09-03 11:32:47 +03:00
Vladimir Stoilov
e162c81978
[desktop] Fix tauri unexpected exits 2024-09-03 11:31:15 +03:00
Vladimir Stoilov
4ed4640fee
[desktop] update tauri npm packages 2024-09-02 09:55:21 +03:00
Daniel
3775f5c6dd [build] Fix build flags for portmaster-start 2024-08-30 15:32:02 +02:00
Daniel Hååvi
e160dfb091
Merge pull request #1673 from safing/fix/tauri-logging
[desktop] Move logging to user dir on windows.
2024-08-30 15:31:22 +02:00
Vladimir Stoilov
2ea21b5fb8
[desktop] Move logging to user dir on windows. 2024-08-30 14:49:35 +03:00
Daniel
30eb77d213 Bump UI version 2024-08-28 14:28:17 +02:00
Daniel Hååvi
91f4fe5c52
Merge pull request #1668 from safing/fix/spn-start-stop
Fix starting/stopping SPN + more
2024-08-28 14:26:13 +02:00
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