Since #1759 a card copied or moved to another board brings its labels: a
label that board lacks is created there when the actor is its admin. The
stored (durable) rule copyCard, move to another board and move-all onto
another board still matched by name only and dropped the rest, so the
durable copy or move was no longer the ordinary one - the parity three
server tests check - and the card lost a label a direct copy would keep.
The durable plans now use the same planCrossBoardLabels with the rule's
actor. The labels to create are saved in the command (copy) or move
(single move, and each move-all unit), so a replay creates nothing twice:
each is pushed only when no label with its id is on that board yet, before
the card that names it is written. In a move-all, a label created for one
card is that board's label for the next, as when Card.move moves them one
by one. Commands saved before this, without the labels, still validate.
The server tests now expect the created label, once across a replay, and
the ordinary copy or move finding it; the card-move test gains the negative
of a mover who is not the new board's admin, where the label is dropped and
its activity removed. The command tests cover the new field, its validation
and an older command without it.
Thanks to xet7 !
- Dockerfile METEOR_RELEASE and the snapcraft description named Meteor
3.6-beta.3 and 3.6-beta.1 after .meteor/release moved to 3.6-rc.0, which
tests/releaseVersionConsistency and tests/websiteVersionInfo refuse.
- package-lock.json gained eight npm funding and deprecation links with the
@wekanteam packages now in npm-packages; they are metadata nothing fetches,
allowed for that file only and exactly in releases/risk-baseline.json, as
the earlier funding links are.
- tests/titleClickToEdit read the viewer's link handler in fixed 1,000 and
1,200 character windows; the #6753 branches at its top pushed the lines
past them. It now reads the handler's own body: a card link is routed
before window.open, and the click is stopped after it.
Thanks to xet7 !
CodeQL alert 559 (incomplete string escaping) was
tests/securityAlerts20261010.test.cjs re-running the escaping fixed for
alert 555, to show it let a URL end a link early. The test now holds the
Markdown the old code wrote, written out, and still checks that it renders
as two links. The check that no code escapes links that way now reads
tests/ as well as models, server, client and imports, and finds the old
line.
Thanks to GitHub CodeQL and xet7 !
The copy button of a code block is an <a href="#"> inside the card viewer.
Its own listener copied the text and prevented the navigation, but the click
went on to the viewer's 'click a' handler, which opens every link it sees in
a new tab - here this page plus "#". The button now stops the click, and the
viewer handler leaves the copy button alone and no longer opens a link to a
place on the page ("#", "#section") in a new tab; it moves to the target in
place when there is one.
tests/copyCodeBlock.test.cjs pins both and their order before window.open;
tests/playwright/specs/viewer-copy-code.e2e.js clicks the button and checks
that no tab opens, the page stays and the block's text is copied.
Thanks to carl-unique and xet7 !
Fixes#6753.
- Markdown links from imported files (CodeQL #555): Plane escaped [ and ]
in a link title but not backslash, so a title ending in "\" ran on into
the URL, and its URL went through encodeURIComponent, which leaves ( and )
as they are, so a ")" ended the link early and the rest became a second
link. ClickUp, Super Productivity and Vikunja wrote links the same way.
All four now use models/lib/markdownLink.js, which escapes the title and
percent-encodes what ends or breaks a destination.
- A replacement of a space with itself in a test (CodeQL #554), where a
regular-expression escape was meant. tests/noIdentityReplacement.test.cjs
now also finds the regular-expression form of an identity replacement.
- The vendored @wekanteam/exceljs (CodeQL #556-#558, Dependabot #137-#142):
sheet names are read without a backtracking regular expression, the
manual test pages pin their CDN script with Subresource Integrity, and
brace-expansion is 5.0.12. Same change as the fork, .tools/exceljs
25db789. The vendored jade's dev tools also had brace-expansion 5.0.6.
tests/securityAlerts20261010.test.cjs pins each, and the shape of each
across the tree.
Thanks to GitHub CodeQL, dependabot and xet7 !
The card Excel export, and the board export drawn in the card layout, read
every picture of the card or board into memory while drawing the sheet and
wrote the whole workbook at the end. They now write through
createWorkbookWriter to the response, and the board export writes each card's
rows out once the card is drawn. With the @wekanteam/exceljs fork's streaming
writer (.tools/exceljs: archiver 8 support and pictures on a streaming sheet)
each picture is a function the writer calls when it reaches it, so one is open
at a time and a picture that cannot be read is written empty rather than
ending the download. The fork is recognised by WorkbookWriter._addDrawing;
until a release with it is installed, these exports take the buffered writer
as before. A failure after the first byte now ends the download instead of
leaving it waiting.
Thanks to markusst1982 and xet7 !
The card and board PDF exports read every picture of the card or board into
memory before making the document, then built the whole PDF in memory too.
Each picture is now a loader: the Unicode PDF writer reads it when it draws
its row and hands it to PDFKit, which embeds it and lets the bytes go, so
one picture is in memory at a time. The document is written to a temporary
file as it is made and sent from there with its length, so it is not held
in memory either, and the base-font fallback still takes over when the
Unicode PDF fails - reading the pictures only then. Removed from TODO Later;
the Excel half stays there with what blocks it.
Thanks to markusst1982 and xet7 !
The attachment REST API carried every file as base64 inside JSON: an upload
gathered the whole body into a string, decoded it and stored it, and a
download read the whole file and encoded it - the file and its base64 copy
in memory at once, up to the API limits. Beside that form, each route now
takes the file itself: an upload whose body is the file (any Content-Type
but JSON, its card or board in the query) streams into storage, and
?raw=1 on a download streams the file out, served as a download that
cannot run in WeKan's origin. Both make the same checks first - one helper
now holds the card upload checks for both forms - and the API limits are
checked against Content-Length before reading and counted as the bytes flow.
api.py uses the raw form for its four attachment and background commands,
streaming from and to disk. The DDP methods stay base64 by their nature;
docs/API/Attachments.md says to use the raw routes for large files.
Removed from TODO Later.
Thanks to markusst1982 and xet7 !
Admin Panel > Attachments > Move read each file whole into memory: out of
CollectionFS it gathered the GridFS download into one Buffer and wrote it
with writeFileSync, into CollectionFS it read the source storage whole and
then uploaded it. Both now pipe: the GridFS download stream into the new
file, and the storage's read stream into the GridFS upload, chunk by chunk.
A copy that fails leaves no half file, and a missing binary still names the
attachment. Removed from TODO Later.
Thanks to markusst1982 and xet7 !
The live Trello import, and a Trello .json import with saved credentials,
downloaded every uploaded attachment of the board first - each read whole,
up to 256 MB - and kept them all on the board as base64 until it was made.
TrelloCreator now gets a streamer: each attachment is downloaded when the
creator reaches it and streamed into storage, one at a time. The download is
the same - the URL check, the credential only for Trello's own hosts, every
redirect validated and pinned - through fetchSafe's new stream mode, which
hands the body on as a stream with the same byte limit counted as it flows.
Removed from TODO Later.
Thanks to markusst1982 and xet7 !
Cloning built the board's whole export with every attachment as base64 and
imported that. The export is now built without file data, and the importer
streams each attachment from the source board's own storage as it reaches
it, held to the upload limit like every imported attachment. Removed from
TODO Later.
Thanks to markusst1982 and xet7 !
Every board was built whole - every attachment as base64 inside it - then
serialized and added to the .zip. Each board is now written into its entry
piece by piece by the streaming exporter the single board export uses, with
attachments as base64 in aligned chunks, paced by the response's
backpressure, so memory holds a chunk at a time instead of a board. Removed
from TODO Later.
Thanks to markusst1982 and xet7 !
The route read the whole upload into memory, up to its 200 MB cap, opened the
zip from that buffer, and read each attachment whole, up to 100 MB, to put
it on the board JSON as base64. The upload is now written to a temporary
file as it arrives, under the same cap, the zip is opened from the file, and
each attachment streams from its entry into storage through TrelloCreator,
counted against the same per-file limit and the same 1 GB budget of
everything inflated (server/lib/boundedZipEntry.js boundedZipEntryStream).
Only the board JSON files are held in memory. The .zip import takes the
people choice too. Removed from TODO Later.
Thanks to markusst1982 and xet7 !
On a seeded board of 4,000 cards, 12,000 comments, 20,000 checklist items
and 32,000 activities, served from FerretDB with SQLite as the Snap is:
closing a card took about 4 s and now takes 0.1 s, the board finished
loading in 17.6 s and now in 6.2 s, a card open re-ran about 7,700
computations and now about 1,000, and FerretDB used 13 s of CPU and 724 MB
while the board opened, now 3 s and 280 MB.
- The client data cache queued one more stop callback each time a helper
re-ran, and every check asked Tracker for dependents, which on close was
710 walks of 3 ms; there is now one callback per computation and key and
one timer per key (imports/lib/dataCache.js).
- Opening a card writes the user's last-viewed card, and avatars, @mentions,
list and swimlane headers read the whole user, so everything re-ran; they
read only the fields they show. The comment, checklist and subtask indexes
were one object every minicard depended on and are now per card
(imports/lib/keyedGroupIndex.js).
- The lazy card window kept a full copy of every card of a list per window;
it keeps the id and the sort keys, runs its id query once instead of five
times, and sends comment text only when minicards show comments
(server/publications/cardsWindow.js, models/lib/cardWindowFields.js).
Comment reactions and legacy attachment lookups come with the opened card
only.
- Attachment downloads honour Range for filesystem, GridFS and cloud
storage (206, 416, If-Range); uploads to cloud storage are spooled to a
temporary file and streamed instead of gathered into one Buffer; the API
copy checks the size limit before reading; the legacy attachment
migration streams, and no longer stores "[object Promise]" as a file; the
board export no longer concatenates buffers quadratically.
The FerretDB fork pushes dotted-path filters such as meta.cardId down to
SQLite (they were each a full scan) and decodes only the fields a count
filters on. docs/Features/Admin-Panel/Problems/Large-Boards.md describes how
a large board loads and how to size a server with 8 GB of RAM.
Thanks to markusst1982 and xet7 !
Fixes#6745.
models/lib/importSources.js describes every import source once: its name,
which files its chooser accepts, whether its export can be pasted, what a
file is sent as, whether a .zip is one export of the tool, and which
importer creates the board. The import page's list of sources, its file
chooser and its text box, "Import many boards" and the test of api.py's
lists all read it.
The page had a branch per source - one each for Excel and the four other
workbook tools, Vikunja, Notion, Plane, the text formats, CSV, Trello's and
WeKan's files - each reading its file its own way, and four file choosers.
It now has one: the chosen file is read by the reader "Import many boards"
uses, or the pasted text is read, then only the steps a source really has of
its own run (the column mapping of CSV and Excel, the empty-export check of
WeKan, Jira's estimate field, Trello's workspace, Taiga's slimming), then the
people step every source shares. Kanboard's people come from the server's
parser like every generalized source's, so its own client mapper is gone.
Every source can now be chosen as a file, not only pasted.
Thanks to xet7 !
A CSV, TSV or Excel import now shows which column is which card field
before importing, pre-filled from the header names - English names and
WeKan's own export column names in every language - and asks for what is
missing: a file with no list column gets one list, named on the page,
instead of one list per row. Unused columns can be kept as text custom
fields. The choice goes to the server as csvMapping, checked before
anything is written, and the REST import and api.py take one too.
The Owner column is applied, as are swimlane, received date, parent card,
spent time, overtime and archived. A TSV value containing a comma stays one
value. A dropdown custom field value that is not one of its items is skipped
instead of failing the import.
An Excel workbook is read sheet by sheet, its header found in row 1 or where
WeKan's export puts it, in any language; formula cells are read as their
results and rich text as text. WeKan's own Excel export imports, and a
workbook with many boards - each on its own sheet, as Export all boards
writes it - imports as many boards; the Activity sheet is skipped.
Thanks to xet7 !
Kanboard task links were only reported as losses. They now become WeKan
data: "is a child of" and "is a parent of" make the parent card, and blocks,
is blocked by, duplicates, is duplicated by, fixes, is fixed by and relates
to make dependencies of the matching type; the milestone pair becomes
related-to and is reported. Kanboard stores each link from both tasks, so
the two rows of one link become one parent link or one dependency. Rows from
getAllTaskLinks, getTaskLinkById and links grouped by label are read; an
unknown label, a link to a task not in the file and a second parent are
reported. The Kanboard export writes parents and dependencies back as task
links from both ends, so the file round-trips. The docs no longer claim typed
custom fields for Kanboard, which has none.
GitHub, Gitea and Forgejo issues put their embedded comments into the card
description; each now becomes a card comment with its author and date, and
the description is left as the issue wrote it. A comment without text, and
comments counted on the issue but not embedded, are reported.
The Jira instruction's endpoint literal is the current search
(GET /rest/api/3/search/jql) in every locale too, as code literals are copied
from English; the translation suites that pinned the old one follow.
Thanks to xet7 !
Every import page now asks once what the people named in the file become
(models/lib/importMembersMode.js): existing users chosen in the map-members
step, placeholder users that keep the original username and name and cannot
log in, to be mapped to real users later, or all the person importing. All
five creators read the same mapping. The generalized importer, which used to
drop people nobody mapped, now makes placeholders for them, as Trello and
WeKan imports do, and offers its people for mapping by reading the file with
the same parser (importBoard with previewPeople, which creates nothing).
Import many boards offers placeholders or the importer. The REST import, the
WeKan .zip route and the Trello route take the mode too.
A WeKan .zip imported as a new board no longer puts its attachment files
inline in memory within a 512 MB budget: the full-board importer streams each
from the archive into storage, as the import into an existing board does.
Both, and the Trello importer when given a stream, go through one helper
(server/lib/importAttachmentStream.js) that holds every imported attachment
to the Admin Panel's upload limit and to none when none is set, skipping a
file whose stated size is over it and stopping one that grows past it.
The import page instructions name Jira's current search (GET
/rest/api/3/search/jql with fields=*all, paged by nextPageToken), Todoist's
Manage data > Export as CSV and Planner's Export as Excel.
Thanks to xet7 !
Import many boards: on the import page of every source, several export
files, or one .zip holding them, each become their own board through the
same path a single import of that file takes, and the page lists what each
file became (models/lib/importManyFiles.js). A .zip that is itself one
export (Vikunja, Notion, Plane, WeKan with attachments) stays one board.
One board per project: for the generalized importer, each swimlane the
import would make - a project, folder or list of the tool - becomes its own
board (models/lib/importSplit.js), so an export of a whole app imports as
many boards, as a Trello .zip does. Kanri's all-data export now reads every
board, not only the first, so it splits into one board per Kanri board.
Export all boards: All Boards sidebar, or Multi-Selection for the selected
boards, downloads every board the user may export in one format, each
checked as its own export is. Excel is one workbook with a sheet per board,
named after the board; every other format is a .zip with one file per board
(server/routes/exportAllBoards.js). The per-format bytes are made in one
place, server/lib/renderExternalExport.js, for the board route and this.
A WeKan .zip export imports as a new board from All Boards, unpacked on the
server with its attachments (it was refused in the browser). api.py gains
importboardsfrom and exportallboards, sends every source in the shape the
import page sends, and fetches Excel, PDF, CSV and TSV exports from their
own routes and writes them as bytes.
Fixed while documenting: a Trello Butler rule's list name kept its case,
so the rule fires; the HTML export fetches the board JSON by URL instead of
a link the export popup no longer has; Tasks.org exports time spent;
Nextcloud Deck's done flag marks the due date done.
docs/Features/ImportExport has a directory per format with the steps to
import and export it, one board and many, and its details, moved from
Format-Coverage.md, which is now the index and the shared contract.
tests/importExportDocsCoverage.test.cjs fails when a format has no page.
Thanks to xet7 !
docs/Features/ImportExport/External-Tools.md listed ten tools while WeKan
reads and writes more than fifty. It now lists every tool and file, grouped
into project and task tools, issue trackers, plain text and outlines, and
WeKan's own formats: where in each tool to get the file, what WeKan writes
back, and which tools are not supported yet and why. The README's import and
export lists link to it and name the Wrike workflow, the Board Settings
export page points to it and to the Wrike workflow, and the historical
wishes in Sync.md say which have been done since.
tests/importExportDocsCoverage.test.cjs fails when a source on the import
page or a format in the export menu is missing from the page, so it cannot
go stale again.
Thanks to xet7 !
The Wrike Excel export wrote the WeKan list as a custom column named WeKan
list, which Wrike reads as a custom field rather than a status. It now
writes the five workflow columns of Wrike's import help article: Default
task workflow on folder rows, and on task rows Workflow (named after the
board), Status (the list's status group) and Custom Status (the list).
Wrike applies a custom status only when that workflow exists, matching
case, so the board's lists are also exported as that workflow: the JSON of
Wrike's GET /workflows, one custom status per list with the nearest Wrike
color. That JSON is the only exchange format, since Wrike has no file
import or export of workflows.
A list's status group comes from the board's rules. A "moved to this list,
mark complete" rule makes it Completed (Cancelled when its name says so), a
"mark incomplete" rule makes it Active (or Deferred), otherwise the name
decides. In Rules > Import / Export, a pasted Wrike workflow adds a list for
each status the board lacks, after the previous status's list, and adds the
rules that do what Wrike's status groups do. Those rules show in the list,
Workflow and Blocks views. A server method does this as a board admin and
adds nothing twice. Wrike's own automation rules have no export, import or
API, so they cannot be carried over.
The Wrike import reads Custom Status as the list and a single Workflow as
the board title. It reports a status group the status name does not imply,
since only the workflow import's rules keep it.
tests/wrikeWorkflow.test.cjs and tests/wrikeFormat.test.cjs cover the
workflow, rules, colors, refusals and round trips. Two new Playwright cases
import a workbook with the workflow columns and apply a Wrike workflow
through the Rules popup twice, and the export audit fetches the workflow.
New text is in English, pending Transifex.
Thanks to xet7 !
Update measured README coverage to 191 and protect the full current Xhosa fill. All 333 translation-related suites pass; the new completion gate also passes separately. Remaining language-quality and translation work stays open.
Fill the final seven import instructions, preserving header requirements, hierarchy markers and exclusions. The current fill list is empty. Specialized wording remains low confidence pending speaker review. Three targeted suites and all 21 preservation checks pass.
Fill nine instructions preserving commands, first-board limits, completion dates and attachment exclusions. Specialized wording remains low confidence pending speaker review. Three targeted suites and all 21 preservation checks pass.
Fill eight instructions preserving export commands, field names, tokens and mappings. Specialized wording remains low confidence pending speaker review. Three targeted suites and all 21 preservation checks pass.
Fill 40 messages preserving variables, keyboard labels, screen-reader states and navigation distinctions. Specialized wording remains low confidence pending speaker review. Both targeted suites and all 21 preservation checks pass.
Fill 35 messages preserving function variables, keyboard labels, output distinctions and placement warnings. Specialized wording remains low confidence pending speaker review. Both targeted suites and all 21 preservation checks pass.
Fill 30 messages with regression checks for notation, rounding directions and degrees-versus-radians instructions. Specialized wording remains low confidence pending speaker review. Both targeted suites and all 21 preservation checks pass.
Fill 35 messages preserving variables, sign distinctions and random bounds. Specialized wording remains low confidence pending speaker review. Both targeted suites and all 21 preservation checks pass.
Fill 30 messages with regression checks for variables, mathematical constants, bounds and logical distinctions. Specialized wording remains low confidence pending speaker review. Both targeted suites and all 21 preservation checks pass.
Fill 35 messages with regression checks for sort variables, copy semantics, insertion and comparison distinctions. Specialized wording remains low confidence pending speaker review. Both targeted suites and all 21 preservation checks pass.
Fill 40 messages with regression checks for variables, return/remove distinctions and copy semantics. Specialized wording remains low confidence pending speaker review. Both targeted suites and all 21 preservation checks pass.
Fill 40 messages with regression checks for variables, coordinate names, list semantics and consistent positions. Specialized wording remains low confidence pending speaker review. Both targeted suites and all 21 preservation checks pass.
Fill 40 messages with regression checks for variables, keyboard help and distinct actions and positions. Specialized wording remains low confidence pending speaker review. Both targeted suites and all 21 preservation checks pass.
Fill 45 messages with regression checks for variables, conditions, keyboard labels and rendered coordinates. Specialized wording remains low confidence pending speaker review. Both targeted suites and all 21 preservation checks pass.
Fill 35 messages, preserving variables and deletion and rollback warnings. Specialized wording remains low confidence pending speaker review. Both targeted suites and all 21 preservation checks pass.
Fill 40 messages with regression checks for variables, cancellation, discard consequences and record limits. Specialized wording remains low confidence pending speaker review. Both targeted suites and all 21 preservation checks pass.
Fill 35 messages with regression checks for estimate clearing, planning restrictions, report access and retry warnings. Specialized wording remains low confidence pending speaker review. Both targeted suites and all 21 preservation checks pass.
Fill 24 messages and retain report limits, hidden-value scope and partial-failure warnings in regression checks. Specialized wording remains low confidence pending speaker review. Both targeted suites and all 21 preservation checks pass.
Localize keyboard labels while retaining printed legends, correct the monday.com possessive and verify both fill lists are empty. The broad run found a stale README count; update it to 190 and verify the failing suite passes. Language review and broader translation work remain outstanding.