diff --git a/.github/workflows/deploy-runners.yml b/.github/workflows/deploy-runners.yml index 1f5636896..f9d786650 100644 --- a/.github/workflows/deploy-runners.yml +++ b/.github/workflows/deploy-runners.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: push: tags: - - '.*beta.*' + - '*beta*' permissions: packages: write diff --git a/api/runner_grpc.go b/api/runner_grpc.go index 94edc541d..952cbcae1 100644 --- a/api/runner_grpc.go +++ b/api/runner_grpc.go @@ -31,6 +31,8 @@ type GrpcRunnerServer struct { dao.DaoWrapper } +// + func (g GrpcRunnerServer) Register(ctx context.Context, request *protobuf.RegisterRequest) (*protobuf.RegisterResponse, error) { runner := model.Runner{ Hostname: request.Hostname, diff --git a/api/stream.go b/api/stream.go index 0238b2f7c..3170b071e 100644 --- a/api/stream.go +++ b/api/stream.go @@ -4,6 +4,7 @@ import ( "context" "errors" "fmt" + "github.com/getsentry/sentry-go" "net/http" "os" "path/filepath" @@ -18,7 +19,6 @@ import ( "github.com/TUM-Dev/gocast/tools" "github.com/TUM-Dev/gocast/tools/bot" "github.com/TUM-Dev/gocast/voice-service/pb" - "github.com/getsentry/sentry-go" "github.com/gin-gonic/gin" uuid "github.com/satori/go.uuid" "gorm.io/gorm" @@ -893,4 +893,5 @@ func (r streamRoutes) updateChatEnabled(c *gin.Context) { c.AbortWithStatusJSON(http.StatusBadRequest, "could not update stream") return } + } diff --git a/tools/stream-signing.go b/tools/stream-signing.go index cd9554fe4..aaec473f7 100644 --- a/tools/stream-signing.go +++ b/tools/stream-signing.go @@ -34,7 +34,7 @@ func SetSignedPlaylists(s *model.Stream, user *model.User, allowDownloading bool } for _, playlist := range playlists { - if strings.Contains(playlist.Playlist, "localhost") || strings.Contains(playlist.Playlist, "lrz.de") { // todo: remove after migration from lrz services + if strings.Contains(playlist.Playlist, "lrz.de") { // todo: remove after migration from lrz services continue } diff --git a/web/ts/entry/home.ts b/web/ts/entry/home.ts index ce9abaf4d..4330d8210 100644 --- a/web/ts/entry/home.ts +++ b/web/ts/entry/home.ts @@ -7,3 +7,4 @@ export * from "../components/main"; export * from "../search"; export * from "../utilities/date"; export * from "../utilities/lectureHallValidator"; +export * from "../utilities/lectureHallValidator";