tvl-depot/web/panettone/src
sterni 0176a9e300 fix(panettone): handle missing DNs when looking up displaynames
* Fix find-user-by-dn raising an error condition if the search returns
  no results, return nil instead.
* Adopt strategy of defaulting to “someone” as displayname if lookup
  fails for all usage of displaynames in panettone.

I've tested this change for issues and comments created by missing
users. Adjusting the displayname seems to fix all 500 being created
by missing users both logged out and logged in.

Change-Id: I0a84eb0631c4a49f1664bed6d03afa60dce6eb47
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2448
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
2021-01-29 17:38:41 +00:00
..
.gitignore feat(web/panettone): The start of a very simple issue tracker 2020-07-23 19:47:38 +00:00
authentication.lisp fix(panettone): handle missing DNs when looking up displaynames 2021-01-29 17:38:41 +00:00
css.lisp fix(panettone): only scroll if content is too wide 2020-11-27 18:13:09 +00:00
inline-markdown.lisp feat(panettone): render a subset of markdown in issue subjects 2021-01-25 21:02:38 +00:00
irc.lisp fix(panettone): Prefix all IRC messages with a ZWSP 2020-11-22 21:59:58 +00:00
model.lisp fix(web/panettone): revert "implement shorthand issue URLs" 2020-08-09 19:02:07 +00:00
packages.lisp feat(panettone): render a subset of markdown in issue subjects 2021-01-25 21:02:38 +00:00
panettone.lisp fix(panettone): handle missing DNs when looking up displaynames 2021-01-29 17:38:41 +00:00
util.lisp feat(panettone): Use postgres as the storage backend 2020-07-28 00:32:48 +00:00