Commit graph

111 commits

Author SHA1 Message Date
Vladimir Stoilov
943b9b7859
Fix file permissions on windows (#1758)
* [service] Set file permissions on windows

* [service] Fix minor windows permission bugs

* [service] Fix permission bugs

* [service] Fix windows non admin user start
2024-11-26 17:00:01 +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
Daniel
a07b87fc20 [cmd/start] Compile cmdline args after possibly upgrading to new UI 2024-08-01 14:16:36 +02:00
Daniel
8b4f84c832 Simply new UI component in portmaster-start 2024-07-22 16:05:28 +02:00
Vladimir Stoilov
c868598deb
[cmds] Move new UI to a zip for windows 2024-07-16 11:26:20 +03:00
Vladimir Stoilov
273b16c523
[cmds] Handle edge cases when running tauri in beta 2024-07-11 09:33:21 +03:00
Vladimir Stoilov
0b72e99edd [cmds] Allow running of tauri in beta 2024-07-08 09:22:11 +03:00
Daniel
c68aff5a9b Update portbase for improved version info, fix license strings 2024-04-10 14:08:48 +02:00
Patrick Pacher
61176af14e Fix linting errors 2024-03-27 16:17:58 +01:00
Patrick Pacher
8579430db9
wip: migrate to mono-repo. SPN has already been moved to spn/ 2024-03-20 09:45:32 +01:00
Daniel
beed574fa3 Bump versions 2023-10-25 14:32:30 +02:00
Daniel
0fbd0a3ca6 Update for changed DownloadUpdates method signature 2023-10-02 16:06:10 +02:00
Daniel
368ce6e031 Bump versions 2023-04-25 14:49:45 +02:00
Daniel
5bb2813459 Fix linter errors 2023-04-25 14:37:29 +02:00
Daniel
8273894f87 Add flags to specify custom update server 2023-04-20 12:56:41 +02:00
Daniel
72c59c0e52 Improve user agents 2023-04-13 16:28:43 +02:00
Daniel
0562180ba9 Bump versions 2023-04-06 16:31:28 +02:00
Daniel
1d462ddc95 Improve portmaster-start update logging 2023-04-06 14:38:40 +02:00
Daniel
4802de61fa Split auto update settings and add support for registry state 2023-04-06 09:24:47 +02:00
Daniel
a1ffbe7317 Bump version 2022-11-11 15:05:33 +01:00
Daniel
dc98485fe6 Bump version 2022-11-10 20:03:07 +01:00
Daniel
6868333425 Bump version to v1.0.0 2022-10-18 15:18:20 +02:00
Vladimir
e70f720bd5 Fix restart button on Windows 2022-10-17 11:55:48 -07:00
Daniel
7cff7df7b3 Bump versions 2022-10-11 14:58:03 +02:00
Daniel
694dfb5b46 Use per-user lock file when unlocking 2022-10-11 14:49:27 +02:00
Daniel
1144ac589b Fix fs error handling 2022-10-11 14:49:06 +02:00
Daniel
e5d8e33790 Bump versions 2022-10-10 16:19:33 +02:00
Vladimir
d89d1c9dc8 replaced snoretoast with wintoast 2022-10-10 16:17:59 +02:00
Daniel
d256bf0795 Bump versions 2022-09-29 15:09:22 +02:00
Daniel Hovie
93fd8fc692
Merge pull request #792 from safing/feature/signed-updates
Add support for signed updates
2022-09-29 14:50:14 +02:00
Daniel
fd83534698 Fix linter errors 2022-09-29 14:31:00 +02:00
Daniel
2bd701e9fd Add per-user locking option to portmaster-start run cmds 2022-09-29 11:07:01 +02:00
Daniel
1ec3209442 Improve and fix verification and fixing 2022-09-28 14:42:38 +02:00
Daniel
0bb26c697f Start with same verification config on all channels 2022-09-28 14:42:14 +02:00
Daniel
d89e988494 Add verify cmd to portmaster-start 2022-09-27 14:51:14 +02:00
Daniel
f35d590679 Add support for signed updates 2022-09-23 14:56:55 +02:00
Daniel
084a1a2654 Bump versions 2022-09-22 16:49:52 +02:00
Daniel
98ec296249 Add exit code for controlled failures 2022-09-22 11:28:33 +02:00
Daniel
d82890bc2a Bump versions 2022-08-30 17:20:42 +02:00
Daniel
ccb6b3d418 Add special Wayland args to Electron on Linux only 2022-08-29 15:39:15 +02:00
Daniel
ab0f693b55 Bump versions 2022-08-24 15:25:24 +02:00
Daniel
e9598520f0 Disable restarting on failure for UI components 2022-08-19 10:46:47 +02:00
Daniel
75d8639aa5 Enable WaylandWindowDecorations feature for electron run on wayland 2022-08-19 10:45:07 +02:00
Daniel
e0e729230a Bump versions 2022-08-02 14:28:21 +02:00
Vladimir Stoilov
a4a4fd7984 Remove use of event log viewer 2022-07-29 11:14:29 +02:00
Vladimir Stoilov
806d7bd139 Ignore disabled event log viewer at startup 2022-07-29 10:50:38 +02:00
Daniel
ce176de2b4 Bump versions 2022-07-19 17:07:03 +02:00
Patrick Pacher
f4030d579b
Fix linter error and make identifier check more explicit 2022-07-19 15:58:08 +02:00
Patrick Pacher
71bedc6361
Automatically append arguments required by Electron to run on wayland 2022-07-19 15:31:35 +02:00
Daniel
c9b9a0b1d1 Improve read rights on log files 2022-06-09 13:48:55 +02:00