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
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
c4e55c5553
Unify Account initialization code paths.
...
We were not initializing the timezone when loading all accounts, which was
making the cron job fail.
2014-08-05 22:06:05 -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
243cfb06e6
Allow digest.css to be read by the app in prod too.
2014-08-01 23:08:50 -07:00
Mihai Parparita
bc9427a2e0
Add basic CSS styling to digests.
2014-08-01 23:00:21 -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
1384667bfd
Add basic README.
2014-08-01 21:29:18 -07:00
Mihai Parparita
fcd505f621
TODO is now in a Quip doc.
2014-07-30 22:46:03 -07:00
Mihai Parparita
ddbd3adea5
Add missing file from 649bbd8fd9.
2014-07-30 22:29:02 -07:00
Mihai Parparita
649bbd8fd9
Add digest cron handler.
2014-07-30 22:17:04 -07:00
Mihai Parparita
1bc9d53325
Send single email button.
2014-07-29 22:52:36 -07:00
Mihai Parparita
1ffac114ff
Move digest rendering into its own template.
2014-07-29 22:29:06 -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
Mihai Parparita
0b7b99b696
Deleted unused OAuth token encode/decode functions.
2014-07-29 21:35:16 -07:00
Mihai Parparita
303e6ca229
Persit OAuth token in datastore.
2014-07-28 22:25:40 -07:00
Mihai Parparita
ceafd4035a
Add sign out link.
2014-07-28 21:36:55 -07:00
Mihai Parparita
97683cb538
Add note about commit email addresses.
2014-07-27 21:44:31 -07:00
Mihai Parparita
7fa9babac9
One more TODO.
2014-07-27 21:41:50 -07:00
Mihai Parparita
5ba00c78a7
Another TODO
2014-07-26 15:36:09 -07:00
Mihai Parparita
2391a279f9
Store OAuth token in a session cookie.
...
Not the final design (it'll instead be persisted to the App Engine data store,
and the session will just have the user ID), but this has most of the
scaffolding for session cookies.
2014-07-26 15:34:47 -07:00
Mihai Parparita
df3c31c1d0
More TOODs.
2014-07-20 15:11:18 -07:00
Mihai Parparita
eb1ba582e2
Sort digest repos by name.
2014-07-20 14:38:19 -07:00
Mihai Parparita
c0375fdb37
Include organization repos in the digest.
2014-07-20 14:30:32 -07:00
Mihai Parparita
221a084baf
Only look at repos that may have activity in the digest interval.
2014-07-20 14:13:50 -07:00
Mihai Parparita
2024e06a1f
Add a basic HTTP cache in front of the GitHub API to speed up development.
...
Loosely inspired by https://github.com/gregjones/httpcache except we don't want
to follow HTTP semantics, and instead cache all requests.
2014-07-19 15:23:35 -07:00
Mihai Parparita
539c0e41e4
Small refactoring to break up the large handler functions.
2014-07-19 14:34:20 -07:00
Mihai Parparita
dc1225d12d
Include all repositories the user has access to, not just those that they own.
2014-07-13 15:55:24 -07:00
Mihai Parparita
057c750f4b
Parallelize repository commit fetches.
...
Also rename Repository struct fields to Repo for brevity.
2014-07-13 14:37:46 -07:00
Mihai Parparita
1a5c6c68c6
Use append()
2014-07-13 13:57:08 -07:00
Mihai Parparita
3b9a42cb73
Add basic digest showing commits from a year ago in a user's repositories.
2014-07-07 23:41:26 -07:00
Mihai Parparita
d2bb784705
Separate index and GitHub OAuth callback handlers.
...
Also switch to gorilla/mux for the router and fix some variable names to be
mixedCase.
2014-07-06 15:20:49 -07:00
Mihai Parparita
22ef0540aa
More notes.
2014-07-05 23:28:04 -07:00
Mihai Parparita
7e04770a2f
Experiment with using the events API.
2014-07-05 23:18:59 -07:00
Mihai Parparita
9097e1508b
Add basic GitHub OAuth flow.
2014-07-05 22:53:34 -07:00