]> git.ipfire.org Git - pakfire.git/log
pakfire.git
5 days agorepo: Add context to pakfire_repo_compose
Michael Tremer [Sun, 29 Jun 2025 12:52:34 +0000 (12:52 +0000)] 
repo: Add context to pakfire_repo_compose

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 days agosolution: Add a reference to the context and remove root
Michael Tremer [Sun, 29 Jun 2025 12:38:57 +0000 (12:38 +0000)] 
solution: Add a reference to the context and remove root

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 days agopython: Rename Pakfire() to Root()
Michael Tremer [Sun, 29 Jun 2025 12:35:24 +0000 (12:35 +0000)] 
python: Rename Pakfire() to Root()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 days agopakfire: Rename the files to reflect the type
Michael Tremer [Sun, 29 Jun 2025 12:15:32 +0000 (12:15 +0000)] 
pakfire: Rename the files to reflect the type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 days agopakfire: Rename the main class to root
Michael Tremer [Sun, 29 Jun 2025 12:11:55 +0000 (12:11 +0000)] 
pakfire: Rename the main class to root

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agopakfire: Remove an unused callback definition
Michael Tremer [Sat, 28 Jun 2025 08:48:26 +0000 (08:48 +0000)] 
pakfire: Remove an unused callback definition

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agopackage: Make the columns wider for all keys to fit
Michael Tremer [Sat, 28 Jun 2025 08:46:48 +0000 (08:46 +0000)] 
package: Make the columns wider for all keys to fit

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agopackage: Fix cleanup code
Michael Tremer [Sat, 28 Jun 2025 08:46:17 +0000 (08:46 +0000)] 
package: Fix cleanup code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agopackage: Refactor dumping a package
Michael Tremer [Sat, 28 Jun 2025 08:40:57 +0000 (08:40 +0000)] 
package: Refactor dumping a package

This should be more straight forward and leak less memory.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agopackage: Check return codes when dumping package information
Michael Tremer [Sat, 28 Jun 2025 08:33:40 +0000 (08:33 +0000)] 
package: Check return codes when dumping package information

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agojson: Use "json_object" instead of "struct json_object"
Michael Tremer [Fri, 27 Jun 2025 15:14:01 +0000 (15:14 +0000)] 
json: Use "json_object" instead of "struct json_object"

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoxfer: Create its own type
Michael Tremer [Fri, 27 Jun 2025 15:13:16 +0000 (15:13 +0000)] 
xfer: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agotransaction: Create its own type
Michael Tremer [Fri, 27 Jun 2025 15:11:29 +0000 (15:11 +0000)] 
transaction: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agostripper: Create its own type
Michael Tremer [Fri, 27 Jun 2025 15:10:35 +0000 (15:10 +0000)] 
stripper: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agosolution: Create its own type
Michael Tremer [Fri, 27 Jun 2025 15:09:32 +0000 (15:09 +0000)] 
solution: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agosnapshot: Create its own type
Michael Tremer [Fri, 27 Jun 2025 15:08:25 +0000 (15:08 +0000)] 
snapshot: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoscriptlet: Create its own type
Michael Tremer [Fri, 27 Jun 2025 15:07:26 +0000 (15:07 +0000)] 
scriptlet: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agorepo: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:44:11 +0000 (14:44 +0000)] 
repo: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agorepolist: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:40:29 +0000 (14:40 +0000)] 
repolist: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agopty: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:39:07 +0000 (14:39 +0000)] 
pty: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoprogress: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:37:31 +0000 (14:37 +0000)] 
progress: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoproblem: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:36:29 +0000 (14:36 +0000)] 
problem: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoparser: Create its own types
Michael Tremer [Fri, 27 Jun 2025 14:35:34 +0000 (14:35 +0000)] 
parser: Create its own types

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agopackage: Remove an unused function
Michael Tremer [Fri, 27 Jun 2025 14:31:47 +0000 (14:31 +0000)] 
package: Remove an unused function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agopackage: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:29:50 +0000 (14:29 +0000)] 
package: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agopackager: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:27:59 +0000 (14:27 +0000)] 
packager: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agopackagelist: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:27:04 +0000 (14:27 +0000)] 
packagelist: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agomirror: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:25:42 +0000 (14:25 +0000)] 
mirror: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agomirrorlist: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:24:45 +0000 (14:24 +0000)] 
mirrorlist: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agobuffer: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:23:27 +0000 (14:23 +0000)] 
buffer: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agolog stream: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:22:18 +0000 (14:22 +0000)] 
log stream: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agolog file: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:21:19 +0000 (14:21 +0000)] 
log file: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agolog buffer: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:19:57 +0000 (14:19 +0000)] 
log buffer: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agolinter: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:18:07 +0000 (14:18 +0000)] 
linter: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agolinter file: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:13:09 +0000 (14:13 +0000)] 
linter file: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agokey: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:11:10 +0000 (14:11 +0000)] 
key: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agojob: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:09:17 +0000 (14:09 +0000)] 
job: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agojail: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:07:38 +0000 (14:07 +0000)] 
jail: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agohttpclient: Create its own type
Michael Tremer [Fri, 27 Jun 2025 14:01:00 +0000 (14:01 +0000)] 
httpclient: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agohasher: Create its own type
Michael Tremer [Fri, 27 Jun 2025 13:59:12 +0000 (13:59 +0000)] 
hasher: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agofile: Create its own type
Michael Tremer [Fri, 27 Jun 2025 13:58:06 +0000 (13:58 +0000)] 
file: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agofilelist: Create its own type
Michael Tremer [Fri, 27 Jun 2025 13:56:00 +0000 (13:56 +0000)] 
filelist: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoenv: Create its own type
Michael Tremer [Fri, 27 Jun 2025 10:47:19 +0000 (10:47 +0000)] 
env: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoelf: Create its own type
Michael Tremer [Fri, 27 Jun 2025 10:46:12 +0000 (10:46 +0000)] 
elf: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodb: Create its own type
Michael Tremer [Fri, 27 Jun 2025 10:45:27 +0000 (10:45 +0000)] 
db: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Create its own type
Michael Tremer [Fri, 27 Jun 2025 10:44:25 +0000 (10:44 +0000)] 
daemon: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoconfig: Create its own type
Michael Tremer [Fri, 27 Jun 2025 10:43:18 +0000 (10:43 +0000)] 
config: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agocgroups: Create their own types
Michael Tremer [Fri, 27 Jun 2025 10:41:38 +0000 (10:41 +0000)] 
cgroups: Create their own types

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agobuild: Create its own type
Michael Tremer [Fri, 27 Jun 2025 10:38:09 +0000 (10:38 +0000)] 
build: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agobuilder: Create its own type
Michael Tremer [Fri, 27 Jun 2025 10:35:35 +0000 (10:35 +0000)] 
builder: Create its own type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoarchive: Create a new type for the archive
Michael Tremer [Fri, 27 Jun 2025 10:33:05 +0000 (10:33 +0000)] 
archive: Create a new type for the archive

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoarchive writer: Create a new type for the archive writer
Michael Tremer [Fri, 27 Jun 2025 10:29:21 +0000 (10:29 +0000)] 
archive writer: Create a new type for the archive writer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoclient: Create a new type for the client
Michael Tremer [Fri, 27 Jun 2025 10:26:45 +0000 (10:26 +0000)] 
client: Create a new type for the client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoctx: Create a new type for the context
Michael Tremer [Fri, 27 Jun 2025 10:20:11 +0000 (10:20 +0000)] 
ctx: Create a new type for the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agopakfire: Rename pakfire_ctx() -> pakfire_get_ctx()
Michael Tremer [Fri, 27 Jun 2025 10:16:20 +0000 (10:16 +0000)] 
pakfire: Rename pakfire_ctx() -> pakfire_get_ctx()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoCLI: Add a function to show the API errors
Michael Tremer [Fri, 27 Jun 2025 10:07:40 +0000 (10:07 +0000)] 
CLI: Add a function to show the API errors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoxfer: Add a function to fetch a useful error from the API
Michael Tremer [Fri, 27 Jun 2025 09:50:39 +0000 (09:50 +0000)] 
xfer: Add a function to fetch a useful error from the API

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoxfer: Remove more dead code
Michael Tremer [Fri, 27 Jun 2025 09:31:20 +0000 (09:31 +0000)] 
xfer: Remove more dead code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoclient: Drop the custom build callback
Michael Tremer [Fri, 27 Jun 2025 09:25:48 +0000 (09:25 +0000)] 
client: Drop the custom build callback

It is much easier and more versatile to return the entire raw response
and later maybe add some getter functions.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoclient: Tidy up authentication response code
Michael Tremer [Fri, 27 Jun 2025 09:20:35 +0000 (09:20 +0000)] 
client: Tidy up authentication response code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoxfer: Put the API response into a struct
Michael Tremer [Fri, 27 Jun 2025 09:17:06 +0000 (09:17 +0000)] 
xfer: Put the API response into a struct

This will allow us to type a bit less and easily extend this in the
future.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoclient: Add a callback when deleting repositories
Michael Tremer [Fri, 27 Jun 2025 09:05:55 +0000 (09:05 +0000)] 
client: Add a callback when deleting repositories

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoxfer: Pass the HTTP status code to the response callback
Michael Tremer [Fri, 27 Jun 2025 08:56:10 +0000 (08:56 +0000)] 
xfer: Pass the HTTP status code to the response callback

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoxfer: Remove unused code
Michael Tremer [Fri, 27 Jun 2025 08:55:59 +0000 (08:55 +0000)] 
xfer: Remove unused code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoxfer: Remove convenience function to run synchronous API requests
Michael Tremer [Fri, 27 Jun 2025 08:40:39 +0000 (08:40 +0000)] 
xfer: Remove convenience function to run synchronous API requests

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoclient: Refactor listing repositories
Michael Tremer [Fri, 27 Jun 2025 08:37:08 +0000 (08:37 +0000)] 
client: Refactor listing repositories

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoclient: Refactor showing repositories
Michael Tremer [Fri, 27 Jun 2025 08:33:54 +0000 (08:33 +0000)] 
client: Refactor showing repositories

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoclient: Refactor deleting repositories
Michael Tremer [Fri, 27 Jun 2025 08:28:27 +0000 (08:28 +0000)] 
client: Refactor deleting repositories

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoCLI: Add a convenience function to run the client
Michael Tremer [Fri, 27 Jun 2025 08:25:53 +0000 (08:25 +0000)] 
CLI: Add a convenience function to run the client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoclient: Refactor creating repositories
Michael Tremer [Fri, 27 Jun 2025 08:19:00 +0000 (08:19 +0000)] 
client: Refactor creating repositories

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoclient: Implement deleting uploads
Michael Tremer [Fri, 27 Jun 2025 08:07:09 +0000 (08:07 +0000)] 
client: Implement deleting uploads

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoclient: Store the access token, too
Michael Tremer [Fri, 27 Jun 2025 07:59:51 +0000 (07:59 +0000)] 
client: Store the access token, too

Initially I thought this would be nonsense because the tokens would be
very short-lived. However, one API request usually does not come alone
and so we would save ourselves a couple of roundtrips with storing the
access token, too.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agotests: Add tests for JWT
Michael Tremer [Fri, 27 Jun 2025 07:40:17 +0000 (07:40 +0000)] 
tests: Add tests for JWT

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agotests: Fix compiling the testsuite
Michael Tremer [Fri, 27 Jun 2025 07:39:47 +0000 (07:39 +0000)] 
tests: Fix compiling the testsuite

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agojwt: Free the decoded payload
Michael Tremer [Fri, 27 Jun 2025 07:19:48 +0000 (07:19 +0000)] 
jwt: Free the decoded payload

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agohttpclient: Allow to configure the progress flags
Michael Tremer [Fri, 27 Jun 2025 07:16:50 +0000 (07:16 +0000)] 
httpclient: Allow to configure the progress flags

This allows us to hide the progress bar when we are running API
requests.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agohttpclient: Automatically launch when the event loop is started
Michael Tremer [Fri, 27 Jun 2025 07:08:45 +0000 (07:08 +0000)] 
httpclient: Automatically launch when the event loop is started

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoxfer: Remove the unused authentication function
Michael Tremer [Thu, 26 Jun 2025 17:55:56 +0000 (17:55 +0000)] 
xfer: Remove the unused authentication function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoxfer: Remove pakfire_xfer_add_param
Michael Tremer [Thu, 26 Jun 2025 17:52:25 +0000 (17:52 +0000)] 
xfer: Remove pakfire_xfer_add_param

We don't send any multipart-encoded form things any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agobuilder: Cleanup the event loop
Michael Tremer [Thu, 26 Jun 2025 17:47:24 +0000 (17:47 +0000)] 
builder: Cleanup the event loop

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoctx: -> self
Michael Tremer [Thu, 26 Jun 2025 17:25:03 +0000 (17:25 +0000)] 
ctx: -> self

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agohttpclient: Remove the loop running check
Michael Tremer [Thu, 26 Jun 2025 17:18:33 +0000 (17:18 +0000)] 
httpclient: Remove the loop running check

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoctx: Move the loop running check
Michael Tremer [Thu, 26 Jun 2025 17:16:14 +0000 (17:16 +0000)] 
ctx: Move the loop running check

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Don't leak the shutdown event
Michael Tremer [Thu, 26 Jun 2025 17:02:58 +0000 (17:02 +0000)] 
daemon: Don't leak the shutdown event

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoclient: Implement create builds from the CLI
Michael Tremer [Thu, 26 Jun 2025 16:58:30 +0000 (16:58 +0000)] 
client: Implement create builds from the CLI

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agojob: Implement some way to submit the job result
Michael Tremer [Thu, 26 Jun 2025 16:00:41 +0000 (16:00 +0000)] 
job: Implement some way to submit the job result

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agojob: Create a directory for the packages
Michael Tremer [Thu, 26 Jun 2025 14:58:38 +0000 (14:58 +0000)] 
job: Create a directory for the packages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agojob: Upload the log file when a build has finished
Michael Tremer [Thu, 26 Jun 2025 14:50:01 +0000 (14:50 +0000)] 
job: Upload the log file when a build has finished

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agojob: Make space to store all upload IDs
Michael Tremer [Thu, 26 Jun 2025 14:49:06 +0000 (14:49 +0000)] 
job: Make space to store all upload IDs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agojob: Don't send crash reports any more
Michael Tremer [Thu, 26 Jun 2025 14:33:31 +0000 (14:33 +0000)] 
job: Don't send crash reports any more

This will be merged into the regular finished handler

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agojob: Call the finished handler in the main process
Michael Tremer [Thu, 26 Jun 2025 14:30:33 +0000 (14:30 +0000)] 
job: Call the finished handler in the main process

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agojob: Write the log file in the parent process
Michael Tremer [Thu, 26 Jun 2025 14:23:43 +0000 (14:23 +0000)] 
job: Write the log file in the parent process

This should put some more things more where they belong which is in the
main process.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agohttpclient: Only use the context's event loop
Michael Tremer [Thu, 26 Jun 2025 14:02:29 +0000 (14:02 +0000)] 
httpclient: Only use the context's event loop

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agohttpclient: Make the termination code clearer
Michael Tremer [Thu, 26 Jun 2025 13:58:05 +0000 (13:58 +0000)] 
httpclient: Make the termination code clearer

We now simply set a flag when we launched the loop ourselves and
automatically terminate once everything is done.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agohttpclient: Automatically detect whether the event loop is running
Michael Tremer [Thu, 26 Jun 2025 13:50:22 +0000 (13:50 +0000)] 
httpclient: Automatically detect whether the event loop is running

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Don't leak signal events
Michael Tremer [Thu, 26 Jun 2025 13:25:46 +0000 (13:25 +0000)] 
daemon: Don't leak signal events

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agotests: Make the daemon test compile again
Michael Tremer [Thu, 26 Jun 2025 13:20:19 +0000 (13:20 +0000)] 
tests: Make the daemon test compile again

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoclient: Move sending a crash report here
Michael Tremer [Thu, 26 Jun 2025 13:12:22 +0000 (13:12 +0000)] 
client: Move sending a crash report here

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agojson: Add a function to add some binary as base64
Michael Tremer [Thu, 26 Jun 2025 13:11:47 +0000 (13:11 +0000)] 
json: Add a function to add some binary as base64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agojson: Add a function to add NULL to an object
Michael Tremer [Thu, 26 Jun 2025 13:11:22 +0000 (13:11 +0000)] 
json: Add a function to add NULL to an object

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>