Simon Ser
552be2f89e
worker: drop go.mod
...
Let's just use the toplevel go.mod instead.
This upgrades core-go for the worker, so a small adjustment of
JobContext.oauth2Token is required.
2023-11-30 12:38:21 +01:00
Simon Ser
6fe759ae2d
Upgrade core-go
2023-11-30 11:53:09 +01:00
Simon Ser
8df0cd638f
Upgrade core-go
2023-11-29 17:53:45 +01:00
Drew DeVault
9910ba36f6
API: update dependencies
2023-10-24 12:25:18 +02:00
Simon Ser
73b6d3b3a5
api/graph: fix SECRETS:RO check for non-OAuth2 clients
...
AuthContext.Grants is only populated for OAuth2 clients.
Use the new AuthContext.Access method to check for the SECRETS:RO
permission instead, to account for other auth kinds.
2023-08-16 15:50:05 +02:00
Drew DeVault
27f62d1d8a
Route build log requests through API
...
So that we can add authorization
2023-06-19 11:31:36 +02:00
Simon Ser
77b80665f2
Upgrade Go dependencies
...
Brings an updated core-go with 209e1a869851 ("database/middleware: do
not recover/panic in defer") included.
2023-04-17 13:16:13 +02:00
Adnan Maolood
53941b81ff
Move go.mod to root
2023-04-11 14:45:15 +02:00