Commit graph

30 commits

Author SHA1 Message Date
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
0e2fe4f835 Rename package to retrogit. 2014-10-26 15:22:14 -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
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
1cb55cfe6a Add option to control which repositories are included in the digest. 2014-08-31 15:22:19 -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
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
d5492565e1 List commits in chronological order. 2014-08-10 14:01:35 -07:00
Mihai Parparita
4f2a66c313 Fix empty check. 2014-08-09 20:17:31 -07:00
Mihai Parparita
1791534950 Support digests going back more than 1 year. 2014-08-09 16:00:04 -07:00
Mihai Parparita
ce4ef11042 Don't send digest emails if empty. 2014-08-05 22:34:21 -07:00
Mihai Parparita
8273cb18bb Skip over repositories that have never been pushed to. 2014-08-05 22:26:53 -07:00
Mihai Parparita
1b3f91363f Add basic admin UI for viewing the digest as another user. 2014-08-05 22:14:35 -07:00
Mihai Parparita
faf41a425d Show timestamps that the commit was pushed to GitHub.
That matches the timestamp filtering better. The author timestamp is shown in a
tooltip.
2014-08-04 23:01:22 -07:00
Mihai Parparita
fe11e2a97a Basic timezone support.
Digests are generated for day boundaries in the given timezone, and timestamps
that are displayed are in that timezone too. No UI for actually specifying a
timezone.
2014-08-03 23:00:48 -07:00
Mihai Parparita
b76c164d45 Extract the first line of the commit message as the title. 2014-08-03 16:00:29 -07:00
Mihai Parparita
6c63be0cfb Move DigestCommit construction to a separate function. 2014-08-03 15:46:25 -07:00
Mihai Parparita
d1982e9d7f Create a DigestCommit struct for extracting interesting/display data for commits.
For just used for convenience storage of properties and a display SHA, but will
also be used for message/title extraction.
2014-08-02 23:11:30 -07:00
Mihai Parparita
2635512896 Omit repo digests that don't have any commits in that interval. 2014-08-01 21:33:01 -07:00
Mihai Parparita
649bbd8fd9 Add digest cron handler. 2014-07-30 22:17:04 -07:00
Mihai Parparita
63982d15d9 Move rest of digest fetching to digest.go. 2014-07-29 22:18:34 -07:00
Mihai Parparita
b0811da602 Break out accounts, digests, caching and session configuration out of githup.go. 2014-07-29 21:57:33 -07:00