summaryrefslogtreecommitdiffstatshomepage
path: root/filters/email-libravatar.lua (unfollow)
Commit message (Collapse)AuthorLines
2019-01-03filters: migrate from luacrypto to luaosslJason A. Donenfeld-4/+13
luaossl has no upstream anymore and doesn't support OpenSSL 1.1, whereas luaossl is quite active. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2014-12-13filter: fix libravatar email-filter https issueChristian Hesse-1/+2
Serving cgit via https and getting avatar via http gives error messages about untrusted content. This decides whether or not to use https link by looking at the environment variable HTTPS, which is set in CGI.
2014-03-13filter: add libravatar email-filter lua scriptChristian Hesse-3/+3
2014-01-15email-gravatar: fix html syntax issuesChristian Hesse-1/+1
an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
2014-01-14email-gravatar: do not scale icons upJason A. Donenfeld-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2014-01-14filter: allow returning exit code from filterJason A. Donenfeld-0/+1
Filters can now indicate a status back to cgit by means of the exit code for exec, or the return value from close for Lua. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2014-01-14email-gravatar: fix html syntax issuesChristian Hesse-1/+1
* make ampersand a html entity * add required alt attribute * add required img end tag
2014-01-14email-gravatar.lua: fix for lua 5.2Christian Hesse-1/+1
2014-01-14filter: add page source to email filterJason A. Donenfeld-1/+1
Since the email filter is called from lots of places, the script might benefit from knowing the origin. That way it can modify its contents and/or size depending. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2014-01-14filter: add gravatar scriptsJason A. Donenfeld-0/+25
The lua one is hugely faster than the python one, but both are included for comparison. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>