Commit Graph
95 Commits
Author SHA1 Message Date
Lauri Ojansivu 7fef4f4cdc Add administrator pause and resume controls for activity notifications 2026-09-28 15:00:31 +03:00
Lauri Ojansivu 169a19817a Report pending activity notifications and allow guarded manual retry 2026-09-28 14:49:56 +03:00
Lauri Ojansivu 5e1ed32f58 Sync Jira original and remaining time estimates with conflict review
Map selected aggregate seconds to the board's imported numeric time fields in hours. Preserve zero, missing and explicit null; validate mapping identities and retain unrelated fields through conditional array writes.

Twenty-five focused Node suites and twenty-two Chromium scenarios pass with local MongoDB and Jira fixtures. Live Jira, FerretDB and other browsers remain unverified.

Thanks to xet7 !
2026-09-28 03:49:38 +03:00
Lauri Ojansivu 20b47995b2 Add administrator recovery controls for queued notification email
Summarize recipients without mail payloads, paginate with bounded memory, and coordinate pause/resume/cancel with sender reservations. Persist holds, cancellation cutoffs and idempotent request receipts so replay cannot undo newer actions or cancel later messages.

Verify current administrator access, interrupted commands, lost write acknowledgements, stable cancellation and private collection boundaries with MongoDB and Chromium tests. Keep translations limited to English source labels.

Thanks to xet7 !
2026-09-28 03:15:09 +03:00
Lauri Ojansivu a00c009ba6 Bind scheduled Sync to its authorizing account 2026-09-28 02:30:48 +03:00
Lauri Ojansivu 79fcd0061e Sync explicitly mapped Jira estimates with local conflict review
Select an existing numeric Jira estimate field in the Sync popup, retain field/unit identity, request the selected Cloud field, and merge numeric estimates with source baselines. Preserve zero, explicit null clearing, unrelated custom fields and their order; reject invalid or changed mappings and stale card writes. Cover source selection, conflicts, remapping, invalid values and full popup flow in Node and Chromium.

Thanks to xet7 !
2026-09-28 01:30:24 +03:00
Lauri Ojansivu 6a4e5e29a8 Expose retained Sync diagnostics in Problems Recovery 2026-09-28 00:34:27 +03:00
Lauri Ojansivu adf646177b Persist private Sync run outcomes and bounded coverage reports 2026-09-28 00:28:58 +03:00
Lauri Ojansivu 80ccf100a7 Preview Sync changes and normalized omissions without applying writes
Reuse the actual merge and write plan, scope full-list previews to unrestricted writers, bound reports and keep omitted values private. Exclude status-only diffs from update counts. Preserve empty and whitespace source text through schema cleaning so repeated runs do not keep changing comparison baselines. Cover preview parity, saved settings, access changes, no-write errors, storage behavior and browser flows.

Thanks to xet7 !
2026-09-28 00:14:46 +03:00
Lauri Ojansivu 352dcbea87 Create durable Sync replacements without changing moved or detached cards
Persist conditional replacement decisions before card insertion. Revalidate source previews, restrict replacement to full-list writers and preserve the previous card. Cover stale decisions, database races and lost acknowledgements, moved and detached UI flows, and private collection writes.

Thanks to xet7 !
2026-09-27 23:53:07 +03:00
Lauri Ojansivu ed1615369c Keep Sync parents local when active subtasks block archival
Offer a scoped archive-conflict preview and a parent-only mapping removal. Refetch source absence and revalidate the parent and archive blocker before conditional resolution. Preserve all subtask content and hide subtask identifiers from previews; assigned-only callers retain their write scope.

Ten Sync Node suites and thirteen Chromium scenarios pass, including both permission scopes, returning source items, unchanged subtasks and existing Sync behavior. Local release audit passes with advisory warnings. Add English source labels only. Creation collisions after moved or detached cards remain pending.

Thanks to xet7 !
2026-09-27 23:44:40 +03:00
Lauri Ojansivu 4b05d4c517 Convert duplicate Sync mappings into local cards
Show extra mappings alongside the consistently retained card. Fingerprint the visible group, reject changed previews, and remove only an extra card’s Sync identity and baseline. Protect the same first mapping independently of database cursor order; preserve card content and assignment checks.

Ten Sync Node suites and eleven Chromium scenarios pass, including stale groups, retained-mapping protection, content preservation and successful reconciliation after repair. The local release audit passes with advisory warnings. Add English source labels only.

Thanks to xet7 !
2026-09-27 23:39:25 +03:00
Lauri Ojansivu 4aa67fedca Scope manual Sync conflict review to assigned cards
Assigned-only writers review and resolve their own existing cards without triggering whole-list reconciliation or changing shared Sync status. Keep assignment in the conditional resolution write and recheck access after fetching. New shared conflict summaries omit card identifiers and values.

Ten Sync Node suites and ten Chromium scenarios pass, including hidden-card preservation, assignment revocation, scoped writes, source switching and credential recovery. The local release audit passes with advisory warnings. English source label only; no translation fill.

Thanks to xet7 !
2026-09-27 23:33:42 +03:00
Lauri Ojansivu df376f7888 Resolve Sync field conflicts from the list popup
Show local and source values for title, description and spent-time conflicts. Refetch and fingerprint the comparison before accepting a field choice, preserve unrelated fields and conditionally reject changed cards. Keeping local values advances their source baseline; no upstream writes occur.

Require unrestricted board write access and recheck it after fetching. Ten Sync Node suites, field-specific regression checks, catalog ordering and nine Chromium scenarios pass. Duplicate identity, archive/move conflicts, assigned-only resolution and transactional reconciliation remain pending. Add English source labels only.

Thanks to xet7 !
2026-09-27 23:28:26 +03:00
Lauri Ojansivu 81876bfa39 Activate Sync settings and immutable credentials in one list update
Stage a private credential version and select it with settings using a conditional revision update. Preserve the previous or new pair across interrupted saves and lost acknowledgements. Prevent stale saves and delayed cleanup from replacing newer credentials, including after a clear.

Thanks to xet7.
2026-09-27 22:08:45 +03:00
Lauri Ojansivu 4d8ce77544 Coordinate Sync runs and settings saves with renewable list reservations
Share a private database reservation across scheduled Sync, manual Sync and configuration methods. Renew during fetches, verify ownership before writes, reclaim expired reservations and preserve replacement owners during cleanup. Document the remaining in-flight write fencing and multi-document recovery requirements.

Thanks to xet7.
2026-09-27 22:03:34 +03:00
Lauri Ojansivu 75a312809d Scope list Sync mappings and credentials to their source project
Preserve previous-source cards across project switches, require matching credentials before fetching, and bind identifiable legacy mappings before replacing or clearing settings. Reject unknown legacy sources and stale fetched configurations.

Verify with nine focused Node suites, nine Chromium scenarios and the local release audit. Concurrent jobs and configuration writes remain nontransactional.

Thanks to xet7 !
2026-09-27 21:32:16 +03:00
Lauri Ojansivu 21504d556c Select card creation and archival in list Sync settings
Keep existing defaults and independent field selection. Verify operation combinations, popup persistence, invalid values and nonmember denial.

Thanks to xet7 !
2026-09-27 19:46:29 +03:00
Lauri Ojansivu 4aa61c6d56 Add opt-in Jira spent-time synchronization
Reuse numeric Jira time conversion and preserve local time edits with source baselines and conditional writes. Cover settings, zero values, excluded fields and invalid time.

Thanks to xet7 !
2026-09-27 19:42:58 +03:00
Lauri Ojansivu 31c9b1d6d3 Select synchronized text fields in the list Sync popup
Add Title and Description switches with existing behavior as the default. Validate selections through the existing write-authorized method and exclude unselected fields from merge and baseline updates. Verify persistence, unsupported values and new-card defaults.

Thanks to xet7 !
2026-09-27 19:37:47 +03:00
Lauri Ojansivu 58d8563637 Fix scheduled full-instance backups and validate Admin Panel features
Start the shared scheduler and use valid daily expressions. Preserve all
application collections, BSON types, indexes and selected file versions in
portable archives, validate content before restore, and report failures.

Document every Admin Panel implementation and its validation limits. Add
real-database round trips, failure cases and browser coverage for scheduling,
restore, file downloads, every pane route and permission boundaries.

Thanks to markusst1982 and xet7 !

Fixes #6683,
2026-09-23 19:10:24 +03:00
Lauri Ojansivu 23ed8d927f Show Meteor instrumentation in Admin Panel Problems 2026-09-22 19:07:14 +03:00
Lauri Ojansivu d43968d888 Clarify file scans and show location in address reports
Show when a partial file audit stopped before inspecting storage, allow larger bounded inventories, and avoid orphan findings from truncated metadata. Restore available locations in Offices and People, wrap long report cells, and theme report action buttons.
2026-09-22 18:37:38 +03: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 1f5cb0d134 Add read-only file status checks to Admin Panel Problems
Add shared controls above Files, Filesystem integrity and Recovery for content/type checks, storage inventory and history correlation, with progress, cancellation and a downloadable bounded summary.

Report incomplete upload metadata separately from missing binaries. Compare filesystem and GridFS references, sizes, MIME/extension aliases, hashes and baseline evidence; correlate undo/activity history with candidate renamed or moved files. Preserve files and records, enforce administrator access and scan limits, and explicitly report unknown or unverified coverage.

Verify five focused Node suites and two browser scenarios in Chromium, Firefox and WebKit. Rerun header-first content detection in all three browsers. Document storage and verification limits.

Thanks to xet7.
2026-09-20 19:35:16 +03:00
Lauri Ojansivu 783733623e Authorize and persist edits to saved WIP limit groups.
Route group edits through a validated server method with board/site-admin authorization. Compare the saved group array before updating so concurrent edits are not overwritten and database backends need no positional array update. Unit and Chromium tests cover editing, invalid lists and limits, and unauthorized users.

Thanks to Mahgozar and xet7 !

Fixes #6699,
2026-09-17 13:43:01 +03:00
Lauri Ojansivu a01e8478c3 Add a list-sync job that keeps a list up to date from Jira (and GitHub/GitLab/Gitea).
A WeKan list can be marked with a syncSource (type/url/projectKey) and a
server-only credential (models/listSyncCredentials.js, never published).
server/listSync.js registers a quave:synced-cron job, reusing the SAME
scheduling infrastructure the checklist-auto-reset job uses, that fetches
each synced list's current items and reconciles them against WeKan
(models/lib/listSyncReconcile.js, pure/unit-tested): new items create
cards, changed items update them, and items that disappeared upstream are
ARCHIVED rather than deleted, so old entries stay in the list's history.

Fetching (server/lib/listSyncFetch.js) and parsing reuse the existing
one-time-import parsers in models/lib/externalParsers.js (parseJira is
new there; parseGithub/parseGitlab/parseGitea gained externalId) instead
of a second implementation. Jira works end to end; GitHub/GitLab/Gitea
share the same job and reconcile logic via their existing parsers.

Thanks to xet7 !
2026-09-10 21:41:20 +03:00
Lauri Ojansivu 520b2e412e Add Admin Panel / People "Last active" presence for #3678 and #3734.
Both issues ask the same question: which users are actively using WeKan,
and for how long. The `lastConnectionDate` field already existed on the
user schema but was only ever written from a commented-out, env-gated
block in server/publications/users.js - so WeKan never actually recorded
it. Accounts.onLogin now stamps it on every successful login
(server/lastActiveOnLogin.js), and an open client session refreshes it
every two minutes via a `usersHeartbeat` method
(client/lastActiveHeartbeat.js, server/methods/lastActiveHeartbeat.js) -
a periodic timestamp, not a WebSocket/real-time presence system, which is
more than either issue asked for.

Admin Panel / People gets a "Last active" column showing each user's
timestamp with an online-now badge when it is within five minutes
(models/lib/lastActive.js holds the pure recency check, reused by the
unit test). "Last active" and "Online now" are added to en.i18n.json and
translated into 203 other locale files; the remaining minority keep the
English source as the untranslated-everywhere placeholder.

Thanks to eccaw and xet7 !

Closes #3678,
Closes #3734,
2026-09-10 19:59:02 +03:00
Lauri Ojansivu f07e2e69b7 Revert branding and board background images to external URLs
Restore editable external image URL fields for the login logo, top-left
corner logo, and board backgrounds, and undo the switch to server-side
download-and-convert-to-GIF storage. Uploading is still available as an
option alongside the URL field for boards; instance and Organization
branding again accept a direct image URL. Imports may again carry
Trello's and WeKan's external background URLs. Tests updated to match.
2026-09-08 03:23:28 +03:00
Lauri Ojansivu 828fc2d718 Revert Legacy HTML4 browser interface and parity changes
Remove the progressive HTML4/Legacy Omi middleware, cookieless sessions, page controllers, assets, parity refactors, design documents and associated tests. Restore the standard Meteor interface and operations from before the HTML4 work began.

Preserve intervening translations, backup screenshots, session upgrades, cryptographic test identifiers, local image storage, document previews and lazy browser loading. Extract the GIF utilities still required by image features into imageGif.

Validate the Node suites and add standard-interface and GIF regressions. Two existing failures remain in docsLinksResolve and ruleDetailsLocalization; browser regressions are registered but require a running server.

Thanks to xet7 !
2026-09-07 17:03:59 +03:00
Lauri Ojansivu 119c7f796f Complete Legacy HTML4 attachment settings 2026-09-07 09:41:53 +03:00
Lauri Ojansivu fdac604fcf Add Legacy HTML4 database migration 2026-09-07 09:35:48 +03:00
Lauri Ojansivu 3e1f3cc16c Add Legacy HTML4 People discovery and account state 2026-09-07 08:34:36 +03:00
Lauri Ojansivu 059a4dd104 Add complete Legacy HTML4 locked-user administration 2026-09-07 08:26:35 +03:00
Lauri Ojansivu bc32e63132 Add complete Legacy HTML4 Teams administration 2026-09-07 08:19:04 +03:00
Lauri Ojansivu b494f429cd Add complete Legacy HTML4 Organizations administration 2026-09-07 08:12:24 +03:00
Lauri Ojansivu a6612a25c0 Add Legacy HTML4 email administration 2026-09-07 07:50:24 +03:00
Lauri Ojansivu 83690596f6 Add accessible HTML4 Login settings 2026-09-07 07:30:58 +03:00
Lauri Ojansivu 48bf99220b Add accessible HTML4 People roles
Share the invite-role policy service between Jade and semantic cookieless HTML4 controls, expose the enforced role capability matrix, and block direct DDP writes. Restore complete Admin Panel navigation and separate exact-language runtime translations from the bounded admin search publication.
2026-09-07 07:13:53 +03:00
Lauri Ojansivu 174fb65c72 Add accessible HTML4 Visibility settings 2026-09-07 06:47:14 +03:00
Lauri Ojansivu 51570b2c31 Add secure accessible HTML4 global webhooks 2026-09-07 06:30:47 +03:00
Lauri Ojansivu 31a4c2fdc2 Add secure accessible HTML4 PWA settings 2026-09-07 06:19:26 +03:00
Lauri Ojansivu 4b41897403 Add accessible HTML4 Accessibility settings 2026-09-07 06:08:46 +03:00
Lauri Ojansivu b19cb2d631 Add accessible HTML4 Announcement settings 2026-09-07 06:02:57 +03:00
Lauri Ojansivu 25ac420755 Add accessible HTML4 Notifications settings 2026-09-07 05:44:44 +03:00
Lauri Ojansivu 13dd0a0169 Add accessible HTML4 Security settings 2026-09-07 05:34:46 +03:00
Lauri Ojansivu 52f871da9a Add accessible HTML4 Offices report 2026-09-07 04:24:27 +03:00
Lauri Ojansivu 776886ceb8 Add accessible HTML4 Problems Summary 2026-09-07 04:10:42 +03:00
Lauri Ojansivu 1b9080bad8 Store branding and board background images locally 2026-09-06 18:35:33 +03:00
Lauri Ojansivu c5d32a5cc0 Restore legacy Offices login history 2026-09-06 10:58:43 +03:00