eelke
b90df1cd77
Correctly handle stop request during async connect.
2019-11-09 12:56:02 +01:00
eelke
2c9cda990d
The socket should be retrieved within the loop as it is possible
...
that the socket handle changes.
2019-11-06 20:16:15 +01:00
eelke
6bb5525d5e
Switched away from boost::asio as it doesn't play well with libpq
2019-11-06 20:03:27 +01:00
eelke
6dd079bf87
Fix: parameter list always gave missing type error
2019-11-06 18:29:31 +01:00
eelke
f875f0f012
Implementation, tests and first use of rangechecked_cast
2019-11-04 18:02:48 +01:00
eelke
c5f6da48ce
Pgsql::Connection::connect functions now all report connection errors
...
by throwing exception.
2019-11-03 07:58:48 +01:00
eelke
05bca069e3
Fix escaping of special chars for copyAsCString
2019-11-02 14:54:55 +01:00
eelke
5f2857f12a
Fix crashes from accessing invalid pointers.
2019-11-02 14:28:48 +01:00
eelke
ead3ce8a8a
Show view definition
2019-10-26 13:13:58 +02:00
eelke
dc949f3c34
Fix crash when trying to save row data when row is not yet valid
2019-10-25 15:40:55 +02:00
Eelke Klein
e891ec9d54
Merge branch 'refresh-crudtab' into 'master'
...
Crud page has now reload action.
See merge request eelke/pgLab!10
2019-10-13 05:35:47 +00:00
eelke
1a208a6a2d
Crud page has now reload action.
...
F5 key is bound to the execute query, reload catalog and reload crud
actions. By using addAction to add these actions to the relevant pages
the ambiguity of the shortcut is resolved.
2019-10-13 07:31:48 +02:00
Eelke Klein
4278fe6ff4
Merge branch '64-reload-catalog' into 'master'
...
Resolve "reload catalog"
Closes #64
See merge request eelke/pgLab!9
2019-10-09 17:48:52 +00:00
eelke
39d1a2a00f
Sequence page refreshes after catalog reload.
2019-10-09 19:47:35 +02:00
eelke
5c586ea807
List of tables now updates after reload of catalog.
2019-10-09 18:36:54 +02:00
eelke
f4f514efb0
Trigger page now reacts to catalog refreshed.
2019-10-06 14:31:44 +02:00
eelke
211d937c16
Catalog refresh working for functions page.
2019-10-06 14:24:18 +02:00
eelke
23899b6bb6
ConstraintPage now reacts to refreshed signal.
2019-10-06 14:17:07 +02:00
eelke
fa46971930
Index page now correctly responds to reload.
2019-10-06 14:03:46 +02:00
eelke
60d8f36328
poc Add support for reloading the catalog
...
Reload works and the column page reacts correctly. Others to be checked
and fixed.
2019-10-06 13:52:45 +02:00
eelke
83122e89df
fix: comparison that should have been assignment
...
Didn't cause any bugs because the state was not used after that point
however it would have cause issues when that changed later.
2019-10-06 09:39:11 +02:00
eelke
4ea388cad7
Merge branch 'master' of ssh://git@gitlab.com:/eelke/pgLab.git
2019-10-06 09:34:45 +02:00
Eelke Klein
e896225cd6
Merge branch '61-update-index-sql-when-switching-tables' into 'master'
...
The normal copy now works for SQL definition views.
Closes #61
See merge request eelke/pgLab!8
2019-10-06 07:31:49 +00:00
eelke
45c3a0480b
The normal copy now works for SQL definition views.
2019-10-05 16:41:14 +02:00
Eelke Klein
09bdeedbf4
Merge branch '61-update-index-sql-when-switching-tables' into 'master'
...
Resolve "Update index sql when switching tables"
Closes #61
See merge request eelke/pgLab!7
2019-10-05 07:12:06 +00:00
eelke
e55b0b7f37
fix: update sql for indexes and constraints
...
When another table is selected the index and constraint list are
reloaded and have no selection. So the SQL for the selection should be
empty.
2019-10-05 09:09:22 +02:00
Eelke Klein
2c615f3b96
Merge branch '62-missing-or-in-trigger-definitions' into 'master'
...
Resolve "Missing OR in trigger definitions"
Closes #62
See merge request eelke/pgLab!6
2019-10-05 06:56:00 +00:00
eelke
09d5461d01
Seperate event types in the trigger definition with OR
2019-10-05 08:55:02 +02:00
eelke
06a3e8bdcc
Report error instead of aborting the application.
2019-09-26 20:14:57 +02:00
eelke
167f5b1386
throw exception instead of causing access violation
2019-09-26 20:14:35 +02:00
eelke
082293e58a
Switched ConnectionConfig to QString from std::string to fit better into Qt framework
2019-09-16 19:24:39 +02:00
eelke
bcfd82c27d
Fix crash when starting to add connection.
...
Caused by uninitialized variable. Commit contains some minor style fixes also.
2019-09-02 16:33:13 +02:00
eelke
7f88b98cdd
End user can now specify how long password manager remembers the master key.
...
Closes $24
2019-09-01 16:06:08 +02:00
eelke
d489f11e52
Store encrypted passwords with connections.
...
Closes #22 as encrypted password is now deleted as part of the connection record.
2019-09-01 14:07:58 +02:00
eelke
e5ae9663c4
Fix missing return value ConnectionTreeModel::removeRows
2019-09-01 10:26:42 +02:00
Eelke Klein
41c1305e3d
Merge branch 'improve-connection-manager' into 'master'
...
Improve connection manager
See merge request eelke/pgLab!5
2019-09-01 08:19:22 +00:00
eelke
bf8bb087e7
Fix: adding connection
...
Crashed because it tried to select right group when there was no group to set.
2019-09-01 06:52:26 +02:00
eelke
d9431b173c
Cleanup
2019-09-01 06:48:34 +02:00
eelke
91049b235a
Send InsertRows signals when adding a group.
2019-09-01 06:48:11 +02:00
eelke
0fb1d89aee
When editing connection the dialog is now initialized on the correct connection group.
2019-09-01 06:45:39 +02:00
eelke
2823297482
Fix crash when closing dialoog with X button
2019-09-01 06:43:28 +02:00
eelke
521d3cdaac
Add seperate actions for adding and removing connection groups.
2019-09-01 06:42:21 +02:00
eelke
dbb6e1ab01
Can open window for database by clicking on the config in the connection tree.
2019-08-29 16:10:28 +02:00
eelke
b3a98f6dc0
Most of functionality for connections in tree works now. Old list largely removed.
2019-08-27 20:12:00 +02:00
eelke
8840d3bcbb
Basic version of ConnectionTreeModel is working.
2019-08-25 15:33:51 +02:00
eelke
3721808df4
Remove unused function
2019-08-25 08:10:37 +02:00
eelke
b65edaa6ee
Improved how connection is removed from the configuration file.
2019-08-25 08:00:54 +02:00
eelke
b09e8a6d4b
ConnectionManager overhaul
...
- connection settings are now changed by seperate component currently called in a seperate window
- old settings pane on the right of the connections had been removed
- new edit config button added between new connection and remove connection
2019-08-24 20:47:32 +02:00
eelke
78247c7abe
Small cleanup of ConnectionManager
2019-08-23 09:44:06 +02:00
eelke
1792f42dac
Improved working of BackupDialog
...
- improved layout
- automatically switch to output component when start is clicked
- coloured output for succes/error message
- highlighter for pg_dump output that highlights error lines
Note: all output of pg_dump goes to stderr because stdout is reserved for output of the backup data.
2019-08-23 09:43:48 +02:00