Commit Graph

862 Commits

Author SHA1 Message Date
Topollo 330a80fe70 perf(PostgreSQL): Postgres connection update, better error handling and connection string accommodation.
Used the pg package parser function to handle connection strings to lowering chances of errors. All other connection string will work here an example for ssl  ```const args = "postgres://user:password@localhost:5432/db?&sslrootcert=./myCaCertificate.pem&sslcert=./myClientCertificate.pem&sslkey=./myPrivateClientKey.pem&ciphers=mytestcipher&ssl=true"``` for ssh these can be used ```ssh: false, sshHost: '', sshUser: '', sshPass: '', sshKey: '', sshPort: 22,```

no breaking changes
2022-03-09 21:52:13 +02:00
Topollo b2ce533b82 Merge branch 'postgres_con_string' into fix-and-minimize-con-string 2022-03-09 19:41:31 +02:00
Topollo 12ce6b1135 Update testStringDecode.js 2022-03-09 19:40:04 +02:00
Topollo 71c5829702 hi 2022-03-09 19:31:41 +02:00
Fabio Di Stasio cc02e2c5a8 refactor(PostgreSQL): minor refactor on UI and code for pg connection string 2022-03-06 09:40:11 +01:00
Topollo f4a63eae2a feat(PostgreSQL): Postgress connection string feature for local and server connection string
This feature is based on this [issue](https://github.com/Fabio286/antares/issues/193)  I tested with the following posgress connection strings postgresql://postgres:pgpassword@127.0.0.1:5432/my_local_databse?connection=local postgres://serveruser:serverpass@test.db.elephantsql.com/my_remote_databse?connection=server  postgres://serveruser:serverpass@test.db.elephantsql.com:5432/my_remote_databse postgresql://postgres:pgpassword@127.0.0.1:5432/my_local_databse.

The connection string decoder is loaded before "test-connection", "check-connection", and "connect"
2022-03-06 02:20:10 +02:00
Fabio Di Stasio 4479a9600b fix: wrong schema and table size on explore bar 2022-02-28 14:19:07 +01:00
Fabio Di Stasio ad713fcf35 chore(release): 0.4.4 2022-02-27 14:07:24 +01:00
Fabio Di Stasio b7039553cc fix: bigint support, closes #197 2022-02-26 10:02:23 +01:00
Fabio Di Stasio ddee68b4c2 ci: set windows-2019 for GitHub Actions 2022-02-26 10:01:46 +01:00
Fabio Di Stasio 265f28b4d9 fix: zero-padded bit fields beyond length 2022-02-21 21:40:26 +01:00
Fabio Di Stasio 95d15de1bd chore: update README.md 2022-02-16 08:57:54 +01:00
Fabio Di Stasio 7dcd4441c4 feat(SQLite): manual commit mode 2022-02-15 09:23:07 +01:00
Fabio Di Stasio d81e0911ab feat(PostgreSQL): manual commit mode 2022-02-15 09:23:07 +01:00
Fabio Di Stasio 5bfff649e9 feat: reminder for uncommitted changes closing a tab 2022-02-15 09:23:07 +01:00
Fabio Di Stasio 76743e8f7c feat: execution notification for ROLLBACK and COMMIT 2022-02-15 09:23:07 +01:00
Fabio Di Stasio 4ed2f9a939 feat(MySQL): manual commit mode 2022-02-15 09:23:07 +01:00
Fabio Di Stasio c5eb73ed3f chore: update electron 2022-02-15 09:21:14 +01:00
Fabio Di Stasio fa3f3e1fd8 fix(MySQL): default value not displayed for DECIMAL fields 2022-02-05 09:43:37 +01:00
Fabio Di Stasio 2c7c97852f chore(release): 0.4.3 2022-01-30 12:39:54 +01:00
Fabio Di Stasio 48ebf23bd1
feat(MySQL): spatial fields support (#165)
* feat: POINT field support

* feat(MySQL): support to LINESTRING, POLYGON and GEOMETRY fields

* refactor: removed links from map attribution

* feat(MySQL): support to MULTIPOINT, MULTILINESTRING, MULTIPOLYGON and GEOMCOLLECTION fields

* test: temporary fix on Windows tests
2022-01-30 11:45:24 +01:00
Fabio Di Stasio 64deedc5ad test: temporary skip tests on WIndows 2022-01-30 11:44:01 +01:00
Fabio Di Stasio 9f033fb994 fix: indexes and foreign keys not cleared after deletion of related field, closes #182 2022-01-28 23:57:53 +01:00
Fabio Di Stasio 401cb49687 refactor: improved temporary fix to Windows 7 style frame 2022-01-28 09:19:49 +01:00
Fabio Di Stasio 1356011ba3 fix(Windows): temporary fix to Windows 7 style frame on app startup, closes #169 2022-01-27 23:40:03 +01:00
Fabio Di Stasio 0cfd7938ee fix: scale on numeric fields that doesn't support it 2022-01-27 09:12:01 +01:00
Fabio Di Stasio 745b55a942 chore: update dependencies 2022-01-25 09:08:45 +01:00
Fabio Di Stasio eef7c1dcec perf: support of scale in field's length setting 2022-01-22 12:29:49 +01:00
Fabio Di Stasio aa8fc545d7
Rename zh_CN.js to zh-CN.js 2022-01-20 09:02:20 +01:00
Fabio Di Stasio a780c7e0ff
Merge pull request #179 from Fabio286/all-contributors/add-goYou
docs: add goYou as a contributor for translation
2022-01-20 08:56:33 +01:00
allcontributors[bot] 9a1bb0599f
docs: update .all-contributorsrc [skip ci] 2022-01-20 07:56:07 +00:00
allcontributors[bot] d847870f67
docs: update README.md [skip ci] 2022-01-20 07:56:06 +00:00
Fabio Di Stasio cd24371576
Merge pull request #177 from goYou/master
feat: add Simplified Chinese translation
2022-01-20 08:54:56 +01:00
goYou 6ef565cf07 feat: add Simplified Chinese translation 2022-01-20 01:50:18 +08:00
Fabio Di Stasio 46b45c8ab6 fix(PostgreSQL): schema different than public not automatically selected, closes #172 2022-01-17 09:15:18 +01:00
Fabio Di Stasio f28531a225 build: resolved dependency conflicts 2022-01-16 11:50:35 +01:00
Fabio Di Stasio 8fb1f0803e fix: cell copy returns "undefined" in some conditions, closes #170 2022-01-14 18:37:37 +01:00
Fabio Di Stasio 020ce36312 chore(release): 0.4.2 2022-01-10 08:50:00 +01:00
Fabio Di Stasio b4545b178f feat(UI): textarea autofocus selecting a query tab, closes #166 2022-01-09 12:28:01 +01:00
Fabio Di Stasio d9a3eab015 perf(MySQL): support to ANSI_QUOTES sql_mode, closes #158 2022-01-05 18:23:31 +01:00
Fabio Di Stasio 2ab49c218d
Merge pull request #164 from toriphes/feat/keep-window-state
feat: keep window state
2021-12-28 19:30:51 +01:00
Giulio Ganci 8f9385d508 feat: save window state
open the main window in the last used position of the screen
2021-12-28 17:12:10 +01:00
Fabio Di Stasio 0c002918eb feat(PostgreSQL): ability to cancel queries 2021-12-26 21:13:02 +01:00
Fabio Di Stasio 3d56ec7b49
Merge pull request #157 from Fabio286/dependabot/npm_and_yarn/eslint-plugin-promise-6.0.0
build(deps-dev): bump eslint-plugin-promise from 5.2.0 to 6.0.0
2021-12-24 18:04:58 +01:00
Fabio Di Stasio 48c3e6afc4 perf: hash for foreign key default names 2021-12-23 11:47:17 +01:00
dependabot[bot] 50a5c8fe1e
build(deps-dev): bump eslint-plugin-promise from 5.2.0 to 6.0.0
Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) from 5.2.0 to 6.0.0.
- [Release notes](https://github.com/xjamundx/eslint-plugin-promise/releases)
- [Changelog](https://github.com/xjamundx/eslint-plugin-promise/blob/development/CHANGELOG.md)
- [Commits](https://github.com/xjamundx/eslint-plugin-promise/commits)

---
updated-dependencies:
- dependency-name: eslint-plugin-promise
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 19:03:06 +00:00
Fabio Di Stasio b0d1f115c9 ci: update actions/checkout to v2 2021-12-20 09:27:36 +01:00
Fabio Di Stasio a59f77f618 feat(MySQL): ability to cancel queries 2021-12-19 11:59:09 +01:00
Fabio Di Stasio e7a1858091 fix(SQLite): exception with some fields 2021-12-16 09:16:15 +01:00
Fabio Di Stasio 648a51efe8
Merge pull request #154 from Fabio286/all-contributors/add-wenj91
docs: add wenj91 as a contributor for code
2021-12-14 09:49:24 +01:00