Commit graph

125 commits

Author SHA1 Message Date
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
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
Mihai Parparita
bb8c898f97 Fix clearing of session cookie after 9a43bfc5bb. 2014-10-20 22:43:23 -07:00
Mihai Parparita
4e2076a98d Fix header getting coverted up too much. 2014-10-19 23:45:32 -07:00
Mihai Parparita
1f239cfd10 Drop site name from titles now that it's in the header. 2014-10-19 23:41:32 -07:00
Mihai Parparita
2804ba82f1 Add viewport. 2014-10-19 23:39:16 -07:00
Mihai Parparita
1b56d7ab0f Basic punch card header style. 2014-10-19 23:37:40 -07:00
Mihai Parparita
8008ca94a5 Abandon perforated paper design.
Too literal, and impacts readability.

Reverts most of 7d109f0c82.
2014-10-19 21:44:20 -07:00
Mihai Parparita
7d109f0c82 Basic perforated-paper-on-a-dot-matrix-printer styling. 2014-10-18 23:43:37 -07:00
Mihai Parparita
9aaa8326e0 Basic RetroGit renaming.
User-facing strings only.
2014-10-17 22:52:51 -07:00
Mihai Parparita
c285bc0e02 Add option to use public repos only. 2014-10-17 21:06:55 -07:00
Mihai Parparita
9a43bfc5bb Switch sigining in and out to using forms with POST. 2014-10-17 20:45:51 -07:00
Mihai Parparita
9db7f04c72 Increase HTTP request deadline. 2014-10-16 23:38:36 -07:00
Mihai Parparita
d6bd445caa Make commit messages wrap. 2014-10-16 23:26:32 -07:00
Mihai Parparita
c54e8766cc Make primary actions on the homepage stand out a bit more. 2014-10-15 22:57:11 -07:00
Mihai Parparita
b96671fffd Start a background task to compute the digest as soon as the timezone is set.
Serves as a cache warmup, for cases where the user views their digest
immediately.
2014-10-15 22:51:21 -07:00
Mihai Parparita
b4947769ad Missing file from f0b15e7324. 2014-10-15 22:51:10 -07:00
Mihai Parparita
f0b15e7324 Add flash message when digest has been emailed. 2014-10-15 22:41:00 -07:00
Mihai Parparita
45364c385a Handle pagination when fetching the organization repositories. 2014-10-15 21:55:30 -07:00
Mihai Parparita
71ebf98ce7 Guess timezone. 2014-10-12 21:17:55 -07:00
Mihai Parparita
7a24dfef8f Account deletion button. 2014-10-12 20:59:16 -07:00
Mihai Parparita
5794ffa131 Make all formatted dates resilient to Apple Data Detectors and Gmail event detection.
Insert zero-width non-breaking spaces every 2 characters.
2014-10-04 22:07:29 -07:00
Mihai Parparita
a476612855 Handle 404s when trying to look repos when computing vintages. 2014-10-02 22:27:29 -07:00
Mihai Parparita
0b643a8815 Quote HTML attributes. 2014-10-02 22:07:19 -07:00