tvl-depot/web/panettone
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
..
src fix(panettone): handle missing DNs when looking up displaynames 2021-01-29 17:38:41 +00:00
test feat(panettone): render a subset of markdown in issue subjects 2021-01-25 21:02:38 +00:00
.envrc feat(web/panettone): Add dev helpers for postgres db 2020-07-26 21:55:41 +00:00
.gitignore chore(web/panettone): ignore .fasl files 2020-07-26 20:12:37 +00:00
default.nix feat(panettone): render a subset of markdown in issue subjects 2021-01-25 21:02:38 +00:00
docker-compose.yml feat(web/panettone): Add dev helpers for postgres db 2020-07-26 21:55:41 +00:00
OWNERS feat(web/panettone): The start of a very simple issue tracker 2020-07-23 19:47:38 +00:00
panettone.asd feat(web/panettone): Add initial styles 2020-07-23 22:20:00 +00:00
shell.nix feat(web/panettone): Add dev helpers for postgres db 2020-07-26 21:55:41 +00:00