From 58f6acbc48350a1e0e4fbe2aed9015e69ace0a57 Mon Sep 17 00:00:00 2001 From: e-gaulue Date: Wed, 15 May 2024 22:17:54 +0200 Subject: [PATCH 01/69] Remove notification while copying board 1. It takes too long while server stops after 2 minutes (#5371). 2. It is useless, because when you copy a board, most of the time your users don't want to be notified of every copied cards. --- models/boards.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/models/boards.js b/models/boards.js index 9eb1024b0..721e24c98 100644 --- a/models/boards.js +++ b/models/boards.js @@ -640,11 +640,19 @@ Boards.attachSchema( Boards.helpers({ copy() { const oldId = this._id; + const oldWatchers = this.watchers ? this.watchers.slice() : []; delete this._id; delete this.slug; this.title = this.copyTitle(); const _id = Boards.insert(this); + // Temporary remove watchers to disable notifications + Boards.update(_id, { + $set: { + watchers: [] + }, + }); + // Copy all swimlanes in board ReactiveCache.getSwimlanes({ boardId: oldId, @@ -695,6 +703,12 @@ Boards.helpers({ rule.triggerId = triggersMap[rule.triggerId]; Rules.insert(rule); }); + + // Re-set Watchers to reenable notification + Boards.update(_id, { + $set: { watchers: oldWatchers } + }); + return _id; }, /** From 0d5380466acde6bb74b9878d144d9693cef6de57 Mon Sep 17 00:00:00 2001 From: Dmytro Novash Date: Fri, 24 May 2024 17:15:52 +0300 Subject: [PATCH 02/69] fix cards load if cards > 20 on swimlane --- client/components/swimlanes/swimlanes.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/components/swimlanes/swimlanes.css b/client/components/swimlanes/swimlanes.css index 74c07d7a2..9fb0ad275 100644 --- a/client/components/swimlanes/swimlanes.css +++ b/client/components/swimlanes/swimlanes.css @@ -11,7 +11,8 @@ background: #dedede; display: flex; flex-direction: row; - overflow: 0; + overflow: auto; + max-height: 100%; } .swimlane-header-menu .swimlane-header-collapse-down { font-size: 50%; From c3824dcbd203005403d53318d0cbded0e5817c9b Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Mon, 4 Apr 2022 08:03:58 +0200 Subject: [PATCH 03/69] .devcontainer, added missing environments --- .devcontainer/Dockerfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 0063e5ec3..abfc32a48 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -5,7 +5,7 @@ LABEL maintainer="sgr" # - gyp does not yet work with Ubuntu 22.04 ubuntu:rolling, # so changing to 21.10. https://github.com/wekan/wekan/issues/4488 -ENV BUILD_DEPS="gnupg gosu libarchive-tools wget curl bzip2 g++ build-essential python3 git ca-certificates iproute2" +ENV BUILD_DEPS="apt-utils apt-transport-https gnupg gosu libarchive-tools wget curl bzip2 g++ build-essential python3 git ca-certificates iproute2" ENV DEBIAN_FRONTEND=noninteractive ENV \ @@ -30,7 +30,6 @@ ENV \ ACCOUNTS_COMMON_LOGIN_EXPIRATION_IN_DAYS=90 \ RICHER_CARD_COMMENT_EDITOR=false \ CARD_OPENED_WEBHOOK_ENABLED=false \ - ATTACHMENTS_STORE_PATH="" \ ATTACHMENTS_UPLOAD_EXTERNAL_PROGRAM="" \ ATTACHMENTS_UPLOAD_MIME_TYPES="" \ ATTACHMENTS_UPLOAD_MAX_SIZE=0 \ @@ -71,6 +70,9 @@ ENV \ LDAP_ENABLE=false \ LDAP_PORT=389 \ LDAP_HOST="" \ + LDAP_AD_SIMPLE_AUTH="" \ + LDAP_USER_AUTHENTICATION=false \ + LDAP_USER_AUTHENTICATION_FIELD=uid \ LDAP_BASEDN="" \ LDAP_LOGIN_FALLBACK=false \ LDAP_RECONNECT=true \ @@ -88,8 +90,6 @@ ENV \ LDAP_ENCRYPTION=false \ LDAP_CA_CERT="" \ LDAP_REJECT_UNAUTHORIZED=false \ - LDAP_USER_AUTHENTICATION=false \ - LDAP_USER_AUTHENTICATION_FIELD=uid \ LDAP_USER_SEARCH_FILTER="" \ LDAP_USER_SEARCH_SCOPE="" \ LDAP_USER_SEARCH_FIELD="" \ @@ -144,7 +144,8 @@ ENV \ SAML_IDENTIFIER_FORMAT="" \ SAML_LOCAL_PROFILE_MATCH_ATTRIBUTE="" \ SAML_ATTRIBUTES="" \ - DEFAULT_WAIT_SPINNER="" \ + ORACLE_OIM_ENABLED=false \ + WAIT_SPINNER="" \ S3="" # \ # NODE_OPTIONS="--max_old_space_size=4096" @@ -161,6 +162,7 @@ ENV \ RUN set -o xtrace \ && useradd --user-group -m --system --home-dir /home/wekan wekan \ && apt-get update \ + && apt-get install --assume-yes --no-install-recommends ${BUILD_DEPS} && \ && apt-get install --assume-yes --no-install-recommends apt-utils apt-transport-https ca-certificates 2>&1 \ && apt-get install --assume-yes --no-install-recommends ${BUILD_DEPS} From 58782c9a895e002d813e7abe98d17ef83ae13f80 Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Wed, 6 Apr 2022 13:15:49 +0200 Subject: [PATCH 04/69] .devcontainer/Dockerfile contained duplicated logic --- .devcontainer/Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index abfc32a48..619fe7e3a 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -162,8 +162,6 @@ ENV \ RUN set -o xtrace \ && useradd --user-group -m --system --home-dir /home/wekan wekan \ && apt-get update \ - && apt-get install --assume-yes --no-install-recommends ${BUILD_DEPS} && \ - && apt-get install --assume-yes --no-install-recommends apt-utils apt-transport-https ca-certificates 2>&1 \ && apt-get install --assume-yes --no-install-recommends ${BUILD_DEPS} # OLD: From 89e5b3a9794091f6d50c69095a6bed5802d3e172 Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Mon, 11 Apr 2022 13:20:32 +0200 Subject: [PATCH 05/69] .devcontainer/Dockerfile, 6.02 GB image size --- .devcontainer/Dockerfile | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 619fe7e3a..62a28cdb6 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -236,28 +236,23 @@ USER root RUN set -o xtrace \ && chown -R wekan:wekan /home/wekan/app /home/wekan/.meteor -USER wekan - RUN \ set -o xtrace && \ + cd /home/wekan/.meteor && \ + gosu wekan:wekan /home/wekan/.meteor/meteor -- help && \ + # Build app cd /home/wekan/app && \ - /home/wekan/.meteor/meteor add standard-minifier-js && \ - /home/wekan/.meteor/meteor npm install && \ - /home/wekan/.meteor/meteor build --directory /home/wekan/app_build - -RUN \ - set -o xtrace && \ + gosu wekan:wekan /home/wekan/.meteor/meteor add standard-minifier-js && \ + gosu wekan:wekan /home/wekan/.meteor/meteor npm install && \ + gosu wekan:wekan /home/wekan/.meteor/meteor build --directory /home/wekan/app_build && \ cd /home/wekan/app_build/bundle/programs/server/ && \ chmod u+w package.json npm-shrinkwrap.json && \ - npm install && \ + gosu wekan:wekan npm install && \ cd node_modules/fibers && \ - node build.js + gosu wekan:wekan node build.js && \ -USER root -# Cleanup -RUN \ - set -o xtrace && \ + # Cleanup apt-get clean -y && \ apt-get autoremove -y && \ rm -Rf /tmp/* && \ From 7c36279308debba9c9373a38d0dc78fe53743def Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Mon, 25 Apr 2022 14:37:38 +0200 Subject: [PATCH 06/69] .devcontainer/Dockerfile, 5.64 GB image size --- .devcontainer/Dockerfile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 62a28cdb6..eed91f5fc 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -201,8 +201,6 @@ USER root RUN echo "export PATH=$PATH" >> /etc/environment -USER wekan - # Copy source dir RUN set -o xtrace \ && mkdir -p /home/wekan/app/.meteor \ @@ -231,13 +229,8 @@ COPY \ packages \ /home/wekan/app/packages/ -USER root - -RUN set -o xtrace \ - && chown -R wekan:wekan /home/wekan/app /home/wekan/.meteor - -RUN \ - set -o xtrace && \ +RUN set -o xtrace && \ + chown -R wekan:wekan /home/wekan/app /home/wekan/.meteor && \ cd /home/wekan/.meteor && \ gosu wekan:wekan /home/wekan/.meteor/meteor -- help && \ From 9ca39696b3750678dc74efc3aaf1bd8712216ab3 Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Thu, 3 Aug 2023 09:10:17 +0200 Subject: [PATCH 07/69] .devcontainer/Dockerfile, 5.64 GB image size - first copy all files, then install to make it possible to install everything in one RUN section --- .devcontainer/Dockerfile | 75 +++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 40 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index eed91f5fc..b79ea6a6a 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -158,47 +158,8 @@ ENV \ # bash -c "ulimit -s 65500; exec node --stack-size=65500 main.js" #--------------------------------------------------------------------- -# Install OS -RUN set -o xtrace \ - && useradd --user-group -m --system --home-dir /home/wekan wekan \ - && apt-get update \ - && apt-get install --assume-yes --no-install-recommends ${BUILD_DEPS} - -# OLD: -# && curl -fsSLO --compressed "https://nodejs.org/dist/$NODE_VERSION/node-$NODE_VERSION-$ARCHITECTURE.tar.xz" \ -# && curl -fsSLO --compressed "https://nodejs.org/dist/$NODE_VERSION/SHASUMS256.txt.asc" \ - -# Install NodeJS -RUN set -o xtrace \ - && cd /tmp \ - && curl -fsSLO --compressed "https://github.com/wekan/node-v14-esm/releases/download/${NODE_VERSION}/node-${NODE_VERSION}-${ARCHITECTURE}.tar.xz" \ - && curl -fsSLO --compressed "https://github.com/wekan/node-v14-esm/releases/download/${NODE_VERSION}/SHASUMS256.txt" \ - && grep " node-$NODE_VERSION-$ARCHITECTURE.tar.xz\$" SHASUMS256.txt | sha256sum -c - \ - && tar -xJf "node-$NODE_VERSION-$ARCHITECTURE.tar.xz" -C /usr/local --strip-components=1 --no-same-owner \ - && rm "node-$NODE_VERSION-$ARCHITECTURE.tar.xz" SHASUMS256.txt \ - && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ - && mkdir -p /usr/local/lib/node_modules/fibers/.node-gyp /root/.node-gyp/${NODE_VERSION} /home/wekan/.config \ - && npm install -g npm@${NPM_VERSION} \ - && chown wekan:wekan --recursive /home/wekan/.config - -ENV DEBIAN_FRONTEND=dialog - -USER wekan - -# Install Meteor -RUN set -o xtrace \ - && cd /home/wekan \ - && curl https://install.meteor.com/?release=$METEOR_VERSION --output /home/wekan/install-meteor.sh \ - # Replace tar with bsdtar in the install script; https://github.com/jshimko/meteor-launchpad/issues/39 - && sed --in-place "s/tar -xzf.*/bsdtar -xf \"\$TARBALL_FILE\" -C \"\$INSTALL_TMPDIR\"/g" /home/wekan/install-meteor.sh \ - && sed --in-place 's/VERBOSITY="--silent"/VERBOSITY="--progress-bar"/' /home/wekan/install-meteor.sh \ - && printf "\n[-] Installing Meteor $METEOR_VERSION...\n\n" \ - && sh /home/wekan/install-meteor.sh - ENV PATH=$PATH:/home/wekan/.meteor/ -USER root - RUN echo "export PATH=$PATH" >> /etc/environment # Copy source dir @@ -229,7 +190,41 @@ COPY \ packages \ /home/wekan/app/packages/ -RUN set -o xtrace && \ +# Install OS +RUN set -o xtrace \ + && useradd --user-group --no-create-home --system --home-dir /home/wekan wekan \ + && apt-get update \ + && apt-get install --assume-yes --no-install-recommends ${BUILD_DEPS} + +# OLD: +# && curl -fsSLO --compressed "https://nodejs.org/dist/$NODE_VERSION/node-$NODE_VERSION-$ARCHITECTURE.tar.xz" \ +# && curl -fsSLO --compressed "https://nodejs.org/dist/$NODE_VERSION/SHASUMS256.txt.asc" \ + +# Install NodeJS +RUN set -o xtrace \ + && cd /tmp \ + && curl -fsSLO --compressed "https://github.com/wekan/node-v14-esm/releases/download/${NODE_VERSION}/node-${NODE_VERSION}-${ARCHITECTURE}.tar.xz" \ + && curl -fsSLO --compressed "https://github.com/wekan/node-v14-esm/releases/download/${NODE_VERSION}/SHASUMS256.txt" \ + && grep " node-$NODE_VERSION-$ARCHITECTURE.tar.xz\$" SHASUMS256.txt | sha256sum -c - \ + && tar -xJf "node-$NODE_VERSION-$ARCHITECTURE.tar.xz" -C /usr/local --strip-components=1 --no-same-owner \ + && rm "node-$NODE_VERSION-$ARCHITECTURE.tar.xz" SHASUMS256.txt \ + && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ + && mkdir -p /usr/local/lib/node_modules/fibers/.node-gyp /root/.node-gyp/${NODE_VERSION} /home/wekan/.config \ + && npm install -g npm@${NPM_VERSION} \ + && chown wekan:wekan --recursive /home/wekan/.config + +# Install Meteor +RUN set -o xtrace \ + && cd /home/wekan \ + && curl https://install.meteor.com/?release=$METEOR_VERSION --output /home/wekan/install-meteor.sh \ + # Replace tar with bsdtar in the install script; https://github.com/jshimko/meteor-launchpad/issues/39 + && sed --in-place "s/tar -xzf.*/bsdtar -xf \"\$TARBALL_FILE\" -C \"\$INSTALL_TMPDIR\"/g" /home/wekan/install-meteor.sh \ + && sed --in-place 's/VERBOSITY="--silent"/VERBOSITY="--progress-bar"/' /home/wekan/install-meteor.sh \ + && printf "\n[-] Installing Meteor $METEOR_VERSION...\n\n" \ + && chown wekan:wekan -R /home/wekan \ + && gosu wekan:wekan sh /home/wekan/install-meteor.sh + +RUN set -o xtrace && \ chown -R wekan:wekan /home/wekan/app /home/wekan/.meteor && \ cd /home/wekan/.meteor && \ gosu wekan:wekan /home/wekan/.meteor/meteor -- help && \ From 4ab72170e320de4c1172ae960a636cf0921becaf Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Mon, 25 Apr 2022 16:29:23 +0200 Subject: [PATCH 08/69] .devcontainer/Dockerfile, 4.16 GB image size --- .devcontainer/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index b79ea6a6a..8d31f2c22 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -222,9 +222,8 @@ RUN set -o xtrace \ && sed --in-place 's/VERBOSITY="--silent"/VERBOSITY="--progress-bar"/' /home/wekan/install-meteor.sh \ && printf "\n[-] Installing Meteor $METEOR_VERSION...\n\n" \ && chown wekan:wekan -R /home/wekan \ - && gosu wekan:wekan sh /home/wekan/install-meteor.sh + && gosu wekan:wekan sh /home/wekan/install-meteor.sh && \ -RUN set -o xtrace && \ chown -R wekan:wekan /home/wekan/app /home/wekan/.meteor && \ cd /home/wekan/.meteor && \ gosu wekan:wekan /home/wekan/.meteor/meteor -- help && \ From 669e31ea64e01d941a749b84d9e0ebb61d6bd7f0 Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Tue, 26 Apr 2022 09:58:57 +0200 Subject: [PATCH 09/69] .devcontainer/Dockerfile, 4.16 GB image size --- .devcontainer/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 8d31f2c22..e427b75b1 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -211,10 +211,9 @@ RUN set -o xtrace \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ && mkdir -p /usr/local/lib/node_modules/fibers/.node-gyp /root/.node-gyp/${NODE_VERSION} /home/wekan/.config \ && npm install -g npm@${NPM_VERSION} \ - && chown wekan:wekan --recursive /home/wekan/.config + && chown wekan:wekan --recursive /home/wekan/.config \ # Install Meteor -RUN set -o xtrace \ && cd /home/wekan \ && curl https://install.meteor.com/?release=$METEOR_VERSION --output /home/wekan/install-meteor.sh \ # Replace tar with bsdtar in the install script; https://github.com/jshimko/meteor-launchpad/issues/39 From 672c279b0a55672e6510df18d145d61f5abd4b0a Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Tue, 26 Apr 2022 10:13:37 +0200 Subject: [PATCH 10/69] .devcontainer/Dockerfile, 4.12 GB image size --- .devcontainer/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index e427b75b1..4347c9550 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -194,14 +194,13 @@ COPY \ RUN set -o xtrace \ && useradd --user-group --no-create-home --system --home-dir /home/wekan wekan \ && apt-get update \ - && apt-get install --assume-yes --no-install-recommends ${BUILD_DEPS} + && apt-get install --assume-yes --no-install-recommends ${BUILD_DEPS} \ # OLD: # && curl -fsSLO --compressed "https://nodejs.org/dist/$NODE_VERSION/node-$NODE_VERSION-$ARCHITECTURE.tar.xz" \ # && curl -fsSLO --compressed "https://nodejs.org/dist/$NODE_VERSION/SHASUMS256.txt.asc" \ # Install NodeJS -RUN set -o xtrace \ && cd /tmp \ && curl -fsSLO --compressed "https://github.com/wekan/node-v14-esm/releases/download/${NODE_VERSION}/node-${NODE_VERSION}-${ARCHITECTURE}.tar.xz" \ && curl -fsSLO --compressed "https://github.com/wekan/node-v14-esm/releases/download/${NODE_VERSION}/SHASUMS256.txt" \ From 19d204c7a8b3e4f8b5140554281c285096befd02 Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Tue, 26 Apr 2022 11:47:16 +0200 Subject: [PATCH 11/69] .devcontainer/Dockerfile, 3.49 GB image size --- .devcontainer/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 4347c9550..234ca5be0 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -238,6 +238,7 @@ RUN set -o xtrace \ gosu wekan:wekan node build.js && \ # Cleanup + apt-get remove --purge --assume-yes ${BUILD_DEPS} && \ apt-get clean -y && \ apt-get autoremove -y && \ rm -Rf /tmp/* && \ From b5b323000a6b7e427a6cadf023096f6de80ac795 Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Tue, 26 Apr 2022 13:40:16 +0200 Subject: [PATCH 12/69] .devcontainer/Dockerfile, reduce build a bit + image size to 3.42 GB - on a test system it reduced from 11m36s to 9m34s --- .devcontainer/Dockerfile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 234ca5be0..3c43ef928 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -230,12 +230,6 @@ RUN set -o xtrace \ cd /home/wekan/app && \ gosu wekan:wekan /home/wekan/.meteor/meteor add standard-minifier-js && \ gosu wekan:wekan /home/wekan/.meteor/meteor npm install && \ - gosu wekan:wekan /home/wekan/.meteor/meteor build --directory /home/wekan/app_build && \ - cd /home/wekan/app_build/bundle/programs/server/ && \ - chmod u+w package.json npm-shrinkwrap.json && \ - gosu wekan:wekan npm install && \ - cd node_modules/fibers && \ - gosu wekan:wekan node build.js && \ # Cleanup apt-get remove --purge --assume-yes ${BUILD_DEPS} && \ From 7dc20616a77af235c1c7af45985892ac1cfa1a46 Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Wed, 27 Apr 2022 15:14:52 +0200 Subject: [PATCH 13/69] .devcontainer/Dockerfile, don't remove curl/python3 because it's needed for "meteor npm" --- .devcontainer/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 3c43ef928..4f9d7ae9c 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -5,7 +5,7 @@ LABEL maintainer="sgr" # - gyp does not yet work with Ubuntu 22.04 ubuntu:rolling, # so changing to 21.10. https://github.com/wekan/wekan/issues/4488 -ENV BUILD_DEPS="apt-utils apt-transport-https gnupg gosu libarchive-tools wget curl bzip2 g++ build-essential python3 git ca-certificates iproute2" +ENV BUILD_DEPS="apt-utils apt-transport-https gnupg gosu libarchive-tools wget bzip2 g++ build-essential git ca-certificates iproute2" ENV DEBIAN_FRONTEND=noninteractive ENV \ @@ -194,7 +194,7 @@ COPY \ RUN set -o xtrace \ && useradd --user-group --no-create-home --system --home-dir /home/wekan wekan \ && apt-get update \ - && apt-get install --assume-yes --no-install-recommends ${BUILD_DEPS} \ + && apt-get install --assume-yes --no-install-recommends ${BUILD_DEPS} curl python3 \ # OLD: # && curl -fsSLO --compressed "https://nodejs.org/dist/$NODE_VERSION/node-$NODE_VERSION-$ARCHITECTURE.tar.xz" \ From e7e1f1b6679772ea4e359993f07a665190edee95 Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Thu, 16 Jun 2022 10:07:59 +0200 Subject: [PATCH 14/69] .devcontainer/Dockerfile, don't remove ca-certificates because it's needed for "meteor npm install" --- .devcontainer/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 4f9d7ae9c..ab35e903c 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -5,7 +5,7 @@ LABEL maintainer="sgr" # - gyp does not yet work with Ubuntu 22.04 ubuntu:rolling, # so changing to 21.10. https://github.com/wekan/wekan/issues/4488 -ENV BUILD_DEPS="apt-utils apt-transport-https gnupg gosu libarchive-tools wget bzip2 g++ build-essential git ca-certificates iproute2" +ENV BUILD_DEPS="apt-utils apt-transport-https gnupg gosu libarchive-tools wget bzip2 g++ build-essential git iproute2" ENV DEBIAN_FRONTEND=noninteractive ENV \ @@ -194,7 +194,7 @@ COPY \ RUN set -o xtrace \ && useradd --user-group --no-create-home --system --home-dir /home/wekan wekan \ && apt-get update \ - && apt-get install --assume-yes --no-install-recommends ${BUILD_DEPS} curl python3 \ + && apt-get install --assume-yes --no-install-recommends ${BUILD_DEPS} curl python3 ca-certificates \ # OLD: # && curl -fsSLO --compressed "https://nodejs.org/dist/$NODE_VERSION/node-$NODE_VERSION-$ARCHITECTURE.tar.xz" \ From 6f2c46a747580c4947ac4af1c6d55894c7d1c0e3 Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Sat, 16 Jul 2022 09:41:43 +0200 Subject: [PATCH 15/69] .devcontainer/Dockerfile, make is needed by "meteor npm update" --- .devcontainer/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index ab35e903c..8c9135b0e 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -5,7 +5,7 @@ LABEL maintainer="sgr" # - gyp does not yet work with Ubuntu 22.04 ubuntu:rolling, # so changing to 21.10. https://github.com/wekan/wekan/issues/4488 -ENV BUILD_DEPS="apt-utils apt-transport-https gnupg gosu libarchive-tools wget bzip2 g++ build-essential git iproute2" +ENV BUILD_DEPS="apt-utils apt-transport-https gnupg gosu libarchive-tools wget bzip2 g++ git iproute2" ENV DEBIAN_FRONTEND=noninteractive ENV \ @@ -194,7 +194,7 @@ COPY \ RUN set -o xtrace \ && useradd --user-group --no-create-home --system --home-dir /home/wekan wekan \ && apt-get update \ - && apt-get install --assume-yes --no-install-recommends ${BUILD_DEPS} curl python3 ca-certificates \ + && apt-get install --assume-yes --no-install-recommends ${BUILD_DEPS} curl python3 ca-certificates build-essential \ # OLD: # && curl -fsSLO --compressed "https://nodejs.org/dist/$NODE_VERSION/node-$NODE_VERSION-$ARCHITECTURE.tar.xz" \ @@ -233,6 +233,7 @@ RUN set -o xtrace \ # Cleanup apt-get remove --purge --assume-yes ${BUILD_DEPS} && \ + apt-get install --assume-yes --no-install-recommends build-essential && \ apt-get clean -y && \ apt-get autoremove -y && \ rm -Rf /tmp/* && \ From 68104fe5787a37a89fb2b5b75807c482de07b9a5 Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Fri, 5 Aug 2022 20:39:34 +0200 Subject: [PATCH 16/69] .devcontainer/Dockerfile, use Debian 11 because Ubuntu 21.10 can not build --- .devcontainer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 8c9135b0e..34b72fd7c 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:21.10 +FROM debian:11 LABEL maintainer="sgr" # 2022-04-25: From 2b4f4c8d4dd37d877d533332395b85cf60d9f430 Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Sat, 25 May 2024 19:34:13 +0200 Subject: [PATCH 17/69] .devcontainer/Dockerfile, updated RUN statements to heredoc style --- .devcontainer/Dockerfile | 94 +++++++++++++++++++++------------------- 1 file changed, 49 insertions(+), 45 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 34b72fd7c..d6dcb92de 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -160,12 +160,16 @@ ENV \ ENV PATH=$PATH:/home/wekan/.meteor/ -RUN echo "export PATH=$PATH" >> /etc/environment +RUN <> /etc/environment +EOR # Copy source dir -RUN set -o xtrace \ - && mkdir -p /home/wekan/app/.meteor \ - && mkdir -p /home/wekan/app/packages +RUN < Date: Sat, 25 May 2024 23:59:41 +0300 Subject: [PATCH 18/69] Updated ChangeLog. --- CHANGELOG.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09cf3440c..e18f35b77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,26 @@ Fixing other platforms In Progress. [How to upgrade WeKan](https://github.com/wekan/wekan/issues/4585) +# Upcoming WeKan ® release + +This release adds the following updates: + +- [Update ukrainian translation](https://github.com/wekan/wekan/pull/5405). + Thanks to novashdima. + +and fixes the following bugs:: + +- [Optimize SVGs and PNGs to save 550KB](https://github.com/wekan/wekan/pull/5403). + Thanks to C0rn3j. +- [Swap deprecated egrep for grep -E](https://github.com/wekan/wekan/pull/5404). + Thanks to C0rn3j. +- [Remove notification while copying board](https://github.com/wekan/wekan/pull/5412). + Thanks to e-gaulue. +- [Fixed loading of cards if there are more than 20 of them on one swimlane](https://github.com/wekan/wekan/pull/5417). + Thanks to novashdima. + +Thanks to above GitHub users for their contributions and translators for their translations. + # v7.45 2024-05-06 WeKan ® release This release adds the following updates: From c8b1ef8ea6c564195d0eec60b1fbcae002d78de7 Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Sun, 26 May 2024 14:00:23 +0200 Subject: [PATCH 19/69] Dockerfile for production and development same build (part 1) --- .devcontainer/Dockerfile | 23 ++++++++++++++++------- Dockerfile | 13 ++++--------- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index d6dcb92de..a3a4185bf 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -6,6 +6,7 @@ LABEL maintainer="sgr" # so changing to 21.10. https://github.com/wekan/wekan/issues/4488 ENV BUILD_DEPS="apt-utils apt-transport-https gnupg gosu libarchive-tools wget bzip2 g++ git iproute2" +ENV DEV_DEPS="curl python3 ca-certificates build-essential" ENV DEBIAN_FRONTEND=noninteractive ENV \ @@ -166,7 +167,8 @@ EOR # Copy source dir RUN < Date: Sun, 26 May 2024 14:55:49 +0200 Subject: [PATCH 20/69] Dockerfile for production and development same build (part 2) --- .devcontainer/Dockerfile | 94 +++++++++++++++++++++++--------------- Dockerfile | 99 +++++++++++++++++++--------------------- 2 files changed, 104 insertions(+), 89 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index a3a4185bf..b86f6976c 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,21 +1,24 @@ FROM debian:11 -LABEL maintainer="sgr" +LABEL maintainer="wekan" +LABEL org.opencontainers.image.ref.name="ubuntu" +LABEL org.opencontainers.image.version="24.04" +LABEL org.opencontainers.image.source="https://github.com/wekan/wekan" # 2022-04-25: # - gyp does not yet work with Ubuntu 22.04 ubuntu:rolling, # so changing to 21.10. https://github.com/wekan/wekan/issues/4488 -ENV BUILD_DEPS="apt-utils apt-transport-https gnupg gosu libarchive-tools wget bzip2 g++ git iproute2" +ENV BUILD_DEPS="apt-utils gnupg gosu wget bzip2 g++ iproute2 apt-transport-https libarchive-tools git" ENV DEV_DEPS="curl python3 ca-certificates build-essential" -ENV DEBIAN_FRONTEND=noninteractive +ARG DEBIAN_FRONTEND=noninteractive ENV \ DEBUG=false \ NODE_VERSION=v14.21.4 \ - METEOR_RELEASE=METEOR@2.13 \ + METEOR_RELEASE=METEOR@2.14 \ USE_EDGE=false \ METEOR_EDGE=1.5-beta.17 \ - NPM_VERSION=latest \ + NPM_VERSION=6.14.17 \ FIBERS_VERSION=4.0.1 \ ARCHITECTURE=linux-x64 \ SRC_PATH=./ \ @@ -29,14 +32,14 @@ ENV \ ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60 \ ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15 \ ACCOUNTS_COMMON_LOGIN_EXPIRATION_IN_DAYS=90 \ - RICHER_CARD_COMMENT_EDITOR=false \ - CARD_OPENED_WEBHOOK_ENABLED=false \ ATTACHMENTS_UPLOAD_EXTERNAL_PROGRAM="" \ ATTACHMENTS_UPLOAD_MIME_TYPES="" \ ATTACHMENTS_UPLOAD_MAX_SIZE=0 \ AVATARS_UPLOAD_EXTERNAL_PROGRAM="" \ AVATARS_UPLOAD_MIME_TYPES="" \ AVATARS_UPLOAD_MAX_SIZE=0 \ + RICHER_CARD_COMMENT_EDITOR=false \ + CARD_OPENED_WEBHOOK_ENABLED=false \ MAX_IMAGE_PIXEL="" \ IMAGE_COMPRESS_RATIO="" \ NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE="" \ @@ -48,10 +51,12 @@ ENV \ MATOMO_SITE_ID="" \ MATOMO_DO_NOT_TRACK=true \ MATOMO_WITH_USERNAME=false \ + METRICS_ALLOWED_IP_ADDRESSES="" \ BROWSER_POLICY_ENABLED=true \ TRUSTED_URL="" \ WEBHOOKS_ATTRIBUTES="" \ OAUTH2_ENABLED=false \ + OIDC_REDIRECTION_ENABLED=false \ OAUTH2_CA_CERT="" \ OAUTH2_ADFS_ENABLED=false \ OAUTH2_B2C_ENABLED=false \ @@ -147,16 +152,15 @@ ENV \ SAML_ATTRIBUTES="" \ ORACLE_OIM_ENABLED=false \ WAIT_SPINNER="" \ + WRITABLE_PATH=/data \ S3="" -# \ -# NODE_OPTIONS="--max_old_space_size=4096" -#--------------------------------------------------------------------- -# https://github.com/wekan/wekan/issues/3585#issuecomment-1021522132 -# Add more Node heap: # NODE_OPTIONS="--max_old_space_size=4096" -# Add more stack: -# bash -c "ulimit -s 65500; exec node --stack-size=65500 main.js" + +#--------------------------------------------- +# == at docker-compose.yml: AUTOLOGIN WITH OIDC/OAUTH2 ==== +# https://github.com/wekan/wekan/wiki/autologin +#- OIDC_REDIRECTION_ENABLED=true #--------------------------------------------------------------------- ENV PATH=$PATH:/home/wekan/.meteor/ @@ -200,64 +204,79 @@ COPY \ RUN < Date: Sun, 16 Jan 2022 01:15:31 +0100 Subject: [PATCH 21/69] Removed second "created at" text at activites / card comment - the same text is already at line start, it makes no sense to print it again at line end --- client/components/activities/activities.jade | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/components/activities/activities.jade b/client/components/activities/activities.jade index b4d1ac07b..f15c9a71c 100644 --- a/client/components/activities/activities.jade +++ b/client/components/activities/activities.jade @@ -242,5 +242,3 @@ template(name="activity") = ' @' else if(currentData.timeValue) | {{_ activity.activityType currentData.timeValue}} - - span(title=activity.createdAt).activity-meta {{ moment activity.createdAt }} From f0bd5eaca9c1fdbfb9c75e1da37c701fa39e51a5 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 27 May 2024 00:15:42 +0300 Subject: [PATCH 22/69] Updated ChangeLog. --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e18f35b77..78f0092ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,12 @@ and fixes the following bugs:: Thanks to e-gaulue. - [Fixed loading of cards if there are more than 20 of them on one swimlane](https://github.com/wekan/wekan/pull/5417). Thanks to novashdima. +- [Devcontainer, reduce image size and other necessary changes for development](https://github.com/wekan/wekan/pull/5418). + Thanks to mfilser. +- [Dockerfile production and dev same build](https://github.com/wekan/wekan/pull/5419). + Thanks to mfilser. +- [Remove second created at on activities](https://github.com/wekan/wekan/pull/5420). + Thanks to mfilser. Thanks to above GitHub users for their contributions and translators for their translations. From 5124265142c94d5044b81f81eaaa9c3bc01cef58 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 27 May 2024 14:00:49 +0300 Subject: [PATCH 23/69] Updated GitHub issue template for issue instructions to be more visible. Related #5422 --- .github/ISSUE_TEMPLATE.md | 40 ++++++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index c54168501..eb98d15dd 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,18 +1,24 @@ ## Issue - +Email settings, only SMTP MAIL_URL and MAIL_FROM are in use: +https://github.com/wekan/wekan/wiki/Troubleshooting-Mail ### Server Setup Information - + +Please anonymize info, and do not any of your Wekan board URLs, passwords, +API tokens etc to this public issue. + * Did you test in newest Wekan?: * Did you configure root-url correctly so Wekan cards open correctly (see https://github.com/wekan/wekan/wiki/Settings)? * Operating System: @@ -23,13 +29,25 @@ Email settings, only SMTP MAIL_URL and MAIL_FROM are in use: https://github.com/ * What webbrowser version are you using (Wekan should work on all modern browsers that support Javascript)? ### Problem description - + +Add a recorded animated gif (e.g. with https://github.com/phw/peek) about +how it works currently, and screenshot mockups how it should work. + + #### Reproduction Steps -#### Logs - - + +If logs are very long, attach them in .zip file + From 6f31240c740c2066d0507069035a2876f9569dbb Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 27 May 2024 23:47:50 +0300 Subject: [PATCH 24/69] Updated ChangeLog. --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78f0092ee..b4ff2fb98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,8 +21,10 @@ This release adds the following updates: - [Update ukrainian translation](https://github.com/wekan/wekan/pull/5405). Thanks to novashdima. +- [Updated GitHub issue template for issue instructions to be more visible](https://github.com/wekan/wekan/commit/5124265142c94d5044b81f81eaaa9c3bc01cef58). + Thanks to xet7. -and fixes the following bugs:: +and fixes the following bugs: - [Optimize SVGs and PNGs to save 550KB](https://github.com/wekan/wekan/pull/5403). Thanks to C0rn3j. From c2942fa26906fc48b49924f008f95cdbd266661b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Fr=C3=B6hle?= Date: Tue, 28 May 2024 16:42:44 +0200 Subject: [PATCH 25/69] Update exporter.js with fix for #5416 This should fix #5416 --- models/exporter.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/models/exporter.js b/models/exporter.js index d434890ce..b8fe68ba4 100644 --- a/models/exporter.js +++ b/models/exporter.js @@ -348,9 +348,10 @@ export class Exporter { const dropdownOptions = result.customFields.find( ({ _id }) => _id === field._id, ).settings.dropdownItems; - const fieldValue = dropdownOptions.find( + const fieldObj = dropdownOptions.find( ({ _id }) => _id === field.value, - ).name; + ); + const fieldValue = (fieldObj && fieldObj.name) || null; customFieldValuesToPush[customFieldMap[field._id].position] = fieldValue; } else { From 68e7818c1d37fda2f41b8930e5dabe1efe59fc95 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 29 May 2024 00:58:05 +0300 Subject: [PATCH 26/69] Updated ChangeLog. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4ff2fb98..e56cc9e79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,8 @@ and fixes the following bugs: Thanks to mfilser. - [Remove second created at on activities](https://github.com/wekan/wekan/pull/5420). Thanks to mfilser. +- [Fix Export CSV/TSV from Board create unhandled Exception](https://github.com/wekan/wekan/pull/5424). + Thanks to Dexus. Thanks to above GitHub users for their contributions and translators for their translations. From d6d8144476915ce751bcbe5662a396620bffd68b Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 29 May 2024 01:03:18 +0300 Subject: [PATCH 27/69] Updated dependencies. --- imports/i18n/data/eu.i18n.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imports/i18n/data/eu.i18n.json b/imports/i18n/data/eu.i18n.json index 1499b29aa..650c4f8fb 100644 --- a/imports/i18n/data/eu.i18n.json +++ b/imports/i18n/data/eu.i18n.json @@ -1246,7 +1246,7 @@ "show-checklist-at-minicard": "Erakutsi kontrol-zerrenda minitxartelean", "show-subtasks-field": "azpi-zereginen eremua bezala", "convert-to-markdown": "Bihurtu markdown-era", - "import-board-zip": "Add .zip file that has board JSON files, and board name subdirectories with attachments", + "import-board-zip": "Gehitu taula JSON fitxategiak dituen .zip fitxategia eta eranskinak dituzten taularen izenen azpidirektorioak", "collapse": "Tolestu", - "uncollapse": "Uncollapse" + "uncollapse": "Zabaldu" } From 1bd30bc12129be8cc8a633a561bb8a5be76823d7 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 30 May 2024 23:17:24 +0300 Subject: [PATCH 28/69] For development, only recommend Debian 12 amd64, because Sandstorm works at Debian 12. Sandstorm does not work at Ubuntu 24.04. Thanks to xet7 ! Related https://github.com/sandstorm-io/sandstorm/issues/3712 --- rebuild-wekan.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rebuild-wekan.sh b/rebuild-wekan.sh index 5b3e85ce7..073825745 100755 --- a/rebuild-wekan.sh +++ b/rebuild-wekan.sh @@ -1,14 +1,12 @@ #!/bin/bash -echo "Recommended for development: Newest Ubuntu or Debian amd64, directly to SSD disk or dual boot, not VM. Works fast." +echo "Recommended for development: Debian 12 amd64, directly to SSD disk or dual boot, not VM. Works fast." echo "Note1: 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." echo "Note2: Console output is also logged to ../wekan-log.txt" -#Below script installs newest node 8.x for Debian/Ubuntu/Mint. - function pause(){ read -p "$*" } From 2666001226e74071edccf0ac696f3ad1171e9e90 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 30 May 2024 23:22:48 +0300 Subject: [PATCH 29/69] Updated ChangeLog. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e56cc9e79..6a2b3691c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,8 @@ This release adds the following updates: Thanks to novashdima. - [Updated GitHub issue template for issue instructions to be more visible](https://github.com/wekan/wekan/commit/5124265142c94d5044b81f81eaaa9c3bc01cef58). Thanks to xet7. +- [For development, only recommend Debian 12 amd64, because Sandstorm works at Debian 12. Sandstorm does not work at Ubuntu 24.04](https://github.com/wekan/wekan/commit/1bd30bc12129be8cc8a633a561bb8a5be76823d7). + Thanks to xet7. Related https://github.com/sandstorm-io/sandstorm/issues/3712 and fixes the following bugs: From 2ea96518adcf6035c0b63e47715b8d5769d8d00c Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 3 Jun 2024 01:16:20 +0300 Subject: [PATCH 30/69] v7.46 --- CHANGELOG.md | 2 +- Stackerfile.yml | 2 +- package-lock.json | 2 +- package.json | 2 +- public/api/wekan.html | 8 ++++---- public/api/wekan.yml | 2 +- sandstorm-pkgdef.capnp | 4 ++-- snapcraft.yaml | 8 ++++---- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a2b3691c..54f9ebe60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ Fixing other platforms In Progress. [How to upgrade WeKan](https://github.com/wekan/wekan/issues/4585) -# Upcoming WeKan ® release +# v7.46 2024-06-03 WeKan ® release This release adds the following updates: diff --git a/Stackerfile.yml b/Stackerfile.yml index 2c772f91b..202fe6e03 100644 --- a/Stackerfile.yml +++ b/Stackerfile.yml @@ -1,5 +1,5 @@ appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928 -appVersion: "v7.45.0" +appVersion: "v7.46.0" files: userUploads: - README.md diff --git a/package-lock.json b/package-lock.json index 41bda4d7f..5c39cc517 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "wekan", - "version": "v7.45.0", + "version": "v7.46.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2acbc0f1a..525d591d3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wekan", - "version": "v7.45.0", + "version": "v7.46.0", "description": "Open-Source kanban", "private": true, "repository": { diff --git a/public/api/wekan.html b/public/api/wekan.html index 44adb0067..a2b0f43b2 100644 --- a/public/api/wekan.html +++ b/public/api/wekan.html @@ -7,7 +7,7 @@ - Wekan REST API v7.45 + Wekan REST API v7.46 @@ -1496,7 +1496,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
- +
@@ -1548,7 +1548,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
  • - Wekan REST API v7.45 + Wekan REST API v7.46
  • @@ -2067,7 +2067,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
    -

    Wekan REST API v7.45

    +

    Wekan REST API v7.46

    Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

    diff --git a/public/api/wekan.yml b/public/api/wekan.yml index 543a4e27a..e0400a1c4 100644 --- a/public/api/wekan.yml +++ b/public/api/wekan.yml @@ -1,7 +1,7 @@ swagger: '2.0' info: title: Wekan REST API - version: v7.45 + version: v7.46 description: | The REST API allows you to control and extend Wekan with ease. diff --git a/sandstorm-pkgdef.capnp b/sandstorm-pkgdef.capnp index b5b503f18..a7eb266f4 100644 --- a/sandstorm-pkgdef.capnp +++ b/sandstorm-pkgdef.capnp @@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = ( appTitle = (defaultText = "Wekan"), # The name of the app as it is displayed to the user. - appVersion = 745, + appVersion = 746, # Increment this for every release. - appMarketingVersion = (defaultText = "7.45.0~2024-05-06"), + appMarketingVersion = (defaultText = "7.46.0~2024-06-03"), # Human-readable presentation of the app version. minUpgradableAppVersion = 0, diff --git a/snapcraft.yaml b/snapcraft.yaml index 9a6ae98c3..78441e5d8 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,5 +1,5 @@ name: wekan -version: '7.45' +version: '7.46' base: core20 summary: Open Source kanban description: | @@ -170,9 +170,9 @@ parts: # Cleanup mkdir .build cd .build - wget https://github.com/wekan/wekan/releases/download/v7.45/wekan-7.45-amd64.zip - unzip wekan-7.45-amd64.zip - rm wekan-7.45-amd64.zip + wget https://github.com/wekan/wekan/releases/download/v7.46/wekan-7.46-amd64.zip + unzip wekan-7.46-amd64.zip + rm wekan-7.46-amd64.zip cd .. ##cd .build/bundle ##find . -type d -name '*-garbage*' | xargs rm -rf From 79e2001708b5110b26cf54b15bbbf90f7977fe90 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 3 Jun 2024 03:06:58 +0300 Subject: [PATCH 31/69] Update Docker base images to Ubuntu 24.04. Thanks to xet7 ! --- .devcontainer/Dockerfile | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index b86f6976c..e012daac3 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:11 +FROM ubuntu:24.04 LABEL maintainer="wekan" LABEL org.opencontainers.image.ref.name="ubuntu" LABEL org.opencontainers.image.version="24.04" diff --git a/Dockerfile b/Dockerfile index 9e7d3d266..a9d5ef82f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:11 +FROM ubuntu:24.04 LABEL maintainer="wekan" LABEL org.opencontainers.image.ref.name="ubuntu" LABEL org.opencontainers.image.version="24.04" From 5e2b423ef87c62a70a6b08abd2f185fd560f391f Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 3 Jun 2024 04:03:31 +0300 Subject: [PATCH 32/69] Only show Board name edit button to BoardAdmin. Thanks to xet7 ! --- client/components/boards/boardHeader.jade | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade index a59b58c26..06cb0d549 100644 --- a/client/components/boards/boardHeader.jade +++ b/client/components/boards/boardHeader.jade @@ -12,8 +12,9 @@ template(name="boardHeaderBar") if currentBoard if currentUser with currentBoard - a.board-header-btn(class="{{#if currentUser.isBoardAdmin}}js-edit-board-title{{else}}is-disabled{{/if}}" title="{{_ 'edit'}}" value=title) - i.fa.fa-pencil-square-o + if currentUser.isBoardAdmin + a.board-header-btn(class="{{#if currentUser.isBoardAdmin}}js-edit-board-title{{else}}is-disabled{{/if}}" title="{{_ 'edit'}}" value=title) + i.fa.fa-pencil-square-o a.board-header-btn.js-star-board(class="{{#if isStarred}}is-active{{/if}}" title="{{#if isStarred}}{{_ 'click-to-unstar'}}{{else}}{{_ 'click-to-star'}}{{/if}} {{_ 'starred-boards-description'}}") From 1f2fb2ccce38e9cac348f1c459784d6e5a949ded Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 3 Jun 2024 04:23:09 +0300 Subject: [PATCH 33/69] Fix Edit Description button is wildly out of place. Thanks to C0rn3j and xet7 ! Fixes #5413 --- client/components/cards/cardDetails.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index 9f4318f61..4d2e5d802 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -525,8 +525,8 @@ template(name="cardDetails") a.fa.fa-times-thin.js-close-inlined-form else if currentBoard.allowsDescriptionText - a.js-open-inlined-form.right(title="{{_ 'edit'}}" value=title) - i.fa.fa-pencil-square-o + a.js-open-inlined-form(title="{{_ 'edit'}}" value=title) + i.fa.fa-plus if getDescription +viewer = getDescription From b72d24f6d0c081237bb2738ccc65ffbb6267f5c2 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 3 Jun 2024 04:30:24 +0300 Subject: [PATCH 34/69] Updated ChangeLog. --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54f9ebe60..e2b468e09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,22 @@ Fixing other platforms In Progress. [How to upgrade WeKan](https://github.com/wekan/wekan/issues/4585) +# Upcoming WeKan ® release + +This release adds the following updates: + +- [Update Docker base images to Ubuntu 24.04](https://github.com/wekan/wekan/commit/79e2001708b5110b26cf54b15bbbf90f7977fe90). + Thanks to xet7. + +and fixes the following bugs: + +- [Only show Board name edit button to BoardAdmin](https://github.com/wekan/wekan/commit/5e2b423ef87c62a70a6b08abd2f185fd560f391f). + Thanks to xet7. +- [Fix Edit Description button is wildly out of place](https://github.com/wekan/wekan/commit/1f2fb2ccce38e9cac348f1c459784d6e5a949ded). + Thanks to C0rn3j and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + # v7.46 2024-06-03 WeKan ® release This release adds the following updates: From 4e2a8735bc2e449a2a3c949d042fb625052a1152 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 3 Jun 2024 04:33:40 +0300 Subject: [PATCH 35/69] Updated to MongoDB 6.0.15 at Snap Candidate. Thanks to MongoDB developers ! --- snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 78441e5d8..e3521b004 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -65,7 +65,7 @@ apps: parts: mongodb: - source: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-6.0.14.tgz + source: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-6.0.15.tgz plugin: dump stage-packages: - libssl1.1 From 88d4e8a4d939b9fd23b756dc1782348ae0cf4daa Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 3 Jun 2024 04:35:16 +0300 Subject: [PATCH 36/69] Updated ChangeLog. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2b468e09..3b6e820f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,8 @@ This release adds the following updates: - [Update Docker base images to Ubuntu 24.04](https://github.com/wekan/wekan/commit/79e2001708b5110b26cf54b15bbbf90f7977fe90). Thanks to xet7. +- [Updated to MongoDB 6.0.15 at Snap Candidate](https://github.com/wekan/wekan/commit/4e2a8735bc2e449a2a3c949d042fb625052a1152). + Thanks to MongoDB developers. and fixes the following bugs: From 2c9c9c43561093801004f0268d58b29d9a10b570 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 3 Jun 2024 04:38:35 +0300 Subject: [PATCH 37/69] Updated release scripts. Thanks to xet7 ! --- releases/release-bundle.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/releases/release-bundle.sh b/releases/release-bundle.sh index 8625afc05..54c5099c2 100755 --- a/releases/release-bundle.sh +++ b/releases/release-bundle.sh @@ -9,8 +9,8 @@ zip -r wekan-$1-amd64.zip bundle #scp ~/repos/wekan/releases/build-bundle-arm64.sh a:/home/wekan/ #scp ~/repos/wekan/releases/build-bundle-s390x.sh s:/home/linux1/ #scp ~/repos/wekan/releases/build-bundle-ppc64el.sh o:/home/ubuntu/ - scp ~/repos/wekan/releases/release-x2.sh x2:/data/websites/ - scp wekan-$1-amd64.zip x2:/data/websites/releases.wekan.team/ + scp ~/repos/wekan/releases/release-x2.sh 20i:/data/websites/ + scp wekan-$1-amd64.zip 20i:/data/websites/releases.wekan.team/ #scp wekan-$1-amd64.zip a:/home/wekan/ #scp wekan-$1-amd64.zip s:/home/linux1/ #scp wekan-$1.zip o:/home/ubuntu/ @@ -19,4 +19,4 @@ zip -r wekan-$1-amd64.zip bundle cd .. #echo "x64 bundle and arm64/s390x build scripts uploaded to x2/a/s." -echo "x64 bundle and arm64/s390x build scripts uploaded to x2." +echo "x64 bundle and build script uploaded to 20i." From 258032acb07b0f4ed27d9633ed03318cb0e83b7b Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 3 Jun 2024 04:39:55 +0300 Subject: [PATCH 38/69] Updated ChangeLog. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b6e820f0..b25fb96f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,8 @@ This release adds the following updates: Thanks to xet7. - [Updated to MongoDB 6.0.15 at Snap Candidate](https://github.com/wekan/wekan/commit/4e2a8735bc2e449a2a3c949d042fb625052a1152). Thanks to MongoDB developers. +- [Updated release scripts](https://github.com/wekan/wekan/commit/2c9c9c43561093801004f0268d58b29d9a10b570). + Thanks to xet7. and fixes the following bugs: From ca588a4b54457d9d01ab4f14ab8e5f20d80ee138 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 3 Jun 2024 05:00:33 +0300 Subject: [PATCH 39/69] Updated translations. --- imports/i18n/data/fi.i18n.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imports/i18n/data/fi.i18n.json b/imports/i18n/data/fi.i18n.json index 560ac1de2..3c161f7b0 100644 --- a/imports/i18n/data/fi.i18n.json +++ b/imports/i18n/data/fi.i18n.json @@ -242,8 +242,8 @@ "cardMembersPopup-title": "Jäsenet", "cardMorePopup-title": "Lisää", "cardTemplatePopup-title": "Luo malli", - "cards": "Kortit", - "cards-count": "Kortit", + "cards": "Korttia", + "cards-count": "Korttia", "cards-count-one": "Kortti", "casSignIn": "CAS-kirjautuminen", "cardType-card": "Kortti", From 8e5c6af612108a6f2cdcee8af8978d77d16cfaf4 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 3 Jun 2024 05:07:30 +0300 Subject: [PATCH 40/69] v7.47 --- CHANGELOG.md | 2 +- Stackerfile.yml | 2 +- package-lock.json | 2 +- package.json | 2 +- public/api/wekan.html | 6 +++--- public/api/wekan.yml | 2 +- sandstorm-pkgdef.capnp | 4 ++-- snapcraft.yaml | 9 +++++---- 8 files changed, 15 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b25fb96f6..9b905ddc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ Fixing other platforms In Progress. [How to upgrade WeKan](https://github.com/wekan/wekan/issues/4585) -# Upcoming WeKan ® release +# v7.47 2024-06-03 WeKan ® release This release adds the following updates: diff --git a/Stackerfile.yml b/Stackerfile.yml index 202fe6e03..7c7c98f17 100644 --- a/Stackerfile.yml +++ b/Stackerfile.yml @@ -1,5 +1,5 @@ appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928 -appVersion: "v7.46.0" +appVersion: "v7.47.0" files: userUploads: - README.md diff --git a/package-lock.json b/package-lock.json index 5c39cc517..e30d786ba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "wekan", - "version": "v7.46.0", + "version": "v7.47.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 525d591d3..6baef112e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wekan", - "version": "v7.46.0", + "version": "v7.47.0", "description": "Open-Source kanban", "private": true, "repository": { diff --git a/public/api/wekan.html b/public/api/wekan.html index a2b0f43b2..18f0f5349 100644 --- a/public/api/wekan.html +++ b/public/api/wekan.html @@ -7,7 +7,7 @@ - Wekan REST API v7.46 + Wekan REST API v7.47 @@ -1548,7 +1548,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
    • - Wekan REST API v7.46 + Wekan REST API v7.47
    • @@ -2067,7 +2067,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
      -

      Wekan REST API v7.46

      +

      Wekan REST API v7.47

      Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

      diff --git a/public/api/wekan.yml b/public/api/wekan.yml index e0400a1c4..150059ec8 100644 --- a/public/api/wekan.yml +++ b/public/api/wekan.yml @@ -1,7 +1,7 @@ swagger: '2.0' info: title: Wekan REST API - version: v7.46 + version: v7.47 description: | The REST API allows you to control and extend Wekan with ease. diff --git a/sandstorm-pkgdef.capnp b/sandstorm-pkgdef.capnp index a7eb266f4..f42f69a10 100644 --- a/sandstorm-pkgdef.capnp +++ b/sandstorm-pkgdef.capnp @@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = ( appTitle = (defaultText = "Wekan"), # The name of the app as it is displayed to the user. - appVersion = 746, + appVersion = 747, # Increment this for every release. - appMarketingVersion = (defaultText = "7.46.0~2024-06-03"), + appMarketingVersion = (defaultText = "7.47.0~2024-06-03"), # Human-readable presentation of the app version. minUpgradableAppVersion = 0, diff --git a/snapcraft.yaml b/snapcraft.yaml index e3521b004..7bf918cde 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,5 +1,6 @@ + name: wekan -version: '7.46' +version: '7.47' base: core20 summary: Open Source kanban description: | @@ -170,9 +171,9 @@ parts: # Cleanup mkdir .build cd .build - wget https://github.com/wekan/wekan/releases/download/v7.46/wekan-7.46-amd64.zip - unzip wekan-7.46-amd64.zip - rm wekan-7.46-amd64.zip + wget https://github.com/wekan/wekan/releases/download/v7.47/wekan-7.47-amd64.zip + unzip wekan-7.47-amd64.zip + rm wekan-7.47-amd64.zip cd .. ##cd .build/bundle ##find . -type d -name '*-garbage*' | xargs rm -rf From 4a9d881e47751ec49d24af5bf4fd1c5452ceb194 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 3 Jun 2024 05:14:58 +0300 Subject: [PATCH 41/69] Updated release scripts. Thanks to xet7 ! --- releases/build-bundle-win64.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/build-bundle-win64.bat b/releases/build-bundle-win64.bat index f1ec9540d..f7e0b1f93 100755 --- a/releases/build-bundle-win64.bat +++ b/releases/build-bundle-win64.bat @@ -12,7 +12,7 @@ CALL DEL /F /S /Q bundle ECHO 2) Downloading new WeKan.zip DEL wekan-%1-amd64.zip -wget https://releases.wekan.team/wekan-%1-amd64.zip --no-check-certificate +wget https://github.com/wekan/wekan/releases/download/v%1/wekan-%1-amd64.zip ECHO 3) Unarchiving new WeKan CALL 7z x wekan-%1-amd64.zip From b11a2103a46afb7b8a1ccf3cc608f3a8ce0eb0bd Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 3 Jun 2024 05:16:50 +0300 Subject: [PATCH 42/69] Updated ChangeLog. --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b905ddc1..fadb792ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,15 @@ Fixing other platforms In Progress. [How to upgrade WeKan](https://github.com/wekan/wekan/issues/4585) +# Upcoming WeKan ® release + +This release adds the following updates: + +- [Updated release scripts](https://github.com/wekan/wekan/commit/4a9d881e47751ec49d24af5bf4fd1c5452ceb194). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + # v7.47 2024-06-03 WeKan ® release This release adds the following updates: From 3febe80329d71fb23a5c85dcfacce07dda8c1538 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 20:32:31 +0000 Subject: [PATCH 43/69] Bump docker/login-action from 3.1.0 to 3.2.0 Bumps [docker/login-action](https://github.com/docker/login-action) from 3.1.0 to 3.2.0. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/e92390c5fb421da1463c202d546fed0ec5c39f20...0d4c9c5ea7693da7b068278f7b52bda2a190a446) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/docker-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 3d4490c3c..9933d15f4 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -38,7 +38,7 @@ jobs: # https://github.com/docker/login-action - name: Log into registry ${{ env.REGISTRY }} if: github.event_name != 'pull_request' - uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} From 36bb5e099ed9f1f88c0399867bd76f040467745c Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 4 Jun 2024 16:02:03 +0300 Subject: [PATCH 44/69] Fix Admin Panel pages Organizations and Teams, where HTML Tables were broken. Thanks to Hekatomb and xet7 ! Fixes #5429 --- client/components/settings/peopleBody.jade | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/components/settings/peopleBody.jade b/client/components/settings/peopleBody.jade index eca5eeab5..49d628d00 100644 --- a/client/components/settings/peopleBody.jade +++ b/client/components/settings/peopleBody.jade @@ -86,8 +86,8 @@ template(name="orgGeneral") +newOrgRow tbody tr - each org in orgList - +orgRow(orgId=org._id) + each org in orgList + +orgRow(orgId=org._id) template(name="teamGeneral") table @@ -103,8 +103,8 @@ template(name="teamGeneral") +newTeamRow tbody tr - each team in teamList - +teamRow(teamId=team._id) + each team in teamList + +teamRow(teamId=team._id) template(name="peopleGeneral") #divAddOrRemoveTeamContainer From 8efea6c4e2ac17d1a8da21f0d15a1dfe008e5a1f Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 4 Jun 2024 16:05:52 +0300 Subject: [PATCH 45/69] Updated ChangeLog. --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fadb792ec..e463b2279 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,11 @@ This release adds the following updates: - [Updated release scripts](https://github.com/wekan/wekan/commit/4a9d881e47751ec49d24af5bf4fd1c5452ceb194). Thanks to xet7. +and fixes the following bugs: + +- [Fix Admin Panel pages Organizations and Teams, where HTML Tables were broken](https://github.com/wekan/wekan/commit/36bb5e099ed9f1f88c0399867bd76f040467745c). + Thanks to Hekatomb and xet7. + Thanks to above GitHub users for their contributions and translators for their translations. # v7.47 2024-06-03 WeKan ® release From 13be8160d5b6a894c674d04c37ff9e653e7bd4b0 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 4 Jun 2024 23:27:55 +0300 Subject: [PATCH 46/69] Add changes from wiki to docs. Thanks to xet7 ! --- docs/wekan.wiki/AsyncAwait.md | 3 + docs/wekan.wiki/Azure.md | 4 +- docs/wekan.wiki/Backup.md | 7 ++ docs/wekan.wiki/Change-Language.md | 32 +++++++++ docs/wekan.wiki/FAQ.md | 28 ++++++++ .../Install-Wekan-from-source-on-Windows.md | 9 ++- docs/wekan.wiki/OAuth2.md | 2 + docs/wekan.wiki/Offline.md | 55 ++++++++------- docs/wekan.wiki/RocketChat.md | 68 +++++++++++++++++++ docs/wekan.wiki/_Sidebar.md | 2 +- 10 files changed, 177 insertions(+), 33 deletions(-) create mode 100644 docs/wekan.wiki/AsyncAwait.md create mode 100644 docs/wekan.wiki/Change-Language.md create mode 100644 docs/wekan.wiki/RocketChat.md diff --git a/docs/wekan.wiki/AsyncAwait.md b/docs/wekan.wiki/AsyncAwait.md new file mode 100644 index 000000000..e830c07b5 --- /dev/null +++ b/docs/wekan.wiki/AsyncAwait.md @@ -0,0 +1,3 @@ +- https://www.sitepoint.com/javascript-async-await/ +- https://www.freecodecamp.org/news/javascript-async-await-tutorial-learn-callbacks-promises-async-await-by-making-icecream/ +- https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Asynchronous \ No newline at end of file diff --git a/docs/wekan.wiki/Azure.md b/docs/wekan.wiki/Azure.md index 68e9325e8..15a9de760 100644 --- a/docs/wekan.wiki/Azure.md +++ b/docs/wekan.wiki/Azure.md @@ -4,10 +4,12 @@ *Make sure you are running at least **v2.21*** -### Snap install info, tested 2021-07-16 +### Redirect URL [About AZURE-NEW-APP-CLIENT-ID and AZURE-NEW-APP-SECRET](https://community.microfocus.com/t5/Identity-Manager-Tips/Creating-the-application-Client-ID-and-Client-Secret-from/ta-p/1776619). The redirect URL is your Wekan root-url+_oauth/oidc like this: https://boards.example.com/_oauth/oidc +Wekan logo + AZURE_DIRECTORY_ID = TENANT-NAME-FOR-YOUR-ORGANIZATION ### If Azure Active Directory login does not work diff --git a/docs/wekan.wiki/Backup.md b/docs/wekan.wiki/Backup.md index b9f90c0b1..16c3024b7 100644 --- a/docs/wekan.wiki/Backup.md +++ b/docs/wekan.wiki/Backup.md @@ -35,6 +35,13 @@ docker exec wekan-db mongorestore --drop --dir=/data/dump docker start wekan-app ``` # Upgrade Docker Wekan version + +## Newest info + +https://github.com/wekan/wekan/discussions/5367 + +## Old info + Note: Do not run `docker-compose down` without verifying your docker-compose file, it does not delete the data by default but caution is advised. Refer to https://docs.docker.com/compose/reference/down/. ```bash docker-compose stop diff --git a/docs/wekan.wiki/Change-Language.md b/docs/wekan.wiki/Change-Language.md new file mode 100644 index 000000000..14b99f592 --- /dev/null +++ b/docs/wekan.wiki/Change-Language.md @@ -0,0 +1,32 @@ +## Change language for all users + +Using MongoDB Shell with WeKan Snap Candidate, to change English date format to `DD/MM/YY`. + +MongoDB Shell Download: https://www.mongodb.com/try/download/shell + +language.sh: +``` +mongosh --quiet \ +--host 127.0.0.1 \ +--port 27019 \ +--eval 'use wekan' \ +--eval 'db.users.updateMany({}, { $set: {"profile.language": "en-GB" }});' +``` +Set script as executeable: +``` +chmod +x language.sh +``` +Running script, when 5 new users of total 20 users did not have language set correctly yet: +``` +$ ./language.sh +{ + acknowledged: true, + insertedId: null, + matchedCount: 20, + modifiedCount: 5, + upsertedCount: 0 +} +``` +## Language browser settings + +https://github.com/wekan/wekan/issues/4518#issuecomment-1133763518 \ No newline at end of file diff --git a/docs/wekan.wiki/FAQ.md b/docs/wekan.wiki/FAQ.md index 86f4d1d6e..e36fa5ac5 100644 --- a/docs/wekan.wiki/FAQ.md +++ b/docs/wekan.wiki/FAQ.md @@ -60,6 +60,34 @@ It's a very specific niche, with limited amount competitors, with all of this ap [Wekan Team](https://wekan.team) is Wekan Commercial Support company run by CEO [xet7](https://github.com/xet7), current maintainer of Wekan. xet7 does respond to feedback at GitHub issues very actively, because Wekan is community driven Open Source project. Because conflicting opinions can not be implemented, sometimes xet7 has to behave like a benevolent dictator. Every Wekan team member is free to choose what to contribute and when. We can not force anybody to implement anything. Wekan development speed increases when new Wekan contributors join and start to send PRs to existing and new issues. +## What is Bio of xet7 ? + +[Lauri Ojansivu](https://github.com/xet7) is CEO at [WeKan Team](https://wekan.team), +Cross-Platform FOSS maintainer, +Cloud Architect, Full-Stack Developer, SysAdmin and SysOp. +He has experience of [having added and removed over 4 million lines of code](https://github.com/wekan/wekan/blob/main/releases/count-lines-of-code-per-committer.sh) to +[Meteor Full-Stack Web Framework](https://www.meteor.com) +based [WeKan Open Source kanban](https://wekan.github.io), +that has been [translated to 70+ languages](https://explore.transifex.com/wekan/wekan/), +and is currently used at [most countries of the world](https://snapcraft.io/wekan). +At 2024-06-04, he is currently [4h most active GitHub committer at Finland](https://committers.top/finland). + +He holds a BBA as computer designer and system engineer +at Kemi-Tornio AMK, Finland. +He is credited as having built quality control system +with comparisons of groups and fitness test calculations, +company infra, migration from On-Premises to Cloud, +SLA support, IT support, games, database apps, websites, +[winner of 2th place at EU NGI ONTOCHAIN Hackathon](https://wekan.github.io/donated/ontochain-certificate.png), +[winner of 20i FOSS Awards](https://wekan.github.io/donated/foss-awards-2022/20i_FOSS_Awards_Winners_Announced_(Press_Release).pdf), and [porting to 30+ CPU/OS](https://github.com/xet7/darkesthour). + +At MeteorJS Dispatches Video Podcast, he has been +interviewed [about WeKan](https://www.youtube.com/watch?v=ke-mbnZM3zE&t=1342s), +[Meteor Security](https://www.youtube.com/watch?v=zic-h8jG6F8), and other topics. +He teaches using computers at local nerd club. +At his free time, he is porting FOSS software to many CPU/OS, +and [translating them from English to Finnish](https://xet7.org). + ## How to convince my company management that Wekan "is less evil" than Trello? Yes, xet7 received this question in Email. diff --git a/docs/wekan.wiki/Install-Wekan-from-source-on-Windows.md b/docs/wekan.wiki/Install-Wekan-from-source-on-Windows.md index a3f44b8b8..03e147446 100644 --- a/docs/wekan.wiki/Install-Wekan-from-source-on-Windows.md +++ b/docs/wekan.wiki/Install-Wekan-from-source-on-Windows.md @@ -1,14 +1,17 @@ +# Newest Windows info here + +https://github.com/wekan/wekan/wiki/Offline + +## OLD INFO BELOW, DOES NOT WORK + Also see: [Excel and VBA](Excel-and-VBA) - -# THIS WORKS a) Lowest resource usage: [Windows Subsystem for Linux, build from source](https://github.com/wekan/wekan/issues/2066#issuecomment-468328001) b) Docker for Windows, [prebuilt without --build option, or build from source](https://github.com/wekan/wekan-dev/issues/12#issuecomment-468657290) *** -# OLD INFO BELOW, DOES NOT WORK ### Source install required dependencies diff --git a/docs/wekan.wiki/OAuth2.md b/docs/wekan.wiki/OAuth2.md index 67e6da607..c62df3efd 100644 --- a/docs/wekan.wiki/OAuth2.md +++ b/docs/wekan.wiki/OAuth2.md @@ -1,3 +1,4 @@ +- [More RocketChat fixes here](https://github.com/wekan/wekan/wiki/RocketChat) - [OAuth2 small bug](https://github.com/wekan/wekan/issues/1874) - currently OAuth2 works mostly # OAuth2 providers @@ -41,6 +42,7 @@ The redirect URL is described in the wekan wiki: https://wekan.example.com/_oaut ## Rocket.Chat providing OAuth2 login to Wekan +- [More RocketChat fixes here](https://github.com/wekan/wekan/wiki/RocketChat) - [RocketChat Skip Install Registration Wizard Fix](https://github.com/RocketChat/Rocket.Chat/issues/31163#issuecomment-1848364117) > So for someone using snap, it means creating a file `/var/snap/rocketchat-server/common/override-setup-wizard.env ` (the name of the file itself could be anything as long as it has an .env extension) and setting its content to `OVERWRITE_SETTING_Show_Setup_Wizard=completed` diff --git a/docs/wekan.wiki/Offline.md b/docs/wekan.wiki/Offline.md index afcb921d8..3d8380414 100644 --- a/docs/wekan.wiki/Offline.md +++ b/docs/wekan.wiki/Offline.md @@ -2,50 +2,30 @@ Also see: [Windows](Windows) [Other CPU/OS On-Premise WeKan install](https://github.com/wekan/wekan/wiki/Raspberry-Pi) -## Newest Docker WeKan Offline - -This works now. - -At Internet connected computer, download: - -1. Docker for Windows -2. docker-compose.yml from https://github.com/wekan/wekan -3. `docker-compose up -d` at Internet connected computer -4. Save wekan-app and wekan-db containers to files https://docs.docker.com/engine/reference/commandline/save/ - -At Offline Windows computer: - -1. Install Docker for Windows -2. Load `wekan-app` container from file https://docs.docker.com/engine/reference/commandline/load/ -3. Check what is ID of `wekan-app` container with `docker images` -4. Change at `docker-compose.yml` wekan-app contaier `image:gc....` to `image:ID` where ID from step 3 above -5. Do steps 2-4 also for `wekan-db` container -6. `docker-compose up -d` - ## Wekan Windows 64bit version On-Premise -This does not work yet. +This is without container (without Docker or Snap). Right click and download files 1-4: -1. [wekan-7.18-amd64-windows.zip](https://github.com/wekan/wekan/releases/download/v7.18/wekan-7.18-amd64-windows.zip) +1. [wekan-7.47-amd64-windows.zip](https://github.com/wekan/wekan/releases/download/v7.47/wekan-7.47-amd64-windows.zip) -2. [node-v14.21.4-win-x64.exe](https://github.com/wekan/node-v14-esm/releases/download/v14.21.4/node-v14.21.4-win-x64.exe) +2. [node.exe](https://nodejs.org/dist/latest-v14.x/win-x64/node.exe) -3. [mongodb-windows-x86_64-6.0.11-signed.msi](https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.11-signed.msi) +3. [mongodb-windows-x86_64-6.0.15-signed.msi](https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.15-signed.msi) 4. [start-wekan.bat](https://raw.githubusercontent.com/wekan/wekan/main/start-wekan.bat) 5. Copy files from steps 1-4 with USB stick or DVD to offline Windows computer -6. Double click `mongodb-windows-x86_64-6.0.11-signed.msi` . In installer, uncheck downloading MongoDB compass. +6. Double click `mongodb-windows-x86_64-6.0.15-signed.msi` . In installer, uncheck downloading MongoDB compass. -7. Unzip `wekan-7.18-amd64-windows.zip` , inside it is directory `bundle`, to it copy other files: +7. Unzip `wekan-7.47-amd64-windows.zip` , inside it is directory `bundle`, to it copy other files: ``` bundle (directory) |_ start-wekan.bat (downloaded file) - |_ node-v14.21.4-win-x64.exe (downloaded file) + |_ node.exe (downloaded file) |_ main.js (extracted file) ``` 8. Edit `start-wekan.bat` with Notepad. There add [Windows computer IP address](https://support.microsoft.com/en-us/windows/find-your-ip-address-in-windows-f21a9bbc-c582-55cd-35e0-73431160a1b9) , like this, then Wekan will be at http://IP-ADDRESS-HERE/sign-in , for example http://192.168.0.100/sign-in but your different IP address. Add there wekan server computer IP address, not localhost. `node.exe main.js` is at bottom of `start-wekan.bat`, change there longer filename: @@ -54,7 +34,7 @@ SET ROOT_URL=http://IP-ADDRESS-HERE SET PORT=80 -node-v14.21.4-win-x64.exe main.js +node.exe main.js ``` If there is already some webserver at port 80, change to other port: ``` @@ -75,6 +55,25 @@ RELATED INFO: - Windows 2022 server example https://github.com/wekan/wekan/issues/5084 - Other settings example https://github.com/wekan/wekan/issues/4932 +## Docker WeKan Offline + + +At Internet connected computer, download: + +1. Docker for Windows +2. docker-compose.yml from https://github.com/wekan/wekan +3. `docker-compose up -d` at Internet connected computer +4. Save wekan-app and wekan-db containers to files https://docs.docker.com/engine/reference/commandline/save/ + +At Offline Windows computer: + +1. Install Docker for Windows +2. Load `wekan-app` container from file https://docs.docker.com/engine/reference/commandline/load/ +3. Check what is ID of `wekan-app` container with `docker images` +4. Change at `docker-compose.yml` wekan-app contaier `image:gc....` to `image:ID` where ID from step 3 above +5. Do steps 2-4 also for `wekan-db` container +6. `docker-compose up -d` + ## WeKan Updates 1. Updating only WeKan. Not updating Node.js and MongoDB. diff --git a/docs/wekan.wiki/RocketChat.md b/docs/wekan.wiki/RocketChat.md new file mode 100644 index 000000000..9f555593a --- /dev/null +++ b/docs/wekan.wiki/RocketChat.md @@ -0,0 +1,68 @@ +Info for Self-Hosted RocketChat Community Server, using RocketChat server Snap from https://snapcraft.io/rocketchat-server + +## Install snapd + +Linux: + +https://snapcraft.io/docs/installing-snapd + +Windows: + +https://github.com/wekan/hx/tree/main/prototypes/ui/gambas#install-on-windows + +## Install RocketChat Snap + +``` +sudo snap install rocketchat-server +``` + +## Setup siteurl + +List current Snap settings: +``` +sudo snap get rocketchat-server +``` +Then set your siteurl of your RocketChat server: +``` +sudo snap set rocketchat-server siteurl='https://chat.yourcompany.com' +``` + +## RocketChat Skip Install Registration Wizard Fix + +Q: + +- [RocketChat Skip Install Registration Wizard Fix](https://github.com/RocketChat/Rocket.Chat/issues/31163#issuecomment-1848364117) + + +A: + +For someone using snap, it means creating a file `/var/snap/rocketchat-server/common/override-setup-wizard.env ` (the name of the file itself could be anything as long as it has an .env extension) and setting its content to `OVERWRITE_SETTING_Show_Setup_Wizard=completed` + +Then, restarting the server by `systemctl restart snap.rocketchat-server.rocketchat-server.service` + +If it does not work yet, then reboot. + +## Workspace version unsupported + +Q: + +- [Workspace version unsupported, Self-Host Community Server](https://forums.rocket.chat/t/workspace-version-unsupported-self-host-community-server/19698) + +A: + +1) Change to newest Snap Stable channel, list at https://snapcraft.io/rocketchat-server dropdown menu + +``` +sudo snap refresh rocketchat-server --channel=6.x/stable --amend +``` + +2) Register your Self-Managed instance here, so login and mobile app start to work after that: + +- https://cloud.rocket.chat/home +- https://chat.yourcompany.com/admin/subscription + +## More RocketChat Snap related info + +https://github.com/wekan/wekan/wiki/OAuth2 + +https://docs.rocket.chat/deploy/deploy-rocket.chat/deploy-with-snaps \ No newline at end of file diff --git a/docs/wekan.wiki/_Sidebar.md b/docs/wekan.wiki/_Sidebar.md index f5d314e37..2fb3dbec6 100644 --- a/docs/wekan.wiki/_Sidebar.md +++ b/docs/wekan.wiki/_Sidebar.md @@ -6,7 +6,7 @@ * [Meteor WeKan Roadmap](https://boards.wekan.team/b/D2SzJKZDS4Z48yeQH/wekan-open-source-kanban-board-with-mit-license) - board at Wekan demo * [Multiverse WeKan Roadmap](https://github.com/wekan/wekan/wiki/WeKan-Multiverse-Roadmap) * [Docs/Manual](https://github.com/wekan/wekan/discussions/4522) -* [Change Language](https://github.com/wekan/wekan/issues/4518#issuecomment-1133763518) +* [Change Language](Change-Language) * [Forgot Password](Forgot-Password) * [About](https://github.com/wekan/wekan/wiki) * [Test Edge](Test-Edge) From 4a26f80fb1429816fe81440485ba565d660cecd3 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 4 Jun 2024 23:30:57 +0300 Subject: [PATCH 47/69] Updated ChangeLog. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e463b2279..ebc20d097 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,8 @@ This release adds the following updates: - [Updated release scripts](https://github.com/wekan/wekan/commit/4a9d881e47751ec49d24af5bf4fd1c5452ceb194). Thanks to xet7. +- [Add changes from wiki to docs](https://github.com/wekan/wekan/commit/13be8160d5b6a894c674d04c37ff9e653e7bd4b0). + Thanks to xet7. and fixes the following bugs: From e65a8c90177cd948ca8212486a365b65cd7d5372 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 4 Jun 2024 23:44:35 +0300 Subject: [PATCH 48/69] Add changes from wiki to docs. Part 2. Thanks to xet7 ! --- docs/wekan.wiki/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wekan.wiki/FAQ.md b/docs/wekan.wiki/FAQ.md index e36fa5ac5..ed8c0c111 100644 --- a/docs/wekan.wiki/FAQ.md +++ b/docs/wekan.wiki/FAQ.md @@ -77,7 +77,7 @@ at Kemi-Tornio AMK, Finland. He is credited as having built quality control system with comparisons of groups and fitness test calculations, company infra, migration from On-Premises to Cloud, -SLA support, IT support, games, database apps, websites, +SLA support, IT support, [games](https://github.com/xet7/notegame), database apps, websites, [winner of 2th place at EU NGI ONTOCHAIN Hackathon](https://wekan.github.io/donated/ontochain-certificate.png), [winner of 20i FOSS Awards](https://wekan.github.io/donated/foss-awards-2022/20i_FOSS_Awards_Winners_Announced_(Press_Release).pdf), and [porting to 30+ CPU/OS](https://github.com/xet7/darkesthour). From cac28fde4dd9445a4cb3b3585c9133459c4c2031 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 4 Jun 2024 23:45:46 +0300 Subject: [PATCH 49/69] Updated ChangeLog. --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ebc20d097..b856c702f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,7 +21,9 @@ This release adds the following updates: - [Updated release scripts](https://github.com/wekan/wekan/commit/4a9d881e47751ec49d24af5bf4fd1c5452ceb194). Thanks to xet7. -- [Add changes from wiki to docs](https://github.com/wekan/wekan/commit/13be8160d5b6a894c674d04c37ff9e653e7bd4b0). +- Add changes from wiki to docs. + [Part 1](https://github.com/wekan/wekan/commit/13be8160d5b6a894c674d04c37ff9e653e7bd4b0), + [Part 2](https://github.com/wekan/wekan/commit/e65a8c90177cd948ca8212486a365b65cd7d5372). Thanks to xet7. and fixes the following bugs: From ec0e88ad2e914437b4767456a160f2c1138fc5f2 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 6 Jun 2024 01:39:57 +0300 Subject: [PATCH 50/69] Try to show more of title of collapsed list. Thanks to C0rn3j and xet7 ! Related #5428 --- client/components/lists/list.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/client/components/lists/list.css b/client/components/lists/list.css index e0126de59..066fda4ca 100644 --- a/client/components/lists/list.css +++ b/client/components/lists/list.css @@ -84,13 +84,17 @@ } .list-rotated { width: 10px; - margin-top: 10px; - margin-left: 0; + height: 250px; + margin-top: -90px; + margin-left: -110px; margin-right: 0; transform: rotate(90deg); position: relative; text-overflow: ellipsis; white-space: nowrap; +} +.list-header .list-rotated { + } .list-header .list-header-watch-icon { padding-left: 10px; From 82aa3fb7ee1adcc5ac339611b35d8766b925a198 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 6 Jun 2024 01:44:56 +0300 Subject: [PATCH 51/69] Updated ChangeLog. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b856c702f..2ddd4cd60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,8 @@ and fixes the following bugs: - [Fix Admin Panel pages Organizations and Teams, where HTML Tables were broken](https://github.com/wekan/wekan/commit/36bb5e099ed9f1f88c0399867bd76f040467745c). Thanks to Hekatomb and xet7. +- [Try to show more of title of collapsed list](https://github.com/wekan/wekan/commit/ec0e88ad2e914437b4767456a160f2c1138fc5f2). + Thanks to C0rn3j and xet7. Thanks to above GitHub users for their contributions and translators for their translations. From 04b995e77fdb5abc186e02482a75aba6a5cf0759 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 6 Jun 2024 02:03:29 +0300 Subject: [PATCH 52/69] Allow Normal user to add new swimlane, list and label. Thanks to RyanHecht, norrig and xet7 ! Fixes #4276, fixes #4785 --- client/components/cards/labels.jade | 3 +-- client/components/swimlanes/swimlaneHeader.jade | 3 +-- client/components/swimlanes/swimlanes.jade | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/client/components/cards/labels.jade b/client/components/cards/labels.jade index d67ba76aa..8d12dc488 100644 --- a/client/components/cards/labels.jade +++ b/client/components/cards/labels.jade @@ -37,5 +37,4 @@ template(name="cardLabelsPopup") = name if(isLabelSelected ../_id) i.card-label-selectable-icon.fa.fa-check - if currentUser.isBoardAdmin - a.quiet-button.full.js-add-label {{_ 'label-create'}} + a.quiet-button.full.js-add-label {{_ 'label-create'}} diff --git a/client/components/swimlanes/swimlaneHeader.jade b/client/components/swimlanes/swimlaneHeader.jade index d77e36e18..d14686163 100644 --- a/client/components/swimlanes/swimlaneHeader.jade +++ b/client/components/swimlanes/swimlaneHeader.jade @@ -24,8 +24,7 @@ template(name="swimlaneFixedHeader") | {{isTitleDefault title}} .swimlane-header-menu unless currentUser.isCommentOnly - if currentUser.isBoardAdmin - a.fa.fa-plus.js-open-add-swimlane-menu.swimlane-header-plus-icon(title="{{_ 'add-swimlane'}}") + a.fa.fa-plus.js-open-add-swimlane-menu.swimlane-header-plus-icon(title="{{_ 'add-swimlane'}}") a.fa.fa-navicon.js-open-swimlane-menu(title="{{_ 'swimlaneActionPopup-title'}}") //// TODO: Collapse Swimlane: make button working, etc. //unless collapsed diff --git a/client/components/swimlanes/swimlanes.jade b/client/components/swimlanes/swimlanes.jade index c44b3958a..bef6e8e33 100644 --- a/client/components/swimlanes/swimlanes.jade +++ b/client/components/swimlanes/swimlanes.jade @@ -46,8 +46,8 @@ template(name="listsGroup") template(name="addListForm") unless currentUser.isWorker - .list.list-composer.js-list-composer(class="{{#if isMiniScreen}}mini-list{{/if}}") - if currentUser.isBoardAdmin + unless currentUser.isCommentOnly + .list.list-composer.js-list-composer(class="{{#if isMiniScreen}}mini-list{{/if}}") .list-header-add +inlinedForm(autoclose=false) input.list-name-input.full-line(type="text" placeholder="{{_ 'add-list'}}" From 58dbd78997c9bbfe9c72f3f9b6bf0fb892a6c275 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 6 Jun 2024 02:07:32 +0300 Subject: [PATCH 53/69] Updated ChangeLog. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ddd4cd60..b466e05f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,8 @@ and fixes the following bugs: Thanks to Hekatomb and xet7. - [Try to show more of title of collapsed list](https://github.com/wekan/wekan/commit/ec0e88ad2e914437b4767456a160f2c1138fc5f2). Thanks to C0rn3j and xet7. +- [Allow Normal user to add new swimlane, list and label](https://github.com/wekan/wekan/commit/04b995e77fdb5abc186e02482a75aba6a5cf0759). + Thanks to RyanHecht, norrig and xet7. Thanks to above GitHub users for their contributions and translators for their translations. From f42e0fe5070a4de31dc546abacf2e0f6a7785319 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 6 Jun 2024 02:12:09 +0300 Subject: [PATCH 54/69] v7.48 --- CHANGELOG.md | 2 +- Stackerfile.yml | 2 +- package-lock.json | 2 +- package.json | 2 +- public/api/wekan.html | 6 +++--- public/api/wekan.yml | 2 +- sandstorm-pkgdef.capnp | 4 ++-- snapcraft.yaml | 8 ++++---- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b466e05f1..dcf1e814c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ Fixing other platforms In Progress. [How to upgrade WeKan](https://github.com/wekan/wekan/issues/4585) -# Upcoming WeKan ® release +# v7.48 2024-06-06 WeKan ® release This release adds the following updates: diff --git a/Stackerfile.yml b/Stackerfile.yml index 7c7c98f17..ec98d652c 100644 --- a/Stackerfile.yml +++ b/Stackerfile.yml @@ -1,5 +1,5 @@ appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928 -appVersion: "v7.47.0" +appVersion: "v7.48.0" files: userUploads: - README.md diff --git a/package-lock.json b/package-lock.json index e30d786ba..11494d85b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "wekan", - "version": "v7.47.0", + "version": "v7.48.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 6baef112e..3185aeb98 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wekan", - "version": "v7.47.0", + "version": "v7.48.0", "description": "Open-Source kanban", "private": true, "repository": { diff --git a/public/api/wekan.html b/public/api/wekan.html index 18f0f5349..4faf6352e 100644 --- a/public/api/wekan.html +++ b/public/api/wekan.html @@ -7,7 +7,7 @@ - Wekan REST API v7.47 + Wekan REST API v7.48 @@ -1548,7 +1548,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
      • - Wekan REST API v7.47 + Wekan REST API v7.48
      • @@ -2067,7 +2067,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
        -

        Wekan REST API v7.47

        +

        Wekan REST API v7.48

        Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

        diff --git a/public/api/wekan.yml b/public/api/wekan.yml index 150059ec8..208e7d12a 100644 --- a/public/api/wekan.yml +++ b/public/api/wekan.yml @@ -1,7 +1,7 @@ swagger: '2.0' info: title: Wekan REST API - version: v7.47 + version: v7.48 description: | The REST API allows you to control and extend Wekan with ease. diff --git a/sandstorm-pkgdef.capnp b/sandstorm-pkgdef.capnp index f42f69a10..08f98cf28 100644 --- a/sandstorm-pkgdef.capnp +++ b/sandstorm-pkgdef.capnp @@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = ( appTitle = (defaultText = "Wekan"), # The name of the app as it is displayed to the user. - appVersion = 747, + appVersion = 748, # Increment this for every release. - appMarketingVersion = (defaultText = "7.47.0~2024-06-03"), + appMarketingVersion = (defaultText = "7.48.0~2024-06-06"), # Human-readable presentation of the app version. minUpgradableAppVersion = 0, diff --git a/snapcraft.yaml b/snapcraft.yaml index 7bf918cde..c83fdcdb3 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,6 +1,6 @@ name: wekan -version: '7.47' +version: '7.48' base: core20 summary: Open Source kanban description: | @@ -171,9 +171,9 @@ parts: # Cleanup mkdir .build cd .build - wget https://github.com/wekan/wekan/releases/download/v7.47/wekan-7.47-amd64.zip - unzip wekan-7.47-amd64.zip - rm wekan-7.47-amd64.zip + wget https://github.com/wekan/wekan/releases/download/v7.48/wekan-7.48-amd64.zip + unzip wekan-7.48-amd64.zip + rm wekan-7.48-amd64.zip cd .. ##cd .build/bundle ##find . -type d -name '*-garbage*' | xargs rm -rf From e5c7650fc8eb5c3fcc6216f12e806ceb56fd94d9 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 6 Jun 2024 04:55:45 +0300 Subject: [PATCH 55/69] WeKan new release version number from wiki to WeKan repo docs. Thanks to xet7 ! --- docs/wekan.wiki/Offline.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/wekan.wiki/Offline.md b/docs/wekan.wiki/Offline.md index 3d8380414..5dd28e58b 100644 --- a/docs/wekan.wiki/Offline.md +++ b/docs/wekan.wiki/Offline.md @@ -8,7 +8,7 @@ This is without container (without Docker or Snap). Right click and download files 1-4: -1. [wekan-7.47-amd64-windows.zip](https://github.com/wekan/wekan/releases/download/v7.47/wekan-7.47-amd64-windows.zip) +1. [wekan-7.48-amd64-windows.zip](https://github.com/wekan/wekan/releases/download/v7.48/wekan-7.48-amd64-windows.zip) 2. [node.exe](https://nodejs.org/dist/latest-v14.x/win-x64/node.exe) @@ -20,7 +20,7 @@ Right click and download files 1-4: 6. Double click `mongodb-windows-x86_64-6.0.15-signed.msi` . In installer, uncheck downloading MongoDB compass. -7. Unzip `wekan-7.47-amd64-windows.zip` , inside it is directory `bundle`, to it copy other files: +7. Unzip `wekan-7.48-amd64-windows.zip` , inside it is directory `bundle`, to it copy other files: ``` bundle (directory) From 37857935f3c082ff11dcc10fc970e78e3525053b Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 6 Jun 2024 04:58:47 +0300 Subject: [PATCH 56/69] Updated ChangeLog. --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcf1e814c..c9cf62d08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,15 @@ Fixing other platforms In Progress. [How to upgrade WeKan](https://github.com/wekan/wekan/issues/4585) +# Upcoming WeKan ® release + +This release adds the following updates: + +- [WeKan new release version number from wiki to WeKan repo docs](https://github.com/wekan/wekan/commit/e5c7650fc8eb5c3fcc6216f12e806ceb56fd94d9). + Thanks to xet7 ! + +Thanks to above GitHub users for their contributions and translators for their translations. + # v7.48 2024-06-06 WeKan ® release This release adds the following updates: From 77ab5c1690700e2dcfa52215a673b020af1aba56 Mon Sep 17 00:00:00 2001 From: hekatomb Date: Thu, 6 Jun 2024 23:25:16 +0200 Subject: [PATCH 57/69] Bugfix: Strikethrough inactive Teams and orginizations rather than strikethrough active teams and orgs --- client/components/users/userAvatar.jade | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/components/users/userAvatar.jade b/client/components/users/userAvatar.jade index db123f282..e6c51ef5e 100644 --- a/client/components/users/userAvatar.jade +++ b/client/components/users/userAvatar.jade @@ -26,9 +26,9 @@ template(name="orgAvatar") template(name="boardOrgRow") tr if orgData.orgIsActive - td {{ orgData.orgDisplayName }} - else td {{ orgData.orgDisplayName }} + else + td {{ orgData.orgDisplayName }} td if currentUser.isBoardAdmin a.member.orgOrTeamMember.add-member.js-manage-board-removeOrg(title="{{_ 'remove-from-board'}}") @@ -39,9 +39,9 @@ template(name="boardOrgRow") template(name="boardTeamRow") tr if teamData.teamIsActive - td {{ teamData.teamDisplayName }} - else td {{ teamData.teamDisplayName }} + else + td {{ teamData.teamDisplayName }} td if currentUser.isBoardAdmin a.member.orgOrTeamMember.add-member.js-manage-board-removeTeam(title="{{_ 'remove-from-board'}}") From 91444cce9b0492fb4f5a45183e8cd8c9ae103e1a Mon Sep 17 00:00:00 2001 From: hekatomb Date: Fri, 7 Jun 2024 19:58:12 +0200 Subject: [PATCH 58/69] Fill out Org and Team in adminReports --- client/components/settings/adminReports.jade | 3 ++- client/components/settings/adminReports.js | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/client/components/settings/adminReports.jade b/client/components/settings/adminReports.jade index 955709ef8..1d6e35b16 100644 --- a/client/components/settings/adminReports.jade +++ b/client/components/settings/adminReports.jade @@ -138,7 +138,6 @@ template(name="boardsReport") th Members th Organizations th Teams - each board in results tbody tr @@ -148,5 +147,7 @@ template(name="boardsReport") td = yesOrNo(board.archived) td {{userNames board.members }} + td {{orgs board.orgs }} + td {{teams board.teams }} else div {{_ 'no-results' }} diff --git a/client/components/settings/adminReports.js b/client/components/settings/adminReports.js index ef364fb1b..23a438347 100644 --- a/client/components/settings/adminReports.js +++ b/client/components/settings/adminReports.js @@ -170,8 +170,27 @@ class AdminReport extends BlazeComponent { .join(", "); return ret; } + teams(memberTeams) { + const ret = (memberTeams || []) + .map(_memberTeam => { + const _ret = ReactiveCache.getTeam(_memberTeam.teamId)?.teamDisplayName || _memberTeam.teamId; + return _ret; + }) + .join(", "); + return ret; + } + orgs(orgs) { + const ret = (orgs || []) + .map(_orgs => { + const _ret = ReactiveCache.getOrg(_orgs.orgId)?.orgDisplayName || _orgs.orgId; + return _ret; + }) + .join(", "); + return ret; + } }.register('boardsReport')); + (class extends AdminReport { collection = Cards; From e3214c874ec9369ab6b865154f7964da8ec55f45 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 10 Jun 2024 14:40:49 +0300 Subject: [PATCH 59/69] Changed back to original icon of Edit Description. Thanks to saschafoerster, C0rn3j and xet7 ! Fixes #5413, related https://github.com/wekan/wekan/commit/1f2fb2ccce38e9cac348f1c459784d6e5a949ded --- client/components/cards/cardDetails.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index 4d2e5d802..b86158522 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -526,7 +526,7 @@ template(name="cardDetails") else if currentBoard.allowsDescriptionText a.js-open-inlined-form(title="{{_ 'edit'}}" value=title) - i.fa.fa-plus + i.fa.fa-pencil-square-o if getDescription +viewer = getDescription From 168b17ac4ee49ac66a9eb7d077cfe46e0d07b30b Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 10 Jun 2024 14:47:13 +0300 Subject: [PATCH 60/69] Updated ChangeLog. --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcf1e814c..c15356229 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,15 @@ Fixing other platforms In Progress. [How to upgrade WeKan](https://github.com/wekan/wekan/issues/4585) +# Upcoming WeKan ® release + +This release fixes the following bugs: + +- [Changed back to original icon of Edit Description](https://github.com/wekan/wekan/commit/e3214c874ec9369ab6b865154f7964da8ec55f45). + Thanks to saschafoerster, C0rn3j and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + # v7.48 2024-06-06 WeKan ® release This release adds the following updates: From f0170c576ce11004d597179b854b7389c7f1d138 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 10 Jun 2024 14:52:35 +0300 Subject: [PATCH 61/69] Updated ChangeLog. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23fa0b74f..20ceb378a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,8 @@ This release adds the following updates: and fixes the following bugs: +- [Bugfix: Strikethrough inactive Teams and orginizations logic was inverted](https://github.com/wekan/wekan/pull/5435). + Thanks to Hekatomb. - [Changed back to original icon of Edit Description](https://github.com/wekan/wekan/commit/e3214c874ec9369ab6b865154f7964da8ec55f45). Thanks to saschafoerster, C0rn3j and xet7. From bb9fb1187ec2f4b00258888b06c450fa4e230bfd Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 10 Jun 2024 14:54:13 +0300 Subject: [PATCH 62/69] Updated ChangeLog. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 20ceb378a..509cf6147 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,8 @@ This release adds the following updates: - [WeKan new release version number from wiki to WeKan repo docs](https://github.com/wekan/wekan/commit/e5c7650fc8eb5c3fcc6216f12e806ceb56fd94d9). Thanks to xet7. +- [Updated dependencies](https://github.com/wekan/wekan/pull/5430). + Thanks to dependabot. and fixes the following bugs: From 7c68d6a710593649d58c7658d8678c124253b27f Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 10 Jun 2024 16:27:51 +0300 Subject: [PATCH 63/69] Updated ChangeLog. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 509cf6147..524cdd4ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,8 @@ and fixes the following bugs: Thanks to Hekatomb. - [Changed back to original icon of Edit Description](https://github.com/wekan/wekan/commit/e3214c874ec9369ab6b865154f7964da8ec55f45). Thanks to saschafoerster, C0rn3j and xet7. +- [Fill out Org and Team in adminReports](https://github.com/wekan/wekan/pull/5440). + Thanks to Hekatomb. Thanks to above GitHub users for their contributions and translators for their translations. From 2f34d65164e97c515d7f9a738dd177f052eed412 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 20:33:21 +0000 Subject: [PATCH 64/69] Bump docker/build-push-action from 5.3.0 to 5.4.0 Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5.3.0 to 5.4.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/2cdde995de11925a030ce8070c3d77a52ffcf1c0...ca052bb54ab0790a636c9b5f226502c73d547a25) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/docker-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 9933d15f4..03eef44f7 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -55,7 +55,7 @@ jobs: # Build and push Docker image with Buildx (don't push on PR) # https://github.com/docker/build-push-action - name: Build and push Docker image - uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 + uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 with: context: . push: ${{ github.event_name != 'pull_request' }} From 6df03294bd72586a0dc0bcc4638fce326a3f75cd Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 11 Jun 2024 01:34:19 +0300 Subject: [PATCH 65/69] Updated ChangeLog. --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 524cdd4ba..20cfb9cf0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,7 +21,9 @@ This release adds the following updates: - [WeKan new release version number from wiki to WeKan repo docs](https://github.com/wekan/wekan/commit/e5c7650fc8eb5c3fcc6216f12e806ceb56fd94d9). Thanks to xet7. -- [Updated dependencies](https://github.com/wekan/wekan/pull/5430). +- Updated dependencies. + [Part 1](https://github.com/wekan/wekan/pull/5430), + [Part 2](https://github.com/wekan/wekan/pull/5441). Thanks to dependabot. and fixes the following bugs: From 8ba565042f4d5512652dd98bca9438b14dfa1b26 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 11 Jun 2024 01:40:43 +0300 Subject: [PATCH 66/69] v7.49 --- CHANGELOG.md | 2 +- Stackerfile.yml | 2 +- package-lock.json | 2 +- package.json | 2 +- public/api/wekan.html | 6 +++--- public/api/wekan.yml | 2 +- sandstorm-pkgdef.capnp | 4 ++-- snapcraft.yaml | 9 ++++----- 8 files changed, 14 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 20cfb9cf0..deb695900 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ Fixing other platforms In Progress. [How to upgrade WeKan](https://github.com/wekan/wekan/issues/4585) -# Upcoming WeKan ® release +# v7.49 2024-06-11 WeKan ® release This release adds the following updates: diff --git a/Stackerfile.yml b/Stackerfile.yml index ec98d652c..2b99bfce1 100644 --- a/Stackerfile.yml +++ b/Stackerfile.yml @@ -1,5 +1,5 @@ appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928 -appVersion: "v7.48.0" +appVersion: "v7.49.0" files: userUploads: - README.md diff --git a/package-lock.json b/package-lock.json index 11494d85b..e92f2a8b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "wekan", - "version": "v7.48.0", + "version": "v7.49.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3185aeb98..d8c9daf66 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wekan", - "version": "v7.48.0", + "version": "v7.49.0", "description": "Open-Source kanban", "private": true, "repository": { diff --git a/public/api/wekan.html b/public/api/wekan.html index 4faf6352e..e19aab928 100644 --- a/public/api/wekan.html +++ b/public/api/wekan.html @@ -7,7 +7,7 @@ - Wekan REST API v7.48 + Wekan REST API v7.49 @@ -1548,7 +1548,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
        • - Wekan REST API v7.48 + Wekan REST API v7.49
        • @@ -2067,7 +2067,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
          -

          Wekan REST API v7.48

          +

          Wekan REST API v7.49

          Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

          diff --git a/public/api/wekan.yml b/public/api/wekan.yml index 208e7d12a..1aaa609d2 100644 --- a/public/api/wekan.yml +++ b/public/api/wekan.yml @@ -1,7 +1,7 @@ swagger: '2.0' info: title: Wekan REST API - version: v7.48 + version: v7.49 description: | The REST API allows you to control and extend Wekan with ease. diff --git a/sandstorm-pkgdef.capnp b/sandstorm-pkgdef.capnp index 08f98cf28..4a1ace378 100644 --- a/sandstorm-pkgdef.capnp +++ b/sandstorm-pkgdef.capnp @@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = ( appTitle = (defaultText = "Wekan"), # The name of the app as it is displayed to the user. - appVersion = 748, + appVersion = 749, # Increment this for every release. - appMarketingVersion = (defaultText = "7.48.0~2024-06-06"), + appMarketingVersion = (defaultText = "7.49.0~2024-06-11"), # Human-readable presentation of the app version. minUpgradableAppVersion = 0, diff --git a/snapcraft.yaml b/snapcraft.yaml index c83fdcdb3..ed1241bfc 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,6 +1,5 @@ - name: wekan -version: '7.48' +version: '7.49' base: core20 summary: Open Source kanban description: | @@ -171,9 +170,9 @@ parts: # Cleanup mkdir .build cd .build - wget https://github.com/wekan/wekan/releases/download/v7.48/wekan-7.48-amd64.zip - unzip wekan-7.48-amd64.zip - rm wekan-7.48-amd64.zip + wget https://github.com/wekan/wekan/releases/download/v7.49/wekan-7.49-amd64.zip + unzip wekan-7.49-amd64.zip + rm wekan-7.49-amd64.zip cd .. ##cd .build/bundle ##find . -type d -name '*-garbage*' | xargs rm -rf From 9b428150a4fb9efdcb2ae9d3bb59d0da29529e69 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 11 Jun 2024 02:04:12 +0300 Subject: [PATCH 67/69] Updated docs for WeKan version for Windows. Thanks to xet7. --- docs/wekan.wiki/Offline.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/wekan.wiki/Offline.md b/docs/wekan.wiki/Offline.md index 5dd28e58b..2e5cafc41 100644 --- a/docs/wekan.wiki/Offline.md +++ b/docs/wekan.wiki/Offline.md @@ -8,7 +8,7 @@ This is without container (without Docker or Snap). Right click and download files 1-4: -1. [wekan-7.48-amd64-windows.zip](https://github.com/wekan/wekan/releases/download/v7.48/wekan-7.48-amd64-windows.zip) +1. [wekan-7.49-amd64-windows.zip](https://github.com/wekan/wekan/releases/download/v7.49/wekan-7.49-amd64-windows.zip) 2. [node.exe](https://nodejs.org/dist/latest-v14.x/win-x64/node.exe) @@ -20,7 +20,7 @@ Right click and download files 1-4: 6. Double click `mongodb-windows-x86_64-6.0.15-signed.msi` . In installer, uncheck downloading MongoDB compass. -7. Unzip `wekan-7.48-amd64-windows.zip` , inside it is directory `bundle`, to it copy other files: +7. Unzip `wekan-7.49-amd64-windows.zip` , inside it is directory `bundle`, to it copy other files: ``` bundle (directory) @@ -176,4 +176,4 @@ sudo snap set wekan port='80' ``` 12. Then at local network Wekan is at: -http://192.168.0.100 \ No newline at end of file +http://192.168.0.100 From e3929973d1e7c2be852f27a6662d6d7a76224721 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 11 Jun 2024 02:05:57 +0300 Subject: [PATCH 68/69] Updated ChangeLog. --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index deb695900..6e4f62c56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,15 @@ Fixing other platforms In Progress. [How to upgrade WeKan](https://github.com/wekan/wekan/issues/4585) +# Upcoming WeKan ® release + +This release adds the following updates: + +- [Updated docs for WeKan version for Windows](https://github.com/wekan/wekan/commit/9b428150a4fb9efdcb2ae9d3bb59d0da29529e69). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + # v7.49 2024-06-11 WeKan ® release This release adds the following updates: From d13d16976896ef752680fde1cda43e42a46c4413 Mon Sep 17 00:00:00 2001 From: Hekatomb <105611542+Hekatomb@users.noreply.github.com> Date: Thu, 13 Jun 2024 09:45:31 +0200 Subject: [PATCH 69/69] Update cardDetails.css Bugfix, task card may overflow below the screen when maximized, making the bottom part not viewable. Reason: Top position is set to 97px, Height of the element is set to calc(100% - 20px). Fix: Set the height to be lower than 100% - Top position --- client/components/cards/cardDetails.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/cards/cardDetails.css b/client/components/cards/cardDetails.css index 286d6d883..370cafb76 100644 --- a/client/components/cards/cardDetails.css +++ b/client/components/cards/cardDetails.css @@ -272,7 +272,7 @@ box-sizing: border-box; top: 97px; left: 0px; - height: calc(100% - 20px); + height: calc(100% - 100px); width: calc(100% - 20px); float: left; }