Commit graph

27 commits

Author SHA1 Message Date
Mihai Parparita
438cb1fdac Ignore deadline exceeded errors. 2020-03-07 14:55:16 -08: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
ffa401fb8d Don't send emails about GitHub 502s 2019-02-27 22:56:53 -08:00
Mihai Parparita
6b8e347a72 Stop looking up repos for all users on the admin page.
Takes too long to load. Move repos instead into a per-user page.

Also adds basic redacting of repo information.
2014-12-27 21:53:38 -08:00
Mihai Parparita
439d60913b Sort the admin users list by GitHub user ID. 2014-12-27 21:28:04 -08:00
Mihai Parparita
3d5bf2cad4 Add admin command for deleting accounts. 2014-12-27 21:17:52 -08:00
Mihai Parparita
a270579f36 More aggressively persis the user's email address in the account object. 2014-12-20 21:44:09 -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
2851ad3ac2 Better handling for revoked credentials on the admin page. 2014-12-20 15:16:27 -08:00
Mihai Parparita
f39b6e5e17 Add totals to admin page. 2014-12-14 16:16:12 -08:00
Mihai Parparita
3340a9d288 Add FAQ. 2014-12-13 21:36:29 -08:00
Mihai Parparita
f462e1917a Email me for digest send errors. 2014-12-07 15:07:40 -08:00
Mihai Parparita
6a52f76635 Fix continue URL validation.
When running in production http.Reqest.URL is an absolute URL, so we shouldn't
check for leading slashes. Instead check for the hostname matching (which also
works for relative URLs on localhost).
2014-12-06 14:50:40 -08:00
Mihai Parparita
ba402fabad Add redaction of data displayed via the admin UI. 2014-11-30 14:57:20 -08:00
Mihai Parparita
63070da7fb Parallelize users admin page requests. 2014-11-30 14:45:45 -08:00
Mihai Parparita
a52ea5d09c Reduce code duplication for rendering of flash messages. 2014-11-29 22:15:09 -08:00
Mihai Parparita
8aa6b897e2 Don't clobber the existing Account instance when signing in as an existing user. 2014-11-29 22:03:33 -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
Mihai Parparita
7222af8259 Add an email footer. 2014-11-22 15:04:09 -08:00
Mihai Parparita
479c5aa723 Add flash message when saving settings. 2014-11-22 14:45:16 -08:00
Mihai Parparita
905f667a1e Add option to disable emails. 2014-11-22 14:42:13 -08:00
Mihai Parparita
0157ac3c46 Add admin UI listing all users. 2014-11-08 15:28:15 -08:00
Mihai Parparita
400c057deb Make style JSON parse errors not be fatal.
Avoids having to restart the server when in development.
2014-10-26 22:53:46 -07:00
Mihai Parparita
0e2fe4f835 Rename package to retrogit. 2014-10-26 15:22:14 -07:00
Renamed from app/githop.go (Browse further)