Commit Graph

660 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 1c4d5b05b3 feat(UI): toggle tables checkbox by column on export modal 2022-03-07 23:07:42 +01:00
Giulio Ganci abf2b92e6e feat(UI): auto-refresh schema at the end of the import process 2022-03-06 19:54:32 +01:00
Giulio Ganci 3be826df4b feat(MySQL): enhance export characters escaping 2022-03-06 19:37:12 +01:00
Fabio Di Stasio 9db6bfd255 refactor: show contributors in settings 2022-03-06 16:02:24 +01:00
Fabio Di Stasio 8e983ad2cb refactor(PostgreSQL): minor refactor on UI and code for pg connection string 2022-03-06 09:45:55 +01:00
Topollo 6305752ad1 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 09:45:55 +01: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 763be8532d fix: wrong soft sort algorithm for numeric fields, closes #199 2022-03-05 21:58:56 +01:00
Giulio Ganci a6f5645a22 feat(UI): better real-time import stats 2022-03-05 18:55:11 +01:00
Giulio Ganci bbe13f27dc perf(MySQL): import tasks managed with async queue 2022-03-05 18:54:08 +01:00
Fabio Di Stasio f444746f46 perf(MySQL): import performance improvement 2022-03-05 17:00:05 +01:00
Fabio Di Stasio b4af645941 fix(MySQL):spatial fielts support on export 2022-03-03 22:52:50 +01:00
Fabio Di Stasio a5c8daa5b8 chore: workers debug config 2022-03-01 22:15:33 +01:00
Fabio Di Stasio 1a9fc37285 fix(MySQL): missing initial delimiter for exported procedures 2022-03-01 19:05:53 +01:00
Fabio Di Stasio f0351e5b94 fix(MySQL): missing functions and procedures definer escapes on exporter 2022-03-01 10:15:06 +01:00
Fabio Di Stasio 9bda4e71b7 Merge branch 'feat/db-import-export' of https://github.com/toriphes/antares into pr/toriphes/129 2022-02-28 23:33:16 +01:00
Fabio Di Stasio 7c00055034 Merge branch 'master' of https://github.com/Fabio286/antares into pr/toriphes/129 2022-02-28 22:00:13 +01:00
Fabio Di Stasio 4479a9600b fix: wrong schema and table size on explore bar 2022-02-28 14:19:07 +01:00
Giulio Ganci 7a6bd8bdbd fix: sql parser hangs during import 2022-02-27 17:33:03 +01:00
Fabio Di Stasio 251795e2d2
Merge branch 'master' into feat/db-import-export 2022-02-26 10:19:15 +01:00
Fabio Di Stasio 45cda7a7cc Merge branch 'master' of https://github.com/Fabio286/antares into pr/toriphes/129 2022-02-26 10:14:00 +01:00
Fabio Di Stasio b7039553cc fix: bigint support, closes #197 2022-02-26 10:02:23 +01:00
Fabio Di Stasio 573ac6d42e perf: use fork() for the import process 2022-02-24 13:14:57 +01:00
Fabio Di Stasio 265f28b4d9 fix: zero-padded bit fields beyond length 2022-02-21 21:40:26 +01:00
Fabio Di Stasio 1990d9a3d4 perf(MySQL): improved several field types support on exporter 2022-02-19 12:40:54 +01:00
Fabio Di Stasio 748d44977e perf: use fork() for the export process 2022-02-18 18:16:13 +01:00
Fabio Di Stasio 4051eff382 build: webpack workers configuration 2022-02-17 18:47:50 +01:00
Fabio Di Stasio 4276586e11 fix(MySQL): procedures exportation 2022-02-16 12:58:24 +01:00
Fabio Di Stasio 832fb0fb03 Merge branch 'feat/db-import-export' of https://github.com/toriphes/antares into pr/toriphes/129 2022-02-16 09:16:14 +01:00
Fabio Di Stasio 328ab61757 Merge branch 'master' of https://github.com/Fabio286/antares into pr/toriphes/129 2022-02-16 09:14:46 +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 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 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 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
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 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
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
Giulio Ganci 4e9f8d16ee feat: initial mysql import support 2021-12-28 15:30:07 +01:00
Fabio Di Stasio 0c002918eb feat(PostgreSQL): ability to cancel queries 2021-12-26 21:13:02 +01:00
Fabio Di Stasio 48c3e6afc4 perf: hash for foreign key default names 2021-12-23 11:47:17 +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
文杰 63f8b9b6a1
Merge branch 'Fabio286:master' into master 2021-12-14 09:40:42 +08:00
文杰 f41d8c0480 [TypeError: Cannot read properties of undefined (reading 'type') #152] bugfix 2021-12-14 01:37:59 +00:00
Ngo Quoc Dat c2c0394624 Update vi-VN translation 2021-12-13 08:48:07 +07:00
Fabio Di Stasio a5fdcc1a85 feat: language format detection for text fields 2021-12-10 23:30:03 +01:00
Fabio Di Stasio 1df21da47c refactor: moved to new vue slots API 2021-12-10 17:34:44 +01:00
Fabio Di Stasio 8da0224876 fix(MySQL): wrong datetime fields default in table filler in some cases 2021-12-09 18:26:59 +01:00
Fabio Di Stasio 359e14a9eb fix(MySQL): wrong value for fields "on update" in some conditions 2021-12-09 12:22:38 +01:00
Fabio Di Stasio 813aa320d9 perf(UI): avoid columns size change when editing cells or scrolling results 2021-12-08 11:19:10 +01:00
Fabio Di Stasio aaa5549609 fix: cell disappear on edit in one column tables 2021-12-08 10:37:23 +01:00
Fabio Di Stasio 35cb7e1dc4 fix: select all rows with ctrl+a when editing a cell 2021-12-08 10:09:01 +01:00
Fabio Di Stasio e8af2d24a8 perf(UI): disable save button in table creation when no fields are added 2021-11-25 17:23:46 +01:00
Fabio Di Stasio d7f1aa97af fix(SQLite): update rows with a text primary key 2021-11-25 16:25:40 +01:00
Fabio Di Stasio cc99491fe4 fix(UI): notifications timeout anomalies 2021-11-24 16:59:07 +01:00
Fabio Di Stasio 5d48fe08c7 feat(PostgreSQL): read-only mode 2021-11-24 14:24:52 +01:00
Fabio Di Stasio 4437d44486 feat(MySQL): read-only mode 2021-11-24 13:04:14 +01:00
Fabio Di Stasio 9fe3680bbb perf: update italian traslation 2021-11-24 09:52:10 +01:00
Fabio Di Stasio da1947e4ef fix(UI): hide tools menu if no tools available 2021-11-24 09:19:42 +01:00
Fabio Di Stasio 98165cacaa fix(SQLite): hide schema creation 2021-11-19 16:50:15 +01:00
Fabio Di Stasio 7d345cf795
Merge pull request #141 from Fabio286/feat/sqlite-implementation
feat:sqlite implementation
2021-11-19 16:11:00 +01:00
Fabio Di Stasio f40e9c592e feat(SQLite): triggers management 2021-11-19 15:36:07 +01:00
Fabio Di Stasio 7671c585f5 feat(SQLite): views management 2021-11-19 13:13:35 +01:00
Fabio Di Stasio 93b4a7063b perf(SQLite): improvements in field length detection 2021-11-18 19:43:08 +01:00
Fabio Di Stasio 3efeb45c46 feat(SQLite): tables management 2021-11-18 11:36:46 +01:00
Fabio Di Stasio 3fc227d2de feat(SQLite): readonly mode 2021-11-16 13:21:33 +01:00
Fabio Di Stasio 604b371920 feat(SQLite): cell update in data tabs 2021-11-16 12:56:03 +01:00
Fabio Di Stasio fd321beece feat(SQLite): keys support 2021-11-16 12:27:51 +01:00
Fabio Di Stasio 94c899eb82 perf(SQLite): improvements in data visualization 2021-11-15 18:09:34 +01:00
Kilian Stallinger c8e1605b08
Hotfix quote style on delete-table-rows handler
Use single quote as intended for ID in delete query.
2021-11-15 16:21:09 +01:00
Fabio Di Stasio f2fcc98839 feat(SQLite): table data visualization 2021-11-13 23:00:53 +01:00
Fabio Di Stasio c54438d6d3 feat(SQLite): connection add/edit masks 2021-11-13 11:34:30 +01:00
Fabio Di Stasio b3f10220b3 build: transparent background for appx icon 2021-11-12 13:12:05 +01:00
Fabio Di Stasio d19f475fc2 perf(UI): improved function and routine parameters modals 2021-11-12 12:22:39 +01:00
Fabio Di Stasio b5fee79e90 refactor: minor changes to support marked 4.0.0 2021-11-10 11:48:06 +01:00
Fabio Di Stasio 3369d3dc2d refactor: prefix to internal rows id 2021-11-08 15:12:37 +01:00
Fabio Di Stasio fd25f881f9 feat: schema size in explore bar 2021-11-06 16:36:54 +01:00
Fabio Di Stasio 5ca3a22dc5 feat(MySQL): enable/disable schedulers from contextual menu 2021-11-06 12:21:33 +01:00
Fabio Di Stasio 5c668249cf feat(MySQL): scheduler status indicator in explore bar 2021-11-05 18:23:02 +01:00
Fabio Di Stasio 39b9a59143 fix(PostgreSQL): bigint fetched as string instead of number, closes #134 2021-11-05 11:41:12 +01:00
Giulio Ganci d25c62b4da feat: delete dump file when the export is canceled 2021-11-04 23:09:28 +01:00