"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,
Connect bundled filter templates, selectors, scoped resets and validated preset restoration through one registry. Use the recency controls as a built-in provider and verify extension lifecycle in Chromium.
Thanks to neooleg and xet7 !
Capture and restore all current filter controls with validated versioned state, refresh relative dates when applied, and reject invalid expressions before changing live filters. Persist same-name replacements atomically, restrict writes and subscriptions to their owner and board access, and clean preferences on board or account deletion.
Thanks to Creanimo, avatar1024, neooleg and xet7 !
Use local calendar boundaries and the user's week start, refresh active shortcuts with the shared clock, and release the subscription on switching or clearing. Cover month-end and year rollover plus actual sidebar boundaries.
Thanks to neooleg, Creanimo and xet7 !
Match any recorded list, swimlane or incoming board move within inclusive local-day bounds, regardless of later moves. Reuse the authorized reactive ID publication for text and history, preserve lazy-loading coverage and validate history joins and live UI behavior.
Thanks to neooleg and xet7 !
Match literal text across the authorized board, including cards outside lazy windows. Publish only matching IDs, refresh on content and access changes, and release observers when filters change. Verify the batched join, cancellation and permission races, and actual Chromium behavior.
Thanks to neooleg and xet7 !
Provide independent recent-day, week, thirty-day and older presets with a shared reactive clock, strict date values and composable card selectors. Verify timer cleanup and the real sidebar in Chromium.
Thanks to neooleg and xet7 !
Choose inclusive local calendar bounds for seven card dates without an advanced expression. Preserve valid filters after invalid input and combine ranges with existing filters. Cover selectors and the actual sidebar in Chromium.
Thanks to neooleg and xet7 !
Add explicit built-in date names, missing-date comparisons and typed date guards while preserving quoted custom-field names and the shared date parser. Cover sidebar selection and actual rule execution.
Thanks to TiibCD and xet7 !
Fixes#1915,
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.
Reuse the existing parent relationship and filter engine from card actions and the filter sidebar. Keep parent choices board-local, allow read-only filtering, and clear the selection when changing boards. Verify filtering, publication boundaries and unchanged card data with Node and Chromium tests.
Thanks to robinvd and xet7 !
Fixes#1871,
Offer label combination mode under Filter, retaining exclusions and no-label alternatives. Restore active title, list and advanced text when the panel is recreated. Verify actual calendar grid/list results, unmatched and cleared filters, and label combinations in Chromium; pure tests cover reset and invalid modes.
Thanks to Trunkslike, TheBigBloodyB, Roemer and xet7 !
Fixes#2044,
Fixes#3361,
Apply enabled member overrides before board and global defaults. Show inherited
status and saved formats using existing translations, and keep the card section
named Date. Cover rendering, exports, permissions, date-only formats and settings
isolation.
Thanks to xet7.
Place the global date format checkbox and selector between Board member
list and Wait Spinner in Visibility settings. While enabled, use the
selected format for members and guests, call the card section Date and
hide its personal format selector. Preserve personal preferences so they
return when the override is disabled.
Apply the same policy to date displays, filter parsing and browser export
requests. Validate supported formats and retain admin-only settings writes.
Add positive, negative and browser regression coverage and document the
setting. Translate the new label without changing existing translations.
Lower-confidence new translations include Acehnese, Aymara, Cherokee,
Inuktitut, Kashmiri, Nahuatl, Veps, Volapuk and Wolaytta; native-speaker
review would improve these labels.
Thanks to Mathia2 and xet7 !
Fixes#6703,
#4540 (963b01ff5) already lets a board be opened pre-filtered from
`?assignee=johndoe`/`?member=janedoe`/`?label=urgent`, read once on board
load. #319 additionally asked for the other direction: applying a filter
from the sidebar should update the URL too, so a manually filtered view is
itself bookmarkable/shareable without hand-typing the query string.
Adds `client/lib/filterQueryParams.js`'s `resolveIdsToUsernames`,
`resolveIdsToLabelNames` and `buildBoardFilterQueryParams` - the exact
inverse of the existing parser, reusing the same `assignee`/`member`/`label`
token vocabulary - and a reactive `list()` getter on `SetFilter`
(`client/lib/filter.js`) so its current selection can be read outside the
sidebar template. `boardBody.js`'s new `syncFilterQueryParams`, run from a
separate `Tracker.autorun`, resolves `Filter.assignees`/`members`/`labelIds`
back to names and writes them via `FlowRouter.setQueryParams` wrapped in
`FlowRouter.withReplaceState`, so toggling a filter replaces the current
history entry instead of piling up a new one per click.
Covered by tests/filterQueryParams319.test.cjs: the id->name resolvers, the
query-param builder (including empty selections clearing their param and
unknown ids being dropped), a full round trip through #4540's own
`parseBoardFilterQueryParams` proving both directions agree, and source
checks pinning how boardBody.js wires it up.
Thanks to netei and xet7 !
Closes#319,
filters active when switching boards.
Filter.userId (client/lib/filter.js) is a new SetFilter keyed the same way
models/cards.js already names the card-author field, reusing the exact
SetFilter/Filter API the existing member/assignee filters use - no new
filtering engine. A "Filter by creator" sidebar section lists the board's
active members the same way Member/Assignee already do.
config/router.js's board route used to call Filter.reset() (wiping every
filter) whenever the target board differed from the current one. It now
calls the new Filter.resetBoardScoped(), which only clears filters whose
values are scoped to the board being left (labels, custom fields,
dependency types, the advanced/list text filters) and leaves
member/assignee/creator/due-date/title filters in place, since user ids and
dates mean the same thing on every board. Every other Filter.reset() call
site (the sidebar's own Clear button, All Boards, Archive, Public, ...) is
unchanged.
Thanks to lukasz-krawczyk and jarohen-oc and xet7 !
Fixes#3681,
Fixes#1751.
#2886: clicking a label filter chip only ever toggled between unfiltered
and filtering FOR that label. Filter.labelIds now has a companion
Filter.excludedLabelIds SetFilter (same API/shape), and a new
Filter.toggleLabelFilter(labelId) cycles a label through three states:
not in either set -> added to labelIds (include) -> moved to
excludedLabelIds (exclude) -> removed (back to unfiltered).
Filter._getMongoSelector() merges the exclusion into the existing
labelIds selector ({$in, $nin}) rather than a separate ignored key, so a
card carrying an excluded label is filtered out even when it also
matches an included label - exclusion wins over inclusion. An
exclude-only filter (no included label) is also handled: isActive() and
the filterSelector-push condition both check excludedLabelIds, and
reset() clears it too.
sidebarFilters.js's 'click .js-toggle-label-filter' handler now calls
Filter.toggleLabelFilter() for a real label chip, keeping the existing
plain two-state Filter.labelIds.toggle() only for the special "no label"
pseudo-entry (data-filter-id="__none__"), which is out of scope for this
three-state cycle. sidebarFilters.jade gives an excluded chip a distinct
"excluded" class (struck-through text via sidebar.css) plus a fa-ban icon
tooltipped with the new filter-label-excluded i18n key, alongside the
existing fa-check used for an included chip.
Scoped to labels only, matching the issue's exact wording - members, due
dates and the other filter types keep their existing two-state toggle in
this pass; the same three-state treatment could be added to them later if
wanted.
tests/labelFilterThreeState.test.cjs drives the real client/lib/filter.js
under plain `node` (via tests/helpers/meteorStubLoader.mjs, an ESM loader
hook stubbing only the Meteor packages/modules filter.js imports) rather
than reimplementing the logic, and pins: the exact three-click cycle in
order (unfiltered -> included -> excluded -> unfiltered), that the cycle
repeats and that two labels cycle independently, and the card-matching
predicate - an excluded-only card is filtered out, an excluded label
wins over an included one on the same card, and an exclude-only filter
(nothing included) still filters correctly.
Thanks to bennyandresen and xet7 !
Closes#2886,
Cards without a date store the field as null (that is what the sidebar's noDate
filter matches: {dueAt: null}). The comparison filters build {$lte: now}
(Overdue/past) and {$gte, $lte} (today/this/next week), and $lte MATCHES null
under both FerretDB and minimongo - null sorts before any date and neither
implements MongoDB type-bracketing - so Overdue selected every dateless card.
DateFilter._getMongoSelector now adds $ne: null to any comparison selector so
only real dates match; the noDate filter (a bare null) is unchanged. Test
tests/filterDateNull.test.cjs, with a negative control proving the old bare
{$lte: now} matched null.
The reported filter SLOWNESS and the title/label over-matching are separate
(FerretDB scanning $regex/$in/range queries not pushed down to SQLite) and need
live reproduction.
Thanks to xet7.
- #2769: refresh drag geometry when the DOM changes mid-drag - cards no
longer drop into the wrong swimlane while someone adds a card.
- #1992: board import restores all five card date fields (and creator)
with fallbacks; receivedAt/endAt were never imported at all.
- #2292: archiving a swimlane archives its cards (mirroring lists);
restore brings back exactly the cards archived with it.
- #2494: client noCache card lookup returned a Promise since the
Meteor 3 port - multi-select board moves wrote sort: NaN everywhere.
- #1853: subtask "View it" falls back to the subtask's boardId when the
deposit board is not loaded, instead of silently doing nothing.
- #1554: restore the reactive dependency lost in 7673c77c5 so cards
added after board render accept sidebar label/member drops.
- #2306: "filter to selection" and every bulk action are board-scoped;
foreign-board cards can no longer be silently archived.
- #1437: new POST /users/logout API endpoint revokes the presented
resume token, or all tokens with {"all": true}.
All with positive+negative regression tests (see tests/*.test.cjs).
Closes#1389: already fixed - the standalone pencil edit button
(0cc63b810) plus the wrapped viewer (bf2b3b40c) guarantee an edit target
even when a full-width link fills the description.
Thanks to hever, Cactusbone, Vermeille, Vanclief, Miffe, IcedQuinn,
ppouliot, GhassenRjab and xet7.
Two defects: the tokenizer flipped into regex mode on every '/' even
inside quoted strings, so a quoted date like '06/04/2020' broke
tokenizing and the whole filter silently no-opped; and date custom
fields store Date objects while the comparison selectors used strings
and parseInt - equality and ranges could never match, != matched every
card. Dates now parse per the user's date format (day-first formats
respected) into half-open Date-range selectors; non-date fields keep the
legacy selectors unchanged.
Tests: tests/advancedFilterDate.test.cjs (14, positive and negative).
Closes#2521: already fixed since v3.88 (9819c9f80) - the checklist
completed/uncompleted activity text was missing due to an activityType
name mismatch between model and template; the current unified activity
template, i18n keys and helpers render it correctly.
Thanks to k1ng440, ott29 and xet7.
The "Due this week" date filter selected the wrong week (it showed next
week's cards) and ignored the user's configured start day of week.
Root cause: relativeWeek() derived its window from startOf(now(), 'week'),
but the native dateUtils.startOf() has no 'week' case, so it returned the
date unchanged. The window therefore started at "today + startDayOfWeek"
(next week) instead of the beginning of the current week, and never took the
configured start weekday into account.
Fix:
- New Meteor-free helper models/lib/weekStart.js computes startOfWeek(),
weekRange() and weekNumberByFirstDay() for an arbitrary start day of week
(0=Sunday..6=Saturday, default Monday). Unit tested (positive + negative)
in tests/weekStart.test.cjs, including a guard that "this week" must
contain today.
- client/lib/filter.js relativeWeek() now uses weekRange(now(), weekStartDay,
0|1) so "this week" and "next week" are the correct, non-overlapping
Monday..Sunday (or configured) windows.
- The this/next-week buttons now toggle per week: clicking the active one
clears it, clicking the other switches to it (the old code reset on either
state, so you could not switch directly from this week to next week).
Thanks to mimZD and xet7.
Greatly expands the card dependency "Red Strings" feature (#3392).
Data model
- cardDependencies entries are now objects { cardId, type, color, icon }
(models/metadata/dependencies.js defines the 5 relation types, defaults and a
normalizer that upgrades legacy bare-string ids on read).
Relations + visualization
- Relation types: related-to, blocks, is-blocked-by, fixes, is-fixed-by. The
type sets the SVG arrow direction (related-to is undirected); per-line color
and per-color arrowhead markers; arrows drawn prerequisite-right -> dependent-left.
- Minicard badge (icon + color + count) for cards with dependencies.
- Board Filter sidebar: filter cards by dependency relation type.
Card detail UI
- Each dependency row has a relation-type dropdown, color picker, icon picker
and remove; the add popup picks type + color then searches a card by title.
REST API + tooling
- server/models/dependencies.js: list/add/edit/remove endpoints (tag
Dependencies) with OpenAPI annotations + board-level list endpoint.
- api.py: list/add/edit/remove dependency commands.
Import / export
- Board Settings -> Export: Dependencies as JSON and as round-trippable SVG
(client/lib/exportDependencies.js).
- All Boards -> New -> Import -> Dependencies (JSON/SVG) into a chosen board,
matching cards by id/number/title (importBoardDependencies method +
client/lib/importDependencies.js).
- jiraCreator maps Jira issuelinks best-effort to dependency relations.
Preservation
- type/color/icon preserved through card/board copy and WeKan import/migrate;
cross-board card move drops now-dangling dependencies.
Docs/tests/i18n
- docs/Features/RedStrings/RedStrings.md (+ Features index and docs/README links).
- i18n keys; CSS for the rows/badge/icon picker; expanded e2e spec 27.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>