Commit graph

164 commits

Author SHA1 Message Date
Alexandr Stelnykovych
9d345f1941 go mod tidy 2025-05-28 11:53:38 +03:00
Alexandr Stelnykovych
ec2d4ca9eb Merge branch 'master' into merge/master-into-v2-with-history (v1 into v2)
# Conflicts:
#	Earthfile
#	base/config/main.go
#	base/database/dbmodule/db.go
#	base/database/main.go
#	go.mod
#	go.sum
#	service/core/base/global.go
2025-05-28 11:52:15 +03:00
Alexandr Stelnykovych
cacf6c552a fix: (Windows) Replace ICO decoder for improved icon extraction
Implemented direct use of `sergeymakinen/go-ico` decoder instead of `mat/besticon/ico`
for icon conversion. The standard `image.Decode()` and  `mat/besticon/ico` approaches
failed with certain ICO files, particularly those containing cursor data
from Windows executable resources. This change ensures more reliable
handling of various ICO format variants.
2025-05-14 17:49:24 +03:00
Alexandr Stelnykovych
84a8f755fe Remove temporary replacement for winres package dependency 2025-05-14 17:28:33 +03:00
Daniel
b8ab348095 Fix tests and linters 2025-03-04 15:25:44 +01:00
Daniel
c04213219b Make format and value nullable and improve maintenance and purge queries 2025-02-28 10:21:59 +01:00
Alexandr Stelnykovych
4721e58727 Update Go version to 1.24 and toolchain to 1.24.0 to support the 'tool' meta-pattern introduced in go.mod with Go v1.24 2025-02-26 13:03:57 +02:00
Daniel
c742c7dfd1 Add SQLite database storage backend 2025-02-25 11:48:16 +01:00
Daniel
d824b17b87 Update go.mod 2025-01-27 15:09:05 +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
Alexandr Stelnykovych
3478622eb8 update deps 2025-01-13 14:15:48 +00:00
Vladimir Stoilov
374c1c2748
Merge branch 'develop' into feature/new-installer 2024-11-28 13:23:13 +02:00
Vladimir Stoilov
35d1e4d2e3
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-28 10:41:44 +02:00
Daniel
590fe74610
Update deps 2024-11-28 10:37:51 +02:00
Daniel
473f05becc Update service deps 2024-11-27 16:19:02 +01:00
Vladimir Stoilov
1a1bc14804
Feature/systemd query events (#1728)
* [service] Subscribe to systemd-resolver events

* [service] Add disabled state to the resolver

* [service] Add ETW DNS event listener

* [service] DNS listener refactoring

* [service] Add windows core dll project

* [service] DNSListener refactoring, small bugfixes

* [service] Change dns bypass rule

* [service] Update gitignore

* [service] Remove shim from integration module

* [service] Add DNS packet analyzer

* [service] Add self-check in dns monitor

* [service] Fix go linter errors

* [CI] Add github workflow for the windows core dll

* [service] Minor fixes to the dns monitor
2024-11-27 17:10:47 +02: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
38e9e342f7 Update deps 2024-11-12 15:42:49 +01:00
Daniel
34894ea7d6 Add sign command to updatemgr 2024-11-08 14:38:36 +01:00
Daniel
5d9088f27e [WIP] Improve bundle generation 2024-10-09 16:50:46 +02:00
Daniel
57f08eccd7 [service] Add worker info system 2024-08-27 16:32:23 +02:00
Daniel
10dd83b153 Update and tidy deps 2024-08-21 15:00:58 +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
274f81e4eb Update go deps 2024-05-28 15:57:38 +02:00
Daniel
0f808f568b Update deps 2024-04-23 12:25:32 +02:00
Daniel
5eb0f14a85 Update portbase 2024-04-17 11:49:37 +02:00
Daniel
ed20c7f1b2 Fix version metadata 2024-04-11 15:26:57 +02:00
Daniel
2f88d487a9 Update deps 2024-04-10 14:10:52 +02:00
Daniel
c68aff5a9b Update portbase for improved version info, fix license strings 2024-04-10 14:08:48 +02:00
Patrick Pacher
701bb91646 Update to new portbase and add experimental support for debian postinst and postrm scripts 2024-03-27 14:23:19 +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
8579430db9
wip: migrate to mono-repo. SPN has already been moved to spn/ 2024-03-20 09:45:32 +01:00
Daniel
ce6f39629f Update deps 2024-01-11 10:14:18 +01:00
Daniel
7df3e1fcf7 Update SPN dep 2023-12-22 18:09:16 +01:00
Daniel
ce3d81067f Update deps 2023-12-22 14:26:44 +01:00
Daniel
82cdd1b419 Save global config after import 2023-12-18 17:12:32 +01:00
Daniel
de2cf914df Update deps 2023-12-15 14:06:19 +01:00
Daniel
2a04bf33b1 Add support for getting binary icon and name from exe on Windows 2023-12-15 14:04:13 +01:00
Daniel
cf508dcd34 Update deps 2023-12-01 11:53:22 +01:00
Daniel
ab23072cc6 Update deps 2023-11-22 14:29:54 +01:00
Daniel
bd988724c4 Add support for import/export of profile icon 2023-11-22 13:40:36 +01:00
Daniel
bb75b0962e Update deps 2023-10-25 14:17:59 +02:00
Daniel
76ab712721 Update jess to working version for PR 2023-10-25 13:56:35 +02:00
Daniel
c5b7d69374 Update deps 2023-10-17 12:45:54 +02:00
Daniel
028939b7ec Move MimeTypeByExtension to portbase/utils 2023-10-11 16:55:00 +02:00
Daniel
8738fe2495 Update deps 2023-10-06 15:09:41 +02:00
Daniel
98f38b09ad Update deps 2023-10-06 12:18:03 +02:00
Daniel
6999ebbf1c Update deps 2023-10-02 16:36:27 +02:00