Commit Graph

13 Commits

Author SHA1 Message Date
Brandon Mathis
c35ff7b660 Fixed GitHub jsonp call. Closed #1118 2013-03-10 14:35:00 -05:00
Parker Moore
cc5f508a10 Use HTML5 '&' character to connect query params in GitHub API call. #1031. 2013-02-20 17:46:15 +01:00
Michael G. Schwern
cc93e6fc98 Use the Github API repo sorting.
The Github API can sort by pushed time, no need to do it manually.
http://developer.github.com/v3/repos/#list-user-repositories

This is both more efficient, Github does the sorting, but it also
fixes a bug.  Because the list of results are paginated, if you have
more than a page's worth of repositories it will only sort that page.
This results in a false view of what has been recently pushed.

For a good example, try my github account "schwern" with and
without this patch.
2013-02-18 14:17:32 +11:00
Thomas Rix
bcdc904843 Escape github repo descriptions, as they may contain HTML. 2013-01-02 20:55:09 -08:00
Zhao Lü
6c26f907cc Updated Github API to V3.
Github API V2 has been removed.  The response data format also changed.
2012-09-09 14:50:00 -05:00
Zhao Lü
53ca59d6d0 Updated Github API to V3.
Github API V2 has been removed.  The response data format also changed.
2012-09-09 14:50:00 -05:00
Frederic Hemberger
029fa9bf31 Add response check, fixes #252 2011-10-28 16:21:02 +02:00
Brandon Mathis
d0d1e2a98d updated github.js to use reqwest.js with Ender 2011-09-29 16:06:09 -05:00
Frederic Hemberger
569717abdc jsHint'ed github.js 2011-09-26 14:37:01 +02:00
Philip Hofstetter
1860c23632 corrected fork skipping logic 2011-08-04 21:49:38 +02:00
Philip Hofstetter
16bb7729ec make listing/not listing of forks configurable
some people have more or less taken over projects with their forks, so
it probably makes sense to still list them among the repositories
2011-08-04 21:27:58 +02:00
Philip Hofstetter
08af7b4e38 allow limiting the amount of repos to display
by setting github_repo_count to someething that's not 0, you can limit
the amount of repositories to render
2011-08-04 21:15:50 +02:00
Philip Hofstetter
f955919348 add github repositories sidebar plugin
if you specify

github_user:

in you _config.yml and once you add asides/github.html to your sidebar
items, this plugin will fetch the specified users github repositories
and order them so the last pushed ones are shown first. Then it'll list
them in the side-bar, including a link and the repository description

The plugin will only list your own repositories, not forks, though this
might need to be configurable later
2011-08-04 21:01:24 +02:00