Commit Graph
682 Commits
Author SHA1 Message Date
Lauri Ojansivu 80fb317fda Remember the board view per board.
The view menu sits on a board, but choosing a view there changed it for
every board, so one board could not stay on Calendar while another stayed
on Swimlanes. A view chosen on a board is now that board's own
(profile.boardViews, published to its owner beside the shared value). A
board without its own choice uses the view every board shared before, then
the board's default, so nothing changes for anybody until they choose a
view on a board. A choice made off any board still sets the shared view,
and the browser's stored view follows only that one. The server accepts only
a known view under a safe board key. Label text visibility per board, the
other half of #4256, was done earlier.

The guards that pinned the single shared view now pin both; a new test runs
the stored-view logic per board, and a Playwright case checks two boards.

Thanks to DimDz, Meeques and xet7 !

Fixes #4906,
Fixes #4256.
2026-10-08 12:12:24 +03:00
Lauri Ojansivu 9ad9813c09 Let a board admin resolve a Scrum undo or redo that stopped on a conflict.
A Scrum History undo, redo or restore keeps a checkpoint that blocks every
Scrum edit on its board until it finishes, and only its author could retry
it, with the same plan. When somebody else had changed one of its records,
its History row changed or its author lost write access, every retry failed
the same way, the checkpoint could not be discarded online or offline, and
the board's Scrum edits stayed blocked for good.

A retry that fails for a reason the next one would meet again now marks its
checkpoint. A board administrator sees such a checkpoint in the History
recovery notice and can roll it back, which restores every record it wrote
to the saved "before" value and revision and is offered only when nobody
changed those records since and none of its History was written, or keep the
board as it is, which removes the checkpoint and writes nothing while
reporting how much of the operation had been written. A checkpoint that has
not stopped on a conflict stays its author's to retry. The resolution names
the checkpoint it resolves, so a repeat is a no-op; it claims the checkpoint
by compare-and-set, fencing the author's workers, waits for an in-flight
write, and checks every record before and after its own writes. Each one is
recorded in Admin Panel / Problems / Recovery. The offline command
releases/recover-scrum-history.cjs does the same with every writer stopped.

Unit, integration (against MongoDB 7), Meteor and Playwright tests cover
rollback, discard, refusals, concurrency and the offline command. New text
is in English, pending Transifex.

Thanks to xet7 !
2026-10-08 12:06:49 +03:00
Lauri Ojansivu e7e2bed80f Shift shortcuts run once: re-dispatch only keys typed on a non-Latin layout.
The #6750 browser spec failed on Shift+D: the due date editor opened and
closed again. client/lib/keyboard.js re-dispatches a key typed on a
non-Latin layout as its Latin key code, and decided "another language" by
comparing the key with the key code's lowercase letter - which also matched
every SHIFTED Latin key ('D' is not 'd'), symbols such as '!' and the
Shift key itself. So each Shift shortcut fired twice; for Shift+D the copy
clicked the same due date control again and closed the popup. The Shift+1-9
filters were affected the same way.

It now re-dispatches only a single non-ASCII character whose key code is a
Latin letter or digit, and copies the Shift, Ctrl, Alt and Meta state, so
Shift shortcuts keep working on non-Latin layouts too.
tests/keyboardNonLatinRedispatch.test.cjs runs the real handler: shifted
Latin keys, symbols and modifiers are not duplicated; Cyrillic letters map
with and without Shift; it fails on the previous code.

Thanks to mimZD and xet7 !
2026-10-08 09:23:19 +03:00
Lauri Ojansivu 03975e7d31 Admin Panel / Settings / Visibility / Features: choose which card fields every board shows.
Above the Features Save there is now one tick per field type of Board
Settings / Card - the same icons and names, all ticked by default. An
unticked field, for example Pomodoro, is not offered in any board's Board
Settings / Card and is not shown on any opened card or minicard, whatever
the board chose. Visibility only: no card data and no board setting is
written, so ticking it again shows every board as it was set. There is no
ordering here; the order stays each board's own.

The catalog and the decisions are models/lib/cardFieldVisibility.js. It is
stored as cardFieldStates on the settings document (missing means shown,
so existing installs are unchanged), published with the other Features
settings and saved by the site-admin-only saveInstanceFeatures method,
which refuses unknown field keys. The hiding happens at the client's one
board read (ReactiveCache.getBoard), which returns the board with the
hidden fields' flags reading false - the same object when nothing is
hidden - so every card and minicard template that reads a board flag agrees
without being edited; the per-card List title and the user's Labels text
override check the same mark. The server's reads, publications and the REST
API are unchanged. A whole-column tick in Board Settings / Card leaves the
hidden fields' board values alone.

Thanks to xet7 !
2026-10-08 08:54:04 +03:00
Lauri Ojansivu 784d529003 Add the d keyboard shortcut to open the opened card's Due date editor.
With keyboard shortcuts enabled, d (or Shift+D) clicks the due date + or
badge of the opened card, so it opens the same popup a click does and only
for a user who may edit the card. Inputs, textareas and editable fields are
left alone by the shared shortcut filter. Listed in the shortcuts help.

Thanks to mimZD and xet7 !

Fixes #6750,
2026-10-08 00:01:44 +03:00
Lauri Ojansivu a0f2550e5d Large board: set jQuery UI sortable options only when they changed.
The card, list and swimlane sortables re-applied handle, items and disabled
from autoruns. jQuery UI does not skip an unchanged value: setting handle
re-tags every card of the list, about k^2 work for k cards, in every list.
setSortableOptions (models/lib/sortableOptions.js) sets only what differs. The
swimlanes autorun also asked canModifyCard() with no card, which reads the
open card, so it re-ran on every open and close; it asks canModifyBoard().

Thanks to markusst1982 and xet7 !

Fixes #6745.
2026-10-07 03:08:48 +03:00
Lauri Ojansivu 6d5f24ee27 Large board: read only the user fields each card and list needs.
Opening a card writes the user document (profile.cardLastViews, #3078). The
board view (Utils.storedBoardView and allowBoardView, which every list's card
loop reads) and the helpers every minicard runs read the WHOLE user document,
so that one write re-ran every list's card loop, and Blaze then re-evaluated
every minicard: 37,452 Tracker invalidations for one card open on a 40-card
board. Measured in the running app, it is now 390.

client/lib/currentUserWith.js reads the current user with only the named
fields; minimongo re-runs a field-limited query only when a projected field
changes. The board view, feature preview, unread comments, folds, drag
handles, label text, dependency layers, date format, week number, mobile mode
and the admin-only custom field check now use it. setCardLastViewed $sets one
entry instead of rewriting the whole map, which is also capped at 5,000.

Thanks to markusst1982 and xet7 !

Fixes #6745.
2026-10-07 03:08:48 +03:00
Lauri Ojansivu 79b4467546 Let every Board Settings / Card row be shown on the card and the minicard.
Eighteen rows of Board Settings / Card had only one column. Each now has
both. On the minicard: Location, Requested by, Assigned by, Flowtime and
Pomodoro while running, the attachment names, the text-note count, when
the card last changed, the description title, and the checklist title
and due date. On the opened card: the collapse caret's own switch, labels
above the title, labels text (with the user's own override, like the
minicard's), the card's List title, the swimlane name and the comment
count. A side that already drew something stays on; a new element is
off until chosen. The new minicard elements are last in the minicard
order by default and reorder like the rest.

The rows' switches are plain board flags handled by one generic toggle
that reads each row's declared default. The List title row is offered
only when the popup was opened for a card, since from Board Settings
there is no card for it to change.

Thanks to xet7 !
2026-10-02 16:39:28 +03:00
Lauri Ojansivu 18d57b2b8f Let administrators choose which optional features WeKan offers.
Admin Panel / Settings / Visibility has a new Features group. Each
optional group of board views (Table, Calendar, Time, Overview, Gantt,
Scrum, Flow charts, Map) can be turned off for the whole instance. A
disabled feature is removed from the Board View menu and from Board
Settings / Board View rather than greyed out, and a user who had it open
is moved to the board's default view. Its data and every permission stay
as they are.

Administrators can preview disabled features, and named pilot users see
them too. An opt-in policy keeps features added by later WeKan updates
disabled until an administrator enables them; the features present when
it is turned on stay as they were. Swimlanes and Lists are core and
cannot be disabled. The English texts are pending Transifex.

Thanks to nalilord and xet7 !

Fixes #6736.
2026-10-02 15:26:22 +03:00
Lauri Ojansivu cff80a9d7b Make showing dependencies each user's own choice, and add My Dependencies.
Issue #6732: the board-header "Show dependencies" button wrote one shared
board field, so one user turning the lines on or off did it for everybody,
and only board admins could write that field, so a member - or anyone on a
public board - who could see the board could not turn them on at all.

The button is gone from the header. At the top of Member Settings are now:

- Show My Dependencies
- Show Board Dependencies
- Import
- Export

Both switches are off by default and saved in the user's profile, so each
user decides for themselves and anyone who can view a board may show its
dependencies.

Board Dependencies stay on the board's cards. They may now be edited by
every role that can edit OR move cards - a Worker included - and by an
assigned-only member on the cards assigned to them; one rule
(models/lib/dependencyAccess.js) is applied by new server methods, by the
card details, the line popup, drawing on the board, Import and the REST
routes. My Dependencies are a new layer in the user's profile: each user's
own lines between cards they can see, drawn dashed and seen only by them.
The client cannot write them directly; only the methods, which check card
access, can.

Import and Export work on the open board in the Board Settings / Export
formats (JSON, and SVG that re-imports). Importing Board Dependencies is
offered only to roles that may edit or move cards, and every import now
combines: a line already there is kept exactly as it is, and only missing
lines are added - also for All Boards / Import / Dependencies, which used to
overwrite an existing line's type and colour. The design is written up in
docs/Features/Editor/RedStrings/Board-And-My-Dependencies.md.

Tests: the role table, viewing, assigned-only scope, normalizing and
combining (unit), with guards that the header toggle and every reader of
the old board flag are gone and every write goes through the rule; a
full-app test drives the methods as admin, Worker, read-only, assigned-only
and a stranger; Playwright covers the menu order and defaults, a per-user
switch that leaves another member's view alone, a read-only member's My
Dependencies (dashed, unseen by the owner) with import and export, and a
Worker's combining board import - in Chromium and WebKit. Header, fold and
mobile guards that listed the old button are updated. 567 server tests pass.

Thanks to nalilord and xet7 !

Fixes #6732.
2026-10-01 19:18:58 +03:00
Lauri Ojansivu 7c11276028 Repair update hooks, UI layouts and EVERYTHING test harness
Keep trusted card snapshots intact after checking caller field permissions.
Restore custom-field activities, History and Sync updates; fix popup layouts,
textarea rule descriptions, WebKit date resets and mobile Rules mail rows.

Align Meteor versions, make image fixtures portable, configure local SMTP
for both test server modes, and bridge Docker Desktop database and SMTP
connections. Stabilize paginated, lazy-loading and security test fixtures.

Focused Node and Chromium, WebKit and Docker Firefox regressions pass.
The full Node rerun still reports translation completeness failures.

Thanks to xet7 !
2026-09-30 01:16:12 +03:00
Lauri Ojansivu a904ca8807 Let a card be a subtask of several parent cards.
"A must be done before B and C can start, so A is a subtask of both." A card
now keeps every parent in parentIds, with parentId still the primary one
(parentIds[0]), so everything that reads one parent keeps working and a card
written before this has its one parent. Picking an existing card as a
subtask adds this card as a further parent instead of replacing the one it
had; Card -> More lists the other parents and removes one, and choosing the
primary parent keeps the others. Children are found under any parent - the
subtask list and counter, the parent filter, rule email Details and the
exports - and the loop guard and the board publication walk every parent.
Archiving or deleting a card takes only the subtasks it is the one parent
of; a shared subtask just loses it. Every parent written must be on a board
the writer can see (GHSA-jvv9-498p-hxrg), and board copy and WeKan import
remap all of them. The old single-parent walker is removed.

Thanks to ikomhoog and xet7 !

Fixes #3626,
2026-09-29 17:59:21 +03:00
Lauri Ojansivu 3d891ace09 Add a Map board view: cards as markers on an uploaded image.
A board admin uploads an image - a floor plan, a site map, a drawing - and
the board's cards become markers on it, coloured by their first label and
numbered like the card. Members who can edit place a card by dragging it
from the "Not on the map" list, or by choosing it and clicking where it
belongs, and move a marker by dragging it; a click opens the card. A place
is stored as percentages of the image (card.mapX, card.mapY, 0-100), so a
marker stays on its spot at any size; the image is a board attachment
served under the board's own access rules. Read-only members see the map
but cannot change it. New strings are English, pending Transifex.

Fixes #3256,

Thanks to javen9881 and xet7 !
2026-09-29 17:43:58 +03:00
Lauri Ojansivu 9e3abe02a5 Show an unanswered keyboard undo or redo, with Try again and Forget it.
A Ctrl+Z whose reply was lost is kept and retried by the next keystroke with
the same request ID, but nothing on screen said it was still waiting. The
board now shows a notice while it has such a request, also after a reload:
Try again resends that same request, so it can never take back a second
change, and Forget it drops it. New strings are English, pending Transifex.

Thanks to xet7 !
2026-09-29 17:32:29 +03:00
Lauri Ojansivu 911e689d23 Show markdown task-list checkboxes in the card viewer again.
The markdown package rendered "- [ ] Task" as a disabled checkbox, but its
"only a task checkbox" rule sat in a HOOKS config key that DOMPurify does
not have, so it never ran. The card viewer then sanitized the output again
with a config forbidding every input, so no checkbox reached the page, and
forms.css hides bare checkboxes app-wide anyway. Both sanitizer passes now
install a real afterSanitizeAttributes hook for the call that keeps only a
disabled checkbox and removes every other input, and the viewer shows it.
The dead HOOKS keys are removed from all three sanitizer configs.

Refs #2419.

Thanks to rodrigocipriani and xet7 !
2026-09-29 15:30:56 +03:00
Lauri Ojansivu c659b4bbcd Send persisted request IDs from keyboard undo and redo.
Ctrl+Z and Ctrl+Y called changeHistory.undoLast/redoLast without a
request ID, so a reply lost to a disconnect or reload left the user
pressing again and undoing a second Scrum change. Each keystroke now
carries an ID kept in sessionStorage until the server answers; the next
keystroke on that board retries the unanswered ID first, and in the same
direction that retry is the keystroke. Unanswered IDs expire after ten
minutes. A non-Scrum row, which keyed requests do not cover, is refused
without change and the keystroke falls back to the unkeyed call, which
the Scrum design now documents as a deliberate exception.

Thanks to xet7 !
2026-09-29 09:48:49 +03:00
Lauri Ojansivu 846f190690 Send authorized card attachments with email rules
Add an opt-in native checkbox, read live triggering-card files through the storage strategy, recheck source access and attachment metadata after reads, and preserve byte snapshots through email localization and transport.

Verify filesystem and GridFS MIME delivery with local SMTP capture, soft deletion, missing-file failures, keyboard selection, permission changes and durable attachment integrity. Full card-content rendering remains open in #2713.

Thanks to kabi178, bbyszio and xet7 !
2026-09-28 19:35:19 +03:00
Lauri Ojansivu 5904f077a9 Register extensible card filters with versioned saved state
Connect bundled filter templates, selectors, scoped resets and validated preset restoration through one registry. Use the recency controls as a built-in provider and verify extension lifecycle in Chromium.

Thanks to neooleg and xet7 !
2026-09-28 18:47:02 +03:00
Lauri Ojansivu 16508a8fa7 Save private board filter combinations for each user
Capture and restore all current filter controls with validated versioned state, refresh relative dates when applied, and reject invalid expressions before changing live filters. Persist same-name replacements atomically, restrict writes and subscriptions to their owner and board access, and clean preferences on board or account deletion.

Thanks to Creanimo, avatar1024, neooleg and xet7 !
2026-09-28 18:34:40 +03:00
Lauri Ojansivu e40532b9f6 Add previous-week and next-month due-date shortcuts
Use local calendar boundaries and the user's week start, refresh active shortcuts with the shared clock, and release the subscription on switching or clearing. Cover month-end and year rollover plus actual sidebar boundaries.

Thanks to neooleg, Creanimo and xet7 !
2026-09-28 18:23:09 +03:00
Lauri Ojansivu c17305c2e8 Filter cards by recorded historical movement dates
Match any recorded list, swimlane or incoming board move within inclusive local-day bounds, regardless of later moves. Reuse the authorized reactive ID publication for text and history, preserve lazy-loading coverage and validate history joins and live UI behavior.

Thanks to neooleg and xet7 !
2026-09-28 18:19:22 +03:00
Lauri Ojansivu 0bf2dc27be Filter cards by titles descriptions checklists and comments
Match literal text across the authorized board, including cards outside lazy windows. Publish only matching IDs, refresh on content and access changes, and release observers when filters change. Verify the batched join, cancellation and permission races, and actual Chromium behavior.

Thanks to neooleg and xet7 !
2026-09-28 18:13:46 +03:00
Lauri Ojansivu 34ed467a43 Add rolling creation and modification date filters
Provide independent recent-day, week, thirty-day and older presets with a shared reactive clock, strict date values and composable card selectors. Verify timer cleanup and the real sidebar in Chromium.

Thanks to neooleg and xet7 !
2026-09-28 18:04:52 +03:00
Lauri Ojansivu 5527f8503d Add native date range controls to card filters
Choose inclusive local calendar bounds for seven card dates without an advanced expression. Preserve valid filters after invalid input and combine ranges with existing filters. Cover selectors and the actual sidebar in Chromium.

Thanks to neooleg and xet7 !
2026-09-28 18:01:23 +03:00
Lauri Ojansivu 930c5c67d5 Filter native card dates in advanced expressions and rules
Add explicit built-in date names, missing-date comparisons and typed date guards while preserving quoted custom-field names and the shared date parser. Cover sidebar selection and actual rule execution.

Thanks to TiibCD and xet7 !

Fixes #1915,
2026-09-28 17:52:48 +03:00
Lauri Ojansivu 0542a239fd Track column entry time and filter old cards by list
Keep column age stable across unrelated edits and record moves in the same card write. Add a rolling, board-scoped hide filter while retaining legacy cards with unknown entry dates. Historical activity backfill remains pending.

Thanks to grasshide and xet7 !

Refs #1499.
2026-09-28 17:40:49 +03:00
Lauri Ojansivu c8e89bd582 Add card context and URL encoding to custom field String Templates
Resolve public card, board, list and swimlane titles reactively in detail and minicard views. Preserve existing regex formatting and constrain linked source placement metadata to its authorized board.

Thanks to solunix and xet7 !

Fixes #3815,
2026-09-28 17:33:33 +03:00
Lauri Ojansivu 83eac10211 Add Scrum sprint planning, optional metadata and snapshot reports
Reuse board permissions, card estimates and chart exports for Product Backlog, Sprints, Sprint Report and Velocity views. Add revision-checked sprint lifecycle, recoverable rollover, release/event creation and independently hidden metadata controls. Explicitly label assigned-only reports as partial.

Verified 12 focused Node checks, a real Meteor/Mongo lifecycle regression and three Chromium scenarios including settings visibility, denial paths and actual Excel/PDF files. History integration, full transfer mappings and further report/editor work remain tracked in the Scrum design.

Thanks to xet7 !
2026-09-27 17:33:38 +03:00
Lauri Ojansivu 8ad064346a Add current-board subtask filtering by parent card
Reuse the existing parent relationship and filter engine from card actions and the filter sidebar. Keep parent choices board-local, allow read-only filtering, and clear the selection when changing boards. Verify filtering, publication boundaries and unchanged card data with Node and Chromium tests.

Thanks to robinvd and xet7 !

Fixes #1871,
2026-09-27 14:24:36 +03:00
Lauri Ojansivu e0a53728b4 Use available popup width for menu columns and card settings
Place Draggable before Minicard and Card in a three-column layout that stacks when the popup is narrow. Expand long option menus and pickers into balanced columns while preserving form layouts, search focus, popup stack navigation and permission-filtered options.

Thanks to xet7.
2026-09-27 14:03:15 +03:00
Lauri Ojansivu 88e234f05f Make text editors multiline and resizable with consistent Enter and theme behavior
Honor Submit editors with Enter across textarea editors, retain composition and mention handling, and route shortcuts through existing scoped save actions. Preserve manual resize dimensions after typing and retain single-line structured fields.

Keep the typography reset from overriding themed button foregrounds, including Board Settings column actions. Verify blue, green, dark and Clean Light buttons and chart actions.

Thanks to xet7.
2026-09-27 13:45:41 +03:00
Lauri Ojansivu b970902218 Open card windows directly beside their minicards
Keep desktop card windows unpainted until initial anchoring completes. Prefer the right side in LTR and the left side in RTL whenever it fits; otherwise use the other side and keep the window inside the viewport.

Verify first-visible-frame geometry for preferred and fallback sides in both directions, and retain passing date-save position regressions.

Thanks to xet7 !
2026-09-27 01:21:57 +03:00
Lauri Ojansivu 6be31f5a2c Add AND/OR label filtering and preserve reopened filter text
Offer label combination mode under Filter, retaining exclusions and no-label alternatives. Restore active title, list and advanced text when the panel is recreated. Verify actual calendar grid/list results, unmatched and cleared filters, and label combinations in Chromium; pure tests cover reset and invalid modes.

Thanks to Trunkslike, TheBigBloodyB, Roemer and xet7 !

Fixes #2044,
Fixes #3361,
2026-09-27 00:46:19 +03:00
Lauri Ojansivu 0b411b5476 Add flow analytics charts and reversible dependency history
Reuse board dates, activities, estimates, dependencies and universal History for Aging WIP, Blocker Analysis, Monte Carlo forecasts, XmR and size versus cycle time. Keep Chart.js lazy loaded and share parameterized PDF/Excel exports. Record dependency edits in History with undo/redo and board-boundary validation.

Validation: 21 focused Node suites and 8 Chromium tests pass, including every chart download and dependency undo/redo. Report labels reuse native locale vocabulary and formula notation; compact explanatory wording outside English/Finnish has low confidence and welcomes review.

Thanks to sojournerc and xet7 !

Fixes #1476,
2026-09-26 22:40:39 +03:00
Lauri Ojansivu 7950979cb2 Add per-board draggable settings for board objects
Default swimlanes, lists, cards, checklists, checklist items and subtasks to draggable. Share settings UI and policy, update ordinary sortables reactively and enforce the policy for mixed-selection drags while retaining explicit menu moves. Cover persistence, authorization, independent defaults and both checklist handle modes.

Thanks to xet7 !
2026-09-25 23:51:28 +03:00
Lauri Ojansivu b0c8acc987 Support mixed multi-selection moves and collapsed drop targets
Select lists, swimlanes, cards and checklist content together. Preserve parent hierarchies, validate move permissions, and create a destination card for checklist content dropped onto a list.

Thanks to xet7 !
2026-09-25 23:35:16 +03:00
Lauri Ojansivu 8263734f5a Prevent repeated automatic OIDC login after failed callbacks
Keep the redirect guard after failed login attempts, require writable session storage, and recheck login state after the asynchronous settings request. Cover callback reloads, failures, storage restrictions and delayed responses.

Thanks to Alishara and xet7 !

Fixes #6722,
2026-09-25 12:39:19 +03:00
Lauri Ojansivu 2016d15f2a Preview ZIP contents from cards and Files Report 2026-09-25 02:29:43 +03:00
Lauri Ojansivu 79cd465585 Fix Firefox password login submit replay
Defer password-form replay to the next task so Firefox finishes dispatching the original native submit event. Keep duplicate submissions blocked and retain useraccounts validation and two-factor handling.

Reproduced registration success followed by silent login failure in Firefox 156.0.1. Verified wrong-password rejection, click and Enter login, and cookie resume in the rebuilt app. Add native-event browser and negative unit coverage; Chromium password/TOTP and emailed-code checks also pass.

Thanks to xet7.
2026-09-23 21:09:55 +03:00
Lauri Ojansivu 94b59bef01 Move date format controls to global, board and member settings
Apply enabled member overrides before board and global defaults. Show inherited
status and saved formats using existing translations, and keep the card section
named Date. Cover rendering, exports, permissions, date-only formats and settings
isolation.

Thanks to xet7.
2026-09-23 13:58:24 +03:00
Lauri Ojansivu b4459a79e2 Fix duplicate LDAP form submissions and display login failures
Capture sign-in submission before asynchronous provider selection, keep the form mounted, and complete only the chosen login path. Preserve password validation and show provider errors without redirecting.

Thanks to Nissulya and xet7 !

Fixes #6692,
2026-09-23 13:18:29 +03:00
Lauri Ojansivu 773a1c2ddf Restore saved list collapse state after page reload
Read stored per-user list state reactively instead of caching an early expanded fallback in Session. Cover profile hydration and a Chromium reload with the persisted swimlane-scoped value.

Thanks to Nich01asFox and xet7 !

Fixes #6712,
2026-09-22 15:13:00 +03:00
Lauri Ojansivu 4c40bbf9f5 Filter document keyboard events against the focused control
The non-Latin keyboard bridge dispatches synthetic events on document. The shortcut filter previously called closest on that non-element target, throwing during Tab navigation on signed-out pages. Fall back to the focused element and safely reject missing focus.

Unit tests cover native and document-targeted events, form and interactive controls, editable content, selections, disabled shortcuts and Escape. The signed-out layout browser regression passes in Chromium.

Thanks to xet7 !
2026-09-20 01:51:22 +03:00
Lauri Ojansivu c063877462 Select card destinations from ready subscription documents
Avoid a stale empty swimlane or list cache in the destination subscription ready callback. Cross-board moves now select a valid destination and enable Done without waiting for another user change. Cover delayed cache refresh alongside stale requests and rejected operations.
2026-09-19 23:31:18 +03:00
Lauri Ojansivu cbc6c20ba8 Measure delayed headers after Blaze renders them
Keep mobile sidebar controls below headers that appear after login or a route change. Cover delayed rendering, resize updates and destroyed templates, and wait for document readiness in the mobile Search browser regression.
2026-09-19 23:23:12 +03:00
Lauri Ojansivu 16b1b307fc Add cleaner task board presentation and date-only formats.
Add board controls for minicard collapse, labels above the title, checklist due dates and the outer checklist heading. Keep previously collapsed content accessible when its control is hidden, and preserve stored content and existing defaults.

Add personal and admin date-only formats across calendars and exports. Extend the existing smaller font presets with compact checklist and settings spacing. Cover persistence, permissions, layout and date behavior with unit and browser tests.

Thanks to xet7 !
2026-09-19 15:56:01 +03:00
Lauri Ojansivu 5ed9fc944a Remove obsolete Summernote integration and editor configuration.
Use the Markdown textarea for every editor. Remove the retired environment and Snap options from server settings, all platform launchers, build scripts and current documentation. Keep released and archived changelog entries intact.

Keep notification HTML escaping independent of editor configuration, preserve attachment metadata and mention behavior, and cover Markdown and emoji round trips in browser tests. Also import the translator used by attachment error handlers.

Thanks to xet7 !
2026-09-19 14:32:29 +03:00
Lauri Ojansivu 896f1222bd Implement audited board usability and accessibility fixes.
Repair relative ordering and destination dialog lifecycles, retain failed operations, and make checklist, rule and attachment controls keyboard accessible. Improve scaled layouts and reuse canonical translated labels.

Add source-execution and Chromium/Firefox regression coverage, including awaiting background persistence before reload. Record implementation decisions and validation limits.

Thanks to xet7 !
2026-09-19 14:00:48 +03:00
Lauri Ojansivu 193c799539 Restore visible, selectable comment mention suggestions.
Initialize autocomplete once per editor, place its styled menu above card windows, and fall back to the textarea when Summernote is unavailable. Verify pointer and keyboard selection for password and LDAP account fixtures.

Thanks to bbyszio and xet7 !

Fixes #6704.
2026-09-19 13:26:08 +03:00
Lauri Ojansivu 46607d4299 Add an admin date format override for everyone
Place the global date format checkbox and selector between Board member
list and Wait Spinner in Visibility settings. While enabled, use the
selected format for members and guests, call the card section Date and
hide its personal format selector. Preserve personal preferences so they
return when the override is disabled.

Apply the same policy to date displays, filter parsing and browser export
requests. Validate supported formats and retain admin-only settings writes.
Add positive, negative and browser regression coverage and document the
setting. Translate the new label without changing existing translations.

Lower-confidence new translations include Acehnese, Aymara, Cherokee,
Inuktitut, Kashmiri, Nahuatl, Veps, Volapuk and Wolaytta; native-speaker
review would improve these labels.

Thanks to Mathia2 and xet7 !

Fixes #6703,
2026-09-17 18:13:20 +03:00