mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Added environment variable RESULTS_PER_PAGE
to all Wekan platforms.
Thanks to xet7 !
This commit is contained in:
parent
4ea4913d72
commit
ba05f383ca
10 changed files with 25 additions and 2 deletions
|
@ -19,6 +19,7 @@ ENV \
|
||||||
ARCHITECTURE=linux-x64 \
|
ARCHITECTURE=linux-x64 \
|
||||||
SRC_PATH=./ \
|
SRC_PATH=./ \
|
||||||
WITH_API=true \
|
WITH_API=true \
|
||||||
|
RESULTS_PER_PAGE="" \
|
||||||
ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE=3 \
|
ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE=3 \
|
||||||
ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD=60 \
|
ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD=60 \
|
||||||
ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW=15 \
|
ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW=15 \
|
||||||
|
|
|
@ -21,6 +21,7 @@ ENV BUILD_DEPS="apt-utils libarchive-tools gnupg gosu wget curl bzip2 g++ build-
|
||||||
ARCHITECTURE=linux-x64 \
|
ARCHITECTURE=linux-x64 \
|
||||||
SRC_PATH=./ \
|
SRC_PATH=./ \
|
||||||
WITH_API=true \
|
WITH_API=true \
|
||||||
|
RESULTS_PER_PAGE="" \
|
||||||
ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE=3 \
|
ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE=3 \
|
||||||
ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD=60 \
|
ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD=60 \
|
||||||
ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW=15 \
|
ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW=15 \
|
||||||
|
|
|
@ -209,6 +209,9 @@ services:
|
||||||
# There is Feature Request: Logging date and time of all activity with summary reports,
|
# There is Feature Request: Logging date and time of all activity with summary reports,
|
||||||
# and requesting reason for changing card to other column https://github.com/wekan/wekan/issues/1598
|
# and requesting reason for changing card to other column https://github.com/wekan/wekan/issues/1598
|
||||||
#---------------------------------------------------------------
|
#---------------------------------------------------------------
|
||||||
|
# ==== NUMBER OF SEARCH RESULTS PER PAGE BY DEFAULT ====
|
||||||
|
#- RESULTS_PER_PAGE=20
|
||||||
|
#---------------------------------------------------------------
|
||||||
# ==== WEKAN API AND EXPORT BOARD ====
|
# ==== WEKAN API AND EXPORT BOARD ====
|
||||||
# Wekan Export Board works when WITH_API=true.
|
# Wekan Export Board works when WITH_API=true.
|
||||||
# https://github.com/wekan/wekan/wiki/REST-API
|
# https://github.com/wekan/wekan/wiki/REST-API
|
||||||
|
|
|
@ -22,6 +22,9 @@
|
||||||
# This is local port where Wekan Node.js runs, same as below on Caddyfile settings.
|
# This is local port where Wekan Node.js runs, same as below on Caddyfile settings.
|
||||||
export PORT=2000
|
export PORT=2000
|
||||||
#---------------------------------------------
|
#---------------------------------------------
|
||||||
|
# ==== NUMBER OF SEARCH RESULTS PER PAGE BY DEFAULT ====
|
||||||
|
#export RESULTS_PER_PAGE=20
|
||||||
|
#---------------------------------------------
|
||||||
# Wekan Export Board works when WITH_API=true.
|
# Wekan Export Board works when WITH_API=true.
|
||||||
# If you disable Wekan API with false, Export Board does not work.
|
# If you disable Wekan API with false, Export Board does not work.
|
||||||
export WITH_API='true'
|
export WITH_API='true'
|
||||||
|
|
|
@ -237,6 +237,7 @@ const myCommand :Spk.Manifest.Command = (
|
||||||
environ = [
|
environ = [
|
||||||
# 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 = "RESULTS_PER_PAGE", value = ""),
|
||||||
(key = "WITH_API", value = "true"),
|
(key = "WITH_API", value = "true"),
|
||||||
(key = "RICHER_CARD_COMMENT_EDITOR", value="false"),
|
(key = "RICHER_CARD_COMMENT_EDITOR", value="false"),
|
||||||
(key = "CARD_OPENED_WEBHOOK_ENABLED", value="false"),
|
(key = "CARD_OPENED_WEBHOOK_ENABLED", value="false"),
|
||||||
|
|
|
@ -544,6 +544,6 @@ DESCRIPTION_SAML_ATTRIBUTES="SAML Attributes"
|
||||||
DEFAULT_SAML_ATTRIBUTES=""
|
DEFAULT_SAML_ATTRIBUTES=""
|
||||||
KEY_SAML_ATTRIBUTES="saml-attributes"
|
KEY_SAML_ATTRIBUTES="saml-attributes"
|
||||||
|
|
||||||
DESCRIPTION_RESULTS_PER_PAGE="Number of results to show per page by default"
|
DESCRIPTION_RESULTS_PER_PAGE="Number of search results to show per page by default"
|
||||||
DEFAULT_RESULTS_PER_PAGE=""
|
DEFAULT_RESULTS_PER_PAGE=""
|
||||||
KEY_RESULTS_PER_PAGE="results-per-page"
|
KEY_RESULTS_PER_PAGE="results-per-page"
|
||||||
|
|
|
@ -49,6 +49,11 @@ echo -e "\t$ snap set $SNAP_NAME with-api='true'"
|
||||||
echo -e "\t-Disable the API:"
|
echo -e "\t-Disable the API:"
|
||||||
echo -e "\t$ snap unset $SNAP_NAME with-api"
|
echo -e "\t$ snap unset $SNAP_NAME with-api"
|
||||||
echo -e "\n"
|
echo -e "\n"
|
||||||
|
echo -e "Number of search results to show per page by default:"
|
||||||
|
echo -e "\t$ snap set $SNAP_NAME results-per-page='20'"
|
||||||
|
echo -e "\t-Restore default:"
|
||||||
|
echo -e "\t$ snap unset $SNAP_NAME results-per-page"
|
||||||
|
echo -e "\n"
|
||||||
echo -e "Accounts lockout known users failures before, greater than 0. Default: 3"
|
echo -e "Accounts lockout known users failures before, greater than 0. Default: 3"
|
||||||
echo -e "\t$ snap set $SNAP_NAME accounts-lockout-known-users-failures-before='3'"
|
echo -e "\t$ snap set $SNAP_NAME accounts-lockout-known-users-failures-before='3'"
|
||||||
echo -e "\t-Restore default:"
|
echo -e "\t-Restore default:"
|
||||||
|
|
|
@ -11,10 +11,13 @@ SET ROOT_URL=http://localhost
|
||||||
SET PORT=80
|
SET PORT=80
|
||||||
SET MONGO_URL=mongodb://127.0.0.1:27017/wekan
|
SET MONGO_URL=mongodb://127.0.0.1:27017/wekan
|
||||||
|
|
||||||
REM https://github.com/wekan/wekan/wiki/Troubleshooting-Mail
|
REM # https://github.com/wekan/wekan/wiki/Troubleshooting-Mail
|
||||||
REM SET MAIL_URL=smtps://username:password@email-smtp.eu-west-1.amazonaws.com:587/
|
REM SET MAIL_URL=smtps://username:password@email-smtp.eu-west-1.amazonaws.com:587/
|
||||||
REM SET MAIL_FROM="Wekan Boards <info@example.com>"
|
REM SET MAIL_FROM="Wekan Boards <info@example.com>"
|
||||||
|
|
||||||
|
REM # ==== NUMBER OF SEARCH RESULTS PER PAGE BY DEFAULT ====
|
||||||
|
REM SET RESULTS_PER_PAGE=20
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,9 @@
|
||||||
# This is local port where Wekan Node.js runs, same as below on Caddyfile settings.
|
# This is local port where Wekan Node.js runs, same as below on Caddyfile settings.
|
||||||
export PORT=2000
|
export PORT=2000
|
||||||
#---------------------------------------------
|
#---------------------------------------------
|
||||||
|
# ==== NUMBER OF SEARCH RESULTS PER PAGE BY DEFAULT ====
|
||||||
|
#export RESULTS_PER_PAGE=20
|
||||||
|
#---------------------------------------------
|
||||||
# Wekan Export Board works when WITH_API=true.
|
# Wekan Export Board works when WITH_API=true.
|
||||||
# If you disable Wekan API with false, Export Board does not work.
|
# If you disable Wekan API with false, Export Board does not work.
|
||||||
export WITH_API='true'
|
export WITH_API='true'
|
||||||
|
|
|
@ -210,6 +210,9 @@ services:
|
||||||
# There is Feature Request: Logging date and time of all activity with summary reports,
|
# There is Feature Request: Logging date and time of all activity with summary reports,
|
||||||
# and requesting reason for changing card to other column https://github.com/wekan/wekan/issues/1598
|
# and requesting reason for changing card to other column https://github.com/wekan/wekan/issues/1598
|
||||||
#---------------------------------------------------------------
|
#---------------------------------------------------------------
|
||||||
|
# ==== NUMBER OF SEARCH RESULTS PER PAGE BY DEFAULT ====
|
||||||
|
#- RESULTS_PER_PAGE=20
|
||||||
|
#---------------------------------------------------------------
|
||||||
# ==== WEKAN API AND EXPORT BOARD ====
|
# ==== WEKAN API AND EXPORT BOARD ====
|
||||||
# Wekan Export Board works when WITH_API=true.
|
# Wekan Export Board works when WITH_API=true.
|
||||||
# https://github.com/wekan/wekan/wiki/REST-API
|
# https://github.com/wekan/wekan/wiki/REST-API
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue