Browse Source

LINKED_CARDS_ENABLED settings part 2.

Thanks to xet7 !
Lauri Ojansivu 5 years ago
parent
commit
1bf7f95bd8

+ 2 - 1
.devcontainer/Dockerfile

@@ -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 \

+ 1 - 1
Dockerfile

@@ -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

+ 2 - 2
docker-compose.yml

@@ -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
 

+ 1 - 0
sandstorm-pkgdef.capnp

@@ -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}}")
   ]

+ 1 - 1
snap-src/bin/wekan-help

@@ -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

+ 5 - 1
start-wekan.bat

@@ -64,7 +64,7 @@ REM # https://github.com/wekan/wekan/pull/2536
 REM # System timelines will be showing any user modification for
 REM # dueat startat endat receivedat, also notification to
 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 # 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.
@@ -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 ..\..

+ 5 - 1
start-wekan.sh

@@ -71,7 +71,7 @@
       # dueat startat endat receivedat, also notification to
       # 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
       # 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
       # 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

+ 3 - 0
torodb-postgresql/docker-compose.yml

@@ -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