120 Commits
Author SHA1 Message Date
Lauri Ojansivu 0542a239fd Track column entry time and filter old cards by list
Keep column age stable across unrelated edits and record moves in the same card write. Add a rolling, board-scoped hide filter while retaining legacy cards with unknown entry dates. Historical activity backfill remains pending.

Thanks to grasshide and xet7 !

Refs #1499.
2026-09-28 17:40:49 +03:00
Lauri Ojansivu eb527dd13f Add directed duplicate card relationships and Jira import mapping 2026-09-28 17:23:15 +03:00
Lauri Ojansivu 46d2039b8a Preflight complete Scrum recovery batches before resuming writes 2026-09-28 17:17:05 +03:00
Lauri Ojansivu bf75fafdd3 Fence Scrum restoration writes with captured placement and content 2026-09-28 17:13:49 +03:00
Lauri Ojansivu 62f5a48740 Confirm persisted Scrum restoration targets before completing recovery 2026-09-28 17:10:11 +03:00
Lauri Ojansivu 0818e22ad4 Coordinate Scrum restoration events with ordinary History appends 2026-09-28 16:56:07 +03:00
Lauri Ojansivu 1442809b4b Route ordinary History records through persistent writer admission 2026-09-28 16:47:55 +03:00
Lauri Ojansivu e56dac26a8 Bind coordinated History appends to private heads and schema validation 2026-09-28 16:37:45 +03:00
Lauri Ojansivu 978beefe85 Bind stored archive execution to durable effects and required History ownership 2026-09-28 16:27:57 +03:00
Lauri Ojansivu 840711a6ea Register private archive recovery storage and guard command capture 2026-09-28 16:25:02 +03:00
Lauri Ojansivu 96b9bb6890 Bind archive activity plans to real collection hooks and verify replay 2026-09-28 16:21:11 +03:00
Lauri Ojansivu 3e8650057c Bind stored archive cascades to validated Cards writes and scoped hooks 2026-09-28 16:15:36 +03:00
Lauri Ojansivu ab81fcedeb Connect durable email receipts through stored rule and activity delivery 2026-09-28 15:58:06 +03:00
Lauri Ojansivu 5c2b9c1601 Verify stored rule email through real SMTP acceptance and interrupted delivery 2026-09-28 15:54:55 +03:00
Lauri Ojansivu 0dc51068ac Bind stored rule email dispatch to private attempts and shared SMTP slots 2026-09-28 15:52:33 +03:00
Lauri Ojansivu 319173291e Capture stored rule mail through shared variable and localization preparation 2026-09-28 15:44:05 +03:00
Lauri Ojansivu 2302259523 Bind stored Sync rule execution to private receipt storage and live guards 2026-09-28 15:36:05 +03:00
Lauri Ojansivu d2c73b4225 Capture stored Sync rule plans through actual matching and scope guards 2026-09-28 15:27:01 +03:00
Lauri Ojansivu f1e572db5c Integrate cancelled notification payload cleanup and terminal receipt reporting 2026-09-28 15:13:39 +03:00
Lauri Ojansivu b590d3d76f Cancel remaining activity notification delivery with permanent replay protection 2026-09-28 15:04:37 +03:00
Lauri Ojansivu 61bca9bb42 Honor persistent activity notification holds during delivery 2026-09-28 14:55:15 +03:00
Lauri Ojansivu 169a19817a Report pending activity notifications and allow guarded manual retry 2026-09-28 14:49:56 +03:00
Lauri Ojansivu 694807fc47 Compact completed notification plans without deleting replay keys
Remove rendered payloads immediately after matching intent completion and in bounded background sweeps. Require valid checksums and dispatch identity, retain pending or damaged plans, and use atomic in-place replacement with readback for uncertain acknowledgements.

Validated with 20 Node/MongoDB cases, three additional Node suites, four Meteor cases and thirteen Chromium delivery and cleanup scenarios. Operator handling and unresolved-payload retention remain open.

Thanks to xet7.
2026-09-28 14:39:16 +03:00
Lauri Ojansivu 34c6c31a48 Resume pending activity notifications with shared reservations
Scan bounded pending-intent batches after startup, advance past failed and busy rows, and coordinate immediate delivery and recovery through renewable per-intent reservations. Resume saved plans or prepare the first plan from an unchanged persisted activity; retain unresolved orphans without recreating activities.

Validated with 14 Node/MongoDB cases, three additional Node suites, four full-app Meteor cases and twelve Chromium scenarios including scheduled local SMTP recovery. Operator controls and payload retention remain open.

Thanks to xet7.
2026-09-28 14:31:47 +03:00
Lauri Ojansivu 4c762f4070 Persist ordinary notification recipients and rendered service payloads
Save a checksummed plan before delivery, bind the original activity and dispatch actor, and reuse tray receipts and email job identities on retry. Recheck current recipient scope and channel preferences without rebuilding saved content.

Validated with ten MongoDB cases, three Node suites, three Meteor cases and ten Chromium notification scenarios. Background replay, ownership and plan retention remain open.

Thanks to xet7.
2026-09-28 14:23:38 +03:00
Lauri Ojansivu 54c3130ce9 Capture activity notification intents before ordinary activity writes
Await private intent persistence before the activity insert, preserve scoped Sync deferral, and retain pending evidence until all recipient subscribers acknowledge local writes. Compact successful intents while preserving dispatch identity; keep webhook delivery independent.

Validated with six MongoDB cases, three Node suites, three full-app Meteor cases and ten Chromium email delivery and private-storage scenarios. Automatic pending-intent recovery remains unfinished.

Thanks to xet7.
2026-09-28 14:15:55 +03:00
Lauri Ojansivu 765e2c305d Compact terminal email metadata while retaining replay receipts
Retain detailed metadata for 30 days by default, then replace terminal jobs and commands atomically with minimal permanent identities. Preserve unfinished work, holds, generation fencing and actor-bound command replays. Sweep bounded batches independently and reconcile uncertain writes.

Validated with six Node suites, real MongoDB faults and replay tests, the Meteor startup scheduler, and Chromium Recovery replay and authorization checks.

Thanks to xet7.
2026-09-28 14:06:15 +03:00
Lauri Ojansivu 7efa8ca37f Share notification delivery slots across workers and cancel lost senders 2026-09-28 13:49:39 +03:00
Lauri Ojansivu 7a450190ac Enforce native Meteor SMTP deadlines while preserving message plugins 2026-09-28 13:36:02 +03:00
Lauri Ojansivu b70d8e421e Verify SMTP deadline cancellation and durable retry through Meteor and Recovery UI 2026-09-28 13:25:42 +03:00
Lauri Ojansivu 9df7ac5727 Connect stored webhook delivery to live actor integration and reply permissions 2026-09-28 13:04:32 +03:00
Lauri Ojansivu 79d4024f13 Register private webhook recovery storage and guarded plan capture 2026-09-28 12:59:49 +03:00
Lauri Ojansivu 29872ab9f5 Protect private webhook comment evidence across reads writes and copies 2026-09-28 12:55:11 +03:00
Lauri Ojansivu e08b22983c Persist guarded webhook HTTP responses before processing reply effects 2026-09-28 05:32:01 +03:00
Lauri Ojansivu 7747aa0a2a Persist captured Sync webhook plans and acknowledged delivery receipts 2026-09-28 05:28:03 +03:00
Lauri Ojansivu 1c59d5d07e Connect saved notification plans to private storage and live replay permissions 2026-09-28 05:18:10 +03:00
Lauri Ojansivu 2ae279838d Share ordinary notification audience selection with saved delivery preparation 2026-09-28 05:07:25 +03:00
Lauri Ojansivu b428156916 Prepare captured notification email content separately from enqueueing 2026-09-28 04:55:55 +03:00
Lauri Ojansivu 65a4c892b5 Persist tray delivery receipts and recover interrupted acknowledgement after dismissal 2026-09-28 04:50:47 +03:00
Lauri Ojansivu 15a9d61eb5 Deduplicate notification retries by activity without resetting read state 2026-09-28 04:43:49 +03:00
Lauri Ojansivu a76e828bf3 Await notification subscribers and fix async profile notification persistence 2026-09-28 04:40:51 +03:00
Lauri Ojansivu f2728947ca Preserve saved Sync activities through scoped collection hooks 2026-09-28 04:37:02 +03:00
Lauri Ojansivu dc9ce0537a Apply saved Sync card mutations through schema and scoped recording hooks 2026-09-28 04:33:45 +03:00
Lauri Ojansivu c3caf87a13 Enforce disabled account status and revoke existing sessions.
Fix InactiveBleed across REST, attachment and export authentication, header login, LDAP token issuance and People account controls. Apply administrator-created account flags before insertion and guard token creation atomically.

Thanks to esbrito81 and xet7 !
2026-09-26 01:27:36 +03:00
Lauri Ojansivu c4c6e34ec4 Repair node regressions and align security problem names 2026-09-15 10:35:31 +03:00
Lauri Ojansivu 9b1fb5214f Require board write capability for list moves and sibling mutations
Enforce the canonical role policy for both sides of list, swimlane and checklist moves, scoped imports, attachment renames and history writes. Record denied attempts through bounded Problems summaries without allowing logging failures to bypass authorization.

Add role-matrix decisions, the reported moveList attack, sibling guard inventory and a browser regression. Targeted Node suites pass; live browser execution remains pending.

Thanks to Wenhao Wu, Southeast University and xet7 !
2026-09-14 11:47:29 +03:00
Lauri Ojansivu dce2898382 Attachments: soft delete on the card, restore from the card history, hard delete only with the archived board.
Delete on an attachment used to remove the document and its file at once.
It is now the 'attachments.softDelete' method (History.md section 12): the
document gets deletedAt/deletedBy/deleteBatchId with the same helpers lists
use, the file is kept, and the card's cover is unset if this was it. Every
card-facing read - the opened card's gallery and "Attachments (N)" count,
the minicard paperclip badge, the slideshow, the cover, the board-background
picker, My Attachments, the API list endpoints and the exporters - filters
to live attachments with liveAttachments(); the publications keep sending
the deleted ones so the card history can reach them.

The card history records who deleted it and when, with the filename in the
row. Restore - the table's selection + Restore, or the row's own Restore
button, both through changeHistory.restore and applyAttachmentContent -
clears the mark, so the card, its count and the minicard badge include the
attachment again; the cover is never re-set. An attachment row previews
with the existing attachmentViewer slideshow and downloads with the same
link the gallery draws, and never offers cover or background. Uploads and
renames are recorded through the existing history hooks.

There is no per-attachment hard delete any more: api.attachment.delete,
DELETE /api/attachment/delete/:id and removeBoardBackground soft-delete,
permanentlyDeleteAttachmentFromFilesReport and the Files report's delete
button are gone, Attachments.allow remove and onBeforeRemove refuse every
client remove and log the attempt under Admin Panel / Problems. The one
hard delete is Admin Panel / Problems / Delete enabled, board archived,
board deleted from the archive: boardRemover now removes every attachment
of the board, live and soft-deleted, with its file.

One new i18n key, attachment-soft-delete-pop, replaces the "permanent, no
undo" confirmation text; it is inserted in English into every locale at
the same position for translation.

Thanks to xet7 !
2026-09-11 21:17:33 +03:00
Lauri Ojansivu 4d9282359e Let a global Admin Panel admin edit/delete any board, not only their own.
A board's own admin/member could leave the organization (or be removed)
and leave nobody - not even a global site admin - able to edit its
settings, add members to it, or archive/delete it: Boards.allow's
update/remove rule only checked board.hasAdmin(userId) against the
board's own member list. inviteUserToBoard already had a bypass for
Meteor.user().isAdmin; the whole-board update/remove rule did not.

server/lib/utils.js gets isBoardAdminOrSiteAdmin (pure, unit-tested) and
allowIsBoardAdminOrSiteAdmin (the async Meteor.users-aware wrapper), and
server/permissions/boards.js's update/remove rules now use it instead of
the board-only allowIsBoardAdmin. Scoped to the whole-board rule only -
the narrower rules/actions/triggers/comments allow rules keep the
board-only check, pinned by a negative test.

Thanks to relikd and xet7 !
2026-09-10 20:04:07 +03:00
Lauri Ojansivu 59bed92f32 Revert "Hardcode list width to 240px and remove the width/height set-value popups"
This reverts commit 8614949580.

Restores the per-user/per-list resizable list width (drag-resize handle, the
"Set width" list-menu popup, the board-settings "Personal list width"
sidebar toggle, and the auto-width mode) and the "Set swimlane height"
popup, at the maintainer's request.

Thanks to xet7.
2026-09-09 00:17:38 +03:00
Lauri Ojansivu 8614949580 Hardcode list width to 240px and remove the width/height set-value popups
List width is now a single hardcoded constant (models/lib/listWidth.js,
240px) applied to every list on every board for every viewer. This
replaces the #5659/#5729/#6409 model built up over time: a personal
per-user width, a per-list shared width, a viewer-toggled "same width for
all lists" mode, and a viewer-toggled auto-width mode. All of it - the
"Set width" list-menu popup, the board-settings "Personal list width"
sidebar toggle, the drag-resize handle, and every schema field and Meteor
method behind them - is removed rather than left dead.

The "Set swimlane height" menu popup goes too, as a redundant text-input
alternative to the working drag-resize handle from the swimlane-resize fix
earlier this release; that drag handle itself is untouched.

Two knock-on fixes this surfaced: models/wekanCreator.js was still mapping
the now-removed allowsPersonalListWidth/autoWidth board fields on WeKan
JSON import, which would have failed schema validation on any import; and
the CloneBleed security-regression test's applyListWidth sub-suite tested
a method that no longer exists, replaced with a comment pointing at
tests/listWidthDefaults.test.cjs's negative coverage of the removal.

tests/listWidthPopupLayout.test.cjs and
tests/playwright/specs/38-fixed-list-width.e2e.js tested only the removed
feature and are deleted outright; listWidthDefaults.test.cjs and
listWidthDuringDrag.test.cjs are rewritten/adjusted for the new model.

Thanks to xet7.
2026-09-08 17:49:26 +03:00