Commit graph

15 commits

Author SHA1 Message Date
4b3a874dd0 Personalize email senders and send errors to me 2023-02-17 13:51:47 -08:00
f10e23b3c1 Update to appengine v2 SDK 2023-02-17 13:50:58 -08:00
Mihai Parparita
8fc40ed008 Minial updates to work with go 1.18
Add a minimal go modules setup, and update to work with more recent
versions of the oauth2 and GitHub libraries.
2022-04-10 21:42:43 -07:00
Mihai Parparita
6c662e2109 Changes necessary to run with the Go 1.11 App Engine runtime. 2020-03-05 21:30:47 -08:00
Mihai Parparita
735ac7ffb3 Better handling of GitHub OAuth errors when sending digest emails.
Fail silently if we can't even get an email address, otherwise send an error
email to the user.
2014-12-20 21:38:09 -08:00
Mihai Parparita
f8657e9992 Add favicon. 2014-12-13 22:33:18 -08:00
Mihai Parparita
1bf5d997f6 Make sure HTTP responses are not cacheable. 2014-12-13 15:35:10 -08:00
Mihai Parparita
e72f87d801 Add prettier default error page. 2014-12-07 14:58:46 -08:00
Mihai Parparita
fc216fb3de Email me for internal errors. 2014-12-07 14:37:57 -08:00
Mihai Parparita
b3887d60b6 Add basic panic recovery.
Based on Martini's.
2014-12-07 14:20:13 -08:00
Mihai Parparita
a52ea5d09c Reduce code duplication for rendering of flash messages. 2014-11-29 22:15:09 -08:00
Mihai Parparita
7a81416850 Preserve continue URL when doing a signed out redirect. 2014-11-29 21:57:07 -08:00
Mihai Parparita
16f16ae9d9 Add helper wrapper for handlers that require signed in state, to reduce boilerplate. 2014-11-28 15:00:39 -08:00
Mihai Parparita
852142b726 Convert remaining routes to AppHandler. 2014-11-28 14:28:25 -08:00
Mihai Parparita
b7760bc67e Add some common code for handling GitHub fetch and template rendering errors.
Not all handlers are converted yet.

Inspired by http://blog.golang.org/error-handling-and-go, but also (ab)uses the
error mechanism to handle redirects.
2014-11-27 16:02:21 -08:00