Version 1.2
33
README.md
|
@ -28,14 +28,10 @@ Octotree uses [GitHub API](https://developer.github.com/v3/) to retrieve reposit
|
||||||
* You access a private repository
|
* You access a private repository
|
||||||
* You exceed the [rate limit of unauthenticated requests](https://developer.github.com/v3/#rate-limiting)
|
* You exceed the [rate limit of unauthenticated requests](https://developer.github.com/v3/#rate-limiting)
|
||||||
|
|
||||||
When that happens, Octotree shows the screen below to ask for your [GitHub personal access token](https://help.github.com/articles/creating-an-access-token-for-command-line-use). If you don't already have one, [create one](https://github.com/settings/tokens/new), then copy and paste it into the textbox.
|
When that happens, Octotree shows the screen below to ask for your [GitHub personal access token](https://help.github.com/articles/creating-an-access-token-for-command-line-use). If you don't already have one, [create one](https://github.com/settings/tokens/new), then copy and paste it into the textbox. Note that the minimal scopes that should be granted are `public_repo` and `repo` (if you need access to private repositories).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Minimal scopes that should be granted are `public_repo` and `repo` (if you need access to private repositories).
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
Alternatively, you can manually enter or update the token by following these steps:
|
Alternatively, you can manually enter or update the token by following these steps:
|
||||||
|
|
||||||
* Navigate to any GitHub page
|
* Navigate to any GitHub page
|
||||||
|
@ -46,17 +42,26 @@ localStorage.setItem('octotree.github_access_token', 'REPLACE WITH TOKEN')
|
||||||
```
|
```
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
### v1.1
|
### [v1.2](https://github.com/buunguyen/octotree/issues?labels=&milestone=1&page=1&state=closed)
|
||||||
* New UI that blends better with GitHub! [#43](https://github.com/buunguyen/octotree/pull/43)
|
* Hide sidebar by default (upon many user requests)
|
||||||
* Hide Octotree on non-code pages [#44](https://github.com/buunguyen/octotree/pull/44), [#42](https://github.com/buunguyen/octotree/pull/42), [#52](https://github.com/buunguyen/octotree/pull/52)
|
* Hotkey (`cmd+b`, `ctrl+b`) to toggle sidebar
|
||||||
* When asking for token, show more detailed message and not fly out automatically [96ff6](https://github.com/buunguyen/octotree/commit/96ff6196bb99aa36ae8bf08c345354fcd4db79a1)
|
* Sidebar is now resizable
|
||||||
* Extend pjax timeout to work better with big files [4d5f5](https://github.com/buunguyen/octotree/commit/4d5f526a719191d7f756443c60f471f1c775f8c8)
|
* Support rendering submodules
|
||||||
* Sanitize file and folder names before displaying [a1e8a](https://github.com/buunguyen/octotree/commit/a1e8a63ca894d4ecc58ba722727ca8b3c1a2128d)
|
* Reflect GitHub selection to Octotree
|
||||||
* Fix error when a branch name contains slashes [#12](https://github.com/buunguyen/octotree/pull/12)
|
* New sidebar header and progress indicator
|
||||||
* Gulp script to build for Chrome, Firefox and Safari [c485b](https://github.com/buunguyen/octotree/commit/c485b144a3d6a9114148e7ca8e2fe4ce0d74b1c4), [61a9e](https://github.com/buunguyen/octotree/commit/61a9e8af864365df4ece208f213a3d49d241de0e)
|
* And bug fixes
|
||||||
|
|
||||||
|
### [v1.1](https://github.com/buunguyen/octotree/issues?labels=&milestone=2&page=1&state=closed)
|
||||||
|
* New UI that blends better with GitHub!
|
||||||
|
* Hide Octotree on non-code pages
|
||||||
|
* When asking for token, show more detailed message and not fly out automatically
|
||||||
|
* Extend pjax timeout to work better with big files
|
||||||
|
* Sanitize file and folder names before displaying
|
||||||
|
* Fix error when a branch name contains slashes
|
||||||
|
* Gulp script to build for Chrome, Firefox and Safari
|
||||||
* And some other minor changes
|
* And some other minor changes
|
||||||
|
|
||||||
|
|
||||||
## Credit
|
## Credit
|
||||||
* Thanks to everyone who submit pull requests, report bugs and suggest ideas on GitHub and on [HN](https://news.ycombinator.com/item?id=7740226)
|
* Thanks to everyone who submit pull requests, report bugs and suggest ideas on GitHub and on [HN](https://news.ycombinator.com/item?id=7740226)
|
||||||
* [Extension icon](https://github.com/pstadler/octofolders) by [pstadler](https://github.com/pstadler)
|
* [Extension icon](https://github.com/pstadler/octofolders) by [pstadler](https://github.com/pstadler)
|
BIN
docs/chrome.png
Before Width: | Height: | Size: 355 KiB After Width: | Height: | Size: 378 KiB |
BIN
docs/firefox.png
Before Width: | Height: | Size: 419 KiB After Width: | Height: | Size: 416 KiB |
BIN
docs/safari.png
Before Width: | Height: | Size: 363 KiB After Width: | Height: | Size: 372 KiB |
BIN
docs/scopes.png
Before Width: | Height: | Size: 54 KiB |
|
@ -22,4 +22,4 @@
|
||||||
"event-stream": "^3.1.5",
|
"event-stream": "^3.1.5",
|
||||||
"gulp-run-sequence": "^0.3.2"
|
"gulp-run-sequence": "^0.3.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -13,9 +13,9 @@
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
<string>6.0</string>
|
<string>6.0</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>1.1.0</string>
|
<string>1.2.0</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1.1.0</string>
|
<string>1.2.0</string>
|
||||||
<key>Chrome</key>
|
<key>Chrome</key>
|
||||||
<dict/>
|
<dict/>
|
||||||
<key>Content</key>
|
<key>Content</key>
|
||||||
|
|
|
@ -196,7 +196,6 @@ a.octotree_toggle:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
a.octotree_toggle > span {
|
a.octotree_toggle > span {
|
||||||
margin-top: 1px;
|
|
||||||
font: normal normal 16px octicons;
|
font: normal normal 16px octicons;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -217,9 +216,9 @@ a.octotree_toggle.loading > span:after {
|
||||||
|
|
||||||
a.octotree_toggle.loading .loader {
|
a.octotree_toggle.loading .loader {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
border: 3px solid #000;
|
border: 2px solid #000;
|
||||||
border-top: 3px solid rgba(0,0,0,0);
|
border-top: 2px solid rgba(0,0,0,0);
|
||||||
border-left: 3px solid rgba(0,0,0,0);
|
border-left: 2px solid rgba(0,0,0,0);
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
animation: loading .5s infinite linear;
|
animation: loading .5s infinite linear;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "Octotree",
|
"name": "Octotree",
|
||||||
"version": "1.1.0",
|
"version": "1.2.0",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"author": "Buu Nguyen",
|
"author": "Buu Nguyen",
|
||||||
"description": "Display GitHub code in tree format",
|
"description": "Display GitHub code in tree format",
|
||||||
|
|
|
@ -11,5 +11,5 @@
|
||||||
"icon": "data/icons/icon48.png",
|
"icon": "data/icons/icon48.png",
|
||||||
"icon64": "data/icons/icon64.png",
|
"icon64": "data/icons/icon64.png",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"version": "1.1"
|
"version": "1.2"
|
||||||
}
|
}
|