Merge branch 'main' of github.com:wekan/wekan
Some checks are pending
Docker / build (push) Waiting to run
Docker Image CI / build (push) Waiting to run
Release Charts / release (push) Waiting to run
Test suite / Meteor tests (push) Waiting to run
Test suite / Coverage report (push) Blocked by required conditions

This commit is contained in:
Lauri Ojansivu 2025-10-20 19:13:10 +03:00
commit 678ca978a3
9 changed files with 16 additions and 69 deletions

View file

@ -22,7 +22,7 @@ Fixing other platforms In Progress.
WeKan 8.00-8.06 had wrong raw database directory setting /var/snap/wekan/common/wekan and some cards were not visible. WeKan 8.00-8.06 had wrong raw database directory setting /var/snap/wekan/common/wekan and some cards were not visible.
Those are fixed at WeKan 8.07 where database directory is back to /var/snap/wekan/common and all cards are visible. Those are fixed at WeKan 8.07 where database directory is back to /var/snap/wekan/common and all cards are visible.
# Upcoming WeKan ® release # v8.07 2025-10-20 WeKan ® release
This release fixes the following bugs: This release fixes the following bugs:

View file

@ -249,9 +249,9 @@ cd /home/wekan/app
# Remove legacy webbroser bundle, so that Wekan works also at Android Firefox, iOS Safari, etc. # Remove legacy webbroser bundle, so that Wekan works also at Android Firefox, iOS Safari, etc.
#rm -rf /home/wekan/app_build/bundle/programs/web.browser.legacy #rm -rf /home/wekan/app_build/bundle/programs/web.browser.legacy
#mv /home/wekan/app_build/bundle /build #mv /home/wekan/app_build/bundle /build
wget "https://github.com/wekan/wekan/releases/download/v8.06/wekan-8.06-amd64.zip" wget "https://github.com/wekan/wekan/releases/download/v8.07/wekan-8.07-amd64.zip"
unzip wekan-8.06-amd64.zip unzip wekan-8.07-amd64.zip
rm wekan-8.06-amd64.zip rm wekan-8.07-amd64.zip
mv /home/wekan/app/bundle /build mv /home/wekan/app/bundle /build
# Put back the original tar # Put back the original tar

View file

@ -1,5 +1,5 @@
appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928 appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928
appVersion: "v8.06.0" appVersion: "v8.07.0"
files: files:
userUploads: userUploads:
- README.md - README.md

View file

@ -10,7 +10,7 @@ This is without container (without Docker or Snap).
Right click and download files 1-4: Right click and download files 1-4:
1. [wekan-8.06-amd64-windows.zip](https://github.com/wekan/wekan/releases/download/v8.06/wekan-8.06-amd64-windows.zip) 1. [wekan-8.07-amd64-windows.zip](https://github.com/wekan/wekan/releases/download/v8.07/wekan-8.07-amd64-windows.zip)
2. [node.exe](https://nodejs.org/dist/latest-v14.x/win-x64/node.exe) 2. [node.exe](https://nodejs.org/dist/latest-v14.x/win-x64/node.exe)
@ -22,7 +22,7 @@ Right click and download files 1-4:
6. Double click `mongodb-windows-x86_64-7.0.25-signed.msi` . In installer, uncheck downloading MongoDB compass. 6. Double click `mongodb-windows-x86_64-7.0.25-signed.msi` . In installer, uncheck downloading MongoDB compass.
7. Unzip `wekan-8.06-amd64-windows.zip` , inside it is directory `bundle`, to it copy other files: 7. Unzip `wekan-8.07-amd64-windows.zip` , inside it is directory `bundle`, to it copy other files:
``` ```
bundle (directory) bundle (directory)

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{ {
"name": "wekan", "name": "wekan",
"version": "v8.06.0", "version": "v8.07.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View file

@ -1,6 +1,6 @@
{ {
"name": "wekan", "name": "wekan",
"version": "v8.06.0", "version": "v8.07.0",
"description": "Open-Source kanban", "description": "Open-Source kanban",
"private": true, "private": true,
"repository": { "repository": {

View file

@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
appTitle = (defaultText = "Wekan"), appTitle = (defaultText = "Wekan"),
# The name of the app as it is displayed to the user. # The name of the app as it is displayed to the user.
appVersion = 806, appVersion = 807,
# Increment this for every release. # Increment this for every release.
appMarketingVersion = (defaultText = "8.06.0~2025-10-20"), appMarketingVersion = (defaultText = "8.07.0~2025-10-20"),
# Human-readable presentation of the app version. # Human-readable presentation of the app version.
minUpgradableAppVersion = 0, minUpgradableAppVersion = 0,

View file

@ -51,59 +51,6 @@ if [ ! -d "$MONGO_DATA_DIR" ]; then
chmod 755 "$MONGO_DATA_DIR" chmod 755 "$MONGO_DATA_DIR"
fi fi
# Handle migration from SNAP_COMMON/wekan back to SNAP_COMMON
# This ensures data is preserved when switching from per-swimlane lists back to shared lists
if [ ! -d "${SNAP_COMMON}/mongodb-migration-completed" ]; then
echo "Checking for MongoDB data migration from SNAP_COMMON/wekan to SNAP_COMMON..."
# Check if SNAP_COMMON/wekan exists and has MongoDB data
if [ -d "${SNAP_COMMON}/wekan" ] && [ "$(ls -A ${SNAP_COMMON}/wekan 2>/dev/null)" ]; then
echo "Found MongoDB data in SNAP_COMMON/wekan, migrating to SNAP_COMMON..."
# Create backup directory for existing SNAP_COMMON data
if [ "$(ls -A ${SNAP_COMMON} 2>/dev/null)" ]; then
echo "Backing up existing SNAP_COMMON data to SNAP_COMMON/old-mongodb-move..."
mkdir -p "${SNAP_COMMON}/old-mongodb-move"
# Move all files except Caddyfile
for file in "${SNAP_COMMON}"/*; do
if [ -f "$file" ] && [ "$(basename "$file")" != "Caddyfile" ]; then
mv "$file" "${SNAP_COMMON}/old-mongodb-move/"
fi
done
# Move specific MongoDB directories
if [ -d "${SNAP_COMMON}/journal" ]; then
echo "Moving SNAP_COMMON/journal to old-mongodb-move..."
mv "${SNAP_COMMON}/journal" "${SNAP_COMMON}/old-mongodb-move/"
fi
if [ -d "${SNAP_COMMON}/diagnostic.data" ]; then
echo "Moving SNAP_COMMON/diagnostic.data to old-mongodb-move..."
mv "${SNAP_COMMON}/diagnostic.data" "${SNAP_COMMON}/old-mongodb-move/"
fi
fi
# Move MongoDB data files from SNAP_COMMON/wekan to SNAP_COMMON
echo "Moving MongoDB data from SNAP_COMMON/wekan to SNAP_COMMON..."
mv "${SNAP_COMMON}/wekan"/* "${SNAP_COMMON}/" 2>/dev/null || true
# Rename SNAP_COMMON/wekan to SNAP_COMMON/old-wekan
echo "Renaming SNAP_COMMON/wekan to SNAP_COMMON/old-wekan..."
mv "${SNAP_COMMON}/wekan" "${SNAP_COMMON}/old-wekan"
# Set proper permissions
chmod 755 "${SNAP_COMMON}"
chmod 755 "${SNAP_COMMON}/old-wekan" 2>/dev/null || true
chmod 755 "${SNAP_COMMON}/old-mongodb-move" 2>/dev/null || true
echo "MongoDB data migration completed successfully"
else
echo "No MongoDB data found in SNAP_COMMON/wekan, skipping migration"
fi
# Mark migration as completed
touch "${SNAP_COMMON}/mongodb-migration-completed"
echo "MongoDB migration marker created"
fi
# Set MongoDB log file path # Set MongoDB log file path
export MONGO_LOG_FILE="${SNAP_COMMON}/mongodb.log" export MONGO_LOG_FILE="${SNAP_COMMON}/mongodb.log"
@ -183,4 +130,4 @@ echo $$ > "${SNAP_COMMON}/mongodb.pid"
exec /snap/${SNAP_NAME}/current/bin/mongod \ exec /snap/${SNAP_NAME}/current/bin/mongod \
--dbpath="$MONGO_DATA_DIR" \ --dbpath="$MONGO_DATA_DIR" \
--logpath="$MONGO_LOG_FILE" \ --logpath="$MONGO_LOG_FILE" \
--logappend $BIND_OPTIONS --logappend $BIND_OPTIONS

View file

@ -1,5 +1,5 @@
name: wekan name: wekan
version: '8.06' version: '8.07'
base: core24 base: core24
summary: Open Source kanban summary: Open Source kanban
description: | description: |
@ -166,9 +166,9 @@ parts:
# Cleanup # Cleanup
mkdir .build mkdir .build
cd .build cd .build
wget https://github.com/wekan/wekan/releases/download/v8.06/wekan-8.06-amd64.zip wget https://github.com/wekan/wekan/releases/download/v8.07/wekan-8.07-amd64.zip
unzip wekan-8.06-amd64.zip unzip wekan-8.07-amd64.zip
rm wekan-8.06-amd64.zip rm wekan-8.07-amd64.zip
cd .. cd ..
##cd .build/bundle ##cd .build/bundle
##find . -type d -name '*-garbage*' | xargs rm -rf ##find . -type d -name '*-garbage*' | xargs rm -rf