From bdf2187c8a7fa96cf8cf1485986c22e64d901972 Mon Sep 17 00:00:00 2001 From: lumburovskalina <104008550+lumburovskalina@users.noreply.github.com> Date: Thu, 13 Jun 2024 17:11:05 +0200 Subject: [PATCH] Release v1.15.0 (#280) --- LICENSE | 2 +- refinery/kratos/kratos.yml | 15 ++++++++--- refinery/oathkeeper/access-rules.yml | 22 --------------- refinery/oathkeeper/oathkeeper.yml | 6 ----- refinery/versions.json | 40 ++++++++++++++-------------- start | 4 +-- start.bat | 4 +-- 7 files changed, 36 insertions(+), 57 deletions(-) diff --git a/LICENSE b/LICENSE index 8b17cbd..c8f67fa 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2022 onetask.ai GmbH + Copyright 2024 Kern AI GmbH Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/refinery/kratos/kratos.yml b/refinery/kratos/kratos.yml index 6539567..8e2c50b 100755 --- a/refinery/kratos/kratos.yml +++ b/refinery/kratos/kratos.yml @@ -1,4 +1,4 @@ -version: v0.4.6-alpha.1 +version: v1.1.0 dsn: memory @@ -12,12 +12,14 @@ serve: selfservice: default_browser_return_url: http://localhost:4455/refinery/projects - whitelisted_return_urls: + allowed_return_urls: - http://localhost:4455/ methods: password: enabled: true + link: + enabled: true flows: error: @@ -30,10 +32,12 @@ selfservice: recovery: enabled: true ui_url: http://localhost:4455/auth/recovery + use: link verification: enabled: true ui_url: http://localhost:4455/auth/verify + use: link after: default_browser_return_url: http://localhost:4455/ @@ -55,7 +59,7 @@ selfservice: hook: session log: - level: debug + level: trace format: text leak_sensitive_values: true @@ -72,7 +76,10 @@ hashers: key_length: 16 identity: - default_schema_url: file:///etc/config/kratos/identity.schema.json + default_schema_id: default + schemas: + - id: default + url: file:///etc/config/kratos/identity.schema.json courier: smtp: diff --git a/refinery/oathkeeper/access-rules.yml b/refinery/oathkeeper/access-rules.yml index d4ec6f8..e8556a0 100644 --- a/refinery/oathkeeper/access-rules.yml +++ b/refinery/oathkeeper/access-rules.yml @@ -83,28 +83,6 @@ to: http://localhost:4455/auth/login return_to_query_param: 'return_to' -- - id: "kernai:refinery-gateway:protected" - upstream: - preserve_host: true - url: "http://refinery-gateway:80" - match: - url: "http://localhost:4455/<{graphql/,graphql/**}>" - methods: - - GET - - POST - authenticators: - - - handler: cookie_session - authorizer: - handler: allow - mutators: - - handler: id_token - errors: - - handler: redirect - config: - to: http://localhost:4455/auth/login - - id: "kernai:refinery-gateway:fastapi" upstream: preserve_host: true diff --git a/refinery/oathkeeper/oathkeeper.yml b/refinery/oathkeeper/oathkeeper.yml index 0216b44..dafdf42 100644 --- a/refinery/oathkeeper/oathkeeper.yml +++ b/refinery/oathkeeper/oathkeeper.yml @@ -99,12 +99,6 @@ authorizers: mutators: noop: enabled: true - - header: - enabled: true - config: - headers: - X-Onetask: "X" id_token: enabled: true diff --git a/refinery/versions.json b/refinery/versions.json index 02daf5f..4545103 100644 --- a/refinery/versions.json +++ b/refinery/versions.json @@ -1,27 +1,27 @@ { "REFINERY": { - "AC_EXEC_ENV": "v1.14.0", - "AUTHORIZER": "v1.14.0", - "CONFIG": "v1.14.0", - "DOC_OCK": "v1.14.0", - "EMBEDDER": "v1.14.0", - "ENTRY": "v1.14.0", - "GATEWAY": "v1.14.0", - "GATEWAY_PROXY": "v1.14.0", - "ML_EXEC_ENV": "v1.14.0", - "LF_EXEC_ENV": "v1.14.0", - "NEURAL_SEARCH": "v1.14.0", - "REFINERY": "v1.14.0", - "RECORD_IDE_ENV": "v1.14.0", - "TOKENIZER": "v1.14.0", - "UI": "v1.14.0", - "UPDATER": "v1.14.0", - "WEAK_SUPERVISOR": "v1.14.0", - "WEBSOCKET": "v1.9.0", - "ZERO_SHOT": "v1.14.0" + "AC_EXEC_ENV": "v1.15.0", + "AUTHORIZER": "v1.15.0", + "CONFIG": "v1.15.0", + "DOC_OCK": "v1.15.0", + "EMBEDDER": "v1.15.0", + "ENTRY": "v1.15.0", + "GATEWAY": "v1.15.0", + "GATEWAY_PROXY": "v1.15.0", + "ML_EXEC_ENV": "v1.15.0", + "LF_EXEC_ENV": "v1.15.0", + "NEURAL_SEARCH": "v1.15.0", + "REFINERY": "v1.15.0", + "RECORD_IDE_ENV": "v1.15.0", + "TOKENIZER": "v1.15.0", + "UI": "v1.15.0", + "UPDATER": "v1.15.0", + "WEAK_SUPERVISOR": "v1.15.0", + "WEBSOCKET": "v1.15.0", + "ZERO_SHOT": "v1.15.0" }, "THIRD_PARTY": { - "KRATOS": "v0.8.0-alpha.2-sqlite", + "KRATOS": "v1.1.0", "MAILHOG": "v1.0.1", "MINIO": "RELEASE.2022-10-24T18-35-07Z", "OATHKEEPER": "v0.38.15-beta.1", diff --git a/start b/start index a15f74b..41ccb59 100755 --- a/start +++ b/start @@ -8,12 +8,12 @@ esac MINIO_ENDPOINT="http://$HOST_IP:7053" -docker pull kernai/alfred:v1.13.0 +docker pull kernai/alfred:v1.15.0 docker run -d --rm --name alfred \ -v /var/run/docker.sock:/var/run/docker.sock \ -v "$PWD/refinery:/refinery" \ -kernai/alfred:v1.13.0 \ +kernai/alfred:v1.15.0 \ python start.py "$PWD/refinery" $MINIO_ENDPOINT docker logs -f alfred diff --git a/start.bat b/start.bat index e72c946..2c64267 100644 --- a/start.bat +++ b/start.bat @@ -10,12 +10,12 @@ set "PWD=/%PWD%" REM grab MINIO_ENDPOINT from ipconfig Call :setMinioEndpoint -docker pull kernai/alfred:v1.13.0 +docker pull kernai/alfred:v1.15.0 docker run -d --rm ^ --name alfred ^ -v /var/run/docker.sock:/var/run/docker.sock ^ --v "%PWD%/refinery:/refinery" kernai/alfred:v1.13.0 ^ +-v "%PWD%/refinery:/refinery" kernai/alfred:v1.15.0 ^ python start.py "%PWD%/refinery" %MINIO_ENDPOINT% > nul docker logs -f alfred