Commit graph

41 commits

Author SHA1 Message Date
Daniel
b8ab348095 Fix tests and linters 2025-03-04 15:25:44 +01:00
Daniel
a13d52b68f Bump Go versions in CI 2025-02-28 14:44:39 +01:00
Daniel Hååvi
88b92dcc93
Fix rust-base build
Sometimes rust attempts to upgrade crates. This stops it from doing that.
2025-01-14 14:28:56 +01:00
Daniel
96209c28cf Fix SPN build 2025-01-13 10:09:11 +01:00
Vladimir Stoilov
ca88c6d8ad
[desktop] Update tauri () 2024-11-26 16:59:06 +02:00
Daniel
3775f5c6dd [build] Fix build flags for portmaster-start 2024-08-30 15:32:02 +02:00
Vladimir Stoilov
6225af8f4e
Earthly update rustc version 2024-08-19 18:42:14 +03:00
Daniel Hååvi
80664d1a27
Restructure modules ()
* 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
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
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
b026e7b97e Merge branch 'develop' into feature/tauri-beta-update 2024-07-04 13:47:09 +03:00
Daniel
866aef1857 [build] Add spn docker image earthly target 2024-06-07 14:20:13 +02:00
Daniel
ab9255794d [build] Add build target for assets.zip 2024-06-05 15:56:15 +02:00
Daniel
bcd834c4da [windows_kext] Finalize building kext and cab for MS signing 2024-05-27 16:40:46 +02:00
Daniel
e520c32020 [windows_kext] Add first attempt of building kext in Earthly 2024-05-22 17:15:12 +02:00
Vladimir Stoilov
917560ae2f
[eartly] Fix tauri build 2024-05-22 15:23:17 +03:00
Daniel
5610c88208 [build] add go-lint earthly target 2024-05-16 14:11:17 +02:00
Daniel
ac87a49ace [build] Fix earthfile 2024-05-16 13:51:26 +02:00
Vladimir Stoilov
e964385f83
[desktop] Remove assets symlink 2024-05-10 20:36:16 +03:00
Vladimir Stoilov
2da6bcc28d
[earthly] add windows build generation 2024-05-10 17:02:42 +03:00
Vladimir Stoilov
fbb1fce38c
Remove cross compilation add deb,rpm artifacts earthly 2024-04-25 19:01:31 +03:00
Vladimir Stoilov
f15958b091
Migrate tauri to new config 2024-04-24 15:30:46 +03:00
Daniel
fc7e11e456 Keep timestamps of build artifacts 2024-04-23 10:25:52 +02:00
Daniel
0e69fefa63 Do not cache angular lib builds 2024-04-23 10:25:36 +02:00
Daniel
a223250f00 Improve/fix build system and CI 2024-04-18 14:25:21 +02:00
Daniel
493309ebb3 Fix build system for correct version metadata 2024-04-16 15:46:56 +02:00
Daniel
ed20c7f1b2 Fix version metadata 2024-04-11 15:26:57 +02:00
Daniel
313ed4de4b Improve earthly build, tweak caching 2024-04-10 14:11:31 +02:00
Patrick Pacher
29a0cdba3b
Add github actions workflow for angular 2024-03-29 11:07:55 +01:00
Patrick Pacher
1cec92263d earthly: all git commands to fail in ci 2024-03-27 14:57:33 +01:00
Patrick Pacher
8cbc949533 Finish earthfile and add linux packaging assets 2024-03-27 12:51:54 +01:00
Patrick Pacher
458336006f Update Earthfile to hopefully get cross-compilation for rust to work 2024-03-26 15:38:47 +01:00
Patrick Pacher
d524bce166 Migrate tauri from portmaster-ui to desktop/tauri. Update build system 2024-03-22 11:45:18 +01:00
Patrick Pacher
ac23ce32a1
Migrate notifier from portmaster-ui to cmds/notifier, remove some duplicated code, move assets to assets/data and add a small go package in assets to allow embedding icons 2024-03-20 11:10:32 +01:00
Patrick Pacher
4b77945517
Migrate Angular UI from portmaster-ui to desktop/angular. Update Earthfile to build libs, UI and tauri-builtin 2024-03-20 10:43:29 +01:00
Patrick Pacher
66381baa1a
migrate build system to earthly: supports building core, start and angular for all supported platforms. tauri still missing 2024-03-20 09:45:34 +01:00