Update minio browser with new changes. (#2940)

- Bucket policy set/unset support.
- Shareable URL support.
- Delete object support.
master
Harshavardhana 8 years ago committed by GitHub
parent 5c3639c1b7
commit a681af6953
  1. 84
      vendor/github.com/minio/miniobrowser/INSTALLGO.md
  2. 40
      vendor/github.com/minio/miniobrowser/README.md
  3. 245
      vendor/github.com/minio/miniobrowser/ui-assets.go
  4. 5
      vendor/vendor.json

@ -1,84 +0,0 @@
## Ubuntu (Kylin) 14.04
### Build Dependencies
This installation document assumes Ubuntu 14.04+ on x86-64 platform.
##### Install Git, GCC
```sh
$ sudo apt-get install git build-essential
```
##### Install Go 1.5+
Download Go 1.5+ from [https://golang.org/dl/](https://golang.org/dl/).
```sh
$ wget https://storage.googleapis.com/golang/go1.5.3.linux-amd64.tar.gz
$ mkdir -p ${HOME}/bin/
$ mkdir -p ${HOME}/go/
$ tar -C ${HOME}/bin/ -xzf go1.5.3.linux-amd64.tar.gz
```
##### Setup GOROOT and GOPATH
Add the following exports to your ``~/.bashrc``. Environment variable GOROOT specifies the location of your golang binaries
and GOPATH specifies the location of your project workspace.
```sh
export GOROOT=${HOME}/bin/go
export GOPATH=${HOME}/go
export PATH=$PATH:${HOME}/bin/go/bin:${GOPATH}/bin
```
##### Source the new enviornment
```sh
$ source ~/.bashrc
```
##### Testing it all
```sh
$ go env
```
## OS X (Yosemite) 10.10
### Build Dependencies
This installation document assumes OS X Yosemite 10.10+ on x86-64 platform.
##### Install brew
```sh
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```
##### Install Git, Python
```sh
$ brew install git python
```
##### Install Go 1.5+
Install golang binaries using `brew`
```sh
$ brew install go
$ mkdir -p $HOME/go
```
##### Setup GOROOT and GOPATH
Add the following exports to your ``~/.bash_profile``. Environment variable GOROOT specifies the location of your golang binaries
and GOPATH specifies the location of your project workspace.
```sh
export GOPATH=${HOME}/go
export GOVERSION=$(brew list go | head -n 1 | cut -d '/' -f 6)
export GOROOT=$(brew --prefix)/Cellar/go/${GOVERSION}/libexec
export PATH=$PATH:${GOPATH}/bin
```
##### Source the new enviornment
```sh
$ source ~/.bash_profile
```
##### Testing it all
```sh
$ go env
```

@ -1,40 +0,0 @@
# Minio File Browser
``MinioBrowser`` provides minimal set of UI to manage buckets and objects on ``minio`` server. ``MinioBrowser`` is written in javascript and released under [Apache 2.0 License](./LICENSE).
## Installation
```sh
$ git clone https://github.com/minio/MinioBrowser
$ cd MinioBrowser
$ npm install
```
### Install `go-bindata` and `go-bindata-assetfs`.
If you do not have a working Golang environment, please follow [Install Golang](./INSTALLGO.md).
```sh
$ go get github.com/jteeuwen/go-bindata/...
$ go get github.com/elazarl/go-bindata-assetfs/...
```
## For development environment with live reload.
```
$ npm run dev
```
## Generating Assets.
### Development version
```sh
$ npm run build
```
### Released version
```sh
$ npm run release
```

File diff suppressed because one or more lines are too long

@ -139,9 +139,10 @@
"revisionTime": "2016-08-18T00:31:20Z"
},
{
"checksumSHA1": "Gok4D2jDvlfXeygOMO+7G9isas0=",
"path": "github.com/minio/miniobrowser",
"revision": "2e74c097f04fd7927d46fee6482d41e7b5cbf830",
"revisionTime": "2016-07-02T02:15:29-07:00"
"revision": "9d4da540a5d8fd8762c53cdc8b11d3f543eac73a",
"revisionTime": "2016-10-15T15:17:03Z"
},
{
"checksumSHA1": "GOSe2XEQI4AYwrMoLZu8vtmzkJM=",

Loading…
Cancel
Save