mox/vendor/github.com
Mechiel Lukkien a2c9cfc55b
webadmin: don't show runtime typecheck error for invalid values in dmarc and tls reports
several fields in dmarc and tls reports have known string values. we have a Go
string type for them. sherpats (through sherpadoc) turns those strings into
typescript enums, and sherpats generates runtime-typechecking code (to enforce
correct types for incoming json, to prevent failing deeper in the code when we
get invalid data (much harder to debug)). the Go not-really-enum types allow
other values, and real-world reports have unknown/unspecified/invalid values.
this uses the sherpadoc -rename flag to turn those enums into regular untyped
strings, so sherpats doesn't generate enum-enforcing runtime type checking
code.

this required an update to sherpadoc, to properly handling renaming a type to a
basic type instead of another named type.

for issue #161 by RobSlgm, thanks for reporting!
2024-05-09 15:58:14 +02:00
..
beorn7/perks mox! 2023-01-30 14:27:06 +01:00
cespare/xxhash/v2 update latest prometheus client dependency and its dependencies 2023-11-09 21:43:47 +01:00
matttproud/golang_protobuf_extensions/v2 update to latest github.com/prometheus/common to drop dependency on github.com/golang/protobuf 2023-12-14 20:20:17 +01:00
mjl- webadmin: don't show runtime typecheck error for invalid values in dmarc and tls reports 2024-05-09 15:58:14 +02:00
prometheus update dependencies 2024-01-05 11:17:11 +01:00
russross/blackfriday/v2 new website for www.xmox.nl 2024-01-10 17:22:03 +01:00