Compare commits

...
116 Commits
Author SHA1 Message Date
github-actions[bot] f1f6fecf44 Bump versions for v9.89 2026-07-13 16:25:58 +00:00
Lauri Ojansivu 6cb4ae2d64 Updated ChangeLog. 2026-07-13 19:24:47 +03:00
Lauri Ojansivu 3ecb90fc04 package-lock.json: record hasInstallScript for yargs postinstall patch
The postinstall script (scripts/patch-yargs-dirname.cjs) added in 6b409c5da
to fix the Meteor/Mocha test boot crash makes npm mark the root package with
hasInstallScript: true. Sync the lockfile to match package.json.
2026-07-13 19:19:10 +03:00
Lauri Ojansivu dc135f6e7d SortBleed (GHSA-xm8x-c8wg-jhmf): board sort allow rule privilege escalation
A low-privilege (comment-only / read-only) board member could escalate to
board admin and take over a private board via the board 'sort' collection
allow rule. To support drag-to-reorder, a second Boards.allow({ update })
rule returned true for any board member whenever the update touched the
'sort' field. Meteor applies the WHOLE modifier once any allow rule approves
and no deny rule rejects, and does not scope the approving rule to the field
that satisfied it. Because canUpdateBoardSort only checked that 'sort' was
AMONG the modified fields, a restricted member could smuggle arbitrary board
mutations (members, permission, title) into the same $set as 'sort' in one
DDP Boards.update call, making themselves admin, flipping the private board
to public, and evicting the legitimate owner. The last-admin deny rule only
inspected $pull, so a wholesale $set of the members array bypassed it.

Fix: restrict canUpdateBoardSort so the sort-reorder rule approves an update
only when 'sort' is the sole modified field. Defense in depth: the last-admin
deny rule now also rejects a $set rewrite of the members array that would
drop the last active admin. Regression test covers the multi-field smuggling
case. The legitimate All Boards drag-reorder is unaffected: it persists order
per-user in profile.boardSortIndex, not in the board document.

CVSS:3.1 8.8 High (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), CWE-863, CWE-269.
Thanks to 5ud0 / Tarmo Technologies and xet7.
2026-07-13 19:08:29 +03:00
Lauri Ojansivu 5b8e47649e Updated translations. 2026-07-13 18:34:58 +03:00
Lauri Ojansivu fb1df544dd Updated translations. 2026-07-13 18:29:09 +03:00
Lauri Ojansivu f031b885d7 CI: add meteor-spk.yml (build the meteor-spk bundle) and sandstorm-store.yml (publish .spk)
- .github/workflows/meteor-spk.yml: assembles WeKan's modernized meteor-spk (the
  packaging tool + its meteor-spk.deps: Node 24, FerretDB, Mongo 3.x CLIs, modern
  sandstorm-http-bridge) via sandstorm-src/build-deps.sh — reusing sandstorm.yml's
  setup — and zips it as meteor-spk-YYYY-MM-DD_HH_MM_SS.zip, the same kind of
  self-contained bundle sandstorm-io/meteor-spk releases but with WeKan's deps baked in.
  Uploaded as an artifact and to the newest GitHub Release. Needs no keyring (it does
  not pack/sign a .spk).

- .github/workflows/sandstorm-store.yml: publishes an already-built .spk to the
  Sandstorm App Market. Installs Sandstorm + assembles meteor-spk and restores
  SANDSTORM_KEYRING like sandstorm.yml, downloads the newest .spk from the WeKan release
  (built and attached by sandstorm.yml), renames it to wekan-<VERSION>.spk (VERSION from
  the release tag, e.g. 9.88, overridable via inputs), and runs 'spk publish
  wekan-<VERSION>.spk' exactly like releases/release-sandstorm.sh. Does not rebuild the
  .spk.

Thanks to xet7.
2026-07-13 14:53:57 +03:00
Lauri Ojansivu a4c1ce3d41 meteor test: patch ALL yargs files' import.meta, not just esm.mjs
The crash moved from yargs/lib/platform-shims/esm.mjs to yargs/build/lib/utils/
apply-extends.js (import.meta.resolve(config.extends)) — yargs' ESM build has more than
one file using import.meta. Rewrite the workaround to scan the whole node_modules/yargs
tree and rewrite every ESM-only construct (import.meta.url/.resolve/.dirname/.filename,
const require = createRequire(...), and yargs' own const __dirname) to the CommonJS
wrapper equivalents in one pass, so a new yargs file can't reintroduce the boot crash.
yargs is never executed at runtime here, so only valid CommonJS parsing matters.

Thanks to xet7.
2026-07-13 14:46:01 +03:00
Lauri Ojansivu 5b0ad4d334 meteor test: also rewrite yargs esm.mjs import.meta / require for the CommonJS wrapper
Renaming only __dirname was not enough: yargs' esm.mjs also uses import.meta.url (invalid
in Meteor's CommonJS module wrapper -> 'Cannot use import.meta outside a module') and
redeclares require via createRequire(import.meta.url) (collides with the wrapper's
require). reify rewrites the file's import statements but not import.meta. Rewrite all
three to use the wrapper's __filename / __dirname / require, which yargs never actually
exercises here (it is only bundled, never called). Idempotent; also patches a file left
half-rewritten by the previous version of this script.

Thanks to xet7.
2026-07-13 14:39:17 +03:00
Lauri Ojansivu 6b409c5dad meteor test: postinstall patch renames yargs esm.mjs __dirname (fixes Mocha boot crash)
.meteorignore does not apply to node_modules under Meteor 3 / rspack (verified: the
rebuilt Mocha bundle still contained node_modules/yargs), so revert that no-op rule and
fix the actual crash instead.

Root cause (pre-existing, unrelated to app code): the whole yargs package gets pulled
into the server bundle as a transitive devDependency, and its ESM shim
node_modules/yargs/lib/platform-shims/esm.mjs declares a top-level
'const __dirname = fileURLToPath(import.meta.url)'. Meteor wraps that .mjs in a CommonJS
module function that already provides __dirname, so it collides —
'SyntaxError: Identifier __dirname has already been declared' — crashing the server
bundle at boot, which is why Mocha reported 0 tests.

Add scripts/patch-yargs-dirname.cjs, run from a package.json postinstall, which renames
yargs' local __dirname (and its .substring/.lastIndexOf uses) to __dirnameYargs so it can
no longer collide with the wrapper's. Idempotent and best-effort (never fails install);
yargs is not used at runtime here so the rename is inert for the app.

Thanks to xet7.
2026-07-13 14:14:32 +03:00
Lauri Ojansivu 298ffcfd3b meteor test: exclude i18next-sprintf-postprocessor/rollup.config.js so yargs is not bundled
'meteor test' (Mocha) crashed at boot with 'Identifier __dirname has already been
declared'. Root cause is unrelated to app code: node_modules/yargs/lib/platform-shims/
esm.mjs declares a top-level 'const __dirname = fileURLToPath(import.meta.url)', which
collides with the __dirname that Meteor's CommonJS module wrapper already provides. yargs
gets pulled into the bundle only because i18next-sprintf-postprocessor (imported by
imports/i18n/tap.js) ships a stray rollup.config.js that does require('yargs'), and a
devDependency (mongodb) has since installed yargs 18 into node_modules so that require now
resolves. That build config is not part of the package's runtime entry
(index.js -> dist/commonjs), so exclude it from Meteor's bundle via .meteorignore.

Pre-existing (the same boot crash happened before this branch's test work) and independent
of the avatar/import-export feature.

Thanks to xet7.
2026-07-13 09:16:33 +03:00
Lauri Ojansivu cf217784d1 Fix Mocha boot crash (test __dirname) and load the new avatar/import-export server files
Two build/load fixes surfaced by running the full test suite:

- server/imports.js: import the new server-only files so they actually load. In
  mainModule mode a file not imported here never loads, so Accounts.onLogin avatar
  localization (server/avatarLocalizationOnLogin.js) and the imported-user reconciliation
  Meteor methods (server/importedUserReconciliation.js) would silently never register.

- Test __dirname collision: 'meteor test' crashed at boot with 'Identifier __dirname has
  already been declared'. The client test index (client/lib/tests/index.js) loads
  boardTriggersClass.tests.js, which referenced the bare __dirname global; under
  meteor test that makes Meteor inject a  colliding with its CommonJS
  wrapper's, aborting the whole server bundle (the same failure already fixed once in
  dependencies.openapi.tests.js — this was the next file to trip it). Replace __dirname
  with a process.cwd()/PWD walk-up in boardTriggersClass.tests.js, and defensively in the
  node-run tests/rtl.test.js, tests/stickers.test.js and tests/stickers.packs.test.js too.

Thanks to xet7.
2026-07-13 09:16:33 +03:00
Lauri Ojansivu bb7fe88bd5 Tests: unit + negative tests for the avatar/import-export feature; extract pure logic
Split the testable, security- and correctness-critical logic of the new avatars +
original-members feature into pure Node modules (module.exports, no Meteor) and cover them
with plain-Node tests/*.test.cjs (positive AND negative), matching the repo's existing
unit-test style. Wired into the test:unit:node script.

- models/lib/avatarUrlSafety.js  (from server/lib/localizeAvatar.js): isExternalAvatarUrl,
  isBlockedIp (SSRF ranges), decodeDataUri, checkUrlHostSync. Tests assert external vs
  local/relative/non-http URLs, that private/loopback/link-local/CGNAT/metadata/multicast
  IPv4+IPv6 (incl. IPv4-mapped) are blocked while genuine public addresses and near-miss
  ranges are allowed, data: decoding, and that non-http(s) schemes, localhost and
  metadata hosts are rejected.
- models/lib/importedUserReconciliationPlan.js (from server/importedUserReconciliation.js):
  planReconciliation. Tests: matches merge, non-matches deactivate, never match another
  placeholder or self or a username-less placeholder.
- packages/wekan-ldap/server/ldapPhoto.js (from sync.js): getLdapPhotoBuffer. Tests the
  Buffer / array / {type:'Buffer'} / base64 shapes and jpegPhoto>thumbnailPhoto, and that
  missing/empty/short values yield null (never throw).
- models/lib/importedBoardMemberPlan.js (from wekanCreator.js): planImportedBoardMember.
  Tests: unmapped member kept by original id but inactive+non-admin, mapped role preserved,
  importer and id-less members dropped.

The extractions are behaviour-preserving; the app modules now import these helpers.

Thanks to xet7.
2026-07-13 09:16:33 +03:00
Lauri Ojansivu ffc6652be0 Changelog: avatars + original members travel with a board across export/import and identity sources
Thanks to xet7.
2026-07-13 09:16:32 +03:00
Lauri Ojansivu db90fb9e61 Members: distinguish imported placeholders and inactive members on the avatar + sidebar (Increment 5)
Make it obvious which board members are backed by a real account and which are not,
both on card avatars and in the right sidebar member list.

- userAvatar (js/jade/css): the avatar gets an 'imported-member' class (dashed grey ring
  + amber '?' corner badge) for un-reconciled board-import placeholders
  (authenticationMethod:'imported'), and an 'inactive-member' class (greyscale + dim +
  grey badge) for members deactivated on the board (e.g. a person not in LDAP after
  reconciliation). A placeholder is usually both; a real active account gets neither. The
  tooltip explains the state.
- boards.js membersForSidebar(): active members first (as before) then the inactive /
  imported ones appended, and sidebar.jade uses it, so the member list shows EVERYONE and
  which are active vs not instead of hiding inactive members.
- i18n: imported-member-no-account, inactive-member.

Thanks to xet7.
2026-07-13 09:16:32 +03:00
Lauri Ojansivu 6784726bac Imported users: reconcile placeholders with valid accounts, admin merge (Increment 4)
server/importedUserReconciliation.js turns the inert import placeholders into the right
real members deliberately, after import — never auto-mapped during import.

- reconcileImportedUsers(): for each authenticationMethod:'imported' placeholder, find a
  real account with the same username (not another placeholder) — the valid accounts are
  whatever real WeKan accounts exist, typically provisioned by LDAP/OIDC at login — and
  merge the placeholder into it; if none exists (e.g. the person is not in LDAP) leave the
  placeholder and its board memberships inactive (isActive:false).
- mergeImportedUserInto(placeholderId, targetId): reassign every reference (board.members,
  card.members, card.assignees, activities.userId, cardComments.userId) from the
  placeholder to the target, reusing the target's membership if it already is a member,
  then remove the placeholder.
- Admin-only Meteor methods reconcileImportedUsers and mergeImportedUser(placeholderId,
  targetId) for the automatic sweep and for one-off deliberate mapping.

Because reconciliation matches against existing real accounts (which LDAP populates on
login) it needs no direct LDAP query and is provider-agnostic. Merges reassign by the
preserved original _id, so nothing is lost.

Thanks to xet7.
2026-07-13 09:16:32 +03:00
Lauri Ojansivu 0c4b8f4d93 Board import: preserve original members as inert placeholder users, no mapping (Increment 3)
Importing a WeKan board no longer collapses unmapped members onto the importing user (a
wrong mapping attaches the wrong person and can leak board permissions). Instead each
original member carried in board.users becomes an inert placeholder user:

- createPlaceholderUsers() reuses the ORIGINAL _id, so every card/comment/activity
  member reference resolves to the right person with no remapping, and populates
  this.members as an identity map (id -> id) so _user() keeps the original member.
- Placeholders are created with Users.direct.insertAsync (bypassing the after.insert
  hooks — Sandstorm identity sync and the disableRegistration/invitation-code gate that
  would otherwise reject a non-account user), marked authenticationMethod:'imported',
  loginDisabled:true, isActive:false, and carry NO password or email. Username collisions
  suffix the placeholder's name so an existing account is never renamed/stolen.
- The member's avatar (embedded as base64 by the exporter) is restored into files/avatars
  via the localizer, so the original picture shows and is exportable again (Sandstorm too).
- Board membership adds imported members inactive and non-admin, so they are visible but
  hold no permissions until deliberately reconciled later; the importer stays sole admin.

Also guard the Sandstorm Users.after.insert hook to no-op on users without
services.sandstorm (placeholders), which otherwise threw reading preferredHandle.
Mapping/merging to real accounts and LDAP reconciliation are a later, deliberate step.

Thanks to xet7.
2026-07-13 09:16:32 +03:00
Lauri Ojansivu b98abe7b00 Board export: embed each member's local avatar file as base64 (Increment 2)
Board export already carried the original members' username, fullname and initials (the
field whitelist excludes passwords, emails and services). Now, for each member whose
avatar is a local WeKan file, embed the file itself as base64 (profile.avatarFile +
avatarFileName + avatarFileType) alongside the existing avatarUrl reference, in both the
in-memory build() and the streaming buildStream() paths.

Because this reads a local avatars file (no outbound fetch), it works inside a Sandstorm
grain too: a board that already has many stored avatars can be exported with every
member's picture intact, ready to re-import elsewhere. External, not-yet-localized
avatars are still exported as their URL only (Increment 1 localizes those into files
first, on board open / at login).

Thanks to xet7.
2026-07-13 09:16:32 +03:00
Lauri Ojansivu e0c76099f0 Avatars: import LDAP jpegPhoto and OIDC picture at login, localize on every login
Second set of triggers so external avatars from identity providers become local WeKan
avatars (files/avatars), shown in WeKan and carried by board export/import.

- LDAP (packages/wekan-ldap/server/sync.js): syncUserData now reads the binary
  jpegPhoto / thumbnailPhoto (tolerating Buffer / array / {type:'Buffer',data} / base64
  shapes) and, unless the user already has a locally-stored avatar, stores it as a
  self-contained data: URI in profile.avatarUrl. That displays immediately and needs no
  coupling from this package to app code; the app then materialises it to a real file.

- OIDC (packages/wekan-oidc/oidc_server.js): capture the standard  claim (with
  an OAUTH2_AVATAR_MAP override) into serviceData and set profile.avatarUrl for new users.

- App (server/avatarLocalizationOnLogin.js): Accounts.onLogin localizes the logging-in
  user's external avatar immediately (provider-agnostic), complementing the board-open
  trigger. Fire-and-forget, idempotent, never blocks login. (Inside a Sandstorm grain
  outbound fetch is sandboxed, so a Sandstorm profile picture is a best-effort no-op here
  and needs client-assisted capture — a later step.)

Thanks to xet7.
2026-07-13 09:16:32 +03:00
Lauri Ojansivu b4bfc75947 Avatars: localize board members' external avatars when a board is opened
First trigger for external-avatar localization: the single-board publication
(publishComposite('board')) now fires a best-effort, fire-and-forget
localizeBoardMemberAvatars(boardId). For every member whose profile.avatarUrl points
outside WeKan, it copies the image into WeKan's own files/avatars (via the SSRF-guarded
helper) and repoints avatarUrl at the local copy. Idempotent (already-local avatars are
skipped) and it never blocks or delays the publication.

This is the universal catch-all: no matter how a member's avatar became external
(OAuth2/OIDC picture URL, gravatar, a pasted URL), opening the board makes it a local,
exportable WeKan avatar. (Note: inside a Sandstorm grain outbound fetch is sandboxed, so
Sandstorm profile pictures need the provider-side capture added next; LDAP jpegPhoto is
binary and is imported at login, also next.)

Thanks to xet7.
2026-07-13 09:16:32 +03:00
Lauri Ojansivu dcd5f8fdd5 Avatars: add SSRF-guarded external-avatar localization helper (foundation)
First piece of making external avatars (Sandstorm profile pictures, LDAP jpegPhoto,
OAuth2/OIDC picture claims, gravatar, any URL/data-URI) into local WeKan avatar files
under WRITABLE_PATH/files/avatars, so they display without the identity provider and are
carried by board export/import.

server/lib/localizeAvatar.js:
- isExternalAvatarUrl(url): true unless already a local /cdn/storage/avatars/ (or legacy
  /cfs/files/avatars/) URL.
- localizeAvatarFromBuffer(userId, buffer, {type,name}): write bytes into the Avatars
  FilesCollection (onAfterUpload sets the user's local profile.avatarUrl).
- localizeAvatarFromUrl(userId, url): fetch (or decode a data: URI) then store.
- localizeUserAvatarIfExternal(user): idempotent no-op when already local.

Every network fetch is SSRF-guarded: http/https only; the host is resolved and any
private, loopback, link-local, CGNAT, multicast or cloud-metadata (169.254.169.254)
address is refused; 8s timeout; 5 MB cap; image content-type only. Not wired to any
trigger yet (board-open / export / login flows come next).

Thanks to xet7.
2026-07-13 09:16:32 +03:00
Lauri Ojansivu 7273220780 Updated ChangeLog. 2026-07-13 06:05:29 +03:00
Lauri Ojansivu 0d90011aff Update Sandstorm WeKan info.
Thanks to xet7 !
2026-07-13 06:04:50 +03:00
Lauri Ojansivu 2df6a77072 Updated ChangeLog. 2026-07-13 05:58:50 +03:00
Lauri Ojansivu ade9f16db4 Update Sandstorm WeKan info.
Thanks to xet7 !
2026-07-13 05:57:00 +03:00
Lauri Ojansivu 8cbfe3daee Updated ChangeLog. 2026-07-13 05:47:57 +03:00
Lauri Ojansivu 1bf68f54b2 Update Sandstorm WeKan info.
Thanks to xet7 !
2026-07-13 05:46:24 +03:00
github-actions[bot] 619eda0a9d Bump versions for v9.88 2026-07-13 02:12:35 +00:00
Lauri Ojansivu 3d2ab08294 Updated ChangeLog. 2026-07-13 05:10:47 +03:00
Lauri Ojansivu 6a12d968e0 Updated ChangeLog. 2026-07-13 05:05:53 +03:00
Lauri Ojansivu 9f23e6384b Added docs about new Sandstorm WeKan.
Thanks to xet7 !
2026-07-13 05:03:36 +03:00
Lauri Ojansivu 5d44e0b98b Sandstorm: remove the temporary MongoDB-3->FerretDB debugging diagnostics
Now that the grain boots, logs in, lists/opens boards, uploads/downloads attachments,
and migrates an old MongoDB 3 grain end to end, drop the two temporary diagnostics:

- models/attachments.js: revert the Meteor-Files debug flag to false (it was enabled on
  Sandstorm to trace the upload 'session expired [408]' issue and was spamming the grain
  log with the full FilesCollection dump and every find()).
- server/ferretdbQueryDebug.js: remove the mongodb Collection.find wrapper that logged
  FerretDB-rejected selectors (used to find the $elemMatch 'unknown operator: userId'
  issue, since fixed in wekan/FerretDB).

Thanks to xet7.
2026-07-13 04:11:22 +03:00
Lauri Ojansivu e65e06865a Changelog: Sandstorm/Snap migration modern driver, Meteor-Files GridFS + v1 binary, auto-open All Boards
Thanks to xet7.
2026-07-13 03:57:47 +03:00
Lauri Ojansivu b8bdbcd2d7 Sandstorm/Snap migration: auto-open All Boards after migration; WeKan-themed dashboard
Two UX requests once the migration itself works end to end:

- Auto-open All Boards. Previously the dashboard sat on the grain URL for 60s after
  completion and the admin had to reload to reach WeKan. On success the importer now
  exits after ~5s (long enough for the browser to fetch the done page), and the done
  page runs a JS poller that fetches '/' until WeKan's app shell answers (tolerating the
  brief importer->WeKan port hand-off gap) and then location.replace('/') opens All
  Boards. The spinner keeps spinning through the hand-off so it is clear the grain is
  still working; no meta-refresh on the done page (a refresh mid-hand-off would hit a
  dead port). On failure it still stays up a minute with the errors.

- WeKan colours. Recolour the dashboard from the dark scheme to WeKan's blue/white/grey
  (belize blue #2980b9 headings and spinner, white card on light-grey background, grey
  borders, system font).

Thanks to xet7.
2026-07-13 03:57:11 +03:00
Lauri Ojansivu 3476cd17c7 Sandstorm/Snap migration: extract Meteor-Files GridFS attachments + parse legacy v1 binary
With text collections migrating, the 3 attachments still produced 0 extracted files and
errors like 'parse attachments.chunks: Unexpected Binary Extended JSON format
{"$binary":"iVBOR..."}'. Two causes, both fixed:

1. Legacy Extended JSON v1 binary. mongo 3.x mongoexport writes binary as
   {"$binary":"<b64>","$type":"00"} (v1), but modern bson EJSON.parse only
   accepts v2 {"$binary":{"base64":...,"subType":...}}. Rewrite v1 -> v2 per line
   before parsing, so chunk data (and any binary in text collections) parses.

2. Meteor-Files native GridFS buckets were unhandled. The grain stores attachments in
   attachments.files + attachments.chunks (FilesCollection record in the attachments
   collection), not CollectionFS's cfs_gridfs.*. Reassemble those buckets to disk,
   linking each GridFS file to its record via metadata.fileId/versionName, then repoint
   the migrated record's versions.<v> at the file and DROP versions.<v>.meta.gridFsFileId
   — otherwise WeKan's getFileStrategy keeps choosing the (now-empty) GridFS backend and
   the image 404s. Also exclude <bucket>.files/.chunks (and tempstores) from the text
   migration so binary chunks are no longer run through EJSON as documents.

Thanks to xet7.
2026-07-13 03:28:13 +03:00
Lauri Ojansivu cab231ee3a Sandstorm/Snap migration: use the modern mongodb driver (OP_MSG) for FerretDB inserts
Text collections exported and 'inserted N/N' was logged, but every document actually
failed with 'Unsupported OP_QUERY command: update' — nothing reached FerretDB. Cause:
requireAny('mongodb') resolved the ANCIENT meteor-spk base driver (v2.x, at the deps
root) because the modern driver is not directly under programs/server/npm/node_modules
— Meteor nests it at .../meteor/npm-mongo/node_modules/mongodb (v6.16). The 2.x driver
speaks legacy OP_QUERY, which FerretDB rejects; the 6.x driver speaks OP_MSG (the same
driver the WeKan app uses against FerretDB). Add the npm-mongo path as the first
resolver anchor, and log the resolved driver version.

(Separately, GridFS attachment/avatar extraction still finds 0 files for this grain —
its attachments appear to be in Meteor-Files buckets (attachments.files/.chunks) rather
than the CollectionFS cfs_gridfs.* the importer currently handles; to be addressed once
the modern driver confirms text migration and the real attachment collection counts.)

Thanks to xet7.
2026-07-13 02:56:35 +03:00
Lauri Ojansivu d693ae8d7d Changelog: add individual commit links for the folded migration sub-fixes
Link the mongodb default-import, mongoexport --quiet removal, diagnostic/dashboard, and
createRequire commits inline within their parent migration bullets.

Thanks to xet7.
2026-07-13 02:44:17 +03:00
Lauri Ojansivu 5054dab8b6 Changelog: link the wiredTigerCacheSizeGB integer-value fix commit
Thanks to xet7.
2026-07-13 02:41:38 +03:00
Lauri Ojansivu 9c06bd5772 Changelog: update the migration EJSON bullet to the modern-bundle resolution fix
Thanks to xet7.
2026-07-13 02:41:01 +03:00
Lauri Ojansivu beefe441d7 Sandstorm/Snap migration: resolve bson/mongodb from the modern server bundle, not the old base
The EJSON diagnostic was conclusive: require('bson') returned an object with no EJSON,
mongodb.EJSON was undefined, and mongodb/lib/bson* were MODULE_NOT_FOUND. Cause: the
importer sits at the deps root next to the OLD meteor-spk 0.6.0 base node_modules
(bson 1.x with no EJSON at all, plus an ancient mongodb that has MongoClient but no
EJSON re-export), kept there only for the niscu->3.0 stage — so a bare require resolved
those adjacent copies. WeKan's current bson/mongodb (with EJSON) live under
programs/server/npm/node_modules. Anchor createRequire inside that modern bundle first
(falling back to the deps root), and load both mongodb and bson through it. This also
switches the importer to the modern mongodb driver — the same one the WeKan app uses
against FerretDB.

Thanks to xet7.
2026-07-13 02:36:09 +03:00
Lauri Ojansivu 0e0a8bbb33 Sandstorm/Snap migration: load mongodb/bson via createRequire; resolve EJSON robustly
The mongodb default import exposed MongoClient but NOT EJSON (mongodbPkg.EJSON was
undefined), so the previous 'take EJSON from mongodb' attempt still hit the FATAL
guard. Node 24's ESM default-interop for these CommonJS packages drops the
getter/re-export used for EJSON. Switch to createRequire (CJS require returns the real
module.exports with getters intact and honors NODE_PATH), and resolve EJSON by trying,
in order: mongodb.EJSON, mongodb/lib/bson.js, mongodb/lib/bson, bare bson's .EJSON,
and bare bson itself — falling back with a diagnostic list of what each attempt
returned so a remaining failure names the cause instead of just 'undefined'.

Thanks to xet7.
2026-07-13 02:20:23 +03:00
Lauri Ojansivu 5f40f612f5 Changelog: Sandstorm/Snap migration EJSON-from-mongodb-driver fix
Thanks to xet7.
2026-07-13 02:07:45 +03:00
Lauri Ojansivu b0703befd7 Sandstorm/Snap migration: get EJSON from the mongodb driver, not a bare bson import
With mongoexport connecting, every collection then failed with 'parse <coll>: Cannot
read properties of undefined (reading parse)' — EJSON was undefined. The importer runs
with NODE_PATH=programs/server/node_modules, but the EJSON-bearing bson (7.3.0) lives
under programs/server/npm/node_modules, so a bare 'import bson' did not resolve to it
and EJSON came out undefined. The mongodb driver (which resolves fine — MongoClient
works) bundles bson and re-exports EJSON from lib/bson.js, so take EJSON from the same
default import and drop the separate bson dependency. Add an upfront guard that fails
loudly if EJSON.parse is ever missing instead of spamming one error per collection.

Thanks to xet7.
2026-07-13 02:07:24 +03:00
Lauri Ojansivu 7f42db4670 Changelog: Sandstorm/Snap migration mongoexport IPv4 host fix + live dashboard
Thanks to xet7.
2026-07-13 01:49:45 +03:00
Lauri Ojansivu 6142396ae9 Sandstorm/Snap migration: connect mongoexport to 127.0.0.1 (IPv6 localhost broke it)
The real reason every mongoexport failed (revealed once --quiet was dropped):
'error connecting to db server: no reachable servers'. mongoexport is a Go tool
whose --host defaults to 'localhost', which resolves to ::1 (IPv6) first, but the
migration mongod listens only on --bind_ip 127.0.0.1 (IPv4) — so mongoexport could
never reach it, while the mongo shell (whose host defaults to 127.0.0.1) connected
fine and listed all 42 collections. Pass --host 127.0.0.1 explicitly.

Also fill the dashboard Activity panel from the first moment (mongoexport-ready line,
and one line per collection including empty ones) so progress is visible live instead
of the panel sitting on '(waiting…)' while only red connection errors accumulated.

Thanks to xet7.
2026-07-13 01:49:21 +03:00
Lauri Ojansivu 3076f2317e Sandstorm/Snap migration: drop mongoexport --quiet (it hid the error) + live activity log
The --version probe confirmed the bundled mongoexport runs fine (r3.2.22), yet every
per-collection export exited status=1 with empty stderr AND stdout. The empty stderr
was mongoexport's own --quiet flag suppressing its failure message. Drop --quiet so
the real reason (e.g. 'Failed: <reason>') prints to stderr; mongoexport's normal
progress lines also go to stderr, so stdout stays clean Extended JSON either way.

Also surface progress on the dashboard as the user asked: a rolling Activity log
(last ~15 lines: collections found, per-collection export/insert counts, GridFS file
extraction counts) rendered in a panel and mirrored to the grain log, so it is clear
what the migration is doing rather than only red errors appearing later.

Thanks to xet7.
2026-07-13 01:23:38 +03:00
Lauri Ojansivu 62df991532 Sandstorm/Snap migration: diagnose mongoexport failures + live progress dashboard
Every per-collection mongoexport failed with 'failed: undefined' because the error
only logged (r.stderr || r.error): an empty stderr with a non-zero/killed status
(e.g. a SIGSEGV, where spawnSync reports status=null, signal='SIGSEGV', stderr='')
printed as 'undefined', hiding the real cause. Log a full describe(r) instead
(status, signal, error code, stderr AND stdout snippets), and probe
'mongoexport --version' / '--help' once at startup so the next run shows whether the
bundled mongoexport binary itself is broken (dies on --version too → an ABI/bundling
problem) or only the export invocation is. The mongo shell on the same libs works
(listCollections succeeds), so this narrows it precisely.

Also make the progress dashboard obviously live: a CSS spinner while running (✅/❌
when done), a server 'updated' timestamp that changes on every 2s auto-refresh, and
an error counter — the previous page refreshed but showed no sign of activity.

Thanks to xet7.
2026-07-13 00:58:54 +03:00
Lauri Ojansivu 50abd8f95a Sandstorm/Snap migration: import mongodb as default (CommonJS) under Node 24 too
Same CommonJS/ESM interop issue as the bson import: with { EJSON } fixed, the
importer next threw 'Named export MongoClient not found. The requested module
mongodb is a CommonJS module'. The bundled mongodb driver is CommonJS under Node
24's ESM loader, so import the default and destructure MongoClient. These are the
only two third-party imports; the rest are node: builtins.

Thanks to xet7.
2026-07-13 00:33:32 +03:00
Lauri Ojansivu cafbb1761b Changelog: Sandstorm/Snap migration bson default-import fix for Node 24 ESM
Thanks to xet7.
2026-07-13 00:18:50 +03:00
Lauri Ojansivu a5bcb2e27c Sandstorm/Snap migration: import bson as default (CommonJS) under Node 24 ESM
With the WiredTiger cache fixed, mongod 3.0 now starts and the migration importer
runs, but it crashed immediately: 'import { EJSON } from "bson"' threw
"SyntaxError: Named export 'EJSON' not found. The requested module 'bson' is a
CommonJS module". bson (as bundled in WeKan's server node_modules) is CommonJS, so
Node 24's ESM loader exposes no named exports on it. Import the default and
destructure EJSON from it, as Node's own error message advises. Shared by the Snap
migration too (same Node 24).

Thanks to xet7.
2026-07-13 00:18:33 +03:00
Lauri Ojansivu 0804cd19e8 Sandstorm .spk: mongod 3.0 wiredTigerCacheSizeGB must be an integer (1, not 0.25)
mongod 3.0.7 parses --wiredTigerCacheSizeGB as an integer number of GB, so the
0.25 from the previous commit failed at startup with 'Error parsing option
wiredTigerCacheSizeGB as int: Bad digit "." while parsing 0.25' and the migration
still crash-looped. Use 1 (GB). It is a cache cap, not a preallocation, so a short
migration of a normal-sized grain never actually uses that much.

Thanks to xet7.
2026-07-12 23:57:43 +03:00
Lauri Ojansivu 3b109d14e8 Changelog: Sandstorm MongoDB 3 -> FerretDB migration fix (WiredTiger cache + source DB)
Thanks to xet7.
2026-07-12 23:39:09 +03:00
Lauri Ojansivu 3f5c70e643 Sandstorm .spk: fix MongoDB 3 -> FerretDB migration (WiredTiger cache=0G, wrong source DB)
Importing an existing WeKan grain crash-looped in the one-time MongoDB 3 -> FerretDB
migration: mongod 3.0 forked and its child aborted with exit code 14. Two bugs:

1. WiredTiger cache_size=0G. mongod 3.0 sizes the WiredTiger cache from detected
   RAM (RAM/2 - 1GB), but inside a Sandstorm grain sandbox RAM detection returns 0,
   so it computes cache_size=0G and WiredTiger refuses to open (minimum is 1MB),
   logging 'Value too small for key cache_size' and 'Fatal Assertion 28561' to
   /var/migration-mongod.log before aborting. Pass an explicit
   --wiredTigerCacheSizeGB 0.25 (256MB) to both mongod invocations (the niscu ->
   3.0 stage, which writes new WiredTiger data, and the 3.0 -> FerretDB stage) so
   the cache size never depends on RAM detection. The data itself is fine (turtle
   file: WiredTiger 2.5.3, i.e. written by mongod 3.0; the 'unclean shutdown'
   notice is harmless, WiredTiger recovers from the last checkpoint).

2. Wrong source database. Sandstorm WeKan grains store their data in the
   Meteor-default database 'meteor' (the niscu stage reads/writes 'meteor', and a
   real grain's WiredTiger catalog shows meteor.* collections), but the importer
   was told SRC_DB 'wekan', so even once mongod started it would have exported zero
   collections. Only the FerretDB target database is 'wekan'.

Thanks to xet7.
2026-07-12 23:38:52 +03:00
Lauri Ojansivu 455e498482 Changelog: Sandstorm open All Boards + grain URL sync fix
Thanks to xet7.
2026-07-12 23:12:45 +03:00
Lauri Ojansivu 3ab2b9dccb Sandstorm .spk: open All Boards (not sign-in) and keep the grain URL in sync
Two grain-navigation regressions vs the last working Sandstorm build (v6.15):

1. Opening a grain showed 'Must be logged in' instead of the All Boards page.
   On Sandstorm the platform authenticates the user asynchronously over DDP via
   connection.setUserId(), which (unlike a password login) does not set
   Meteor.loggingIn(), so Meteor.userId() is null for the first moments after the
   grain opens. useraccounts' ensureSignedIn route trigger and renderBoardList()
   both bounced that brief null window to the atSignIn route — a sign-in page that
   does not exist inside a grain. config/router.js now uses a Sandstorm-aware
   ensureSignedInUnlessSandstorm wrapper (a no-op on Sandstorm) and renderBoardList()
   no longer redirects on Sandstorm; the All Boards list renders and reactively
   fills in once the platform login lands.

2. The Sandstorm shell's outer grain URL did not update when switching boards. The
   shell rewrites /grain/<id><path> when the app posts a { setPath } message
   (sandstorm shell/imports/client/grain-client.js). The sync was a bare top-level
   Tracker.autorun that could run before flow-router-extra's reactive path tracking
   was initialised and then never re-run. Restore v6.15's event-driven
   FlowRouter.triggers.enter (fresh entering path, no dependency on init order) and
   additionally keep a watchPathChange() autorun wrapped in Meteor.startup as a
   backup. setTitle now also re-runs on route change.

Thanks to xet7.
2026-07-12 23:12:07 +03:00
Lauri Ojansivu d79f90fdfe Changelog: Sandstorm attachment/avatar download authorization via X-Sandstorm-User-Id
Thanks to xet7.
2026-07-12 22:55:11 +03:00
Lauri Ojansivu 1ca7bd3bb6 Sandstorm .spk: authorize attachment/avatar downloads via X-Sandstorm-User-Id
On Sandstorm the grain download route returned 403 for private boards, so
attachment thumbnails, minicard covers and the slideshow all showed broken
images even though the upload succeeded and the file was on disk. The download
handler (server/routes/universalFileServer.js) authorizes private-board files
via a Meteor login token (Authorization / X-Auth-Token / authToken query /
meteor_login_token cookie), but Sandstorm has none of these: authentication is
via connection.setUserId() and the sandstorm-http-bridge X-Sandstorm-* request
headers, so extractLoginToken() returned null and isAuthorizedForBoard() denied
every request. Sandstorm already gates grain access at the platform level, so any
request reaching WeKan is an authenticated grain user; trust it. Both
isAuthorizedForBoard() and isAuthorizedForAvatar() now short-circuit to allow
when Meteor.settings.public.sandstorm is set and the request carries the
bridge-injected X-Sandstorm-User-Id header. Gating on the setting means a spoofed
header cannot bypass auth on non-Sandstorm deployments.

Thanks to xet7.
2026-07-12 22:54:52 +03:00
Lauri Ojansivu 525cd07eee Changelog: add the Sandstorm DDP attachment-upload fix to Upcoming
Link the fix that switches attachment uploads to DDP transport on Sandstorm, since
the bridge strips Meteor-Files' custom x-* HTTP upload headers.

Thanks to xet7.
2026-07-12 22:29:06 +03:00
Lauri Ojansivu dc8ff6e6ca Sandstorm .spk: upload attachments over DDP (bridge strips Meteor-Files' HTTP headers)
Adding a file to a card in the grain failed with HTTP 400 "Can't continue upload,
session expired [408]" and the file silently disappeared. The Meteor-Files HTTP
upload protocol signals the first chunk with an x-start header and tracks the
session with x-mtok / x-chunkid / x-fileid / x-eof, but Sandstorm's request-header
whitelist (web-session.capnp) does not include those, so the sandstorm-http-bridge
strips them: the server never sees x-start, treats every request as a chunk
continuation, cannot find the per-fileId session and returns 408. Use
transport: 'ddp' on Sandstorm (detected via Meteor.settings.public.sandstorm) so
uploads go over DDP method calls instead of custom HTTP headers; HTTP transport is
kept everywhere else (it avoids the Safari DDP-reconnect stall).

Thanks to xet7.
2026-07-12 22:28:28 +03:00
Lauri Ojansivu c671a7fc8c Sandstorm .spk: temporarily enable Meteor-Files debug logging on Sandstorm
Attachment uploads in the grain fail with HTTP 400 "Can't continue upload, session
expired [408]": the upload start succeeds but the per-fileId session is gone by the
time a chunk arrives (both the in-memory _currentUploads entry and the
__pre_attachments pre-collection doc are missing), which points at the polling
observe (FerretDB has no oplog) firing a spurious removed event and aborting the
upload. The Attachments FilesCollection had debug: false, so nothing about the
upload path is logged. Enable Meteor-Files debug on Sandstorm only (gated on
Meteor.settings.public.sandstorm) so the grain debug log shows the start /
createStream / observer / continueUpload steps and pinpoints where the session is
lost. TEMPORARY: revert to debug: false once the upload is fixed.
2026-07-12 22:09:57 +03:00
Lauri Ojansivu d5092c9b2d Changelog: add the Sandstorm grain-URL sync fix to Upcoming
Link the fix that keeps the Sandstorm shell's grain URL in sync with the in-app
route via a reactive autorun.

Thanks to xet7.
2026-07-12 21:38:07 +03:00
Lauri Ojansivu 68e59ab66f Sandstorm .spk: keep the grain URL in sync with the in-app route
Navigating between boards worked but the Sandstorm shell's grain URL never updated
(it stayed on the grain root), unlike standalone WeKan. The path was synced via a
global FlowRouter.triggers.enter callback, which does not fire reliably on client
navigation in this flow-router-extra / Meteor 3 setup. Sync it from a reactive
Tracker.autorun on FlowRouter.watchPathChange() instead (the same mechanism the
setTitle sync already uses), so every route change posts setPath to the shell and
the grain URL becomes /grain/<id><path>.

Thanks to xet7.
2026-07-12 21:37:37 +03:00
Lauri Ojansivu 11f87c2115 Sandstorm .spk: temporary diagnostic to log the exact FerretDB-rejected query
Opening a board in the grain fails with "MongoServerError: unknown operator: userId"
(BadValue) - FerretDB rejecting a query MongoDB accepts - but the driver stack trace
has no WeKan call site, so the offending selector is unknown. This wraps the raw
mongodb Collection.find() to log the collection name and exact selector whenever a
cursor iteration throws, to pinpoint the query. TEMPORARY: to be removed once the
query is rewritten FerretDB-compatibly.

Thanks to xet7.
2026-07-12 19:57:16 +03:00
Lauri Ojansivu 21644652e2 Changelog: add the Sandstorm sign-in bounce fix to Upcoming
Link the fix that redirects from the sign-in page to the boards list once the
asynchronous Sandstorm auto-login sets Meteor.userId().

Thanks to xet7.
2026-07-12 18:47:30 +03:00
Lauri Ojansivu 6f3174b23d Sandstorm .spk: bounce from sign-in to the boards list once auto-login lands
The Sandstorm login was actually succeeding - Meteor.userId() gets set (confirmed:
Meteor.connection._userId held a valid id, Meteor.loggingIn() false) - but the grain
stayed on the sign-in page. WeKan's home route (renderBoardList) checks
Meteor.userId() once and, because the Sandstorm header login is asynchronous and
uses connection.setUserId() (bypassing accounts-base, so no Accounts.onLogin fires),
finds it still null on first render and redirects to 'atSignIn' - where the user is
stranded even after login completes moments later. Add a Sandstorm-only reactive
autorun that sends the user from 'atSignIn' back to 'home' as soon as
Meteor.userId() is set, so the grain lands on the All Boards page.

Thanks to xet7.
2026-07-12 18:47:01 +03:00
Lauri Ojansivu fb0c7f7f60 Changelog: add the ROOT_URL-per-request Sandstorm login/CORS fix to Upcoming
Link the fix that rewrites ROOT_URL to the grain's real URL so DDP, dynamic
imports and the Sandstorm auto-login stop failing cross-origin.

Thanks to xet7.
2026-07-12 18:15:37 +03:00
Lauri Ojansivu d5f707fd37 Sandstorm .spk: rewrite ROOT_URL per request to the grain URL (fixes login + CORS)
WeKan loaded but stayed on "Must be logged in", and the console showed
"Cross-Origin Request Blocked ... http://127.0.0.1:4000/__meteor__/dynamic-import/fetch".
The launcher sets a fixed ROOT_URL (http://127.0.0.1:4000, the internal bridge
target), but Sandstorm serves each grain at a per-session host (ui-<hash>.<host>)
via sandstorm-http-bridge, so the client sent its DDP connection and dynamic-import
fetches to 127.0.0.1:4000 - cross-origin and unreachable from the browser - and the
header-based login handshake (a DDP method call) never completed. Add a
WebApp.addRuntimeConfigHook that rewrites ROOT_URL to the grain's real base URL
(X-Sandstorm-Base-Path) per request, and re-asserts the SANDSTORM flag, so the
client talks to the same origin it loaded from. DDP, dynamic imports and the
Sandstorm auto-login now work.

Thanks to xet7.
2026-07-12 18:15:15 +03:00
Lauri Ojansivu be8976ed8c Changelog: add the SANDSTORM=1 auto-login fix to Upcoming
Link the fix that sets process.env.SANDSTORM=1 in the launcher so the
Sandstorm header-based auto-login runs and pages stop showing "Must be logged in".

Thanks to xet7.
2026-07-12 17:57:43 +03:00
Lauri Ojansivu b0712e6656 Sandstorm .spk: set SANDSTORM=1 so the header-based auto-login runs
WeKan loads in the grain but every page showed "Must be logged in". The
wekan-accounts-sandstorm client only starts the automatic X-Sandstorm-* header
login when __meteor_runtime_config__.SANDSTORM is set, and the package only sets
that when process.env.SANDSTORM is present - which nothing did (start.js set
MONGO_URL/ROOT_URL/PORT/WRITABLE_PATH but not SANDSTORM, and the pkgdef env didn't
either). The launcher now sets process.env.SANDSTORM = '1' before loading the WeKan
bundle, so the package enables the runtime flag and the client auto-logs-in the
Sandstorm user from the X-Sandstorm-* headers. (App code detects Sandstorm via a
separate Meteor.settings.public.sandstorm flag from the pkgdef METEOR_SETTINGS,
which already worked.)

Thanks to xet7.
2026-07-12 17:57:21 +03:00
Lauri Ojansivu ad46cb6102 Changelog: add the no-auto-board + global-role Sandstorm change to Upcoming
Link the change that stops auto-creating a board on a new grain and maps the
grain's Sandstorm permissions to the user's global WeKan role.

Thanks to xet7.
2026-07-12 17:40:33 +03:00
Lauri Ojansivu 8f11e8ac66 Sandstorm .spk: don't auto-create a board; map grain permissions to global role
WeKan on Sandstorm is multi-board now, so a new grain/user no longer gets a
hard-coded 'sandstorm'/libreboard board auto-created - the user creates their own
boards from the All Boards page. The Users.after.insert hook no longer inserts that
board + Default swimlane. updateUserPermissions previously added the user as a
member of that single board (which would now crash, since the board no longer
exists); it now maps the grain's Sandstorm permissions to the user's GLOBAL WeKan
role instead - 'configure' (grain owner) becomes a WeKan admin, everyone else is a
regular user who can create and manage their own boards. Dropped the now-unused
Boards/Swimlanes imports.

Thanks to xet7.
2026-07-12 17:40:09 +03:00
Lauri Ojansivu bb8233655c Changelog: add the "open on All Boards" Sandstorm change to Upcoming
Link the change that removes the hard-coded single-board redirect so the grain
opens on the All Boards page.

Thanks to xet7.
2026-07-12 17:37:36 +03:00
Lauri Ojansivu b5945cf596 Sandstorm .spk: open the grain on the All Boards page, not a hard-coded board
WeKan on Sandstorm originally opened a single hard-coded board
(/b/sandstorm/libreboard) and redirected "/" to it. It now supports many boards and
that libreboard is no longer the right destination, so redirecting to it is wrong.
Remove the WebApp.handlers.get("/") redirect entirely: "/" now falls through to
WeKan's normal serving, whose client "home" route (config/router.js) renders the
All Boards list - the right landing page for a multi-board grain. This also removes
the server-side redirect that browsers rejected as a Corrupted Content Error
(FlowRouter.path does not resolve on the server + Content-Length mismatch).

Thanks to xet7.
2026-07-12 17:36:16 +03:00
Lauri Ojansivu 6e60644bdb Changelog: add the "/" redirect (corrupted content) fix to Upcoming
Link the fix that builds the Sandstorm board redirect path directly and sends a
body with a matching Content-Length, so the grain's "/" stops failing with a
browser Corrupted Content Error.

Thanks to xet7.
2026-07-12 17:33:21 +03:00
Lauri Ojansivu ccdd1a0846 Sandstorm .spk: fix the "/" redirect (malformed Location + Content-Length mismatch)
The grain's "/" served a broken 301: Location was ".../:6080board" because
FlowRouter.path() does not resolve on the server in Meteor 3.x (it returned the
bare route name "board"), and the response advertised Content-Length: 90 while
sending an empty body, which the browser rejected as a "Corrupted Content Error"
(NS_ERROR_NET_CORRUPTED_CONTENT). Build the board path directly (/b/:id/:slug, the
'board' route) and send a real HTML body (meta-refresh + link) with a matching
Content-Length, so the redirect to the hard-coded Sandstorm board works. Together
with the Accept-Encoding strip (keeps Content-Length valid) and the modern bridge.

Thanks to xet7.
2026-07-12 17:32:54 +03:00
Lauri Ojansivu 04737bd76e Changelog: add the modern sandstorm-http-bridge fix to Upcoming
Link the fix that bundles a modern sandstorm-http-bridge (from the Sandstorm
install) so the grain stops serving Corrupted Content on WeKan's "/" redirect.

Thanks to xet7.
2026-07-12 04:28:04 +03:00
Lauri Ojansivu 7f0706e45f Sandstorm .spk: bundle a modern sandstorm-http-bridge to fix "Corrupted Content"
The grain boots, but the page failed with a browser "Corrupted Content Error"
(NS_ERROR_NET_CORRUPTED_CONTENT) on WeKan's "/" redirect (0 bytes, ~8.5s, then
failed). The meteor-spk 0.6.0 base bundles an ancient (~2016) sandstorm-http-bridge
that mangles responses - it always advertises Accept-Encoding: gzip to the app and
mishandles redirect/encoding. build-deps.sh now overwrites the bundled
/sandstorm-http-bridge with the modern one from a Sandstorm install
(/opt/sandstorm/latest/bin/sandstorm-http-bridge; override with SANDSTORM_HTTP_BRIDGE).
Sandstorm is amd64-only so one binary covers it. The sandstorm.yml workflow now
installs Sandstorm before assembling the deps so the bridge is available on the CI
runner. Complements the app-side Accept-Encoding strip.

Thanks to xet7.
2026-07-12 04:27:40 +03:00
Lauri Ojansivu ab8da931cf Changelog: add the Sandstorm Accept-Encoding (corrupted content) fix to Upcoming
Link the fix that strips Accept-Encoding in the Sandstorm grain so Meteor serves
uncompressed responses and the browser stops showing a Corrupted Content Error.

Thanks to xet7.
2026-07-12 03:56:02 +03:00
Lauri Ojansivu 013b6b5266 Sandstorm .spk: strip Accept-Encoding so the grain doesn't serve corrupted (gzip) content
The grain now boots, but the page failed to load with a browser "Corrupted Content
Error" (NS_ERROR_NET_CORRUPTED_CONTENT). sandstorm-http-bridge advertises
"Accept-Encoding: gzip" to the app regardless of what the browser actually sent, so
Meteor served gzip/brotli-encoded responses the browser could not decode. Strip
Accept-Encoding in a WebApp.rawHandlers middleware (which runs before Meteor's
static/boilerplate serving) so responses go out uncompressed; bandwidth is a
non-issue behind the local bridge.

Thanks to xet7.
2026-07-12 03:55:37 +03:00
Lauri Ojansivu 0115622a9a Changelog: add the FerretDB boolean-index-option fix to Upcoming
Link the fix that makes the services.sandstorm.id unique index use boolean
options so FerretDB accepts it and the Sandstorm grain boots past index creation.

Thanks to xet7.
2026-07-12 03:39:35 +03:00
Lauri Ojansivu 975316f5cd Sandstorm .spk: use boolean index options so FerretDB accepts the users index
wekan-accounts-sandstorm created the unique index on services.sandstorm.id with
{unique: 1, sparse: 1}. Real MongoDB accepts the truthy 1, but FerretDB (used by
the Sandstorm .spk) is strict and rejects it with "The field 'unique' has value
unique: 1, which is not convertible to bool", crashing the grain at boot during
index creation. Use real booleans (unique: true, sparse: true).

Thanks to xet7.
2026-07-12 03:39:17 +03:00
Lauri Ojansivu 54aad554aa Changelog: add the sandstorm.js stale-globals boot fix to Upcoming
Link the fix that imports the Users/Boards/Swimlanes/Activities collections and
drops the removed-HTTP-package monkey patch, so the Sandstorm grain boots past
the capnp guard.

Thanks to xet7.
2026-07-12 03:27:25 +03:00
Lauri Ojansivu 60e40199c9 Sandstorm .spk: fix server-boot crashes from stale globals (Users, HTTP) in sandstorm.js
Once the capnp load was made non-fatal, the grain reached the rest of sandstorm.js
and hit two latent Meteor-2.x-isms the Meteor 3.x migration missed (this file only
runs on Sandstorm, so it was not exercised): (1) it referenced the Users, Boards,
Swimlanes and Activities collections as implicit globals, but those are now ES
module default exports, so `Users.after.insert` threw "Users is not defined" at
boot; and (2) it monkey-patched `HTTP.methods` from the meteor/http package, which
was removed in the Meteor 3.x migration, so `HTTP` was undefined. Import the
collections (and Accounts) explicitly, and remove the obsolete HTTP.methods patch
(WeKan's REST API no longer uses it - it uses WebApp/JsonRoutes with header auth).

Thanks to xet7.
2026-07-12 03:27:02 +03:00
Lauri Ojansivu ff3f35ac43 Changelog: add the split-snap-build (native amd64/arm64 + non-blocking Launchpad) to Upcoming
Link the release-workflow change that builds amd64/arm64 natively on GitHub and
moves the exotic arches to a non-blocking per-arch Launchpad matrix, so the
release no longer hangs hours on riscv64.

Thanks to xet7.
2026-07-12 03:21:30 +03:00
Lauri Ojansivu 8549a62c85 Snap release: build amd64+arm64 natively on GitHub, exotic arches non-blocking on Launchpad
The single snap job ran `snapcraft remote-build` for all 5 platforms on Launchpad
and blocked until the slowest resolved, so the release hung ~3.5h on riscv64's
Launchpad queue even though amd64+arm64 finished in minutes. Split it in two:
snap-native builds amd64 (ubuntu-24.04) and arm64 (ubuntu-24.04-arm) NATIVELY on
GitHub runners via snapcore/action-build; snap-launchpad builds s390x/ppc64el/
riscv64 on Launchpad in a NON-BLOCKING (continue-on-error), per-arch matrix
(remote-build --build-for <arch>) so a slow or failed exotic arch never delays the
release or the other arches. Each arch publishes to the Snap Store
(candidate,beta,edge) and attaches to the GitHub Release the moment it finishes.
All 5 arches still ship.

Thanks to xet7.
2026-07-12 03:21:03 +03:00
Lauri Ojansivu 8b9202d677 Changelog: add the Sandstorm capnp grain-boot fix to Upcoming
Link the fix that stops capnp.node's Node 24 ABI mismatch from crash-looping
the Sandstorm grain; the grain now boots and core WeKan works via the
sandstorm-http-bridge headers.

Thanks to xet7.
2026-07-12 03:08:53 +03:00
Lauri Ojansivu f4f22bbe24 Sandstorm .spk: don't crash the grain when capnp.node can't load on Node 24
WeKan on Sandstorm bundles Node 24, but capnp.node (node-capnp) is built for an
older Node ABI (NODE_MODULE_VERSION 83 = Node 14), so `Npm.require('capnp')` in
sandstorm.js failed with ERR_DLOPEN_FAILED and crash-looped the whole grain on
boot. Load Cap'n Proto lazily in a try/catch and degrade gracefully: the grain
boots and core WeKan works, because login and user identity come from the
sandstorm-http-bridge X-Sandstorm-* HTTP headers (wekan-accounts-sandstorm) and
need no Cap'n Proto. Only the two capnp-only features are skipped when the addon
cannot load - the Powerbox identity-claim method and the Sandstorm activity
notifications - and they log a clear warning. These can be restored by rebuilding
node-capnp for Node 24, or reimplemented over the bridge's HTTP/JSON API (see the
Sandstorm CHANGELOG: use Cap'n Proto APIs without Cap'n Proto).

Thanks to xet7.
2026-07-12 03:08:23 +03:00
Lauri Ojansivu 32b561cfbf Changelog: add the FerretDB state-dir Sandstorm fix to Upcoming
Link the fix that points FerretDB's --state-dir to writable /var so the
Sandstorm grain starts instead of crash-looping on a read-only /state.json.

Thanks to xet7.
2026-07-12 02:25:07 +03:00
Lauri Ojansivu 1c28b40fd4 Sandstorm .spk: point FerretDB state dir to writable /var so the grain starts
FerretDB persists a state.json (version/UUID) via its state provider even
when telemetry is disabled, and its --state-dir defaults to "." — which in a
Sandstorm grain is "/", read-only. So FerretDB failed with "Failed to create
state provider: failed to persist state: open /state.json: read-only file
system", exited (code 1), and the grain crash-looped. sandstorm-src/start.js
now creates /var/ferretdb and passes --state-dir=/var/ferretdb (plus the
FERRETDB_STATE_DIR env) in startFerret(), covering both the migration and the
steady-state FerretDB launches.

Thanks to xet7.
2026-07-12 02:24:27 +03:00
Lauri Ojansivu 7f5cc03ea9 Changelog: add the Sandstorm .spk and Meteor unit tests fixes to Upcoming
List the glibc-loader grain crash-loop fix, the Sandstorm build-workflow
userns/ref fix, and the Meteor unit tests __dirname server-boot fix in the
Upcoming release section, each linking to its commit.

Thanks to xet7.
2026-07-12 01:58:12 +03:00
Lauri Ojansivu 60116bc72f Meteor unit tests: fix server-boot crash from __dirname in an ESM test file
server/lib/tests/dependencies.openapi.tests.js is an ES module (top-level
import) that referenced the bare __dirname global. Under Node 24 / Meteor 3.5
the compiler injects "const __dirname = fileURLToPath(import.meta.url)" for
ESM files that use __dirname, which collides with the __dirname the CommonJS
module wrapper already provides, so the whole server bundle failed to boot
with "Identifier '__dirname' has already been declared" and the "Meteor unit
tests" CI job died before any test ran. Drop the __dirname seed
(process.env.PWD already reaches the repo root under `meteor test`, and the
suite skips gracefully otherwise).

Thanks to xet7.
2026-07-12 01:57:23 +03:00
Lauri Ojansivu 66d8706c4d Sandstorm build workflow: enable unprivileged user namespaces and build the dispatched branch
Ubuntu 24.04 defaults kernel.apparmor_restrict_unprivileged_userns=1, which
blocks the unprivileged user namespaces the Sandstorm install and the spk
supervisor rely on, so sandstorm.yml now relaxes it on the runner. Also added
a "ref" workflow_dispatch input and check out that ref instead of a hardcoded
main, so a fix branch can be built and tested before it is merged to main.

Thanks to xet7.
2026-07-12 01:57:23 +03:00
Lauri Ojansivu 143607ef22 Sandstorm .spk: bundle the matching glibc dynamic loader so grains start
The .spk bundled the host's new glibc libc.so.6 (Ubuntu 24.04, glibc 2.39)
but kept the old glibc 2.31 ld-linux from the meteor-spk 0.6.0 base, so node
failed at startup with "libc.so.6: undefined symbol: _dl_audit_symbind_alt,
version GLIBC_PRIVATE" (HTTP-BRIDGE exit 127) and the grain crash-looped.
sandstorm-src/build-deps.sh now also copies the host's ld-linux-x86-64.so.2
into the deps so the loader and libc are the same glibc, and adds a [verify]
gate that fails the build if the bundled libc and loader glibc versions
differ or the bundled node cannot run under them - turning a silent grain
crash-loop into a loud build failure.

Thanks to xet7.
2026-07-12 01:57:23 +03:00
Lauri Ojansivu 0f52b6a787 Merge pull request #6447 from wekan/dependabot/npm_and_yarn/mongodb-7.5.0
Bump mongodb from 7.3.0 to 7.5.0
2026-07-12 00:23:37 +03:00
Lauri Ojansivu 87f4536e9d Bump @aws-sdk/client-s3 to ^3.1085.0 to match @aws-sdk/lib-storage 3.1085.0
Dependabot #6451 bumped lib-storage to ~3.1085.0, whose peer requires
client-s3 ^3.1085.0, but client-s3 was left at ^3.1071.0 — breaking
meteor npm install / npm ci with an ERESOLVE peer conflict.
2026-07-12 00:21:55 +03:00
Lauri Ojansivu cdde52392b sandstorm: trim .spk toward Cloudflare's 100 MB upload limit
- Drop the ~300 MB of modern MongoDB Database Tools (wekan/mongo-tools) from the
  Sandstorm build: they are unused there (Sandstorm backs up/restores grains
  itself; the MongoDB 3 -> FerretDB migration uses the legacy migratemongo CLIs +
  the .mjs importer). They stay in the .zip bundle / Docker / Snap, which use them.
- Set PUPPETEER_SKIP_DOWNLOAD=1 for the Meteor build (puppeteer is a test-only
  devDependency; its ~150 MB Chromium must never end up in the .spk).
- Pack step prints the .spk size and warns when it exceeds 100 MB.
2026-07-12 00:02:07 +03:00
dependabot[bot] 62f93fa46c Bump mongodb from 7.3.0 to 7.5.0
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 7.3.0 to 7.5.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v7.3.0...v7.5.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-version: 7.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-11 20:47:29 +00:00
Lauri Ojansivu 5b3a3fb744 Merge pull request #6451 from wekan/dependabot/npm_and_yarn/aws-sdk/lib-storage-3.1085.0
Bump @aws-sdk/lib-storage from 3.1073.0 to 3.1085.0
2026-07-11 23:39:47 +03:00
Lauri Ojansivu 349f4aa046 Merge pull request #6452 from wekan/dependabot/npm_and_yarn/i18next-26.3.6
Bump i18next from 26.3.4 to 26.3.6
2026-07-11 23:39:10 +03:00
Lauri Ojansivu ae1f37658c Merge pull request #6449 from wekan/dependabot/npm_and_yarn/puppeteer-25.3.0
Bump puppeteer from 25.1.0 to 25.3.0
2026-07-11 23:38:24 +03:00
Lauri Ojansivu df94214798 Merge pull request #6448 from wekan/dependabot/npm_and_yarn/tests/playwright/mongodb-7.5.0
Bump mongodb from 7.4.0 to 7.5.0 in /tests/playwright
2026-07-11 23:37:56 +03:00
Lauri Ojansivu 6c22e43be8 Merge pull request #6450 from wekan/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-8.63.0
Bump @typescript-eslint/eslint-plugin from 8.61.1 to 8.63.0
2026-07-11 23:37:29 +03:00
dependabot[bot] 5e5baf5ed7 Bump i18next from 26.3.4 to 26.3.6
---
updated-dependencies:
- dependency-name: i18next
  dependency-version: 26.3.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-11 20:34:11 +00:00
dependabot[bot] 713c13831b Bump @aws-sdk/lib-storage from 3.1073.0 to 3.1085.0
Bumps [@aws-sdk/lib-storage](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/lib/lib-storage) from 3.1073.0 to 3.1085.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/lib/lib-storage/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1085.0/lib/lib-storage)

---
updated-dependencies:
- dependency-name: "@aws-sdk/lib-storage"
  dependency-version: 3.1085.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-11 20:33:55 +00:00
dependabot[bot] e400ecf548 Bump @typescript-eslint/eslint-plugin from 8.61.1 to 8.63.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.61.1 to 8.63.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.63.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-version: 8.63.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-11 20:33:27 +00:00
dependabot[bot] e9db3a8c2f Bump puppeteer from 25.1.0 to 25.3.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 25.1.0 to 25.3.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v25.1.0...puppeteer-v25.3.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-version: 25.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-11 20:32:58 +00:00
dependabot[bot] 260a2afacc Bump mongodb from 7.4.0 to 7.5.0 in /tests/playwright
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v7.4.0...v7.5.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-version: 7.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-11 20:32:45 +00:00
Lauri Ojansivu a8cf44cfaa sandstorm.yml: write signing keyring to ~/.sandstorm-keyring (path meteor-spk reads)
meteor-spk pack crashed with 'open(/home/runner/.sandstorm-keyring): No such file
or directory' because the keyring restore step wrote the decoded SANDSTORM_KEYRING
secret to ~/.sandstorm/sandstorm-keyring, but spk reads the app private key from
~/.sandstorm-keyring (a file directly in $HOME). Write it to the correct path, and
fail early with an actionable message when the secret is missing (the .spk cannot
be signed without it) instead of the cryptic later crash.
2026-07-11 23:12:37 +03:00
Lauri Ojansivu d53e7cafbb sandstorm build-deps.sh: fix 'not writing through dangling symlink' at step 3/7
The meteor-spk 0.6.0 base ships some runtime libs in meteor-spk.deps/lib as
DANGLING symlinks (e.g. libstdc++.so.6 -> a lib that no longer exists). When step
[3/7] refreshed them with the host's newer libs, 'cp -fL' refused with 'not writing
through dangling symlink' and failed the Sandstorm build. Add --remove-destination
so cp deletes the existing destination (dangling symlink included) before copying
the host's real library. Verified: plain 'cp -fL' reproduces the error; with
--remove-destination it succeeds and writes a real file.
2026-07-11 22:59:28 +03:00
github-actions[bot] f278d9ae68 Bump versions for v9.87 2026-07-11 19:44:03 +00:00
Lauri Ojansivu a700152e58 Updated ChangeLog. 2026-07-11 22:42:47 +03:00
Lauri Ojansivu b5f9097681 Updated translations. 2026-07-11 22:42:29 +03:00
Lauri Ojansivu b227a93193 Fix #6446: let board members (not only admins) move cards between swimlanes
In the swimlanes view, boardBody.js disabled the .js-swimlanes sortable — which
also carries moving a card from one swimlane to another — with !isBoardAdmin(),
though its own comment said it should be disabled only for non-members. So a normal
board member could move a card within a swimlane but not between swimlanes (and
could not reorder swimlanes). Gate it on !Utils.canModifyCard() instead (the client
write-access predicate: board member, not comment-only/worker/read-only), matching
the server's allowIsBoardMemberWithWriteAccess.
2026-07-11 22:38:18 +03:00
Lauri Ojansivu 52c62021a9 Updated translations 2026-07-11 22:10:54 +03:00
Lauri Ojansivu 692a258758 Updated ChangeLog. 2026-07-11 22:08:40 +03:00
Lauri Ojansivu 8847798f3c Release: update official + unofficial Node.js download URL paths on wekan.fi install page
The install page (../w/wekan.fi/install/index.html) links to Node.js downloads for
each snap/bundle arch: the OFFICIAL nodejs.org build (amd64/arm64/s390x/ppc64le)
and the UNOFFICIAL unofficial-builds.nodejs.org build (riscv64, which nodejs.org
has no binary for). release-website.sh only updated the displayed Node.js version
number, and version.sh's local website block did not touch Node.js at all, so those
download URLs went stale (404) after a Node.js bump.

Both now rewrite the version in the nodejs.org/dist/vX.Y.Z and
unofficial-builds.nodejs.org/download/release/vX.Y.Z paths and the
node-vX.Y.Z-linux-<arch> filename to the current Dockerfile NODE_VERSION.
2026-07-11 22:08:40 +03:00
207 changed files with 3745 additions and 716 deletions

No files matched your search

+107
View File
@@ -0,0 +1,107 @@
name: Build meteor-spk bundle
# Manually triggered. Assembles WeKan's modernized meteor-spk (the Sandstorm packaging
# tool + its meteor-spk.deps: Node 24, FerretDB, the Mongo 3.x CLIs and the modern
# sandstorm-http-bridge) and zips it as meteor-spk-YYYY-MM-DD_HH_MM_SS.zip — the same kind
# of self-contained meteor-spk bundle that https://github.com/sandstorm-io/meteor-spk
# releases, but with WeKan's Node 24 / FerretDB deps baked in. Download it to `meteor-spk
# pack` WeKan (or any Meteor 3.x app) without re-running build-deps.sh each time.
#
# gh workflow run meteor-spk.yml
#
# This only assembles + zips the tool; it does NOT pack or sign a WeKan .spk, so it needs
# no SANDSTORM_KEYRING. The .spk itself is built by sandstorm.yml; the Sandstorm App
# Market publish is done by sandstorm-store.yml.
on:
workflow_dispatch:
inputs:
ref:
description: 'Branch, tag or SHA to build the meteor-spk deps from (default: main)'
required: false
default: 'main'
permissions:
contents: write
env:
NODE_VERSION: '24'
jobs:
meteor-spk:
runs-on: ubuntu-24.04
timeout-minutes: 120
steps:
- uses: actions/checkout@v7
with:
ref: ${{ github.event.inputs.ref || 'main' }}
- uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
- name: Enable unprivileged user namespaces (Ubuntu 24.04 restricts them)
# Same as sandstorm.yml: Ubuntu 24.04's AppArmor blocks the unprivileged user
# namespaces the Sandstorm install relies on; relax it so the install (whose
# sandstorm-http-bridge build-deps.sh copies in) can run on the runner.
run: |
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 || true
sudo sysctl -w kernel.unprivileged_userns_clone=1 2>/dev/null || true
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y p7zip-full wget curl build-essential g++ make python3 unzip xz-utils git zip
- name: Install Sandstorm (dev, unattended)
# build-deps.sh's [bridge] step copies the modern
# /opt/sandstorm/latest/bin/sandstorm-http-bridge into the deps, so Sandstorm
# must be installed first — same ordering as sandstorm.yml.
run: curl https://install.sandstorm.io | sudo bash -s -- -d
- name: Assemble modern meteor-spk.deps (Node 24 + FerretDB + Mongo 3.x CLIs)
# Base = upstream meteor-spk 0.6.0 from dl.sandstorm.io; build-deps.sh swaps in
# Node 24, FerretDB, the Mongo 3.x CLIs, the migration launcher/importer, keeps
# niscud, and swaps in the modern sandstorm-http-bridge. Produces
# $HOME/projects/meteor-spk/meteor-spk-0.6.0 (the meteor-spk tool + deps).
run: bash sandstorm-src/build-deps.sh
- name: Zip the meteor-spk bundle
id: zip
run: |
set -euo pipefail
STAMP="$(date +'%Y-%m-%d_%H_%M_%S')"
ZIP="meteor-spk-${STAMP}.zip"
BUNDLE_DIR="$HOME/projects/meteor-spk"
if [ ! -d "$BUNDLE_DIR/meteor-spk-0.6.0" ]; then
echo "::error::Expected meteor-spk bundle at $BUNDLE_DIR/meteor-spk-0.6.0 was not produced by build-deps.sh."
exit 1
fi
# Zip so it extracts to a top-level meteor-spk-0.6.0/ directory, like the
# upstream meteor-spk release archives. Exclude the base tarball build-deps.sh
# downloaded next to it.
( cd "$BUNDLE_DIR" && zip -r -y -q "$GITHUB_WORKSPACE/$ZIP" meteor-spk-0.6.0 -x '*.tar.xz' )
ZIP_BYTES=$(stat -c%s "$GITHUB_WORKSPACE/$ZIP")
echo "Packed $ZIP: $((ZIP_BYTES/1024/1024)) MiB ($ZIP_BYTES bytes)"
ls -la "$GITHUB_WORKSPACE/$ZIP"
echo "zip=$ZIP" >> "$GITHUB_OUTPUT"
- uses: actions/upload-artifact@v7
with:
name: ${{ steps.zip.outputs.zip }}
path: ${{ steps.zip.outputs.zip }}
retention-days: 7
- name: Upload the meteor-spk bundle to the newest WeKan release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
run: |
set -euo pipefail
TAG="$(gh release list --limit 1 --json tagName --jq '.[0].tagName' 2>/dev/null || true)"
if [ -z "${TAG:-}" ] || [ "$TAG" = "null" ]; then
echo "::warning::No existing GitHub Release found; the meteor-spk bundle is available only as a workflow artifact."
exit 0
fi
echo "Uploading ${{ steps.zip.outputs.zip }} to the newest release: $TAG"
gh release upload "$TAG" "${{ steps.zip.outputs.zip }}" --clobber
+100 -47
View File
@@ -957,11 +957,85 @@ jobs:
# ─── 9. Build the snap on Launchpad, push to the store, attach to release ────
# The snap's `wekan` part downloads wekan-<version>-<arch>.zip from the GitHub
# Release, so this job runs only after `release` has published those assets.
# `snapcraft remote-build` builds every platform listed in snapcraft.yaml
# (amd64 + arm64) on Launchpad.
snap:
# Release, so these jobs run only after `release` has published those assets.
#
# snap-native + snap-launchpad replace the old single `snap` job. The mainstream
# arches (amd64 + arm64) build NATIVELY on GitHub-hosted runners — fast, no
# Launchpad queue. The exotic arches (s390x, ppc64el, riscv64) have no native
# GitHub runners and snapcraft cannot cross-build, so they stay on Launchpad but
# in a NON-BLOCKING, per-arch matrix so a slow/failed arch (riscv64 queues for
# hours) never holds up the release or the other arches. Each arch publishes to
# the Snap Store (candidate + beta + edge) and attaches to the Release the moment
# it finishes — all 5 arches, published independently.
snap-native:
needs: [prepare, release]
strategy:
fail-fast: false
matrix:
include:
- arch: amd64
runner: ubuntu-24.04
- arch: arm64
runner: ubuntu-24.04-arm
runs-on: ${{ matrix.runner }}
env:
VERSION: ${{ needs.prepare.outputs.version }}
steps:
- uses: actions/checkout@v7
with:
ref: refs/tags/v${{ needs.prepare.outputs.version }}
- name: Verify snapcraft.yaml version matches the release
# snapcraft.yaml's `version:` names the produced file (wekan_<version>_<arch>.snap).
# Assert it matches the tag so a stale version fails fast here.
run: |
set -euo pipefail
if ! grep -qxF "version: '${VERSION}'" snapcraft.yaml; then
echo "::error::snapcraft.yaml is not at version '${VERSION}' ($(grep -m1 '^version:' snapcraft.yaml)). The bump job (releases/version.sh) did not update the tagged commit."
exit 1
fi
echo "snapcraft.yaml is at version '${VERSION}'."
- name: Build the ${{ matrix.arch }} snap natively
# Runs on a native ${{ matrix.arch }} GitHub runner, so snapcraft builds the
# platform whose `build-on` matches this host — no Launchpad, no emulation.
id: build
uses: snapcore/action-build@v1
- name: Verify the built snap is ${{ matrix.arch }}
run: |
set -euo pipefail
snap="${{ steps.build.outputs.snap }}"
echo "Built: $snap"
case "$snap" in
*_${{ matrix.arch }}.snap) : ;;
*) echo "::error::Built snap '$snap' is not ${{ matrix.arch }}."; exit 1 ;;
esac
- name: Push ${{ matrix.arch }} to the Snap Store (candidate + beta + edge)
uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_AUTH }}
with:
snap: ${{ steps.build.outputs.snap }}
release: candidate,beta,edge
- name: Attach the ${{ matrix.arch }} snap to the GitHub Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload "v${VERSION}" "${{ steps.build.outputs.snap }}" --clobber
snap-launchpad:
needs: [prepare, release]
# continue-on-error: the exotic Launchpad arches must NOT hold up or fail the
# release. riscv64 in particular queues for hours / can time out; that must not
# turn the whole release red. fail-fast: false so one arch never cancels the
# others. Each leg publishes the moment it finishes.
continue-on-error: true
strategy:
fail-fast: false
matrix:
arch: [s390x, ppc64el, riscv64]
runs-on: ubuntu-latest
env:
VERSION: ${{ needs.prepare.outputs.version }}
@@ -973,11 +1047,8 @@ jobs:
fetch-depth: 0
- name: Install snapcraft
# The Snap Store intermittently rejects the install with
# 'error: cannot install "snapcraft": too many requests' (a 429-style
# rate limit) that instantly fails the whole snap job before any build.
# Retry a few times so one transient store throttle does not fail the
# release (same spirit as the remote-build retry below).
# The Snap Store intermittently rejects the install with a 429-style rate
# limit; retry so one transient throttle does not fail the build.
run: |
set -uo pipefail
for i in 1 2 3 4 5; do
@@ -997,15 +1068,6 @@ jobs:
chmod 600 ~/.local/share/snapcraft/launchpad-credentials
- name: Verify snapcraft.yaml version matches the release
# The `bump` job (releases/version.sh) is the single source of truth for
# the snap version and updates snapcraft.yaml before the tag is created.
# snapcraft.yaml's `version:` names the produced files
# (wekan_<version>_<arch>.snap), so if a stale tag carried the wrong
# version the build would produce wekan_<old>_*.snap and the upload/attach
# globs (wekan_${VERSION}_*.snap) would match nothing — passing the literal
# glob to `snapcraft upload` ("is not a valid file", exit 64). Assert it
# here so that mismatch fails fast (before a ~20 min Launchpad build) with
# a clear pointer, instead of re-bumping the version inside this build job.
run: |
set -euo pipefail
if ! grep -qxF "version: '${VERSION}'" snapcraft.yaml; then
@@ -1014,31 +1076,26 @@ jobs:
fi
echo "snapcraft.yaml is at version '${VERSION}'."
- name: Build snaps on Launchpad (amd64 + arm64)
# `snapcraft remote-build` is experimental and talks to Launchpad over
# HTTPS after pushing the whole repo; it intermittently dies with a
# transient TLS drop (e.g. "SSLEOFError: EOF occurred in violation of
# protocol", exit 70) that has nothing to do with the build itself.
# Retry a few times so one network hiccup doesn't fail the release.
- name: Build the ${{ matrix.arch }} snap on Launchpad
# --build-for ${{ matrix.arch }}: build ONLY this leg's arch so a slow/failed
# arch never blocks the others. remote-build can exit 0 without producing a
# .snap (it just downloads logs), so require the file. Retry a few times to
# survive transient TLS drops to Launchpad.
run: |
set -uo pipefail
shopt -s nullglob
attempts=3
for i in $(seq 1 "$attempts"); do
echo "::group::Remote build attempt $i/$attempts"
snapcraft remote-build --launchpad-accept-public-upload && rc=0 || rc=$?
echo "::group::Remote build ${{ matrix.arch }} attempt $i/$attempts"
snapcraft remote-build --launchpad-accept-public-upload \
--build-for ${{ matrix.arch }} && rc=0 || rc=$?
echo "::endgroup::"
# snapcraft remote-build can exit 0 even when the Launchpad build
# FAILED (it just downloads the build logs and produces no .snap), so
# don't trust the exit code alone — require that .snap files exist.
snaps=( wekan_${VERSION}_*.snap )
snaps=( wekan_${VERSION}_${{ matrix.arch }}.snap )
if [ "$rc" -eq 0 ] && [ "${#snaps[@]}" -gt 0 ]; then
echo "Remote build succeeded on attempt $i: ${snaps[*]}"
echo "Remote build ${{ matrix.arch }} succeeded on attempt $i: ${snaps[*]}"
exit 0
fi
echo "Attempt $i: snapcraft exit=$rc, .snap files produced=${#snaps[@]}."
# Surface the Launchpad build logs so a real build failure is
# diagnosable here, instead of as a later cryptic upload error.
for log in snapcraft-wekan-*.txt; do
echo "::group::Launchpad build log: $log (last 150 lines)"
tail -n 150 "$log"
@@ -1049,38 +1106,34 @@ jobs:
sleep 60
fi
done
echo "::error::Remote build failed after $attempts attempts (no wekan_${VERSION}_*.snap produced)." >&2
echo "::error::Remote build ${{ matrix.arch }} failed after $attempts attempts (no wekan_${VERSION}_${{ matrix.arch }}.snap produced)." >&2
exit 1
- name: Push snaps to the Snap Store (candidate + beta + edge channels)
- name: Push ${{ matrix.arch }} to the Snap Store (candidate + beta + edge)
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_AUTH }}
run: |
set -euo pipefail
shopt -s nullglob
snaps=( wekan_${VERSION}_*.snap )
snaps=( wekan_${VERSION}_${{ matrix.arch }}.snap )
if [ "${#snaps[@]}" -eq 0 ]; then
echo "::error::No wekan_${VERSION}_*.snap files to upload."
echo "::error::No wekan_${VERSION}_${{ matrix.arch }}.snap to upload."
exit 1
fi
# The default snapcraft.yaml is base: core24, which allows publishing to
# candidate (core26 does not). This automated release publishes to
# candidate + beta + edge. The stable channel is NOT published here — it
# is done MANUALLY once the build has proven stable enough.
# base: core24 allows publishing to candidate (core26 does not). Stable is
# published MANUALLY later, once the build has proven stable enough.
for f in "${snaps[@]}"; do
echo "Uploading $f to the Snap Store (candidate,beta,edge)..."
snapcraft upload --release=candidate,beta,edge "$f"
done
- name: Attach snaps to the GitHub Release
- name: Attach the ${{ matrix.arch }} snap to the GitHub Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
shopt -s nullglob
snaps=( wekan_${VERSION}_*.snap )
if [ "${#snaps[@]}" -eq 0 ]; then
echo "::error::No wekan_${VERSION}_*.snap files to attach."
exit 1
snaps=( wekan_${VERSION}_${{ matrix.arch }}.snap )
if [ "${#snaps[@]}" -gt 0 ]; then
gh release upload "v${VERSION}" "${snaps[@]}" --clobber
fi
gh release upload "v${VERSION}" "${snaps[@]}" --clobber
+145
View File
@@ -0,0 +1,145 @@
name: Publish .spk to Sandstorm App Market
# Manually triggered. Takes the Sandstorm .spk that sandstorm.yml already built and
# attached to a WeKan GitHub Release, renames it to wekan-<VERSION>.spk (VERSION is the
# WeKan release version, e.g. 9.88), and publishes it to the Sandstorm App Market with
# spk publish wekan-<VERSION>.spk
# exactly like releases/release-sandstorm.sh does locally.
#
# gh workflow run sandstorm-store.yml
# gh workflow run sandstorm-store.yml -f version=9.88
# gh workflow run sandstorm-store.yml -f version=9.88 -f tag=v9.88
#
# Needs SANDSTORM_KEYRING (base64 of ~/.sandstorm-keyring) — `spk publish` proves app
# ownership with the WeKan Sandstorm app's private key from that keyring — and installs
# Sandstorm + assembles meteor-spk the same way sandstorm.yml does, so `spk` is present.
# It does NOT rebuild the .spk; it publishes the one already on the release.
on:
workflow_dispatch:
inputs:
version:
description: 'WeKan version for the store filename wekan-<VERSION>.spk (e.g. 9.88). Default: derived from the release tag.'
required: false
default: ''
tag:
description: 'Release tag whose .spk to publish (default: newest release).'
required: false
default: ''
permissions:
contents: read
env:
NODE_VERSION: '24'
jobs:
sandstorm-store:
runs-on: ubuntu-24.04
timeout-minutes: 120
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
- name: Enable unprivileged user namespaces (Ubuntu 24.04 restricts them)
run: |
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 || true
sudo sysctl -w kernel.unprivileged_userns_clone=1 2>/dev/null || true
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y p7zip-full wget curl build-essential g++ make python3 unzip xz-utils git
- name: Install Sandstorm (dev, unattended)
# Provides the `spk` command used to publish, and the sandstorm-http-bridge that
# build-deps.sh copies into the meteor-spk deps.
run: curl https://install.sandstorm.io | sudo bash -s -- -d
- name: Assemble modern meteor-spk.deps (same as sandstorm.yml)
run: |
bash sandstorm-src/build-deps.sh
echo "$HOME/projects/meteor-spk/meteor-spk-0.6.0" >> "$GITHUB_PATH"
- name: Restore the Sandstorm signing keyring
env:
SANDSTORM_KEYRING: ${{ secrets.SANDSTORM_KEYRING }}
run: |
if [ -n "${SANDSTORM_KEYRING:-}" ]; then
# spk publish reads the app signing key from ~/.sandstorm-keyring (a FILE in
# $HOME), same location meteor-spk pack uses.
printf '%s' "$SANDSTORM_KEYRING" | base64 -d > "$HOME/.sandstorm-keyring"
chmod 600 "$HOME/.sandstorm-keyring"
echo "Restored ~/.sandstorm-keyring ($(wc -c < "$HOME/.sandstorm-keyring") bytes)."
else
echo "::error::SANDSTORM_KEYRING secret is not set. 'spk publish' proves ownership of the WeKan Sandstorm app with the private key from this keyring, so publishing cannot proceed without it. Add the base64 of your ~/.sandstorm-keyring file as the SANDSTORM_KEYRING repository secret (e.g. 'base64 -w0 ~/.sandstorm-keyring')."
exit 1
fi
- name: Download the newest .spk from the WeKan release and name it wekan-<VERSION>.spk
id: fetch
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
IN_TAG: ${{ github.event.inputs.tag }}
IN_VERSION: ${{ github.event.inputs.version }}
run: |
set -euo pipefail
# 1) Which release to publish from.
TAG="${IN_TAG:-}"
if [ -z "$TAG" ]; then
TAG="$(gh release list --limit 1 --json tagName --jq '.[0].tagName' 2>/dev/null || true)"
fi
if [ -z "${TAG:-}" ] || [ "$TAG" = "null" ]; then
echo "::error::No release found to publish the .spk from."
exit 1
fi
# 2) VERSION for the store filename wekan-<VERSION>.spk. Use the input, else
# derive it from the tag (strip a leading 'v', e.g. v9.88 -> 9.88).
VERSION="${IN_VERSION:-}"
if [ -z "$VERSION" ]; then
VERSION="${TAG#v}"
fi
echo "Release: $TAG -> store filename: wekan-${VERSION}.spk"
# 3) Download the newest .spk asset on that release. sandstorm.yml attaches it
# as wekan-sandstorm-YYYY_MM_DD-HH_MM_SS.spk; if several exist, take the
# lexicographically-newest (the timestamp sorts chronologically).
ASSET="$(gh release view "$TAG" --json assets \
--jq '[.assets[].name | select(endswith(".spk"))] | sort | last' 2>/dev/null || true)"
if [ -z "${ASSET:-}" ] || [ "$ASSET" = "null" ]; then
echo "::error::Release $TAG has no .spk asset. Run sandstorm.yml first to build and attach one."
exit 1
fi
echo "Downloading .spk asset: $ASSET"
gh release download "$TAG" --pattern "$ASSET" --dir . --clobber
SPK="wekan-${VERSION}.spk"
mv -f "$ASSET" "$SPK"
ls -la "$SPK"
echo "spk=$SPK" >> "$GITHUB_OUTPUT"
- name: Publish to the Sandstorm App Market
env:
SPK: ${{ steps.fetch.outputs.spk }}
run: |
set -euo pipefail
# Resolve the spk binary: prefer PATH, then the Sandstorm install location.
SPK_BIN="$(command -v spk || true)"
if [ -z "$SPK_BIN" ]; then
for c in /opt/sandstorm/latest/bin/spk /opt/sandstorm/spk /usr/local/bin/spk; do
[ -x "$c" ] && SPK_BIN="$c" && break
done
fi
if [ -z "$SPK_BIN" ]; then
echo "::error::Could not find the 'spk' command from the Sandstorm install."
exit 1
fi
echo "Publishing $SPK with $SPK_BIN ..."
# Same command as releases/release-sandstorm.sh: spk publish wekan-<VERSION>.spk
"$SPK_BIN" publish "$SPK"
+52 -9
View File
@@ -15,6 +15,11 @@ name: Build Sandstorm .spk
on:
workflow_dispatch:
inputs:
ref:
description: 'Branch, tag or SHA to build the .spk from (default: main)'
required: false
default: 'main'
permissions:
contents: write
@@ -29,12 +34,24 @@ jobs:
steps:
- uses: actions/checkout@v7
with:
ref: main
# Build the dispatched ref so a fix branch can be tested before it is
# merged to main; defaults to main for a plain `gh workflow run`.
ref: ${{ github.event.inputs.ref || 'main' }}
- uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
- name: Enable unprivileged user namespaces (Ubuntu 24.04 restricts them)
# Ubuntu 24.04's AppArmor defaults kernel.apparmor_restrict_unprivileged_userns=1,
# which blocks the unprivileged user namespaces that the Sandstorm install and
# the spk supervisor rely on (the "fragile part" noted above). Relax it so
# `install.sandstorm.io` and meteor-spk can create sandboxes on the runner.
# `|| true`: on kernels/runners without these knobs, setting them is a no-op.
run: |
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 || true
sudo sysctl -w kernel.unprivileged_userns_clone=1 2>/dev/null || true
- name: Install system dependencies and Meteor
run: |
sudo apt-get update
@@ -42,41 +59,67 @@ jobs:
if [ ! -f "$HOME/.meteor/meteor" ]; then curl https://install.meteor.com/ | sh; fi
echo "$HOME/.meteor" >> "$GITHUB_PATH"
- name: Install Sandstorm (dev, unattended)
# Installed BEFORE assembling the deps: build-deps.sh's [bridge] step copies
# the modern /opt/sandstorm/latest/bin/sandstorm-http-bridge over the ancient
# bundled one, so the Sandstorm install must be in place first.
run: curl https://install.sandstorm.io | sudo bash -s -- -d
- name: Assemble modern meteor-spk.deps (Node 24 + FerretDB + Mongo 3.x CLIs)
# Base = upstream meteor-spk 0.6.0 from dl.sandstorm.io (has mongod 3.0 +
# niscud). build-deps.sh swaps in Node 24, adds FerretDB + the Mongo 3.x
# CLIs + the migration launcher/importer, and keeps niscud. No dependency
# CLIs + the migration launcher/importer, keeps niscud, and swaps in the
# modern sandstorm-http-bridge from the Sandstorm install above. No dependency
# on the retired releases.wekan.team or the old projects.7z.
run: |
bash sandstorm-src/build-deps.sh
echo "$HOME/projects/meteor-spk/meteor-spk-0.6.0" >> "$GITHUB_PATH"
- name: Install Sandstorm (dev, unattended)
run: curl https://install.sandstorm.io | sudo bash -s -- -d
- name: Restore the Sandstorm signing keyring
env:
SANDSTORM_KEYRING: ${{ secrets.SANDSTORM_KEYRING }}
run: |
if [ -n "${SANDSTORM_KEYRING:-}" ]; then
mkdir -p "$HOME/.sandstorm"
printf '%s' "$SANDSTORM_KEYRING" | base64 -d > "$HOME/.sandstorm/sandstorm-keyring"
chmod 600 "$HOME/.sandstorm/sandstorm-keyring"
# meteor-spk / spk read the app signing key from ~/.sandstorm-keyring —
# a FILE directly in $HOME (see the pack crash path
# "/home/runner/.sandstorm-keyring"). Write it exactly there, NOT to
# ~/.sandstorm/sandstorm-keyring, or `meteor-spk pack` aborts with
# "open(~/.sandstorm-keyring): No such file or directory".
printf '%s' "$SANDSTORM_KEYRING" | base64 -d > "$HOME/.sandstorm-keyring"
chmod 600 "$HOME/.sandstorm-keyring"
echo "Restored ~/.sandstorm-keyring ($(wc -c < "$HOME/.sandstorm-keyring") bytes)."
else
echo "::warning::SANDSTORM_KEYRING secret not set; meteor-spk pack may fail to sign the app update."
echo "::error::SANDSTORM_KEYRING secret is not set. meteor-spk pack signs the .spk with the WeKan Sandstorm app's private key, which lives in this keyring, so packing cannot proceed without it. Add the base64 of your ~/.sandstorm-keyring file as the SANDSTORM_KEYRING repository secret (e.g. 'base64 -w0 ~/.sandstorm-keyring')."
exit 1
fi
- name: Install Meteor npm dependencies
# PUPPETEER_SKIP_DOWNLOAD: puppeteer is a devDependency used only by tests,
# not by the server, so it never belongs in the packed .spk. Skipping its
# Chromium download (~150 MB) avoids any risk of it bloating the build and
# speeds up CI.
env:
PUPPETEER_SKIP_DOWNLOAD: '1'
run: |
(meteor update --npm 2>/dev/null || true) && meteor npm install
- name: Build the Sandstorm .spk
id: build
env:
PUPPETEER_SKIP_DOWNLOAD: '1'
run: |
set -euo pipefail
STAMP="$(date +'%Y_%m_%d-%H_%M_%S')"
SPK="wekan-sandstorm-${STAMP}.spk"
meteor-spk pack "$SPK"
# Report the packed size and warn if it exceeds Cloudflare's 100 MB upload
# cap (a proxied browser upload to a Cloudflare-fronted Sandstorm 413s above
# this; install via a DNS-only host / SSH tunnel, or trim further).
SPK_BYTES=$(stat -c%s "$SPK")
echo "Packed $SPK: $((SPK_BYTES/1024/1024)) MiB ($SPK_BYTES bytes)"
if [ "$SPK_BYTES" -gt $((100*1024*1024)) ]; then
echo "::warning::$SPK is $((SPK_BYTES/1024/1024)) MiB — over Cloudflare's 100 MB upload limit. Upload via a DNS-only host / SSH tunnel to Sandstorm, or trim the bundle further."
fi
ls -la "$SPK"
echo "spk=$SPK" >> "$GITHUB_OUTPUT"
+412 -11
View File
@@ -2,21 +2,13 @@
Newest WeKan at these platforms:
- [Install](https://wekan.fi/install/)
- [Upgrade WeKan](https://wekan.fi/upgrade/)
- [bundle zip at releases](https://github.com/wekan/wekan/releases), docs at https://wekan.fi/docs/
- [Linux amd64, arm64, s390x, ppc64le](https://github.com/wekan/wekan/blob/main/docs/Platforms/FOSS/RaspberryPi/Raspberry-Pi.md)
- [Windows amd64/arm64](https://github.com/wekan/wekan/blob/main/docs/Platforms/Propietary/Windows/Offline.md)
- [Mac arm64](https://github.com/wekan/wekan/blob/main/docs/Platforms/Propietary/Mac.md)
- https://wekan.fi/install/
- Snap Beta amd64/arm64
- Docker amd64/arm64
- Kubernetes Docker amd64/arm64
- Bitnami MongoDB Docker images do not exist anymore. [MongoDump/MongoRestore to groundhog2k MongoDB images](https://github.com/wekan/charts/issues/45)
- [Docs](https://wekan.fi/docs/)
Versions:
- WeKan 8.75 and newer uses Meteor 3.5-rc.x, [Node.js 24.x](https://nodejs.org/dist/latest-v24.x/),
MongoDB 7.x (or 6.x), or [FerretDB2/PostgreSQL](https://github.com/wekan/wekan/blob/main/docs/Databases/FerretDB2-PostgreSQL.md)
- WeKan 8.75 and newer uses Meteor 3.5
- WeKan 8.43 upgraded to Meteor 3.x, huge thanks to harryadel:
- https://harryadel.com/dev-diary-24/
- https://harryadel.com/dev-diary-25/
@@ -94,6 +86,415 @@ them up next.
same `params.user` feeds both the e-mail notification text, where the full name is intended, and the webhook payload,
where a username is expected; the safe change is to ADD a `username` field to the webhook rather than repurpose `user`).
# v9.89 2026-07-13 WeKan ® release
This release fixes the following CRITICAL SECURITY ISSUE of
[SortBleed](https://wekan.fi/hall-of-fame/sortbleed/):
- **[SortBleed](https://github.com/wekan/wekan/security/advisories/GHSA-xm8x-c8wg-jhmf):
a low-privilege (comment-only / read-only) board member could escalate to board admin and take
over a private board via the board `sort` collection-allow rule**
([GHSA-xm8x-c8wg-jhmf](https://github.com/wekan/wekan/security/advisories/GHSA-xm8x-c8wg-jhmf),
CWE-863 Incorrect Authorization, CWE-269 Improper Privilege Management). Same broken-access-control
class as [BoardBleed](https://wekan.fi/hall-of-fame/boardbleed/) (CVE-2026-55234) — a Meteor
collection allow-rule field conflation — but on the Board document itself. To support drag-to-reorder
on the All Boards / Public Boards pages, a second `Boards.allow({ update })` rule returned `true` for
any board member whenever the update touched the `sort` field. Meteor evaluates allow rules with OR
semantics and does **not** scope an approving rule to the field that satisfied it: once any allow
callback returns `true` and no deny callback returns `true`, the **entire** modifier is applied.
Because `canUpdateBoardSort` only checked that `sort` was **among** the modified fields (not that it
was the **only** one), a comment-only / read-only member could smuggle arbitrary board mutations into
the same `$set` as `sort` in a single unprivileged DDP `Boards.update` call:
`{$set: {sort: 99, members: [...only themselves as admin...], permission: 'public', title: '...'}}`.
The member could therefore make themselves board admin, flip a private board to public (world-readable
in Wekan), rename it, and evict the legitimate owner. The last-admin deny rule did not help because it
only inspected `$pull`, so a wholesale `$set` of the `members` array bypassed it entirely.
- **Fixed** by restricting `canUpdateBoardSort` (`server/lib/utils.js`) so the sort-reorder rule
approves an update **only** when `sort` is the sole modified field (`fieldNames` is exactly
`['sort']`) — it can no longer approve a modifier that also mutates `members`, `permission`, `title`
or anything else. As defense in depth, the last-admin deny rule (`server/permissions/boards.js`) now
also rejects a `$set` rewrite of the `members` array that would drop the last active admin, not just
a `$pull`. A regression test covers the multi-field smuggling case
(`server/lib/tests/boards.security.tests.js`). The legitimate All Boards drag-reorder is unaffected:
it persists the order per-user in `profile.boardSortIndex` (`Users.setBoardSortIndex`), not in the
board document. CVSS:3.1 8.8 High (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
- Affected Wekan v9.85 and earlier through the current release; fixed at the upcoming WeKan release.
Reported by **5ud0 / Tarmo Technologies**.
Thanks to 5ud0 / Tarmo Technologies and xet7.
and adds the following updates:
- Update Sandstorm WeKan info.
[Part 1](https://github.com/wekan/wekan/commit/1bf68f54b29ab29a54abb90f777a88be4aa45d7e),
[Part 2](https://github.com/wekan/wekan/commit/ade9f16db459708200f4d7677c3877f1cdc837a4),
[Part 3](https://github.com/wekan/wekan/commit/0d90011affcf3789ed3ea820db5f3402ad1019b3).
Thanks to xet7.
Thanks to above GitHub users for their contributions and translators for their translations.
# v9.88 2026-07-13 WeKan ® release
This release adds the following new features:
- [Added docs about new Sandstorm WeKan](https://github.com/wekan/wekan/commit/9f23e6384bdfa5ca81be18e4f0426c347e9894eb).
Thanks to xet7.
and fixes the following bugs:
- **Sandstorm build: fixed "not writing through dangling symlink" that failed the
`sandstorm.yml` workflow at `sandstorm-src/build-deps.sh` step [3/7]**. The
meteor-spk 0.6.0 base ships some runtime libs in `meteor-spk.deps/lib` as
DANGLING symlinks (e.g. `libstdc++.so.6` → a library that no longer exists), so
refreshing them with the host's newer libs failed: `cp -fL` refuses to write
through a dangling destination symlink. Added `--remove-destination` so `cp`
deletes the existing destination (dangling symlink included) before copying the
host's real library. Thanks to xet7.
- **Sandstorm build: write the signing keyring to the path `meteor-spk pack`
actually reads**. The `sandstorm.yml` "Restore the Sandstorm signing keyring"
step wrote the decoded `SANDSTORM_KEYRING` secret to `~/.sandstorm/sandstorm-keyring`,
but `meteor-spk` / `spk` read the app private key from `~/.sandstorm-keyring` (a
file directly in `$HOME`), so packing aborted with
`open(~/.sandstorm-keyring): No such file or directory` even when the secret was
set. Now it writes `~/.sandstorm-keyring`, and — since the `.spk` cannot be signed
without it — fails early with an actionable message when the secret is missing,
instead of the cryptic later crash. Thanks to xet7.
- **Sandstorm .spk: trim it back toward Cloudflare's 100 MB upload limit**. The
Sandstorm build no longer bundles the ~300 MB of modern MongoDB Database Tools
(wekan/mongo-tools) — they are unused in Sandstorm (grains back up/restore
themselves; the MongoDB 3 → FerretDB migration uses the legacy migratemongo CLIs
+ the `.mjs` importer). Also set `PUPPETEER_SKIP_DOWNLOAD=1` for the Meteor build
(puppeteer is a test-only devDependency, so its ~150 MB Chromium never belongs in
the `.spk`), and the pack step now prints the `.spk` size and warns if it exceeds
100 MB. (The Database Tools remain in the WeKan `.zip` bundle / Docker / Snap,
which do use them.) Thanks to xet7.
- [Sandstorm .spk: bundle the matching glibc dynamic loader so grains start](https://github.com/wekan/wekan/commit/143607ef22ae91803cb611053fd4ce00754e7096):
the `.spk` bundled the host's new glibc `libc.so.6` (Ubuntu 24.04, glibc 2.39)
but kept the old glibc 2.31 `ld-linux` from the meteor-spk 0.6.0 base, so `node`
failed at startup with `libc.so.6: undefined symbol: _dl_audit_symbind_alt,
version GLIBC_PRIVATE` (HTTP-BRIDGE exit 127) and the grain crash-looped.
`sandstorm-src/build-deps.sh` now also copies the host's `ld-linux-x86-64.so.2`
so the loader and libc are the same glibc, and adds a `[verify]` gate that fails
the build if they differ or the bundled `node` cannot run under them — turning a
silent grain crash-loop into a loud build failure. Thanks to xet7.
- [Sandstorm build workflow: enable unprivileged user namespaces and build the dispatched branch](https://github.com/wekan/wekan/commit/66d8706c4d2afab4d127f8c63e05d43407efaf30):
Ubuntu 24.04 defaults `kernel.apparmor_restrict_unprivileged_userns=1`, which
blocks the unprivileged user namespaces the Sandstorm install and the `spk`
supervisor rely on, so `sandstorm.yml` now relaxes it on the runner. A new `ref`
`workflow_dispatch` input also lets the workflow build a fix branch before it is
merged, instead of a hardcoded `main`. Thanks to xet7.
- [Meteor unit tests: fix server-boot crash from `__dirname` in an ESM test file](https://github.com/wekan/wekan/commit/60116bc72f68c7bc0aa56a7d5700e33b98e870af):
`server/lib/tests/dependencies.openapi.tests.js` is an ES module that referenced
the bare `__dirname` global; under Node 24 / Meteor 3.5 the compiler injects
`const __dirname = fileURLToPath(import.meta.url)`, colliding with the `__dirname`
the CommonJS module wrapper already provides, so the server bundle failed to boot
with `Identifier '__dirname' has already been declared` and the "Meteor unit
tests" CI job died before any test ran. Drop the `__dirname` seed
(`process.env.PWD` already reaches the repo root under `meteor test`). Thanks to xet7.
- [Sandstorm .spk: point FerretDB state dir to writable /var so the grain starts](https://github.com/wekan/wekan/commit/1c28b40fd41acd9b9e21671548411f25e55464b8):
FerretDB persists a `state.json` (version/UUID) via its state provider even with
telemetry disabled, and its `--state-dir` defaults to `.` — which in a Sandstorm
grain is `/`, read-only. So FerretDB failed with `Failed to create state
provider: failed to persist state: open /state.json: read-only file system`,
exited (code 1), and the grain crash-looped. `sandstorm-src/start.js` now creates
`/var/ferretdb` and passes `--state-dir=/var/ferretdb` (plus `FERRETDB_STATE_DIR`)
in `startFerret()`, covering both the migration and steady-state FerretDB launches.
Thanks to xet7.
- [Sandstorm .spk: don't crash the grain when capnp.node can't load on Node 24](https://github.com/wekan/wekan/commit/f4f22bbe24e10659cc80cd1efeb6b4890b58ea49):
WeKan on Sandstorm bundles Node 24, but `capnp.node` (node-capnp) is built for an
older Node ABI (NODE_MODULE_VERSION 83 = Node 14), so `Npm.require('capnp')` in
`sandstorm.js` failed with `ERR_DLOPEN_FAILED` and crash-looped the whole grain on
boot. Cap'n Proto is now loaded lazily in a `try/catch` and degrades gracefully:
the grain boots and core WeKan works, because login and user identity come from
the sandstorm-http-bridge `X-Sandstorm-*` HTTP headers (`wekan-accounts-sandstorm`)
and need no Cap'n Proto. Only the two capnp-only features are skipped when the
addon cannot load — the Powerbox identity-claim method and Sandstorm activity
notifications — with a clear warning. They can be restored by rebuilding node-capnp
for Node 24, or reimplemented over the bridge's HTTP/JSON API. Thanks to xet7.
- [Snap release: build amd64+arm64 natively on GitHub, exotic arches non-blocking on Launchpad](https://github.com/wekan/wekan/commit/8549a62c85f43ad48e8f049eead64691c3f1dbf0):
the single snap job ran `snapcraft remote-build` for all 5 platforms on Launchpad
and blocked until the slowest resolved, so the release hung ~3.5h on riscv64's
Launchpad queue even though amd64+arm64 finished in minutes. It is now split in
two: `snap-native` builds amd64 (`ubuntu-24.04`) and arm64 (`ubuntu-24.04-arm`)
natively on GitHub runners via `snapcore/action-build`; `snap-launchpad` builds
s390x/ppc64el/riscv64 on Launchpad in a non-blocking (`continue-on-error`),
per-arch matrix (`remote-build --build-for <arch>`) so a slow or failed exotic
arch never delays the release or the other arches. Each arch publishes to the
Snap Store (candidate,beta,edge) and attaches to the GitHub Release the moment it
finishes — all 5 arches still ship. Thanks to xet7.
- [Sandstorm .spk: fix server-boot crashes from stale globals (Users, HTTP) in sandstorm.js](https://github.com/wekan/wekan/commit/60e40199c965460b95528ef9ea07281172c2d9b6):
once the capnp load was made non-fatal, the grain reached the rest of
`sandstorm.js` and hit two latent Meteor-2.x-isms the Meteor 3.x migration missed
(this file only runs on Sandstorm, so it was not exercised): it referenced the
`Users`/`Boards`/`Swimlanes`/`Activities` collections as implicit globals, but
those are now ES module default exports, so `Users.after.insert` threw
`Users is not defined` at boot; and it monkey-patched `HTTP.methods` from the
removed `meteor/http` package, so `HTTP` was undefined. The collections (and
`Accounts`) are now imported explicitly, and the obsolete `HTTP.methods` patch is
removed. Thanks to xet7.
- [Sandstorm .spk: use boolean index options so FerretDB accepts the users index](https://github.com/wekan/wekan/commit/975316f5cd6e81b6ea8ae6ede588d26055f9f649):
`wekan-accounts-sandstorm` created the unique index on `services.sandstorm.id`
with `{unique: 1, sparse: 1}`. Real MongoDB accepts the truthy `1`, but FerretDB
(used by the Sandstorm `.spk`) is strict and rejects it with `The field 'unique'
has value unique: 1, which is not convertible to bool`, crashing the grain at boot
during index creation. Now uses real booleans (`unique: true, sparse: true`).
Thanks to xet7.
- [Sandstorm .spk: strip Accept-Encoding so the grain doesn't serve corrupted (gzip) content](https://github.com/wekan/wekan/commit/013b6b5266be34326e36762b1a50e212237b109d):
the grain boots, but the page failed to load with a browser "Corrupted Content
Error" (`NS_ERROR_NET_CORRUPTED_CONTENT`). `sandstorm-http-bridge` advertises
`Accept-Encoding: gzip` to the app regardless of what the browser actually sent,
so Meteor served gzip/brotli-encoded responses the browser could not decode. A
`WebApp.rawHandlers` middleware now strips `Accept-Encoding` (it runs before
Meteor's static/boilerplate serving) so responses go out uncompressed; bandwidth
is a non-issue behind the local bridge. Thanks to xet7.
- [Sandstorm .spk: bundle a modern sandstorm-http-bridge to fix "Corrupted Content"](https://github.com/wekan/wekan/commit/7f0706e45f26aa0937a15a2a8f7336df63830511):
the grain boots, but the page failed with a browser "Corrupted Content Error"
(`NS_ERROR_NET_CORRUPTED_CONTENT`) on WeKan's `/` redirect. The meteor-spk 0.6.0
base bundles an ancient (~2016) `sandstorm-http-bridge` that mangles responses
(it always advertises `Accept-Encoding: gzip` to the app and mishandles
redirect/encoding). `build-deps.sh` now overwrites the bundled
`/sandstorm-http-bridge` with the modern one from a Sandstorm install
(`/opt/sandstorm/latest/bin/sandstorm-http-bridge`; override with
`SANDSTORM_HTTP_BRIDGE`), and `sandstorm.yml` installs Sandstorm before assembling
the deps so the bridge is available on the CI runner. Thanks to xet7.
- [Sandstorm .spk: fix the "/" redirect (malformed Location + Content-Length mismatch)](https://github.com/wekan/wekan/commit/ccdd1a0846ffed64546265c38263c7e1b8530480):
the grain's `/` served a broken `301`: the `Location` was `.../:6080board` because
`FlowRouter.path()` does not resolve on the server in Meteor 3.x (it returned the
bare route name `board`), and the response advertised `Content-Length: 90` while
sending an empty body — which the browser rejected as a "Corrupted Content Error"
(`NS_ERROR_NET_CORRUPTED_CONTENT`). The handler now builds the board path directly
(`/b/:id/:slug`) and sends a real HTML body (meta refresh + link) with a matching
`Content-Length`, so the redirect to the hard-coded Sandstorm board works. Thanks
to xet7.
- [Sandstorm .spk: open the grain on the All Boards page, not a hard-coded board](https://github.com/wekan/wekan/commit/b5945cf596be546b9440854ee9c39520c3c715c0):
WeKan on Sandstorm originally opened a single hard-coded board
(`/b/sandstorm/libreboard`) and redirected `/` to it. It now supports many boards
and that board is no longer the right destination, so the `WebApp.handlers.get("/")`
redirect is removed entirely — `/` now falls through to WeKan's normal serving,
whose client `home` route renders the **All Boards** list, the right landing page
for a multi-board grain. This also removes the last server-side redirect the
browser was rejecting as a Corrupted Content Error. Thanks to xet7.
- [Sandstorm .spk: don't auto-create a board; map grain permissions to global role](https://github.com/wekan/wekan/commit/8f11e8ac66d7348f62e8cf9278f4196b44c719b0):
a new grain/user no longer gets a hard-coded `sandstorm`/libreboard board
auto-created — WeKan on Sandstorm is multi-board now, so the user creates their own
boards from the All Boards page. `updateUserPermissions` previously added the user
as a member of that single board (which would now crash since the board no longer
exists); it now maps the grain's Sandstorm permissions to the user's **global**
WeKan role — `configure` (grain owner) becomes a WeKan admin, everyone else is a
regular user who can create and manage their own boards. Thanks to xet7.
- [Sandstorm .spk: set SANDSTORM=1 so the header-based auto-login runs](https://github.com/wekan/wekan/commit/b0712e6656ce33bfe7c360547185fea04660c9f7):
WeKan loaded in the grain but every page showed "Must be logged in". The
`wekan-accounts-sandstorm` client only starts the automatic `X-Sandstorm-*` header
login when `__meteor_runtime_config__.SANDSTORM` is set, and the package only sets
that when `process.env.SANDSTORM` is present — which nothing did. The launcher now
sets `process.env.SANDSTORM = '1'` before loading the WeKan bundle, so the client
auto-logs-in the Sandstorm user from the headers. Thanks to xet7.
- [Sandstorm .spk: rewrite ROOT_URL per request to the grain URL (fixes login + CORS)](https://github.com/wekan/wekan/commit/d5f707fd37b63ff038f61d7aa1316d5800859b35):
WeKan loaded but stayed on "Must be logged in", and the console showed
`Cross-Origin Request Blocked … http://127.0.0.1:4000/__meteor__/dynamic-import/fetch`.
The launcher sets a fixed `ROOT_URL` (`http://127.0.0.1:4000`, the internal bridge
target), but Sandstorm serves each grain at a per-session host
(`ui-<hash>.<host>`), so the client sent its DDP connection and dynamic-import
fetches to `127.0.0.1:4000` — cross-origin and unreachable — and the header-based
login handshake (a DDP method call) never completed. A `WebApp.addRuntimeConfigHook`
now rewrites `ROOT_URL` to the grain's real base URL (`X-Sandstorm-Base-Path`) per
request, so DDP, dynamic imports and the Sandstorm auto-login work. Thanks to xet7.
- [Sandstorm .spk: bounce from sign-in to the boards list once auto-login lands](https://github.com/wekan/wekan/commit/6f3174b23d7072a383703a5fe03711090fe9f844):
the Sandstorm login was actually succeeding (`Meteor.userId()` gets set), but the
grain stayed on the sign-in page. WeKan's home route checks `Meteor.userId()` once
and, because the Sandstorm header login is asynchronous and uses
`connection.setUserId()` (bypassing accounts-base, so `Accounts.onLogin` never
fires), finds it still null on first render and redirects to `atSignIn` — where the
user is stranded even after login completes. A Sandstorm-only reactive autorun now
sends the user from `atSignIn` back to `home` as soon as `Meteor.userId()` is set,
so the grain lands on the All Boards page. Thanks to xet7.
- [Sandstorm .spk: keep the grain URL in sync with the in-app route](https://github.com/wekan/wekan/commit/68e59ab66f68d1c60bc10c954c50999809e5381b):
navigating between boards worked but the Sandstorm shell's grain URL never updated
(it stayed on the grain root), unlike standalone WeKan. The path was synced via a
global `FlowRouter.triggers.enter` callback, which does not fire reliably on client
navigation in this flow-router-extra / Meteor 3 setup; it is now synced from a
reactive `Tracker.autorun` on `FlowRouter.watchPathChange()` (the same mechanism
the title sync uses), so every route change updates the grain URL to
`/grain/<id><path>`. Thanks to xet7.
- [Sandstorm .spk: upload attachments over DDP (bridge strips Meteor-Files' HTTP headers)](https://github.com/wekan/wekan/commit/dc8ff6e6ca3093298d5e07f2c8726f597d672449):
adding a file to a card in the grain failed with HTTP 400 `Can't continue upload,
session expired [408]` and the file silently disappeared. Meteor-Files' HTTP
upload signals the first chunk with an `x-start` header and tracks the session
with `x-mtok`/`x-chunkid`/`x-fileid`/`x-eof`, but Sandstorm's request-header
whitelist does not include them, so the `sandstorm-http-bridge` strips them — the
server never sees `x-start`, treats every request as a chunk continuation, cannot
find the session and returns 408. Attachment uploads now use `transport: 'ddp'` on
Sandstorm (DDP method calls, no custom HTTP headers); HTTP transport is kept
everywhere else. Thanks to xet7.
- [Sandstorm .spk: authorize attachment/avatar downloads via X-Sandstorm-User-Id](https://github.com/wekan/wekan/commit/1ca7bd3bb6016f560aaa3f748bbb23cec514acf0):
once uploads worked, the uploaded image still showed as a broken thumbnail,
minicard cover and slideshow in the grain — the file was on disk but the download
returned HTTP 403. The download route (`server/routes/universalFileServer.js`)
authorizes files on private boards with a Meteor login token (Authorization /
X-Auth-Token / `authToken` query / `meteor_login_token` cookie), but Sandstorm has
none of these: authentication is via `connection.setUserId()` and the
`sandstorm-http-bridge` `X-Sandstorm-*` request headers, so `extractLoginToken()`
returned null and `isAuthorizedForBoard()` denied every request. Sandstorm already
gates grain access at the platform level, so any request that reaches WeKan is an
authenticated grain user — both `isAuthorizedForBoard()` and
`isAuthorizedForAvatar()` now allow when `Meteor.settings.public.sandstorm` is set
and the request carries the bridge-injected `X-Sandstorm-User-Id` header. Gating on
the setting means a spoofed header cannot bypass auth on non-Sandstorm deployments.
Thanks to xet7.
- [Sandstorm .spk: open All Boards (not sign-in) and keep the grain URL in sync](https://github.com/wekan/wekan/commit/3ab2b9dccbf3b32dd510d4634af88a1b9eb8513c):
two grain-navigation regressions against the last working Sandstorm build (v6.15).
(1) Opening a grain showed *"Must be logged in"* instead of the All Boards page: on
Sandstorm the platform authenticates the user asynchronously over DDP via
`connection.setUserId()`, which (unlike a password login) does not set
`Meteor.loggingIn()`, so `Meteor.userId()` is null for the first moments after the
grain opens — and useraccounts' `ensureSignedIn` trigger plus `renderBoardList()`
both bounced that brief null window to the `atSignIn` route, a sign-in page that
does not exist inside a grain. `config/router.js` now uses a Sandstorm-aware
`ensureSignedInUnlessSandstorm` wrapper (a no-op on Sandstorm) and
`renderBoardList()` no longer redirects on Sandstorm; the list renders and fills in
reactively once the login lands. (2) The Sandstorm shell's outer grain URL did not
update when switching boards — the shell rewrites `/grain/<id><path>` when the app
posts a `{ setPath }` message, but the sync was a bare top-level `Tracker.autorun`
that could run before flow-router-extra's reactive path tracking was ready and then
never re-run. Restored v6.15's event-driven `FlowRouter.triggers.enter` (fresh
entering path, order-independent) and kept a `watchPathChange()` autorun wrapped in
`Meteor.startup` as a backup. Thanks to xet7.
- [Sandstorm .spk: fix the MongoDB 3 → FerretDB migration of an existing grain](https://github.com/wekan/wekan/commit/3f5c70e6435c5305cb165eeb866fc1ac88f58dd0):
importing an old WeKan grain crash-looped in the one-time migration — mongod 3.0
forked and its child aborted with exit code 14. Two bugs. (1) *WiredTiger
cache_size=0G*: mongod 3.0 sizes its WiredTiger cache from detected RAM
(`RAM/2 − 1GB`), but inside a Sandstorm grain sandbox RAM detection returns 0, so it
computed `cache_size=0G` and WiredTiger refused to open (minimum is 1MB), logging
*"Value too small for key 'cache_size'"* / *"Fatal Assertion 28561"* to
`/var/migration-mongod.log` before aborting. Both mongod invocations (the niscu →
3.0 stage and the 3.0 → FerretDB stage) now pass an explicit
`--wiredTigerCacheSizeGB 1` so the cache size never depends on RAM detection
(mongod 3.0.7 parses this option as an integer number of GB — a decimal like `0.25`
fails with `Bad digit "."`, [fixed to `1`](https://github.com/wekan/wekan/commit/0804cd19e) —
and it is a cache cap, not a preallocation). The data
itself is intact (the *"unclean shutdown"* notice is harmless —
WiredTiger recovers from the last checkpoint). (2) *Wrong source database*:
Sandstorm WeKan grains store their data in the Meteor-default database `meteor`, but
the importer was told `SRC_DB=wekan`, so even once mongod started it would have
exported zero collections; only the FerretDB *target* database is `wekan`. Thanks to
xet7.
- [Sandstorm/Snap migration: import mongodb and bson as default (CommonJS) exports under Node 24](https://github.com/wekan/wekan/commit/a5bcb2e27c070643f17c9ed62ca6284564da1c51):
with the WiredTiger cache fixed mongod 3.0 started and the migration importer ran,
but crashed immediately on its named imports — `import { EJSON } from 'bson'` and
`import { MongoClient } from 'mongodb'` each threw *"Named export '…' not found. The
requested module is a CommonJS module"*. Both packages, as bundled in WeKan's server
`node_modules`, are CommonJS, so Node 24's ESM loader exposes no named exports on
them. Import the default and destructure, as Node's own error message advises (bson in
the commit linked above; [mongodb in the same way](https://github.com/wekan/wekan/commit/50abd8f95)).
Shared by the Snap MongoDB 3 → FerretDB migration too (same Node 24). Thanks to xet7.
- [Sandstorm/Snap migration: connect mongoexport over IPv4 so it can read the old data](https://github.com/wekan/wekan/commit/6142396ae9f95872f5b2ff0e3ee889e519fd56e8):
with the importer finally running, every `mongoexport` of a source collection failed
— at first silently (its own [`--quiet` flag suppressed the reason](https://github.com/wekan/wekan/commit/3076f2317)),
and once that was
dropped the real error showed: *"error connecting to db server: no reachable
servers"*. `mongoexport` is a Go tool whose `--host` defaults to `localhost`, which
resolves to `::1` (IPv6) first, but the migration `mongod` listens only on
`--bind_ip 127.0.0.1` (IPv4); the mongo shell defaults its host to `127.0.0.1` and so
connected fine (it listed all 42 collections), which is why only the shell worked.
Pass `--host 127.0.0.1` explicitly. The one-time progress dashboard also now shows a
live Activity panel (mongoexport-ready line, per-collection export/insert counts, GridFS
extraction counts) with a [spinner and an auto-updating timestamp](https://github.com/wekan/wekan/commit/62df99153),
so it is
clear what the migration is doing rather than sitting on *"(waiting…)"*. Thanks to
xet7.
- [Sandstorm/Snap migration: resolve bson/mongodb from the modern server bundle so EJSON exists](https://github.com/wekan/wekan/commit/beefe441d):
once mongoexport connected, every collection failed with *"Cannot read properties of
undefined (reading 'parse')"* — `EJSON` was undefined. The importer script sits at the
deps root right next to the OLD meteor-spk 0.6.0 base `node_modules` (kept only for the
niscu → 3.0 stage): its `bson` is 1.x with no `EJSON` at all, and its `mongodb` is
ancient — it has `MongoClient` (so the connection worked) but no `EJSON` re-export. A
bare `import`/`require` from the script resolved those adjacent old copies, so every
way of reaching `EJSON` (bare `bson`, `mongodb.EJSON`) came back undefined. WeKan's
current `bson` 7.3 and mongodb driver (with `EJSON`) live under
`programs/server/npm/node_modules`; [anchor `createRequire`](https://github.com/wekan/wekan/commit/0e0a8bbb3)
inside that modern bundle
first (falling back to the deps root) and load both `mongodb` and `bson` through it —
which also moves the importer to the same modern mongodb driver the WeKan app uses
against FerretDB. An upfront guard fails loudly with a diagnostic list if `EJSON.parse`
is still unreachable. Thanks to xet7.
- [Sandstorm/Snap migration: insert into FerretDB with the modern mongodb driver (OP_MSG)](https://github.com/wekan/wekan/commit/cab231ee3):
text collections exported and *"inserted N/N"* was logged, but every document actually
failed with *"Unsupported OP_QUERY command: update"* — nothing reached FerretDB.
`requireAny('mongodb')` had resolved the ancient meteor-spk base driver (v2.x, at the
deps root) because the modern driver is not directly under
`programs/server/npm/node_modules` — Meteor nests it at
`…/meteor/npm-mongo/node_modules/mongodb` (v6.16). The 2.x driver speaks legacy
OP_QUERY, which FerretDB rejects; the 6.x driver speaks OP_MSG (the same driver the
WeKan app uses against FerretDB). Add the npm-mongo path as the first resolver anchor,
and log the resolved driver version. Thanks to xet7.
- [Sandstorm/Snap migration: extract Meteor-Files GridFS attachments + parse legacy v1 binary](https://github.com/wekan/wekan/commit/3476cd17c):
with text migrating, attachments still produced 0 files and *"parse attachments.chunks:
Unexpected Binary Extended JSON format"*. Two causes. (1) mongo 3.x `mongoexport` writes
binary as legacy Extended JSON v1 `{"$binary":"<b64>","$type":"00"}`, but modern bson
`EJSON.parse` only accepts v2 `{"$binary":{"base64":…,"subType":…}}` — rewrite v1→v2 per
line before parsing. (2) The grain stores attachments in Meteor-Files' own GridFS buckets
(`attachments.files` + `attachments.chunks`, with the FilesCollection record in the
`attachments` collection), not CollectionFS's `cfs_gridfs.*`. Reassemble those buckets to
disk, link each GridFS file to its record via `metadata.fileId`/`versionName`, then repoint
the record's `versions.<v>` at the file and drop `versions.<v>.meta.gridFsFileId` —
otherwise WeKan's `getFileStrategy` keeps choosing the now-empty GridFS backend and the
image 404s. Verified end to end on a real grain: boards/cards/lists/swimlanes migrate and
all 3 attachments extract and display. Thanks to xet7.
- [Sandstorm/Snap migration: auto-open All Boards after migrating, WeKan-themed dashboard](https://github.com/wekan/wekan/commit/b8bdbcd2d):
the one-time progress dashboard used to sit on the grain URL for 60s after completion,
forcing a manual reload to reach WeKan. On success the importer now hands off quickly and
the done page polls `/` until WeKan's app shell answers (riding out the brief
importer→WeKan port hand-off) and then opens All Boards, with the spinner still spinning so
it is clear the grain is still working. The dashboard is also recoloured to WeKan's
blue/white/grey. Thanks to xet7.
- **Avatars and original members now travel with a board (export/import), from every
identity source.** A board could be moved between servers (or imported into Sandstorm)
but member avatars vanished — they lived in Sandstorm / LDAP / OAuth2, not in WeKan —
and original members were collapsed onto the importing user by a mapping that could
attach the wrong person and leak board permissions. Now:
- [External avatars are localized into WeKan's own files/avatars](https://github.com/wekan/wekan/commit/ac8bedfef),
triggered when a board is opened and at login, from any source — Sandstorm profile
picture, LDAP [`jpegPhoto`/`thumbnailPhoto`](https://github.com/wekan/wekan/commit/c258d862d),
OAuth2/OIDC `picture` claim, gravatar or a pasted URL — every network fetch guarded
against SSRF (http/https only; no private, loopback, link-local or cloud-metadata
address; timeout + size + image-type caps). ([board-open trigger](https://github.com/wekan/wekan/commit/5a38ca3ca).
Inside a Sandstorm grain outbound fetch is sandboxed, so a still-external Sandstorm
picture is a best-effort no-op there — but any avatar that is already a local file
exports/imports fully, grain included.)
- [Board export embeds each member's local avatar file as base64](https://github.com/wekan/wekan/commit/92c769fd1)
alongside their username, fullname and initials — never passwords, emails or services.
- [Board import preserves the original members as inert placeholder users](https://github.com/wekan/wekan/commit/aff3017ff)
(`authenticationMethod:'imported'`, `loginDisabled`, `isActive:false`, no secrets),
reusing each original `_id` so card/comment/activity references resolve to the right
person with NO mapping at import time, and restores their avatar. The importer stays
the sole admin; imported members hold no permissions until reconciled.
- [Reconciliation maps placeholders to the valid accounts deliberately, later](https://github.com/wekan/wekan/commit/6985281d5):
an admin sweep merges each placeholder into a matching real account (provisioned by
LDAP/OIDC at login) by reassigning every reference, and leaves the rest inactive
(e.g. a person not in LDAP); a one-off admin merge is available too.
- [Avatars visibly distinguish account state](https://github.com/wekan/wekan/commit/fae20c8bc),
on card avatars and in the right-sidebar member list: a dashed ring + amber "?" badge
for un-reconciled imported placeholders, greyscale + dim for inactive members, and the
sidebar now lists everyone (active first, then inactive) instead of hiding inactive
members. Thanks to xet7.
Thanks to above GitHub users for their contributions and translators for their translations.
# v9.87 2026-07-11 WeKan ® release
This release fixes the following bugs:
- [Normal users cannot move cards between swimlanes](https://github.com/wekan/wekan/commit/b227a931933a3a8abff67c1084f9561b8847f444):
in the swimlanes view the `.js-swimlanes` sortable — which also carries moving a
card from one swimlane to another — was disabled for every non-admin
(`!isBoardAdmin()`), even though its own comment said it should be disabled only
for non-members. So ordinary board members could move a card within a swimlane
but not between swimlanes, and could not reorder swimlanes. Now it is disabled
only for users without write access (`!canModifyCard()`: comment-only, worker,
read-only), so board members can move cards between swimlanes again.
Thanks to xet7.
Thanks to above GitHub users for their contributions and translators for their translations.
# v9.86 2026-07-11 WeKan ® release
This release fixes the following bugs:
+1 -1
View File
@@ -7,7 +7,7 @@ LABEL org.opencontainers.image.source="https://github.com/wekan/wekan"
# TARGETARCH and TARGETVARIANT are automatically provided by Docker Buildx
ARG TARGETARCH
ARG TARGETVARIANT
ARG VERSION=9.86
ARG VERSION=9.89
ARG DEBIAN_FRONTEND=noninteractive
ENV BUILD_DEPS="apt-utils gnupg wget bzip2 g++ curl libarchive-tools build-essential git ca-certificates python3 unzip"
+1 -1
View File
@@ -1,5 +1,5 @@
appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928
appVersion: "v9.86.0"
appVersion: "v9.89.0"
files:
userUploads:
- README.md
+9 -2
View File
@@ -570,11 +570,18 @@ Template.boardBody.onRendered(function () {
$swimlanesDom.sortable('option', 'handle', '.swimlane-header');
}
// Disable drag-dropping if the current user is not a board member
// #6446: enable swimlane drag-drop — which also carries moving cards BETWEEN
// swimlanes — for any board member with write access, not only board admins.
// The old !isBoardAdmin() check disabled this sortable for every non-admin, so
// a normal member could still move a card WITHIN a swimlane but not BETWEEN
// swimlanes (a card crossing swimlanes is received across this sortable), and
// could not reorder swimlanes. canModifyCard() is the client write-access
// predicate (board member, not comment-only / worker / read-only), matching
// the server's allowIsBoardMemberWithWriteAccess.
$swimlanesDom.sortable(
'option',
'disabled',
!ReactiveCache.getCurrentUser()?.isBoardAdmin(),
!Utils.canModifyCard(),
);
}
});
+13 -6
View File
@@ -432,11 +432,16 @@ export async function handleFileUpload(card, files) {
fileName: fileName,
meta: Utils.getCommonAttachmentMetaFrom(card),
chunkSize: 'dynamic',
// Use HTTP transport instead of DDP so file chunks go over a dedicated
// fetch POST rather than flooding the WebSocket/DDP channel. DDP
// upload causes repeated DDP reconnects in Safari, showing the
// "Loading, please wait" offline banner and stalling progress at ~95%.
transport: 'http',
// Use HTTP transport (a dedicated fetch POST per chunk) rather than DDP,
// which floods the WebSocket channel and causes repeated reconnects in
// Safari (the "Loading, please wait" offline banner, stalling at ~95%).
// EXCEPT on Sandstorm: the grain's sandstorm-http-bridge strips Meteor-Files'
// custom upload headers — x-start/x-mtok/x-chunkid/x-fileid/x-eof are not on
// Sandstorm's request-header whitelist — so the server never sees x-start,
// treats every request as a chunk continuation, and fails with "Can't
// continue upload, session expired" [408]. DDP uploads go over method calls
// (no custom HTTP headers), so they work through the bridge.
transport: Meteor.settings?.public?.sandstorm ? 'ddp' : 'http',
};
config.meta.fileId = fileId;
@@ -528,7 +533,9 @@ Template.previewClipboardImagePopup.events({
meta: Utils.getCommonAttachmentMetaFrom(card),
fileName: file.name || file.type.replace('image/', 'clipboard.'),
chunkSize: 'dynamic',
transport: 'http',
// DDP on Sandstorm (its bridge strips Meteor-Files' x-* upload headers),
// HTTP elsewhere — see the note in the other upload handler above.
transport: Meteor.settings?.public?.sandstorm ? 'ddp' : 'http',
};
config.meta.fileId = fileId;
const uploader = await Attachments.insertAsync(
+1 -1
View File
@@ -85,7 +85,7 @@ template(name="membersWidget")
+userAvatar(userId=currentBoard.userId showStatus=true)
.clearfix
else
each currentBoard.activeMembers
each currentBoard.membersForSidebar
+userAvatar(userId=this.userId showStatus=true)
if isSandstorm
if currentUser.isBoardMember
+39
View File
@@ -118,3 +118,42 @@
height: clamp(40px, 5vw, 60px);
margin-inline-end: 10px;
}
/* Account-status distinction on the avatar itself (see userAvatar.js
memberAccountClass / isImportedMember / isInactiveMember):
- imported-member: an un-reconciled board-import placeholder that is not yet mapped
to a real account — dashed ring + amber "?" corner badge.
- inactive-member: deactivated on this board (e.g. a person not in LDAP after
reconciliation) — greyscale + dimmed, grey corner badge.
A placeholder is usually both; a real, active account gets neither. */
.member.imported-member .avatar {
border: 2px dashed #7f8c9a;
box-sizing: border-box;
opacity: 0.9;
}
.member.inactive-member .avatar {
filter: grayscale(1);
opacity: 0.55;
}
.member .member-account-badge {
position: absolute;
bottom: -2px;
right: -2px;
min-width: 14px;
height: 14px;
line-height: 13px;
padding: 0 1px;
border-radius: 7px;
font-size: 10px;
font-weight: bold;
text-align: center;
color: #fff;
box-shadow: 0 0 0 1.5px #fff;
pointer-events: none;
}
.member .member-account-badge.imported {
background: #f39c12;
}
.member .member-account-badge.inactive {
background: #95a5a6;
}
+6 -1
View File
@@ -1,5 +1,5 @@
template(name="userAvatar")
a.member(class="js-{{#if assignee}}assignee{{else}}member{{/if}}" title="{{#if userData}}{{userData.profile.fullname}} ({{userData.username}}) {{_ memberType}}{{/if}}")
a.member(class="js-{{#if assignee}}assignee{{else}}member{{/if}} {{memberAccountClass}}" title="{{#if userData}}{{userData.profile.fullname}} ({{userData.username}}) {{_ memberType}}{{#if isImportedMember}} — {{_ 'imported-member-no-account'}}{{else}}{{#if isInactiveMember}} — {{_ 'inactive-member'}}{{/if}}{{/if}}{{/if}}")
if userData
if userData.profile.avatarUrl
img.avatar.avatar-image(src="{{avatarUrl}}" alt="")
@@ -8,6 +8,11 @@ template(name="userAvatar")
else
+userAvatarInitials(userId=this.userId)
if isImportedMember
span.member-account-badge.imported(title="{{_ 'imported-member-no-account'}}") ?
else if isInactiveMember
span.member-account-badge.inactive(title="{{_ 'inactive-member'}}")
if showStatus
span.member-presence-status(class=presenceStatusClassName)
span.member-type(class=memberType)
+44
View File
@@ -11,11 +11,55 @@ Template.userAvatar.helpers({
fields: {
profile: 1,
username: 1,
authenticationMethod: 1,
isActive: 1,
},
});
return user;
},
// Distinguish, on the avatar itself, whether a real account backs this member:
// - imported-member: an inert placeholder created by a board import that has not been
// reconciled/mapped to a real account yet (dashed ring + "?" badge).
// - inactive-member: deactivated on this board (e.g. a person not in LDAP after
// reconciliation) (greyscale + dim).
// A placeholder is typically both. A real, active account gets neither.
memberAccountClass() {
const user = ReactiveCache.getUser(this.userId, {
fields: { authenticationMethod: 1, isActive: 1 },
});
if (!user) return '';
const classes = [];
if (user.authenticationMethod === 'imported') classes.push('imported-member');
let inactive = user.isActive === false;
if (!inactive) {
const board = Utils.getCurrentBoard && Utils.getCurrentBoard();
const m = board && Array.isArray(board.members)
? board.members.find(x => x.userId === this.userId)
: null;
if (m && m.isActive === false) inactive = true;
}
if (inactive) classes.push('inactive-member');
return classes.join(' ');
},
isImportedMember() {
const user = ReactiveCache.getUser(this.userId, { fields: { authenticationMethod: 1 } });
return !!(user && user.authenticationMethod === 'imported');
},
isInactiveMember() {
const user = ReactiveCache.getUser(this.userId, { fields: { authenticationMethod: 1, isActive: 1 } });
if (!user) return false;
if (user.authenticationMethod === 'imported') return false; // shown via the imported badge
if (user.isActive === false) return true;
const board = Utils.getCurrentBoard && Utils.getCurrentBoard();
const m = board && Array.isArray(board.members)
? board.members.find(x => x.userId === this.userId)
: null;
return !!(m && m.isActive === false);
},
avatarUrl() {
const user = ReactiveCache.getUser(this.userId, { fields: { profile: 1 } });
const base = (user && user.profile && user.profile.avatarUrl) || '';
+19 -1
View File
@@ -17,7 +17,25 @@ const fs = require('fs');
const path = require('path');
const { expect } = require('chai');
const repoRoot = path.resolve(__dirname, '..', '..', '..');
// Find the repo root by walking up from process.cwd()/PWD, NOT from the bare `__dirname`
// global: under `meteor test` referencing `__dirname` makes Meteor inject a
// `const __dirname` that collides with the one its CommonJS module wrapper already
// provides, crashing the whole server bundle at boot with "Identifier '__dirname' has
// already been declared" (same fix as server/lib/tests/dependencies.openapi.tests.js).
function findRepoRoot(marker) {
const seeds = [process.cwd(), process.env.PWD, process.env.OLDPWD].filter(Boolean);
for (const seed of seeds) {
let dir = seed;
for (let i = 0; i < 12; i += 1) {
try { fs.accessSync(path.join(dir, marker)); return dir; } catch (e) { /* walk up */ }
const parent = path.dirname(dir);
if (parent === dir) break;
dir = parent;
}
}
return process.cwd();
}
const repoRoot = findRepoRoot(path.join('client', 'components', 'rules', 'triggers', 'boardTriggers.jade'));
const jadePath = path.join(
repoRoot,
'client',
+46 -22
View File
@@ -10,6 +10,27 @@ import { Utils } from '/client/lib/utils';
let previousPath;
// On Sandstorm the grain is authenticated by the platform, not by a local WeKan
// account. That login is delivered asynchronously over the DDP connection (via
// connection.setUserId(), which — unlike a normal password login — does NOT set
// Meteor.loggingIn()), so for the first moments after a grain opens Meteor.userId()
// is still null even though the user is, and always will be, authenticated. There
// is no local sign-in page in a grain. useraccounts' ensureSignedIn would bounce the
// grain straight to the (nonexistent) atSignIn route on that brief null window,
// stranding the user on a "Must be logged in" page instead of opening All Boards.
const isSandstorm = Meteor.settings?.public?.sandstorm;
// Drop-in replacement for AccountsTemplates.ensureSignedIn used as a route
// triggersEnter: a no-op on Sandstorm (the platform guarantees authentication and
// the route repopulates reactively once Meteor.userId() lands), and the normal
// useraccounts guard everywhere else.
function ensureSignedInUnlessSandstorm(context, redirect, stop) {
if (isSandstorm) {
return undefined;
}
return AccountsTemplates.ensureSignedIn(context, redirect, stop);
}
FlowRouter.triggers.exit([
({ path }) => {
previousPath = path;
@@ -21,8 +42,11 @@ FlowRouter.triggers.exit([
// redirected to; the chosen view is passed to boardList through the
// `boardListMenu` Session value.
function renderBoardList(ctx, menu) {
// Redirect to sign-in immediately if user is not logged in
if (!Meteor.userId()) {
// Redirect to sign-in immediately if user is not logged in — except on Sandstorm,
// where the platform authenticates asynchronously (see isSandstorm note above) and
// there is no sign-in page. There we render the All Boards list, which reactively
// fills in once the grain login lands, instead of bouncing to atSignIn.
if (!Meteor.userId() && !isSandstorm) {
FlowRouter.go('atSignIn');
return;
}
@@ -48,7 +72,7 @@ function renderBoardList(ctx, menu) {
FlowRouter.route('/', {
name: 'home',
triggersEnter: [AccountsTemplates.ensureSignedIn],
triggersEnter: [ensureSignedInUnlessSandstorm],
action() {
renderBoardList(this, 'starred');
},
@@ -56,7 +80,7 @@ FlowRouter.route('/', {
FlowRouter.route('/templates', {
name: 'allboards-templates',
triggersEnter: [AccountsTemplates.ensureSignedIn],
triggersEnter: [ensureSignedInUnlessSandstorm],
action() {
renderBoardList(this, 'templates');
},
@@ -64,7 +88,7 @@ FlowRouter.route('/templates', {
FlowRouter.route('/remaining', {
name: 'allboards-remaining',
triggersEnter: [AccountsTemplates.ensureSignedIn],
triggersEnter: [ensureSignedInUnlessSandstorm],
action() {
renderBoardList(this, 'remaining');
},
@@ -72,7 +96,7 @@ FlowRouter.route('/remaining', {
FlowRouter.route('/public', {
name: 'public',
triggersEnter: [AccountsTemplates.ensureSignedIn],
triggersEnter: [ensureSignedInUnlessSandstorm],
action() {
Session.set('currentBoard', null);
Session.set('currentList', null);
@@ -96,7 +120,7 @@ FlowRouter.route('/public', {
FlowRouter.route('/accessibility', {
name: 'accessibility',
triggersEnter: [AccountsTemplates.ensureSignedIn],
triggersEnter: [ensureSignedInUnlessSandstorm],
action() {
Session.set('currentBoard', null);
Session.set('currentList', null);
@@ -120,7 +144,7 @@ FlowRouter.route('/accessibility', {
FlowRouter.route('/support', {
name: 'support',
triggersEnter: [AccountsTemplates.ensureSignedIn],
triggersEnter: [ensureSignedInUnlessSandstorm],
action() {
Session.set('currentBoard', null);
Session.set('currentList', null);
@@ -144,7 +168,7 @@ FlowRouter.route('/support', {
FlowRouter.route('/b/:id/:slug/rules', {
name: 'board-rules',
triggersEnter: [AccountsTemplates.ensureSignedIn],
triggersEnter: [ensureSignedInUnlessSandstorm],
action(params) {
const currentBoard = params.id;
Session.set('currentBoard', currentBoard);
@@ -272,7 +296,7 @@ FlowRouter.route('/shortcuts', {
FlowRouter.route('/b/templates', {
name: 'template-container',
triggersEnter: [AccountsTemplates.ensureSignedIn],
triggersEnter: [ensureSignedInUnlessSandstorm],
action() {
Session.set('currentBoard', null);
Session.set('currentList', null);
@@ -296,7 +320,7 @@ FlowRouter.route('/b/templates', {
FlowRouter.route('/my-cards', {
name: 'my-cards',
triggersEnter: [AccountsTemplates.ensureSignedIn],
triggersEnter: [ensureSignedInUnlessSandstorm],
action() {
Filter.reset();
Session.set('sortBy', '');
@@ -316,7 +340,7 @@ FlowRouter.route('/my-cards', {
FlowRouter.route('/due-cards', {
name: 'due-cards',
triggersEnter: [AccountsTemplates.ensureSignedIn],
triggersEnter: [ensureSignedInUnlessSandstorm],
action() {
Filter.reset();
Session.set('sortBy', '');
@@ -336,7 +360,7 @@ FlowRouter.route('/due-cards', {
FlowRouter.route('/global-search', {
name: 'global-search',
triggersEnter: [AccountsTemplates.ensureSignedIn],
triggersEnter: [ensureSignedInUnlessSandstorm],
action() {
Filter.reset();
Session.set('sortBy', '');
@@ -371,7 +395,7 @@ FlowRouter.route('/global-search', {
// Mobile Bookmarks page
FlowRouter.route('/bookmarks', {
name: 'bookmarks',
triggersEnter: [AccountsTemplates.ensureSignedIn],
triggersEnter: [ensureSignedInUnlessSandstorm],
action() {
Filter.reset();
Session.set('sortBy', '');
@@ -409,7 +433,7 @@ FlowRouter.route('/broken-cards', {
FlowRouter.route('/import/:source', {
name: 'import',
triggersEnter: [AccountsTemplates.ensureSignedIn],
triggersEnter: [ensureSignedInUnlessSandstorm],
action(params) {
if (Session.get('currentBoard')) {
Session.set('fromBoard', Session.get('currentBoard'));
@@ -434,7 +458,7 @@ FlowRouter.route('/import/:source', {
FlowRouter.route('/setting', {
name: 'setting',
triggersEnter: [
AccountsTemplates.ensureSignedIn,
ensureSignedInUnlessSandstorm,
() => {
Session.set('currentBoard', null);
Session.set('currentList', null);
@@ -459,7 +483,7 @@ FlowRouter.route('/setting', {
FlowRouter.route('/information', {
name: 'information',
triggersEnter: [
AccountsTemplates.ensureSignedIn,
ensureSignedInUnlessSandstorm,
() => {
Session.set('currentBoard', null);
Session.set('currentList', null);
@@ -483,7 +507,7 @@ FlowRouter.route('/information', {
FlowRouter.route('/people', {
name: 'people',
triggersEnter: [
AccountsTemplates.ensureSignedIn,
ensureSignedInUnlessSandstorm,
() => {
Session.set('currentBoard', null);
Session.set('currentList', null);
@@ -507,7 +531,7 @@ FlowRouter.route('/people', {
FlowRouter.route('/admin-reports', {
name: 'admin-reports',
triggersEnter: [
AccountsTemplates.ensureSignedIn,
ensureSignedInUnlessSandstorm,
() => {
Session.set('currentBoard', null);
Session.set('currentList', null);
@@ -531,7 +555,7 @@ FlowRouter.route('/admin-reports', {
FlowRouter.route('/attachments', {
name: 'attachments',
triggersEnter: [
AccountsTemplates.ensureSignedIn,
ensureSignedInUnlessSandstorm,
() => {
Session.set('currentBoard', null);
Session.set('currentList', null);
@@ -555,7 +579,7 @@ FlowRouter.route('/attachments', {
FlowRouter.route('/translation', {
name: 'translation',
triggersEnter: [
AccountsTemplates.ensureSignedIn,
ensureSignedInUnlessSandstorm,
() => {
Session.set('currentBoard', null);
Session.set('currentList', null);
@@ -579,7 +603,7 @@ FlowRouter.route('/translation', {
FlowRouter.route('/admin-features', {
name: 'admin-features',
triggersEnter: [
AccountsTemplates.ensureSignedIn,
ensureSignedInUnlessSandstorm,
() => {
Session.set('currentBoard', null);
Session.set('currentList', null);
+55 -1
View File
@@ -2,6 +2,59 @@
# Sandstorm at Debian and Ubuntu
### New Sandstorm WeKan at 2026-07
Backup your current Sandstorm first !
1. Please first backup your Sandstorm https://docs.sandstorm.io/en/latest/administering/backups/
2. Please first download all of your grains to .zip files from top menu row down arrow button, just in case.
This new Sandstorm WeKan uses fork of FerretDB v1 SQLite at https://github.com/wekan/FerretDB
- FerretDB is drop-in replacement for MongoDB 7 Server
- FerretDB implements MongoDB 7 server wire protocol
- FerretDB converts MongoDB Javascript queries to SQLite SQL queries
- FerretDB saves data to SQLite database
- Fork has additional MongoDB features
- Fork is maintained by xet7
Migrating old MongoDB 3 data
- If there is old WeKan data, it is automatically migrated when opening old WeKan grain.
Attachments are migrated from MongoDB to files/attachments.
Text data is migrated from MongoDB to SQLite at files/db/wekan.sqlite .
- After migrating, you may get error, that browser can not open that page embedded to other page.
So you need to close WeKan grain and open it again. Sorry, trying to fix it later.
All Boards page
- WeKan starts at All Boards page Favorites
- All your boards are at first at Remaining, until you Star to have your board at Favorites
- You can move boards from Remaining to your personal Workspaces or Sub-Workspaces
After migrating, free some disk space
- If after migrating you would like to free disk space of WeKan grain
by deleting old MongoDB raw database files
- At right top corner, click your WeKan username at WeKan board (not at Sandstorm black backround) /
Member Settings / Admin Panel / Attachments / Sandstorm / Delete raw MongoDB database files.
Cover image
- You can enable it for minicard and card at:
Right Sidebar/Board Settings/Card Settings/Cover Image
(at bottom of Card Settings list).
Download
1. Please wait before there is more testing of new version, and appears to Official Sandstorm Store.
2. Currently newest at [Experimental Sanstorm Store](https://apps.sandstorm.io/app/m86q05rdvj14yvn78ghaxynqz7u2svw6rnttptxx49g1785cdv1h?experimental=true)
3. Later will be at [Official Sandstorm Store](https://apps.sandstorm.io/app/m86q05rdvj14yvn78ghaxynqz7u2svw6rnttptxx49g1785cdv1h)
4. But, if you use CloudFlare, there may be 100 MB file size upload limit,
it prevents uploading wekan.spk as file to your Sandstorm.
5. New experimental wekan.spk install file at WeKan 9.87 or newer
at https://github.com/wekan/wekan/releases
### Sandstorm Radicale: Calendars and Contacts
- 2025-08-05
@@ -141,7 +194,8 @@ Install to your own server. Automatic updates, tested before release. Sandstorm
## Wekan App
Wekan at [experimental](https://apps.sandstorm.io/app/m86q05rdvj14yvn78ghaxynqz7u2svw6rnttptxx49g1785cdv1h?experimental=true) or [official](https://apps.sandstorm.io/app/m86q05rdvj14yvn78ghaxynqz7u2svw6rnttptxx49g1785cdv1h) Sandstorm App Market. Note: Only use official. Experimental versions are broken.
Wekan at [experimental](https://apps.sandstorm.io/app/m86q05rdvj14yvn78ghaxynqz7u2svw6rnttptxx49g1785cdv1h?experimental=true) or
[official](https://apps.sandstorm.io/app/m86q05rdvj14yvn78ghaxynqz7u2svw6rnttptxx49g1785cdv1h) Sandstorm App Market. Note: Only use official. Experimental versions are broken.
Newest Wekap app .spk file download at https://releases.wekan.team/sandstorm/
+2 -2
View File
@@ -10,7 +10,7 @@ This is without container (without Docker or Snap).
Right click and download files 1-4:
1. [wekan-9.86-win64.zip](https://github.com/wekan/wekan/releases/download/v9.86/wekan-9.86-win64.zip) or newest available at https://github.com/wekan/wekan/releases/
1. [wekan-9.89-win64.zip](https://github.com/wekan/wekan/releases/download/v9.89/wekan-9.89-win64.zip) or newest available at https://github.com/wekan/wekan/releases/
2. [node.exe](https://nodejs.org/dist/latest-v24.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.34-signed.msi` . In installer, uncheck downloading MongoDB compass.
7. Unzip `wekan-9.86-win64.zip` , inside it is directory `bundle`, to it copy other files:
7. Unzip `wekan-9.89-win64.zip` , inside it is directory `bundle`, to it copy other files:
```
bundle (directory)
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Buat Panel",
"home": "Beranda",
"import": "Impor",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Berlakon sebagai pengguna",
"link": "Pautan",
"import-board": "import papan",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Skep bord",
"home": "Tuis",
"import": "Invoer",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Verpersoonlik gebruiker",
"link": "Skakel",
"import-board": "invoerbord",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Skep bord",
"home": "Tuis",
"import": "Invoer",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Verpersoonlik gebruiker",
"link": "Skakel",
"import-board": "invoerbord",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "إنشاء لوحة",
"home": "الرئيسية",
"import": "وارد کردن",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "جعل هویت کاربر",
"link": "رابط",
"import-board": "استيراد لوحة",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "إنشاء لوحة",
"home": "الرئيسية",
"import": "وارد کردن",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "جعل هویت کاربر",
"link": "رابط",
"import-board": "استيراد لوحة",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "إنشاء لوحة",
"home": "الرئيسية",
"import": "وارد کردن",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "جعل هویت کاربر",
"link": "رابط",
"import-board": "استيراد لوحة",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "إنشاء لوحة",
"home": "الرئيسية",
"import": "وارد کردن",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "جعل هویت کاربر",
"link": "رابط",
"import-board": "استيراد لوحة",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Crear tablero",
"home": "Inicio",
"import": "Importar",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonalizar",
"link": "Enlace",
"import-board": "importar un tablero",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Şura yaradın",
"home": "Ev",
"import": "İdxal",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Təqlid edən istifadəçi",
"link": "Link",
"import-board": "idxal lövhəsi",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Şura yaradın",
"home": "Ev",
"import": "İdxal",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Təqlid edən istifadəçi",
"link": "Link",
"import-board": "idxal lövhəsi",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Şura yaradın",
"home": "Ev",
"import": "İdxal",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Təqlid edən istifadəçi",
"link": "Link",
"import-board": "idxal lövhəsi",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Create Board",
"home": "Home",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonate user",
"link": "Link",
"import-board": "import board",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Създай Табло",
"home": "Начало",
"import": "Импорт",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Увуци се у налог овог корисника",
"link": "Връзка",
"import-board": "Импортирай Табло",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Créer un tableau",
"home": "Accueil",
"import": "Importer",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Utilisateur usurpé",
"link": "Lien",
"import-board": "importer un tableau",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Crea tauler",
"home": "Inici",
"import": "importa",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Suplantar l'usuari",
"link": "Enllaç",
"import-board": "Importa tauler",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Crea tauler",
"home": "Inici",
"import": "importa",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Suplantar l'usuari",
"link": "Enllaç",
"import-board": "Importa tauler",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Crea tauler",
"home": "Inici",
"import": "importa",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Suplantar l'usuari",
"link": "Enllaç",
"import-board": "Importa tauler",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "创建板",
"home": "家",
"import": "进口",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "冒充用户",
"link": "关联",
"import-board": "进口板",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Vytvořit tablo",
"home": "Domů",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Napodobit uživatele",
"link": "Propojit",
"import-board": "Importovat tablo",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Vytvořit tablo",
"home": "Domů",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Napodobit uživatele",
"link": "Propojit",
"import-board": "Importovat tablo",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Creu Bwrdd",
"home": "Cartref",
"import": "Mewnforio",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Dynwared defnyddiwr",
"link": "Cyswllt",
"import-board": "bwrdd mewnforio",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Creu Bwrdd",
"home": "Cartref",
"import": "Mewnforio",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Dynwared defnyddiwr",
"link": "Cyswllt",
"import-board": "bwrdd mewnforio",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Opret tavle",
"home": "Hjem",
"import": "Importér",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Log ind som bruger",
"link": "Link",
"import-board": "importer tavle",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Board erstellen",
"home": "Home",
"import": "Importieren",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "als Benutzer ausgeben",
"link": "Verknüpfung",
"import-board": "Board importieren",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Board erstellen",
"home": "Home",
"import": "Importieren",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "als Benutzer ausgeben",
"link": "Verknüpfung",
"import-board": "Board importieren",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Board erstellen",
"home": "Home",
"import": "Importieren",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "als Benutzer ausgeben",
"link": "Verknüpfung",
"import-board": "Board importieren",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Board erstellen",
"home": "Home",
"import": "Importieren",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "als Benutzer ausgeben",
"link": "Verknüpfung",
"import-board": "Board importieren",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Δημιουργία Πίνακα",
"home": "Αρχική",
"import": "Εισαγωγή",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersona utente",
"link": "Σύνδεσμος",
"import-board": "Εισαγωγή πίνακα",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Δημιουργία Πίνακα",
"home": "Αρχική",
"import": "Εισαγωγή",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersona utente",
"link": "Σύνδεσμος",
"import-board": "Εισαγωγή πίνακα",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Create Board",
"home": "Home",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonate user",
"link": "Link",
"import-board": "import board",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Create Board",
"home": "Home",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonate user",
"link": "Link",
"import-board": "import board",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Create Board",
"home": "Home",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonate user",
"link": "Link",
"import-board": "import board",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Create Board",
"home": "Home",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonate user",
"link": "Link",
"import-board": "import board",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Create Board",
"home": "Home",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonate user",
"link": "Link",
"import-board": "import board",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Create Board",
"home": "Home",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonate user",
"link": "Link",
"import-board": "import board",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Create Board",
"home": "Home",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonate user",
"link": "Link",
"import-board": "import board",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Create Board",
"home": "Home",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonate user",
"link": "Link",
"import-board": "import board",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Create Board",
"home": "Home",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonate user",
"link": "Link",
"import-board": "import board",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Create Board",
"home": "Home",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonate user",
"link": "Link",
"import-board": "import board",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Create Board",
"home": "Home",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonate user",
"link": "Link",
"import-board": "import board",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Create Board",
"home": "Home",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonate user",
"link": "Link",
"import-board": "import board",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Krei tavolon",
"home": "Hejmo",
"import": "Importi",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonalizar",
"link": "Ligilo",
"import-board": "importar un tablero",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Crear Tablero",
"home": "Inicio",
"import": "Importar",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonalizar",
"link": "Enlace",
"import-board": "importar tablero",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Crear tablero",
"home": "Inicio",
"import": "Importar",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonalizar",
"link": "Enlace",
"import-board": "importar un tablero",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Crear tablero",
"home": "Inicio",
"import": "Importar",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonalizar",
"link": "Enlace",
"import-board": "importar un tablero",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Crear tablero",
"home": "Inicio",
"import": "Importar",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonalizar",
"link": "Enlace",
"import-board": "importar un tablero",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Crear tablero",
"home": "Inicio",
"import": "Importar",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonar usuario",
"link": "Enlace",
"import-board": "importar un tablero",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Crear tablero",
"home": "Inicio",
"import": "Importar",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonalizar",
"link": "Enlace",
"import-board": "importar un tablero",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Crear tablero",
"home": "Inicio",
"import": "Importar",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonalizar",
"link": "Enlace",
"import-board": "importar un tablero",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Crear tablero",
"home": "Inicio",
"import": "Importar",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonalizar",
"link": "Enlace",
"import-board": "importar un tablero",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Loo juhatus",
"home": "Kodu",
"import": "Import",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Kasutajaks kehastumine",
"link": "Link",
"import-board": "impordikomisjon",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Sortu arbela",
"home": "Hasiera",
"import": "Inportatu",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersonalizar",
"link": "Esteka",
"import-board": "inportatu arbela",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "ایجاد برد",
"home": "خانه",
"import": "وارد کردن",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "جعل هویت کاربر",
"link": "ارتباط",
"import-board": "وارد کردن برد",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "ایجاد برد",
"home": "خانه",
"import": "وارد کردن",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "جعل هویت کاربر",
"link": "ارتباط",
"import-board": "وارد کردن برد",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Luo taulu",
"home": "Koti",
"import": "Tuo",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Esiinny käyttäjänä",
"link": "Linkitä",
"import-board": "tuo taulu",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Créer un tableau",
"home": "Accueil",
"import": "Importer",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Utilisateur usurpé",
"link": "Lien",
"import-board": "importer un tableau",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Créer un tableau",
"home": "Accueil",
"import": "Importer",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Utilisateur usurpé",
"link": "Lien",
"import-board": "importer un tableau",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Créer un tableau",
"home": "Accueil",
"import": "Importer",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Utilisateur usurpé",
"link": "Lien",
"import-board": "importer un tableau",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Meitsje Board",
"home": "Thús",
"import": "Ymport",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Imitearje brûker",
"link": "Link",
"import-board": "ymportearje board",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Meitsje Board",
"home": "Thús",
"import": "Ymport",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Imitearje brûker",
"link": "Link",
"import-board": "ymportearje board",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Crear taboleiro",
"home": "Inicio",
"import": "Importar",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Personificar utilizador",
"link": "Ligação",
"import-board": "importar taboleiro",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Crear taboleiro",
"home": "Inicio",
"import": "Importar",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Personificar utilizador",
"link": "Ligação",
"import-board": "importar taboleiro",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "બોર્ડ બનાવો",
"home": "ઘર",
"import": "આયાત કરો",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "નકલી વપરાશકર્તા",
"link": "લિંક",
"import-board": "આયાત બોર્ડ",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "יצירת לוח",
"home": "בית",
"import": "יבוא",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "התחזות למשתמש",
"link": "קישור",
"import-board": "ייבוא לוח",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "יצירת לוח",
"home": "בית",
"import": "יבוא",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "התחזות למשתמש",
"link": "קישור",
"import-board": "ייבוא לוח",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "बोर्ड निर्माण करना",
"home": "ઘર",
"import": "આયાત કરો",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "નકલી વપરાશકર્તા",
"link": "લિંક",
"import-board": "import बोर्ड",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "बोर्ड निर्माण करना",
"home": "ઘર",
"import": "આયાત કરો",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "નકલી વપરાશકર્તા",
"link": "લિંક",
"import-board": "import बोर्ड",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Dodaj ploču",
"home": "Početna",
"import": "Uvoz",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Увуци се у налог овог корисника",
"link": "Poveznica",
"import-board": "унеси спољне списе",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Tábla létrehozása",
"home": "Kezdőlap",
"import": "Importálás",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Felhasználó személytelenítése",
"link": "Link",
"import-board": "tábla importálása",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Ստեղծել խորհուրդ",
"home": "Տուն",
"import": "Ներմուծում",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Անձնավորել օգտատիրոջը",
"link": "Հղում",
"import-board": "ներմուծման տախտակ",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Buat Panel",
"home": "Beranda",
"import": "Impor",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Berlakon sebagai pengguna",
"link": "Pautan",
"import-board": "import papan",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Mepụta bọọdụ",
"home": "Ụlọ",
"import": "Bubata",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Mere onye ọrụ",
"link": "Njikọ",
"import-board": "bọọdụ mbubata",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Crea bacheca",
"home": "Home",
"import": "Importa",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Impersona utente",
"link": "Collegamento",
"import-board": "Importa bacheca",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "ボードの作成",
"home": "ホーム",
"import": "インポート",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "このユーザーとして成り代わる",
"link": "リンク",
"import-board": "ボードをインポート",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "ボードの作成",
"home": "ホーム",
"import": "インポート",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "このユーザーとして成り代わる",
"link": "リンク",
"import-board": "ボードをインポート",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "დაფის შექმნა",
"home": "სახლი",
"import": "იმპორტირება",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Деперсонифицировать пользователя",
"link": "Ссылка",
"import-board": "დაფის იმპორტი",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "បង្កើតក្រុមប្រឹក្សាភិបាល",
"home": "ផ្ទះ",
"import": "នាំចូល",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "ក្លែងបន្លំអ្នកប្រើប្រាស់",
"link": "តំណភ្ជាប់",
"import-board": "បន្ទះនាំចូល",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "បង្កើតក្រុមប្រឹក្សាភិបាល",
"home": "ផ្ទះ",
"import": "នាំចូល",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "ក្លែងបន្លំអ្នកប្រើប្រាស់",
"link": "តំណភ្ជាប់",
"import-board": "បន្ទះនាំចូល",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "보드 생성",
"home": "홈",
"import": "가져오기",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "사용자 사칭",
"link": "링크",
"import-board": "보드 가져오기",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "보드 생성",
"home": "홈",
"import": "가져오기",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "사용자 사칭",
"link": "링크",
"import-board": "보드 가져오기",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Sukurti lentą",
"home": "Pradžia",
"import": "Importuoti",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Apsimesti naudotoju",
"link": "Nuoroda",
"import-board": "importo lenta",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Izveidot dēli",
"home": "Sākums",
"import": "Importēt",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Uzdoties par lietotāju",
"link": "Saite",
"import-board": "Importēt dēli",
+2
View File
@@ -588,6 +588,8 @@
"headerBarCreateBoardPopup-title": "Креирај Табло",
"home": "Почетна",
"import": "Импорт",
"imported-member-no-account": "Imported member — no matching account yet",
"inactive-member": "Inactive member",
"impersonate-user": "Увуци се у налог овог корисника",
"link": "Врска",
"import-board": "Импортирай Табло",
Loaded 100 of 207 files, more files were not shown because too many files have changed in this diff. Show more