From e60926f8471c05f50877f46568554e7b2f24815a Mon Sep 17 00:00:00 2001 From: "Sam X. Chen" Date: Tue, 1 Oct 2019 10:39:36 -0400 Subject: #2738 adding all pertinent help file for due days, plus modified the .list-header-name when in mobile mode --- client/components/lists/list.styl | 4 ++++ docker-compose.yml | 4 ++-- releases/virtualbox/start-wekan.sh | 5 +++-- snap-src/bin/wekan-help | 9 +++------ start-wekan.bat | 4 ++-- start-wekan.sh | 5 +++-- 6 files changed, 17 insertions(+), 14 deletions(-) diff --git a/client/components/lists/list.styl b/client/components/lists/list.styl index 459481ea..0d3ccfce 100644 --- a/client/components/lists/list.styl +++ b/client/components/lists/list.styl @@ -171,6 +171,10 @@ margin-right: 50px right: -3px + .list-header + .list-header-name + margin-left: 1.4rem + .mini-list flex: 0 0 60px height: auto diff --git a/docker-compose.yml b/docker-compose.yml index 7fbe9f32..a0e641c1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -271,8 +271,8 @@ services: # dueat startat endat receivedat, also notification to # the watchers and if any card is due, about due or past due. # - # Notify due days, default 2 days before and after. 0 = due notifications disabled. Default: 2 - #- NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2 + # Notify due days, default is None, 2 days before and on the event day + #- NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0 # # Notify due at hour of day. Default every morning at 8am. Can be 0-23. # If env variable has parsing error, use default. Notification sent to watchers. diff --git a/releases/virtualbox/start-wekan.sh b/releases/virtualbox/start-wekan.sh index ded310fe..8d1f48e6 100755 --- a/releases/virtualbox/start-wekan.sh +++ b/releases/virtualbox/start-wekan.sh @@ -70,8 +70,9 @@ # dueat startat endat receivedat, also notification to # the watchers and if any card is due, about due or past due. # - # Notify due days, default 2 days before and after. 0 = due notifications disabled. Default: 2 - #export NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2 + # 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 # # Notify due at hour of day. Default every morning at 8am. Can be 0-23. # If env variable has parsing error, use default. Notification sent to watchers. diff --git a/snap-src/bin/wekan-help b/snap-src/bin/wekan-help index cde3dd57..6df3a1b4 100755 --- a/snap-src/bin/wekan-help +++ b/snap-src/bin/wekan-help @@ -104,13 +104,10 @@ echo -e "\t$ snap set $SNAP_NAME bigevents-pattern='NONE'" echo -e "\n" echo -e "EMAIL DUE DATE NOTIFICATION https://github.com/wekan/wekan/pull/2536" echo -e "System timelines will be showing any user modification for dueat startat endat receivedat, also notification to the watchers and if any card is due, about due or past due." -echo -e "Notify due days, default 2 days before and after. 0 = due notifications disabled. Default: 2" -echo -e "To enable different Notify Due Days Before And After than default 2:" -echo -e "\t$ snap set $SNAP_NAME notify-due-days-before-and-after='4'" +echo -e "Notify due days, number less than 15 or negative number accepted, you can specify multiple days delimited by ','. Default: NONE" +echo -e "To enable different Notify for Due Days on 2 days before, and on the event day " +echo -e "\t$ snap set $SNAP_NAME notify-due-days-before-and-after='2,0'" echo -e "\t-Disable Notifying for Due Days:" -echo -e "\t$ snap set $SNAP_NAME notify-due-days-before-and-after='0'" -echo -e "\n" -echo -e "\t-To set back to default 2:" echo -e "\t$ snap set $SNAP_NAME notify-due-days-before-and-after=''" echo -e "\n" echo -e "Notify due at hour of day. Default every morning at 8am. Can be 0-23." diff --git a/start-wekan.bat b/start-wekan.bat index bc0f4130..63eeebe3 100755 --- a/start-wekan.bat +++ b/start-wekan.bat @@ -64,8 +64,8 @@ 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 2 days before and after. 0 = due notifications disabled. Default: 2 -REM SET NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2 +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. REM SET NOTIFY_DUE_AT_HOUR_OF_DAY=8 diff --git a/start-wekan.sh b/start-wekan.sh index 1c89ad88..35f663db 100755 --- a/start-wekan.sh +++ b/start-wekan.sh @@ -71,8 +71,9 @@ # dueat startat endat receivedat, also notification to # the watchers and if any card is due, about due or past due. # - # Notify due days, default 2 days before and after. 0 = due notifications disabled. Default: 2 - #export NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2 + # 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 # # Notify due at hour of day. Default every morning at 8am. Can be 0-23. # If env variable has parsing error, use default. Notification sent to watchers. -- cgit v1.2.3-1-g7c22