LINKED_CARDS_ENABLED settings part 2.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2019-12-20 16:32:38 +02:00
parent 2a065825fa
commit 1bf7f95bd8
8 changed files with 20 additions and 7 deletions

View file

@ -108,7 +108,8 @@ ENV \
CORS="" \
CORS_ALLOW_HEADERS="" \
CORS_EXPOSE_HEADERS="" \
DEFAULT_AUTHENTICATION_METHOD=""
DEFAULT_AUTHENTICATION_METHOD="" \
LINKED_CARDS_ENABLED=true
# Install OS
RUN set -o xtrace \

View file

@ -110,7 +110,7 @@ ENV BUILD_DEPS="apt-utils libarchive-tools gnupg gosu wget curl bzip2 g++ build-
CORS="" \
CORS_ALLOW_HEADERS="" \
CORS_EXPOSE_HEADERS="" \
DEFAULT_AUTHENTICATION_METHOD=""
DEFAULT_AUTHENTICATION_METHOD="" \
LINKED_CARDS_ENABLED=true
# Copy the app to the image

View file

@ -560,8 +560,8 @@ services:
#- LOGOUT_ON_MINUTES=
#-------------------------------------------------------------------
# LINKED_CARDS_ENABLED : Enable or not the linked cards feature
# example : LINKED_CARDS_ENABLED=false
- LINKED_CARDS_ENABLED=true
# Default: true
#- LINKED_CARDS_ENABLED=false
depends_on:
- wekandb

View file

@ -256,6 +256,7 @@ const myCommand :Spk.Manifest.Command = (
(key = "OAUTH2_USERINFO_ENDPOINT", value=""),
(key = "OAUTH2_TOKEN_ENDPOINT", value=""),
(key = "LDAP_ENABLE", value="false"),
(key = "LINKED_CARDS_ENABLED", value="true"),
(key = "SANDSTORM", value="1"),
(key = "METEOR_SETTINGS", value = "{\"public\": {\"sandstorm\": true}}")
]

View file

@ -445,7 +445,7 @@ echo -e "The default authentication method used if a user does not exist to crea
echo -e "\t$ snap set $SNAP_NAME default-authentication-method='ldap'"
echo -e "\n"
echo -e "Linked cards enabled."
echo -e "Enable or not the linked cards feature."
echo -e "Enable or not the linked cards feature. Default: true"
echo -e "\t$ snap set $SNAP_NAME linked-cards-enabled='false'"
echo -e "\n"
# parse config file for supported settings keys

View file

@ -378,6 +378,10 @@ REM # LOGOUT_ON_MINUTES : The number of minutes
REM # example : LOGOUT_ON_MINUTES=55
REM SET LOGOUT_ON_MINUTES=
REM # LINKED_CARDS_ENABLED : Enable or not the linked cards feature
REM # Default: true
REM SET LINKED_CARDS_ENABLED=false
cd .build\bundle
node main.js
cd ..\..

View file

@ -352,6 +352,10 @@
# LOGOUT_ON_MINUTES : The number of minutes
# example : LOGOUT_ON_MINUTES=55
#export LOGOUT_ON_MINUTES=
#-------------------------------------------------------------------
# LINKED_CARDS_ENABLED : Enable or not the linked cards feature
# Default: true
#export LINKED_CARDS_ENABLED=false
node main.js
# & >> ../../wekan.log

View file

@ -518,6 +518,9 @@ services:
# example : LOGOUT_ON_MINUTES=55
#- LOGOUT_ON_MINUTES=
#-------------------------------------------------------------------
# LINKED_CARDS_ENABLED : Enable or not the linked cards feature
# Default: true
#- LINKED_CARDS_ENABLED=false
depends_on:
- mongodb