eelke
47b3ea83e9
Fix show filename in tab after opening file and make F5 execute shortcut
...
work.
2019-12-03 19:08:13 +01:00
eelke
1df8455af5
Add tab with namespaces (schema's)
2019-11-20 19:09:22 +01:00
eelke
8dd13d103e
Added dependants tab to table page
...
Retrieves all foreignkeys pointing to the current table
and shows the tables they are foreignkeys of.
2019-11-17 10:27:11 +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
c5f6da48ce
Pgsql::Connection::connect functions now all report connection errors
...
by throwing exception.
2019-11-03 07:58:48 +01:00
eelke
5f2857f12a
Fix crashes from accessing invalid pointers.
2019-11-02 14:28:48 +01: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
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
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
4ea388cad7
Merge branch 'master' of ssh://git@gitlab.com:/eelke/pgLab.git
2019-10-06 09:34:45 +02:00
eelke
45c3a0480b
The normal copy now works for SQL definition views.
2019-10-05 16:41:14 +02: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
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
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
eelke
221cc33bb4
Remove unused unit
2019-08-23 09:41:03 +02:00
eelke
b3352b8496
Database window can now be opened from within the connection manager by
...
double clicking a connection or pressing enter when a connection is selected.
2019-08-19 19:32:40 +02:00
eelke
e4a43a77bd
Disable editing of the description of the connections in the connection ListView.
...
Also replace the integer literals defining the columns for enum to make more readable.
2019-08-19 19:26:39 +02:00
eelke
033d2b3d45
Removed debug statement that gave lot of output and which was not needed anymore.
2019-08-19 16:06:23 +02:00
eelke
fbd630489e
Added paste lang option for pasting programming code.
...
Expects you to paste only string literals with possible concatenation operators like . or +
2019-08-19 11:38:04 +02:00
eelke
35d1e75d35
Split all connection related controller functionality off into seperate ConnectionController.
2019-08-19 10:05:05 +02:00
eelke
8c13bdc2ef
Make closing of tabs work again.
2019-08-16 10:49:59 +02:00
eelke
6fdf631fac
Make double clicking on table in CatalogInspector open crud for selected table/view.
2019-08-16 10:49:38 +02:00
eelke
1a2ec6a224
DatabaseWindow now provides some functionality to its child components through the IDatabaseWindow interface.
...
This way children do not need to include the full header to get access to some utility functions for changing
the titles and icons of tabpages (and in fact do not need to know that there are tabs, could be something else)
2019-08-16 08:29:27 +02:00
eelke
6d4df99100
Add Cancel back to query menu
2019-08-16 08:27:05 +02:00