Merge branch '1.3.0' of https://github.com/shuffle/shuffle into 1.3.0

This commit is contained in:
Frikky
2023-10-18 18:03:35 +02:00
25 changed files with 3284 additions and 245 deletions
+4 -1
View File
@@ -3408,9 +3408,11 @@ func handleCloudExecutionOnprem(workflowId, startNode, executionSource, executio
}
func handleCloudJob(job shuffle.CloudSyncJob) error {
ctx := context.Background()
// May need authentication in all of these..?
log.Printf("[INFO] Handle job with type %s and action %s", job.Type, job.Action)
shuffle.IncrementCache(ctx, job.OrgId, "org_sync_actions")
if job.Type == "outlook" {
if job.Action == "execute" {
// FIXME: Get the email
@@ -6073,6 +6075,7 @@ func initHandlers() {
// Had to move away from mux, which means Method is fucked up right now.
func main() {
initHandlers()
hostname, err := os.Hostname()
if err != nil {