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 !
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 !
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 !
- 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 !
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,
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 !
The last of docs/Compliance/README.md's P3 list:
- Member Settings / Privacy and my data lists every session of the
account - this browser first, when each signed in, and when last active
where idle logout records it - each with Sign out, which ends just that
one. A session is named by an opaque id, never its token or hash.
Admin Panel / People's user popup has Log out everywhere for an account
(adminLogoutUser, in the Audit log) (models/lib/sessionList.js,
server/methods/sessions.js).
- BACKUP_PASSPHRASE encrypts every Admin Panel backup as it is written, to
disk or to cloud storage: AES-256-GCM, the key stretched with scrypt, the
salt and IV in the file's own header. A restore recognises the header,
decrypts beside the file and removes the copy whatever happens; a wrong
passphrase or a changed file is refused, and an older plain backup still
restores (server/lib/backupEncryption.js). On every platform, the snap and
the Helm chart (from a Secret).
App-level encryption of attachments on disk is left to a maintainer
decision (TODO.md): disk encryption covers it without changing every read
path.
Tested against a live server: tests/playwright/specs/backup-passphrase.e2e.js
writes an encrypted backup and restores it, and compliance-p3.e2e.js ends one
session of two. Four new strings, translated in every language. Low
confidence: ace, ak, ay, bi, bm, bua, chr, csb, cv, dz, ee, ff, fj, gn, gv,
haw, iu, kl, kok, ks, kw, lg, lld, nah, nd, nso, bo, fur, mai, bho, ary,
tig, ti, wal, ve-PP, ve-CC, ve, vo, tlh, zgh, wa, wa-RR, rup, sah, se, scn,
sc, sm, to, tpi, ts, ss, st, tn, rn, rw, ny, om, pap, qu, rm, szl, uz-AR,
ug, tt, yi, yue_CN, wuu-Hans, wo, xh.
Thanks to xet7 !
From docs/Compliance/README.md's P3 list and row 2.2:
- Emergency access: Admin Panel / People's user popup has "Emergency
access" with a note before Impersonate. It is kept as reason emergency
with the note (shown in the Impersonation Report), and every other
administrator who can sign in gets an e-mail at once; a failed e-mail
never stops the impersonation (models/lib/emergencyAccess.js).
- The administrators' audit log is hash-chained: each row carries its
place, the previous row's hash and its own. Its _id is its place, so two
servers writing at once cannot both take it - the unique _id refuses the
second, which takes the next. A daily check, and verifyAdminAuditChain,
walk it from the oldest row kept and report an edited or removed row in
Problems / Filesystem integrity (models/lib/auditChain.js).
- REGISTRATION_MINIMUM_AGE: the sign-up form asks "I am at least N years
old" and a password sign-up without it is refused; administrators'
accounts and identity providers' are not asked, and nothing is stored
(models/lib/registrationAge.js). On every platform and the Helm chart.
- Records of processing (draft) in Admin Panel / Settings / Legal pages:
every collection holding personal data, why, how long with this server's
values, and the outside services this server really uses, as Markdown to
complete (models/lib/ropaDraft.js).
Seven new strings, translated in every language. Low confidence: chr, dz,
bo, gv, ak, ay, bm, ee, ff, fj, gn, haw, bua, cv, ba, csb, ace, bi, fur, an,
ast-ES, co, fo, hsb, gd, ht, bho, as, iu, kl, kw, ks, nah, rup, sah, lld,
szl, sm, ss, nd, qu, om, pap, lg, rn, rw, nso, st, sn, ny, mai, kok, sc,
scn, nap, mg, la, ig, ky, ja-HI, tig, tlh, vo, ve-PP, wal, zgh, uz-AR, to,
tpi, ts, tn, ve, wa, wa-RR, wo, wuu-Hans, yi, yo, tk_TM, ug, tt, ti, oc, rm,
sd, ps. The wrong-language catalog values the translators saw are in
TODO.md.
Thanks to xet7 !
docs/Compliance/README.md P3 ([CRA] Annex I Part II(8)): Check version in
Admin Panel / Settings / Version now keeps what it found
(versionChecks, one document), and Summary lists "A newer WeKan is
available" while that check named a newer WeKan than this server runs,
with the date of the check and that security fixes go into the newest
release only. WeKan still never asks wekan.fi on its own: Summary only
repeats the check an administrator ran, and a test pins that only the
button fetches.
Thanks to xet7 !
Two items of docs/Compliance/README.md's P3 list ([GDPR] Art. 5(1)(c) data
minimisation and 5(1)(e) storage limitation):
- LOGIN_ADDRESS_RECORDED=false: WeKan writes down no sign-in address at
all - not on the account, not in Login locations or Offices; a sign-in
with a short password is still listed, without where from. The lockout
still counts failed sign-ins per address, to stop guessing.
- USERS_ANONYMIZE_INACTIVE_AFTER_DAYS: an account disabled for inactivity
(USERS_DISABLE_INACTIVE_AFTER_DAYS) is anonymised that many days later,
as Member Settings / Anonymize does - its data elsewhere erased first -
in the same nightly run. Disabling now records loginDisabledAt, enabling
clears it, and accounts disabled before it existed start their clock
now. Never an administrator, an account disabled by hand or by LDAP, or
one enabled again; off unless set.
Both on every platform, the snap and the Helm chart.
Thanks to xet7 !
docs/Compliance/README.md WP-13 (rows 6.1 and 6.3), run in Chromium against
a live server:
- tests/playwright/specs/45-axe-accessibility.e2e.js runs axe's wcag22aa
rules too. Its one finding, 2.5.8 Target Size, was the minicard's card
actions menu and collapse caret: each is at least 24 x 24 pixels now.
- The scan visits the legal pages, Admin Panel / Problems / Compliance,
the Audit log and Settings / Legal pages too. What it found there is
fixed: the Problems menu's group heading and the Compliance status
words had too little contrast, so had an Audit log row's error text,
and Legal pages' section headings skipped a level.
- A new check tabs through a board and fails when a focused control is
hidden behind the header or a popup (2.4.11), counting only when focus
really moved. Move list and Move swimlane already serve 2.5.7.
- Admin Panel / Settings / Accessibility offers Start from WeKan's draft:
an accessibility statement with the compliance status, what is not
accessible, feedback, the enforcement procedure and the date, filled only
into an empty text.
- The docs say WCAG 2.2 AA.
Thanks to xet7 !
docs/Compliance/README.md WP-12: a read-only checklist, second in the
Problems menu - two-factor authentication required, idle sign-out, HTTPS
with HSTS, sign-in address retention, the audit log kept 2190 days or more
(for information: HIPAA), the privacy notice published, the imprint
published (for information: Germany and Austria), the security contact for
security.txt, and the continuous backup encrypted. Each row says OK, Check
or For information, shows the value this server has, and links to the
pane that changes it. models/lib/complianceChecks.js decides from the facts
getComplianceChecks reads, for site administrators only; it changes
nothing.
Fourteen new strings, translated in every language. Low confidence: chr,
bo, dz, gv, bua, ay, gn, ff, bm, ak, ee, fj, bi, ace, cv, ba, csb, hsb, br,
co, fur, fo, haw, ary, bho, an, iu, kl, kw, nah, qu, rup, sah, se, szl, lld,
ks, sm, lg, rn, rw, nso, ss, st, nd, om, pap, mg, la, nap, scn, tig, wal,
ve-PP, tlh, vo, zgh, wuu-Hans, to, ve, uz-AR, ve-CC, wa, wa-RR.
Thanks to xet7 !
docs/Compliance/README.md WP-11 (rows 4.2 and 4.3 b):
- Admin Panel / People / Audit log has a Data access tab: who downloaded
what - a board as JSON, CSV, Excel, PDF or ZIP, a chart, a card, every
board, a person's data, an Admin Panel list - one row per person, day,
kind and target with a count, the first and last time and the last
address, never a row per download. A raw middleware in front of every
route (server/lib/dataAccessLog.js) counts each export that answers 200,
and a test fails when an export route is not in its list. Kept as the
audit log (ADMIN_AUDIT_RETENTION_DAYS); erasing an account removes its
username and address from it. Export CSV on the tab.
- AUDIT_LOG_STDOUT=json writes every audit row, security problem and data
access also to stdout as one JSON line ({"wekan":"audit"|"security"|
"data-access", ...}), with only the fields the Admin Panel shows - the
arguments as stored, already redacted (models/lib/auditStdout.js). On
every platform's settings, the snap and the Helm chart.
- The admin CSV exports obey Admin Panel's switch that turns all export
off.
Five new strings, translated in every language. Low confidence: ace, ak,
ay, bi, bm, bo, bua, chr, csb, cv, dz, ee, ff, fj, gn, gv, haw, fur, co, ba,
bho, as, br, an, ast-ES, ha, ht, fo, iu, kl, ks, kw, nah, lld, rup, qu, sah,
se, szl, nap, scn, sc, rm, pap, lg, rn, nd, ss, nso, st, sn, ny, om, mai,
kok, la, sm, mi, tig, ve-PP, vo, wal, tlh, zgh, uz-AR, to, tpi, ts, ve, wa,
wa-RR, wo, yo, yi.
Thanks to xet7 !
docs/Compliance/README.md WP-10 (rows 3.8, 4.3 a and 5.6): Export CSV on
Admin Panel / People, Problems / Boards, Problems / Security and the Audit
log gives the whole list, not the page on screen, and People and Boards
also give Boards and roles as CSV - one row per board member with the
role, for every board, the access review itself.
server/routes/adminCsvExport.js serves them to a site administrator only,
streamed from a cursor, and records every download - a refused one too -
in the Audit log as exportAdminCsv. Each dataset
(models/lib/adminCsvExport.js) reads only the fields it names, so no
password, token, two-factor secret or key can reach a file, and a cell a
spreadsheet would run as a formula is written as text.
Member Settings / Privacy and my data lists Where I signed in from: each
address of the account, how often, first and last time
(getMyLoginHistory, one's own only).
Three new strings, translated in every language. Low confidence: ace, ak,
ay, bi, bm, bo, bua, chr, csb, cv, dz, ee, ff, fj, fo, fur, gn, gv, haw, ba,
bho, ary, co, an, ast-ES, iu, kl, kw, nah, lld, rup, nap, scn, sc, szl, ks,
kok, mai, sah, se, om, qu, rm, pap, nd, ss, nso, sm, sn, rn, lg, ny, mg,
tig, tlh, to, tpi, ts, tn, uz-AR, ve-CC, ve-PP, ve, vo, wa-RR, wa, wal, wo,
zgh, tk_TM, ug, tt. The wrong-language values the translators saw are
listed in TODO.md.
Thanks to xet7 !
docs/Compliance/README.md WP-9 (rows 5.2, 5.3 and 5.5):
- /.well-known/security.txt and /security.txt (RFC 9116) are made from the
security contact of Admin Panel / Settings / Legal pages: one Contact per
address (an e-mail becomes mailto:, only https: URLs are kept), Expires
180 days ahead, Canonical from ROOT_URL. 404 while no contact is set.
- SECURITY.md has a Support period: security fixes go into the newest
release only, with no backports.
- The sbom job of release-all.yml writes the CycloneDX SBOM with npm's own
npm sbom from the tagged package-lock.json and attaches it as
wekan-<version>-sbom.cdx.json; Admin Panel / Settings / Version links the
one of the running version. The Docker image attestation stays off.
- docs/Security/Compliance/README.md: what WeKan provides for GDPR, HIPAA,
NIS2, ISO 27001 and SOC 2, the recommended settings, encryption at rest,
break-glass access, and DPA/BAA notes.
Thanks to xet7 !
Admin Panel / Settings / Legal pages has Require acceptance for the terms
of use and the privacy notice (docs/Compliance/README.md WP-8, row 1.7).
While it is on, an account that has not accepted the current version of
each such page sees only the acceptance dialog after signing in, and the
server refuses every method outside an allowlist and sends nothing from
its publications (server/requireLegalAcceptance.js, built like
REQUIRE_2FA's gate). A new version of the text is asked for again; only
the version that is current when accepting is recorded, so an older text
cannot be accepted for a newer one. Each acceptance is kept as
legalAcceptances.<page> = { version, at }, shown in Member Settings /
Privacy and my data and part of Download my data. The sign-up form shows
an optional "I accept" checkbox meanwhile. The REST API is not gated.
Seven new strings, translated in every language. Low confidence: ace, ak,
ay, ba, bm, bo, bua, chr, csb, cv, dz, ee, ff, fj, gn, gv, haw, fur, hsb,
iu, kl, ks, kw, lg, lld, nah, nap, nd, nso, ig, mi, kok, mai, la, rup,
sah, qu, se, szl, ss, sc, scn, om, ny, pap, rn, sm, sn, st, rm, oc, sd, ps,
or_IN, tig, tlh, vo, ve-PP, wal, wa, zgh, uz-AR, ve-CC, wuu-Hans.
Venetian (ve-CC) and Veps (ve-PP) had Venda, and Waray (wa-RR) had
Walloon (and one English value), in the legal-pages strings and some
older ones; those are now in the tag's own language, with a guard
(tests/wrongLanguageCorrections20261124.test.cjs). Low confidence for
those three.
Thanks to xet7 !
ADMIN_AUDIT_RETENTION_DAYS replaces the fixed year of the administrators'
audit log (365 by default, 0 keeps it, HIPAA sets 2190 or more).
ACTIVITIES_RETENTION_DAYS removes board activity rows older than that, and
WORKLOAD_ABSENCE_RETENTION_DAYS absences that ended that long ago, both off
by default; the change history of cards is never removed.
WORKLOAD_ABSENCE_TYPE_RECORDED=false stores every new absence as "other", so
no sick leave is recorded. Admin Panel / Settings / Legal pages shows every
personal-data collection with its retention and the value of its setting on
this server. Listed on every platform, the Helm chart included
(docs/Compliance/README.md WP-7, rows 2.5, 2.7 and 2.8).
Thanks to xet7 !
An operator publishes them in Admin Panel / Settings / Legal pages; anybody,
signed in or not, reads the published ones at /privacy, /terms, /cookies and
/imprint, linked from the login page and from Member Settings / Privacy and
my data, which also holds Download my data. The imprint has its structured
fields, shown only when filled; the privacy contacts (privacy contact, data
protection officer, EU representative, security contact) are shown on the
privacy notice. The pane offers a privacy notice draft built from the
personal-data inventory, and the inventory itself. Saving is for site
administrators only and is in the Audit log; nothing is written from the
browser. A page's version goes up when what a reader sees changes. Matomo,
when an operator turns it on, now runs with disableCookies. The 30 new
interface strings are translated into every language; low confidence: the
Tigre strings for privacy, published and authority, and Aromanian "Cuprins".
(docs/Compliance/README.md WP-6, rows 1.8 and 7.1 to 7.5.)
Thanks to xet7 !
Member Settings / Download my data and GET /api/user/export give the
signed-in person their account without secrets and every row of every
collection the personal-data inventory says holds their data, with a
manifest of what is in it and what is not, and why. Of a shared board, card
or list only their own part. Secrets are removed at every depth. An
administrator can export any account with userId=, recorded in the Audit
log. The menu label is translated in every language (docs/Compliance/README.md
WP-5; WP-4 recorded there too).
Thanks to xet7 !
Deleting an account removed only the users document and its board, card and
list memberships; 40 collections the personal-data inventory marks for
deletion or anonymisation kept the person - workload, time entries, sign-in
addresses, sessions, jobs, credentials, notifications, reactions, event-log
tallies. models/lib/userErasure.js holds a rule per collection and runs on
deletion (Users.after.remove) and anonymisation (anonymizeUser); an invoiced
time entry is kept without the person, and an anonymised account keeps its
references. Integrity-checked delivery records are reduced to ids by their
compaction, which the inventory now names. Anonymisation replaces services
whole and clears sign-in addresses, passkeys, SQRL, push and ntfy, e-mail to
card and the e-mail buffer. The inventory's gap list is empty
(docs/Compliance/README.md WP-4).
Thanks to xet7 !
"At most per run" accepted up to 1000000, while the retention clamps to
100000, so a larger saved value was silently cut. The setting's default and
maximum are the retention's own DEFAULT_MAX_PER_RUN and MAX_MAX_PER_RUN now.
Thanks to xet7 !
Their line read "Admin Panel -> Problems -> database" (and integrity, mail):
STREAM_LABEL_KEY had no entry for them. They now say Database problems,
Filesystem integrity and Email, the keys their panes have in the Problems
menu, and a test requires every stream of EVENT_STREAMS to have the same
name there as in the menu.
Thanks to xet7 !
The Broken cards pane listed a card whose type is not one of the four WeKan
shows; the Summary's "Broken cards N" and its repair looked only at a missing
board, swimlane or list, so such a card was never counted and never fixed.
"Broken" is one definition now, brokenCardsSelector of
models/lib/brokenCardsRepair.js, used by the pane, the count and the repair,
and the repair gives such a card the plain card type.
Thanks to xet7 !
The delay per user and source address (1 second after the first wrong
password, doubling up to 30) never ran: the server's startup and the Admin
Panel's reload built the lockout's settings from failuresBeforeLockout,
lockoutPeriod and failureWindow only, so loginDelayBase reached the decision
as undefined, which is "delays off". Every setting is now read from one list,
models/lib/lockoutConfig.js, by both and by the model's helpers; a stored 0
still switches the delay off, and an unreadable setting still falls back to
its default. The reload gets that per-setting fallback too.
Thanks to xet7 !
The Snap Store has no API for a revision's own changelog: the dashboard's
"Add changelog" is a web form only. So Push Snap to Store puts "What's new in
WeKan v<version>" - the release's In short paragraph from CHANGELOG-big.md,
linking its changes at the tag - at the top of the wekan, wekan-ondra and
wekan-gantt-gpl listings with snapcraft upload-metadata and SNAP_AUTH.
The page text is kept in releases/snap-listing/<snap>.md, as the store has it
now; edit it there. wekan's feature list alone is 4047 of the 4096 bytes a
description may have, so it is cut at whole lines and ends with a link to the
whole file - read from the file each release, nothing is lost for good. The
title, summary, license and icon are sent back as the store has them. Only
for the newest release, and a failure does not fail the push.
Thanks to xet7 !
The variants had amd64 and arm64 only: snap-variants builds those natively,
and snap-launchpad, the only builder of armhf, ppc64el, s390x and riscv64,
built only the wekan name. Each snap-launchpad leg now makes both variants
from the wekan snap it just built (releases/snap-rename.sh, name and title
only), releases them to stable, candidate, beta and edge, and attaches them
to the GitHub Release. Push Snap to Store fills in each missing architecture
of a variant from the release's wekan snap, instead of only when a release
has no variant at all. Release All Missing expects them from v13.30, not for
older releases: completing an older one after a newer one would upload an
older version as the highest revision and take stable back to it.
Thanks to xet7 !
A cancelled activity notification is a permanent receipt, kept so a delayed
writer cannot recreate its payload, and the recovery report listed every one
ever written. Since #6768 cancels expired notifications automatically, the
list grew into dozens of pages of old rows that hid the recoverable ones.
Pending notifications are always listed; cancelled receipts only while their
activity is newer than ACTIVITY_NOTIFICATION_RECOVERY_CANCELLED_DAYS (default
14, 0 lists none). Read-side only: no receipt is removed.
Thanks to Raymond-Voogt and xet7 !
Fixes#6941.
The settings - 1createdb.sh, the customers' <name>.txt and restore/<name>/ -
need not be on the server, so build.sh now runs localhost-limit.sh on this
machine with --host <server>: the server's containers, cgroups and
/etc/caddy/Caddyfile come back in one SSH call, the rules go in one more, and
a third shows them. Root and cgroup v2 are asked of the server. ufw accepts
all loopback traffic in ufw-before-output, so the jump must come first in
OUTPUT: apply inserts it there and status says when a ufw reload has put
ufw's first again.
Thanks to xet7 !
The containers run with network_mode: host, so one customer's WeKan could open
every other customer's 127.0.0.1:<port>. localhost-limit.sh, in build.sh's
Server setup menu, finds the WeKan containers (docker ps, *-app and *-tenant),
their PORT and MONGO_URL (docker inspect, else restore/<customer>/docker-compose.yml),
compares them with /etc/caddy/Caddyfile and 1createdb.sh, and lets each one
reach on this machine only its own port, its database port, DNS and the answers
to Caddy: an iptables/ip6tables chain on OUTPUT -o lo matching each container
by its cgroup v2 path. plan (the default) changes nothing; apply, status, remove.
Run over SSH like every other script when a server is set.
Thanks to xet7 !
tests/playwright/specs/list-lock-move.e2e.js replays GHSA-394w-8q99-q4qx: a
normal member of boards A and B, refused write in one list of A, gets 403 from
POST /api/boards/:boardId/swimlanes/:swimlaneId/move, every card stays on board
A, and the attempt is in Admin Panel / Problems as ListLockMoveBleed; the board
admin moves it. Negative: the same member moves a swimlane with no refusing
list with 200, every card arriving on board B, which also pins the card move's
guarded Meteor.userId() read, and an allowed move records nothing.
tests/securityRegressionCoverage.test.cjs maps listlockmovebleed to
tests/listLockStructure.test.cjs and the spec, and counts 153 published names.
Thanks to adityasunny06help-coder and xet7 !
Budget and billing lists the four kinds of a line - time, Fee, Expense and
Product - as one list, and how the e-invoice writes each; Shop says its
invoice lines are products, with their quantity and unit price, adding up to
the net. Both list the commits.
Thanks to xet7 !
Board View / Shop and Board Settings / Shop say how an order becomes an
invoice with the order's own payment reference while Budget and billing is
on, what the buyer's confirmation email contains, when it is not sent and
that it never fails an order, and that a copy of the board starts with its
shop closed and without the source's Orders list and fields - with the
commits that did it.
Thanks to xet7 !
Two feature pages - what each is, read more, how to use it, how the
numbers are calculated (off by default, the two-second cache, queued
webhooks kept, 25 rows a page, the masking), how it works in WeKan and
its commits - and the switch in the feature list, the Settings index,
Features, Global Webhooks and Settings enforced on the server, with
what is refused, what is not sent and what is not a webhook (ntfy,
CalDAV, email to card).
Thanks to xet7 !
A report below Rules Report, at /admin/problems/webhooks, through the
shared table page: one row per integration, newest first, with the board
title as a link (or Global webhook, or the id of a board that is gone),
the owner's username and full name, the title, the URL with a password
and token-like query values masked, the type (Outgoing, Two-Way or Bots,
plus Mattermost direct messages), On or Off, the activities, whether an
authentication token is set, and when it was added. The On / Off filter,
the search and the pages are server-side, from the site-admin method
webhooksReportPage; the token never reaches the browser. While all
webhooks are turned off the report still lists them and says so.
The Playwright spec turns the switch on and off from the Features pane
and checks the hidden entries, the refused client insert and its
Problems record, the kept webhook, the report rows without the token,
and that a non-admin is refused.
Thanks to xet7 !
The Shop is linked from README.md's Board View list and from Newest
features, and its two pages - Board View / Shop and Board Settings / Shop -
list the commits that made it.
Thanks to xet7 !
A new entry in Board Settings, after List, for board admins while Admin
Panel / Settings / Features keeps the Shop view on. The popup (also opened
from the cog in the Shop's header) sets, all at once:
- whether the shop is open, its title and introduction;
- which custom field is the price, the product code and the stock, and
whether an order takes from the stock - a field named Price, SKU or Stock
and a list named Orders are chosen for a board that never saved it;
- the currency, the VAT and whether prices include it, the payment
reference type;
- the lists on sale and the labels shown as categories;
- the Orders list, from the private boards the admin administers;
- whether visitors without an account may order, a terms link;
- Show the Shop instead of the public board, with the note that a public
board opens in one view, so the Shop and the Website replace each other;
- the payment methods, from Budget and billing's, each switched on or off.
Thanks to xet7 !
A new entry in the Board View menu, under Communication and code after
Website, shown, hidden and ordered per board like every other view, and an
Admin Panel / Settings / Features entry, Shop view, that turns it off.
The view draws the board's own cards: a grid of products with their cover
image, title, price and the first words of their description, a category
filter from their labels, a page per product with its description drawn by
WeKan's Markdown viewer, a cart kept in this browser (localStorage), and a
checkout that sends card ids and quantities, the buyer's details and the
chosen payment method. The order placed shows its number, total, payment
reference and how to pay: the QR code, the Finnish bank barcode, the link or
the account details of Budget and billing's payment methods. A closed shop
shows its products to the board's admins only.
The QR code and barcode drawing, and the payment methods' labels, move from
the Budget and billing page to client/lib/paymentCodeSvg.js, which both use.
Thanks to xet7 !
Row 2.1 (data inventory) and 2.2 (records of processing) are PARTIAL: the
inventory and its generated Data-Inventory.md exist; recipients per instance
and the Admin Panel / Settings / Privacy view remain for WP-6. WP-3 notes the
40 collections nothing erases yet as the WP-4 work list, and the summary no
longer says there is no inventory or no sign-in address retention.
Thanks to xet7 !
models/lib/personalDataInventory.js lists all 185 MongoDB collections WeKan
defines - categories of personal data, the field that links a row to a
person, purpose, a legal-basis hint for the controller, retention and where
it is enforced, and what erasure should do and which file does it today.
Health data (workload absences of type sick, GDPR Art. 9) and financial data
(billing, time entries, shop orders, cloud invoices) are marked.
tests/personalDataInventory.test.cjs scans models/, server/ and packages/ for
every collection definition and fails on one that is not classified, on an
entry for a collection that no longer exists, on unknown categories or
missing paths, and on a new erasure gap: the collections nothing erases yet
are one explicit list for WP-4 that can only shrink.
docs/Compliance/Data-Inventory.md is generated by
releases/compliance/data-inventory.mjs, and the test checks it is current.
Thanks to xet7 !
Where people signed in from was capped in count but kept for good, on the
account, in loginAddresses and in shortPasswordLogins. Once a day - claimed
for the whole installation - an entry last used before the cutoff is removed
from each; an address still in use keeps a recent date and stays, and 0 keeps
everything. Listed on every platform. Work package 2 of
docs/Compliance/README.md (GDPR Art. 5(1)(c) and (e), POPIA s. 14(1), PIPEDA
4.5.3, APP 11.2). tests/loginAddressRetention.test.cjs pins it.
Thanks to xet7 !