Commit graph

69 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
7a81416850 Preserve continue URL when doing a signed out redirect. 2014-11-29 21:57:07 -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
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
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
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
61f50b8c71 Switch to new header image. 2014-10-26 21:54:44 -07:00
Mihai Parparita
be01a8623f Add basic card styling to commits. 2014-10-20 23:22: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
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
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
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
0b643a8815 Quote HTML attributes. 2014-10-02 22:07:19 -07:00
Mihai Parparita
b992e192ca Speed up homepage.
Don't try to fetch repositories to render the homepage (just use the excluded
repository count). Also do the user and email address fetches in parallel.
2014-10-02 22:06:32 -07:00
Mihai Parparita
cd88fad2ac Fix flash of repo list in settings page during load. 2014-09-28 22:09:56 -07:00
Mihai Parparita
7405cb5651 Add summary of settings to the index page. 2014-09-28 22:08:30 -07:00
Mihai Parparita
976beb08cc Move settings JavaScript to a separate file. 2014-09-27 16:06:54 -07:00
Mihai Parparita
01bee95e5c Collapse repositories list by default. 2014-09-27 16:05:05 -07:00
Mihai Parparita
40540fd91f Weekly digest option. 2014-09-27 15:52:57 -07:00
Mihai Parparita
1baff7fd42 Add link to GitHub email settings. 2014-09-01 22:18:40 -07:00
Mihai Parparita
69fcc91dc7 Add setting for which email address the digest will be sent to. 2014-09-01 22:17:09 -07:00
Mihai Parparita
1cb55cfe6a Add option to control which repositories are included in the digest. 2014-08-31 15:22:19 -07:00
Mihai Parparita
7810f4db39 Slightly prettier repository list. 2014-08-25 22:39:27 -07:00
Mihai Parparita
fac6a57e1c Add icon next to repo indicating its type. 2014-08-24 21:26:45 -07:00
Mihai Parparita
853c232c96 List repos on the settings page. 2014-08-24 21:05:50 -07:00
Mihai Parparita
cdf8ee326b Move settings to a separate page and handler. 2014-08-24 20:39:32 -07:00
Mihai Parparita
ff360bc605 Switch to inlining styles.
Unfortunately Gmail for iOS does not respect the <style> block that desktop
Gmail does. Styles are instead defined in a styles.json and can be referenced
via a custom template function. Not quite as nice as CSS (e.g. link style
invocation has to be repeated for every link), but still tolerable.
2014-08-18 23:10:41 -07:00
Mihai Parparita
90b397ef41 Remove unused template variables. 2014-08-17 22:33:16 -07:00
Mihai Parparita
8b9bd3fccb Allow account timezone to be set. 2014-08-17 22:27:49 -07:00
Mihai Parparita
0804172e9e Add template function to lessen boilerplate for getting a route's URL. 2014-08-16 15:41:51 -07:00
Mihai Parparita
c66ee02a55 Move digest viewing to its own page. 2014-08-16 15:24:38 -07:00