Commit graph

20 commits

Author SHA1 Message Date
Mihai Parparita
d831754422 Stop querying for the organization list.
The changes to the repositories and organization APIs are live
(https://developer.github.com/changes/2015-06-24-breaking-changes-to-organization-permissions-are-now-official/)
and thus the scopes used for the public repositories only option are no longer
sufficient to list organizations. However, it's no longer necessary to do that
in the first place, since the user repository list now includes repos from
organizations.
2015-08-18 22:13:38 -07:00
Mihai Parparita
054ea6e082 Prepare for the organization API changes described in https://developer.github.com/changes/2014-12-08-organization-permissions-api-preview/. 2015-02-07 14:38:33 -08: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
00e19e79b4 Ignore 403s when computing vintages. 2014-12-24 17:42:38 -08:00
Mihai Parparita
48034e3b3f Don't retry vintage calculation if the repo can't be loaded.
The user has most likely deleted their account.
2014-12-20 21:54:47 -08:00
Mihai Parparita
543552ae6b Restrict to organization repositories that the user is a member of.
Helps to filter out cases where the user doesn't have commit access to most of
an organization's repositories (@ImJasonH goes from 745 to 192).
2014-11-16 21:50:34 -08:00
Mihai Parparita
0e2fe4f835 Rename package to retrogit. 2014-10-26 15:22:14 -07:00
Mihai Parparita
9db7f04c72 Increase HTTP request deadline. 2014-10-16 23:38:36 -07:00
Mihai Parparita
45364c385a Handle pagination when fetching the organization repositories. 2014-10-15 21:55:30 -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
71ef392cfa Handle pagination in user repository listing. 2014-09-21 22:25:06 -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
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
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