Commit Graph
229 Commits
Author SHA1 Message Date
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
Lauri Ojansivu bb267fddf4 Restore anonymous email verification links
Configure the maintained accounts package's verification route so generated links reach /verify-email/:token and consume the token instead of falling through to WeKan's signed-in guard. Also expose the companion resend route. Add positive and negative wiring coverage plus live Chromium cases proving valid links verify, consume, and sign in while invalid tokens do none of those.

Thanks to Sunildevb, jgrocha, nickian, bbyszio, teutat3s, MichaelW-SD, alessiozanutta, mbalmer, Ranzo, DarthJahus, AndreLCRodrigues and xet7 !

Fixes #1426,
2026-08-25 18:46:03 +03:00
Lauri Ojansivu 9bc1896ff7 Refresh hidden grain layouts when their iframe resumes
A Sandstorm grain can finish rendering while its iframe is hidden, leaving responsive helpers with the hidden frame dimensions because returning does not reliably emit resize. Coalesce visibility, page-show, and focus resumes, wait until the next rendered frame, and dispatch the ordinary resize path so the sidebar, header, popups, and mobile layout measure the restored viewport. Keep registration safe across Meteor hot reloads and add positive, negative, wiring, and live Chromium regressions.

Thanks to neynah, dwrensha and xet7 !

Fixes #697,
2026-08-25 18:39:57 +03:00
Lauri Ojansivu 6aa455fb61 Close the Chinese font fallback report
The Japanese-specific Yu Gothic and Meiryo fallbacks were removed in 2017, and current WeKan also keeps the root language synchronized with the selected locale while offering a validated per-user font override. Add positive and negative source coverage plus a live Chromium regression that selects Chinese, verifies html lang, and rejects Japanese fonts from the computed default stack.

Thanks to ZhouMoHan-work and xet7 !

Fixes #914,
2026-08-25 18:32:14 +03:00
Lauri Ojansivu 5f16d1cbbf Select the exact card in the long-list regression
Use the seeded card identifier instead of substring title matching so Long Card 1 cannot also select Long Card 10. The focused Chromium test now passes against an isolated live Meteor development server and MongoDB.

Thanks to lenxeon and xet7 !

Fixes #761,
2026-08-25 18:28:24 +03:00
Lauri Ojansivu a68ad67977 Close the long-list bottom drop report
The current card drag handler scrolls the list body under the pointer, refreshes sortable geometry after scrolling, and keeps the board still until the list reaches its end. Correct the focused source regression for the formatted conditional and add a Chromium regression that drags through a long list, observes vertical scrolling, and verifies the persisted card order changes.

Thanks to lenxeon and xet7 !

Fixes #761,
2026-08-25 18:24:08 +03:00
Lauri Ojansivu 1ad5d2ba3c Close the missing card activity report
Card details already exposes Activities through its collapsed section and requests full history when opened, independent of obsolete showActivities flags. Add a browser regression that seeds a persisted card activity, opens the section, and requires that exact history entry to render.

Thanks to franksiler and xet7 !

Fixes #1658,
2026-08-25 18:18:47 +03:00
Lauri Ojansivu 6f6fe229a3 Close the linked-card avatar refresh report
Authorized linked-source publications already include the minimal member avatar profile after source-board visibility filtering. Extend the cross-board browser regression with a second member's custom avatar and verify that it remains rendered after leaving and re-entering the linking board.

Thanks to theonafor and xet7 !

Fixes #1946,
2026-08-25 18:17:40 +03:00
Lauri Ojansivu b552af1606 Import legacy boards privately by default
Treat only an explicit supported public permission as public during WeKan board import. Missing Sandstorm-era fields, malformed values, and lookalikes now fail closed to private while explicit private and public exports retain their intended visibility. Add focused and browser regressions.

Thanks to xet7 !

Fixes #1991,
2026-08-25 18:15:26 +03:00
Lauri Ojansivu 6e4e1a5db7 Close the stale REST token report
The logout endpoint already revokes the presented token or all sessions with explicit authorization guards. Add an end-to-end API regression that logs out with a real bearer token, verifies its database removal, and requires the revoked token to receive HTTP 401 afterward.

Thanks to Gobliins, MonkeyNinja, AbdullahAlAsad and xet7 !

Fixes #1437,
2026-08-25 18:13:38 +03:00
Lauri Ojansivu 712ce25d0e Close the sidebar label drag report
The reactive droppable fix already reinitializes cards added after the list first renders. Add a browser regression that inserts a late card, performs a real pointer drag from the sidebar label, and verifies the label assignment in the database.

Thanks to marco-aa, ocdtrekkie and xet7 !

Fixes #1554,
2026-08-25 18:12:41 +03:00
Lauri Ojansivu 500452f786 Close the cross-board card ordering report
The synchronous client no-cache fix already prevents cross-board moves from deriving NaN sort values. Add a browser regression that moves a card into a populated list on another board, requires three distinct finite positions, and confirms every destination card remains visible.

Thanks to rlach and xet7 !

Fixes #2494,
2026-08-25 18:08:43 +03:00