diff --git a/.github/actions/run-e2e-playwright/action.yml b/.github/actions/run-e2e-playwright/action.yml index b0364c9464..c9482c29fd 100644 --- a/.github/actions/run-e2e-playwright/action.yml +++ b/.github/actions/run-e2e-playwright/action.yml @@ -26,20 +26,9 @@ runs: { echo "APP_CONFIG_ECM_HOST={protocol}//{hostname}{:port}" - echo "APP_CONFIG_PLUGIN_FOLDER_RULES=true" - echo "APP_CONFIG_PLUGIN_AOS=true" - echo "APP_CONFIG_PLUGIN_CONTENT_SERVICE=true" - echo "APP_CONFIG_ENABLE_MOBILE_APP_SWITCH=false" echo "APP_CONFIG_PROVIDER=ECM" echo "APP_CONFIG_AUTH_TYPE=BASIC" echo "APP_CONFIG_OAUTH2_HOST=http://localhost:4200/auth/realms/alfresco" - echo "APP_CONFIG_OAUTH2_CLIENTID=alfresco" - echo "APP_CONFIG_SESSION_TIME_FOR_OPEN_APP_DIALOG_DISPLAY_IN_HOURS=12" - echo "APP_CONFIG_OAUTH2_IMPLICIT_FLOW=true" - echo "APP_CONFIG_OAUTH2_SILENT_LOGIN=true" - echo "APP_CONFIG_OAUTH2_REDIRECT_LOGOUT=/" - echo "APP_CONFIG_OAUTH2_REDIRECT_LOGIN=/" - echo "APP_CONFIG_OAUTH2_REDIRECT_SILENT_IFRAME_URI={protocol}//{hostname}{:port}/assets/silent-refresh.html" } >> .env npm start > /dev/null &\ diff --git a/.github/actions/run-e2e/action.yml b/.github/actions/run-e2e/action.yml index 5e52b06697..1a8a4c86cf 100644 --- a/.github/actions/run-e2e/action.yml +++ b/.github/actions/run-e2e/action.yml @@ -27,20 +27,9 @@ runs: { echo "APP_CONFIG_ECM_HOST={protocol}//{hostname}{:port}" - echo "APP_CONFIG_PLUGIN_FOLDER_RULES=true" - echo "APP_CONFIG_PLUGIN_AOS=true" - echo "APP_CONFIG_PLUGIN_CONTENT_SERVICE=true" - echo "APP_CONFIG_ENABLE_MOBILE_APP_SWITCH=false" echo "APP_CONFIG_PROVIDER=ECM" echo "APP_CONFIG_AUTH_TYPE=BASIC" echo "APP_CONFIG_OAUTH2_HOST=http://localhost:4200/auth/realms/alfresco" - echo "APP_CONFIG_OAUTH2_CLIENTID=alfresco" - echo "APP_CONFIG_SESSION_TIME_FOR_OPEN_APP_DIALOG_DISPLAY_IN_HOURS=12" - echo "APP_CONFIG_OAUTH2_IMPLICIT_FLOW=true" - echo "APP_CONFIG_OAUTH2_SILENT_LOGIN=true" - echo "APP_CONFIG_OAUTH2_REDIRECT_LOGOUT=/" - echo "APP_CONFIG_OAUTH2_REDIRECT_LOGIN=/" - echo "APP_CONFIG_OAUTH2_REDIRECT_SILENT_IFRAME_URI={protocol}//{hostname}{:port}/assets/silent-refresh.html" } >> .env npm start > /dev/null &\ diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index d2afee1d2d..7d0999bcbb 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -29,23 +29,6 @@ env: APP_CONFIG_AUTH_TYPE: BASIC APP_CONFIG_OAUTH2_HOST: http://localhost:4200/auth/realms/alfresco PLAYWRIGHT_E2E_HOST: ${{ secrets.PLAYWRIGHT_E2E_HOST }} - APP_CONFIG_OAUTH2_CLIENTID: alfresco - APP_CONFIG_PLUGIN_AOS: true - APP_CONFIG_PLUGIN_CONTENT_SERVICE: true - APP_CONFIG_PLUGIN_FOLDER_RULES: true - APP_CONFIG_ENABLE_MOBILE_APP_SWITCH: true - APP_CONFIG_SESSION_TIME_FOR_OPEN_APP_DIALOG_DISPLAY_IN_HOURS: "12" - APP_CONFIG_OAUTH2_IMPLICIT_FLOW: true - APP_CONFIG_OAUTH2_SILENT_LOGIN: true - APP_CONFIG_OAUTH2_REDIRECT_LOGOUT: / - APP_CONFIG_OAUTH2_REDIRECT_LOGIN: / - APP_CONFIG_OAUTH2_REDIRECT_SILENT_IFRAME_URI: "{protocol}//{hostname}{:port}/assets/silent-refresh.html" - APP_CONFIG_ENABLE_DOWNLOAD_PROMPT: true - APP_CONFIG_ENABLE_DOWNLOAD_PROMPT_REMINDERS: true - APP_CONFIG_DOWNLOAD_PROMPT_DELAY: 50 - APP_CONFIG_DOWNLOAD_PROMPT_REMINDER_DELAY: 30 - APP_CONFIG_ENABLE_FILE_AUTO_DOWNLOAD: true - APP_CONFIG_FILE_AUTO_DOWNLOAD_SIZE_THRESHOLD_IN_MB: 15 GH_BUILD_NUMBER: ${{ github.run_id }} MAXINSTANCES: 2 RETRY_COUNT: 2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c682da33b..7a37276acb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,17 +23,6 @@ env: APP_CONFIG_AUTH_TYPE: BASIC APP_CONFIG_OAUTH2_HOST: http://localhost:4200/auth/realms/alfresco PLAYWRIGHT_E2E_HOST: ${{ secrets.PLAYWRIGHT_E2E_HOST }} - APP_CONFIG_OAUTH2_CLIENTID: alfresco - APP_CONFIG_PLUGIN_AOS: true - APP_CONFIG_PLUGIN_CONTENT_SERVICE: true - APP_CONFIG_PLUGIN_FOLDER_RULES: true - APP_CONFIG_ENABLE_MOBILE_APP_SWITCH: true - APP_CONFIG_SESSION_TIME_FOR_OPEN_APP_DIALOG_DISPLAY_IN_HOURS: "12" - APP_CONFIG_OAUTH2_IMPLICIT_FLOW: true - APP_CONFIG_OAUTH2_SILENT_LOGIN: true - APP_CONFIG_OAUTH2_REDIRECT_LOGOUT: / - APP_CONFIG_OAUTH2_REDIRECT_LOGIN: / - APP_CONFIG_OAUTH2_REDIRECT_SILENT_IFRAME_URI: "{protocol}//{hostname}{:port}/assets/silent-refresh.html" NPM_REGISTRY_ADDRESS: ${{ secrets.NPM_REGISTRY_ADDRESS }} diff --git a/Dockerfile b/Dockerfile index f9ac5e94c2..3649571a26 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,24 +27,6 @@ ENV APP_CONFIG_OAUTH2_HOST="{protocol}//{hostname}{:port}/auth/realms/alfresco" ENV APP_CONFIG_BPM_HOST="{protocol}//{hostname}{:port}" ENV APP_CONFIG_ECM_HOST="{protocol}//{hostname}{:port}" -ENV APP_CONFIG_OAUTH2_CLIENTID="alfresco" -ENV APP_CONFIG_OAUTH2_IMPLICIT_FLOW=true -ENV APP_CONFIG_OAUTH2_SILENT_LOGIN=true -ENV APP_CONFIG_OAUTH2_REDIRECT_SILENT_IFRAME_URI="{protocol}//{hostname}{:port}/assets/silent-refresh.html" -ENV APP_CONFIG_OAUTH2_REDIRECT_LOGIN="/" -ENV APP_CONFIG_OAUTH2_REDIRECT_LOGOUT="/" -ENV APP_CONFIG_PLUGIN_AOS=true -ENV APP_CONFIG_PLUGIN_FOLDER_RULES=true -ENV APP_CONFIG_PLUGIN_CONTENT_SERVICE=true -ENV APP_CONFIG_ENABLE_MOBILE_APP_SWITCH=true -ENV APP_CONFIG_SESSION_TIME_FOR_OPEN_APP_DIALOG_DISPLAY_IN_HOURS="12" -ENV APP_CONFIG_ENABLE_DOWNLOAD_PROMPT=true -ENV APP_CONFIG_ENABLE_DOWNLOAD_PROMPT_REMINDERS=true -ENV APP_CONFIG_DOWNLOAD_PROMPT_DELAY=50 -ENV APP_CONFIG_DOWNLOAD_PROMPT_REMINDER_DELAY=30 -ENV APP_CONFIG_ENABLE_FILE_AUTO_DOWNLOAD=true -ENV APP_CONFIG_FILE_AUTO_DOWNLOAD_SIZE_THRESHOLD_IN_MB=15 - COPY docker/default.conf.template /etc/nginx/templates/ COPY dist/$PROJECT_NAME /usr/share/nginx/html/ diff --git a/README.md b/README.md index b37205b38f..b97bfb699c 100644 --- a/README.md +++ b/README.md @@ -26,32 +26,9 @@ Create an `.env` file in the project root folder with the following content ```yml APP_CONFIG_ECM_HOST="" -APP_CONFIG_PLUGIN_AOS=false -APP_CONFIG_PLUGIN_CONTENT_SERVICE=true -APP_CONFIG_PLUGIN_FOLDER_RULES=true -APP_CONFIG_ENABLE_MOBILE_APP_SWITCH=false APP_CONFIG_PROVIDER=ECM APP_CONFIG_AUTH_TYPE=BASIC APP_CONFIG_OAUTH2_HOST=http://localhost:4200/auth/realms/alfresco -APP_CONFIG_OAUTH2_CLIENTID=alfresco -APP_CONFIG_PLUGIN_AOS=true -APP_CONFIG_PLUGIN_CONTENT_SERVICE=true -APP_CONFIG_PLUGIN_FOLDER_RULES=true -APP_CONFIG_ENABLE_MOBILE_APP_SWITCH=true -APP_CONFIG_SESSION_TIME_FOR_OPEN_APP_DIALOG_DISPLAY_IN_HOURS="12" -APP_CONFIG_OAUTH2_IMPLICIT_FLOW=true -APP_CONFIG_OAUTH2_SILENT_LOGIN=true -APP_CONFIG_OAUTH2_REDIRECT_LOGOUT=/ -APP_CONFIG_OAUTH2_REDIRECT_LOGIN=/ -APP_CONFIG_OAUTH2_REDIRECT_SILENT_IFRAME_URI="{protocol}//{hostname}{:port}/assets/silent-refresh.html" - - # Download Prompt configurations -APP_CONFIG_ENABLE_DOWNLOAD_PROMPT=true -APP_CONFIG_ENABLE_DOWNLOAD_PROMPT_REMINDERS=true -APP_CONFIG_DOWNLOAD_PROMPT_DELAY=