From e5995477b80a3c8e9fd423d14fd818a5b3ad5aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Manelli?= Date: Mon, 16 Apr 2018 14:33:53 -0300 Subject: Fix #1567 --- client/components/boards/boardBody.js | 10 ++++------ client/components/boards/boardHeader.jade | 2 +- client/components/boards/boardHeader.js | 18 +++++------------- client/components/lists/listBody.js | 10 +++++----- client/components/swimlanes/swimlanes.js | 7 +++---- models/boards.js | 8 -------- models/users.js | 16 +++++++++++++++- server/migrations.js | 11 +++++++++++ 8 files changed, 44 insertions(+), 38 deletions(-) diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js index aa7b6a75..456bf9b3 100644 --- a/client/components/boards/boardBody.js +++ b/client/components/boards/boardBody.js @@ -87,15 +87,13 @@ BlazeComponent.extendComponent({ }, isViewSwimlanes() { - const currentBoardId = Session.get('currentBoard'); - const board = Boards.findOne(currentBoardId); - return (board.view === 'board-view-swimlanes'); + const currentUser = Meteor.user(); + return (currentUser.profile.boardView === 'board-view-swimlanes'); }, isViewLists() { - const currentBoardId = Session.get('currentBoard'); - const board = Boards.findOne(currentBoardId); - return (board.view === 'board-view-lists'); + const currentUser = Meteor.user(); + return (currentUser.profile.boardView === 'board-view-lists'); }, openNewListForm() { diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade index ce444c27..fe0771cb 100644 --- a/client/components/boards/boardHeader.jade +++ b/client/components/boards/boardHeader.jade @@ -95,7 +95,7 @@ template(name="boardHeaderBar") a.board-header-btn.js-toggle-board-view( title="{{_ 'board-view'}}") i.fa.fa-th-large - span {{_ currentBoard.view}} + span {{_ currentUser.profile.boardView}} if canModifyBoard a.board-header-btn.js-multiselection-activate( diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js index 64cb0a54..2b587831 100644 --- a/client/components/boards/boardHeader.js +++ b/client/components/boards/boardHeader.js @@ -77,19 +77,11 @@ BlazeComponent.extendComponent({ Modal.open('archivedBoards'); }, 'click .js-toggle-board-view'() { - const currentBoard = Boards.findOne(Session.get('currentBoard')); - if (currentBoard.view === 'board-view-swimlanes') { - Boards.update(currentBoard._id, { - $set: { - view: 'board-view-lists', - }, - }); - } else if (currentBoard.view === 'board-view-lists') { - Boards.update(currentBoard._id, { - $set: { - view: 'board-view-swimlanes', - }, - }); + const currentUser = Meteor.user(); + if (currentUser.profile.boardView === 'board-view-swimlanes') { + currentUser.setBoardView('board-view-lists'); + } else if (currentUser.profile.boardView === 'board-view-lists') { + currentUser.setBoardView('board-view-swimlanes'); } }, 'click .js-open-filter-view'() { diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js index 6cc94371..52f34fab 100644 --- a/client/components/lists/listBody.js +++ b/client/components/lists/listBody.js @@ -37,11 +37,11 @@ BlazeComponent.extendComponent({ const labelIds = formComponent.labels.get(); const boardId = this.data().board()._id; - const board = Boards.findOne(boardId); let swimlaneId = ''; - if (board.view === 'board-view-swimlanes') + const boardView = Meteor.user().profile.boardView; + if (boardView === 'board-view-swimlanes') swimlaneId = this.parentComponent().parentComponent().data()._id; - else + else if (boardView === 'board-view-lists') swimlaneId = Swimlanes.findOne({boardId})._id; if (title) { @@ -106,8 +106,8 @@ BlazeComponent.extendComponent({ }, idOrNull(swimlaneId) { - const board = Boards.findOne(Session.get('currentBoard')); - if (board.view === 'board-view-swimlanes') + const currentUser = Meteor.user(); + if (currentUser.profile.boardView === 'board-view-swimlanes') return swimlaneId; return undefined; }, diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js index f37e1e9c..7965c2bc 100644 --- a/client/components/swimlanes/swimlanes.js +++ b/client/components/swimlanes/swimlanes.js @@ -2,11 +2,10 @@ const { calculateIndex } = Utils; function currentCardIsInThisList(listId, swimlaneId) { const currentCard = Cards.findOne(Session.get('currentCard')); - const currentBoardId = Session.get('currentBoard'); - const board = Boards.findOne(currentBoardId); - if (board.view === 'board-view-lists') + const currentUser = Meteor.user(); + if (currentUser.profile.boardView === 'board-view-lists') return currentCard && currentCard.listId === listId; - else if (board.view === 'board-view-swimlanes') + else if (currentUser.profile.boardView === 'board-view-swimlanes') return currentCard && currentCard.listId === listId && currentCard.swimlaneId === swimlaneId; else return false; diff --git a/models/boards.js b/models/boards.js index 436a99f5..3e05b499 100644 --- a/models/boards.js +++ b/models/boards.js @@ -31,14 +31,6 @@ Boards.attachSchema(new SimpleSchema({ } }, }, - view: { - type: String, - autoValue() { // eslint-disable-line consistent-return - if (this.isInsert) { - return 'board-view-lists'; - } - }, - }, createdAt: { type: Date, autoValue() { // eslint-disable-line consistent-return diff --git a/models/users.js b/models/users.js index da8ca77c..41179875 100644 --- a/models/users.js +++ b/models/users.js @@ -43,7 +43,9 @@ Users.attachSchema(new SimpleSchema({ optional: true, autoValue() { // eslint-disable-line consistent-return if (this.isInsert && !this.isSet) { - return {}; + return { + boardView: 'board-view-lists', + }; } }, }, @@ -95,6 +97,10 @@ Users.attachSchema(new SimpleSchema({ type: String, optional: true, }, + 'profile.boardView': { + type: String, + optional: true, + }, services: { type: Object, optional: true, @@ -329,6 +335,14 @@ Users.mutations({ setShowCardsCountAt(limit) { return {$set: {'profile.showCardsCountAt': limit}}; }, + + setBoardView(view) { + return { + $set : { + 'profile.boardView': view, + }, + }; + }, }); Meteor.methods({ diff --git a/server/migrations.js b/server/migrations.js index a1bdd487..ea13f6b4 100644 --- a/server/migrations.js +++ b/server/migrations.js @@ -208,3 +208,14 @@ Migrations.add('add-checklist-items', () => { ); }); }); + +Migrations.add('add-profile-view', () => { + Users.find().forEach((user) => { + // Set default view + Users.direct.update( + { _id: user._id }, + { $set: { 'profile.boardView': 'board-view-lists' } }, + noValidate + ); + }); +}); -- cgit v1.2.3-1-g7c22 From 29c3d939a77eac2199cdf6fa1b2c660d582022be Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 16 Apr 2018 21:49:23 +0300 Subject: Fix Switch List/swimlane view only working with admin privileges. Thanks to andresmanelli ! Closes #1567 --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d9fa04d7..dab26e29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# Upcoming Wekan release + +This release fixes the following bugs: + +- [Fix Switch List/swimlane view only working with admin privileges](https://github.com/wekan/wekan/issues/1567). + +Thanks to GitHub user andresmanelli for contributions. + # v0.84 2018-04-16 Wekan release This release adds the following new features: -- cgit v1.2.3-1-g7c22 From 0723a204e811b78cc57e8c4cfaea625cfd4fa0ea Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 16 Apr 2018 22:03:51 +0300 Subject: Try to fix Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 38a81cef..72a65638 100644 --- a/Dockerfile +++ b/Dockerfile @@ -88,14 +88,14 @@ RUN \ grep node node-SHASUMS256.txt.asc | shasum -a 256 -c - && \ rm -f node-SHASUMS256.txt.asc && \ chmod +x node && \ - mv node /opt/nodejs/bin/ && \ + mv node /opt/nodejs/bin/node && \ \ # Create symlinks ln -s /opt/nodejs/bin/node /usr/bin/node && \ ln -s /opt/nodejs/bin/npm /usr/bin/npm && \ \ # paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303 - paxctl -mC `which node` && \ + paxctl -mC /opt/nodejs/bin/node && \ \ # Install Node dependencies npm install -g npm@${NPM_VERSION} && \ -- cgit v1.2.3-1-g7c22 From bca4f0b842e863a84f22c1a8c9a0d03912e597fb Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 16 Apr 2018 22:30:48 +0300 Subject: Try to fix Dockerfile --- Dockerfile | 78 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 34 insertions(+), 44 deletions(-) diff --git a/Dockerfile b/Dockerfile index 72a65638..695efda3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,68 +34,58 @@ RUN \ apt-get update -y && apt-get install -y --no-install-recommends ${BUILD_DEPS} && \ \ # Download nodejs - wget https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-${ARCHITECTURE}.tar.gz && \ - wget https://nodejs.org/dist/${NODE_VERSION}/SHASUMS256.txt.asc && \ + #wget https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-${ARCHITECTURE}.tar.gz && \ + #wget https://nodejs.org/dist/${NODE_VERSION}/SHASUMS256.txt.asc && \ + #--------------------------------------------------------------------------------------------- + # Node Fibers 100% CPU usage issue: + # https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-381453161 + # https://github.com/meteor/meteor/issues/9796#issuecomment-381676326 + # https://github.com/sandstorm-io/sandstorm/blob/0f1fec013fe7208ed0fd97eb88b31b77e3c61f42/shell/server/00-startup.js#L99-L129 + # Also see beginning of wekan/server/authentication.js + # import Fiber from "fibers"; + # Fiber.poolSize = 1e9; + # Download node version 8.11.1 that has fix included, node binary copied from Sandstorm + # Description at https://releases.wekan.team/node.txt + # SHA256SUM: 18c99d5e79e2fe91e75157a31be30e5420787213684d4048eb91e602e092725d + wget https://releases.wekan.team/node-${NODE_VERSION}-${ARCHITECTURE}.tar.gz && \ + echo "5e345fba54360bcdbaa0f8343ddd288b4fe6bbcc6f1a7257576814c39ef6a782 node-v8.11.1-linux-x64.tar.xz" >> SHASUMS256.txt.asc && \ \ # Verify nodejs authenticity grep ${NODE_VERSION}-${ARCHITECTURE}.tar.gz SHASUMS256.txt.asc | shasum -a 256 -c - && \ - export GNUPGHOME="$(mktemp -d)" && \ - \ + #export GNUPGHOME="$(mktemp -d)" && \ + #\ # Try other key servers if ha.pool.sks-keyservers.net is unreachable # Code from https://github.com/chorrell/docker-node/commit/2b673e17547c34f17f24553db02beefbac98d23c # gpg keys listed at https://github.com/nodejs/node#release-team # and keys listed here from previous version of this Dockerfile - for key in \ - 9554F04D7259F04124DE6B476D5A82AC7E37093B \ - 94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \ - FD3A5288F042B6850C66B31F09FE44734EB7990E \ - 71DCFD284A79C3B38668286BC97EC7A07EDE3FC1 \ - DD8F2338BAE7501E3DD5AC78C273792F7D83545D \ - C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 \ - B9AE9905FFD7803F25714661B63B535A4C206CA9 \ - ; do \ - gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \ - gpg --keyserver pgp.mit.edu --recv-keys "$key" || \ - gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \ - done && \ - gpg --verify SHASUMS256.txt.asc && \ + #for key in \ + #9554F04D7259F04124DE6B476D5A82AC7E37093B \ + #94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \ + #FD3A5288F042B6850C66B31F09FE44734EB7990E \ + #71DCFD284A79C3B38668286BC97EC7A07EDE3FC1 \ + #DD8F2338BAE7501E3DD5AC78C273792F7D83545D \ + #C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 \ + #B9AE9905FFD7803F25714661B63B535A4C206CA9 \ + #; do \ + #gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \ + #gpg --keyserver pgp.mit.edu --recv-keys "$key" || \ + #gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \ + #done && \ + #gpg --verify SHASUMS256.txt.asc && \ # Ignore socket files then delete files then delete directories - find "$GNUPGHOME" -type f | xargs rm -f && \ - find "$GNUPGHOME" -type d | xargs rm -fR && \ + #find "$GNUPGHOME" -type f | xargs rm -f && \ + #find "$GNUPGHOME" -type d | xargs rm -fR && \ rm -f SHASUMS256.txt.asc && \ \ # Install Node tar xvzf node-${NODE_VERSION}-${ARCHITECTURE}.tar.gz && \ rm node-${NODE_VERSION}-${ARCHITECTURE}.tar.gz && \ mv node-${NODE_VERSION}-${ARCHITECTURE} /opt/nodejs && \ - \ - # Remove original node, use Fibers 100% CPU usage issue patched node - rm /opt/nodejs/bin/node && \ - # Node Fibers 100% CPU usage issue: - # https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-381453161 - # https://github.com/meteor/meteor/issues/9796#issuecomment-381676326 - # https://github.com/sandstorm-io/sandstorm/blob/0f1fec013fe7208ed0fd97eb88b31b77e3c61f42/shell/server/00-startup.js#L99-L129 - # Also see beginning of wekan/server/authentication.js - # import Fiber from "fibers"; - # Fiber.poolSize = 1e9; - # Download node version 8.11.1 that has fix included, node binary copied from Sandstorm - # Description at https://releases.wekan.team/node.txt - # SHA256SUM: 18c99d5e79e2fe91e75157a31be30e5420787213684d4048eb91e602e092725d - echo "18c99d5e79e2fe91e75157a31be30e5420787213684d4048eb91e602e092725d node" >> node-SHASUMS256.txt.asc && \ - wget https://releases.wekan.team/node && \ - # Verify Fibers patched node authenticity - echo "Fibers patched node authenticity:" && \ - grep node node-SHASUMS256.txt.asc | shasum -a 256 -c - && \ - rm -f node-SHASUMS256.txt.asc && \ - chmod +x node && \ - mv node /opt/nodejs/bin/node && \ - \ - # Create symlinks ln -s /opt/nodejs/bin/node /usr/bin/node && \ ln -s /opt/nodejs/bin/npm /usr/bin/npm && \ \ # paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303 - paxctl -mC /opt/nodejs/bin/node && \ + paxctl -mC `which node` && \ \ # Install Node dependencies npm install -g npm@${NPM_VERSION} && \ -- cgit v1.2.3-1-g7c22 From 61538ab577a0c3684b7f3778822c000868627e5e Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 16 Apr 2018 22:39:52 +0300 Subject: Try to fix Dockerfile. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 695efda3..6d52211f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,7 +48,7 @@ RUN \ # Description at https://releases.wekan.team/node.txt # SHA256SUM: 18c99d5e79e2fe91e75157a31be30e5420787213684d4048eb91e602e092725d wget https://releases.wekan.team/node-${NODE_VERSION}-${ARCHITECTURE}.tar.gz && \ - echo "5e345fba54360bcdbaa0f8343ddd288b4fe6bbcc6f1a7257576814c39ef6a782 node-v8.11.1-linux-x64.tar.xz" >> SHASUMS256.txt.asc && \ + echo "c85ed210a360c50d55baaf7b49419236e5241515ed21410d716f4c1f5deedb12 node-v8.11.1-linux-x64.tar.gz" >> SHASUMS256.txt.asc && \ \ # Verify nodejs authenticity grep ${NODE_VERSION}-${ARCHITECTURE}.tar.gz SHASUMS256.txt.asc | shasum -a 256 -c - && \ -- cgit v1.2.3-1-g7c22 From e9bb7e00414f495900bce570afa5219584f1d858 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 17 Apr 2018 21:36:15 +0300 Subject: Fix Wekan logo positioning. Thanks to iwkse and xet7 ! Closes #1583, closes #1378 --- CHANGELOG.md | 5 +++-- client/components/main/header.styl | 5 ++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dab26e29..b6274ab4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,10 @@ This release fixes the following bugs: -- [Fix Switch List/swimlane view only working with admin privileges](https://github.com/wekan/wekan/issues/1567). +- [Fix Switch List/swimlane view only working with admin privileges](https://github.com/wekan/wekan/issues/1567); +- [Fix Wekan logo positioning](https://github.com/wekan/wekan/issues/1378). -Thanks to GitHub user andresmanelli for contributions. +Thanks to GitHub users andresmanelli, iwkse and xet for their contributions. # v0.84 2018-04-16 Wekan release diff --git a/client/components/main/header.styl b/client/components/main/header.styl index 7993ce6a..f9455f8e 100644 --- a/client/components/main/header.styl +++ b/client/components/main/header.styl @@ -29,13 +29,12 @@ font-size: 0.9em margin-right: 10px - .wekan-logo - display: block - margin: 3px auto 0 + margin: 3px auto auto width: 97px opacity: 0.6 transition: opacity 0.15s + float: right &:hover opacity: 0.9 -- cgit v1.2.3-1-g7c22 From 7cc930f6b90ca227e6c1481672bf345e7dc8d215 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 18 Apr 2018 16:03:49 +0300 Subject: Fix lint error in Fibers size setting --- server/authentication.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/authentication.js b/server/authentication.js index efe95015..8059f176 100644 --- a/server/authentication.js +++ b/server/authentication.js @@ -1,10 +1,11 @@ +import Fiber from 'fibers'; + Meteor.startup(() => { // Node Fibers 100% CPU usage issue // https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-381453161 // https://github.com/meteor/meteor/issues/9796#issuecomment-381676326 // https://github.com/sandstorm-io/sandstorm/blob/0f1fec013fe7208ed0fd97eb88b31b77e3c61f42/shell/server/00-startup.js#L99-L129 - import Fiber from "fibers"; Fiber.poolSize = 1e9; Accounts.validateLoginAttempt(function (options) { -- cgit v1.2.3-1-g7c22 From 8d5cbf1e6c2b6d467fe1c0708cd794fd11b98a2e Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 18 Apr 2018 17:27:15 +0300 Subject: - Fix checklists items migration error "title is required" Thanks to xet7 ! Closes #1576 --- server/migrations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/migrations.js b/server/migrations.js index ea13f6b4..684a8bbe 100644 --- a/server/migrations.js +++ b/server/migrations.js @@ -140,7 +140,7 @@ Migrations.add('add-sort-checklists', () => { noValidate ); } - checklist.items.forEach(function(item, index) { + checklist.items.find().forEach((item, index) => { if (!item.hasOwnProperty('sort')) { Checklists.direct.update( { _id: checklist._id, 'items._id': item._id }, -- cgit v1.2.3-1-g7c22 From 1e0fcfd20de69abe0541c3e18af2ff5ef75e5815 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 18 Apr 2018 17:28:24 +0300 Subject: - Fix checklists items migration error "title is required" Thanks to xet7 ! Closes #1576 --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6274ab4..c4b7d6d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,8 @@ This release fixes the following bugs: - [Fix Switch List/swimlane view only working with admin privileges](https://github.com/wekan/wekan/issues/1567); -- [Fix Wekan logo positioning](https://github.com/wekan/wekan/issues/1378). +- [Fix Wekan logo positioning](https://github.com/wekan/wekan/issues/1378); +- [Fix checklists items migration error "title is required"](https://github.com/wekan/wekan/issues/1576). Thanks to GitHub users andresmanelli, iwkse and xet for their contributions. -- cgit v1.2.3-1-g7c22 From ce659632174ba25ca9b5e85b053fde02fd9c3928 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 18 Apr 2018 18:19:22 +0300 Subject: Removed paxctl alpine fix #1303 , because it did not work anymore. Thanks to xet7 ! Closes #1594 --- Dockerfile | 9 +++++---- snapcraft.yaml | 5 +++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6d52211f..c794f6dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,9 @@ ARG ARCHITECTURE ARG SRC_PATH # Set the environment variables (defaults where required) -# paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303 -ENV BUILD_DEPS="apt-utils gnupg gosu wget curl bzip2 build-essential python git ca-certificates gcc-7 paxctl" +# DOES NOT WORK: paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303 +# ENV BUILD_DEPS="paxctl" +ENV BUILD_DEPS="apt-utils gnupg gosu wget curl bzip2 build-essential python git ca-certificates gcc-7" ENV NODE_VERSION ${NODE_VERSION:-v8.11.1} ENV METEOR_RELEASE ${METEOR_RELEASE:-1.6.0.1} ENV USE_EDGE ${USE_EDGE:-false} @@ -84,8 +85,8 @@ RUN \ ln -s /opt/nodejs/bin/node /usr/bin/node && \ ln -s /opt/nodejs/bin/npm /usr/bin/npm && \ \ - # paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303 - paxctl -mC `which node` && \ + #DOES NOT WORK: paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303 + #paxctl -mC `which node` && \ \ # Install Node dependencies npm install -g npm@${NPM_VERSION} && \ diff --git a/snapcraft.yaml b/snapcraft.yaml index abcd1cc6..1c904878 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -118,8 +118,9 @@ parts: rm -f node-SHASUMS256.txt.asc chmod +x node mv node `which node` - echo "Applying paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303" - paxctl -mC `which node` + # DOES NOT WORK: paxctl fix. + #echo "Applying paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303" + #paxctl -mC `which node` echo "Installing meteor" curl https://install.meteor.com/ -o install_meteor.sh sed -i "s|RELEASE=.*|RELEASE=\"1.6.0.1\"|g" install_meteor.sh -- cgit v1.2.3-1-g7c22 From f41589ba823f84313b37ee1bde224500d2a778d7 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 18 Apr 2018 18:24:20 +0300 Subject: - Removed paxctl alpine fix #1303 , because it did not work anymore, so Docker container and Snap did not build correctly. Thanks to xet7 ! Closes #1594 --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c4b7d6d6..5a8e3f2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,9 @@ This release fixes the following bugs: - [Fix Switch List/swimlane view only working with admin privileges](https://github.com/wekan/wekan/issues/1567); - [Fix Wekan logo positioning](https://github.com/wekan/wekan/issues/1378); -- [Fix checklists items migration error "title is required"](https://github.com/wekan/wekan/issues/1576). +- [Fix checklists items migration error "title is required"](https://github.com/wekan/wekan/issues/1576); +- [Removed paxctl alpine fix #1303 , because it did not work anymore, so Docker container + did not build correctly](https://github.com/wekan/wekan/commit/ce659632174ba25ca9b5e85b053fde02fd9c3928). Thanks to GitHub users andresmanelli, iwkse and xet for their contributions. -- cgit v1.2.3-1-g7c22