Commit graph

21 commits

Author SHA1 Message Date
eelke
aac55b0ed1 Store connection configuration as key value pairs
Add migration for the sqlite database.
Because the Qt SQL library is a bit hard to work with use sqlite through custom wrapper.
2025-02-22 19:59:24 +01:00
eelke
4caccf1000 Basic support for passing postgresql uri on the commandline 2025-02-17 18:09:19 +01:00
eelke
da19c46d5e Improve editing of connection password
Previously only a new password was saved if the save password checkbox was checked, Which always
started in the unchecked state. Now when editing existing connection the save password checkbox now
reflects if a password has been saved. Only when the password field is edited the program will update
the saved password. If the save password checkbox is unchecked then clear the save password.
2022-09-05 14:35:45 +02:00
eelke
4fa2189b27 Added the capability to reset the password manager
Also some documentation about the password manager.
2022-09-05 07:33:08 +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
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
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
521d3cdaac Add seperate actions for adding and removing connection groups. 2019-09-01 06:42:21 +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
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
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
880903db5f Several fixes of warnings/clang tidy 2018-12-16 15:38:32 +01:00
eelke
e36924c087 Passwords are now saved in a password manager.
The password manager uses strong encryption using a key derived from the passphrase using
scrypt key strengthening algorithm. This ensures encryption is performed using a strong key
and that brute forcing the passphrase is time consuming.

If the user loses his passphrase no recovery is possible.
2018-11-08 21:50:49 +01:00
eelke
2230a4bd61 Lot of password related changes all over the place.
Password is no longer saved with the connection list.
Password is not entered along with other connection credentials.
Password is now asked for when required.
Still working on saving the password and auto retrieving it from the password manager.
2018-11-04 11:44:40 +01:00
eelke
bebb3391c3 Builds on windows again 2017-11-26 13:07:21 +01:00
Renamed from src/pglab/ConnectionListModel.cpp (Browse further)