Commit Graph
240 Commits
Author SHA1 Message Date
Lauri Ojansivu bfac4c842f Keep layout regressions aligned with mobile mode 2026-09-05 23:51:02 +03:00
Lauri Ojansivu e7dde0db3c Align mobile card and swimlane drag handles
Center the minicard drag glyph directly beneath its menu without a scaled offset. Use the same compact swimlane handle markup and position on touch and mouse devices, and cover both computed positions in the live browser suite.

Thanks to xet7 !
2026-09-05 17:03:28 +03:00
Lauri Ojansivu cb2dec9dd7 Keep mobile top header stable when opening lists
Do not inject board list names into the quick-access bar when a list opens in Mobile Mode. Keep list navigation in the swimlane rows and verify the header text and height remain unchanged in the live browser test.

Thanks to xet7 !
2026-09-05 16:47:26 +03:00
Lauri Ojansivu 7968f522d8 Keep mobile list row heights stable across swimlanes
Scope the mobile list-header selected state to the list whose ID is selected, so compact rows in other swimlanes retain the same controls and height. Extend source and live browser coverage to compare untouched row heights before and after opening another swimlane's list.

Thanks to xet7 !
2026-09-05 16:35:48 +03:00
Lauri Ojansivu c002bc2c15 Keep other swimlane lists visible in mobile mode 2026-09-05 16:28:40 +03:00
Lauri Ojansivu 87896365ae Fix newest unit and minicard browser tests 2026-09-05 12:53:50 +03:00
Lauri Ojansivu b9d3d94e59 Test card sorting with drag handles enabled
Cover card reordering through the visible handle as well as through the title when handles are disabled.\n\nThanks to xet7 !
2026-09-05 11:55:35 +03:00
Lauri Ojansivu 2c9896ef97 Use the minicard title as a drag surface
Keep direct minicard title editing commented out. Without drag handles, the title moves the card; with handles, it remains available for board drag-scrolling.\n\nThanks to xet7 !
2026-09-05 11:54:43 +03:00
Lauri Ojansivu e8de8ca564 Isolate browser report and width tests 2026-09-04 00:17:30 +03:00
Lauri Ojansivu fe35153ec7 Make Playwright storage and view tests deterministic 2026-09-03 19:17:50 +03:00
Lauri Ojansivu b527894001 Add safe Office attachment previews 2026-09-03 02:35:23 +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 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 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 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 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 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
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 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
Lauri Ojansivu 357bdc1e94 Fix failing regression suites
Restore protected activity placeholders in locale data, align source-based assertions with the current implementations, exclude diagnostic and runtime-only paths from parity checks, and allow the reactive browser test its observed bounded delivery time.\n\nThanks to xet7 !
2026-08-29 06:28:28 +03:00
Lauri Ojansivu 29fd503317 Refresh lazy card windows after card changes
Keep FerretDB's bounded card window as a fetched snapshot, but observe the unrestricted indexed selector and diff a fresh window whenever a matching card changes. Publish added, changed and removed DDP messages so remote edits and cross-list moves render without a browser reload. Cover additions, edits, removals, unchanged cards, cleared fields and a forced-lazy browser scenario.

Thanks to hmeunier95 and xet7 !

Fixes #6645,
2026-08-28 17:40:10 +03:00
Lauri Ojansivu 34a1cc9e13 Check location removal on the seeded card
Name the issue in the live regression and query the authoritative seeded Alpha Card by board and title before asserting its locations array is empty.

Thanks to majo1989 and xet7 !
2026-08-28 15:00:09 +03:00
Lauri Ojansivu 7dd3673c5f Keep archived helper boards and location removal reachable
Show archived subtask helper boards in Archive while continuing to hide active helpers from ordinary board lists. Resolve the surrounding card from the nested location row before awaiting removal.

Add positive, negative and live browser regressions for both paths.

Thanks to majo1989 and xet7 !

Fixes #6643, #6644,
2026-08-28 14:57:08 +03:00
Lauri Ojansivu f011debe31 Fix remaining WeKan matrix regressions
Apply persisted profile languages reactively after login resume, give the speech-scroll regression a deterministic overflow region, and bound every job inside the reusable AppImage workflow while teaching the release guard about callable jobs.

Thanks to xet7 !
2026-08-28 11:45:50 +03:00
Lauri Ojansivu ce5ef7fde5 Make card interaction regressions browser-stable
Route card-opening specs through the shared wrapper-link helper now that title text intentionally edits inline. Keep the Firefox mouse-selection drag over rendered text, and replace a strict union locator with the stable board canvas when checking that a failed copy did not crash the page.

Thanks to jullbo, rmb82 and xet7 !

Fixes #6639,

Fixes #6641,
2026-08-28 08:24:49 +03:00
Lauri Ojansivu 8031e2089f Keep card browser tests on stable targets
Retain the card id while inline editing replaces searchable title text, and have the shared open-card helper activate the enclosing card link instead of the intentional title editor target. This makes the real browser regressions exercise the fixed interactions reliably.

Thanks to jullbo, rmb82 and xet7 !

Fixes #6639,

Fixes #6641,
2026-08-28 07:09:45 +03:00
Lauri Ojansivu 6acfb396e4 Confirm REST user deletion results
Use the database removal count to distinguish a confirmed deletion from a missing user and unexpected outcomes. Extend OpenAPI generation with repeatable response contracts, document the 200 and 404 bodies, and cover authorization, failures, generated documentation, and the live REST path.

Thanks to AhmedLukman and xet7 !

Integrates PR #6642.
2026-08-28 07:09:45 +03:00
Lauri Ojansivu b8528e30ce Keep card title mouse selection native
Exclude inline title editors and their controls from card sorting and window dragging so selecting title text with the mouse stays a native editing gesture. Cover the sortable guard, opened-card drag guard, and real browser selection behavior.

Thanks to rmb82 and xet7 !

Fixes #6641,
2026-08-28 07:09:45 +03:00
Lauri Ojansivu 052aa291a4 Keep markdown links clickable in card titles
Remove the fixed-width minicard title overlay that intercepted short rendered links. Ordinary title text remains an accessible inline-edit control, while links keep their viewer click behavior.

Add positive, negative, accessibility, and browser regression coverage.

Thanks to jullbo and xet7 !

Fixes #6639,
2026-08-28 07:02:17 +03:00
Lauri Ojansivu 18bcbdd0d4 Bind search pagination sessions to their users
Require both pagination publications to authenticate the subscriber and load only a search session owned by that same user. Record attributable logged-out probes as SessionBleed without letting logging affect the denial.

Thanks to crypto-nidh and xet7 !
2026-08-27 10:19:56 +03:00
Lauri Ojansivu b26c6d3c59 Restore card detail content gutters
Keep the visible card header and body inside the padded card-details canvas, and verify the real content edges on the widened desktop panel instead of only checking an empty wrapper's computed style.

Thanks to rmb82 and xet7 !

Fixes #6638,
2026-08-27 10:14:46 +03:00
Lauri Ojansivu 04bd60dd3f Keep cross-board move destinations reactive
Give move and copy dialogs an authorization-filtered destination subscription and query its Minimongo results reactively, so boards created through WeKan remain selectable. Replace the REST-only #2494 regression with a browser-driven board, list, card and Move Card workflow across all three engines.\n\nThanks to rlach and xet7 !\n\nFixes #2494,
2026-08-27 01:29:55 +03:00
Lauri Ojansivu 1b56821118 Verify cross-board card positioning through WeKan API 2026-08-27 01:01:21 +03:00
Lauri Ojansivu b9d3b6bd81 Keep private linked-card snapshots visible in tests 2026-08-27 00:36:05 +03:00
Lauri Ojansivu b6b0381110 Document VSCodium sandbox and test auth boundaries. 2026-08-26 22:50:18 +03:00
Lauri Ojansivu 7f9f3c66e4 Fix card gutters and date editor layout.
Thanks to Alishara and xet7 !

Fixes #6636,
2026-08-26 11:42:04 +03:00
Lauri Ojansivu fb10b6160c Make independent board regions speech-scrollable
Expose every list body and opened card as a named, keyboard-focusable region so speech-recognition and keyboard users can target the correct scrollbar. Cover the actual overflow elements and verify Page Down scrolls both regions in the live browser.

Thanks to ProdLead and xet7 !

Fixes #2499,
2026-08-25 20:22:42 +03:00
Lauri Ojansivu e10fc10c56 Close Japanese add-card label wrapping report
The scoped CJK wrapping fix from commit 9ddbc777d already keeps Japanese submit and footer labels intact without changing global Latin wrapping. Add a live Chromium regression that selects Japanese, opens the real add-card composer, and verifies the translated Add and Link controls remain single-line.

Thanks to arifer612, skye0402 and xet7 !

Fixes #4023,
2026-08-25 20:16:05 +03:00
Lauri Ojansivu 6af6db72db Keep card creators hidden on legacy minicards
Treat the dedicated minicard creator setting as opt-in when an older board does not contain it, matching both the schema default and the actual card rendering. Keep the separate opened-card creator choice independent and cover the legacy default plus explicit UI opt-in.

Thanks to tamasberesoebb and xet7 !

Fixes #3823,
2026-08-25 20:13:40 +03:00
Lauri Ojansivu 4c53324193 Close prefixed-path list and swimlane color report
Pin the existing Firefox submit-navigation fix for both color popups with positive and negative source coverage. Add a live browser regression that saves both colors and keeps the board under its configured URL prefix.

Thanks to RowhamD, cautiouscoyote and xet7 !

Fixes #4652,
2026-08-25 19:54:37 +03:00
Lauri Ojansivu 3cdc64d14d Restore board templates in the top bar
Restore the top-bar Create Board control and classify it as a board-template search just like Add Board. Keep the nested picker open while its template-container subscription becomes ready instead of returning to the parent popup with stale or empty data. Existing copy logic retains custom-field definitions. Add focused and live Chromium coverage for archived-template filtering, card exclusion, and custom-field copying.

Thanks to Jimmi61 and xet7 !

Fixes #3070,
2026-08-25 19:09:17 +03:00
Lauri Ojansivu ac0d9a3cd1 Save the first email on accounts without one
Treat a missing emails array as an empty profile address and let an authenticated user save their own email when Allow Email Change is enabled. Keep global administrators authorized, reject cross-user and disabled-setting writes, and store the new address unverified. Add focused and live Chromium regressions for the Sandstorm-shaped account.

Thanks to jpfleury and xet7 !

Fixes #2445,
2026-08-25 18:58:51 +03:00
Lauri Ojansivu 3c57cb876e Add Sandstorm users to any board
Replace the broken Powerbox-only member control with WeKan's maintained permission-checked member picker in multi-board grains. Existing grain identities can now be searched and attached to the selected board, while local email-account creation remains hidden because those accounts cannot use Sandstorm header authentication. Preserve configure-derived global admin rights and add focused plus live Chromium regressions for second-board membership.

Thanks to Mini-pen, drseussofporn, jpretori, ocdtrekkie, wellgoodthen, stoltenhoff and xet7 !

Fixes #2405,
2026-08-25 18:54:50 +03:00