This commit is contained in:
Buu Nguyen 2015-12-29 12:53:47 -08:00
parent fbc7199d56
commit e4908daa33
7 changed files with 90 additions and 90 deletions

89
HISTORY.md Normal file
View File

@ -0,0 +1,89 @@
### v2.0.3
* Fix bug cannot load Octotree in GitHub Enterprise
### v2.0.0
* Support GitLab
* Add ability to lazy-load individual folders
* Simplify Octotree settings
* Store settings for each host separately
* Support new GitHub layout
* And various bug fixes
### v1.7.2
* Fix bug long branches are not loaded correctly due to GitHub DOM change
### v1.7.1
* Fix space between tree and GitHub contents due to GitHub DOM change
### v1.7.0
* Support direct downloading when hovering a file
### v1.6.4
* Fix bug detecting branch/tag due to GitHub DOM change
### v1.6.3
* Fix bug when switching to branches with slashes in their names
### v1.6.2
* Fix branch selection no longer works due to GitHub change
### v1.6.1
* Update buttons' style to match GitHub new button style
### v1.6
* Update all dependencies to latest version
* Allow navigating to commit trees https://github.com/buunguyen/octotree/issues/157
* Support keyboard navigation https://github.com/buunguyen/octotree/issues/158
* Fix bug handling back tick in paths https://github.com/buunguyen/octotree/issues/160
### v1.5.3
* Fix bug https://github.com/buunguyen/octotree/pull/149
* Fix bug https://github.com/buunguyen/octotree/issues/151
* Fix bug https://github.com/buunguyen/octotree/issues/155
### v1.5.2
* Fix bug https://github.com/buunguyen/octotree/issues/147
### v1.5
* Option to show in non-code pages
* Option to load tree only when sidebar is visible
* Option to configure tab size
* Bug fixes
### v1.4.1
* New header to match new GitHub design
* Bug fixes
### v1.4
* Support GitHub enterprise
* Change default hotkey (`cmd+b` for Safari and `cmd+shift+s` for all other browsers)
* Some other minor changes
### v1.3
* Setting panel allowing:
* Changing access token
* Changing hotkeys
* Changing sidebar default visibility
* Changing folder collapsing option
* Sidebar appears better in large monitors
* More responsive in big repositories
* And bug fixes
### v1.2
* Hide sidebar by default (upon many user requests)
* Hotkey (`cmd+b`, `ctrl+b`) to toggle sidebar
* Sidebar is now resizable
* Support rendering submodules
* Reflect GitHub selection to Octotree
* New sidebar header and progress indicator
* And bug fixes
### v1.1
* 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

View File

@ -56,96 +56,6 @@ By default, Octotree only works on `github.com` and `gitlab.com`. To support ent
* __Show in non-code pages__: if checked, allow Octotree to show in non-code pages such as Issues and Pull Requests.
* __Load entire tree at once__: if checked, load and render the entire code tree at once. To avoid long loading, this should be unchecked if you frequently work with very large repos.
## Changelog
### v2.0.0
* Support GitLab
* Add ability to lazy-load individual folders
* Simplify Octotree settings
* Store settings for each host separately
* Support new GitHub layout
* And various bug fixes
### v1.7.2
* Fix bug long branches are not loaded correctly due to GitHub DOM change
### v1.7.1
* Fix space between tree and GitHub contents due to GitHub DOM change
### v1.7.0
* Support direct downloading when hovering a file
### v1.6.4
* Fix bug detecting branch/tag due to GitHub DOM change
### v1.6.3
* Fix bug when switching to branches with slashes in their names
### v1.6.2
* Fix branch selection no longer works due to GitHub change
### v1.6.1
* Update buttons' style to match GitHub new button style
### v1.6
* Update all dependencies to latest version
* Allow navigating to commit trees https://github.com/buunguyen/octotree/issues/157
* Support keyboard navigation https://github.com/buunguyen/octotree/issues/158
* Fix bug handling back tick in paths https://github.com/buunguyen/octotree/issues/160
### v1.5.3
* Fix bug https://github.com/buunguyen/octotree/pull/149
* Fix bug https://github.com/buunguyen/octotree/issues/151
* Fix bug https://github.com/buunguyen/octotree/issues/155
### v1.5.2
* Fix bug https://github.com/buunguyen/octotree/issues/147
### v1.5
* Option to show in non-code pages
* Option to load tree only when sidebar is visible
* Option to configure tab size
* Bug fixes
### v1.4.1
* New header to match new GitHub design
* Bug fixes
### v1.4
* Support GitHub enterprise
* Change default hotkey (`cmd+b` for Safari and `cmd+shift+s` for all other browsers)
* Some other minor changes
### v1.3
* Setting panel allowing:
* Changing access token
* Changing hotkeys
* Changing sidebar default visibility
* Changing folder collapsing option
* Sidebar appears better in large monitors
* More responsive in big repositories
* And bug fixes
### v1.2
* Hide sidebar by default (upon many user requests)
* Hotkey (`cmd+b`, `ctrl+b`) to toggle sidebar
* Sidebar is now resizable
* Support rendering submodules
* Reflect GitHub selection to Octotree
* New sidebar header and progress indicator
* And bug fixes
### v1.1
* 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
## Credits
* @crashbell for helping GitLab and others
* @Ephemera for fixing many bugs

BIN
dist/chrome.crx vendored

Binary file not shown.

BIN
dist/chrome.zip vendored

Binary file not shown.

BIN
dist/firefox.xpi vendored

Binary file not shown.

BIN
dist/opera.nex vendored

Binary file not shown.

View File

@ -14,6 +14,7 @@ $(document).ready(() => {
const githubUrls = store.get(STORE.GHEURLS).split(/\n/)
.map((url) => url.replace(/(.*?:\/\/[^/]+)(.*)/, '$1'))
.concat('https://github.com')
return ~githubUrls.indexOf(`${location.protocol}//${location.host}`)
? new GitHub(store)
: new GitLab(store)