2 Commits (ae2e4afde78876d84402ae6af9ddceaf064e379a)

Author SHA1 Message Date
alex e7b2fad441
verifyEventLink: check cache first to allow more valid URLs
previously, a request to an open graph image reported from say
https://github.com/example/some.repo would result in 404 not found, a
false negative because "is link in event?" verification would fail:
"some.repo" looks like a file with .repo extension, not an html page.

in this commit, if a client already requested example/some.repo
before, and it is cached, the response to the OGP image is successful.
2 years ago
alex 813d0501bd
basic implementation of the last api version
the meat is in Noxer struct, in noxy.go.
executable server entry point is in cmd/noxy/main.go.

all request responses are cached using a rudimentary filesystem
based caching. a max storage quota is not implemented yet.
2 years ago