]> git.ipfire.org Git - pakfire.git/log
pakfire.git
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks agodaemon: -> self
Michael Tremer [Thu, 26 Jun 2025 10:02:44 +0000 (10:02 +0000)] 
daemon: -> self

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agodaemon: Remove unused header files
Michael Tremer [Thu, 26 Jun 2025 09:59:17 +0000 (09:59 +0000)] 
daemon: Remove unused header files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agodaemon: Cleanup setting up the client
Michael Tremer [Thu, 26 Jun 2025 09:58:09 +0000 (09:58 +0000)] 
daemon: Cleanup setting up the client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agodaemon: Remove more unused code
Michael Tremer [Thu, 26 Jun 2025 09:49:56 +0000 (09:49 +0000)] 
daemon: Remove more unused code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agodaemon: Remove function to fetch the client
Michael Tremer [Thu, 26 Jun 2025 09:48:49 +0000 (09:48 +0000)] 
daemon: Remove function to fetch the client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agojob: Give a reference to the client
Michael Tremer [Thu, 26 Jun 2025 09:47:38 +0000 (09:47 +0000)] 
job: Give a reference to the client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agobuilder: Move the job logic from the daemon
Michael Tremer [Thu, 26 Jun 2025 09:42:44 +0000 (09:42 +0000)] 
builder: Move the job logic from the daemon

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Implement listing uploads asynchronously
Michael Tremer [Wed, 25 Jun 2025 18:19:46 +0000 (18:19 +0000)] 
client: Implement listing uploads asynchronously

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agobuilder: Handle any incoming messages here
Michael Tremer [Wed, 25 Jun 2025 17:34:22 +0000 (17:34 +0000)] 
builder: Handle any incoming messages here

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agobuilder: Reset the correct pointer
Michael Tremer [Wed, 25 Jun 2025 17:32:51 +0000 (17:32 +0000)] 
builder: Reset the correct pointer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agobuilder: Move sending stats
Michael Tremer [Wed, 25 Jun 2025 16:49:35 +0000 (16:49 +0000)] 
builder: Move sending stats

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agobuilder: Move function to send messages into the socket
Michael Tremer [Wed, 25 Jun 2025 16:49:04 +0000 (16:49 +0000)] 
builder: Move function to send messages into the socket

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agojson: Optionally return the length of the serialized string
Michael Tremer [Wed, 25 Jun 2025 16:47:59 +0000 (16:47 +0000)] 
json: Optionally return the length of the serialized string

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agodaemon: Remove some unused code
Michael Tremer [Wed, 25 Jun 2025 16:33:16 +0000 (16:33 +0000)] 
daemon: Remove some unused code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agobuilder: Build scaffolding to submit stats regularly
Michael Tremer [Wed, 25 Jun 2025 16:30:31 +0000 (16:30 +0000)] 
builder: Build scaffolding to submit stats regularly

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Don't let the HTTP client think it is running standalone
Michael Tremer [Wed, 25 Jun 2025 16:13:27 +0000 (16:13 +0000)] 
client: Don't let the HTTP client think it is running standalone

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agojob: Use the context's event loop
Michael Tremer [Wed, 25 Jun 2025 15:54:38 +0000 (15:54 +0000)] 
job: Use the context's event loop

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agodaemon: Remove the HTTP client
Michael Tremer [Wed, 25 Jun 2025 15:52:38 +0000 (15:52 +0000)] 
daemon: Remove the HTTP client

This is now all fully merged into the high-level client.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agodaemon: Drop all sorts of timers and what not
Michael Tremer [Wed, 25 Jun 2025 15:51:29 +0000 (15:51 +0000)] 
daemon: Drop all sorts of timers and what not

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Move builder stuff into a separate object
Michael Tremer [Wed, 25 Jun 2025 15:48:48 +0000 (15:48 +0000)] 
client: Move builder stuff into a separate object

This is messy as hell. I moved so much stuff around and lost track of
most of it. So this is a commit to kind of have some baseline.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agocli: Fix initializing the client
Michael Tremer [Wed, 25 Jun 2025 15:48:13 +0000 (15:48 +0000)] 
cli: Fix initializing the client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agohttpclient: Drop unused function to return the event loop
Michael Tremer [Wed, 25 Jun 2025 15:40:39 +0000 (15:40 +0000)] 
httpclient: Drop unused function to return the event loop

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Use the context's event loop
Michael Tremer [Wed, 25 Jun 2025 15:39:17 +0000 (15:39 +0000)] 
client: Use the context's event loop

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agohttpclient: Use the context's loop
Michael Tremer [Wed, 25 Jun 2025 15:36:16 +0000 (15:36 +0000)] 
httpclient: Use the context's loop

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoctx: Create an event loop
Michael Tremer [Wed, 25 Jun 2025 15:26:46 +0000 (15:26 +0000)] 
ctx: Create an event loop

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agodaemon: Create the control connection as soon as the client is ready
Michael Tremer [Wed, 25 Jun 2025 13:42:52 +0000 (13:42 +0000)] 
daemon: Create the control connection as soon as the client is ready

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Require full authentication when the refresh token has expired
Michael Tremer [Wed, 25 Jun 2025 13:18:19 +0000 (13:18 +0000)] 
client: Require full authentication when the refresh token has expired

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Don't require reauthentication when we have some tokens
Michael Tremer [Wed, 25 Jun 2025 13:17:43 +0000 (13:17 +0000)] 
client: Don't require reauthentication when we have some tokens

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agojwt: Add a convenience function to check whether a token has expires
Michael Tremer [Wed, 25 Jun 2025 13:17:16 +0000 (13:17 +0000)] 
jwt: Add a convenience function to check whether a token has expires

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Refresh auth tokens when a timer fires
Michael Tremer [Wed, 25 Jun 2025 13:09:05 +0000 (13:09 +0000)] 
client: Refresh auth tokens when a timer fires

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Immediately fetch an access token when loading from store
Michael Tremer [Wed, 25 Jun 2025 13:06:20 +0000 (13:06 +0000)] 
client: Immediately fetch an access token when loading from store

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Actually set the auth refresh payload
Michael Tremer [Wed, 25 Jun 2025 13:05:59 +0000 (13:05 +0000)] 
client: Actually set the auth refresh payload

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Move authentication refresh function to the top
Michael Tremer [Wed, 25 Jun 2025 13:01:37 +0000 (13:01 +0000)] 
client: Move authentication refresh function to the top

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Break setting the tokens into helper functions
Michael Tremer [Wed, 25 Jun 2025 12:40:47 +0000 (12:40 +0000)] 
client: Break setting the tokens into helper functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Read/write credentials of the principal
Michael Tremer [Wed, 25 Jun 2025 12:22:49 +0000 (12:22 +0000)] 
client: Read/write credentials of the principal

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agojson: Add helper function to write JSON data to file
Michael Tremer [Wed, 25 Jun 2025 12:22:20 +0000 (12:22 +0000)] 
json: Add helper function to write JSON data to file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoutil: Remove pakfire argument from pakfire_file_write
Michael Tremer [Wed, 25 Jun 2025 12:09:40 +0000 (12:09 +0000)] 
util: Remove pakfire argument from pakfire_file_write

This is not needed any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Use the hostname as default principal
Michael Tremer [Wed, 25 Jun 2025 12:00:31 +0000 (12:00 +0000)] 
client: Use the hostname as default principal

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Add some principal to the client
Michael Tremer [Wed, 25 Jun 2025 11:57:06 +0000 (11:57 +0000)] 
client: Add some principal to the client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Call the upload callback when the upload has finished
Michael Tremer [Wed, 25 Jun 2025 11:18:47 +0000 (11:18 +0000)] 
client: Call the upload callback when the upload has finished

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Remove any left-over uploads when freeing the client
Michael Tremer [Wed, 25 Jun 2025 11:16:48 +0000 (11:16 +0000)] 
client: Remove any left-over uploads when freeing the client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Automatically remove uploads from queue on free
Michael Tremer [Wed, 25 Jun 2025 11:16:21 +0000 (11:16 +0000)] 
client: Automatically remove uploads from queue on free

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoxfer: Don't attempt to parse a JSON response when there is no data
Michael Tremer [Wed, 25 Jun 2025 10:58:26 +0000 (10:58 +0000)] 
xfer: Don't attempt to parse a JSON response when there is no data

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoxfer: Call the API callback on uploads, too
Michael Tremer [Wed, 25 Jun 2025 10:58:01 +0000 (10:58 +0000)] 
xfer: Call the API callback on uploads, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agocli: Refactor storing authentication credentials
Michael Tremer [Wed, 25 Jun 2025 10:37:17 +0000 (10:37 +0000)] 
cli: Refactor storing authentication credentials

The config object will be removed once we have finished initializing the
other objects. Therefore we will have to copy the credentials somewhere
else before.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agocli: client: Always load client.conf
Michael Tremer [Wed, 25 Jun 2025 10:36:41 +0000 (10:36 +0000)] 
cli: client: Always load client.conf

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agocli: Read credentials from the configuration file (for now)
Michael Tremer [Wed, 25 Jun 2025 10:25:23 +0000 (10:25 +0000)] 
cli: Read credentials from the configuration file (for now)

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Remove unused string extraction function
Michael Tremer [Wed, 25 Jun 2025 10:14:43 +0000 (10:14 +0000)] 
client: Remove unused string extraction function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Create separate timers for access/refresh token refresh
Michael Tremer [Wed, 25 Jun 2025 10:13:07 +0000 (10:13 +0000)] 
client: Create separate timers for access/refresh token refresh

These are also now only initialized when we actually need them. That
helps us to deal with all those status changes.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agohttpclient: Remove launch protection without transfers
Michael Tremer [Wed, 25 Jun 2025 10:02:21 +0000 (10:02 +0000)] 
httpclient: Remove launch protection without transfers

We need this so that we can lazy-initialize the client.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Call the auth callback when we need authentication
Michael Tremer [Wed, 25 Jun 2025 10:01:44 +0000 (10:01 +0000)] 
client: Call the auth callback when we need authentication

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agocli: Create a dummy authentication function
Michael Tremer [Wed, 25 Jun 2025 10:01:20 +0000 (10:01 +0000)] 
cli: Create a dummy authentication function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Call the ready callback once we are successfully authenticated
Michael Tremer [Wed, 25 Jun 2025 10:00:42 +0000 (10:00 +0000)] 
client: Call the ready callback once we are successfully authenticated

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agocli: auth: Use the new ready callback
Michael Tremer [Wed, 25 Jun 2025 09:45:59 +0000 (09:45 +0000)] 
cli: auth: Use the new ready callback

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agocli: Use the new ready function to start the uploads
Michael Tremer [Wed, 25 Jun 2025 09:32:48 +0000 (09:32 +0000)] 
cli: Use the new ready function to start the uploads

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Call an init function whenever the event loop starts
Michael Tremer [Wed, 25 Jun 2025 09:32:00 +0000 (09:32 +0000)] 
client: Call an init function whenever the event loop starts

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Add a ready callback
Michael Tremer [Wed, 25 Jun 2025 09:23:24 +0000 (09:23 +0000)] 
client: Add a ready callback

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Implement asynchronous uploads
Michael Tremer [Wed, 25 Jun 2025 09:02:36 +0000 (09:02 +0000)] 
client: Implement asynchronous uploads

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoprogress: Allow restart by keeping the state up to date
Michael Tremer [Wed, 25 Jun 2025 08:49:33 +0000 (08:49 +0000)] 
progress: Allow restart by keeping the state up to date

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Log an error when we want to use authentication without being authenticated
Michael Tremer [Tue, 24 Jun 2025 17:01:06 +0000 (17:01 +0000)] 
client: Log an error when we want to use authentication without being authenticated

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Remove keytab
Michael Tremer [Tue, 24 Jun 2025 16:14:40 +0000 (16:14 +0000)] 
client: Remove keytab

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Move the callback into the auth struct
Michael Tremer [Tue, 24 Jun 2025 16:14:03 +0000 (16:14 +0000)] 
client: Move the callback into the auth struct

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Move the tokens into the auth struct
Michael Tremer [Tue, 24 Jun 2025 16:13:06 +0000 (16:13 +0000)] 
client: Move the tokens into the auth struct

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Fire a timer just before the access token expires
Michael Tremer [Tue, 24 Jun 2025 16:10:51 +0000 (16:10 +0000)] 
client: Fire a timer just before the access token expires

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Move the authentication timer from the daemon
Michael Tremer [Tue, 24 Jun 2025 15:56:19 +0000 (15:56 +0000)] 
client: Move the authentication timer from the daemon

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Use the event loop from the HTTP client
Michael Tremer [Tue, 24 Jun 2025 15:55:40 +0000 (15:55 +0000)] 
client: Use the event loop from the HTTP client

The HTTP client needs to have more control so that it can automatically
terminate the event loop when it is done.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agodaemon: Remove the authentication framework
Michael Tremer [Tue, 24 Jun 2025 15:46:32 +0000 (15:46 +0000)] 
daemon: Remove the authentication framework

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Hold a reference to the event loop
Michael Tremer [Tue, 24 Jun 2025 15:46:03 +0000 (15:46 +0000)] 
client: Hold a reference to the event loop

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agocli: Return auth result in exit code
Michael Tremer [Tue, 24 Jun 2025 15:34:04 +0000 (15:34 +0000)] 
cli: Return auth result in exit code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Actually call the authentication callback
Michael Tremer [Tue, 24 Jun 2025 15:33:44 +0000 (15:33 +0000)] 
client: Actually call the authentication callback

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Make user authentication asynchronous
Michael Tremer [Tue, 24 Jun 2025 15:27:53 +0000 (15:27 +0000)] 
client: Make user authentication asynchronous

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoxfer: Implement an API response callback
Michael Tremer [Tue, 24 Jun 2025 15:21:13 +0000 (15:21 +0000)] 
xfer: Implement an API response callback

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Add a convenience function to run the standalone client
Michael Tremer [Tue, 24 Jun 2025 15:01:56 +0000 (15:01 +0000)] 
client: Add a convenience function to run the standalone client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Add an authentication callback
Michael Tremer [Tue, 24 Jun 2025 15:01:15 +0000 (15:01 +0000)] 
client: Add an authentication callback

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoclient: Bring back an own HTTP client instance
Michael Tremer [Tue, 24 Jun 2025 14:49:00 +0000 (14:49 +0000)] 
client: Bring back an own HTTP client instance

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agoconfigure: Drop dependency on libkrb5
Michael Tremer [Tue, 24 Jun 2025 14:33:58 +0000 (14:33 +0000)] 
configure: Drop dependency on libkrb5

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agodaemon: Remove Kerberos authentication
Michael Tremer [Tue, 24 Jun 2025 14:31:57 +0000 (14:31 +0000)] 
daemon: Remove Kerberos authentication

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agojson: Actually jump to the error block if JSON could not be parsed
Michael Tremer [Sat, 21 Jun 2025 18:16:15 +0000 (18:16 +0000)] 
json: Actually jump to the error block if JSON could not be parsed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agoclient: Rename the build service to client
Michael Tremer [Sat, 21 Jun 2025 18:14:13 +0000 (18:14 +0000)] 
client: Rename the build service to client

This is simply to have way shorter function names, because things have
started to become a little bit ridiculous. No functional changes.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agoxfer: Format transfer times in milliseconds
Michael Tremer [Sat, 21 Jun 2025 17:52:57 +0000 (17:52 +0000)] 
xfer: Format transfer times in milliseconds

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agojenkins: Explicitely install autopoint on Debian-based distros
Michael Tremer [Sat, 21 Jun 2025 17:45:17 +0000 (17:45 +0000)] 
jenkins: Explicitely install autopoint on Debian-based distros

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agojenkins: Explicitely install Gettext on all distros
Michael Tremer [Sat, 21 Jun 2025 17:38:06 +0000 (17:38 +0000)] 
jenkins: Explicitely install Gettext on all distros

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agoconfigure: Explicitely configure Gettext
Michael Tremer [Sat, 21 Jun 2025 17:32:07 +0000 (17:32 +0000)] 
configure: Explicitely configure Gettext

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agobuildservice: Send all other API requests with a JSON payload
Michael Tremer [Sat, 21 Jun 2025 17:29:24 +0000 (17:29 +0000)] 
buildservice: Send all other API requests with a JSON payload

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agojson: Add function to add a boolean value
Michael Tremer [Sat, 21 Jun 2025 17:27:20 +0000 (17:27 +0000)] 
json: Add function to add a boolean value

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