From 14a8d6e3e85f593586955ecd80deea38c62142b8 Mon Sep 17 00:00:00 2001 From: knojector Date: Wed, 14 Mar 2018 19:33:04 +0100 Subject: [PATCH 1/6] added SteamAuthenticationBundle recipe --- .../config/packages/knojector_steam_authentication.yaml | 5 +++++ knojector/steam-authentication-bundle/1.0/manifest.json | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100644 knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml create mode 100644 knojector/steam-authentication-bundle/1.0/manifest.json diff --git a/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml b/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml new file mode 100644 index 00000000..f8168f6f --- /dev/null +++ b/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml @@ -0,0 +1,5 @@ +knojector_steam_auth: + api_key: ~ + login_route: ~ + login_redirect: ~ + user_class: ~ \ No newline at end of file diff --git a/knojector/steam-authentication-bundle/1.0/manifest.json b/knojector/steam-authentication-bundle/1.0/manifest.json new file mode 100644 index 00000000..a7abdd10 --- /dev/null +++ b/knojector/steam-authentication-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Knojector\\SteamAuthenticationBundle\\KnojectorSteamAuthenticationBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} \ No newline at end of file From d61ba62acc02c5db87563a82d679614dd93db505 Mon Sep 17 00:00:00 2001 From: knojector Date: Wed, 14 Mar 2018 19:40:21 +0100 Subject: [PATCH 2/6] validation fixes --- .../packages/knojector_steam_authentication.yaml | 2 +- .../steam-authentication-bundle/1.0/manifest.json | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml b/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml index f8168f6f..f4a087b1 100644 --- a/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml +++ b/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml @@ -2,4 +2,4 @@ knojector_steam_auth: api_key: ~ login_route: ~ login_redirect: ~ - user_class: ~ \ No newline at end of file + user_class: ~ diff --git a/knojector/steam-authentication-bundle/1.0/manifest.json b/knojector/steam-authentication-bundle/1.0/manifest.json index a7abdd10..daef2381 100644 --- a/knojector/steam-authentication-bundle/1.0/manifest.json +++ b/knojector/steam-authentication-bundle/1.0/manifest.json @@ -1,8 +1,8 @@ { - "bundles": { - "Knojector\\SteamAuthenticationBundle\\KnojectorSteamAuthenticationBundle": ["all"] - }, - "copy-from-recipe": { - "config/": "%CONFIG_DIR%/" - } -} \ No newline at end of file + "bundles": { + "Knojector\\SteamAuthenticationBundle\\KnojectorSteamAuthenticationBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} From c4d9f332e1df43a448b028caf5f8404f47ebb2fb Mon Sep 17 00:00:00 2001 From: knojector Date: Wed, 14 Mar 2018 20:15:43 +0100 Subject: [PATCH 3/6] Trigger build From 8e8afbfb50156c22c41e75938ca14e09a6ab7166 Mon Sep 17 00:00:00 2001 From: knojector Date: Wed, 14 Mar 2018 20:18:51 +0100 Subject: [PATCH 4/6] fixed configuration typo --- .../1.0/config/packages/knojector_steam_authentication.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml b/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml index f4a087b1..cf19d667 100644 --- a/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml +++ b/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml @@ -1,4 +1,4 @@ -knojector_steam_auth: +knojector_steam_authentication: api_key: ~ login_route: ~ login_redirect: ~ From ae0d9ddcdc95b8f0b6137a8d9854b748cdfc1b8d Mon Sep 17 00:00:00 2001 From: knojector Date: Wed, 14 Mar 2018 20:26:12 +0100 Subject: [PATCH 5/6] config changes --- .../config/packages/knojector_steam_authentication.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml b/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml index cf19d667..376089c8 100644 --- a/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml +++ b/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml @@ -1,5 +1,5 @@ knojector_steam_authentication: - api_key: ~ - login_route: ~ - login_redirect: ~ - user_class: ~ + api_key: '' + login_route: '' + login_redirect: '' + user_class: '' From 68225b39231514a82403891b4d056c9bc79a72aa Mon Sep 17 00:00:00 2001 From: knojector Date: Sun, 18 Mar 2018 13:37:56 +0100 Subject: [PATCH 6/6] added env var --- .../1.0/config/packages/knojector_steam_authentication.yaml | 3 ++- knojector/steam-authentication-bundle/1.0/manifest.json | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml b/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml index 376089c8..6d3cbe41 100644 --- a/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml +++ b/knojector/steam-authentication-bundle/1.0/config/packages/knojector_steam_authentication.yaml @@ -1,5 +1,6 @@ +# https://github.com/knojector/SteamAuthenticationBundle for configuration documentation knojector_steam_authentication: - api_key: '' + api_key: "%env(STEAM_API_KEY)%" login_route: '' login_redirect: '' user_class: '' diff --git a/knojector/steam-authentication-bundle/1.0/manifest.json b/knojector/steam-authentication-bundle/1.0/manifest.json index daef2381..4e295bb1 100644 --- a/knojector/steam-authentication-bundle/1.0/manifest.json +++ b/knojector/steam-authentication-bundle/1.0/manifest.json @@ -4,5 +4,8 @@ }, "copy-from-recipe": { "config/": "%CONFIG_DIR%/" + }, + "env": { + "STEAM_API_KEY": "" } }