Commit Graph
1811 Commits
Author SHA1 Message Date
github-actions[bot] b4e56c1913 Bump versions for v11.95 2026-09-24 15:45:02 +00:00
github-actions[bot] b849a427f4 Bump versions for v11.94 2026-09-24 11:26:26 +00:00
github-actions[bot] ecd853dc1d Bump versions for v11.93 2026-09-23 21:09:53 +00:00
github-actions[bot] 6d4c68a74a Bump versions for v11.91 2026-09-23 14:49:27 +00:00
Lauri Ojansivu 3e1865b3dd Upgraded to Meteor 3.6-beta.1 .
Thanks to Meteor developers !
2026-09-22 00:15:20 +03:00
github-actions[bot] 254f4c9d44 Bump versions for v11.90 2026-09-20 23:32:05 +00:00
github-actions[bot] 9c1a5a3dcb Bump versions for v11.89 2026-09-20 20:53:06 +00:00
github-actions[bot] a44adf6b8e Bump versions for v11.88 2026-09-20 18:18:43 +00:00
Lauri Ojansivu a990e7f202 Provide full MIME detection across server platforms
Share native file and bundled libmagic detection across uploads, extension correction and administrator file checks. Include the portable WASM database in runtime dependencies, stage native file for Snap and Linux setup, and verify release assets before smoke boot.

Cover portable detection with native file absent, missing dependencies/assets, isolated release layout and HTML diagnostics in Chromium, Firefox and WebKit.

Thanks to xet7 !
2026-09-20 21:06:30 +03:00
Lauri Ojansivu 62db6d74d1 Merge remote-tracking branch 'origin/main' 2026-09-20 11:16:36 +03:00
Lauri Ojansivu b104edeef1 Add source-loaded development server and sequential EVERYTHING testing
Add Dev server nobuild to both build menus with shared URL and port options. Load checkout JavaScript and templates in memory using the installed Meteor toolchain; start its bundled MongoDB on the next port and wait for owned database shutdown.

Run server, Node, import, E2E and all supported Chromium, Firefox and WebKit regressions sequentially, stopping on failure. Preserve CommonJS semantics, native fetch, dynamic import namespaces and client source access boundaries. Document verified results and the remaining Windows and intermittent Firefox limits.

Thanks to xet7 !
2026-09-20 05:37:00 +03:00
github-actions[bot] 289ff9fb17 Bump versions for v11.87 2026-09-19 16:23:58 +00:00
github-actions[bot] e1e64e92b4 Bump versions for v11.86 2026-09-18 04:39:23 +00:00
github-actions[bot] 1657a96943 Bump versions for v11.85 2026-09-17 15:17:56 +00:00
github-actions[bot] 4f5013ec48 Bump versions for v11.84 2026-09-17 14:04:58 +00:00
github-actions[bot] 97f74ea3b5 Bump versions for v11.83 2026-09-15 23:48:36 +00:00
github-actions[bot] f32a0f7e10 Bump versions for v11.82 2026-09-15 22:40:21 +00:00
github-actions[bot] f238c02af7 Bump versions for v11.81 2026-09-15 22:23:51 +00:00
github-actions[bot] 7b249fe551 Bump versions for v11.80 2026-09-14 22:04:52 +00:00
github-actions[bot] 79fe622d20 Bump versions for v11.79 2026-09-14 11:40:29 +00:00
github-actions[bot] 634e32620c Bump versions for v11.78 2026-09-14 11:32:07 +00:00
github-actions[bot] 605c6caf41 Bump versions for v11.77 2026-09-14 09:55:00 +00:00
github-actions[bot] 25a6c30785 Bump versions for v11.76 2026-09-14 01:37:00 +00:00
github-actions[bot] e556118a99 Bump versions for v11.75 2026-09-14 00:45:24 +00:00
github-actions[bot] 3e06727607 Bump versions for v11.74 2026-09-14 00:28:56 +00:00
github-actions[bot] e31410b330 Bump versions for v11.73 2026-09-13 21:57:44 +00:00
Lauri Ojansivu 35082f7d71 Upgrade Meteor to 3.6 beta and Rspack to 2.2
Commit Meteor 3.6-beta.0 release and package pins, the matching Docker Meteor metadata, @meteorjs/rspack 3.0.0-beta.1, Rspack CLI/core/dev-server 2.2 and the explicit SWC compiler. Update the npm lockfile consistently with the development dependencies and pin existing account packages.

All 1,015 Node suites and the parser compilation and version consistency regressions pass. Full Meteor bundle verification remains pending at local tool startup.

Thanks to xet7 !
2026-09-13 22:16:30 +03:00
github-actions[bot] f2d7faf4da Bump versions for v11.72 2026-09-11 20:31:23 +00:00
Lauri Ojansivu 49eaade957 Fix board JSON exports containing HTML card text
Use a Node-compatible HTML sanitizer so both attachment modes complete instead of throwing at the first HTML-bearing card. Abort partial HTTP transfers on failure and cover complete JSON, attachment bytes and browser downloads.

Thanks to xet7 !
2026-09-11 23:28:44 +03:00
github-actions[bot] 3eae053fe0 Bump versions for v11.71 2026-09-11 19:37:03 +00:00
github-actions[bot] 9d75895707 Bump versions for v11.70 2026-09-11 12:50:08 +00:00
Lauri Ojansivu 84c7140012 CHANGELOG: link the Star Swimlane/List/Card entry to its commit (#1172). 2026-09-10 21:13:00 +03:00
Lauri Ojansivu e5e4c97154 Give Frappe Gantt its own Board View page; add DHTMLX Gantt
Frappe Gantt was embedded below WeKan's own Gantt view on the same page.
It is now its own separate Board View menu entry and page, matching how
every other view (Swimlanes, List, Calendar, Statistics, ...) works: pick
it from the Board View menu, see only that view.

Adds a third Gantt option the same way: DHTMLX Gantt Community Edition,
genuinely MIT-licensed as of v10 (verified against the LICENSE.md text
inside the published package, not just the npm license field - the
project's own issue #2870 rejected an earlier DHTMLX Gantt proposal in
2020 for being GPL, so that distinction matters here). Zero runtime
dependencies, lazy-loaded the same way as Frappe Gantt. Unlike Frappe
Gantt's CSS, dhtmlx-gantt's package.json has no "exports" map at all, so
its CSS resolves through plain subpath resolution with no vendoring
needed. It is a page-wide singleton (`gantt`, not a class instantiated per
container), so it is torn down with destructor() on every re-render and
template destroy rather than merely cleared.

Both alternatives draw the same start/due/end task set as WeKan's own
Gantt view and export through the existing 'gantt' chart export route.

A separator now also sits between Statistics and the Gantt group in the
Board View menu, matching the existing grouping convention.

Thanks to xet7 !
2026-09-10 17:43:30 +03:00
Lauri Ojansivu 5d5317d968 Add Frappe Gantt below the existing Gantt view, draw report charts with Chart.js
Two full-featured, permissively-licensed charting libraries replace the
plain CSS bars used so far, chosen for a copyfree license and a minimal,
auditable dependency tree over feature richness: Frappe Gantt (MIT, zero
runtime dependencies, ~15 KB gzipped) and Chart.js (MIT, one dependency -
@kurkle/color, also MIT). Both are loaded with a dynamic import() so their
code only reaches the browser when the relevant view is actually opened.

WeKan's own hand-rolled Gantt view (the week-grid table) is kept exactly as
it is; Frappe Gantt is added below it in the same board view
(client/components/gantt/frappeGantt.js/.jade/.css), drawing the same
start/due/end task set from the board's cards, opening a card on click, and
exporting to PDF/Excel through the existing 'gantt' chart export route
(models/exportCharts.js) rather than a second pipeline for identical data.

The 10 board report chart views (client/components/boards/charts/) draw a
Chart.js bar chart instead of a stack of CSS-width divs, reusing the same
computeBarRows data normalization and the same per-chartKey export route
unchanged - only the rendering changed.

Thanks to xet7 !
2026-09-10 17:10:08 +03:00
Lauri Ojansivu 373980ac8a Restore the full-featured DOCX/XLSX/PPTX viewer and native PDF preview
The minimal server-rendered GIF-slideshow document preview (added this week
to cut dependency weight) kept failing with a bare 415 - its own
rasterization dependency chain (pdf-to-img -> pdfjs-dist's optional
@napi-rs/canvas) needed three separate fixes in a single day for a missing
package, a worker path resolved into the wrong bundle directory, and a stale
stored filename, and still left a text-only fallback as the best case for a
PDF.

Restore the previous full-featured viewer instead: office-open-xml-viewer
(MIT, canvas-based, zero runtime dependencies) renders DOCX/XLSX/PPTX
client-side, and PDF goes back to the browser's own native <embed> viewer -
simpler, zero extra dependencies, and gets the browser's own zoom/search/
print for free.

The server-side full-text search this week's change introduced is kept:
server/lib/documentGif.js now does nothing but extract plain text for the
search index (indexDocumentText, triggered in the background from
Attachments.onAfterUpload) - no rendering, no HTML, no page images - so
pdf-to-img and @napi-rs/canvas are dropped entirely (nothing rasterizes a
PDF page server-side any more) while pdfjs-dist stays, now as a direct
dependency, for its text-only extraction. Searching attachment contents from
the card search box keeps working exactly as before.

Thanks to xet7 !
2026-09-10 16:59:42 +03:00
Lauri Ojansivu 9b9c2fe6e4 Fix PDF/DOCX/XLSX/PPTX preview 415 when the optional canvas dep is missing
pdf-to-img rasterizes PDF pages through pdfjs-dist's optionalDependency
@napi-rs/canvas. A Docker/Snap build that skips optional dependencies, or
lacks a prebuilt binary for its target architecture, then throws on the
very first PDF preview - "Cannot load @napi-rs/canvas", "Cannot polyfill
DOMMatrix" - which the generic catch in server/routes/universalFileServer.js
turned into a bare 415 with the real error never logged.

@napi-rs/canvas is now a direct dependency so it installs the same way
every other required package does. Rasterization is also no longer
all-or-nothing: pdfjs-dist's text extraction does not need canvas, so when
rasterizing still fails for any reason the PDF preview now degrades to
text-only pages (dropped images, kept text) instead of failing outright -
the same graceful degradation the minimal viewer already applies to an
unreadable embedded image in a DOCX/PPTX/XLSX. The three document-preview
routes now log the caught error before returning 415.

Thanks to rmb82 and xet7 !

Fixes #6685,
2026-09-10 16:22:02 +03:00
github-actions[bot] 14b2306f57 Bump versions for v11.67 2026-09-10 00:16:23 +00:00
github-actions[bot] ad0fa1c2f1 Bump versions for v11.66 2026-09-09 19:19:04 +00:00
github-actions[bot] d3cc6000ab Bump versions for v11.65 2026-09-09 16:42:57 +00:00
github-actions[bot] 88732d3e90 Bump versions for v11.64 2026-09-09 11:22:20 +00:00
github-actions[bot] da761a3eff Bump versions for v11.63 2026-09-08 20:06:00 +00:00
github-actions[bot] 57225214bf Bump versions for v11.62 2026-09-08 18:36:25 +00:00
Lauri Ojansivu ca8105d32f Updated Rspack.
Thanks to developers of Rspack !
2026-09-08 18:27:44 +03:00
github-actions[bot] 071a6348b3 Bump versions for v11.60 2026-09-08 10:38:19 +00:00
github-actions[bot] f5fbda6ea6 Bump versions for v11.58 2026-09-07 18:54:42 +00:00
github-actions[bot] cbe210d0b4 Bump versions for v11.56 2026-09-07 17:28:13 +00:00
github-actions[bot] 47a29299a3 Bump versions for v11.55 2026-09-07 14:48:31 +00:00
Lauri Ojansivu 31dc055d4e Add safe accessible HTML4 rules import 2026-09-07 03:29:19 +03:00
Lauri Ojansivu 78fc4794d1 Add HTML4 JSON and Excel file imports
Stream bounded multipart uploads into private temporary files, validate the signed cookieless form before importing, and remove every temporary file after use. Reuse the normal sanitized board importer for both JSON and Excel uploads and cover both formats with browser tests.
2026-09-06 19:50:35 +03:00
Lauri Ojansivu d1b262d29a Lazy-load browser export code 2026-09-06 18:35:33 +03:00