Commit Graph
10 Commits
Author SHA1 Message Date
Lauri Ojansivu 21b2da9ad2 Tests: the title heading colour guard reads the heading block itself.
It read from the LAST comment in minicard.css and cardDetails.css to the
end of the file, so it passed only while the heading rules' neighbours
happened to set no colour - and failed once the Card kind check mark,
appended at the end of cardDetails.css with its own colour, came after
them. It reads the heading block, from its comment to the blank line
after it, and still fails on a colour there.

Thanks to xet7 !
2026-10-26 15:05:09 +02:00
Lauri Ojansivu b9e28a8fbb Original positions: a right-sidebar view from the board menu, in every language.
Where each swimlane, list and card was put when it was made has been
recorded on creation for a long time, and shown by nothing: the two
templates for it were drawn nowhere, every string was English and they
printed raw ids, and the client helpers beside them were never called.

Board menu → Original positions (after Archive, open to everyone who sees
the board) opens originalPositionsSidebar: Swimlanes, Lists and Cards, each
by the name it has now, Moved when it is no longer where it was put, where
it was put by the names those have now, the title it was made with when that
changed, and when. The server already narrows the history to what the
reader may see, assigned-only roles included.

The text is existing translation keys plus one new one, original-positions,
translated into every language. models/lib/originalPositions.js builds the
groups and is tested without Meteor; the old templates, the per-item
component and the uncalled helpers are removed, and the design page is now
the feature's guide.

Thanks to xet7 !
2026-10-17 01:23:15 +03:00
Lauri Ojansivu b7a3b29a2b Link custom URL schemes only when an administrator lists them.
Admin Panel → Features → URL already stored "automaticLinkedUrlSchemes", but
nothing read it: eight schemes were hardcoded, recognised by linkify, then
refused by markdown-it's validateLink and both sanitizer passes, so none was
ever clickable. The listed schemes now pass all three filters and nothing
else does; the setting is empty by default. javascript, data, vbscript and
similar schemes are never linked, in the app's parser and again inside the
markdown package. A listed scheme opens its application in place rather
than through an empty tab.

Fixes #3218,

Thanks to chrisi51 and xet7 !
2026-09-29 15:57:05 +03:00
Lauri Ojansivu 4a01cc9beb Restore Markdown heading sizes in card titles
Override global and mobile font resets only for minicard and opened-card Markdown headings. Keep relative UI scaling and theme colors. Node checks passed; computed-size browser regression was syntax checked but not run.

Thanks to xet7.
2026-09-14 17:17:47 +03:00
Lauri Ojansivu bf207d4d27 Keep card numbers outside Markdown title source
Render minicard and opened-card numbers separately so heading syntax starts the Markdown source. Preserve the shared security-aware viewer. Renderer and source regressions passed; browser cases were syntax checked only.

Thanks to xet7.
2026-09-14 17:17:09 +03:00
Lauri Ojansivu 6c729e60e6 Cover minicard and opened card titles under security rendering policies
Both titles already use the shared viewer. Add opened-title regression coverage and browser cases for formatted content, plain links and plain source. Node checks passed; browser test syntax passed, but no local application is running.

Thanks to xet7.
2026-09-14 17:16:13 +03:00
Lauri Ojansivu 6f6e78a9a0 Fix assignee bundle dependency and require upcoming release notes
Use existing native date formatting instead of the removed Moment dependency. Check real Upcoming entries before release tool installation or mutations, including explicit version overrides. Cover missing, empty and duplicate notes with read-only regression tests.
2026-09-14 04:34:58 +03:00
Lauri Ojansivu ca8d599787 Cover Control chart titles under all viewer policies
Explicitly verify cumulative-flow and Control chart wrappers use the shared viewer. Add completed-card browser fixtures for Control chart and check report headings and card titles with formatted, plain-link and literal-source policies.

Thanks to xet7 !
2026-09-14 02:49:51 +03:00
Lauri Ojansivu 5ca16f32ed Apply shared title viewer to cumulative flow and report charts
Render chart headings and report table headers and cells through the shared security-aware viewer. Use rendered text and emoji for canvas labels and dataset titles, capturing them before afterFlush so policy changes remain reactive. Extend title adapter, chart context and cumulative-flow browser policy coverage.

Thanks to xet7 !
2026-09-14 02:48:52 +03:00
Lauri Ojansivu 457614a2ac Use security-aware title viewers in timeline and Gantt views
Render remaining board titles through the shared Markdown and emoji viewer, including DHTMLX task names. Escape rendered text in Frappe SVG labels and use formatted titles in chart popups. Observe settings when charts refresh. Import routing and date dependencies explicitly in the assignee view to prevent ReferenceErrors. Add runtime helper, compiler and browser regression coverage.

Thanks to xet7 !
2026-09-14 02:45:46 +03:00