Commit graph

273 commits

Author SHA1 Message Date
Daniel
438f43156f Add upgrade locking mechanism to core ui serving module 2025-04-07 15:26:35 +02:00
Alexandr Stelnykovych
776b4860ef [updates] fix: use correct binaries index name 2025-03-26 17:35:27 +02:00
Alexandr Stelnykovych
5c38035f14 Merge branch 'v2.0' into feature/installer-migration 2025-03-13 16:37:13 +02:00
Alexandr Stelnykovych
0a7c5f9306 [cmds] fix: Enable SPN client mode 2025-03-12 19:20:32 +02:00
Vladimir Stoilov
3b5556b7bb
[cmds] Trigger instance shutdown on external events 2025-03-12 15:07:54 +02:00
Daniel
ac3f0599b6 Disable Intel Index signatures for now 2025-03-10 15:26:27 +01:00
Daniel
f26e61ed15 Improve updatemgr mirror cmd 2025-02-04 14:25:08 +01:00
Daniel
aa1bd0679c Improve updatemgr and updates module 2025-01-21 09:21:56 +01:00
Vladimir Stoilov
5039e9efca
Merge branch 'develop' into feature/new-installer 2025-01-14 16:59:21 +02:00
Daniel Hååvi
3ee214abaf
Merge pull request #1766 from safing/fix/windows-permission2
Fix windows permissions
2025-01-13 13:41:28 +01:00
Daniel
96209c28cf Fix SPN build 2025-01-13 10:09:11 +01:00
Vladimir Stoilov
fed64e6fbd
Fix loggin dir 2024-12-12 16:33:02 +02:00
Vladimir Stoilov
05a5d5e350
[service] Fix unit tests 2024-12-06 14:47:24 +02:00
Vladimir Stoilov
22253c4e9e
[service] Fix windows permissions 2024-12-06 12:00:20 +02:00
Daniel
706ce222d0 WIP 2024-11-27 16:16:15 +01:00
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
f91003d077 [service] Move logging to the core, remove pkg level logs 2024-11-14 17:33:27 +01:00
Daniel
8b1bdc7eb1 WIP 2024-11-13 15:18:32 +01:00
Daniel
ddf7ba170e Fix tests and issues 2024-11-08 14:39:58 +01:00
Daniel
2d0d711938 Improve starting and stopping 2024-11-08 14:39:28 +01:00
Daniel
34894ea7d6 Add sign command to updatemgr 2024-11-08 14:38:36 +01:00
Daniel
c22814e6e1 Improve start and shutdown controls and flow 2024-11-07 16:20:58 +01:00
Daniel
7bc1c3b764 Replace dataroot module with BinDir and DataDir on instance, adapt modules 2024-11-06 10:48:02 +01:00
Daniel
0f3f3c360f [WIP] Simplify update system 2024-10-31 16:38:12 +01:00
Daniel
d6669ff8f5 Remove unpack suffixes when generating an index bundle 2024-10-16 13:51:38 +02:00
Daniel
a1a4bf6325 [WIP] Use cobra for updatemgr 2024-10-10 08:58:02 +02:00
Daniel
5d9088f27e [WIP] Improve bundle generation 2024-10-09 16:50:46 +02:00
Vladimir Stoilov
a874ec9412
[WIP] Fix unit tests 2024-10-08 14:13:08 +03:00
Vladimir Stoilov
a8517cd65f
[WIP] Fix minor bugs 2024-10-08 09:47:29 +03:00
Vladimir Stoilov
71f67a8936
[WIP] Improve CI build 2024-10-07 11:26:27 +03:00
Vladimir Stoilov
8e1f3c0ed9
[WIP] Add CI for building deb,rpm installers 2024-10-02 15:37:39 +03:00
Vladimir Stoilov
3411e08500
[WIP] Fix cargo clippy lint build 2024-09-30 18:48:38 +03:00
Vladimir Stoilov
a452f0cbf6
[WIP] Add RecoverIPTables command on linux 2024-09-30 14:33:05 +03:00
Vladimir Stoilov
f0272766c1
[WIP] Add restart service command for windows 2024-09-27 17:07:01 +03:00
Vladimir Stoilov
61babe2822
[WIP] Add restart command to instance 2024-09-26 13:51: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
Daniel
8abe04cb07 Add missing core CLI options for Windows 2024-08-22 14:22:17 +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
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
bc96ee45d0 Bump SPN Hub version 2024-04-10 16:06:56 +02:00
Daniel
313ed4de4b Improve earthly build, tweak caching 2024-04-10 14:11:31 +02: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