-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #156 from EdurtIO/develop
Release notes for 1.16.0
- Loading branch information
Showing
79 changed files
with
902 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
pull_request: | ||
branch: | ||
- 'test' | ||
types: [ closed ] | ||
|
||
jobs: | ||
release: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
template: overrides/main.html | ||
icon: material/gesture-tap-button | ||
--- | ||
|
||
DBM Version for `1.16.0` is released! | ||
|
||
Release Time: `2022-05-13` | ||
|
||
#### Enhancement | ||
|
||
--- | ||
|
||
- SSH login is supported [issues-40](https://github.com/EdurtIO/dbm/issues/40) <br /> | ||
 <br /> | ||
- Support query ClickHouse to dynamically add configuration <br /> | ||
 <br /> | ||
 <br /> | ||
- Support metadata management to filter the database <br /> | ||
 <br /> | ||
 <br /> | ||
 <br /> | ||
- Support automatic prompt function of code editor <br /> | ||
 <br /> | ||
|
||
#### UI | ||
|
||
--- | ||
|
||
- Optimize query history display list <br /> | ||
 <br /> | ||
- Migrate the software update function to the system menu <br /> | ||
- Support editor bracket matching <br /> | ||
 <br /> | ||
|
||
#### Optimize | ||
|
||
---- | ||
|
||
- Optimize error reporting pop-up window [issues-148](https://github.com/EdurtIO/dbm/issues/148) <br /> | ||
 <br /> | ||
 <br /> | ||
|
||
#### Docs | ||
|
||
--- | ||
|
||
- Fix Monitor --> Processor document image pointing error | ||
|
||
#### Bug | ||
|
||
--- | ||
|
||
- Fix the release error that the new version of the CI tool was not merged with the code release error | ||
|
||
#### Contributors (In no particular order) | ||
|
||
--- | ||
|
||
- @qianmoQ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "dbm", | ||
"version": "1.15.0", | ||
"version": "1.16.0", | ||
"author": "qianmoQ <[email protected]>", | ||
"description": "ClickHouse DataBase GUI", | ||
"github": "https://github.com/EdurtIO/dbm.git", | ||
|
@@ -53,6 +53,7 @@ | |
"codemirror": "^5.64.0", | ||
"conventional-changelog-cli": "^2.1.1", | ||
"dexie": "^3.2.1", | ||
"electron-ssh2": "^0.1.2", | ||
"electron-updater": "^4.6.1", | ||
"export-to-csv": "^0.2.1", | ||
"font-awesome": "^4.7.0", | ||
|
@@ -63,6 +64,7 @@ | |
"ng-zorro-antd": "^12.1.0", | ||
"ngx-clipboard": "^14.0.2", | ||
"ngx-easy-table": "^15.2.0", | ||
"ngx-ellipsis": "^3.1.6", | ||
"ngx-markdown": "^13.1.0", | ||
"ngx-moment": "^6.0.2", | ||
"node-sql-parser": "^4.1.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,69 @@ | ||
const axios = require('axios'); | ||
const http = require('http'); | ||
const Client = require('electron-ssh2').Client; | ||
const conn = new Client(); | ||
conn.on('ready', function() { | ||
console.log('Client :: ready'); | ||
const ClickHouse = require('@apla/clickhouse'); | ||
const ch = new ClickHouse({ | ||
host: 'localhost', | ||
port: 8123, | ||
username: '', | ||
password: '' | ||
}); | ||
const stream = ch.query('SELECT 1', (err, data) => { | ||
console.log(err, data) | ||
}); | ||
stream.pipe(process.stdout); | ||
console.log('Ssh Client :: ready'); | ||
conn.forwardOut('', 0, '127.0.0.1', 8123, function(err, stream) { | ||
if (err) throw err; | ||
stream.on('close', function() { | ||
console.log('TCP :: CLOSED'); | ||
conn.end(); | ||
}) | ||
.on('data', function(data) { | ||
console.log('TCP :: DATA: ' + data); | ||
}) | ||
.end([ | ||
'HEAD / HTTP/1.1', | ||
'User-Agent: curl/7.27.0', | ||
'Host: 127.0.0.1', | ||
'Accept: */*', | ||
'Connection: close', | ||
'', | ||
'' | ||
].join('\r\n')); | ||
console.log('Ssh Client :: forwardOut'); | ||
// Setup HTTP request parameters | ||
const postData = 'select sleep(1), version() format JSON'; | ||
const requestParams = { | ||
method: 'POST', | ||
path: '/', | ||
headers: {}, | ||
timeout: 3, | ||
createConnection: function() { | ||
return stream; | ||
} | ||
}; | ||
const request = http.request(requestParams, function(response) { | ||
console.log('STATUS: ' + response.statusCode); | ||
const bodyArray = []; | ||
response.on('data', function(chunk) { | ||
bodyArray.push(chunk); | ||
// Do whatever you need to do with 'chunk' (the response body) | ||
// Note, this may be called more than once if the response data is long | ||
}) | ||
.on('error', function(err) { | ||
console.log('HTTP :: ERROR: ' + err); | ||
stream.on('close', function() { | ||
console.log('HTTP :: Stream closed'); | ||
conn.end(); | ||
}).end(); | ||
}) | ||
.on('end', function() { | ||
console.log('HTTP :: Stream ended'); | ||
stream.on('close', function() { | ||
console.log('HTTP :: Stream closed'); | ||
conn.end(); | ||
}).end(); | ||
const body = Buffer.concat(bodyArray).toString(); | ||
console.log('HTTP :: Body: ' + body); | ||
}); | ||
}); | ||
request.on('timeout', function() { | ||
console.log('HTTP :: Timeout'); | ||
request.destroy(); | ||
}); | ||
request.on('error', function(err) { | ||
console.log('HTTP :: ERROR: ' + err); | ||
stream.on('close', function() { | ||
console.log('HTTP :: Stream closed'); | ||
conn.end(); | ||
}).end(); | ||
}); | ||
console.log('HTTP :: Sending request'); | ||
request.end(postData); | ||
}); | ||
}).connect({ | ||
host: 'localhost', | ||
}) | ||
.on('error', function(err) { | ||
console.log('Client :: error :: ' + err); | ||
}) | ||
.connect({ | ||
host: '127.0.0.1', | ||
port: 22, | ||
username: 'root', | ||
password: '12345678' | ||
password: '123456', | ||
timeout: 6000 | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.