- 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 !
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 !
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 !
"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 !
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.
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 !
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 !
- The permanent delete hint now says Admin Panel / Settings / Delete: the
tests that pinned the old path say the new one, and the audited Wu,
Corsican and Latin corrections record the change, so the repair tool keeps
it.
- calendarBaseOptions: the board calendar's editable follows
Utils.canModifyBoard() since the write gate.
- OAUTH2_RESPONSE_MODE and OAUTH2_CLAIMS_IN_ID_TOKEN are read as process.env
(they are environment-only) and named as such in the login catalog test.
- The attachment search text strips tags until nothing more is removed, as
tests/tagStrippingFixedPoint.test.cjs requires.
- Login-Problems.md links sandstorm.org (sandstormOrgHosts).
Thanks to xet7 !
The Trello migration, Leo install, board delete, previous export,
manual migration, integrations, Excel and VBA, ICS import and attachment
pages follow the one structure; the bundled scripts' changelogs, the
history of schema migrations and the one-card-layout design keep their
content and get their commits. Fixed where the code disagreed: an
archived board is deleted only by a Global Admin with permanent delete
enabled, through Multi-Selection; the import paths are All Boards / Add
Board / Import / Import board; ICS imports need write access and the
Import page has an iCalendar source now; CSV/TSV and PDF images are
implemented; server/migrations.js is gone; the attachment migration design
names methods the code does not have, and the page now says what exists.
Thanks to xet7 !
CLOUD, the Cloud Admin container's domain, is listed - commented out, with
what it does - in the Dockerfile, start-wekan.sh and .bat, every
docker-compose file and the Snap (cloud=), and read as process.env.CLOUD where
tests/envVarCoverage.test.cjs sees it. The docs links fixed in
docker-compose.yml earlier are fixed in the other compose files too, which
tests/dockerComposeBackends.test.cjs keeps alike, and OAuth2.md's snap example
names a real key (docsSnapKeysExist).
Thanks to xet7 !
With Table view unticked, tableViewAddCard and setBoardView answer
feature-disabled and no card is made, and once ticked the card is added; with
Self delete off, removeUser and anonymizeUser on your own account are refused
and the account stays; with password login disabled, a DDP and a REST
password sign-in are refused, and an ordinary failure again once it is on.
It holds the password-policy lock, as the two password specs change the same
loginOptions.
Thanks to xet7 !
The validateLoginAttempt hook refused every password sign-in, but a later
hook of the same chain - the lockout's "User not found" / "Incorrect
password" - overwrote its error for a wrong password and left it for a right
one, so while password login was off the answer still said whether a
password was right. Meteor's login method now refuses a { user, password }
request itself (loginRequestRefusal), synchronously before the original
method runs; the hook stays for resetPassword, verifyEmail and createUser.
Found by the new Playwright spec.
Thanks to xet7 !
The panel's account of a customer is named username_customerdomain - their
username in their own WeKan, an underscore, their domain - and that is the
name they sign in with: the part after the last underscore picks the domain,
and only that domain's database is asked about the username before it. A
bare username, or the customer e-mail address, still works while exactly one
domain lists it, and is refused rather than guessed when two do. An account
made with the older username-domain name takes the new one at its next login.
tests/cloudPanel.test.cjs covers the name, the separator, the domain that
does not list the username and the shared domain.
Thanks to xet7 !
External-Tools.md, Format-Coverage.md, Sync.md, Import-Run-Recovery.md and
Scrum-Import-Recovery.md follow the one structure; the pinned sections of
the index and the coverage contract stay as they are. Fixed where the code
disagreed: the import path is All Boards / Add Board / Import / Import
board; Planka, Microsoft To Do, KanbanFlow, Basecamp, Google Tasks and
Google Keep are imported through their API now, not unsupported; the
reasons for the unsupported tools are in TODO.md.
Thanks to xet7 !
Mattermost, Rocket.Chat, Discord, Matrix, Node-RED, Java, receiving
webhooks, the proxy, certificate authorities and the webhook data each
follow the one structure, with the shared numbers of every webhook
(30-second timeout, the queue's retries and backoff, the internal
destinations) and how the Integrations collection, its permissions and
the outgoing request guard work. Fixed where the code disagreed: the
webhooks are under Board Settings / Outgoing Webhooks, and
WEBHOOK_TLS_CA_CERT trusts a CA without NODE_EXTRA_CA_CERTS; dead links
to the Riot issue and the Esri Java sample point at their new places.
Thanks to xet7 !
The page lists every setting that turns something off or restricts it: what
the server refuses (the login settings, own account deletion, the Features
catalog, import), what it already refused before, and the settings that are
display only on purpose - the instance and board card fields, a board's
offered views, read-only Rules for members and the appearance switches - each
with its reason. Linked from Admin Panel and Who sees and can do what; the
card field decision is also written in models/lib/cardFieldVisibility.js.
Thanks to xet7 !
docs/Features/Admin-Panel/Cloud-Panel.md: how to turn it on with the CLOUD
environment variable and why it cannot be turned on from the browser any
more (CloudPanelBleed), the Cloud Admins, Admin Panel / Cloud, the customer
login against the customer's own database, the support boards and the role
chosen for customers, the allowed addresses and how to clear them from the
server (CLOUD_ADMIN_ANY_ADDRESS=true, or a mongosh command), no REST API at
that address and why the email webhooks are not there either, and the
Problems keys. README.md and Newest-Features.md say the same in short.
Thanks to xet7 !
CloudPanelBleed. Any site administrator of any WeKan could set the Cloud
Panel Domain and its SuperAdmin in Admin Panel / People / Cloud and then
make the server connect to any MongoDB server with credentials of their
choosing - Test connection and Import build a MongoClient from the
domain's database settings. A customer is the administrator of their own
WeKan container, so a customer could reach MongoDB servers on the internal
network.
The Cloud Panel now exists only where the server has CLOUD=<its domain>
(models/lib/cloudPanel.js cloudDomainFromEnv). The domain is never read
from the database, the browser or the REST API; the People / Cloud pane is
gone and cloudPanelGetSettings / cloudPanelSetSettings always refuse. Every
cloudPanel* method except cloudPanelWhoAmI passes the CLOUD gate before
anything else, its argument checks included, and the one MongoClient built
from data that is not the environment (withSource) has the gate in its own
body. A refusal is recorded in Admin Panel / Problems under the new keys
authz.cloud-panel-off, authz.cloud-panel-access and
authn.cloud-admin-address (bleed CloudPanelBleed; none disables an
account).
- Cloud Admins: on the CLOUD container its site administrators - the first
registered user is one - not disabled, never a customer's account. They
have Admin Panel / Cloud (/admin/cloud/<pane>, a tab shown only for a
Cloud Admin at the CLOUD address): Domains, Invoices, Tickets, Chat,
Cloudflare, Caddy, Allowed addresses. /cloud stays the customers' panel.
- Customer login: a password login handler, ahead of accounts-password's
and after the timing normalization, only at the CLOUD address, only for a
name exactly one domain with its own database lists, never for a name an
account of the panel's own has. The password is checked against that
customer's own database hash with Accounts._checkPasswordAsync, under an
id no local account has; a disabled or password-less account there is
refused, and so is a wrong 2FA code. On success a local non-admin account
without a password, services.cloudCustomer, which sees exactly its own
domain: info, invoices, tickets and chat.
- Support boards: one WeKan board per domain, "Support: <domain>", lists
Open / In progress / Done for tickets and Chat with one card whose
comments are the support chat (Board View / Chat shows them as a chat).
Cloud Admins are board admins, customers Comment only: they read and
comment but cannot create, edit, move, archive or delete a card nor
manage the board; the panel adds their tickets into Open. The earlier
cloudChatMessages are moved once into the chat card; imported
Rocket.Chat and SandChat conversations go there too.
- Allowed addresses: IPv4, IPv6 and CIDR ranges (models/lib/cloudAddresses.js).
When set, a Cloud Admin login (resume included) from elsewhere is refused
and recorded, and so is a Cloud Admin method. A list without the saver's
own address is refused; CLOUD_ADMIN_ANY_ADDRESS=true sets it aside for a
locked-out operator.
Tests: tests/cloudPanel.test.cjs, tests/cloudAddresses.test.cjs,
tests/cloudPanelAccess.test.cjs (the real methods and login handler without
and with CLOUD), tests/cloudPanelGate.test.cjs (the MongoClient source scan),
server/lib/tests/cloudPanel.security.tests.js and
tests/playwright/specs/cloud-panel.e2e.js (negative without CLOUD; the
positive part runs with CLOUD=localhost WEKAN_TEST_CLOUD=true). The guards
that pin board inserts, comment inserts, card-reading paths, copy/move
methods, the Admin Panel tabs and method areas list the panel's support
board and its methods, with the reason.
Thanks to xet7 !
"Disable all import" says the server rejects any import request, and most
import paths asked assertImportEnabled(), but trelloStartImport and
trelloResumeImport, importIcsToBoard and its REST route, and
scrum.importIntoBoard did not. They ask now, after their argument checks.
tests/importDisabledEverywhere.test.cjs holds it tree-wide: every server
method or REST route whose name says it imports asks assertImportEnabled(),
directly, through a file-local helper or by handing the request to
importBoard, or is listed with the reason it is no import of board data.
Thanks to xet7 !
An unticked feature hid its menus and nothing else: the Table, Chat, Email,
Version Control and Scrum views' methods and publications still answered,
setBoardView still stored a hidden view, and a client could still turn on a
list policy, a commitment point, a WIP limit per person or a split list.
models/lib/featureServerGates.js lists, for every catalog feature, its server
paths, its write gates, or why it is display only. requireFeature /
featureAllowed (server/lib/assistGate.js) refuse with feature-disabled and
record the attempt in Admin Panel / Problems as Disabled setting; the Scrum
methods are wrapped in one place, except the ones the card details, Board
Settings and data recovery use too; Boards / Lists deny rules refuse turning
a flow policy on; setCardFlow refuses Done here while split lists is off;
setBoardView refuses a hidden view. Board Settings / Scrum settings follows the
Scrum views tick, as it opens in the Sprints view.
tests/featureServerGates.test.cjs fails when a catalog feature is undecided,
or when a method or publication of a feature file does not ask the gate.
Thanks to xet7 !
Fixed where the code disagreed: Board View rows are reordered by drag and
drop and the Up and Down keys, not by arrow buttons; public boards are
hidden from Admin Panel / Settings / Appearance; an archived board is
restored from the Boards in Archive page and deleted only by a Global
Admin with permanent delete enabled, through Multi-Selection; a label's
due date alone is not saved by editLabel (recorded as a known issue);
Roles.md no longer points at a gap or a heading that do not exist.
tests/boardRoles.test.cjs reads Known gaps up to its next heading, since
Setting a role moved up to How to use it.
Thanks to xet7 !
Admin Panel / People / Login / Self delete user account unticked only hid the
Delete and Anonymize buttons: removeUser and anonymizeUser on your own account
still worked, and so did DELETE /api/users/:userId for an administrator's own
id. And removeUser's self branch returned before the last-administrator
check, so the only site administrator could delete themselves.
Now every self-removal path asks models/lib/selfAccountRemoval.js: refused
while the setting is off (recorded in Admin Panel / Problems as Disabled
setting, never disabling the account), and refused for the last site
administrator (not recorded: the button is there, so it is ordinary use).
Username Change unticked: the setUsername method already refused, but the
Users allow rule still let a client write its own username directly; a
Users.deny rule now refuses that and records it.
Thanks to xet7 !
PASSWORD_LOGIN_ENABLED=false only hid the password form: a DDP login with a
password, or POST /users/login, still signed in with a local password. Now an
Accounts.validateLoginAttempt hook refuses every password-service sign-in
(login, resetPassword, verifyEmail, createUser) whether the password was right
or not, and POST /users/login answers 403 before it looks up any user. LDAP
keeps working: with LDAP on, a REST username goes to the directory only, and
the LDAP handler's own LDAP_LOGIN_FALLBACK stays the operator's LDAP decision.
Forgot password unticked only hid the link: Meteor's forgotPassword method
still e-mailed a reset link. It is refused now, and also while password login
is off.
The decisions are models/lib/passwordLoginPolicy.js. Each refusal shows in
Admin Panel / Problems as Password login disabled or Forgot password disabled,
without disabling the account. New page
docs/Features/Admin-Panel/Settings-Enforced-On-Server.md.
Thanks to xet7 !
Copy, Move, Link, More, QR code, Create board from card, Drawing, Flow fields,
Flowtime and Pomodoro, Planning Poker, Linked cards and Requested/Assigned By
follow one structure, checked against the code: Create board from this card is
no longer hidden from members who can edit the card, a Pomodoro break ends in
ready-to-start rather than the next work interval, a Pomodoro stopped during
Work credits the minutes worked, and the timers have their own Board Settings /
Card rows instead of depending on Time Tracking.
Thanks to xet7 !
The right sidebar, Board Settings and its entries - Notifications, Date,
Bots, Export and Import, Swimlane, List, Change color, Board announcement,
All Boards Settings, Scrum meetings and settings, background images and the
cleaner task board options - each follow the one structure, from the code.
Fixed where the code disagreed: background uploads are board-level
attachments chosen inside Change Background Image (there is no separate
Board backgrounds entry or backgrounds storage directory), and the date
format for everyone is in Admin Panel / Settings / Appearance.
Thanks to xet7 !
Scrum, Set color, Similar cards, Subtasks, Suggested members, Time
tracking, Watch and Star, Whiteboard, Cover image, Locations and Stickers
follow one structure. Corrected from the code: Filter: Subtasks is in the
Subtasks heading's hamburger, the whiteboard keeps the drawing's own size,
the card-field switches are in Admin Panel / Settings / Features, the map
links follow the chosen provider of eleven, Time tracking describes the
card's spent time and time by day, and Scrum now has native sprints.
Thanks to xet7 !