6 Commits
Author SHA1 Message Date
Lauri Ojansivu a904ca8807 Let a card be a subtask of several parent cards.
"A must be done before B and C can start, so A is a subtask of both." A card
now keeps every parent in parentIds, with parentId still the primary one
(parentIds[0]), so everything that reads one parent keeps working and a card
written before this has its one parent. Picking an existing card as a
subtask adds this card as a further parent instead of replacing the one it
had; Card -> More lists the other parents and removes one, and choosing the
primary parent keeps the others. Children are found under any parent - the
subtask list and counter, the parent filter, rule email Details and the
exports - and the loop guard and the board publication walk every parent.
Archiving or deleting a card takes only the subtasks it is the one parent
of; a shared subtask just loses it. Every parent written must be on a board
the writer can see (GHSA-jvv9-498p-hxrg), and board copy and WeKan import
remap all of them. The old single-parent walker is removed.

Thanks to ikomhoog and xet7 !

Fixes #3626,
2026-09-29 17:59:21 +03:00
Lauri Ojansivu 75a312809d Scope list Sync mappings and credentials to their source project
Preserve previous-source cards across project switches, require matching credentials before fetching, and bind identifiable legacy mappings before replacing or clearing settings. Reject unknown legacy sources and stale fetched configurations.

Verify with nine focused Node suites, nine Chromium scenarios and the local release audit. Concurrent jobs and configuration writes remain nontransactional.

Thanks to xet7 !
2026-09-27 21:32:16 +03:00
Lauri Ojansivu 85b5f28bcd Keep copied cards independent from external Sync identities
Strip source IDs and text baselines from card/subtask copies. Reject existing duplicate local mappings before reconciliation rather than selecting an arbitrary card. Verify source preservation, actual copy bodies and board duplication.

Thanks to xet7 !
2026-09-27 19:32:48 +03:00
Lauri Ojansivu 4af54df663 Remap Scrum data when duplicating boards
Add Scrum to board copy choices and reuse transfer remapping for planning records, metadata and snapshots. Collect copied list and swimlane IDs, omit deselected Scrum data and label reduced snapshots in reports and exports.

Thanks to xet7 !
2026-09-27 18:41:14 +03:00
Lauri Ojansivu 8bf47d1a9a Choose structure and content when duplicating selected boards
Replace the separate without-cards action with one selection popup, defaulting to all parts and providing Select All, Select None and Cancel. Validate choices on the server and preserve parent requirements, card relationships, custom fields and existing board-admin permissions.

Repair attachment copying to use explicit imports and the installed Meteor-Files promise API, wait for flushed file bytes, and propagate copy errors. Verify selection combinations, source preservation, attachments, multiselection, cancellation and denied calls with Node and Chromium tests.

Thanks to xet7 !
2026-09-27 14:52:33 +03:00
Lauri Ojansivu 1e328a98de Copy rendered template cards without submitting runtime ID caches 2026-09-13 15:11:56 +03:00