Proto commits in USBGuard/usbguard

These 8 commits are when the Protocol Buffers files have changed:

Commit:e0e5936
Author:Tobias Mueller
Committer:Attila Lakatos

Added a new signal: DevicePolicyApplied to inform about actions on a device The DevicePolicyChanged signal is guarded by a check for whether the "target" changed. That is, it fired whenever a device was present, inserted, or a rule has changed, *except* if a) a rule has matched and b) it has changed whatever the outcome under the implicit rule was. That behaviour is arguably much more difficult to explain than just firing whenever a device is present, inserted, or had a rule changed. At the same time, such a signal is much more useful for consumers. More precisely: Now, consumers can listen to that signal and get to know what happened to a device, i.e. whether it was accepted or rejected. Before this change, this was difficult at best, if not impossible. The other PresentChanged signal exists and it tells you whenever a devices is inserted. But then you wouldn't know whether the target it carries is the final one or whether a PolicyChange signal will come to tell what happened with the device. So you needed to invent a timeout after which you believe that USBGuard won't throw any further signals and only then act accordingly, e.g. allow or reject a device. This is a new signal in order to not break existing applications.

The documentation is generated from this commit.

Commit:f151406
Author:alakatos
Committer:Radovan Sroka

Extend public API to be able to query user IPC permissions

Commit:50c9921
Author:Thiebaud Weksteen
Committer:Daniel Kopeček

Rename ListRules parameter 'query' to 'label'

Commit:a392e80
Author:Thiebaud Weksteen
Committer:Daniel Kopeček

Add option to filter rules by label when listing Redefine listRules IPC method to only return vector<Rule> and not a RuleSet. The query parameter is reused for matching against the label of the rule.

Commit:33feb8f
Author:Thiebaud Weksteen
Committer:Thiebaud Weksteen

Add temporary option to append-rule

Commit:7cd1642
Author:RyuzakiKK
Committer:RyuzakiKK

Add PropertyParameterChanged signal

Commit:603186a
Author:Daniel Kopeček
Committer:Daniel Kopeček

Extend usbguard-daemon configuration API - Added InsertedDevicePolicy configuration option to control the policy method for inserted devices. - Added RestoreControllerDeviceState configuration option. - Added DeviceManagerBackend configuration option. This option can be used to select from several device manager backend implementations. - Implemented an uevent based device manager backend. - Added setParameter, getParameter IPC (incl. D-Bus) methods. - Added set-parameter, get-parameter CLI subcommands. - Qt Applet: Added Spanish (es_AR) translation. - Removed UDev based device manager backend and UDev related dependencies. - Refactored low-level USB device handling into SysFSDevice class which represents a device in the /sys filesystem (sysfs). - Removed usage of `readdir_r` because it's obsolete. Replaced with readdir with the assumption that its usage is thread-safe if the directory handle passed to it is not shared between threads. - Extended test suite with use case tests Resolves: #122 Resolves: #143 Related: #139 Related: #118 Related: #47 Related: #52

Commit:86c736e
Author:Daniel Kopeček
Committer:Daniel Kopeček

IPC refactoring - Switched to protobuf based IPC - Simplified the IPC and D-Bus interfaces - Removed nlohmann/json submodule - Refactored custom exceptions