Commit Graph
38922 Commits
Author SHA1 Message Date
Lauri Ojansivu 524ea6a41e Tests: the cpu-exec wiring guard reads the entrypoint's named programs.
af2d29b293 gave each cpuExecPlan() call of the Docker entrypoint the
caller's own name for the program ({ ...cpuOptions(), name: 'FerretDB' }
and 'WeKan (node)'), so its messages name no path from the environment,
and the guard still looked for the bare cpuOptions() call. It now pins
both calls with their names.

Thanks to xet7 !
2026-11-25 07:24:40 +02:00
Lauri Ojansivu 21b0131b8c Release bundles: no test build's client assets, 16 MiB less in every one.
`meteor test` (build.sh's mocha run) has rspack write the test app's
assets to public/build-assets-local-test-app-test/, and public/ is copied
into every later build, so a release bundle built after the tests
carried six wasm and js files, 16 MiB, that only the test app asks for.
bundle-trim.mjs, which every release path runs, now drops each client
program's app/build-assets-local-*/ with its program.json entries; the
production app's build-assets/ and build-chunks/ stay. On v13.31's
client: 508 manifest entries left, every one on disk.

tests/bundleTrim.test.cjs: the test assets and their entries go and the
manifest keeps its read-only mode; negative, the production assets stay
and a second trim finds nothing more.

Thanks to xet7 !
2026-11-25 06:58:19 +02:00
Lauri Ojansivu c6bb8d06de Updated ChangeLog.
Thanks to xet7 !
2026-11-25 06:30:32 +02:00
Lauri Ojansivu ca788de4d7 Security downloads: a Helm chart version Artifact Hub has not scanned yet says so, and the newest scanned one is downloaded.
Artifact Hub scans a new chart version some hours after it is published
and until then answers its security report with an empty body, which the
download called "the answer is not JSON". Now status.txt says the version
is not scanned yet, and the newest of the five versions before it that is
scanned is downloaded into scanned-<version>/: v13.31 is not scanned yet,
so v13.30's report (473 findings) is there. The test pins both, and that
a package with no scanned version writes nothing more.

Thanks to xet7 !
2026-11-25 06:30:24 +02:00
Lauri Ojansivu ea58e01564 Updated ChangeLog.
The licenses entry moves from the released v13.31 section, which its
commit is not part of, to the new Upcoming section.

Thanks to xet7 !
2026-11-25 06:23:13 +02:00
Lauri Ojansivu af2d29b293 Docker entrypoint: log lines say what happens in fixed words, with nothing read from the environment.
GitHub CodeQL js/clear-text-logging, alerts 613-618, on
releases/ferretdb/wekan-entrypoint.mjs: cpu-exec's messages logged the
CPU feature list of WEKAN_REQUIRED_CPU_FEATURES, the program's path and
the qemu-user path, and the recovery and rotating-backup messages the
backup folder's path, all derived from the environment. None of them is
a secret, but the environment can hold one, and the administrator who
set them has them already. Now cpu-exec names the architecture and the
caller's own word for the program (FerretDB, WeKan (node)), and recovery
and backup say backup/, backup/prev/ or continuous-restore/ of the data
folder.

tests/dockerEntrypoint.test.cjs checks the messages, and a negative test
lists what a log or warn line of the entrypoint may interpolate, so a
path or the feature list cannot come back; it fails on the old code.

Thanks to GitHub CodeQL and xet7 !
2026-11-25 06:22:53 +02:00
Lauri Ojansivu 042473e69d Merge remote-tracking branch 'origin/main' 2026-11-25 04:17:27 +02:00
Lauri Ojansivu f3b9682577 Updated ChangeLog.
Thanks to xet7 !
2026-11-25 04:16:07 +02:00
Lauri Ojansivu e30a3129bb Licenses: permissive only, no GPL - not "copyfree".
The term does not fit: Apache-2.0 and MPL dependencies are allowed too,
which copyfree rejects. What is meant is permissive licenses only - MIT,
BSD, ISC, Apache-2.0 and the like - and no GPL, because GPL code would turn
the license of the whole program into GPL. The Code of Conduct, the
Continuous backup licence section, the Multiverse roadmap, the checklist
ding comments and the archived changelog lines say so now.

Thanks to xet7 !
2026-11-25 04:14:37 +02:00
github-actions[bot] a0ddbb5633 Bump versions for v13.31 v13.31 2026-11-25 01:03:31 +00:00
Lauri Ojansivu 51b634b9ed Prepare v13.31 release 2026-11-25 03:02:25 +02:00
Lauri Ojansivu 3fdd2ff06f Updated ChangeLog.
Thanks to xet7 !
2026-11-25 01:31:37 +02:00
Lauri Ojansivu 599c284d2a Browser tests: closing a form that already closed itself is no failure.
BoardPage.closeComposers counted the open forms and then clicked the first
one's close button. The Add card form closes by itself after a card is
saved (#6827), so between the count and the click there was nothing to
click, and the click waited 15 seconds for it: #810's new-card-title-draft
spec failed that way in the everything run. A form gone by then is closed.

Thanks to xet7 !
2026-11-25 01:31:37 +02:00
Lauri Ojansivu e8a14e5421 Updated ChangeLog.
Thanks to xet7 !
2026-11-25 01:30:31 +02:00
Lauri Ojansivu 56e1ad0980 Fixes from the running everything tests: a PDF beside two empty boxes, two nameless panes, and seven tests that asked the wrong question.
Fixed in WeKan:
- The attachment slideshow showed #zip-viewer and #rich-viewer, two empty
  white boxes, beside every PDF, image and video: their id rule's
  display:flex outranked .hidden. A PDF got a third of a 1600px window,
  468px. tests/hiddenNotOutrankedById.test.cjs looks for the same mistake
  in every template and stylesheet.
- Admin Panel / Problems / API: a person link with a user id and no text
  had no name (axe link-name). personLinkLabel falls back to the
  account's name, then its id.
- Admin Panel / Attachments / Encrypt, hidden from the menu while
  ATTACHMENTS_PASSPHRASE is unset but still at its address, had no pane
  title. paneTitle() takes the page's own title for a pane with no menu
  entry.

The tests corrected, each to what the app now rightly does:
- attachment-content-search: one "added" history row per upload, the
  hash on the attachment (5ba1098521 removed the duplicate row).
- card-details-width: the resize handle is pressed once the window has
  settled; while it opens, its corner is below the window's edge.
- card-title-edit-and-move-6839 and card-window-touch-drag: a popup is
  moved toward the side with room, as far as there is; the card menu is
  1200px wide in a 1280px window and a drag keeps it 12px inside.
- editor-enter-preference and keep-add-card-form-open-6827: Escape goes
  back from Change Settings to the member menu first; closed until no
  popup is left.
- list-sync-time-estimates: the next sync waits for the previous one to
  release its lease, which comes after the card is written.

Thanks to xet7 !
2026-11-25 01:30:17 +02:00
Lauri Ojansivu 8afa64c435 Updated ChangeLog.
Thanks to xet7 !
2026-11-25 00:51:29 +02:00
Lauri Ojansivu 164dd5cdb0 Docker image: distroless base-nossl, without libssl and libgomp.
distroless cc-debian13 adds libssl3t64 and libgomp1 to glibc. Nothing in
the image loads either - node links OpenSSL 3.5 statically, and sharp,
canvas, bcrypt and argon2 need neither - and they were 20 of the base's
55 scanner findings, both HIGH ones among them. The image is now
gcr.io/distroless/base-nossl-debian13 plus gcc-14-base, libgcc-s1,
libstdc++6 and libatomic1 from Debian 13, each with its dpkg record; the
386 root is the same packages. That root, assembled for arm64 from the
registry and deb.debian.org, runs node and loads every arm64 native
module of the bundle, and Trivy finds 42 findings in it: 0 HIGH, 0
fixable.

Thanks to xet7 !
2026-11-25 00:51:28 +02:00
Lauri Ojansivu 03d96c2507 Updated ChangeLog.
Thanks to xet7 !
2026-11-25 00:32:22 +02:00
Lauri Ojansivu 130af564c9 Docker image: distroless, with a Node.js entrypoint and no shell.
Artifact Hub's Trivy report of v13.30 listed 218 vulnerabilities in
ghcr.io/wekan/wekan, 214 of them in Debian packages WeKan never runs
(util-linux, login, tar, coreutils, systemd libraries, sqlite) with no
Debian fix to update to. The image is now gcr.io/distroless/cc-debian13
plus libatomic1, node, WeKan, FerretDB and the MongoDB tools; that base
scans at 55 findings, 2 HIGH. Distroless publishes no linux/386, so for
386 the same Debian 13 packages are assembled into scratch, each with
its dpkg record; the release workflow reads both bases from the
Dockerfile and the image keeps all seven platforms. The wekan user
stays 999:999.

With no shell, releases/ferretdb/wekan-entrypoint.mjs replaces
wekan-entrypoint.sh, with the same decisions, exported and tested. It
runs sqlite-recovery.mjs with its own node: the shell entrypoint ran
/build/node, which the image never had, so every start with the bundled
FerretDB stopped with status 127 since v11.52. It also makes cpu-exec's
qemu-user decision itself. The UCS migration launcher and tools, the
UCS hook's volume preparation (ucs-release.py), the MongoDB tool
launchers (symlinks to mongo-tools) and the Nextcloud capability check
run node instead of sh.

Thanks to xet7 !
2026-11-25 00:32:06 +02:00
Lauri Ojansivu 0e1005059c Updated ChangeLog.
Thanks to xet7 !
2026-11-24 23:56:17 +02:00
Lauri Ojansivu 87b0638da1 Security downloads: Artifact Hub's whole security report of the Helm chart too.
releases/sec/download-artifacthub-security.sh saves the security report
Artifact Hub makes of https://artifacthub.io/packages/helm/wekan/wekan -
every image it scanned with Trivy, every target and every vulnerability,
as Artifact Hub answers it - to
.tools/log/sec/_artifacthub/helm/wekan/wekan/<datetime>/, with one file
per image and a SUMMARY.md of the counts per image and target and every
vulnerability, the most severe first, with its installed and fixed
version. The API is public, so it needs no login and runs in the
sandbox too. download-github-security.sh wekan runs it as well, in the
same datetime; --artifacthub names other packages, --no-artifacthub
skips it.

Thanks to xet7 !
2026-11-24 23:56:01 +02:00
Lauri Ojansivu 36ba5ed185 TODO: why Firefox needs a host - its sandbox, not only its NSS version.
Thanks to xet7 !
2026-11-24 21:28:51 +02:00
Lauri Ojansivu 498b48ada5 Updated ChangeLog. 2026-11-24 21:25:36 +02:00
Lauri Ojansivu b7ea0843dc Translations: Omi's job progress strings - Progress, Newest log lines, Errors - in every language.
For the progress bar, the newest lines and the errors of a running job on
Omi's Gitea folder pages. Added here first and copied into Omi's catalogs.

Low confidence, mostly "Newest log lines": ace, ak, ay, bm, bua, chr, csb, dz,
ee, ff, fj, gn, gv, iu, kl, ks, kw, lg, lld, nah, nap, qu, rup, sah, tig, tlh,
uz-AR, ve, ve-PP, vo, wa, wa-RR, wal, wo, zgh, szl.

Thanks to xet7 !
2026-11-24 21:25:12 +02:00
Lauri Ojansivu a2cb9f4416 Search: an operator whose translation is more than one word works, in every language.
The parser reads an operator as letters and marks followed by ":", so a
translated operator with a space, a hyphen or a stray "|" in it could never be
typed - 450 operator words in 142 languages, such as "pasgemaakte veld" for
customfield in Afrikaans and checklist in Arabic, so those operators did not
work at all in those languages. Each operator is now also known by its
compact form, and a query that types it as the help shows it, spaces and all,
is read as that operator; predicates the same.

Odia's operator words are one word each now, its error messages are readable,
and its old swimlane word "ସନ୍ତରଣ" (swimming), which did work, is still
accepted. tests/searchOperatorWords.test.cjs runs the real parser with every
language's own words and fails when one of its operators is not recognised.

Thanks to xet7 !
2026-11-24 21:11:36 +02:00
Lauri Ojansivu f146448d3c Updated ChangeLog. 2026-11-24 20:50:45 +02:00
Lauri Ojansivu b0d785e305 Translations: the last wrong-language words in Shona, Maltese, Odia, Luxembourgish, Serbian and Venetian.
- Shona (sn): the help and description texts that were English word for word
  with Shona between, written in Shona (688 values); a swimlane is mugwagwa.
- Maltese (mt): the half-English texts written in Maltese (1,105 values); a
  card is karta, not kard.
- Odia (or_IN): about 90 values whose words were split by English ("ପୁନ
  restore ସ୍ଥାପନ") written whole, a few with the wrong meaning rewritten, the
  stray "|" made the danda "।", and zero-width spaces removed.
- Luxembourgish (lb): the whiteboard is "Wäisstafel" - "Tafel" is the board.
- Serbian (sr): All Boards is „Све табле“ everywhere.
- Venetian (ve-CC): three Spanish search help texts in Venetian.

Search operator words were left as they are; Odia's are as garbled as the
rest were, and changing a word people type is a maintainer decision.
tests/wrongLanguageCorrections20261124b.test.cjs fails when any of these
faults comes back.

Low confidence: sn and mt throughout - written by script-checked translation,
not read by a speaker - and lb "Wäisstafel".

Thanks to xet7 !
2026-11-24 20:50:29 +02:00
Lauri Ojansivu 54a9f30f04 Tests: atTextInput is a template of the accounts package, as atInput is.
client/components/users/accountsAutocomplete.js hooks its onRendered, which
the template-existence guard took for a template missing from WeKan's own
Jade.

Thanks to xet7 !
2026-11-24 20:50:22 +02:00
Lauri Ojansivu d9e1172a54 Updated ChangeLog. 2026-11-24 20:17:20 +02:00
Lauri Ojansivu 7697e8250c Accessibility: the sign-in name field tells password managers it is the account, and a keyboard-only spec.
The sign-in and sign-up text fields come from the accounts package's
atTextInput, whose input carries no autocomplete attribute: the
autocomplete="username" config/accounts.js sets never reached the page, and
the sign-in "username or email" field had none at all, so a password manager
had to guess (WCAG 1.3.5, 3.3.8). Each account text field now gets its
purpose when it renders (models/lib/accountsAutocomplete.js).

tests/playwright/specs/48-keyboard-only.e2e.js walks the main tasks with the
keyboard alone and checks three criteria automated rules do not: signing in
with Tab, typing and Enter, with no CAPTCHA and pasting allowed (3.3.8); Tab
to a card, Enter opens it, Escape closes it, and cards added from a list's
Add Card ask for nothing already entered (2.1.1, 3.3.7); and every Admin
Panel pane puts its help button right after its title (3.2.6). Passes in
Chromium.

Thanks to xet7 !
2026-11-24 20:17:07 +02:00
Lauri Ojansivu a8a19ec408 Updated ChangeLog. 2026-11-24 20:02:45 +02:00
Lauri Ojansivu 7e1f9e89eb Docs: every feature topic in one folder under docs/Features, each with README.md as its main page.
- The General/ level is gone: its 109 files moved up into the folders of the
  same name, and its topic table is the "Shared topics" section of
  Features.md.
- Accessibility is one folder, docs/Features/Accessibility/, with the Admin
  Panel's accessibility page in it.
- Every folder's main page is README.md (110 X/X.md pages renamed with git mv,
  five merged with an existing README.md, 26 index pages added for folders
  that had none), so a folder opened on GitHub shows its page.
- The 73 "# Moved" forwarding pages are deleted, with the folders that held
  only them; every link that went to one goes to its final page.
- docs/Features/README.md has the website's "Features in WeKan" overview,
  each feature linking to its page here.

1,129 Markdown links in 262 files and 352 doc paths in code, tests, compose,
snap and release files follow. tests/docsFeaturesLayout.test.cjs fails when
General/ or a "# Moved" page comes back, a folder has no README.md, or a
relative link in the docs or README.md does not resolve.

Thanks to xet7 !
2026-11-24 20:02:06 +02:00
Lauri Ojansivu f510ba5961 Admin Panel / Problems: the report tables and the Email pane in every language, not English.
Spec 47 found the Problems report tables' column names, filter labels and
options ("Title", "Archived?", "Show", "All" ...) and the Email pane's
"Email service" and "Enable below email settings" written in English in the
code. 42 labels use translation keys now - 15 that already existed, 17 new
ones in every language - and the two field identifiers actionType and
activityType stay as they are. "ID" is a technical term the same in every
language, as URL and API are, for the translation tools.
tests/problemsTablesTranslated.test.cjs fails when a plain English label comes
back.

Low confidence: ace, ak, ay, bm, bua, chr, csb, cv, dz, ee, ff, fj, gn, gv,
haw, iu, kl, ks, kw, lg, lld, nah, nap, nd, qu, rup, sah, ss, szl, tig, tlh,
uz-AR, ve-PP, ve, vo, wa-RR, wa, wal, wo, zgh.

Thanks to xet7 !
2026-11-24 20:01:31 +02:00
Lauri Ojansivu ede639c1e8 Updated ChangeLog. 2026-11-24 19:15:59 +02:00
Lauri Ojansivu 6a7af5391a Accessibility: every Admin Panel pane and the most used popups pass the WCAG 2.2 AA rules, at 320 px and with reduced motion.
tests/playwright/specs/47-accessibility-everywhere.e2e.js scans every Admin
Panel pane and the member, list, swimlane and card details menus with axe,
checks 320 px reflow and that nothing animates when reduced motion is asked
for. What it found is fixed:

- names: every unnamed input and select of the Admin Panel is named by the
  label shown beside it; table page filters lost their label in
  models/lib/tablePage.js; people rows and avatar links name the person, and
  a person link's name starts with its visible initials (2.5.3);
- contrast: the feature descriptions, source badges, instrumentation headings
  and the default theme's menu hover pass 4.5:1;
- target size: checkbox rows, notification options and the Select all links
  are at least 24 x 24 px;
- the member menu's dependency toggles are checkboxes in a well-formed list;
- reduced motion: one rule in its own CSS layer makes every animation and
  transition instant, even those header.css marks !important.

Spec 47 passes in Chromium, and specs 45 and 46 still pass (39).
tests/accessibilitySpec47Fixes.test.cjs pins the fixes, and fails when a
settings select has no name.

Thanks to xet7 !
2026-11-24 19:14:11 +02:00
Lauri Ojansivu a8c606aeb9 Admin Panel / Problems / Recovery: the rule email text says what the pane does, in every language.
It said "This report does not retry or cancel delivery", which stopped being
true on 2026-09-30 when Review, Resend, Mark as sent and Drop were added. It
now says to open an attempt with Review to resend it, mark it as sent or drop
it, naming each language's own Review button; the first two sentences of
every translation are kept as they were.
tests/ruleEmailRecoveryDescription.test.cjs fails when a locale keeps the old
English sentence or does not name its Review button.

Low confidence: chr, ks, iu, kl, bo, dz, ace, ak, ay, bm, bua, cv, ee, ff, fj,
gn, gv, haw, ig, kw, lld, nah, nd, nso, qu, rn, rup, sah, se, ss, szl, tig,
tlh, to, ts, uz-AR, ve-PP, ve, vo, wa-RR, wa, wal, zgh.

Thanks to xet7 !
2026-11-24 18:31:23 +02:00
Lauri Ojansivu 9615e9d5dc Updated ChangeLog. 2026-11-24 18:12:57 +02:00
Lauri Ojansivu fc3ce32766 Translations: Omi's Test the token and Stop strings, in every language.
Eight gitea-* strings for Omi's Gitea folder pages: the button that asks
GitHub whether the saved token works and its four answers, and the Stop
button of a running import job and what it says. Added here first and copied
into Omi's catalogs, as every prototype's translations are.

Low confidence: chr, iu, kl, bo, dz, ay, gn, ff, bm, ee, ak, csb, cv, bua,
ba, gv, fj, bi, ace, ary, bho, kw, lld, nah, qu, rup, tig, tlh, vo, ve-PP,
ve, wal, zgh, ks, kok, sah, wa, szl, sc, to, sm, ti, tpi, wa-RR.

Thanks to xet7 !
2026-11-24 18:12:33 +02:00
Lauri Ojansivu a295038de4 Updated ChangeLog. 2026-11-24 17:52:07 +02:00
Lauri Ojansivu 60d49c0435 Translations: wrong-language and wrong-meaning words replaced in 25 languages.
6,633 values, in the language each locale tag names: Neapolitan and
Sicilian that were Italian, Luxembourgish that was German, Macedonian that
was Bulgarian, Latvian with Lithuanian letters, Venetian that was Zulu,
Vietnamese that was Malay; and words with the wrong meaning: a Serbian board
was "списи" (records) and a card "предмет" (an item), an Estonian board
"juhatus" (a management board), a Punjabi and Odia swimlane was swimming, a
Yoruba board a vehicle and a swimlane a boat, a Portuguese assignee an
administrator. Search operator words and date formats were left as they
were. Values earlier reviews pinned - Veps' MediaWiki words, the audited
Neapolitan rows, Macedonian agreement - were kept. Every placeholder is
English's (tests/wrongLanguageCorrections20261124b.test.cjs).

Low confidence: nap, scn, sn, or_IN, yo, rup, mt, wa-RR, lg, so, ps, sd.

Thanks to xet7 !
2026-11-24 17:50:42 +02:00
Lauri Ojansivu 5ba1098521 Server tests pass again: four faults the repaired test build found, fixed.
- A password sign-in refused by policy (PASSWORD_LOGIN_ENABLED=false,
  forgot password off, LDAP's password-login guard) was counted by the
  lockout as a wrong password, which threw its own 403 "Incorrect password"
  over the policy's error: the person was told the wrong thing, and enough
  attempts locked the account because of a setting. Policy refusals are no
  guesses now (loginFailureDecision.js).
- Auto-archive fetched its boards without their members, so boardActorId
  found nobody and every auto-archive was recorded as no user.
- Every upload got two "added" rows in the card history: the upload hook's
  and the content index's. The index writes its row only for an attachment
  that has none, and never for a durable rule copy, whose plan writes it.
- Not found is undefined from Meteor 3's findOneAsync: the Admin Panel
  addresses test accepts either.

meteor test --full-app: 699 passing, 0 failing (was 693 / 6).

Thanks to xet7 !
2026-11-24 17:49:56 +02:00
Lauri Ojansivu 788131193e Admin Panel / Problems / Summary: sign-in refusals grouped by reason, with count, latest account and how to fix it.
The person signing in still sees the same generic message whatever the
reason, so a signed-out visitor cannot tell "no such user" from "wrong
password". Every refusal is recorded with its precise reason
(models/lib/loginRefusals.js, server/lib/loginRefusals.js): wrong password,
unknown user, disabled account, brake, malformed request, and the LDAP
reasons, which the LDAP handler now records before returning its one generic
error - including the two messages that used to name the account. Problems /
Summary groups them like a status dashboard: one row per reason with its
count, first and latest time, latest account and address, the fix and the
Admin Panel pane where it is made, and each problem area lists its three most
frequent problems. Translated to every language.

Thanks to Raymond-Voogt and xet7 !

Fixes #6942,
2026-11-24 17:49:45 +02:00
Lauri Ojansivu 41ace09451 Merge remote-tracking branch 'origin/main' 2026-11-24 17:06:43 +02:00
Lauri Ojansivu e39e4a1200 The Meteor test build runs again: it no longer compiles the 190 MB legacy client bundle.
meteor test --full-app died before any test started with "FATAL ERROR:
Zone Allocation failed - process out of memory" once the help texts grew
every locale file. A larger tool heap did not help: in test mode the
whole client bundle was compiled again for legacy browsers as one file of
170 to 190 MB (it grew with each locale), and V8's compiler gave up on
it. No test uses the legacy browser build, so every meteor test run in
build.sh and package.json now passes --exclude-archs
web.browser.legacy,web.cordova. And Meteor 3.6's watcher subscribes to
the whole app directory without reading .meteorignore, so it walked all
of .tools/ and used up the inotify watches; the --once runs set
METEOR_WATCH_FORCE_POLLING=true.

With both, the server tests run to the end: 693 passing, 6 failing - the
first run in a long time, so those six are findings to look at.
tests/testBuildMemory.test.cjs keeps every run with both settings.

Thanks to xet7 !
2026-11-24 16:52:37 +02:00
Lauri Ojansivu 1678f86bf5 Updated ChangeLog. 2026-11-24 13:19:53 +02:00
Lauri Ojansivu 6cde02380a Admin Panel / Attachments / Encrypt: attachments on disk encrypted with ATTACHMENTS_PASSPHRASE, at the same addresses.
The last item of docs/Compliance/README.md's P3 list, on the maintainer's
decision: while ATTACHMENTS_PASSPHRASE is set (at least 16 characters), a
site administrator gets Admin Panel / Attachments / Encrypt, which
encrypts or decrypts every attachment on this server's disk in the
background with progress, and turns on encryption of new attachments.

- AES-256-CTR (server/lib/attachmentEncryption.js), so a download can
  start anywhere: the counter for any byte is the IV plus its block. The
  key is stretched from the passphrase with scrypt once per salt and kept
  in memory. Each file starts with WKATT1, the salt and its own IV; a file
  without the header is plain and read as before.
- Every read goes through FileStoreStrategyFilesystem.getReadStream, which
  decrypts - byte ranges included - so every address, preview, export and
  storage move is unchanged; the board export and the WebDAV move, which
  read the file directly, use the same decrypting read.
- New uploads are encrypted after their validation and indexing, which
  need the plain file; imports, e-mail to card and the REST API by an
  hourly sweep. Each changed attachment's meta.updatedAt is set, so the
  filesystem integrity scan sees the change explained. The runs and the
  switch are in the Audit log.
- On every platform, the snap and the Helm chart (from a Secret).

Tested against a live server (tests/playwright/specs/attachment-encryption.e2e.js):
an attachment encrypted on disk downloads at the same address, whole and
as a byte range, and decrypts back to the same bytes. Seven new strings,
translated in every language. Low confidence: ace, ak, ay, bi, bm, bo, bua,
chr, csb, dz, ee, ff, fj, gn, gv, haw, iu, kl, kok, ks, kw, lg, lld, nah,
nap, nd, nso, fur, mg, tlh, tig, ti, wal, om, ve-PP, ve-CC, rup, zgh, uz-AR,
sah, vo, wuu-Hans, se, qu, to, sm, ss, ts, ve, ny, rn, tn, st, wa, sc, scn.

Thanks to xet7 !
2026-11-24 13:19:44 +02:00
Lauri Ojansivu 54305cf205 Updated ChangeLog. 2026-11-24 06:04:10 +02:00
Lauri Ojansivu 57dbff0abd Escape closes a popup for a member who turned keyboard shortcuts off.
The hotkeys filter returned false for such a member before it reached its
"always handle escape" line, so every popup and menu stayed open on Escape
- a keyboard trap (WCAG 2.1.2, 1.4.13). Escape is let through first now.
Found by running tests/playwright/specs/feature-help.e2e.js against a live
server, whose seeded user has shortcuts off: its two failures were this,
and all three of its tests pass now, as do the accessibility, help and
shortcut specs. The help button's TODO.md item is done.

Thanks to xet7 !
2026-11-24 06:04:09 +02:00
Lauri Ojansivu d1224edee6 TODO.md: the compliance work is done, apart from a maintainer decision on encrypting attachments; the help button spec was run.
The laws and standards item is removed: WP-1 to WP-14 and the P3 list of
docs/Compliance/README.md are done and in the Upcoming changelog. What is
left - whether WeKan should encrypt attachments on disk itself - is under
Needs a maintainer decision, with the reasons. feature-help.e2e.js was run
against a live server: 1 passed, 2 failed, and the item says why.

Thanks to xet7 !
2026-11-24 05:58:25 +02:00
Lauri Ojansivu 02efca4e8b Updated ChangeLog. 2026-11-24 05:56:48 +02:00