mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
An audit of the TODO Later backlog against the open issues and the current source. Three no longer belong there. #3113 - an outgoing webhook said who did something by DISPLAY name and had no field for the login name. params.user comes from getActivityUserName(), which prefers getName() because the same params feed the e-mail notification text, where "Lauri Ojansivu commented on ..." is what a person wants to read; a webhook consumer needs the identifier, received "Lauri Ojansivu" where it needed "xet7", and matching users by display name is wrong the moment two people share one. Changing what `user` means would break every consumer already reading it, which is what left this recorded as needing a maintainer decision. It needs none: the username travels as its OWN field. `user` is untouched, `username` is beside it in the default WEBHOOKS_ATTRIBUTES list, and a deployment that pinned its own list still gets exactly the fields it asked for. #6542 - "Import finished. Users imported: 60, but only 25 are listed". The Admin Panel People pane paginates and passes its total to the shared table page (totalLabelKey: 'people-number'), so the 60 the importer reported is on screen next to the 25 rows of the current page. That is what the report was about, and it is already true in this source. #6500 - Docker `latest` not loading in a browser: already closed upstream, so it was only sitting in the backlog. The rest of the backlog stays, each with its reason: they need an SMTP server, an LDAP directory, a container, a browser to drag in, or a maintainer's decision on an intended contract - none of which a source reading can settle. tests/webhookUsername.test.cjs pins both halves of the webhook change: that the username is there and set from the same user document as the display name, and that `user` still means what it always did, including the notification text that depends on it. Three of its seven assertions fail on the previous commit. Thanks to xet7 ! Fixes #3113, Fixes #6542.