6058 Commits
Author SHA1 Message Date
github-actions[bot] 39c3e64563 Bump versions for v12.42 2026-10-14 10:16:44 +00:00
Lauri Ojansivu 86ec72fade Optional APIs: Trello, Jira, GitHub and Gitea compatible, off by default.
Admin Panel / Settings / Visibility / Optional APIs ticks REST APIs in the
shape of Trello's, Jira's, GitHub's and Gitea's, so apps and scripts written
for them - Trellinator, Jira and GitHub clients - can use WeKan as their
backend, each described on the page with the address a client uses.

None has rights of its own. Each is a translator: a request in the other
tracker's shape becomes the matching request to WeKan's own REST API, made
with the caller's own WeKan token on the loopback address, and the answer
becomes the other tracker's JSON. Every WeKan permission therefore applies
unchanged - read-only and comment-only roles, assigned-only members, list
permissions - and an API that is not ticked answers 404. All of them sit
under /api, so WITH_API turns them off with the rest of the REST API.

Trello: members, boards, lists, cards, labels, comments and checklists; a
deleted card is archived. Jira: projects are boards (the board key), issues
are cards (DEV-7), statuses are lists and transitions move cards, with
simple JQL. GitHub and Gitea: repositories are boards and issues are cards,
open or closed as in Board View / Version Control, with labels, milestones,
comments and Link pagination.

The new strings are translated in every locale. A runtime test over real
HTTP shows a read-only member refused and a Trello-created card readable
through Jira and GitHub.

Thanks to xet7 !

Fixes #4930.
2026-10-14 13:11:23 +03:00
Lauri Ojansivu 5eb3d45655 Merge remote-tracking branch 'origin/main' 2026-10-14 12:43:43 +03:00
Lauri Ojansivu 935e68dfdd GitHub organization import: repositories, issues, releases, Actions, wiki.
Import -> GitHub -> Import a whole GitHub organization makes every
repository of an organization or user its own board, opening in Board View
/ Version Control. Issues go through the ordinary importBoard, as the person
who started the job, with their comments, labels and files. Releases are
cards in a Releases list, their files attached only when chosen. Each
.github/workflows file becomes Rules. The wiki is read from its git
repository with isomorphic-git (1.42.4, pinned), every request through the
SSRF guard and only to github.com: a page is a card in the Wiki list, its
[[links]] point at and are attached to the linked pages' cards, and each
commit that changed it is a dated edit in the card's history, so Restore
brings back an older version. The job shows progress, can be cancelled,
pauses on a restart and stops at a rate limit; the token is kept in memory
only.

Version Control gains Releases and Wiki tabs: the wiki as GitHub shows it,
with the page list, _Sidebar and _Footer, links that stay in the tab, and
each page's history with Restore.

GitHub Actions workflows map to Rules: issue events to triggers, label,
close, reopen, comment, assign and create steps to actions, actions/stale to
an aging rule. Code - builds, tests, scripts - is never run: such a workflow
is a disabled rule with its YAML as the description. WeKan's Rules gain what
they lacked for it: a "commented on" trigger, an "add comment" action written
as the person whose change ran the rule and only where they may comment,
cron schedules in UTC, and a rule description shown on the rule. A disabled
rule no longer fires on a schedule or from its button, which it did.

The new strings are translated in every locale.

Thanks to xet7 !
2026-10-14 12:43:36 +03:00
Lauri Ojansivu 326d9bbf61 Board View / Version Control, issue files and synced issue details.
Version Control shows the board as a GitHub or Gitea issue tracker in the
board's own theme: cards are issues (open, or closed when archived, in a
Closed or Done list, or closed upstream), the board's labels are labels,
labels with a due date and the importers' milestone: labels are
milestones, comments are the conversation and attachments are the files.
The issue list takes GitHub's search words (is:open, label:, milestone:,
author:, assignee:@me, no:label, sort:). New issue, Close and Reopen write
through the ordinary collections, so the History tab - the board's
history table - shows them and Restore undoes them. Import links open the
GitHub, GitLab, Gitea and Forgejo importers, and each synced list has a
Sync now button.

The GitHub, GitLab, Gitea and Forgejo importers bring each issue's files:
user-attachments and user-images links, GitLab uploads, and Gitea and
Forgejo assets, downloaded through the import's SSRF guard and stored as
card attachments in Admin Panel / Attachments / Default Storage.

List sync has a new option, Comments, labels, state and files, off by
default: comments come from one paged repository-wide list (GitHub,
Gitea) or each issue's notes (GitLab), keyed by the tracker's ids, so a
second run writes only what changed, and nothing written in WeKan is
changed. Gitea issues are fetched without pull requests, and a rate
limited answer is waited out once or ends the run with the time to retry.

A public board's Show on / Default on Public Board settings are for the
public: visitors and non-members get them, read-only, and the board's own
members get the private side, so any view - Version Control, Email, Chat
and the rest - can be the read-only public view.

The card menu has a QR code of the card's link, drawn in the browser by
WeKan's own encoder, which the tests check module for module against
qrcode-svg.

The new strings are translated in every locale.

Thanks to xet7 !

Fixes #2015.
2026-10-14 12:09:34 +03:00
github-actions[bot] 5588931bf2 Bump versions for v12.41 2026-10-14 08:08:00 +00:00
Lauri Ojansivu b8d9cb2565 Android bundles for Termux, for all four Android CPUs.
Each release's Linux bundle of the matching CPU is rebuilt inside Termux's
own image, on a runner of that CPU, with wekan/node-patches'
node-android-<cpu> of the same version, checked against its SHA256: npm
reinstalls the server packages run by that Node.js, so every native addon is
built for it, and sharp from source against Termux's libvips. Each addon's
architecture is checked, sharp must load, and the bundle must start and
answer HTTP 200 before it is published. A CPU whose Android Node.js is not
published yet is skipped and builds by itself once it is; the single-file
workflow, which already makes Android single files from these bundles, now
waits for them.

Thanks to xet7 !
2026-10-14 11:07:36 +03:00
Lauri Ojansivu a1d2994c1c musl bundles and AppImages for Alpine and the other musl systems.
Each release's Linux bundle of x64 and arm64 is rebuilt inside Alpine on a
runner of that CPU: the musl Node.js of exactly the bundle's version,
checked against its SHA256, replaces the glibc one and its node-runtime
libraries; npm reinstalls the server packages so every native addon is
compiled against musl and sharp's musl package is the one installed; then
every addon's architecture is checked, sharp must load, and the bundle must
start and answer HTTP 200 before it is published. FerretDB and the MongoDB
Database Tools are static and stay. The AppImage workflow wraps them too, as
x86_64-musl and aarch64-musl, and starts each inside Alpine to check it.

Thanks to xet7 !
2026-10-14 10:38:39 +03:00
Lauri Ojansivu d53b4da799 On Sandstorm, sync lists from GitHub, GitLab, Gitea and Forgejo through the Powerbox.
A grain's only way out is the bridge proxy, so list sync never reached a
tracker. A board member who may write saves the list's source and allows
the grain to reach that tracker's API root in the Powerbox; the grant
belongs to the tracker, found by the URL being fetched, so the periodic job
needs no signed-in user. GitLab's token goes as private_token, since the
bridge drops PRIVATE-TOKEN; GitHub, Gitea and Forgejo read public
repositories, since their token headers cannot pass; Jira, which signs in
only with an Authorization header, is refused with that reason. Off
Sandstorm list sync still goes through the SSRF guard, unchanged.

New strings translated in all languages.

Thanks to xet7 !
2026-10-14 10:35:13 +03:00
Lauri Ojansivu 2cc0b59a51 On Sandstorm, send webhooks through the Powerbox, and accept the REST API with a grain API key.
A grain has no network but the bridge proxy, so an outgoing webhook now
leaves only through an API a board admin approved in the Powerbox for that
webhook's address: each saved webhook offers "Allow this grain to reach this
address". The grant belongs to the destination, not to a person, is found
by the URL being sent to, and is approved as the address's parent path so
the bridge delivers to the exact address. Every sender - immediate, grouped
and stored - goes through webhookFetch, which off Sandstorm, or for an
address no grant covers, is exactly the SSRF-guarded fetchSafe.

The REST API called with a Sandstorm API key acts as the key's user: in a
grain the bridge sets X-Sandstorm-User-Id itself. Only in a grain, only
after a WeKan token, only for an existing enabled account, and a key without
participate reads only.

New strings translated in all languages.

Thanks to xet7 !
2026-10-14 09:49:42 +03:00
Lauri Ojansivu b1e58094f4 Bun single files: one executable per Bun platform, musl included.
Each is the platform's published Bun bundle ZIP, unchanged, inside that
bundle's own Bun: built on the platform itself (Alpine for musl), so the
runtime is exactly the one the bundle was tested with. The first start
extracts the bundle once into a per-version cache directory, without a
second copy of Bun, and every start runs index.mjs with the executable
itself as Bun. Like the Bun bundle it needs MONGO_URL and ROOT_URL.

The launcher reads the ZIP itself (stored, deflated, ZIP64, Unix modes,
symbolic links) and refuses any entry or link that would land outside the
cache directory. Before publishing, each file is checked: it names itself,
refuses to start without a database, extracts once and reuses that, and
loads every native addon of the bundle. Linux x64/arm64 (glibc and musl),
macOS and Windows; FreeBSD and Android have no runner to build on.

Thanks to xet7 !
2026-10-14 09:48:50 +03:00
Lauri Ojansivu a0de507143 Document webhooks to Node-RED and WeKan on Uberspace 7.
Node-RED: the http in flow, and that an internal address is refused by the
SSRF guard, so Node-RED needs a public name. Uberspace 7: the UberLab guide,
the update script, and email settings on the one environment line.

Thanks to yeurplc, jeyca and xet7 !

Fixes #2017,
Fixes #2009.
2026-10-14 09:28:45 +03:00
Lauri Ojansivu 7595727917 Boards every signed-in user may edit, per-list permissions, board keys and shared labels.
A board can let every signed-in user edit it, when Admin Panel / Settings /
Visibility allows it: a non-member then comments, edits and moves cards like
a Normal member, and their first edit makes them one. Board-wide settings
stay members-only.

Lists can allow or refuse editing and commenting per role (list menu, board
admins): built-in roles, custom roles and, on an open board, everyone signed
in. The server applies it to card, checklist, attachment and comment writes
and to moves into the list; the REST API honours a list's refusal on every
per-list card route. A direct client write of the setting is refused and
shown in Admin Panel / Problems.

Every board has a key, unique in the instance, suggested from its title and
set for existing boards at startup; card numbers show as KEY-7 and searching
for KEY-7 finds the card.

Shared labels in Admin Panel / Labels, for every board or an organization's
or team's boards; a board uses them beside its own, and a rename or colour
change reaches every board that uses it.

New strings translated in all languages. Low confidence: chr, tlh, wal, ay,
ace, nah, gn, iu, zgh, rup, wo, se, ff, tig, vo, bm, kl, bua, nap, mai, to,
ks, qu, bo, fj, haw, om, ss, ts, ve-PP, lld, scn.

Thanks to Meeques, justinr1234, tiFabGrinch, ejlkemper and xet7 !

Fixes #4575,
Fixes #4527,
Fixes #2449,
Fixes #2450,
Fixes #2761,
Fixes #4698.
2026-10-14 09:28:45 +03:00
Lauri Ojansivu 1bf7a62cab Serve HTTPS from WeKan itself, when a certificate is configured.
#916 (decided 2026-10-14): HTTPS_PORT with HTTPS_CERT_FILE and
HTTPS_KEY_FILE (a path or the PEM itself) makes WeKan serve HTTPS; without
them nothing changes, and a proxy stays the recommendation for
production. Meteor's HTTP server - pages, DDP, websockets - is not
replaced: a TLS listener hands each decrypted connection to it, so
everything works the same over HTTPS. A renewed certificate is loaded
within a minute without a restart (a broken one keeps the old).
HTTPS_REDIRECT=true redirects plain HTTP to ROOT_URL when that is https,
else the same host on the HTTPS port, keeping only the path. The snap
gets https-port, https-cert-file, https-key-file, https-bind-ip and
https-redirect.

tests/httpsServer.test.cjs makes a real certificate with openssl, serves
a page and a websocket upgrade through the bridge, swaps the certificate
without a restart, and refuses incomplete settings, an untrusted
certificate, an injected host and a scheme-relative redirect.

Thanks to 68040 and xet7 !

Fixes #916.
2026-10-14 08:25:25 +03:00
Lauri Ojansivu 50bb989eb8 Custom board roles, and team memberships that leave with the team.
#3022 (decided 2026-10-14): a site admin builds named roles in Admin
Panel / People / Roles from the capability matrix - sees all cards,
comments, edits, moves cards, invites - and a board admin gives one to a
member in the same popup as the built-in roles. Board admin stays
built-in. Every permission check asks boardRoleCapabilities, which
answers a custom role from the role; the member's built-in flags carry
the strongest built-in role that grants nothing more (fallbackRoleFor,
checked for every combination), so code reading a flag never grants
more, and a deleted role leaves exactly that. Where a role is asked by
name (hasWorker, isCommentOnly, ...) a custom role reads as the built-in
role that does what it does; commenting is asked as a capability
everywhere. Invites, REST whole-board reads, imports (a foreign custom
role is dropped) and member mapping (all eight flags now, not four)
follow it. The six new strings are translated in all 234 locales.

#4178 (decided 2026-10-14): a team or organization that gives board
memberships takes them away again when the user leaves it - only those:
each records where it came from (grantedBy), a direct membership is
never touched, a board admin is kept, and a board admin's own add or
removal is final. Teams through user edits, LDAP, OIDC and the board
sidebar; organizations where they propagate members.

Also: the Roles Status table gets a Move cards column; the comment form,
reactions and chat ask the comment capability (a No comments member was
offered reactions the server refused).

Tests: customBoardRoles and groupBoardMembership node suites, and the
runtime suites (9 passing) against a real database.

Thanks to xet7 and mfnalex !

Fixes #3022,
Fixes #4178.
2026-10-14 08:20:49 +03:00
Lauri Ojansivu 78957e14cb Send outgoing webhooks through an HTTP proxy, with the SSRF checks kept.
HTTP_PROXY, HTTPS_PROXY and NO_PROXY now work for every outgoing request
that goes through the SSRF guard: webhooks, imports, avatar downloads,
list sync. The destination is still resolved once and checked against
the blocked ranges first, and the proxy is handed that checked address,
never the name: an http:// request goes to the proxy in absolute form on
the pinned address with the real Host, an https:// one through a CONNECT
tunnel to the pinned address with TLS still verified against the real
name (and WEBHOOK_TLS_CA_CERT). A name resolving to an internal address
is refused before the proxy is asked anything. Proxy credentials in the
URL become Proxy-Authorization. The snap gets http-proxy, https-proxy and
no-proxy.

tests/outboundProxy.test.cjs runs a real proxy on loopback: the pinned
address, the Host header, the credentials, the CONNECT authority, and
that a refused destination never reaches the proxy.

Thanks to gbarre and xet7 !

Fixes #1455.
2026-10-14 08:20:30 +03:00
Lauri Ojansivu 209e3b0c47 Build the OpenBSD bundles on OpenBSD 7.8.
node-patches now builds OpenBSD's Node.js on 7.8, the first release whose
base Clang (19.1.7) builds Node 26 - 7.7's Clang 16 has no
std::atomic_ref. The bundle is built and started where that binary runs.
The BSD page says OpenBSD 7.8 or newer is needed, and that NetBSD's
bundled OpenSSL gets FreeBSD's configuration; tests/bsdBundles.test.cjs
fails for an OpenBSD target older than 7.8.

Thanks to xet7 !
2026-10-14 07:16:24 +03:00
Lauri Ojansivu 52f0bc1271 Document Igbo interrupted import recovery translations
Record passing checks and outstanding fluent and browser verification.

Thanks to xet7 !
2026-10-14 07:14:51 +03:00
Lauri Ojansivu 269a96aa7d Merge remote-tracking branch 'origin/main' 2026-10-14 07:12:30 +03:00
Lauri Ojansivu 6e3678552a Document Igbo stopped sync recovery translations
Record passing translation checks and unfinished fluent and browser verification.

Thanks to xet7 !
2026-10-14 07:11:47 +03:00
Lauri Ojansivu 19aa5fd7dd Document Igbo workflow and permission translations
Record passing translation checks and remaining language and browser verification. Keep concurrent TODO Later edits separate.

Thanks to xet7 !
2026-10-14 07:07:29 +03:00
Lauri Ojansivu cfde3385b8 Document Igbo notification translations in Upcoming
Record passing checks and outstanding fluent and browser verification.

Thanks to xet7 !
2026-10-14 06:58:05 +03:00
github-actions[bot] 265238550f Bump versions for v12.40 2026-10-14 03:56:18 +00:00
Lauri Ojansivu daf8549cdd Document Igbo transfer-help translations
Record passing checks and outstanding fluent and browser verification.

Thanks to xet7 !
2026-10-14 06:54:31 +03:00
Lauri Ojansivu 7306d06919 Document Igbo import mapping and bulk transfer translations
Record passing checks and outstanding fluent and browser verification.

Thanks to xet7 !
2026-10-14 06:51:09 +03:00
Lauri Ojansivu 8bc9d15be1 Document second Igbo import-guide translation batch
Record passing checks and outstanding fluent and browser verification.

Thanks to xet7 !
2026-10-14 06:47:33 +03:00
Lauri Ojansivu 93ded63395 Document first Igbo import-guide translation batch
Record passing checks and outstanding fluent and browser verification.

Thanks to xet7 !
2026-10-14 06:43:23 +03:00
Lauri Ojansivu e1b92a011e Document Igbo linked-field translation progress
Record passing checks, preserved Chinese values and remaining placeholders and review.

Thanks to xet7 !
2026-10-14 06:39:42 +03:00
Lauri Ojansivu 5416b7f672 Document Igbo attachments and refresh translation backlog counts
Record passing checks and distinguish the filtered inventory from pending keys and semantic review.

Thanks to xet7 !
2026-10-14 06:36:42 +03:00
Lauri Ojansivu f6d7aafc5f Document Scottish Gaelic import and tooltip corrections
Record passing checks and outstanding fluent and browser verification.

Thanks to xet7 !
2026-10-14 06:32:07 +03:00
Lauri Ojansivu 2834c752f4 Document Scottish Gaelic report control corrections
Record passing checks and outstanding fluent and browser verification.

Thanks to xet7 !
2026-10-14 06:29:11 +03:00
Lauri Ojansivu 2dd80befcf Document Scottish Gaelic report translation review
Record passing checks and outstanding statistical terminology and browser verification.

Thanks to xet7 !
2026-10-14 06:26:34 +03:00
Lauri Ojansivu 7b3b9f00e1 Document Scottish Gaelic date and linking corrections
Record verified checks, unchanged Chinese values and outstanding language and browser review.

Thanks to xet7 !
2026-10-14 06:23:20 +03:00
Lauri Ojansivu add0493214 Document Scottish Gaelic meaning corrections and review limits
Record passing translation and changelog checks, preserved Chinese values, and pending browser and fluent verification.

Thanks to xet7 !
2026-10-14 06:20:44 +03:00
Lauri Ojansivu faed3b3048 Document Scottish Gaelic recovery translations and full placeholder check
Record passing checks and unfinished semantic and browser verification.

Thanks to xet7 !
2026-10-14 06:17:18 +03:00
Lauri Ojansivu 80bac12b8f Document Scottish Gaelic workflow translation progress
Record validation and unfinished fluent and browser review.

Thanks to xet7 !
2026-10-14 06:12:00 +03:00
Lauri Ojansivu 154a3d6c71 Document Scottish Gaelic integration translation progress
Record passing checks and unfinished fluent and runtime review.

Thanks to xet7 !
2026-10-14 06:09:16 +03:00
Lauri Ojansivu 6c5d109754 Document Scottish Gaelic import-control translation progress
Record verification and unfinished fluent and browser review.

Thanks to xet7 !
2026-10-14 06:06:13 +03:00
Lauri Ojansivu 6543da6538 Document the second Scottish Gaelic import-guide batch
Record checks, lower-confidence prose and remaining verification work.

Thanks to xet7 !
2026-10-14 06:03:21 +03:00
Lauri Ojansivu f69c05e75b Document Scottish Gaelic import-guide translation progress
Record lower-confidence prose, passing checks and unfinished review.

Thanks to xet7 !
2026-10-14 05:59:53 +03:00
Lauri Ojansivu 4fc3e3b1e2 Document Scottish Gaelic field-link translation progress
Record checks and remaining fluent and browser verification work.

Thanks to xet7 !
2026-10-14 05:56:45 +03:00
Lauri Ojansivu d2766886bf Document Scottish Gaelic attachment translation progress
Record validation, lower-confidence terminology and remaining review work.

Thanks to xet7 !
2026-10-14 05:54:00 +03:00
Lauri Ojansivu 1238df0faa Document Irish rule grammar corrections in Upcoming
Record regression coverage and unfinished runtime and semantic verification.

Thanks to xet7 !
2026-10-14 05:50:16 +03:00
Lauri Ojansivu b6d2a1dc5f Document Irish import and header help corrections
Record verification and remaining semantic review work.

Thanks to xet7 !
2026-10-14 05:46:38 +03:00
Lauri Ojansivu fc1f67cdff Document Irish date and card-action translation corrections
Record checks and remaining semantic review work.

Thanks to xet7 !
2026-10-14 05:43:52 +03:00
Lauri Ojansivu 825f93aec6 Document Irish report metric translation corrections
Record regression checks and remaining verification work.

Thanks to xet7 !
2026-10-14 05:40:54 +03:00
Lauri Ojansivu 9af9c31670 Document Irish analytics translation corrections in Upcoming
Record coverage and remaining semantic and runtime verification work.

Thanks to xet7 !
2026-10-14 05:37:54 +03:00
Lauri Ojansivu b05ed07828 Document Irish semantic translation corrections in Upcoming
Record regression coverage and the limits of placeholder detection.

Thanks to xet7 !
2026-10-14 05:34:41 +03:00
Lauri Ojansivu 081cd3d683 Document Irish recovery translations and full placeholder check
Record passing checks and unfinished semantic and browser runtime verification.

Thanks to xet7 !
2026-10-14 05:31:36 +03:00
Lauri Ojansivu 5bfa145f29 Document Irish workflow translation progress in Upcoming
Record verification and outstanding all-language work.

Thanks to xet7 !
2026-10-14 05:28:03 +03:00