f10e23b3c1
Update to appengine v2 SDK
2023-02-17 13:50:58 -08:00
Mihai Parparita
8fc40ed008
Minial updates to work with go 1.18
...
Add a minimal go modules setup, and update to work with more recent
versions of the oauth2 and GitHub libraries.
2022-04-10 21:42:43 -07:00
Mihai Parparita
6c662e2109
Changes necessary to run with the Go 1.11 App Engine runtime.
2020-03-05 21:30:47 -08:00
Mihai Parparita
012d736e25
Fix digest end date to not overlap with the next digest period.
...
Apparently the since/until repository timestamp limits denote a closed interval,
so commits made at midnight would appear twice. Switch to setting the end date
to being one second earlier.
2015-09-06 22:40:58 -07:00
Mihai Parparita
6b8e347a72
Stop looking up repos for all users on the admin page.
...
Takes too long to load. Move repos instead into a per-user page.
Also adds basic redacting of repo information.
2014-12-27 21:53:38 -08:00
Mihai Parparita
9cb75013b1
Slightly better digest intro paragraph.
2014-12-14 21:47:13 -08:00
Mihai Parparita
05acf9240a
Don't turn errors fetching individual repository intervals into errors for the whole digest.
...
Return the data that we have, and indicate in a footer which repositories errors
were encountered for.
2014-12-14 21:23:33 -08:00
Mihai Parparita
62aa3d79d9
Fix formatting after ba402fabad.
2014-12-06 14:51:58 -08:00
Mihai Parparita
ba402fabad
Add redaction of data displayed via the admin UI.
2014-11-30 14:57:20 -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
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