parent
7fe302ed7c
commit
08b1ea71e7
@ -374,7 +374,7 @@ Current [release](https://github.com/sosedoff/pgweb/releases) is `0.16.2`.
|
|||||||
## 0.6.0 - 2015-05-31
|
## 0.6.0 - 2015-05-31
|
||||||
|
|
||||||
- Adds ability to execute only selected SQL query in run command view, [GH-85]
|
- Adds ability to execute only selected SQL query in run command view, [GH-85]
|
||||||
- Adds ability to delete/truncate table via context meny on sidebar view
|
- Adds ability to delete/truncate table via context many on sidebar view
|
||||||
- Adds ability to export table contents to CSV via context menu on sidebar view
|
- Adds ability to export table contents to CSV via context menu on sidebar view
|
||||||
- Changes sidebar color scheme to a lighter and better looking one
|
- Changes sidebar color scheme to a lighter and better looking one
|
||||||
|
|
||||||
@ -388,7 +388,7 @@ Current [release](https://github.com/sosedoff/pgweb/releases) is `0.16.2`.
|
|||||||
|
|
||||||
## 0.5.2 - 2015-04-13
|
## 0.5.2 - 2015-04-13
|
||||||
|
|
||||||
- Adds a new endpoint /activity that retuns active queries
|
- Adds a new endpoint /activity that returns active queries
|
||||||
- Adds tab to view active queries
|
- Adds tab to view active queries
|
||||||
- Adds column sorting when browsing table contents
|
- Adds column sorting when browsing table contents
|
||||||
- Fixes SQL query view when switching to table structure view
|
- Fixes SQL query view when switching to table structure view
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
- Create a new git branch
|
- Create a new git branch
|
||||||
- Make changes
|
- Make changes
|
||||||
- Run tests: `make test`
|
- Run tests: `make test`
|
||||||
- Run tests agains all supported PostreSQL versions: `make test-all` (optional)
|
- Run tests against all supported PostreSQL versions: `make test-all` (optional)
|
||||||
- If you change frontend code (js/css) make sure to rebuild assets: `make assets`
|
- If you change frontend code (js/css) make sure to rebuild assets: `make assets`
|
||||||
- Open a new pull request
|
- Open a new pull request
|
@ -3,7 +3,7 @@ require "sinatra"
|
|||||||
# Authentication token
|
# Authentication token
|
||||||
$token = "test"
|
$token = "test"
|
||||||
|
|
||||||
# List of all availble resources
|
# List of all available resources
|
||||||
$resources = {
|
$resources = {
|
||||||
"id1" => "postgres://localhost:5432/db1?sslmode=disable",
|
"id1" => "postgres://localhost:5432/db1?sslmode=disable",
|
||||||
"id2" => "postgres://localhost:5432/db2?sslmode=disable",
|
"id2" => "postgres://localhost:5432/db2?sslmode=disable",
|
||||||
|
@ -215,7 +215,7 @@ func startServer() {
|
|||||||
|
|
||||||
err := router.Run(fmt.Sprintf("%v:%v", options.HTTPHost, options.HTTPPort))
|
err := router.Run(fmt.Sprintf("%v:%v", options.HTTPHost, options.HTTPPort))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Cant start server:", err)
|
fmt.Println("Can't start server:", err)
|
||||||
if strings.Contains(err.Error(), "address already in use") {
|
if strings.Contains(err.Error(), "address already in use") {
|
||||||
openPage()
|
openPage()
|
||||||
}
|
}
|
||||||
|
@ -181,7 +181,7 @@ func ParseOptions(args []string) (Options, error) {
|
|||||||
|
|
||||||
homePath, err := homedir.Dir()
|
homePath, err := homedir.Dir()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "[WARN] cant detect home dir: %v", err)
|
fmt.Fprintf(os.Stderr, "[WARN] can't detect home dir: %v", err)
|
||||||
homePath = os.Getenv("HOME")
|
homePath = os.Getenv("HOME")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user