Compare commits

...
5 Commits
Author SHA1 Message Date
github-actions[bot] 046d854ec9 Bump versions for v13.23 2026-11-20 20:25:24 +00:00
Lauri Ojansivu f5d2a208f8 Prepare v13.23 release 2026-11-20 22:24:25 +02:00
Lauri Ojansivu 38db577f31 Merge remote-tracking branch 'origin/main' 2026-11-20 22:23:52 +02:00
Lauri Ojansivu 71b0eb9b7c Update WeKan changelog: company headings in Import and Export.
Thanks to xet7 !
2026-11-20 22:17:19 +02:00
Lauri Ojansivu fa28e3fba8 Import and Export: a company's products under the company's name.
37signals (Basecamp, Fizzy), Atlassian (Trello, Jira), Google (Takeout,
Tasks, Keep) and Microsoft (Planner, To Do, Excel, GitHub) each have a
heading of their own after WeKan, and their products are shown without
the company's name in front of them.

Thanks to xet7 !
2026-11-20 22:17:02 +02:00
16 changed files with 158 additions and 45 deletions

No files matched your search

+24
View File
@@ -95,6 +95,30 @@ Which databases WeKan supports
</details>
# v13.23 2026-11-20 WeKan ® release
**In short:** The **Import** page and the **Export** menu list a company's
products under the company's name: **37signals**, **Atlassian**, **Google** and
**Microsoft**.
This release adds the following new feature:
<details>
<summary><a href="https://github.com/wekan/wekan/commit/fa28e3fba81f3f5eafc8cb7044133cc330e12b80">Import and Export list a company's products under the company's name</a>. Thanks to xet7.</summary>
A company with more than one product has a heading of its own right after
WeKan: 37signals (Basecamp, Fizzy), Atlassian (Trello, Jira), Google (Takeout,
Tasks, Keep) and Microsoft (Planner, To Do, Excel, GitHub). Under it the
products drop the company's name, so it reads Planner rather than Microsoft
Planner. A company with one product stays under the heading of its kind. The
table is `models/lib/toolGroups.js`, shared by both pages;
`tests/toolGroups.test.cjs` pins the headings, the shortened names, and that no
company group heads a single product.
</details>
Thanks to above GitHub users for their contributions and translators for their translations.
# v13.22 2026-11-20 WeKan ® release
**In short:** Repeating tasks of **Taskwarrior**, **Microsoft To Do**,
+8 -8
View File
@@ -5,6 +5,14 @@ each one changed and the project status are in
Written by `node releases/changelog-short.mjs` from CHANGELOG-big.md:
make changes there.
# v13.23 2026-11-20 WeKan ® release
The **Import** page and the **Export** menu list a company's
products under the company's name: **37signals**, **Atlassian**, **Google** and
**Microsoft**.
[All changes in v13.23](CHANGELOG-big.md#v1323-2026-11-20-wekan--release)
# v13.22 2026-11-20 WeKan ® release
Repeating tasks of **Taskwarrior**, **Microsoft To Do**,
@@ -50,11 +58,3 @@ to process an upload, or when a **Termux** or **BSD** package mirror has a bad
minute.
[All changes in v13.19](CHANGELOG-big.md#v1319-2026-11-19-wekan--release)
# v13.18 2026-11-19 WeKan ® release
**Admin Panel / Problems** says what its numbers count - "New
problems: 1" and "Checks with findings: 8 / 31", in every language - and a
report row's address, location and user always belong to the same occurrence.
[All changes in v13.18](CHANGELOG-big.md#v1318-2026-11-19-wekan--release)
+1 -1
View File
@@ -38,7 +38,7 @@ FROM --platform=$BUILDPLATFORM debian:trixie AS bundle
ARG TARGETARCH
ARG TARGETVARIANT
ARG VERSION=13.22
ARG VERSION=13.23
ARG DEBIAN_FRONTEND=noninteractive
COPY --chmod=755 releases/check-telemetry.py /tmp/check-telemetry.py
+1 -1
View File
@@ -1,5 +1,5 @@
appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928
appVersion: "v13.22.0"
appVersion: "v13.23.0"
files:
userUploads:
- README.md
+3 -2
View File
@@ -326,14 +326,15 @@ function resolvedFormatGroups() {
}))
.filter(group => group.entries.length)
// The other tools' formats under headings by kind (models/lib/toolGroups.js),
// the same groups as the Import page; WeKan's own JSON keeps "JSON".
// the same groups as the Import page; WeKan's own JSON keeps "JSON", and
// a company with several products is headed by the company's name.
.flatMap(group => {
if (group.key !== 'json') return [group];
const { groupTools } = require('/models/lib/toolGroups');
const parts = [];
for (const entry of groupTools(group.entries)) {
if (entry.groupStart) {
parts.push({ key: `json-${entry.group}`, heading: entry.groupLabelKey ? TAPi18n.__(entry.groupLabelKey) : group.heading, entries: [] });
parts.push({ key: `json-${entry.group}`, heading: entry.groupLabelKey ? TAPi18n.__(entry.groupLabelKey) : entry.groupLabel || group.heading, entries: [] });
}
parts[parts.length - 1].entries.push(entry);
}
+5 -2
View File
@@ -684,7 +684,8 @@ Template.import.helpers({
const product = productNameOrDefault(setting && setting.productName);
const current = Session.get('importSource');
// Grouped by kind under headings (models/lib/toolGroups.js), the same
// groups the Export menu uses; WeKan's own is headed by the product name.
// groups the Export menu uses; WeKan's own is headed by the product name,
// and a company with several products by the company's name.
const { groupTools } = require('/models/lib/toolGroups');
return groupTools(IMPORT_SOURCES.map(source => ({
key: source.key,
@@ -694,7 +695,9 @@ Template.import.helpers({
selected: source.key === current,
}))).map(source => ({
...source,
groupHeading: source.groupStart ? (source.groupLabelKey ? TAPi18n.__(source.groupLabelKey) : product) : '',
groupHeading: source.groupStart
? (source.groupLabelKey ? TAPi18n.__(source.groupLabelKey) : source.groupLabel || product)
: '',
}));
},
hasImportSource() {
@@ -13,6 +13,12 @@ tools. You use them from the existing menus:
Spreadsheets and tables, Text and outlines, Mail, calendars, chats and
notes, and Fetched from a service - from one table,
`models/lib/toolGroups.js`, so a tool is in the same group on both.
- A company with more than one product there has a heading of its own, right
after WeKan, and its products are listed under it without the company's
name in front: **37signals** (Basecamp, Fizzy), **Atlassian** (Trello,
Jira), **Google** (Takeout, Tasks, Keep) and **Microsoft** (Planner, To Do,
Excel, GitHub). A company with one product stays under the heading of its
kind.
- **Rules and workflows**: **Board Settings → Rules → Import / Export rules**
(see [Rules](../../../Rules/Rules/Rules.md#import--export)).
@@ -10,7 +10,7 @@ This is without container (without Docker or Snap).
Right click and download files 1-4:
1. [wekan-13.22-win64.zip](https://github.com/wekan/wekan/releases/download/v13.22/wekan-13.22-win64.zip) or newest available at https://github.com/wekan/wekan/releases/
1. [wekan-13.23-win64.zip](https://github.com/wekan/wekan/releases/download/v13.23/wekan-13.23-win64.zip) or newest available at https://github.com/wekan/wekan/releases/
2. [node.exe](https://nodejs.org/dist/latest-v26.x/win-x64/node.exe)
@@ -22,7 +22,7 @@ Right click and download files 1-4:
6. Double click `mongodb-windows-x86_64-7.0.34-signed.msi` . In installer, uncheck downloading MongoDB compass.
7. Unzip `wekan-13.22-win64.zip` , inside it is directory `bundle`, to it copy other files:
7. Unzip `wekan-13.23-win64.zip` , inside it is directory `bundle`, to it copy other files:
```
bundle (directory)
+46 -10
View File
@@ -4,9 +4,19 @@
// docs/Features/Board-Sidebar/Board-Settings/Import-Export/External-Tools.md
// groups them). One table for both sides, so a tool is in the same group
// whether it is read or written. Pure CommonJS: tests/toolGroups.test.cjs.
//
// A company with MORE than one product here gets a group of its own, headed
// by the company's name, and its products are shown without that name in
// front of them: under "Microsoft" it is Planner, To Do, Excel and GitHub,
// not "Microsoft Planner". A company with one product stays in the group of
// its kind. The heading is the company's name, so it is not translated.
const TOOL_GROUPS = [
{ group: 'wekan', labelKey: null }, // WeKan's own: headed by the product name
{ group: '37signals', label: '37signals' },
{ group: 'atlassian', label: 'Atlassian' },
{ group: 'google', label: 'Google' },
{ group: 'microsoft', label: 'Microsoft' },
{ group: 'kanban', labelKey: 'tool-group-kanban' },
{ group: 'issues', labelKey: 'tool-group-issues' },
{ group: 'tasks', labelKey: 'tool-group-tasks' },
@@ -18,15 +28,19 @@ const TOOL_GROUPS = [
const MEMBERS = {
wekan: ['wekan', 'json', 'json-no-attachments', 'zip'],
kanban: ['trello', 'trello-api', 'trellozip', 'kanboard', 'deck', 'openproject', 'asana', 'zenkit', 'planner', 'monday', 'wrike',
'wrikeworkflow', 'teamwork', 'businessmap', 'clickup', 'notion', 'plane', 'fizzy', 'taiga', 'focalboard', 'nullboard', 'kanri',
'37signals': ['basecamp', 'fizzy'],
atlassian: ['trello', 'trello-api', 'trellozip', 'jira'],
google: ['googletakeout', 'googletasks', 'googlekeep'],
microsoft: ['planner', 'mstodo', 'excel', 'github'],
kanban: ['kanboard', 'deck', 'openproject', 'asana', 'zenkit', 'monday', 'wrike',
'wrikeworkflow', 'teamwork', 'businessmap', 'clickup', 'notion', 'plane', 'taiga', 'focalboard', 'nullboard', 'kanri',
'obsidian', 'meistertask', 'quire'],
issues: ['jira', 'github', 'gitlab', 'gitea', 'forgejo', 'redmine', 'linear', 'pivotal'],
issues: ['gitlab', 'gitea', 'forgejo', 'redmine', 'linear', 'pivotal'],
tasks: ['todoist', 'ticktick', 'tasksorg', 'superproductivity', 'todotxt', 'taskwarrior', 'vikunja'],
spreadsheets: ['csv', 'excel'],
spreadsheets: ['csv'],
text: ['markdown', 'leo', 'opml', 'orgmode'],
messages: ['mail', 'mbox', 'ical', 'googletakeout', 'slack', 'mattermost', 'telegram', 'whatsapp', 'discord', 'rocketchat', 'evernote', 'enex'],
api: ['planka', 'mstodo', 'kanbanflow', 'basecamp', 'googletasks', 'googlekeep'],
messages: ['mail', 'mbox', 'ical', 'slack', 'mattermost', 'telegram', 'whatsapp', 'discord', 'rocketchat', 'evernote', 'enex'],
api: ['planka', 'kanbanflow'],
};
const GROUP_OF = new Map(Object.entries(MEMBERS).flatMap(([group, keys]) => keys.map(key => [key, group])));
const INDEX = new Map(TOOL_GROUPS.map((g, i) => [g.group, i]));
@@ -34,16 +48,38 @@ const INDEX = new Map(TOOL_GROUPS.map((g, i) => [g.group, i]));
// The group of a tool key; a key no group names is in Kanban and project tools.
const toolGroupOf = key => GROUP_OF.get(key) || 'kanban';
// A product's name without its company's name in front, under that company's
// heading: "Microsoft Planner" -> "Planner". Anything else is left as it is.
function withoutCompany(text, company) {
if (typeof text !== 'string' || !company) return text;
const prefix = `${company} `;
return text.startsWith(prefix) && text.length > prefix.length ? text.slice(prefix.length) : text;
}
// items (each with `key`) grouped in TOOL_GROUPS order, their own order kept
// inside a group; the first of each group carries `groupLabelKey` (null for
// WeKan's own, whose heading is the product name) and `groupStart: true`.
// inside a group; the first of each group carries `groupStart: true` and its
// heading: `groupLabelKey` (a translation key) or `groupLabel` (a company's
// name), both null for WeKan's own, whose heading is the product name. Under
// a company's heading `name` and `label` drop the company's name.
function groupTools(items) {
const sorted = (items || []).map((item, i) => ({ item, i, g: INDEX.get(toolGroupOf(item.key)) }))
.sort((a, b) => (a.g - b.g) || (a.i - b.i));
return sorted.map(({ item, g }, n) => {
const start = n === 0 || sorted[n - 1].g !== g;
return { ...item, group: TOOL_GROUPS[g].group, groupStart: start, groupLabelKey: start ? TOOL_GROUPS[g].labelKey : null };
const def = TOOL_GROUPS[g];
const out = {
...item,
group: def.group,
groupStart: start,
groupLabelKey: start ? def.labelKey || null : null,
groupLabel: start ? def.label || null : null,
};
if (def.label) {
if ('name' in out) out.name = withoutCompany(out.name, def.label);
if ('label' in out) out.label = withoutCompany(out.label, def.label);
}
return out;
});
}
module.exports = { TOOL_GROUPS, MEMBERS, toolGroupOf, groupTools };
module.exports = { TOOL_GROUPS, MEMBERS, toolGroupOf, groupTools, withoutCompany };
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "wekan",
"version": "v13.22.0",
"version": "v13.23.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "wekan",
"version": "v13.22.0",
"version": "v13.23.0",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "wekan",
"version": "v13.22.0",
"version": "v13.23.0",
"description": "Open-Source kanban",
"private": true,
"repository": {
+3 -3
View File
@@ -3,7 +3,7 @@
<head>
<meta charset="utf8" />
<title>WeKan REST API v13.22</title>
<title>WeKan REST API v13.23</title>
<!-- needed for adaptive design -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
@@ -498,11 +498,11 @@ data-styled.g662[id="sc-hFhjrW"]{content:"gelAUe,"}/*!sc*/
<body>
<div id="redoc"><div class="sc-dPmKWx eXwHqO redoc light" style="--navbar-height:0px;--navbar-stack-height:0px"><div hidden=""><script>try{var r=document.querySelectorAll(".redoc");r=r[r.length-1];var h=document.documentElement,p=h.classList,a=[h.getAttribute("data-bs-theme"),h.getAttribute("data-theme")];var m=p.contains("dark")||a.indexOf("dark")>-1?"dark":p.contains("light")||a.indexOf("light")>-1?"light":localStorage.getItem("redoc.colorMode");if(m!=="light"&&m!=="dark")m=matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";r.classList.remove("light","dark");r.classList.add(m)}catch(e){}</script></div><div class="sc-hHttOM iMkNMJ menu-content"><div class="sc-jokKPH fejYuX"><div data-testid="search-trigger" class="sc-cRcubC kWLWEm"><div class="sc-gzhUzI ejGLvh"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" data-component-name="icons/SearchIcon/SearchIcon" class="sc-bUAICN hRyRtS"><path d="M14.5 13.7931L10.724 10.017C11.6313 8.9277 12.0838 7.5305 11.9872 6.11608C11.8907 4.70165 11.2525 3.37891 10.2055 2.423C9.15857 1.4671 7.78336 0.951637 6.36602 0.983845C4.94867 1.01605 3.5983 1.59345 2.59582 2.59593C1.59335 3.5984 1.01595 4.94877 0.983738 6.36612C0.95153 7.78347 1.46699 9.15867 2.4229 10.2057C3.3788 11.2526 4.70155 11.8908 6.11597 11.9873C7.53039 12.0839 8.92759 11.6314 10.0169 10.7241L13.793 14.5001L14.5 13.7931ZM2.00001 6.50012C2.00001 5.6101 2.26393 4.74007 2.7584 4.00005C3.25286 3.26003 3.95567 2.68325 4.77794 2.34266C5.6002 2.00207 6.505 1.91295 7.37792 2.08658C8.25083 2.26022 9.05266 2.6888 9.68199 3.31814C10.3113 3.94747 10.7399 4.7493 10.9135 5.62221C11.0872 6.49513 10.9981 7.39993 10.6575 8.22219C10.3169 9.04446 9.7401 9.74726 9.00008 10.2417C8.26006 10.7362 7.39003 11.0001 6.50001 11.0001C5.30694 10.9988 4.16312 10.5243 3.31949 9.68064C2.47587 8.83701 2.00133 7.69319 2.00001 6.50012Z"></path></svg><span>Loading...</span></div></div></div><div class="sc-gpABuY dGxToZ"><ul data-component-name="Menu/Menu" class="sc-llaQDn gIDdEs"><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-default" role="listitem"><a class="sc-bcyEQV eSomNa" href="/" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="true" class="sc-iMaYoB kYPxgQ"><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="WeKan REST API" class="sc-cKRyZE edpvXG">WeKan REST API</span></span></div></li></a></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-default" role="listitem"><a class="sc-bcyEQV eSomNa" href="/section/production-security-concerns" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB dpiTia"><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="Production Security Concerns" class="sc-cKRyZE cXpWdQ">Production Security Concerns</span></span></div></li></a></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-group" role="listitem"><a class="sc-bcyEQV eSomNa" href="/login" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB buxibf"><div class="sc-hgJgCR fyVeNP"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" color="--tree-content-color-default" data-component-name="icons/ChevronRightIcon/ChevronRightIcon" class="sc-hiunUN kPiUFd"><path d="M11 8L6.00002 13L5.30002 12.3L9.60002 8L5.30002 3.7L6.00002 3L11 8Z"></path></svg></div><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="Login" class="sc-cKRyZE cXpWdQ">Login</span></span></div></li></a><div style="display:none;height:0px;overflow:hidden" class="sc-boLXHU DecdG"></div></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-group" role="listitem"><a class="sc-bcyEQV eSomNa" href="/attachmentstoragesettings" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB buxibf"><div class="sc-hgJgCR fyVeNP"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" color="--tree-content-color-default" data-component-name="icons/ChevronRightIcon/ChevronRightIcon" class="sc-hiunUN kPiUFd"><path d="M11 8L6.00002 13L5.30002 12.3L9.60002 8L5.30002 3.7L6.00002 3L11 8Z"></path></svg></div><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="AttachmentStorageSettings" class="sc-cKRyZE cXpWdQ">AttachmentStorageSettings</span></span></div></li></a><div style="display:none;height:0px;overflow:hidden" class="sc-boLXHU DecdG"></div></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-group" role="listitem"><a class="sc-bcyEQV eSomNa" href="/settings" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB buxibf"><div class="sc-hgJgCR fyVeNP"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" color="--tree-content-color-Line truncated
<div id="redoc"><div class="sc-dPmKWx eXwHqO redoc light" style="--navbar-height:0px;--navbar-stack-height:0px"><div hidden=""><script>try{var r=document.querySelectorAll(".redoc");r=r[r.length-1];var h=document.documentElement,p=h.classList,a=[h.getAttribute("data-bs-theme"),h.getAttribute("data-theme")];var m=p.contains("dark")||a.indexOf("dark")>-1?"dark":p.contains("light")||a.indexOf("light")>-1?"light":localStorage.getItem("redoc.colorMode");if(m!=="light"&&m!=="dark")m=matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";r.classList.remove("light","dark");r.classList.add(m)}catch(e){}</script></div><div class="sc-hHttOM iMkNMJ menu-content"><div class="sc-jokKPH fejYuX"><div data-testid="search-trigger" class="sc-cRcubC kWLWEm"><div class="sc-gzhUzI ejGLvh"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" data-component-name="icons/SearchIcon/SearchIcon" class="sc-bUAICN hRyRtS"><path d="M14.5 13.7931L10.724 10.017C11.6313 8.9277 12.0838 7.5305 11.9872 6.11608C11.8907 4.70165 11.2525 3.37891 10.2055 2.423C9.15857 1.4671 7.78336 0.951637 6.36602 0.983845C4.94867 1.01605 3.5983 1.59345 2.59582 2.59593C1.59335 3.5984 1.01595 4.94877 0.983738 6.36612C0.95153 7.78347 1.46699 9.15867 2.4229 10.2057C3.3788 11.2526 4.70155 11.8908 6.11597 11.9873C7.53039 12.0839 8.92759 11.6314 10.0169 10.7241L13.793 14.5001L14.5 13.7931ZM2.00001 6.50012C2.00001 5.6101 2.26393 4.74007 2.7584 4.00005C3.25286 3.26003 3.95567 2.68325 4.77794 2.34266C5.6002 2.00207 6.505 1.91295 7.37792 2.08658C8.25083 2.26022 9.05266 2.6888 9.68199 3.31814C10.3113 3.94747 10.7399 4.7493 10.9135 5.62221C11.0872 6.49513 10.9981 7.39993 10.6575 8.22219C10.3169 9.04446 9.7401 9.74726 9.00008 10.2417C8.26006 10.7362 7.39003 11.0001 6.50001 11.0001C5.30694 10.9988 4.16312 10.5243 3.31949 9.68064C2.47587 8.83701 2.00133 7.69319 2.00001 6.50012Z"></path></svg><span>Loading...</span></div></div></div><div class="sc-gpABuY dGxToZ"><ul data-component-name="Menu/Menu" class="sc-llaQDn gIDdEs"><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-default" role="listitem"><a class="sc-bcyEQV eSomNa" href="/" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="true" class="sc-iMaYoB kYPxgQ"><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="WeKan REST API" class="sc-cKRyZE edpvXG">WeKan REST API</span></span></div></li></a></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-default" role="listitem"><a class="sc-bcyEQV eSomNa" href="/section/production-security-concerns" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB dpiTia"><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="Production Security Concerns" class="sc-cKRyZE cXpWdQ">Production Security Concerns</span></span></div></li></a></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-group" role="listitem"><a class="sc-bcyEQV eSomNa" href="/login" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB buxibf"><div class="sc-hgJgCR fyVeNP"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" color="--tree-content-color-default" data-component-name="icons/ChevronRightIcon/ChevronRightIcon" class="sc-hiunUN kPiUFd"><path d="M11 8L6.00002 13L5.30002 12.3L9.60002 8L5.30002 3.7L6.00002 3L11 8Z"></path></svg></div><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="Login" class="sc-cKRyZE cXpWdQ">Login</span></span></div></li></a><div style="display:none;height:0px;overflow:hidden" class="sc-boLXHU DecdG"></div></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-group" role="listitem"><a class="sc-bcyEQV eSomNa" href="/attachmentstoragesettings" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB buxibf"><div class="sc-hgJgCR fyVeNP"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" color="--tree-content-color-default" data-component-name="icons/ChevronRightIcon/ChevronRightIcon" class="sc-hiunUN kPiUFd"><path d="M11 8L6.00002 13L5.30002 12.3L9.60002 8L5.30002 3.7L6.00002 3L11 8Z"></path></svg></div><div class="sc-bmzNle dAAsRD"><span class="sc-amuuf fiYZDR"><span data-text="AttachmentStorageSettings" class="sc-cKRyZE cXpWdQ">AttachmentStorageSettings</span></span></div></li></a><div style="display:none;height:0px;overflow:hidden" class="sc-boLXHU DecdG"></div></div><div data-component-name="Menu/MenuItem" class="sc-epufQc jNyRbY menu-item-type-group" role="listitem"><a class="sc-bcyEQV eSomNa" href="/settings" data-discover="true"><li role="none" data-testid="menu-item-label" data-active="false" class="sc-iMaYoB buxibf"><div class="sc-hgJgCR fyVeNP"><svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" color="--tree-content-color-Line truncated
<script type="module">
import { hydrate } from "https://cdn.redocly.com/redoc/v3.2.0/bundles/redoc.standalone.js";
const __redoc_definition = {"openapi":"3.2.0","info":{"title":"WeKan REST API","version":"v13.22","description":"The REST API allows you to control and extend WeKan with ease.\n\nIf you are an end-user and not a dev or a tester, [create an issue](https://github.com/wekan/wekan/issues/new) to request new APIs.\n\n> All API calls in the documentation are made using `curl`. However, you are free to use Java / Python / PHP / Golang / Ruby / Swift / Objective-C / Rust / Scala / C# or any other programming languages.\n\n# Production Security Concerns\nWhen calling a production WeKan server, ensure it is running via HTTPS and has a valid SSL Certificate. The login method requires you to post your username and password in plaintext, which is why we highly suggest only calling the REST login api over HTTPS. Also, few things to note:\n\n* Only call via HTTPS\n* Implement a timed authorization token expiration strategy\n* Ensure the calling user only has permissions for what they are calling and no more\n"},"paths":{"/users/login":{"post":{"operationId":"login","summary":"Login with REST API","tags":["Login"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["username","password"],"properties":{"username":{"description":"Your username\n","type":"string"},"password":{"description":"Your password\n","type":"string","format":"password"}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["username","password"],"properties":{"username":{"description":"Your username\n","type":"string"},"password":{"description":"Your password\n","type":"string","format":"password"}}}}},"description":"Login credentials","required":true},"responses":{"200":{"description":"Successful authentication","content":{"*/*":{"schema":{"type":"object","required":["id","token","tokenExpires"],"properties":{"id":{"type":"string","description":"User ID"},"token":{"type":"string","description":"Authentication token\n"},"tokenExpires":{"type":"string","format":"date-time","description":"Token expiration date\n"}}}}}},"400":{"description":"Error in authentication\n","content":{"*/*":{"schema":{"type":"object","properties":{"error":{"type":"string"},"reason":{"type":"string"}}}}}},"default":{"description":"Error in authentication\n"}}}},"/users/register":{"post":{"operationId":"register","summary":"Register with REST API","description":"Notes:\n - You will need to provide the token for any of the authenticated methods.\n","tags":["Login"],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"username":{"description":"Your username\n","type":"string"},"password":{"description":"Your password\n","type":"string","format":"password"},"email":{"description":"Your email\n","type":"string"}},"required":["username","password","email"]}}},"required":true},"responses":{"200":{"description":"Successful registration","content":{"*/*":{"schema":{"items":{"properties":{"id":{"type":"string"},"token":{"type":"string"},"tokenExpires":{"type":"string"}}}}}}},"400":{"description":"Error in registration\n","content":{"*/*":{"schema":{"items":{"properties":{"error":{"type":"number"},"reason":{"type":"string"}}}}}}},"default":{"description":"Error in registration\n"}}}},"/api/admin/attachment-settings":{"get":{"operationId":"get_attachment_settings","summary":"Get the attachment storage / upload-block settings (GlobalAdmin)","description":"Only the global admin can call this. Returns the Admin Panel >\n Attachments settings document, including `limitSettings.attachmentsUploadBlocked`\n and `limitSettings.avatarsUploadBlocked` plus the size limits. Cloud-storage\n secret keys (S3 secretAccessKey, Azure accountKey/connectionString, GCS\n credentials) are masked and never returned; a boolean `\u003cfield>Set` marker\n shows whether a value exists.\n","tags":["AttachmentStorageSettings","Settings"],"security":[{"UserSecurity":[]}],"responses":{"200":{"description":"200 response","content":{"application/json":{"schema":{"type":"Object"}}}}}},"put":{"operationId":"update_attachment_settings","summary":"Update the attachment storage / upload-block settings (GlobalAdmin)","description":"Only the global admin can call this. The request body is a\n partial settings object (for example\n `{\"limitSettings\": {\"avatarsUploadBlocked\": true}}`). It is applied through\n the same update path as the `updateAttachmentStorageSettings` Meteor method,\n so validation and `$set` semantics are identical: cloud-storage secrets left\n blank are preserved. The masked, updated settings document is returned.\n","tags":["AttachmentStorageSettings","Settings"],"security":[{"UserSecurity":[]}],"responses":{"200":{"description":"200 response","content":{"application/json":{"schema":{"type":"Object"}}}}}}},"/api/admin/domains":{"get":{"operationId":"get_admin_domains","summary":"List email domains with their user counts (GlobalAdmin)","description":"Only the global admin can call this. CountsLine truncated
const __redoc_definition = {"openapi":"3.2.0","info":{"title":"WeKan REST API","version":"v13.23","description":"The REST API allows you to control and extend WeKan with ease.\n\nIf you are an end-user and not a dev or a tester, [create an issue](https://github.com/wekan/wekan/issues/new) to request new APIs.\n\n> All API calls in the documentation are made using `curl`. However, you are free to use Java / Python / PHP / Golang / Ruby / Swift / Objective-C / Rust / Scala / C# or any other programming languages.\n\n# Production Security Concerns\nWhen calling a production WeKan server, ensure it is running via HTTPS and has a valid SSL Certificate. The login method requires you to post your username and password in plaintext, which is why we highly suggest only calling the REST login api over HTTPS. Also, few things to note:\n\n* Only call via HTTPS\n* Implement a timed authorization token expiration strategy\n* Ensure the calling user only has permissions for what they are calling and no more\n"},"paths":{"/users/login":{"post":{"operationId":"login","summary":"Login with REST API","tags":["Login"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["username","password"],"properties":{"username":{"description":"Your username\n","type":"string"},"password":{"description":"Your password\n","type":"string","format":"password"}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["username","password"],"properties":{"username":{"description":"Your username\n","type":"string"},"password":{"description":"Your password\n","type":"string","format":"password"}}}}},"description":"Login credentials","required":true},"responses":{"200":{"description":"Successful authentication","content":{"*/*":{"schema":{"type":"object","required":["id","token","tokenExpires"],"properties":{"id":{"type":"string","description":"User ID"},"token":{"type":"string","description":"Authentication token\n"},"tokenExpires":{"type":"string","format":"date-time","description":"Token expiration date\n"}}}}}},"400":{"description":"Error in authentication\n","content":{"*/*":{"schema":{"type":"object","properties":{"error":{"type":"string"},"reason":{"type":"string"}}}}}},"default":{"description":"Error in authentication\n"}}}},"/users/register":{"post":{"operationId":"register","summary":"Register with REST API","description":"Notes:\n - You will need to provide the token for any of the authenticated methods.\n","tags":["Login"],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"username":{"description":"Your username\n","type":"string"},"password":{"description":"Your password\n","type":"string","format":"password"},"email":{"description":"Your email\n","type":"string"}},"required":["username","password","email"]}}},"required":true},"responses":{"200":{"description":"Successful registration","content":{"*/*":{"schema":{"items":{"properties":{"id":{"type":"string"},"token":{"type":"string"},"tokenExpires":{"type":"string"}}}}}}},"400":{"description":"Error in registration\n","content":{"*/*":{"schema":{"items":{"properties":{"error":{"type":"number"},"reason":{"type":"string"}}}}}}},"default":{"description":"Error in registration\n"}}}},"/api/admin/attachment-settings":{"get":{"operationId":"get_attachment_settings","summary":"Get the attachment storage / upload-block settings (GlobalAdmin)","description":"Only the global admin can call this. Returns the Admin Panel >\n Attachments settings document, including `limitSettings.attachmentsUploadBlocked`\n and `limitSettings.avatarsUploadBlocked` plus the size limits. Cloud-storage\n secret keys (S3 secretAccessKey, Azure accountKey/connectionString, GCS\n credentials) are masked and never returned; a boolean `\u003cfield>Set` marker\n shows whether a value exists.\n","tags":["AttachmentStorageSettings","Settings"],"security":[{"UserSecurity":[]}],"responses":{"200":{"description":"200 response","content":{"application/json":{"schema":{"type":"Object"}}}}}},"put":{"operationId":"update_attachment_settings","summary":"Update the attachment storage / upload-block settings (GlobalAdmin)","description":"Only the global admin can call this. The request body is a\n partial settings object (for example\n `{\"limitSettings\": {\"avatarsUploadBlocked\": true}}`). It is applied through\n the same update path as the `updateAttachmentStorageSettings` Meteor method,\n so validation and `$set` semantics are identical: cloud-storage secrets left\n blank are preserved. The masked, updated settings document is returned.\n","tags":["AttachmentStorageSettings","Settings"],"security":[{"UserSecurity":[]}],"responses":{"200":{"description":"200 response","content":{"application/json":{"schema":{"type":"Object"}}}}}}},"/api/admin/domains":{"get":{"operationId":"get_admin_domains","summary":"List email domains with their user counts (GlobalAdmin)","description":"Only the global admin can call this. CountsLine truncated
const __redoc_options = {"skipBundle":true,"disableTelemetry":false};
hydrate(__redoc_definition, __redoc_options, document.getElementById('redoc'));
+1 -1
View File
@@ -1,7 +1,7 @@
swagger: '2.0'
info:
title: WeKan REST API
version: v13.22
version: v13.23
description: |
The REST API allows you to control and extend WeKan with ease.
+2 -2
View File
@@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
appTitle = (defaultText = "Wekan"),
# The name of the app as it is displayed to the user.
appVersion = 1322,
appVersion = 1323,
# Increment this for every release.
appMarketingVersion = (defaultText = "13.22~2026-11-20"),
appMarketingVersion = (defaultText = "13.23~2026-11-20"),
# Human-readable presentation of the app version.
minUpgradableAppVersion = 0,
+4 -4
View File
@@ -19,7 +19,7 @@
# base: core24 (not core26) · no build-base: devel · grade: stable
# ─────────────────────────────────────────────────────────────────────────────
name: wekan
version: '13.22'
version: '13.23'
base: core24
confinement: strict
grade: stable
@@ -703,18 +703,18 @@ parts:
armhf) WEKAN_ARCH="armhf" ;;
*) echo "Unsupported architecture: ${CRAFT_ARCH_BUILD_FOR}"; exit 1 ;;
esac
WEKAN_ZIP="wekan-13.22-${WEKAN_ARCH}.zip"
WEKAN_ZIP="wekan-13.23-${WEKAN_ARCH}.zip"
echo "Cleaning environment first"
rm -rf .build
mkdir .build
cd .build
#wget https://github.com/wekan/wekan/releases/download/v13.22/wekan-13.22-amd64.zip
#wget https://github.com/wekan/wekan/releases/download/v13.23/wekan-13.23-amd64.zip
# Retry: a release asset can 404 for a short while right after it is
# uploaded (CDN/propagation lag), and a plain wget treated that as
# fatal. --retry-on-http-error covers the 404/5xx window; a genuinely
# missing bundle still fails after the tries are spent.
wget --tries=20 --waitretry=20 --retry-on-http-error=404,403,500,502,503 \
"https://github.com/wekan/wekan/releases/download/v13.22/${WEKAN_ZIP}"
"https://github.com/wekan/wekan/releases/download/v13.23/${WEKAN_ZIP}"
unzip "${WEKAN_ZIP}"
python3 ../releases/check-telemetry.py --bundle bundle
rm "${WEKAN_ZIP}"
+49 -6
View File
@@ -7,7 +7,7 @@ const test = require('node:test');
const assert = require('node:assert');
const fs = require('node:fs');
const path = require('node:path');
const { TOOL_GROUPS, MEMBERS, toolGroupOf, groupTools } = require('../models/lib/toolGroups');
const { TOOL_GROUPS, MEMBERS, toolGroupOf, groupTools, withoutCompany } = require('../models/lib/toolGroups');
const read = rel => fs.readFileSync(path.join(__dirname, '..', rel), 'utf8');
const en = JSON.parse(read('imports/i18n/data/en.i18n.json'));
@@ -26,22 +26,65 @@ test('every import source and every export tool is named in a group, once', () =
});
test('the groups are in order, each with a heading in English', () => {
assert.deepStrictEqual(TOOL_GROUPS.map(g => g.group), ['wekan', 'kanban', 'issues', 'tasks', 'spreadsheets', 'text', 'messages', 'api']);
assert.deepStrictEqual(TOOL_GROUPS.map(g => g.group), ['wekan', '37signals', 'atlassian', 'google', 'microsoft',
'kanban', 'issues', 'tasks', 'spreadsheets', 'text', 'messages', 'api']);
for (const g of TOOL_GROUPS.filter(t => t.labelKey)) assert.strictEqual(typeof en[g.labelKey], 'string', g.labelKey);
assert.deepStrictEqual(['jira', 'github', 'mail', 'slack', 'csv', 'planka'].map(toolGroupOf),
['issues', 'issues', 'messages', 'messages', 'spreadsheets', 'api']);
assert.deepStrictEqual(['gitlab', 'mail', 'slack', 'csv', 'planka'].map(toolGroupOf),
['issues', 'messages', 'messages', 'spreadsheets', 'api']);
});
test('grouping keeps the order inside a group and heads only the first of each', () => {
const out = groupTools([{ key: 'slack' }, { key: 'trello' }, { key: 'wekan' }, { key: 'mail' }, { key: 'jira' }, { key: 'deck' }]);
assert.deepStrictEqual(out.map(t => t.key), ['wekan', 'trello', 'deck', 'jira', 'slack', 'mail']);
const out = groupTools([{ key: 'slack' }, { key: 'kanboard' }, { key: 'wekan' }, { key: 'mail' }, { key: 'gitlab' }, { key: 'deck' }]);
assert.deepStrictEqual(out.map(t => t.key), ['wekan', 'kanboard', 'deck', 'gitlab', 'slack', 'mail']);
assert.deepStrictEqual(out.map(t => t.groupStart), [true, true, false, true, true, false]);
assert.deepStrictEqual(out.filter(t => t.groupStart).map(t => t.groupLabelKey), [null, 'tool-group-kanban', 'tool-group-issues', 'tool-group-messages']);
assert.deepStrictEqual(groupTools([]), []);
});
// 2026-11-20: a company with more than one product is ONE heading with its
// products under it, without the company's name repeated in each.
test('a company with several products is headed by its name, which its products drop', () => {
const out = groupTools([
{ key: 'slack', name: 'Slack' }, { key: 'mstodo', name: 'Microsoft To Do' }, { key: 'trello', name: 'Trello' },
{ key: 'planner', label: 'Microsoft Planner' }, { key: 'googlekeep', name: 'Google Keep' }, { key: 'fizzy', name: 'Fizzy' },
{ key: 'jira', name: 'Jira' }, { key: 'excel', name: 'Excel' }, { key: 'basecamp', name: 'Basecamp' },
{ key: 'googletakeout', name: 'Google Takeout' }, { key: 'github', name: 'GitHub' },
]);
assert.deepStrictEqual(out.map(t => t.name || t.label),
['Fizzy', 'Basecamp', 'Trello', 'Jira', 'Keep', 'Takeout', 'To Do', 'Planner', 'Excel', 'GitHub', 'Slack']);
assert.deepStrictEqual(out.filter(t => t.groupStart).map(t => t.groupLabel),
['37signals', 'Atlassian', 'Google', 'Microsoft', null]);
assert.deepStrictEqual(out.filter(t => t.groupStart).map(t => t.groupLabelKey), [null, null, null, null, 'tool-group-messages']);
});
test('negative: a company group needs two products, and only its own name is dropped', () => {
const importNames = new Map([...read('models/lib/importSources.js')
.matchAll(/\{ key: '([a-z]+)', name: '([^']+)'/g)].map(m => [m[1], m[2]]));
for (const def of TOOL_GROUPS.filter(g => g.label)) {
const keys = MEMBERS[def.group];
assert.ok(keys.every(k => importNames.has(k) || k.startsWith('trello')), `${def.label}: a key that is not a tool`);
// Trello's three ways out (file, .zip, API) are one product.
const products = new Set(keys.map(k => k.replace(/^trello.*/, 'trello')));
assert.ok(products.size >= 2, `${def.label} heads only one product`);
assert.strictEqual(def.labelKey, undefined, 'a company name is not translated');
}
// A product somewhere else keeps its whole name, and a bare company name
// stays rather than becoming empty.
assert.deepStrictEqual(groupTools([{ key: 'slack', name: 'Microsoft Slack' }])[0].name, 'Microsoft Slack');
assert.strictEqual(withoutCompany('Microsoft', 'Microsoft'), 'Microsoft');
assert.strictEqual(withoutCompany('Microsoftish Tool', 'Microsoft'), 'Microsoftish Tool');
assert.strictEqual(withoutCompany(undefined, 'Microsoft'), undefined);
// No product name left in a kind group starts with a company that has a group.
const companies = TOOL_GROUPS.filter(g => g.label).map(g => g.label);
const loose = [...importNames].filter(([key, name]) => !TOOL_GROUPS.find(g => g.group === toolGroupOf(key)).label
&& companies.some(c => name.startsWith(`${c} `)));
assert.deepStrictEqual(loose, [], 'a company product outside its company group');
});
test('both pages draw the headings', () => {
assert.match(read('client/components/import/import.jade'), /each importSources\n\s*if groupHeading\n\s*li\.import-source-group \{\{groupHeading\}\}/);
assert.match(read('client/components/import/import.js'), /groupTools\(IMPORT_SOURCES\.map/);
assert.match(read('client/components/import/import.js'), /source\.groupLabel \|\| product/);
assert.match(read('client/components/boards/exportScope.js'), /entry\.groupLabel \|\| group\.heading/);
assert.match(read('client/components/boards/exportScope.js'), /if \(group\.key !== 'json'\) return \[group\];[\s\S]*groupTools\(group\.entries\)/);
});