Commit graph

196 commits

Author SHA1 Message Date
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
395fe41c7c Update README with config files. 2014-10-11 16:31:00 -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
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
71ef392cfa Handle pagination in user repository listing. 2014-09-21 22:25:06 -07:00
Mihai Parparita
63fe7b619c Handle pagination in commit listing. 2014-09-21 21:58:36 -07:00
Mihai Parparita
f81e06b9de Fetch max number of commits per page. 2014-09-20 17:06:46 -07:00
Mihai Parparita
79462eed54 Defeat Gmail's date detection in the interval summary string. 2014-09-06 14:39:57 -07:00
Mihai Parparita
abb4822197 Less aggressive caching of GitHub API responses.
Only cache 200s, and only cache most responses for 1 hour.
2014-09-06 14:29:31 -07:00
Mihai Parparita
bbd75638f1 Move digest cron to 1PM Pacific Time.
More likely to be received during working hours than the previous default of
midnight UTC (5PM PDT).
2014-09-01 22:22:15 -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
7852b128df Handle 409 responses when trying to list commits. 2014-08-30 23:20:19 -07:00
Mihai Parparita
0cc4188964 Use a task queue for sending of digest emails when using the cron job. 2014-08-30 23:14:51 -07:00
Mihai Parparita
4561d17569 Run gofmt. 2014-08-30 22:56:43 -07:00
Mihai Parparita
6cc162c91b Use contributor stats to better determine a repository's vintage. 2014-08-26 23:42:59 -07:00
Mihai Parparita
b0994313d1 Add infrastructure for computing and storing repository "vintages."
Will be used for caching the oldest commit that we have for a repository (for a
specific user). For now we just store the creation date if there are no commits
before that time.
2014-08-26 22:59:25 -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
774f4b9769 Mention current URL in README 2014-08-23 20:57:37 -07:00
Mihai Parparita
a667873958 Do not panic if we have a timezone that we can't load. 2014-08-18 23:17:29 -07:00
Mihai Parparita
846a4240b2 Fix bottom corners of the commit rounded box getting cut off. 2014-08-18 23:12:54 -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
Mihai Parparita
0ecaeef5e3 Restructure templates to have a base "page" template with common markup. 2014-08-11 23:06:53 -07:00
Mihai Parparita
35a6407490 Move fetching of user and organization repos to a separate struct and file.
Prepares the way for showing a list of repositories on the homepage and fancier
determination of the first commit.
2014-08-11 22:09:56 -07:00
Mihai Parparita
8498241fbd Store pointers to repository instances.
Since multiple interval digests can reference the same repositories.
2014-08-11 21:32:28 -07:00
Mihai Parparita
06d8b89cb3 Use the repository HTML URL in the API object. 2014-08-11 21:29:56 -07:00
Mihai Parparita
d5492565e1 List commits in chronological order. 2014-08-10 14:01:35 -07:00