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
e2d67dee70
Disable the tests i'm not going to make work right now.
2022-02-06 14:21:50 +01:00
eelke
23e61c6c95
Fix broken unittest.
...
Was probably broken by a change in Qt. Now using custom parser.
(I also tested a regex based parser but that was more then 80 times slower)
2022-02-06 14:15:16 +01:00
eelke
c346430b25
Abstract IResult interface for Result
...
This is to allow faking the result for testing the CrudModel.
2022-02-06 12:19:43 +01: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
14b5293dea
refactor table sql generation
2022-01-21 18:53:47 +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
eelke
badd46ea8f
Use QtConcurrent::run.then chain in DatabaseWindow too.
2022-01-16 18:21:18 +01:00
eelke
521e5d7370
Use then construct instead of future watcher for test connection.ConnectionConfigurationWidget
...
The QPointer is detect the window has been destroyed.
2022-01-16 17:59:28 +01:00
eelke
90851ef950
refactor use PgLabTableViewHelper on CatalogTablesPage
2021-12-30 18:54:26 +01:00
eelke
87ab22919f
Fix that sorting of list of databases and roles didn't work.
2021-12-30 17:50:43 +01:00
eelke
6a812570bb
Update icons
2021-10-24 10:39:20 +02:00
eelke
482be432d3
Prevent crash when menu item is selected to early.
2021-09-29 19:39:42 +02:00
eelke
144321a5d3
fix that connection are only closed when the window is closed not when the tab owning them is closed.
...
Caused by the fact the the tab was not freed. Now the widgets on the tabs are freed when they are closed which
in turns frees (and closes) the connection objects.
2021-09-17 18:55:10 +02:00
eelke
683853e72e
Do not rely on connectSlotsByName anymore as it breaks easily.
...
In the process I also made the initialisation of the actions more compact.
2021-07-08 16:28:32 +02:00
eelke
d629ef4cba
Remove duplicate code.
2021-07-05 20:41:24 +02:00
eelke
38fc939860
cleanup DatabaseWindow.cpp
2021-07-04 20:24:05 +02:00
eelke
f88bb005cc
cleanup ConnectionController
2021-07-04 20:07:20 +02:00
eelke
87cfb84997
Make saving of the entered password work to.toStdString
...
Also when testing a preexisting connection config it will now decode a potential stored password.
2021-07-04 19:33:06 +02:00
eelke
c00a0452d1
Added ability to test the connection in the dialog where the connection details are entered.
2021-07-04 16:45:50 +02:00
eelke
45795333f2
Generate COMMENT IS statements for columns
2021-07-02 20:42:32 +02:00
eelke
5777a9c834
additonal SQL on the columns page
...
After the "all in one" ALTER TABLE ADD COLUMN statement ALTER TABLE ALTER COLUMN statements are listed for
setting the default and the NOT NULL constraint.
2021-07-02 20:06:08 +02:00
eelke
53997f94da
Enable sorting for CRUD
2021-07-02 20:04:34 +02:00
eelke
6d08b40309
When files are dropped on a database window open them as sql files.
2021-06-16 19:20:03 +02:00
eelke
b04b947633
Merge branch 'master' of ssh://gitlab.com:/eelke/pgLab
2021-06-12 07:36:39 +02:00
eelke
ddc163a0ee
Give the tables default sorting
2021-06-12 07:36:24 +02:00
eelke
0da493f1e4
Remove unfinished namespace tab from UI.
2021-06-08 20:37:44 +02:00
Eelke Klein
2ce524276f
use cache for pip
2021-06-04 16:42:51 +00:00
Eelke Klein
6e01010b47
Updated the URL's to match actual location of the pages.
2021-06-04 16:37:33 +00:00
Eelke Klein
19d92c5236
Manual start
2021-06-04 16:35:08 +00:00
eelke
97b24a8bf3
fix must explicitly specify table with oid for older pg versions
2021-04-15 16:27:48 +02:00
eelke
5a70749308
leave out database sizes for databases the user cannot connect to
...
this prevents permissions errors.
2021-04-14 19:40:07 +02:00
eelke
fd5ad9bbf0
On the list of indexes of a table show which were created as part of the creation of a constraint
...
The explicit column is true when the index was manually created
In SQL only a comment is given that the index was implicitly created
2021-04-11 07:56:37 +02:00
eelke
60bbb4c445
Cleanup old seperate server window.
2021-04-10 14:44:10 +02:00
eelke
f0e5488ce0
List of databases and roles moved to a "Server tab" within the database window.
...
Opened by selecting "Inspect Server" from the menu.
2021-04-10 14:27:04 +02:00
eelke
50cd865b1a
Add unsaved changes indication to SQL tabs
2021-04-10 09:49:54 +02:00
eelke
d12fb60af8
When exporting data add a header row
2021-04-10 09:48:48 +02:00
eelke
4c175d8c2c
Added page with the types (no details yet)
2021-04-01 14:58:42 +02:00
eelke
bdef76ed8a
Fix errors on PG 9.5 en 9.6 (maybe other versions to)
...
Closes #68
2021-04-01 14:55:20 +02:00
eelke
9c9e78c54b
Improvement to the ServerWindow
...
- sorting of Roles
- resizeColumns voor zowel databases als roles
- boolean columns now display check mark and cross
2021-03-31 16:06:45 +02:00