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="" \
CORS_ALLOW_HEADERS="" \ CORS_ALLOW_HEADERS="" \
CORS_EXPOSE_HEADERS="" \ CORS_EXPOSE_HEADERS="" \
DEFAULT_AUTHENTICATION_METHOD="" DEFAULT_AUTHENTICATION_METHOD="" \
LINKED_CARDS_ENABLED=true
# Install OS # Install OS
RUN set -o xtrace \ 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="" \
CORS_ALLOW_HEADERS="" \ CORS_ALLOW_HEADERS="" \
CORS_EXPOSE_HEADERS="" \ CORS_EXPOSE_HEADERS="" \
DEFAULT_AUTHENTICATION_METHOD="" DEFAULT_AUTHENTICATION_METHOD="" \
LINKED_CARDS_ENABLED=true LINKED_CARDS_ENABLED=true
# Copy the app to the image # Copy the app to the image

View file

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

View file

@ -256,6 +256,7 @@ const myCommand :Spk.Manifest.Command = (
(key = "OAUTH2_USERINFO_ENDPOINT", value=""), (key = "OAUTH2_USERINFO_ENDPOINT", value=""),
(key = "OAUTH2_TOKEN_ENDPOINT", value=""), (key = "OAUTH2_TOKEN_ENDPOINT", value=""),
(key = "LDAP_ENABLE", value="false"), (key = "LDAP_ENABLE", value="false"),
(key = "LINKED_CARDS_ENABLED", value="true"),
(key = "SANDSTORM", value="1"), (key = "SANDSTORM", value="1"),
(key = "METEOR_SETTINGS", value = "{\"public\": {\"sandstorm\": true}}") (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 "\t$ snap set $SNAP_NAME default-authentication-method='ldap'"
echo -e "\n" echo -e "\n"
echo -e "Linked cards enabled." 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 "\t$ snap set $SNAP_NAME linked-cards-enabled='false'"
echo -e "\n" echo -e "\n"
# parse config file for supported settings keys # parse config file for supported settings keys

View file

@ -64,7 +64,7 @@ REM # https://github.com/wekan/wekan/pull/2536
REM # System timelines will be showing any user modification for REM # System timelines will be showing any user modification for
REM # dueat startat endat receivedat, also notification to REM # dueat startat endat receivedat, also notification to
REM # the watchers and if any card is due, about due or past due. REM # the watchers and if any card is due, about due or past due.
REM # Notify due days, default is None. REM # Notify due days, default is None.
REM # SET NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0 REM # SET NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0
REM # Notify due at hour of day. Default every morning at 8am. Can be 0-23. REM # Notify due at hour of day. Default every morning at 8am. Can be 0-23.
REM # If env variable has parsing error, use default. Notification sent to watchers. REM # If env variable has parsing error, use default. Notification sent to watchers.
@ -378,6 +378,10 @@ REM # LOGOUT_ON_MINUTES : The number of minutes
REM # example : LOGOUT_ON_MINUTES=55 REM # example : LOGOUT_ON_MINUTES=55
REM SET LOGOUT_ON_MINUTES= 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 cd .build\bundle
node main.js node main.js
cd ..\.. cd ..\..

View file

@ -71,7 +71,7 @@
# dueat startat endat receivedat, also notification to # dueat startat endat receivedat, also notification to
# the watchers and if any card is due, about due or past due. # the watchers and if any card is due, about due or past due.
# #
# Notify due days, default is None. # Notify due days, default is None.
#export NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0 #export NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0
# it will notify user 2 days before due day and on the due day # it will notify user 2 days before due day and on the due day
# #
@ -352,6 +352,10 @@
# LOGOUT_ON_MINUTES : The number of minutes # LOGOUT_ON_MINUTES : The number of minutes
# example : LOGOUT_ON_MINUTES=55 # example : LOGOUT_ON_MINUTES=55
#export LOGOUT_ON_MINUTES= #export LOGOUT_ON_MINUTES=
#-------------------------------------------------------------------
# LINKED_CARDS_ENABLED : Enable or not the linked cards feature
# Default: true
#export LINKED_CARDS_ENABLED=false
node main.js node main.js
# & >> ../../wekan.log # & >> ../../wekan.log

View file

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