Commit Graph
3195 Commits
Author SHA1 Message Date
Lauri Ojansivu cb74189de6 Document the qs dependency update 2026-09-03 00:16:56 +03:00
Lauri Ojansivu 8fc63e2366 Document FerretDB and mongo-tools updates 2026-09-02 23:47:19 +03:00
Lauri Ojansivu 1b875537dd Make Admin email Playwright tests complete
Keep token login on its live Meteor connection, subscribe from the pane that owns the email form, and retain the new mail fields in the Settings schema.\n\nThanks to xet7 !
2026-09-01 23:09:31 +03:00
Lauri Ojansivu 395f10e030 Add Admin Panel Nodemailer service settings
Keep service-specific values on the server, never publish passwords to the browser, and let the administrator opt out of MAIL_URL in favor of Nodemailer's bundled SMTP service profiles. Add unit, negative, publication, and browser coverage.\n\nThanks to xet7 !
2026-09-01 23:09:31 +03:00
Lauri Ojansivu e180f53faf Complete Upcoming with the persistent-session fix
Document the post-v11.41 FerretDB logical OR correction as the user-visible bug fix and retain its four-backend conformance coverage as developer tooling. Let the changelog format guard work at the beginning of a newly archived month when only a few entries exist.

Thanks to jeremy-arsia and xet7 !
2026-09-01 17:29:31 +03:00
Lauri Ojansivu f1793294b1 Test dotted-array logical OR on every database backend
Add the FerretDB issue 17 query shape to the shared conformance catalogue so SQLite, PostgreSQL, MySQL and MariaDB must return the same nested-array match.

Thanks to jeremy-arsia and xet7 !
2026-09-01 17:27:34 +03:00
Lauri Ojansivu d0e577b9ab Keep the verified sort popup open in its browser test
Select descending order from the popup whose active ascending state was just asserted, avoiding an unnecessary close and a duplicate header trigger.

Thanks to xet7 !
2026-09-01 14:02:33 +03:00
Lauri Ojansivu d8dddeafa7 Make All Boards sorting reactive
Apply the selected sort mode locally as soon as the popup closes while the server persists it, and roll back the local choice if persistence fails. Use the same effective mode for paging, popup state and custom ordering, with browser coverage for visible order and stored profile state.

Thanks to jullbo and xet7 !

Fixes #6664,
2026-09-01 13:58:43 +03:00
Lauri Ojansivu c8e7b704df Close attachment content-type bypasses
Reject slash-separated and unquoted event handlers, validate filesystem uploads as well as migrated uploads, and force browser-executable attachment metadata through sandboxed opaque downloads on every storage backend.\n\nThanks to avrlab233 and xet7 !
2026-09-01 10:50:55 +03:00
Lauri Ojansivu 0f8f9845a4 Isolate simultaneous browser user sessions
Use separate browser contexts so Meteor resume tokens in origin-scoped local storage cannot replace each other during the multi-user stability test.\n\nThanks to xet7 !
2026-09-01 10:00:54 +03:00
Lauri Ojansivu 3c35ecee4e Keep full browser and database tests reliable
Guard deferred swimlane setup after reactive view destruction, keep authenticated browser navigation inside the live application, and wait for Meteor before checking invalid verification tokens. Route database conformance through host Docker when running inside Flatpak and make card opening resilient to subscription rerenders.\n\nThanks to xet7 !
2026-09-01 03:05:22 +03:00
Lauri Ojansivu 38cd44fed8 Test board view and muted notification regressions
Exercise persisted board views and swimlane card scope, muted assignment notifications, and server-backed board favorites in Playwright.

Thanks to Nissulya, hmeunier95 and xet7 !
2026-09-01 00:25:16 +03:00
Lauri Ojansivu d9c5028ae7 Make board content follow view changes
Use the one pending-aware board-view source for both the switcher label and every content layout. Resolve each rendered list container swimlane explicitly so an undefined relative Jade context cannot duplicate cards across lanes, and persist every board favorite through the authenticated server method.

Thanks to hmeunier95 and xet7 !

Fixes #6660,
2026-08-31 22:05:53 +03:00
Lauri Ojansivu 7b060f57eb Keep cards in their real swimlanes and persist view changes
Include archived swimlanes when distinguishing real card homes from deleted-swimlane orphans, while choosing the first active swimlane for genuine fallback cards. Keep an authenticated board-view choice pending until the reactive profile confirms it so method callback ordering cannot snap the interface back.

Thanks to hmeunier95 and xet7 !

Fixes #6659,
2026-08-31 13:27:15 +03:00
Lauri Ojansivu 4be77e7189 Honor muted boards for every notification source
Apply the board watch level at the final recipient boundary so direct assignments, mentions, card or list watchers, and broad-event notifications cannot send mail or profile notifications to muted users. Keep Watching and Tracking active members eligible, and cover missing/default-muted, inactive and non-member recipients.

Thanks to Nissulya and xet7 !

Fixes #6658,
2026-08-31 13:27:15 +03:00
Lauri Ojansivu 5969643f5c Switch board views without reloading
Render an authenticated user's pending board-view choice reactively while the server persists it, and remove the forced full-page reload that made Calendar and Gantt briefly appear and then disappear.

Thanks to hmeunier95 and xet7 !

Fixes #6657,
2026-08-31 11:12:18 +03:00
Lauri Ojansivu 18ee579009 Await uploaded avatar selection
Keep an avatar upload in progress until the user's profile pointer to the uploaded file is durably written, so reactive refresh cannot restore the previous default avatar.

Thanks to hmeunier95 and xet7 !

Fixes #6656,
2026-08-31 11:12:18 +03:00
Lauri Ojansivu b9690c068a Persist profile changes through server methods
Save language, full name and initials through authenticated, awaited server methods instead of direct optimistic client writes that roll back. Validate supported languages and field lengths, and cover logged-out rejection.

Thanks to mzch and xet7 !

Fixes #6655,
2026-08-31 11:12:18 +03:00
Lauri Ojansivu cc94828e85 Revert "Auto-detect packaged startup endpoints"
This reverts commit 0bf470c57e.
2026-08-31 04:31:20 +03:00
Lauri Ojansivu d2427bd8b5 Honor disabled Snap database comparison
Skip the database comparison launcher entirely when autopick is false, and initialize FerretDB polling defaults safely when strict shell mode finds the variables unset. Add regressions for both startup failures reported from revision 3872.\n\nThanks to xet7 !
2026-08-31 00:25:49 +03:00
Lauri Ojansivu 4f0d78daf8 Keep Snap startup inside strict confinement
Replace the host timeout command used by automatic database comparison with a bounded shell process monitor. Strictly confined snaps cannot execute /usr/bin/timeout, so that attempt stopped startup before WeKan could bind its web port. Preserve timeout cleanup, status 124 diagnostics, and add malformed-setting and confinement regressions.\n\nThanks to xet7 !
2026-08-31 00:25:49 +03:00
Lauri Ojansivu 830d1f31c5 Recover stale Snap startup network locks 2026-08-30 23:39:23 +03:00
Lauri Ojansivu e1a8ac0018 Use the live Snap database URL in problem reports 2026-08-30 23:32:46 +03:00
Lauri Ojansivu eaaa0dbbf7 Keep website version tests on release pins 2026-08-30 22:40:33 +03:00
Lauri Ojansivu ec26abdc91 Bundle portable PDFKit in every release target 2026-08-30 22:40:33 +03:00
Lauri Ojansivu 1eaf0a117a Remove incomplete version test escaping 2026-08-30 21:31:49 +03:00
Lauri Ojansivu 6c39c6ad32 Keep Windows PDF and Snap release builds portable 2026-08-30 21:31:49 +03:00
Lauri Ojansivu b39d57bf78 Publish and use the WeKan version manifest
Read the newest component versions from the fixed wekan.fi/version.txt endpoint and render its strictly validated five lines as escaped preformatted text in the Admin Version pane.

Generate the same manifest and install-page block from the release's Dockerfile pins and latest validated FerretDB tag in both local and release-all website flows. Add positive, negative, workflow and UI coverage.

Thanks to xet7 !
2026-08-30 18:04:24 +03:00
Lauri Ojansivu c6b8c73015 Translate Admin version check messages
Use dedicated translations for the Version pane check button and its safe network-failure message. Keep every previously complete locale complete, retain English placeholders only in the existing 37 incomplete locales, and cover key order and representative translations.\n\nSome low-confidence translations use each locale's existing Check, Version and Error terminology and can be refined by native speakers.\n\nThanks to xet7 !
2026-08-30 18:04:24 +03:00
Lauri Ojansivu 3b613201a3 Add newest version check to Admin Panel
Show the latest published WeKan and FerretDB release from the Version pane while keeping GitHub access server-side and restricted to Global Admins. Validate version tags and exact release URLs before rendering escaped text, and report network or invalid-response failures without exposing upstream content. Add unit, negative, RTL and browser coverage.\n\nThanks to xet7 !
2026-08-30 18:04:24 +03:00
Lauri Ojansivu ad0f1d80f0 Apply automatic endpoints to Docker Compose
Leave ROOT_URL, PORT and MONGO_URL inactive in every single-instance Compose configuration. Derive database URLs from Compose service metadata, align the published port with automatic port 80, and document the resolved console output in Compose and both offline launchers.

Thanks to xet7 !
2026-08-30 18:04:24 +03:00
Lauri Ojansivu 924d8269ea Resume HttpOnly sessions after page reload
Start Meteor's cookie login after WeKan enables HttpOnly-cookie mode, because the Accounts client constructor has already passed its one-time resume check by then. Full refreshes and board-view navigations now restore the authenticated private-board session without returning the user to Sign In.

Thanks to lucasarrudadev and xet7 !

Fixes #6654,
2026-08-30 18:04:24 +03:00
Lauri Ojansivu 0bf470c57e Auto-detect packaged startup endpoints
Use the current network IPv4 address and an available web port when ROOT_URL is not configured, preferring port 80 and omitting its URL suffix. Keep bundled FerretDB on a separate loopback-only free port and report both resolved endpoints at startup across bundles, containers, AppImage, Windows and Snap.

Thanks to xet7 !
2026-08-30 18:04:24 +03:00
Lauri Ojansivu 2c61454c17 Keep custom field deselection compatible with FerretDB
Document and pin the partial-document pull used to remove a custom field without depending on its stored value. FerretDB now implements the MongoDB matching semantics this operation requires.

Thanks to Heart1010 and xet7 !

Fixes #6611,
2026-08-30 13:24:32 +03:00
Lauri Ojansivu 7f9ed69159 Repair test sessions after HttpOnly token migration
Persist seeded browser-test credentials through the native HttpOnly cookie, classify the FerretDB preflight helper correctly, and keep Windows release commands self-contained when no git remote exists.\n\nThanks to xet7 !
2026-08-30 07:20:26 +03:00
Lauri Ojansivu 9129125f40 Fix release build races and packaged Windows startup
Make the AppImage workflow wait for its extra-architecture bundle inputs, let the riscv64 Launchpad waiter return its clean timeout status, and bypass Enigma's false legacy-Windows result before starting Node.js.\n\nThanks to xet7 !
2026-08-30 00:02:52 +03:00
dependabot[bot] 141eb56c7c Bump mongodb from 7.5.0 to 7.6.0 in /tests/playwright
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 7.5.0 to 7.6.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v7.5.0...v7.6.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-version: 7.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-29 20:32:42 +00:00
Lauri Ojansivu 78a3a21c39 Keep resume tokens in HttpOnly cookies
Enable Meteor 3 native HttpOnly resume authentication with in-memory client credentials, remove the JavaScript cookie and local-storage synchronization, and harden header-login cookies.

Thanks to binary-lover and xet7 !
2026-08-29 18:31:41 +03:00
Lauri Ojansivu 96b42c3d38 Render notification titles safely in email
Escape the completed localized notification before creating HTML line breaks and remove subject newlines so stored card, list, board, actor, comment, and translation values remain text.

Thanks to binary-lover and xet7 !
2026-08-29 18:31:41 +03:00
Lauri Ojansivu 7737762143 Scope global search selectors to authorized boards
Reject executable selectors before database access, conjoin client selectors with the caller board scope, and independently sanitize and rescope stored pagination selectors from older releases.

Thanks to crypto-nidh and xet7 !
2026-08-29 18:15:40 +03:00
Lauri Ojansivu 372f0a8889 Use the archived Enigma Virtual Box installer
Download the reviewed Enigma Virtual Box 11.30 installer from the WeKan v11.25 release and retain its pinned SHA256, so a vendor-side replacement cannot silently change the Windows packaging tool.\n\nThanks to xet7 !
2026-08-29 15:37:41 +03:00
Lauri Ojansivu a57620dc1e Document the portable Windows executable
Add the Enigma Virtual Box single-file package to the upcoming release notes and allow WeKan release entries to link their companion charts commits directly.\n\nThanks to xet7 !
2026-08-29 15:33:39 +03:00
Lauri Ojansivu 5ed46d1f2e Publish a portable Windows single-file WeKan
Wrap the verified win64 release bundle with Enigma Virtual Box FREEWARE, launch its existing start-wekan.bat so Node.js and FerretDB SQLite run together, and keep persistent data beside the executable in wekan-files. Smoke-test the final executable and integrate it with full and missing-asset releases.\n\nThanks to xet7 !
2026-08-29 15:33:38 +03:00
Lauri Ojansivu ab8c706137 Refresh cached FerretDB in all Compose variants
Make the PostgreSQL, MySQL, MariaDB and SAP HANA FerretDB v1 services resolve the concrete latest release, verify its published checksum and replace a differently tagged cached executable atomically. Extend binary freshness regression coverage to every Compose variant.\n\nThanks to xet7 !
2026-08-29 15:00:04 +03:00
Lauri Ojansivu 2258d82289 Always resolve newest release binaries
Resolve Docker's latest FerretDB tag on every start, replace a differently tagged cached binary only after checksum verification, and pin release-workflow tests to newest FerretDB, mongo-tools-patches, and applicable node-patches assets.\n\nThanks to xet7 !\n\nFixes #6646,
2026-08-29 15:00:04 +03:00
Lauri Ojansivu 7ac9588884 Deliver persistent login support with FerretDB
Require FerretDB v1.63.0 or newer when assembling WeKan bundles so Meteor's standard nested positional resume-token projection is available. Pin Docker to that compatible release and replace cached older binaries atomically instead of retaining them forever.\n\nThanks to majo1989 and xet7 !\n\nFixes #6646,
2026-08-29 15:00:04 +03:00
Lauri Ojansivu 162740e885 Keep notification title placeholders out of translations
Remove the board-only and board/card notification layouts from every locale bundle. Format those structural titles in server code, retain translation fallback for prose titles, and cover both paths plus all locale files.\n\nThanks to xet7 !
2026-08-29 12:50:20 +03:00
Lauri Ojansivu e85d9615d8 Fix Snap assembly and architecture preflight
Copy the MongoDB-to-FerretDB migrator from the repository after Snapcraft enters .build, and retry transient base-image manifest failures without accepting partial responses.\n\nThanks to xet7 !
2026-08-29 12:38:04 +03:00
Lauri Ojansivu 6d50564c82 Isolate RuleBleed browser regression data
Scope the denied-rule assertion to its fixture board and remove automation documents during board cleanup so interrupted or earlier browser runs cannot contaminate later projects.\n\nThanks to xet7 !
2026-08-29 09:43:23 +03:00
Lauri Ojansivu dffe85cce4 Block unauthorized cross-board rule actions
Validate automation destinations before storing a rule and again before executing legacy or imported move, link, and bulk-move actions. Record denied attempts through the bounded RuleBleed canary.\n\nThanks to crypto-nidh and xet7 !
2026-08-29 09:43:23 +03:00