Commit Graph

44 Commits

Author SHA1 Message Date
Brandon Mathis
98013543d9 Removed Twitter and Ender.js. Added jQuery and updated Modernizr 2013-03-09 17:14:33 -06: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
Floyd Pink
43751b76d3 Fixed issue with mobile nav choosing the last option by default. Fixes #950. 2013-02-15 02:22:58 +01:00
Brandon Mathis
9decd23b5a updated ender.js to latest 2013-01-06 22:53:12 -06:00
Thomas Rix
bcdc904843 Escape github repo descriptions, as they may contain HTML. 2013-01-02 20:55:09 -08:00
Brandon Mathis
bfbb8f32fb Using https instead of protocol relative urls, for Pinboard and Twitter feeds 2012-10-01 07:28:30 -05:00
Brandon Mathis
a010c99289 Twitter API call and links are now protocol relative 2012-09-29 22:42:47 -05: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
hSATAC
a5a16b4039 Fix delicious widget js error
JS error occured when there's no tags on bookmarks
Check if it's an empty string before join item[i].t
2011-12-21 10:53:32 +08:00
Brandon Mathis
645eb6140b now mobile navigation inlcudes subscription links fixes #299 2011-12-10 12:49:55 -06:00
Frederic Hemberger
029fa9bf31 Add response check, fixes #252 2011-10-28 16:21:02 +02:00
Brandon Mathis
898b149dda removed console.log from twitter.js #facepalm 2011-09-29 19:59:06 -05:00
Brandon Mathis
579142c28b fixed issue with expanded twitter urls, fixed issue where twitter would report seven day old tweets as "false" 2011-09-29 19:55:23 -05:00
Brandon Mathis
d0d1e2a98d updated github.js to use reqwest.js with Ender 2011-09-29 16:06:09 -05:00
Brandon Mathis
9cf956cc96 added buffer for mentions in twitter stream 2011-09-28 00:53:54 -05:00
Brandon Mathis
347c954894 updated added reqwest to ender.js, fixed twitter.js url expansion bug 2011-09-27 23:51:01 -05:00
Brandon Mathis
04586299b1 fixed github line numbering issue, fixed a few bugs in code block styling 2011-09-27 00:58:07 -05:00
Frederic Hemberger
ab62bb9355 jsHint'ed octopress.js 2011-09-26 14:41:39 +02:00
Frederic Hemberger
569717abdc jsHint'ed github.js 2011-09-26 14:37:01 +02:00
Frederic Hemberger
40a7809d65 Fixes delicious integration #179 2011-09-26 14:19:47 +02:00
Frederic Hemberger
167db49940 Refactores twitter widget
- Order of code: Define functions first before using them
- Fixed issues found by jsHint (http://jshint.com)
- Switched to Twitter's current API url
- Expand shortened urls, fixes #165
2011-09-26 13:53:12 +02:00
Brandon Mathis
d1e5c45e79 Ender.js is now loaded locally instead of hotlinking 2011-09-25 21:31:22 -05:00
Brandon Mathis
eade4fc0d5 now layouts or pages can specify "sidebar: collapse" in the yaml front matter for an always collapsed sidebar 2011-09-25 21:31:18 -05:00
Brandon Mathis
c26e5c3be9 Merge branch 'master' of github.com:imathis/octopress 2011-09-25 09:15:14 -05:00
Brandon Mathis
9ef928588b mobile nav javascript updated to still work with role='main-navigation' since changes affecting custom partials don't get updated with the standard update script 2011-09-25 09:15:04 -05:00
Frederic Hemberger
2f60361a7b Fixes child selector for param[name=movie], #168 2011-09-24 12:43:44 +02:00
Frederic Hemberger
a9a901c136 Fixed misuse of ARIA roles (see http://dev.opera.com/articles/view/introduction-to-wai-aria/) 2011-09-21 14:48:38 +02:00
Frederic Hemberger
9e5e3c5d2f Fixes spacing and global variable leaks, JSHint check
octopress.js now almost passes JSHint (http://jshint.com). The only issues left
are due to undefined Modernizr and swfobject objects and the compressed
swfobject code at the end of the file, but those are neglectable.
2011-09-18 13:50:23 +02:00
Brandon Mathis
5324fa9e4c Merge branch 'github-repositories-plugin' of https://github.com/pilif/octopress into pilif-github-repositories-plugin 2011-09-03 09:09:15 -05:00
Brandon Mathis
bd44056045 fixed bug with twitter feed where it would sometimes say "undefined" if the post was more than a month old 2011-09-02 16:43:49 -05: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
Philip Hofstetter
81dcb0301b correctly scope locals
having such generic variables as feed and i global is a recipe for
trouble waiting to happen.

These variables aren't used outside of the twitter plugin, so we can
easily make them local to getTwitterFeed
2011-08-04 10:17:09 +02:00
Brandon Mathis
7b81aab5ac added support for pygments.rb removing dependency on pygments, added support for caching highlighted code from pygments.rb and added default line numbering. Javascript auto line numbering now only occurs for embedded gists 2011-07-26 23:36:42 -04:00
Brandon Mathis
b4584bd01c improved navigation selection and fixed mobile nav select 2011-07-24 17:22:33 -04:00
Brandon Mathis
8b6d83ae60 1. Udated category layout
2. Improved scoping and styling for links
3. Sidebar collapse improvements
2011-07-15 15:50:48 -04:00
Brandon Mathis
87f300b2bc 1. Styled pagination for blog index
2. Fixed Newer pagination link on page 2
3. Improved sidebar section breakdown on collapse
4. Removed sharing links from the blog index page (moved to pages)
5. Improved styling for metadata on the blog index
6. Moved /blog/archives.html to /blog/archives/index.html
7. Improved responsive layout styling bugs
2011-07-13 22:23:19 -04:00
Brandon Mathis
b0a610095f fixed sidebar columnization 2011-07-13 11:57:44 -04:00
Brandon Mathis
5d1d04c52c 1. Made default layout more generic.
2. Added a page layout and improved html on post layout.
3. Improved flexibility of stylesheets for different layout types.
4. Collapsing sidebar now moves it to the bottom of the page and floats
content into columns.
5. Improved sharing settings, added Google plus one.
2011-07-12 19:40:57 -04:00
Brandon Mathis
ea349cdfbf Moved themes to .themes to get it out of the way. Updated Rakefile to support .themes dir and remove duplication. Improved deploy task. Renamed init_deploy to cofig_deploy and rewrote it to update configurations in the Rakefile for easier deploy use 2011-06-29 14:01:06 -04:00