Commit graph

340 commits

Author SHA1 Message Date
eelke
5bdd3fa95d Improve conversion of bytes to human readable string
Fixes issues like showing 0 MiB when the value is just slightly less then 1 MiB.
2024-04-12 13:26:10 +02:00
eelke
db2594a87c Make enum DataMeaning an enum class 2024-04-12 06:29:57 +02:00
eelke
e5a5dc15f9 Fix that CRUD window did not properly quote column names when this is required. 2023-10-18 17:50:44 +02:00
eelke
2c899bd799 Generate PARTITIONED BY SQL for partitioned tables.
Expressions not yet supported.
2023-02-06 20:31:00 +01:00
Eelke Klein
2ff9577d41 The table inheritance works mostly 2023-01-24 17:47:52 +00:00
eelke
ccd88d0578 Show in constraint list and in generated SQL when a constraint is inherited 2023-01-21 10:27:17 +01:00
eelke
33319e3461 Fix reading from catalog so that information about declarative partitioning is read correctly
(View and SQL generation still need fixes)
2023-01-07 07:44:33 +01:00
eelke
f3f1d47f7d connection details in window title 2022-10-02 12:20:36 +02:00
eelke
f253a6c9ff Move version string into Config header.
Makes it easier to update the version number.
2022-10-02 12:11:43 +02:00
eelke
7c88716ab7 Fix links 2022-09-20 19:15:28 +02:00
Eelke Klein
9277731c4e Resolve "Improve GENERATED support" 2022-09-06 11:17:18 +00:00
eelke
0483dc8b3d Improved releasenotes manual can also be opened from a databasewindow now. 2022-09-05 15:01:33 +02: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
677302b5a7 Bind F5 to curd and catalog refresh actions 2022-09-05 13:24:39 +02:00
eelke
df24564d6b fix save connection password on uninitialized manager did not save
it did initialize the manager
2022-09-05 08:02:00 +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
6b8c54398d Add installation and releasenotes sections to the user manual. 2022-09-04 12:43:09 +02:00
eelke
c874b297c1 Add about dialog to File menu of the connection manager.
Make the contents of the dialog more accurate and include a link to the releasenotes file.
2022-09-04 09:19:03 +02:00
eelke
4e1d128ee9 fix header include path 2022-09-03 12:43:16 +02:00
eelke
80272e81c3 Improve error handling 2022-08-17 18:18:10 +02:00
eelke
457b09f15c Improved error reporting 2022-08-14 08:04:21 +02:00
eelke
6cf7b52453 When changing the uuid clear the password
Because id is used as part of the encryption process the value is not a valid encoded password anymore.
We could decode en reencode the password but wanted a quickfix for now.
This is also prevents the weird behaviour that it asks for the manager password but then has to prompt for the connection password.
2022-07-08 19:57:27 +02:00
eelke
f6c15f895f Catch exception from the password manager and pretend for now that the password was never saved. 2022-07-08 19:55:19 +02:00
eelke
8b671090a0 Big cleanup 2022-05-26 08:25:31 +02:00
eelke
d3080a08bb WIP createdb dialog 2022-05-24 18:57:28 +02:00
eelke
c20427e10d Menu to for going to specific column
Columns are sorted alphabetically.
2022-05-24 18:57:20 +02:00
eelke
a7d4a5f13d build fixes
# Conflicts:
#	pglablib/sqlast/SelectList.h
2022-05-24 18:56:39 +02:00
eelke
2ad5fa5e4e Project reorganization 2022-04-10 14:26:31 +02:00
eelke
d0439c2d70 Remove unused function 2022-04-10 10:37:56 +02:00
eelke
a5563949e5 Refactor painting of editor gutter 2022-04-10 10:29:40 +02:00
eelke
e082a5731d Editor code cleanup 2022-04-10 09:32:20 +02:00
eelke
d266882927 Move codeeditor to folder 2022-04-10 09:26:38 +02:00
eelke
04a4e3b374 fiix bug, rowMapping werd niet gecleared
+ formatting
2022-04-10 06:53:02 +02:00
eelke
eed5735d2e fix build error with newer Qt version 2022-04-10 06:51:47 +02:00
eelke
4ac87f285b start on view the show single record as list of label + value 2022-04-10 06:51:25 +02:00
eelke
c71fdc4af7 Reorganization of pgLab project 2022-04-09 08:57:29 +02:00
eelke
7300865c77 Switched DatabaseWindow to using the form designer. 2022-04-08 20:16:42 +02:00
eelke
357dc3d114 Cleanup and new formatting 2022-04-03 09:17:18 +02:00
eelke
f492c8f9bc Add row number column in model instead of vertical header
THis is because the column can be sorted but the header not.
2022-04-02 13:55:24 +02:00
eelke
1ab119c29a Fix default sort order 2022-04-02 13:54:37 +02:00
eelke
2c5a42f45d Improve sorting 2022-04-02 08:33:48 +02:00
eelke
06504ecc1f Improvements to the CrudModel
The new data of modified rows is now stored directly within the row_mapping
also changed how new rows are handled so the new empty row for inserting
is not a special case but is part of the list.
2022-01-22 16:22:29 +01:00
eelke
a7f247bdee Cleanup 2022-01-21 18:54:50 +01:00
eelke
3158a4364b Show SQL for database
Also improvements to the SQL for tables and views.
2022-01-20 20:13:56 +01:00
eelke
b5a706a2a2 lazy load the database sizes only when needed by the server inspector. 2022-01-19 19:10:05 +01:00
eelke
39195153cd Retrieve tables sizes asynchronously when opening the catalog. 2022-01-18 18:45:14 +01:00
eelke
8fe5e05f7d fix table inspector showed details of wrong table.
Caused by using a proxy index with a function that needed an index that was mapped to the source.
Fow now mostly fixed by introducing multiple functions with clearer naming and using the correct one
but would prefer when the helper could hide the details of there being two index spaces.
2022-01-17 17:30:53 +01:00
eelke
93a55047b6 Cleanup 2022-01-17 05:53:56 +01:00
eelke
50bf4588ce Cleanup remove system for background tasks we were not using anymore. 2022-01-16 18:51:43 +01:00
eelke
04e69bbaa4 COmpletely remove propertiespage for now. 2022-01-16 18:43:09 +01:00