woodpecker/server/api
Anbraten f13ffc2c8f
Save agent-id for tasks and add endpoint to get agent tasks (#1631)
Save which agent is running a task. This is now visible in the admin UI
in the queue and in the agent details screen.

# changes
- [x] save id of agent executing a task
- [x] add endpoint to get tasks of an agent for #999 
- [x] show assigned agent-id in queue
- [x] (offtopic) use same colors for queue stats and icons (similar to
the ones used by pipelines)
- [x] (offtopic) use badges for queue labels & dependencies


![image](https://user-images.githubusercontent.com/6918444/226541271-23f3b7b2-7a08-45c2-a2e6-1c7fc31b6f1d.png)
2023-03-21 15:10:43 +02:00
..
debug Reorganize code into server/{api,grpc,shared} packages (#337) 2021-09-22 20:48:01 +02:00
metrics disable metrics access if no token is set (#1469) 2022-12-09 18:03:43 +01:00
agent.go Save agent-id for tasks and add endpoint to get agent tasks (#1631) 2023-03-21 15:10:43 +02:00
badge.go Refactor nits (#1652) 2023-03-19 18:32:19 +01:00
cron.go Various fixes and improvements (#1643) 2023-03-19 13:52:58 +01:00
file.go Refactor nits (#1652) 2023-03-19 18:32:19 +01:00
global_secret.go Refactor nits (#1652) 2023-03-19 18:32:19 +01:00
helper.go Refactor nits (#1652) 2023-03-19 18:32:19 +01:00
hook.go Update Go dependencies and minimal Go version to 1.20 (#1650) 2023-03-21 00:48:15 +01:00
login.go Refactor nits (#1652) 2023-03-19 18:32:19 +01:00
org.go Add global and organization secrets (#1027) 2022-08-14 13:48:53 +02:00
org_secret.go Refactor nits (#1652) 2023-03-19 18:32:19 +01:00
pipeline.go Various fixes and improvements (#1643) 2023-03-19 13:52:58 +01:00
registry.go Various fixes and improvements (#1643) 2023-03-19 13:52:58 +01:00
repo.go Only inject netrc to trusted clone plugins (#1352) 2023-03-20 21:17:49 +01:00
repo_secret.go Refactor nits (#1652) 2023-03-19 18:32:19 +01:00
signature_public_key.go Various fixes and improvements (#1643) 2023-03-19 13:52:58 +01:00
stream.go Update Go dependencies and minimal Go version to 1.20 (#1650) 2023-03-21 00:48:15 +01:00
user.go Various fixes and improvements (#1643) 2023-03-19 13:52:58 +01:00
users.go Refactor nits (#1652) 2023-03-19 18:32:19 +01:00
z.go Various fixes and improvements (#1643) 2023-03-19 13:52:58 +01:00