Sfoglia il codice sorgente

Add RICHER_CARD_COMMENT_EDITOR=true setting to Source/Snap/Docker/Sandstorm.
More details at https://github.com/wekan/wekan/pull/2560

Thanks to xet7 !

Lauri Ojansivu 5 anni fa
parent
commit
4aba290358

+ 1 - 0
Dockerfile

@@ -21,6 +21,7 @@ ENV BUILD_DEPS="apt-utils bsdtar gnupg gosu wget curl bzip2 g++ build-essential
     ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE=3 \
     ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE=3 \
     ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60 \
     ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60 \
     ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15 \
     ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15 \
+    RICHER_CARD_COMMENT_EDITOR=true \
     MAX_IMAGE_PIXEL="" \
     MAX_IMAGE_PIXEL="" \
     IMAGE_COMPRESS_RATIO="" \
     IMAGE_COMPRESS_RATIO="" \
     BIGEVENTS_PATTERN="" \
     BIGEVENTS_PATTERN="" \

+ 4 - 0
releases/virtualbox/start-wekan.sh

@@ -36,6 +36,10 @@
         #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60
         #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60
         #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15
         #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15
         #---------------------------------------------------------------
         #---------------------------------------------------------------
+        # ==== RICH TEXT EDITOR IN CARD COMMENTS ====
+        # https://github.com/wekan/wekan/pull/2560
+        export RICHER_CARD_COMMENT_EDITOR=true
+        #---------------------------------------------------------------
         # ==== Allow to shrink attached/pasted image ====
         # ==== Allow to shrink attached/pasted image ====
         # https://github.com/wekan/wekan/pull/2544
         # https://github.com/wekan/wekan/pull/2544
         #export MAX_IMAGE_PIXEL=1024
         #export MAX_IMAGE_PIXEL=1024

+ 1 - 0
sandstorm-pkgdef.capnp

@@ -238,6 +238,7 @@ const myCommand :Spk.Manifest.Command = (
     # Note that this defines the *entire* environment seen by your app.
     # Note that this defines the *entire* environment seen by your app.
     (key = "PATH", value = "/usr/local/bin:/usr/bin:/bin"),
     (key = "PATH", value = "/usr/local/bin:/usr/bin:/bin"),
     (key = "WITH_API", value = "true"),
     (key = "WITH_API", value = "true"),
+    (key = "RICHER_CARD_COMMENT_EDITOR", value = "true"),
     (key = "MATOMO_ADDRESS", value=""),
     (key = "MATOMO_ADDRESS", value=""),
     (key = "MATOMO_SITE_ID", value=""),
     (key = "MATOMO_SITE_ID", value=""),
     (key = "MATOMO_DO_NOT_TRACK", value="true"),
     (key = "MATOMO_DO_NOT_TRACK", value="true"),

File diff suppressed because it is too large
+ 0 - 0
snap-src/bin/config


+ 6 - 0
snap-src/bin/wekan-help

@@ -58,6 +58,12 @@ echo -e "\n"
 echo -e "Accounts lockout unknown users failure window, in seconds. Default: 15"
 echo -e "Accounts lockout unknown users failure window, in seconds. Default: 15"
 echo -e "\t$ snap set $SNAP_NAME accounts-lockout-unknown-users-failure-window='15'"
 echo -e "\t$ snap set $SNAP_NAME accounts-lockout-unknown-users-failure-window='15'"
 echo -e "\n"
 echo -e "\n"
+echo -e "Rich text editor in card comments. Default: true https://github.com/wekan/wekan/pull/2560"
+echo -e "Default:"
+echo -e "\t$ snap set $SNAP_NAME richer-card-comment-editor='true'"
+echo -e "Disabled:"
+echo -e "\t$ snap set $SNAP_NAME richer-card-comment-editor='false'"
+echo -e "\n"
 echo -e "Max image pixel: Allow to shrink attached/pasted image https://github.com/wekan/wekan/pull/2544"
 echo -e "Max image pixel: Allow to shrink attached/pasted image https://github.com/wekan/wekan/pull/2544"
 echo -e "Example:"
 echo -e "Example:"
 echo -e "\t$ snap set $SNAP_NAME max-image-pixel='1024'"
 echo -e "\t$ snap set $SNAP_NAME max-image-pixel='1024'"

+ 4 - 0
start-wekan.bat

@@ -21,6 +21,10 @@ SET PORT=2000
 REM # If you disable Wekan API with false, Export Board does not work.
 REM # If you disable Wekan API with false, Export Board does not work.
 SET WITH_API=true
 SET WITH_API=true
 
 
+REM # ==== RICH TEXT EDITOR IN CARD COMMENTS ====
+REM # https://github.com/wekan/wekan/pull/2560
+SET RICHER_CARD_COMMENT_EDITOR=true
+
 REM # ==== Allow to shrink attached/pasted image ====
 REM # ==== Allow to shrink attached/pasted image ====
 REM # https://github.com/wekan/wekan/pull/2544
 REM # https://github.com/wekan/wekan/pull/2544
 REM SET MAX_IMAGE_PIXEL=1024
 REM SET MAX_IMAGE_PIXEL=1024

+ 4 - 0
start-wekan.sh

@@ -37,6 +37,10 @@
       #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60
       #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60
       #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15
       #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15
       #---------------------------------------------------------------
       #---------------------------------------------------------------
+      # ==== RICH TEXT EDITOR IN CARD COMMENTS ====
+      # https://github.com/wekan/wekan/pull/2560
+      export RICHER_CARD_COMMENT_EDITOR=true
+      #---------------------------------------------------------------
       # ==== Allow to shrink attached/pasted image ====
       # ==== Allow to shrink attached/pasted image ====
       # https://github.com/wekan/wekan/pull/2544
       # https://github.com/wekan/wekan/pull/2544
       #export MAX_IMAGE_PIXEL=1024
       #export MAX_IMAGE_PIXEL=1024

Some files were not shown because too many files changed in this diff