summaryrefslogtreecommitdiffstats
path: root/releases
diff options
context:
space:
mode:
author蔡仲明 (Romulus Urakagi Tsai) <urakagi@gmail.com>2019-11-21 11:25:56 +0800
committerGitHub <noreply@github.com>2019-11-21 11:25:56 +0800
commit3e0bedd8c7a6dec97352212adb1cbde1ade44190 (patch)
tree651ff30d25ddb0416444370368d699e597c142d7 /releases
parent9bbeb73db1cd0ce1caaaca8dfb14ea92131bbf9d (diff)
parent4f5de87cc4c2281bd576548693de7c94e6a988c6 (diff)
downloadwekan-3e0bedd8c7a6dec97352212adb1cbde1ade44190.tar.gz
wekan-3e0bedd8c7a6dec97352212adb1cbde1ade44190.tar.bz2
wekan-3e0bedd8c7a6dec97352212adb1cbde1ade44190.zip
Merge pull request #1 from wekan/master
Update master
Diffstat (limited to 'releases')
-rwxr-xr-xreleases/rebuild-docs.sh2
-rwxr-xr-xreleases/rebuild-wekan.sh2
-rwxr-xr-xreleases/translations/pull-translations.sh3
-rwxr-xr-xreleases/virtualbox/rebuild-wekan.sh111
-rwxr-xr-xreleases/virtualbox/start-wekan.sh11
5 files changed, 11 insertions, 118 deletions
diff --git a/releases/rebuild-docs.sh b/releases/rebuild-docs.sh
index f0292677..2ac46eb3 100755
--- a/releases/rebuild-docs.sh
+++ b/releases/rebuild-docs.sh
@@ -1,6 +1,6 @@
# Generate docs.
-mkdir -p public/api
+#mkdir -p public/api
python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml
api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml
diff --git a/releases/rebuild-wekan.sh b/releases/rebuild-wekan.sh
index 2f3e3eeb..e70ff656 100755
--- a/releases/rebuild-wekan.sh
+++ b/releases/rebuild-wekan.sh
@@ -25,7 +25,7 @@ do
sudo apt install -y build-essential git curl wget
# sudo apt -y install nodejs npm
# sudo npm -g install n
-# sudo n 8.11.3
+# sudo n 8.16.2
fi
# if [ "$(grep -Ei 'debian' /etc/*release)" ]; then
diff --git a/releases/translations/pull-translations.sh b/releases/translations/pull-translations.sh
index fc8186b7..b97f5a8d 100755
--- a/releases/translations/pull-translations.sh
+++ b/releases/translations/pull-translations.sh
@@ -36,6 +36,9 @@ tx pull -f -l en_GB
echo "Greek:"
tx pull -f -l el
+echo "Slovenian:"
+tx pull -f -l sl_SI
+
echo "Spanish:"
tx pull -f -l es
diff --git a/releases/virtualbox/rebuild-wekan.sh b/releases/virtualbox/rebuild-wekan.sh
deleted file mode 100755
index c1adaf78..00000000
--- a/releases/virtualbox/rebuild-wekan.sh
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/bash
-
-echo "Note: If you use other locale than en_US.UTF-8 , you need to additionally install en_US.UTF-8"
-echo " with 'sudo dpkg-reconfigure locales' , so that MongoDB works correctly."
-echo " You can still use any other locale as your main locale."
-
-function pause(){
- read -p "$*"
-}
-
-echo
-PS3='Please enter your choice: '
-options=("Install Wekan dependencies" "Build Wekan" "Quit")
-select opt in "${options[@]}"
-do
- case $opt in
- "Install Wekan dependencies")
-
- if [[ "$OSTYPE" == "linux-gnu" ]]; then
- echo "Linux";
- echo "Ubuntu, Mint, Debian, or Debian on Windows Subsystem for Linux";
- sudo apt-get install -y build-essential git curl wget;
- curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -;
- elif [[ "$OSTYPE" == "darwin"* ]]; then
- echo "macOS";
- pause '1) Install XCode 2) Install Node 8.x from https://nodejs.org/en/ 3) Press [Enter] key to continue.'
- elif [[ "$OSTYPE" == "cygwin" ]]; then
- # POSIX compatibility layer and Linux environment emulation for Windows
- echo "TODO: Add Cygwin";
- exit;
- elif [[ "$OSTYPE" == "msys" ]]; then
- # Lightweight shell and GNU utilities compiled for Windows (part of MinGW)
- echo "TODO: Add msys on Windows";
- exit;
- elif [[ "$OSTYPE" == "win32" ]]; then
- # I'm not sure this can happen.
- echo "TODO: Add Windows";
- exit;
- elif [[ "$OSTYPE" == "freebsd"* ]]; then
- echo "TODO: Add FreeBSD";
- exit;
- else
- echo "Unknown"
- echo ${OSTYPE}
- exit;
- fi
-
- ## Latest npm with Meteor 1.6
- sudo npm -g install npm
- sudo npm -g install node-gyp
- # Latest fibers for Meteor 1.6
- sudo npm -g install fibers@2.0.0
- # Install Meteor, if it's not yet installed
- curl https://install.meteor.com | bash
- mkdir ~/repos
- cd ~/repos
- git clone https://github.com/wekan/wekan.git
- cd wekan
- git checkout devel
- break
- ;;
- "Build Wekan")
- echo "Building Wekan."
- cd ~/repos/wekan
- ## REPOS BELOW ARE INCLUDED TO WEKAN
- #mkdir -p ~/repos/wekan/packages
- #cd ~/repos/wekan/packages
- #git clone --depth 1 -b master https://github.com/wekan/flow-router.git kadira-flow-router
- #git clone --depth 1 -b master https://github.com/meteor-useraccounts/core.git meteor-useraccounts-core
- #git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-cas.git
- #git clone --depth 1 -b master https://github.com/wekan/wekan-ldap.git
- #git clone --depth 1 -b master https://github.com/wekan/wekan-scrollbar.git
- #git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-oidc.git
- #git clone --depth 1 -b master --recurse-submodules https://github.com/wekan/markdown.git
- #mv meteor-accounts-oidc/packages/switch_accounts-oidc wekan_accounts-oidc
- #mv meteor-accounts-oidc/packages/switch_oidc wekan_oidc
- #rm -rf meteor-accounts-oidc
- if [[ "$OSTYPE" == "darwin"* ]]; then
- echo "sed at macOS";
- sed -i '' 's/api\.versionsFrom/\/\/api.versionsFrom/' ~/repos/wekan/packages/meteor-useraccounts-core/package.js
- else
- echo "sed at ${OSTYPE}"
- sed -i 's/api\.versionsFrom/\/\/api.versionsFrom/' ~/repos/wekan/packages/meteor-useraccounts-core/package.js
- fi
-
- cd ~/repos/wekan
- rm -rf node_modules
- meteor npm install
- rm -rf .build
- meteor build .build --directory
- cp -f fix-download-unicode/cfs_access-point.txt .build/bundle/programs/server/packages/cfs_access-point.js
- #Removed binary version of bcrypt because of security vulnerability that is not fixed yet.
- #https://github.com/wekan/wekan/commit/4b2010213907c61b0e0482ab55abb06f6a668eac
- #https://github.com/wekan/wekan/commit/7eeabf14be3c63fae2226e561ef8a0c1390c8d3c
- #cd ~/repos/wekan/.build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt
- #rm -rf node_modules/bcrypt
- #meteor npm install bcrypt
- cd ~/repos/wekan/.build/bundle/programs/server
- rm -rf node_modules
- meteor npm install
- #meteor npm install bcrypt
- cd ~/repos
- echo Done.
- break
- ;;
- "Quit")
- break
- ;;
- *) echo invalid option;;
- esac
-done
diff --git a/releases/virtualbox/start-wekan.sh b/releases/virtualbox/start-wekan.sh
index 733b6b67..8d1f48e6 100755
--- a/releases/virtualbox/start-wekan.sh
+++ b/releases/virtualbox/start-wekan.sh
@@ -50,19 +50,19 @@
#---------------------------------------------------------------
# ==== BIGEVENTS DUE ETC NOTIFICATIONS =====
# https://github.com/wekan/wekan/pull/2541
- # Introduced a system env var BIGEVENTS_PATTERN default as "due",
+ # Introduced a system env var BIGEVENTS_PATTERN default as "NONE",
# so any activityType matches the pattern, system will send out
# notifications to all board members no matter they are watching
# or tracking the board or not. Owner of the wekan server can
# disable the feature by setting this variable to "NONE" or
# change the pattern to any valid regex. i.e. '|' delimited
# activityType names.
- # a) Default
+ # a) Example
#export BIGEVENTS_PATTERN=due
# b) All
#export BIGEVENTS_PATTERN=received|start|due|end
# c) Disabled
- #export BIGEVENTS_PATTERN=NONE
+ export BIGEVENTS_PATTERN=NONE
#---------------------------------------------------------------
# ==== EMAIL DUE DATE NOTIFICATION =====
# https://github.com/wekan/wekan/pull/2536
@@ -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.