Lauri Ojansivu
521cb4e332
Add an admin-configurable external issue-tracker autolink for card text.
...
Admin Panel -> Settings -> Visibility gets a new "External Issue Tracker
Autolink" group: a token prefix (e.g. "#") and a URL template containing
"{number}" (e.g. https://issues.example.com/browse/PROJ-{number} ). When both
are set, a bare "<prefix><digits>" token found in card descriptions/comments
is rendered as a link to that external tracker, the same idea as the
Mattermost autolink plugin. Either field left empty keeps the feature off.
WeKan does not autolink bare "#NNNN" to its own cards anywhere - confirmed by
reading the whole markdown pipeline (packages/markdown) and every client
template before adding this, per models/lib/externalLinkAutolink.js's own
comment - so there is nothing internal for this to collide with. It stays
safe regardless: off by default, and it never rewrites a token that already
sits inside an existing markdown link target or an href="..." attribute.
models/lib/externalLinkAutolink.js is the pure, unit-tested matching/URL-
building function; packages/markdown/src/template-integration.js cannot
import app code, so it carries its own small mirror of the same algorithm,
bridged from the setting via a ReactiveVar the same way alwaysShowCodeAsText
already is, kept in sync by client/components/main/editor.js.
server/publications/settings.js publishes the two new fields - a setting a
template reads that the publication does not send always renders empty and
makes "Save" look like it did nothing.
Adds the "external-link-pattern"/-description/-prefix/-url keys to
en.i18n.json and all 245 other locale files, translated directly (no
placeholder service), preserving the "{number}" placeholder untouched in
every language. tests/externalLinkAutolink.test.cjs covers the pure function
(matching, URL building, no-op when unconfigured, the existing-link
collision guard), the settings/publication/bridge wiring, i18n key placement
and placeholder preservation across every locale file, and confirms by
source inspection that no internal #NNNN-to-card autolinker exists anywhere
in the tree.
2026-09-10 20:44:45 +03:00
..
2026-03-24 01:50:39 +02:00
2026-06-06 07:21:59 +03:00
2026-08-16 15:05:00 +03:00
2026-08-12 16:01:51 +03:00
2026-08-17 21:11:35 +03:00
2026-07-31 07:14:52 +03:00
2026-08-16 15:15:01 +03:00
2026-08-16 15:15:01 +03:00
2026-07-17 03:34:23 +03:00
2026-09-06 02:28:46 +03:00
2026-06-06 02:06:16 +03:00
2026-09-03 02:35:23 +03:00
2026-07-23 18:55:30 +03:00
2026-07-17 01:43:53 +03:00
2026-06-20 17:45:43 +03:00
2026-08-03 15:30:15 +03:00
2026-07-23 18:55:30 +03:00
2026-07-13 09:16:33 +03:00
2026-07-25 23:52:31 +03:00
2026-07-11 00:14:49 +03:00
2026-07-23 18:55:30 +03:00
2026-08-29 06:01:39 +03:00
2026-07-23 18:55:30 +03:00
2026-07-17 03:07:59 +03:00
2026-07-31 16:04:18 +03:00
2026-07-24 03:23:37 +03:00
2026-08-31 13:27:15 +03:00
2026-07-23 15:03:42 +03:00
2026-08-12 15:58:17 +03:00
2026-07-23 18:55:30 +03:00
2026-07-24 08:06:14 +03:00
2026-07-17 03:07:59 +03:00
2026-09-03 15:34:41 +03:00
2026-08-25 15:04:22 +03:00
2026-07-24 03:23:37 +03:00
2026-09-10 17:54:50 +03:00
2026-09-07 17:03:59 +03:00
2026-08-17 03:43:01 +03:00
2026-08-18 18:10:47 +03:00
2026-09-10 19:59:53 +03:00
2026-07-23 18:59:30 +03:00
2026-07-23 18:55:30 +03:00
2026-09-10 20:05:23 +03:00
2026-08-25 15:40:39 +03:00
2026-07-31 04:09:40 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-09-10 20:41:41 +03:00
2026-08-28 17:40:10 +03:00
2026-09-05 02:02:01 +03:00
2026-09-06 18:35:32 +03:00
2026-09-04 22:56:52 +03:00
2026-09-10 19:41:33 +03:00
2026-09-10 19:00:20 +03:00
2026-09-10 20:40:17 +03:00
2026-09-10 19:52:40 +03:00
2026-07-23 18:55:30 +03:00
2026-09-10 20:11:47 +03:00
2026-09-10 20:20:35 +03:00
2026-09-10 20:02:49 +03:00
2026-06-06 09:28:05 +03:00
2026-08-14 13:49:59 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-08-25 17:57:13 +03:00
2026-07-20 03:11:07 +03:00
2026-07-17 23:01:52 +03:00
2026-09-10 20:03:09 +03:00
2026-09-10 20:34:30 +03:00
2026-08-23 00:16:15 +03:00
2026-07-23 18:55:30 +03:00
2026-07-20 03:11:07 +03:00
2026-08-16 15:15:01 +03:00
2026-07-24 04:56:39 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-09-10 20:23:43 +03:00
2026-07-24 10:14:29 +03:00
2026-09-06 02:28:46 +03:00
2026-09-10 19:54:38 +03:00
2026-09-07 17:03:59 +03:00
2026-08-17 02:34:38 +03:00
2026-08-17 01:02:51 +03:00
2026-09-08 17:49:24 +03:00
2026-09-10 20:44:45 +03:00
2026-09-08 17:49:24 +03:00
2026-07-17 20:20:06 +03:00
2026-08-09 03:43:07 +03:00
2026-06-22 15:46:43 +03:00
2026-09-01 10:50:55 +03:00
2026-06-06 02:06:16 +03:00
2026-09-07 17:03:59 +03:00
2026-09-06 02:28:46 +03:00
2026-08-09 02:19:15 +03:00
2026-09-10 19:45:52 +03:00
2026-08-16 16:29:31 +03:00
2026-07-31 04:09:41 +03:00
2026-09-06 02:28:46 +03:00
2026-09-10 20:35:37 +03:00
2026-07-14 17:01:35 +03:00
2026-08-03 15:30:15 +03:00
2026-07-23 18:55:30 +03:00
2026-08-25 18:15:26 +03:00
2026-07-23 18:55:30 +03:00
2026-07-13 09:16:33 +03:00
2026-09-05 23:51:02 +03:00
2026-07-14 13:53:11 +03:00
2026-08-14 01:25:26 +03:00
2026-09-03 15:38:58 +03:00
2026-08-09 03:29:20 +03:00
2026-08-14 01:03:08 +03:00
2026-07-17 03:07:59 +03:00
2026-07-06 16:02:56 +03:00
2026-07-17 03:36:07 +03:00
2026-08-16 15:15:01 +03:00
2026-07-23 18:55:30 +03:00
2026-07-09 02:14:07 +03:00
2026-09-10 20:00:19 +03:00
2026-09-10 19:59:02 +03:00
2026-08-16 15:15:01 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-08-08 02:19:08 +03:00
2026-07-09 02:14:07 +03:00
2026-09-04 21:29:31 +03:00
2026-09-04 19:26:03 +03:00
2026-09-04 21:29:31 +03:00
2026-07-22 16:22:39 +03:00
2026-09-09 00:17:38 +03:00
2026-07-23 10:49:13 +03:00
2026-08-18 23:07:48 +03:00
2026-09-01 23:09:31 +03:00
2026-08-16 16:17:13 +03:00
2026-09-08 17:49:24 +03:00
2026-07-23 18:55:30 +03:00
2026-08-12 14:45:07 +03:00
2026-08-12 15:06:45 +03:00
2026-09-10 20:07:59 +03:00
2026-08-11 16:15:06 +03:00
2026-09-10 20:42:42 +03:00
2026-07-28 14:47:22 +03:00
2026-08-25 17:45:40 +03:00
2026-07-09 02:14:07 +03:00
2026-08-16 15:15:01 +03:00
2026-09-10 20:07:59 +03:00
2026-08-17 01:52:34 +03:00
2026-08-10 03:52:18 +03:00
2026-09-04 21:29:31 +03:00
2026-07-23 18:55:30 +03:00
2026-07-22 12:15:56 +03:00
2026-09-10 20:06:23 +03:00
2026-08-09 02:54:56 +03:00
2026-07-06 10:33:15 +03:00
2026-07-21 10:06:40 +03:00
2026-09-05 23:51:02 +03:00
2026-08-17 23:58:04 +03:00
2026-07-09 02:14:07 +03:00
2026-07-27 23:39:37 +03:00
2026-07-09 02:14:07 +03:00
2026-09-10 19:36:48 +03:00
2026-07-09 09:45:53 +03:00
2026-07-23 18:55:30 +03:00
2026-07-09 02:14:07 +03:00
2026-09-07 17:03:59 +03:00
2026-07-23 18:55:30 +03:00
2026-09-10 20:02:54 +03:00
2026-08-23 00:16:15 +03:00
2026-07-23 18:59:30 +03:00
2026-07-17 03:36:50 +03:00
2026-06-05 23:44:04 +03:00
2026-08-09 03:29:20 +03:00
2026-07-09 09:45:53 +03:00
2026-08-27 10:19:56 +03:00
2026-09-09 18:15:10 +03:00
2026-07-23 18:59:30 +03:00
2026-07-31 06:47:19 +03:00
2026-07-20 03:11:07 +03:00
2026-08-25 17:52:23 +03:00
2026-08-16 15:15:01 +03:00
2026-08-09 23:38:43 +03:00
2026-07-17 20:20:06 +03:00
2026-07-23 18:55:30 +03:00
2026-08-01 14:49:52 +03:00
2026-07-24 10:14:29 +03:00
2026-08-09 02:19:15 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-08-31 13:27:15 +03:00
2026-07-09 09:45:53 +03:00
2026-09-06 10:45:35 +03:00
2026-08-25 01:14:39 +03:00
2026-08-25 17:39:23 +03:00
2026-08-25 17:32:57 +03:00
2026-08-25 17:31:29 +03:00
2026-07-17 03:07:59 +03:00
2026-07-26 07:59:30 +03:00
2026-07-26 07:59:30 +03:00
2026-07-26 07:59:30 +03:00
2026-08-16 15:15:01 +03:00
2026-08-10 21:51:21 +07:00
2026-08-25 17:27:33 +03:00
2026-08-14 18:06:10 +03:00
2026-09-05 23:51:02 +03:00
2026-06-13 17:19:51 +03:00
2026-09-10 20:32:13 +03:00
2026-08-11 16:28:38 +03:00
2026-09-10 20:02:50 +03:00
2026-09-06 02:28:46 +03:00
2026-09-10 20:38:44 +03:00
2026-08-17 03:05:41 +03:00
2026-02-08 00:48:39 +02:00
2026-08-30 18:04:24 +03:00
2026-09-10 20:37:09 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-08-12 15:58:17 +03:00
2026-09-10 20:00:09 +03:00
2026-08-16 15:15:01 +03:00