Commit Graph
3130 Commits
Author SHA1 Message Date
Lauri Ojansivu b0803ffeaa Import Jira sprints, fix versions, rank and epic links as Scrum planning data.
The Sprint, Rank and Epic Link fields are found by their schema type, or
by name when the export has no schema, never by customfield number.
Future and active sprints become planned WeKan sprints with their goals
and dates. An active sprint is reported, because the export has no
commitment snapshot. Closed sprints are reported, not invented. Fix
versions become releases. Jira's rank orders the backlog, and a legacy
Epic Link becomes the card's parent. The data is written as a native
Scrum import, and these fields are no longer also imported as text
custom fields.

Thanks to xet7 !
2026-10-02 19:21:24 +03:00
Lauri Ojansivu 7bf6f8a44b Move Scrum settings above Change color in Board Settings.
Scrum settings is now a group of its own between Rules and Change color,
with a rule between it and Change color. It stays board-admin only. The
menu order guard and the Board View docs diagram follow the new order.

Thanks to xet7 !
2026-10-02 15:55:10 +03:00
Lauri Ojansivu f0323140f6 Import and export boards as Taskwarrior JSON.
Taskwarrior's task export / task import JSON is the task format of the
Taskwarrior command line tool, and WeKan read and wrote neither. It now
imports from the import picker, as a JSON array or one task per line as
versions before 2.4 write it, and exports from the board's export menu.
A completed task goes to Done, a waiting one to Waiting and a started one
to In Progress; project and priority become labels, tags become labels,
entry, due, scheduled and end become dates, annotations become comments
and depends becomes blocked-by dependencies resolved by uuid. WeKan's
wekanlist and wekandescription attributes, which Taskwarrior keeps as
orphaned UDAs, carry list names and descriptions across a round trip.
Deleted tasks, recurring templates, bad dates and unmapped attributes are
reported in the loss report instead of guessed.

tests/taskwarrior.test.cjs covers the mapping, both input shapes, the
round trip and the negatives; the format guards learn the new format and
a Playwright case imports a Taskwarrior export through the page. The new
instruction text is in English, pending translation.

Thanks to xet7 !
2026-10-02 15:53:14 +03:00
Lauri Ojansivu 054ba53c8d Translate organization domain requests and card edits in every locale
Fill four messages across all 234 non-English locales, preserve regional English sources, synchronize newly added feature keys and remove completed pending entries. All 224 translation and i18n suites pass.

Low-confidence specialist wording is recorded for native review, especially minority-language and constructed-language locales: ace, ak, ay, bi, bm, bo, bua, chr, csb, cv, dz, ee, ff, fj, gn, gv, haw, hsb, iu, kl, kok, ks, kw, lg, lld, mai, nah, nap, nd, nso, om, qu, rn, rup, sah, se, sm, ss, st, szl, tig, tlh, tn, to, ts, uz-AR, ve, ve-CC, ve-PP, vo, wa, wa-RR, wal, wo, wuu-Hans and zgh. Tests check structure and selected language distinctions, not fluency.

Thanks to xet7 !
2026-10-02 15:40:50 +03:00
Lauri Ojansivu 225d875b09 Keep translation regression gates scoped to the completed source catalog
Restore current key order across locale files. Preserve the 2,417-string completion milestone while keeping newer feature work visible in ordinary translation reports. Retain full-catalog placeholder and feature-specific checks, with negative coverage for regressions and hidden backlog.

Thanks to xet7 !
2026-10-02 15:13:42 +03:00
Lauri Ojansivu daf6593adf Verify LDAP server certificates by default.
The Docker image and the snap set LDAP_REJECT_UNAUTHORIZED=false, so an
LDAPS or StartTLS server certificate was not verified unless an admin
changed it, and an empty value disabled verification too. The default is
true everywhere now, and only the exact value false turns it off; a
self-signed or private CA belongs in LDAP_CA_CERT.

Thanks to xet7 !
2026-10-02 14:22:17 +03:00
Lauri Ojansivu 2172f19d88 Fix SyncBleed: send List Sync requests through the SSRF guard and keep responses out of errors.
GHSA-5q84-p3vr-f3xv: a board member with write access chooses the List Sync
server URL for Gitea, Forgejo, GitLab and Jira. It was fetched with the
platform fetch(), so it reached 127.0.0.1, private networks and the cloud
metadata address, and up to 200 bytes of a failed response were copied into
the error the preview returns and lastSyncError stores. An open and a closed
internal port also answered differently.

Every request now goes through fetchSafe: internal addresses refused, DNS
pinned, redirects refused, response size and time bounded. An error carries the
origin and HTTP status only, a non-JSON answer says so without quoting it, and
a guard refusal is one message that does not name what a host resolved to.
Saving Sync settings refuses an internal address too, so none is stored. Both
refusals are recorded as SyncBleed in Admin Panel -> Problems.

A self-hosted tracker on the server's network is allowed only by the
administrator, with LIST_SYNC_ALLOWED_PRIVATE_HOSTS (exact hosts); the test
server allows 127.0.0.1 for the List Sync specs' mock tracker. The browser test
found that an IPv6 literal such as [::1] kept its brackets and was looked up as
a name at save time; the shared validator now checks it as an address.

tests/syncBleed.test.cjs reproduces the report on the real fetcher for every
provider, and fails on a platform fetch() to anything but a fixed or
administrator-allowed host, or a response body copied into an error, anywhere
in the server tree. list-sync-source.e2e.js saves and previews internal
addresses in the browser and checks no request reaches the mock tracker.
securityRegressionCoverage lists CacheBleed and SyncBleed with their tests.

Thanks to alham-rizvi and xet7 !
2026-10-02 09:46:00 +03:00
Lauri Ojansivu d74d2f3dd8 Repair translation audit regressions and extend dependency translations
Preserve newer reviewed wording, align the Asturian template title, and restore literal Pause key labels in nine locales. Match current checklist markup in its translation regression.

Translate 11 dependency messages in Welsh, Irish, Scottish Gaelic and Faroese. Scottish Gaelic and Faroese wording has lower confidence and needs native-speaker review. Focused translation and human-preference checks pass; overall completeness remains pending.
2026-10-01 20:28:20 +03:00
Lauri Ojansivu cff80a9d7b Make showing dependencies each user's own choice, and add My Dependencies.
Issue #6732: the board-header "Show dependencies" button wrote one shared
board field, so one user turning the lines on or off did it for everybody,
and only board admins could write that field, so a member - or anyone on a
public board - who could see the board could not turn them on at all.

The button is gone from the header. At the top of Member Settings are now:

- Show My Dependencies
- Show Board Dependencies
- Import
- Export

Both switches are off by default and saved in the user's profile, so each
user decides for themselves and anyone who can view a board may show its
dependencies.

Board Dependencies stay on the board's cards. They may now be edited by
every role that can edit OR move cards - a Worker included - and by an
assigned-only member on the cards assigned to them; one rule
(models/lib/dependencyAccess.js) is applied by new server methods, by the
card details, the line popup, drawing on the board, Import and the REST
routes. My Dependencies are a new layer in the user's profile: each user's
own lines between cards they can see, drawn dashed and seen only by them.
The client cannot write them directly; only the methods, which check card
access, can.

Import and Export work on the open board in the Board Settings / Export
formats (JSON, and SVG that re-imports). Importing Board Dependencies is
offered only to roles that may edit or move cards, and every import now
combines: a line already there is kept exactly as it is, and only missing
lines are added - also for All Boards / Import / Dependencies, which used to
overwrite an existing line's type and colour. The design is written up in
docs/Features/Editor/RedStrings/Board-And-My-Dependencies.md.

Tests: the role table, viewing, assigned-only scope, normalizing and
combining (unit), with guards that the header toggle and every reader of
the old board flag are gone and every write goes through the rule; a
full-app test drives the methods as admin, Worker, read-only, assigned-only
and a stranger; Playwright covers the menu order and defaults, a per-user
switch that leaves another member's view alone, a read-only member's My
Dependencies (dashed, unseen by the owner) with import and export, and a
Worker's combining board import - in Chromium and WebKit. Header, fold and
mobile guards that listed the old button are updated. 567 server tests pass.

Thanks to nalilord and xet7 !

Fixes #6732.
2026-10-01 19:18:58 +03:00
Lauri Ojansivu 6ed28c41f7 Run manual and scheduled Sync through the durable journal, with replay.
The write-ahead Sync journal and its stored stages - History, activities,
rules, notifications, webhooks - were built and tested but never called:
manual and scheduled Sync wrote cards directly, so a restart mid-run lost
whatever effects had not happened yet. Maintainer decision of 2026-09-30:
finish the Scrum/Sync handoff by calling the stored stages from both.

A run now takes the durable path when it can do everything
(server/lib/listSyncSteps.js): the board enabled Sync effects (and the
instance enabled cron effects for a scheduled run), the list has a versioned
scope, and every rule action on the board - extra actions included - has a
durable adapter. Only sending email has one, so a board with any other rule
action keeps the direct writes, exactly as before; nothing that ran stops
running.

server/lib/listSyncApplication.js turns the reconcile plan into saved steps
from the stored cards, refusing a local edit made since the fetch as the
direct update would, and carrying custom fields only with a mapped estimate.
Effects are planned once with the shared planner and each step is applied
through the hooked card and activity adapters and durable delivery, as the
actor and trigger that started it. Both paths build the same new card.

A new run first finishes the list's unfinished operation, reusing the list
lease it holds instead of taking it twice. The wekan-list-sync-replay cron
job resumes interrupted operations every minute; intents now record their
trigger (version 2) so a replay runs under the same activation switches. An
operation still preparing has written nothing and is discarded - a replay has
no source data to rebuild it from.

Tests: eligibility for every condition, and step building including the
local-edit refusal (node); the direct-path suite now pins that it never calls
the durable one; a full-app run creates, updates and archives through the
journal, crashes at a card write, replays without duplicate cards or
activities, and falls back to the direct path for a rule action without an
adapter. 565 server tests pass.

Thanks to xet7 !
2026-09-30 11:29:44 +03:00
Lauri Ojansivu e191baef7e Recover abandoned History writers online, fenced, without stopping servers.
A legacy History writer holds a token on its board's gate until its write is
confirmed, with no expiry, so an uncertain write can never become invisible to
a chain migration. A writer that died kept its token forever, and the only way
to remove it was the offline tool with every server stopped. Maintainer
decision of 2026-09-30: build online recovery - liveness heartbeats and fencing
on History inserts - and keep the offline tool as the fallback.

Each writer on an upgraded server now writes a lease beside its token
(historyWriterLeases) and renews it while it works. Before every legacy
History insert it claims the row id in the lease; only an active lease can
claim. Recovery takes a lease only after it has been expired for another full
lease period (HISTORY_WRITER_LEASE_MS, default 30 s). It sets the lease to
fenced, so the old writer can neither renew nor claim. A claimed row id is
then fenced by a tombstone under that id, so the unique _id makes a late
insert fail, and a row that had already landed stays. Only then is the token
removed. Safety rests on the fence; clocks only decide when a lease may be
taken, and a slow writer that is taken loses its write with an error.
Tombstones use the reserved board id #history-writer-fence and are invisible
to every board reader. A Sync append refuses a tombstone as its planned row.

A chain migration takes abandoned writers by itself while the board drains,
a full gate does the same once, and releases/recover-history-writer.cjs
--recover-expired does it on demand, online. Tokens without a lease (older
servers) are listed and still need the offline procedure.

MongoDB tests with two clients: a writer that died after claiming a row is
taken and its late insert fails; a fenced slow writer cannot claim; a row
that landed before the fence is kept; live writers and lease-less tokens are
not taken; a migration drains a dead writer and completes on the real chain
head. A full-app test covers the production binding. 563 server tests pass.

Thanks to xet7 !
2026-09-30 11:03:37 +03:00
Lauri Ojansivu 3151f8a815 Fix ReplyBleed: attribute email replies to the recipient the address was sent to.
The reply-by-email token signed only the card, so every recipient of a
card's notification held the same Reply-To address, and the webhook took the
comment author from the reply's From address - a field the sender controls.
Anyone holding one card's reply address could comment on it as any user
(GHSA-mc7c-cv99-64h7, CWE-346).

Validation also found that server/routes/inboundEmail.js was never imported
by server/imports.js, so released versions did not register
/api/inbound-email: the documented feature did not work and the flaw could
not be reached. The endpoint is registered now, together with the fix.

The reply address is now reply+<cardId>.<userId>.<expiry>.<mac>: an
HMAC-SHA256 over the card, the recipient and the last valid day
(INBOUND_EMAIL_REPLY_DAYS, default 30). The author is that recipient; the
From address must be one of the recipient's own addresses; the recipient must
be enabled and still allowed to comment on the card, including the
assigned-only restriction. INBOUND_EMAIL_WEBHOOK_SECRET, when set, must be
presented by the provider (X-WeKan-Inbound-Secret header or ?secret=) and is
compared in constant time. The old card-only token is refused.

A forged token, a spoofed sender and a wrong provider secret are recorded as
ReplyBleed in Admin Panel -> Problems; expired and pre-fix tokens and lost
access are refused quietly, since real users replying to old mail reach them.

Tests: token round trip, per-recipient addresses, tampering, expiry and
legacy tokens; the author decision reproducing the advisory's attack; a
tree-wide negative that no code picks an author from a From address; and a
full-app HTTP test against /api/inbound-email.

Thanks to alex131125 and xet7 !
2026-09-30 10:52:45 +03:00
Lauri Ojansivu 40a4d9b171 Give the Rules page the board's right sidebar instead of its own.
The Rules page had a separate right sidebar holding only Back and its
views (List view, Workflow view, Blocks, History, Import / Export
rules). It now uses the board's own sidebar, like the board: the same
views are in its Board Settings under Rules, and choosing one there
while on the Rules page closes the sidebar so the view is not left
under it. The separate sidebar and its template are removed.

Its Back button went with it, so picking a view in the Board View menu
while on the Rules page now goes back to the board, asking first before
unsaved Blocks work would be lost.

Source tests pin the Rules route to the board sidebar, the absence of
the old controls, the way back and the Board Settings entries' existing
translated labels. The Rules browser specs open views through Board
Settings; a member who is not a board admin is not offered them there,
and the Blocks view still refuses such a member. The Rules and Board
Settings specs pass in Chromium and WebKit.

Thanks to xet7 !
2026-09-30 09:29:46 +03:00
Lauri Ojansivu b4217f962d Put the Rules views under Rules in Board Settings.
Board Settings now lists the Rules page's own views directly under
Rules - List view, Workflow view, Blocks, History and Import / Export
rules - so the one wanted is a click away instead of Rules first and
then its page sidebar. Each opens the Rules page in that view, asking
first before unsaved Blocks work would be lost, as the Rules page
sidebar does; Import / Export rules opens its popup from the menu. They
share Rules' board-admin guard. A divider now separates that group from
Change Color.

The Import / Export entry reads "Import / Export rules" in Board
Settings and in the Rules page sidebar, using the popup's own title key,
which is already translated in 234 locales, so no new text is added.

The menu order test pins the new first group, its divider, the guards,
the handlers and the label keys; a Playwright case checks the order and
that Workflow, History and Import / Export rules open what they say, in
Chromium and WebKit. The Board Settings and Rules docs follow.

Thanks to xet7 !
2026-09-30 08:42:47 +03:00
Lauri Ojansivu dd7baeec54 Import and export boards as todo.txt.
todo.txt (github.com/todotxt/todo.txt) is the one-task-per-line format
the todo.txt CLI and many compatible apps share, and WeKan read and
wrote neither. It now imports from the import picker and exports from
the board's export menu. A completed task goes to Done; priority becomes
a priority:A label; creation and completion dates become the card's
creation and end dates; +project and @context become labels; due: and
t: become due and start dates; WeKan's list: extension keeps list names
across a round trip. Other key:value pairs stay in the title, a
malformed date is reported instead of guessed, and a completion date is
written only with a creation date, as the format requires. todo.txt has
no descriptions, comments or members, so an export leaves them out.

tests/todoTxt.test.cjs runs the specification's examples, the round trip
and the negatives; the format guards learn the new format and a
Playwright case imports a todo.txt through the page. The new
instruction text is in English, pending translation.

Thanks to xet7 !
2026-09-30 02:54:25 +03:00
Lauri Ojansivu d893d1791b Import OpenProject watchers and Asana followers as card watchers.
Both were reported as losses because an import never grants access. A
watcher needs none: a source watcher now becomes a card watcher when the
members mapping maps them to a member of the new board. Anyone else -
unmapped, or mapped to a user who is not a board member and would
otherwise receive a private board's notifications - is counted in the
import's loss report instead. Nextcloud Deck sharing rules stay a
reported loss by design.

The planner tests pin board-member-only watching and the count of the
rest; the Asana and OpenProject tests pin the mapping from their
fixtures. A source guard for GitLab's Requested By follows the
gitlabUser helper introduced for the GitLab adapter.

Thanks to xet7 !
2026-09-30 01:56:38 +03:00
Lauri Ojansivu d71bab65b3 Bring the GitLab importer and Sync source up to the format contract.
The GitLab adapter kept only title, description, state, due date, the
first assignee, author and labels, and silently dropped the rest of an
Issues API v4 issue. It now carries every assignee, the author, creation
and close dates, time spent, labels with details, milestone, iteration,
issue type and confidentiality as tags, weight, time estimate and task
completion as custom fields, embedded notes as comments (system notes
skipped), embedded links as dependencies, and the group/project#iid
reference and web URL at the end of the description, as GitHub cards
already have. A confidential issue is warned about; group-level epics and
comments not embedded in the export are reported as losses.

List Sync reads the same parser, so on the first Sync after upgrading an
existing GitLab card's description gains the source link once, the way
GitHub cards already carry it; Sync still writes only title, description
and time fields on existing cards, and its coverage report names where
each GitLab field goes.

tests/gitlabImport.test.cjs pins every mapping, the loss report and the
planner's handling of members, dates, comments, links and custom fields.

Thanks to gotjoshua and xet7 !
2026-09-30 01:54:12 +03:00
Lauri Ojansivu 97baf99e1b Restore locale key structure and update translation regression guards
Add missing source fallback keys in English order while preserving every
existing locale value. Share the placeholder parser so percent-encoded
URLs are not mistaken for format tokens.

Retain newer localized keyboard labels and the Bulgarian JSON example in
the correction ledger. Refresh the audit summary and report the actual
59 essentially complete languages in the README.

Locale inventories and focused structural tests pass. Translation filling
is not complete: 105652 actionable values remain across 176 locales.

Thanks to xet7 !
2026-09-30 01:18:35 +03:00
Lauri Ojansivu 286ed906a9 Import and export Leo .leo outlines.
The Leo literate editor's XML outline is a new import source and export
format: top-level nodes are lists, their children are cards with the node
body as the description and a marked node as done, and deeper nodes are
checklists. Clones keep their headline and children. The raw XML is parsed
server-side with htmlparser2 in XML mode (no DTDs or external entities), a
self-clone cannot loop and a clone bomb is refused at 100000 nodes, and the
parsed tasks then pass the shared import sanitizer.

Thanks to xet7 !
2026-09-29 18:41:21 +03:00
Lauri Ojansivu 58bca5420f Prepare the split of #4790 "User Filter" into separate issues.
Checks every item of the umbrella issue against the current code and the
linked issues, marks what is already done, and gives the six remaining
requests as ready-to-run gh commands. Filing and closing issues is a
publishing step left to the maintainer.

Thanks to xet7 !
2026-09-29 16:30:56 +03:00
Lauri Ojansivu a81b4d5d97 Bring stale source guards up to the behaviour their code deliberately changed.
Eighteen suites had been failing because the code they read had changed on
purpose: notification delivery moved to stored plans, exports gained the
admin-only field guard and Scrum transfer, board copy became selectable,
card copy re-keys filtered custom fields, the Scrum settings menu entry was
added, new operator-only scripts, directory-login canaries, a rate-limit rule
that made the first mention of undoLast no longer the method, rule parts and
Sync-scoped recording in hooks evaluated by test harnesses, per-board card
dragging, and a Dependabot file-type bump. Each guard now pins the new
behaviour with a comment naming the change, keeps its original assertions,
and several gained positive and negative cases (export field guard, copy
defaults, Sync-scoped recording, card dragging, method lookup).

Two list-sync browser specs logged a second context in with the same
session token; they now get their own tokens, and the token guard counts
distinct pages instead of logins.

Thanks to xet7 !
2026-09-29 14:49:07 +03:00
Lauri Ojansivu d6503b43f5 Choose which SAML signatures are required and log in by full-page redirect.
SAML 2.0 lets an identity provider sign the Response, the Assertion or
both. WeKan always required a signed Response (node-saml's default, never
overridden), so an identity provider that signs only the Assertion was
rejected with "Invalid document signature" before the Assertion was
checked. Admin Panel -> People -> SAML now has SAML_IDP_PROFILE: standard,
which keeps the previous behaviour, or signed-assertion-redirect, which
requires the Assertion signature instead and logs in by full-page redirect.
SAML_WANT_RESPONSE_SIGNED, SAML_WANT_ASSERTIONS_SIGNED and SAML_LOGIN_FLOW
can each be set on their own; left at Default they follow the profile. A
configuration requiring neither signature is refused, and validation
errors now reach the administrator instead of "Internal server error".

In redirect mode the ACS stores the validated profile under the random
credential token and redirects to /sign-in?samlToken=; the page exchanges
it and opens /. The assertion never enters the address. The token is
remembered in the tab that started the login, and a samlToken that tab did
not start is not exchanged, so a link cannot sign a browser into another
account. Errors return as samlError and are shown on the sign-in page.

A test signs responses with a throwaway key and runs them through the
shipped node-saml; browser tests log in through the fixture identity
provider in both flows. The new message is English, pending Transifex.

Thanks to xet7 !
2026-09-29 13:57:51 +03:00
Lauri Ojansivu c659b4bbcd Send persisted request IDs from keyboard undo and redo.
Ctrl+Z and Ctrl+Y called changeHistory.undoLast/redoLast without a
request ID, so a reply lost to a disconnect or reload left the user
pressing again and undoing a second Scrum change. Each keystroke now
carries an ID kept in sessionStorage until the server answers; the next
keystroke on that board retries the unanswered ID first, and in the same
direction that retry is the keystroke. Unanswered IDs expire after ten
minutes. A non-Scrum row, which keyed requests do not cover, is refused
without change and the keystroke falls back to the unkeyed call, which
the Scrum design now documents as a deliberate exception.

Thanks to xet7 !
2026-09-29 09:48:49 +03:00
Lauri Ojansivu 50a24abce0 Record what an external import could not bring over in Problems -> Recovery.
Every external parser and the shared planner returned unsupported and
warning entries, but nothing stored them, so an import that dropped a
board's sharing rules or a parent outside the file looked like a complete
one. The Kanboard-shape and Jira creators now record one bounded
import-completed-with-warnings Recovery row with the board, the importing
user and the first paths and reasons; a complete import records none.
The import page does not show the report yet: that needs a new
translated string.

Thanks to xet7 !
2026-09-29 09:26:20 +03:00
Lauri Ojansivu 1c200407a2 Show archived-card contributions in Pulse
Add a UTC annual archive grid with count shading, colored label tooltips,
year selection and keyboard/touch details. Scope counts and labels to the
board and each assigned-only viewer, and exclude restored or undated cards.

Verify calendar aggregation with unit tests and real MongoDB/DDP/Chromium
coverage for the UI, all assigned-only roles, invalid input and isolation.
Document current-archive semantics and the remaining issue-audit work.

Thanks to xet7 !

Fixes #5444,
2026-09-28 23:56:20 +03:00
Lauri Ojansivu 6b44f61b2a Bind keyed Scrum undo and redo to their original selection
Accept optional caller-persisted request IDs in the History methods. Store immutable selections before mutation and reconcile completed requests without advancing the stack again. Keep empty and unsupported results stable; require fresh access and retain conflicting or missing recovery evidence.

Verify selection races, lost cleanup, concurrent redo, browser reload and private storage with Node, MongoDB, full-app and Chromium coverage. Keyboard request persistence, non-Scrum replay and shared writer coordination remain unfinished.

Thanks to xet7 !
2026-09-28 23:43:32 +03:00
Lauri Ojansivu 16b17c4943 Persist Scrum History completion before checkpoint cleanup
Bind immutable private receipts to the original operation, actor, source hash and checkpoint plan. Reconcile uncertain cleanup from saved completion without rewriting History or deleting successor work. Reject damaged evidence and changed plans.

Cover false and lost acknowledgements, restart replay, finalization corruption and browser privacy with Node, MongoDB, full-app and Chromium tests. Public request identities and cross-document coordination remain unfinished.

Thanks to xet7 !
2026-09-28 23:33:45 +03:00
Lauri Ojansivu 3b7eaedeeb Verify Scrum History checkpoint cleanup from stored state
Read the board checkpoint after conditional deletion. Reject false acknowledgements, unreadable results and successor checkpoints; reconcile a lost reply only after confirmed absence.

Cover cleanup failures and retries in unit and full-app tests, preserving the undo timestamp and one restoration event. Document remaining cross-document and restart coordination limits.

Thanks to xet7.
2026-09-28 22:03:42 +03:00
Lauri Ojansivu 3578e3ef84 Fix SAML response correlation and surface popup failures
Read the validated node-saml inResponseTo property and retain single-use response checks. Forward ACS errors to the sign-in form without exchanging missing credentials.

Verify real signed-response login, replay rejection, popup errors and safe UI text rendering. Document deployment-specific identity mapping.

Thanks to xet7.
2026-09-28 21:41:14 +03:00
Lauri Ojansivu 6bf4ac0f2b Reconcile independently confirmed rule email acceptance offline
Retain an immutable operator decision before repairing the exact attempt receipt. Preserve dispatch guards and never send or reset mail. Cover interruption, conflicting decisions and real MongoDB CLI recovery. Other operator recovery remains unfinished.

Thanks to xet7.
2026-09-28 21:15:56 +03:00
Lauri Ojansivu 5513254086 Include authorized target-board comments in linked-board rule emails
Discover comment owners before reading prose, enforce card and assigned-only access, and retain each included source chain for stored dispatch checks. Reuse public comment rendering without exporting target checklists or files; reject oversized captures instead of truncating.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 21:07:14 +03:00
Lauri Ojansivu 5bd348a4b9 Include linked-board wrapper content with shared email policies
Reuse ordinary Details rendering for explicitly local fields, including custom-field visibility and definition fingerprints, public names, notes, locations and authorized relationships. Persist related-source evidence in the existing email binding.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 21:00:16 +03:00
Lauri Ojansivu 1869a68c62 Audit every card field and include local recurrence in rule emails
Classify all 71 top-level schema fields with an AST-backed inventory guard. Record remaining linked-board display and per-card discussion gaps explicitly.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 20:53:53 +03:00
Lauri Ojansivu 0bd4dc0a58 Keep linked timer sessions local and credit the current source total
Remove the duplicate spent-time setter that shadowed linked-board support. Await time credit before clearing sessions, and isolate automatic Pomodoro transitions from Tracker with one pending transition per view.

Thanks to xet7 !
2026-09-28 20:49:56 +03:00
Lauri Ojansivu 032e0db794 Include scoped local linked-card details in rule emails
Separate wrapper placement, persisted timers and visible Scrum metadata from authorized source content. Recheck local access, link identity and Scrum visibility before returning the snapshot.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 20:42:34 +03:00
Lauri Ojansivu b5c15e95ed Include canonical and legacy Gantt relationships in rule emails
Group readable targets while retaining distinct relationship types and source-access checks. Cover malformed legacy arrays and real SMTP rendering.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 20:35:33 +03:00
Lauri Ojansivu 027d399cb2 Include attachment presentation metadata in rule emails
Describe captured filenames, actual sizes, MIME types, cover status, upload dates and public uploader names. Recheck card access and cover state after metadata reads and reject deleted cards or foreign attachment rows.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 20:29:08 +03:00
Lauri Ojansivu 2a632445b2 Include authorized converted-subtask references in rule emails
Share related-source resolution between Details and checklist discussion. Retain reference evidence for stored messages even when Details is disabled, and omit inaccessible targets.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 20:26:06 +03:00
Lauri Ojansivu b1b126fb0c Bind stored email details to related sources and field policies
Resolve related link titles through current readable sources and retain their chains in immutable command evidence. Recheck related access, admin rights and custom-field definitions before stored dispatch. Refuse legacy Details snapshots without related evidence.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 20:23:01 +03:00
Lauri Ojansivu 4cca0b2c8b Include scoped comment reaction summaries in rule emails
Decode valid reaction codepoints and count distinct reactors without exporting account identifiers. Keep reactions scoped to included live comments and record remaining related-content authorization work.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 20:18:17 +03:00
Lauri Ojansivu 2e13fab985 Fill audited card email metadata and discussion gaps
Include public creators and comment authors, stickers, lifecycle metadata, checklist deadlines and reset schedules. Record remaining full-content gaps against the models and card export layout.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 20:15:24 +03:00
Lauri Ojansivu d99641d8ed Include visible Scrum card metadata in rule email details
Resolve sprint and release names within the source board and recheck references after preparation. Persist Scrum disclosure flags with source evidence for stored sends.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 20:11:49 +03:00
Lauri Ojansivu 0b86c92ded Include authorized linked-board voting in rule emails
Use live target results with both boards' visibility settings. Persist target disclosure policy in version-three source bindings and recheck it before dispatch.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 20:08:08 +03:00
Lauri Ojansivu 952cb16a72 Include voting results in rule emails with disclosure policy checks
Keep private voter names and unfinished poker choices out of Details. Persist voting visibility with source bindings and reject changed disclosure settings before stored dispatch.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 20:05:27 +03:00
Lauri Ojansivu 94f125ac05 Include timer and recurrence snapshots in rule email details
Export persisted Flowtime and Pomodoro fields and public session owner names alongside recurrence settings. Cover zero values, malformed fields, access loss and SMTP delivery through both attachment backends.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 20:01:09 +03:00
Lauri Ojansivu 6e4032b69c Bind stored rule emails to their authorized source chain
Capture versioned source evidence with immutable mail and verify its topology and current access before dispatch. Keep legacy commands readable without authorizing an unbound retry.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 19:57:36 +03:00
Lauri Ojansivu 479f01d57e Resolve authorized linked sources for rule email content
Use live source card data across email text, details, discussion and files. Resolve linked-board display fields without including unrelated source-board cards. Recheck each link and its permissions after preparation, and reject cycles, missing sources or retargeted links.

Refuse linked stored Sync commands until durable source-chain bindings exist, including during dispatch of previously captured commands. Fifty-seven Node suites pass without skips, with real MongoDB and native MailComposer; local SMTP browser scenarios pass.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 19:51:34 +03:00
Lauri Ojansivu c06b429765 Include authorized card details in rule emails
Render dates, placement, labels, people, custom-field display values, notes and readable relationships behind an opt-in Details checkbox. Recheck source and related access, admin-only field policy and field definitions; do not serialize account secrets or stale linked-source snapshots.

Thirty-six Node suites and two local SMTP browser scenarios pass. Linked-source details and specialized fields remain open under #2713.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 19:44:33 +03:00
Lauri Ojansivu 05080fc02e Include checklists and public comments in rule emails
Offer an independent opt-in choice, render checklist completion and chronological comments, exclude deleted or foreign content and private webhook state, and recheck access after child reads. Bound output without silent truncation.

Verify 35 Node suites and two local SMTP browser scenarios, including disabling the option. Other card metadata remains open under #2713.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 19:39:51 +03:00
Lauri Ojansivu 846f190690 Send authorized card attachments with email rules
Add an opt-in native checkbox, read live triggering-card files through the storage strategy, recheck source access and attachment metadata after reads, and preserve byte snapshots through email localization and transport.

Verify filesystem and GridFS MIME delivery with local SMTP capture, soft deletion, missing-file failures, keyboard selection, permission changes and durable attachment integrity. Full card-content rendering remains open in #2713.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 19:35:19 +03:00