Commit Graph
157 Commits
Author SHA1 Message Date
Lauri Ojansivu 06bb26f877 Document Legacy HTML4 Organizations administration 2026-09-07 08:14:02 +03:00
Lauri Ojansivu e5f14c7027 Document Legacy HTML4 domain report 2026-09-07 07:57:59 +03:00
Lauri Ojansivu bf09fe7197 Document Legacy HTML4 email administration 2026-09-07 07:51:19 +03:00
Lauri Ojansivu bdfdf6a75d Document HTML4 Login settings 2026-09-07 07:31:44 +03:00
Lauri Ojansivu fda6ac0e6b Document HTML4 shared templates 2026-09-07 07:22:07 +03:00
Lauri Ojansivu e60bca9353 Document HTML4 People roles
Record the shared invite-policy boundary, complete accessible Roles controls and capability table, repaired runtime translation feed, Admin Panel navigation coverage, live same-route screenshots, and remaining People and Attachments work.
2026-09-07 07:14:21 +03:00
Lauri Ojansivu 2456945cbb Document HTML4 translation settings
Record the completed seven-pane Settings coverage, the shared translation security and accessibility contract, live same-route verification, and the modern 25-row counter correction in the upcoming release notes.
2026-09-07 07:01:23 +03:00
Lauri Ojansivu 02a5bbee0f Document accessible HTML4 Visibility settings 2026-09-07 06:47:45 +03:00
Lauri Ojansivu b3158a87b3 Document secure HTML4 global webhooks 2026-09-07 06:33:02 +03:00
Lauri Ojansivu 034d3b9208 Add Legacy HTML4 WeKan ZIP imports
Read whole-board and scoped archives through one bounded path-safe service, stream attachment bytes through the standard Default Storage hook, and preserve stable attachment ids in ZIP exports. Add the signed HTML4 ZIP upload, fix Meteor-Files 3 Promise handling, and verify valid and traversing archives in a cookieless browser.
2026-09-06 20:11:20 +03:00
Lauri Ojansivu 818b57421f Generate searchable document previews on the server 2026-09-06 18:35:33 +03:00
Lauri Ojansivu 1b9080bad8 Store branding and board background images locally 2026-09-06 18:35:33 +03:00
Lauri Ojansivu 829d2a6c74 Enforce Amiga-safe filenames on every read 2026-09-06 02:28:46 +03:00
Lauri Ojansivu b7edc0917b Fix recovery documentation indexes 2026-09-05 23:51:02 +03:00
Lauri Ojansivu f06794343e Design shared import export sanitization 2026-09-05 23:51:02 +03:00
Lauri Ojansivu 5154939a41 Design complete restart-safe import and export 2026-09-05 23:51:02 +03:00
Lauri Ojansivu 175eea9810 Design restart-safe durable operations 2026-09-05 23:51:02 +03:00
Lauri Ojansivu 6d5bcb4fc1 Extend verified recovery integrity design 2026-09-05 23:51:02 +03:00
Lauri Ojansivu 3980dd9fc3 Design verified recovery and low-load maintenance 2026-09-05 23:51:02 +03:00
Lauri Ojansivu 90158d5012 Audit security coverage and recovery failures 2026-09-05 23:51:02 +03:00
Lauri Ojansivu bbfcabbe6b Merge branch 'main' of https://github.com/wekan/wekan 2026-09-05 13:14:45 +03:00
Lauri Ojansivu e280819114 Remove Liquid wrapper from email troubleshooting 2026-09-05 12:56:11 +03:00
Lauri Ojansivu 2bdb88314d Merge pull request #6668 from msgwing/docs/office365-basic-auth-notice
docs: the Microsoft Office 365 mail example uses Basic authentication, which Microsoft is retiring
2026-09-05 12:50:17 +03:00
Lauri Ojansivu 1af5ceae28 Document Admin Panel email providers
Put the Admin Panel email-provider option at the top of email troubleshooting and clarify its opt-in relationship with MAIL_URL across related documentation.\n\nThanks to xet7 !
2026-09-05 12:16:58 +03:00
Lauri Ojansivu 77dd5f2539 Say what opening History actually proved.
The previous commit verified the card scope. The rest has now been opened too,
so the document and the changelog say what was done rather than what was
likely: the card, list and swimlane menus each open the table with their own
scope reaching the template; search narrows it and reports no results for a
term nothing matches; a contributor's avatar filters to that person; and with
32 rows the footer reads 1 / 2, the second page holds the remaining seven in
sequence, and the next arrow disables itself there.

Nothing new was found. That is worth recording as plainly as the four faults
the first pass found, because "it shares a template with something that works"
is the reasoning those four faults survived.

Thanks to xet7 !
2026-09-05 00:20:05 +03:00
Lauri Ojansivu 731461eaea Update upcoming WeKan changelog
Records what opening History found, and corrects History.md, which still said
none of it had been exercised in a running WeKan. The card scope now has been:
what was verified, what the pass found, and - said plainly, because it is the
same reasoning that produced those four faults - which scopes remain untested.

Thanks to xet7 !
2026-09-05 00:16:35 +03:00
Lauri Ojansivu 1fe46c6044 Record every group, and give History one table for every scope
Phases 3, 5 and 6 of docs/Features/Reports/History/History.md, and the viewer of
phase 2.

RECORDING EVERYTHING, FROM ONE PLACE. §5 suggests "a thin, central choke point
... avoids sprinkling calls everywhere", and server/models/changeHistoryHooks.js
is that: an after.update hook per collection that diffs the changed fields, plus
insert/remove for the sub-entities. Cards, lists, swimlanes, checklists,
checklist items and comments are covered across every group §3 names.

The advantage over editing twenty setters is not brevity, it is COVERAGE: the
REST API, the CSV and Trello importers and the rules engine all write through
the collection and none of them call the client setters, so a per-setter rollout
would have recorded a description edited in the UI and silently missed the same
edit made over the API.

What a hook must not do is record too much, so models/lib/changeHistoryGroups.js
is a table rather than a rule: modifiedAt and dateLastActivity change on nearly
every write and would bury the changes a person actually made, and the four
fields of a move only mean anything together - reported separately, one drag
becomes four rows and undo puts back a quarter of it. Card.move and the list
soft delete therefore record themselves, as one change each. The description
setter records nothing now: the hook covers it, and recording in both places
would have needed two presses of Ctrl+Z to undo one edit.

ONE TABLE, EVERY SCOPE. §7a: "there is ONE implementation, parametrised by
scope". client/components/history/historyTable is that one - contributor pane,
search, pagination, row selection, Restore, RTL - and the card, list and
swimlane menus each open it with a different scope. Adding History to a menu is
a menu item and a two-line handler, exactly as the design promises.

tests/historyOneTemplate.test.cjs keeps it that way. Six copies of a table
drift: one gets RTL and the others do not, one gets the search fixed and the
others keep the bug. The test walks every .jade under client/ and fails if a
second History table is ever defined.

Two things the UI needed that were nearly wrong. The scope has to travel as
`dataContextIfCurrentDataIsUndefined`, because Popup.open's second argument is
OPTIONS - a bare object there is ignored and the popup opens on the menu's own
data context, showing the wrong history. And the popup needs a title key or it
renders with no header and no close button; it reuses the existing `history`
key rather than adding one.

FOUR NEW WORDS. Removed, Edited, Moved, Restored - the Action column is the one
a reader must understand. 'Added' the app already had, and every other label
reuses the word the card view already uses for that section, so a group is
labelled Description or Labels in the language the card beside it speaks. That
kept this to four keys in 197 locales instead of twenty-six. Low confidence on
the same long tail as before.

NOT VERIFIED LIVE. There is no Meteor runtime here, so none of this has been
opened in a browser. §10 asks for each phase to be verified live before the
next; that has not happened, both documents now say so, and the UI in
particular should be treated as unproven.

Thanks to xet7 !
2026-09-04 23:20:12 +03:00
Lauri Ojansivu 898643eea9 Build the universal change history, and put undo on top of it
Phase 1 of docs/Features/Reports/History/History.md §10, plus the write half of
phase 2. Ctrl+Z is no longer a position-only feature.

THE STORE. models/changeHistory.js is the append-only collection of §4: one row
per change, carrying every container id it sits inside (boardId, swimlaneId,
listId, cardId) so a container scope is a plain equality rather than a join the
database cannot do - which is what makes a swimlane's history include its lists'
and cards' rows.

It imports NO other model, deliberately. Its predecessor imports Cards, Lists,
Swimlanes, Checklists and ChecklistItems so its undo() can write to them, and
that is precisely why models/cards.js could not import it, guarded on an assumed
global instead, and recorded nothing for years. A collection that entities must
import cannot import entities. Applying a change back to a document therefore
lives in server/models/changeHistory.js, which nothing imports and which may
import anything.

THE RULES ARE PURE. models/lib/changeHistoryQuery.js holds the scope-to-selector
translation, the search and the selection normalisation, with no Meteor and no
database, because that is where this feature is either right or quietly wrong:
a scope that resolves to the wrong id column shows one board's history under
another board's menu, and a selection that does not normalise its input restores
the wrong rows. Both are silent. 17 tests, including that an unknown or
half-given scope is REFUSED rather than widened into a selector that matches
everything.

UNDO IS NOW THE WHOLE HISTORY. changeHistory.undoLast/redoLast replace the
position-only methods; the keyboard bindings and the tested pickUndo/pickRedo
rule are unchanged. One rule covers every change type instead of a case per
action: undo applies previousContent, redo applies newContent. Restores go
through the same setters an ordinary edit uses, so validation, hooks and
Activities still run, and each restore is itself recorded twice - once
attributed to whoever made the change being restored, once to whoever pressed
Restore (§8.3).

RECORDED SO FAR: card description edits (§10.2's first content group - the
previous text is read BEFORE the write, since after it the old value is gone),
card moves, list moves, and list soft-delete/restore, which is what makes
"undo a deleted list" work.

changeHistory is in the snap's MERGE_COLLECTIONS, as §9a.4 requires the moment
the collection exists: a history row written on the copy that is not served is
work that would otherwise be stranded in a database nobody opens.

NOT BUILT: every UI in §7, §7a and §8 - the popup, the table, the contributor
avatars, the Restore button, the "History" menu items - and recording for the
remaining groups of §3. The methods those screens need exist and are tested;
nothing calls them yet. Both docs now say which half is which, because the last
time this document claimed more than the code did, the gap survived for months.

Thanks to xet7 !
2026-09-04 22:56:52 +03:00
Lauri Ojansivu dc4110e6fe Record card moves in history, so undo of a drag does something
Ctrl+Z after dragging a card did nothing, and had never done anything.

#6478 found that every trackChange call site guarded on

  typeof UserPositionHistory !== 'undefined'

against a bare identifier no file imported. It is an ES-module default export,
not a global, so the guard was always false and nothing was ever recorded. The
fix - import the collection - was applied to the list path in
server/models/lists.js and NOT to the card path in models/cards.js, which kept
the dead guard. So list moves became undoable, card moves did not, and
docs/Features/Login/Undo/Undo.md said card moves were "already present (now
actually runs)" the whole time.

The import here has to be lazy and has to be inside the call:
models/userPositionHistory.js imports models/cards.js, so a top-level import
would be a cycle and could leave the binding undefined depending on evaluation
order. That is the same shape as the cardMoveModifier require a few lines above,
and is most likely why the file was skipped rather than fixed.

The guard is gone from the list path too. It was harmless there - that file does
import the collection, so it was always true - but it is the shape that turned
recording off, and copying that block into a file without the import silently
turns it off again. Which is exactly how the card path stayed dead.

tests/undoRecordsWhatItClaims.test.cjs is the guard the fix needed more than the
fix itself, because undo FAILS SILENTLY: nothing throws when a change is not
recorded, the user just presses Ctrl+Z and nothing happens. It finds the
recording sites rather than listing them, and fails when one cannot reach the
collection, when one reintroduces the assumed-global guard, when recording is
not wrapped so it can never fail the move it records, and when an entity type is
recorded that undo() has no case for. It also pins the reverse gap - swimlane,
checklist and checklistItem have full undo() cases that nothing records - so
that stays a known follow-up rather than a surprise.

Undo.md no longer claims more than the code does, and now says plainly what is
recorded (list moves, list soft-delete/restore, card moves) and what is not
(everything else - a description, a checklist title, labels, members, dates are
written straight to the document with no previous state kept).

Thanks to xet7 !
2026-09-04 21:43:00 +03:00
SMTP Relay & Email - Free Send 694b4d2b38 docs: note that the Office 365 mail example uses Basic authentication 2026-09-01 20:06:52 +02:00
Lauri Ojansivu aee94c2637 Resolve absolute and Spring OIDC endpoints
Use one endpoint resolver for authorization, token, Oracle token, and user-info requests so complete HTTP and HTTPS URLs remain intact and relative paths are joined without duplicate slashes. Document Spring Authorization Server's default protocol endpoints and callback configuration, with regression coverage for both valid and malformed combinations.

Thanks to Esther125 and xet7 !

Fixes #5150,
2026-08-25 20:07:43 +03:00
Lauri Ojansivu 1485251958 Exclude LDAP groups from user synchronization
Recognize known Active Directory, OpenLDAP, and POSIX group object classes case-insensitively. Skip them during bulk import, reject them at account creation, preserve custom user schemas, and document user search filters.

Thanks to MiteNy and xet7 !

Fixes #4875,
2026-08-25 20:02:32 +03:00
Lauri Ojansivu 433455e0e8 Fail safely during LDAP background presence sync
Keep repeat profile updates and confirmed removed-user disabling, but abort on missing identifier configuration or ambiguous directory matches. Share and test the exact disable and re-enable decisions and document their authority boundary.

Thanks to RowhamD, q16marvin and xet7 !

Fixes #4654,
2026-08-25 19:59:16 +03:00
Lauri Ojansivu 7fb9ad1d75 Close LDAP encryption configuration ambiguity
Document the preferred LDAPS, STARTTLS, and unencrypted settings, replace the legacy FreeIPA example, and pin the existing normalized runtime wiring and warnings with regression coverage.

Thanks to robertdahlem and xet7 !

Fixes #4158,
2026-08-25 19:39:57 +03:00
melbinjp 492522b67a docs: point the Theme file table at the reorganised path
docs/Features/Page/Theme.md listed docs/Theme/Theme.md, which moved to
docs/Features/Theme/Theme.md in c4cb87345 (Reorganize documentation and repair
links., 2026-08-17). The table row still pointed at the old location.
2026-08-18 10:59:40 +05:30
Lauri Ojansivu 80501753a8 Document the issue 6608 archive fixes. 2026-08-18 00:30:02 +03:00
Lauri Ojansivu 1253dff0ab Document permanent-delete argument validation. 2026-08-18 00:18:06 +03:00
Lauri Ojansivu 75ae547995 Document Recovery guidance in Delete settings. 2026-08-18 00:12:33 +03:00
Lauri Ojansivu a02d03a133 Document the Recovery audit description. 2026-08-18 00:01:53 +03:00
Lauri Ojansivu bfeb839591 Document Recovery outcome filtering. 2026-08-17 23:58:25 +03:00
Lauri Ojansivu 9b08008db3 Document complete permanent-delete attempt audits. 2026-08-17 23:55:38 +03:00
Lauri Ojansivu 4c556d2ba5 Document permanent-delete Recovery audits. 2026-08-17 23:43:53 +03:00
Lauri Ojansivu 74c3873563 Clarify the Home empty-state drag limit.
Change the Home placeholder to Drag only one board here to open it after login, update its design note and CSS comment, and pin the exact English wording in the Home regression suite.\n\nThanks to xet7 !
2026-08-17 22:45:00 +03:00
Lauri Ojansivu 3edc723f2d Add Remaining drag targets for Starred and Archive.
Mark drags from Remaining so Starred and Archive receive green valid-target hints. A Starred drop adds only missing stars without removing boards from Remaining, while Archive continues through the confirmed single or multi-board archive path. Add positive and negative target regression coverage.\n\nThanks to xet7 !
2026-08-17 22:42:57 +03:00
Lauri Ojansivu fb13d01bca Remove the Archive tile action-looking icon.
Keep the archived date as plain text but remove its fa-archive glyph from both board tile variants, where broad hover styling made it look like a lower-left action. Preserve permanent deletion exclusively in the right sidebar and add regression coverage.\n\nThanks to xet7 !
2026-08-17 22:34:57 +03:00
Lauri Ojansivu aebc7d9def Reject multiple boards dropped on Home.
Show Please select only one board when a Home drop contains zero or multiple board ids. Stop before changing Home or clearing the selection, while retaining the existing one-board drop behavior.\n\nThanks to xet7 !
2026-08-17 22:31:06 +03:00
Lauri Ojansivu 9be1677420 Restrict Archive selection drop targets.
Mark board drags while Multi-Selection is active in Archive so Home, Archive, sharing targets and other board sections refuse them before accepting the HTML5 drop. Highlight only Remaining and existing Workspaces in green, and restore archived boards when assigning them to a Workspace.\n\nThanks to xet7 !
2026-08-17 22:29:00 +03:00
Lauri Ojansivu 9cb5ef5e0f Use the exact-one warning for an empty Home selection.
Require exactly one selected id before setting or unsetting the Home board. Zero and multiple selections now both report Please select only one board, while other bulk actions keep their empty-selection warning.\n\nThanks to xet7 !
2026-08-17 22:10:10 +03:00
Lauri Ojansivu 9c6febe1da Specialize multi-selection actions for Home.
Label the Home section's toggle as Unset as Home board and hide Archive and Duplicate there, while retaining those actions in the other live-board sections. Add rendering coverage and the new label to every language catalogue as an untranslated placeholder.\n\nThanks to xet7 !
2026-08-17 22:02:35 +03:00
Lauri Ojansivu ddb0ab4a26 Require one board for the Home selection action.
Keep the existing empty-selection warning, reject multiple selected boards with the requested single-board message, and call toggleDefaultBoard only for exactly one id. Add the message to every language catalogue as an untranslated placeholder and cover the zero, multiple and single-selection wiring.\n\nThanks to xet7 !
2026-08-17 21:56:10 +03:00