Commit graph

157 commits

Author SHA1 Message Date
Mihai Parparita
dfd8041e94 Add GitHub app logo. 2014-12-13 22:44:25 -08:00
Mihai Parparita
f8657e9992 Add favicon. 2014-12-13 22:33:18 -08:00
Mihai Parparita
a9e17ee600 Fixes to make things look better on phone screens. 2014-12-13 21:59:20 -08:00
Mihai Parparita
b8398279db Add space between avatar and username. 2014-12-13 21:39:35 -08:00
Mihai Parparita
3340a9d288 Add FAQ. 2014-12-13 21:36:29 -08:00
Mihai Parparita
b1f7a0ba0f Add a footer to website pages. 2014-12-13 15:47:31 -08:00
Mihai Parparita
1bf5d997f6 Make sure HTTP responses are not cacheable. 2014-12-13 15:35:10 -08:00
Mihai Parparita
5b5cf2ab6a Make sure memcache keys are under the 250 byte limit. 2014-12-08 22:04:12 -08:00
Mihai Parparita
4a45ada620 Log more details for memcache errors. 2014-12-07 15:13:49 -08:00
Mihai Parparita
f462e1917a Email me for digest send errors. 2014-12-07 15:07:40 -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
62aa3d79d9 Fix formatting after ba402fabad. 2014-12-06 14:51:58 -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
13aa7def19 Fix generation of admin page links. 2014-11-29 22:28:29 -08:00
Mihai Parparita
e3db6775fb Style email footer links. 2014-11-29 22:20:42 -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
80bb40342e Position flashes within the body. 2014-11-22 14:47:13 -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
543552ae6b Restrict to organization repositories that the user is a member of.
Helps to filter out cases where the user doesn't have commit access to most of
an organization's repositories (@ImJasonH goes from 745 to 192).
2014-11-16 21:50:34 -08:00
Mihai Parparita
19f257f02e Add files missing from 0157ac3c46. 2014-11-16 21:50:18 -08:00
Mihai Parparita
0157ac3c46 Add admin UI listing all users. 2014-11-08 15:28:15 -08:00
Mihai Parparita
d3655c14db Less aggressive whitespace insertion. 2014-11-04 22:10:13 -08:00
Mihai Parparita
30f2ad4400 Actually use a zero width space to prevent timestamps being detected as events.
Zero-width space (200b) is deprecated, but the new way (word joiner - 2060)
doesn't work yet (at least not in Chrome/Mac since it switched to HarfBuzz)
2014-11-04 22:04:02 -08:00
Mihai Parparita
1fb6aea186 Better logged in blurb. 2014-11-02 15:40:14 -08:00
Mihai Parparita
dcbaeddde7 Use action button style everywhere.
Also some CSS cleanup.
2014-11-02 15:33:24 -08:00
Mihai Parparita
a376df94a7 Better sign in button on the homepage. 2014-11-01 15:19:57 -07:00
Mihai Parparita
2cb734cd49 Reduce the size of the digest email HTML.
Make monospace be the default font, and only override it in the few places where
we don't want it (as opposed to repeating it for every commit).
2014-10-26 22:55:35 -07: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
ebb7754487 Make header into a link. 2014-10-26 22:33:08 -07:00
Mihai Parparita
1f31fe8cca Digest styling improvements. 2014-10-26 22:31:07 -07:00
Mihai Parparita
816ea1d94a Fix page background color styling.
It was previously gray so that negative rubber band scrolling in Safari would
show gray, but that's not actually interesting/worth it.
2014-10-26 22:05:02 -07:00
Mihai Parparita
9693a1a5b2 Shrink header slightly on smaller screens. 2014-10-26 22:00:31 -07:00
Mihai Parparita
61f50b8c71 Switch to new header image. 2014-10-26 21:54:44 -07:00
Mihai Parparita
ae47abe99d Add 1x version of the header. 2014-10-26 15:52:03 -07:00
Mihai Parparita
8b663cd3fd Rename asset to indicate expected resolution. 2014-10-26 15:50:39 -07:00
Mihai Parparita
eb7d0dcb48 Improvements to the punch card header.
Center text within the overall image, instead of just within that section of
the card.

Make font slightly smaller, so that the text is visible on a 320 pixel wide
viewport.

Add a slight bevel and blur to the punch card holes, to make them look more
realistic.
2014-10-26 15:49:01 -07:00
Mihai Parparita
0e2fe4f835 Rename package to retrogit. 2014-10-26 15:22:14 -07:00
Mihai Parparita
07a64cffce Lighten the card yellow a bit. 2014-10-20 23:24:31 -07:00
Mihai Parparita
be01a8623f Add basic card styling to commits. 2014-10-20 23:22:32 -07:00