Commit graph

  • 23165d77c8 Better handling of empty query's. eelke 2019-12-18 19:35:17 +01:00
  • 47b3ea83e9 Fix show filename in tab after opening file and make F5 execute shortcut work. eelke 2019-12-03 19:08:13 +01:00
  • e53b85bd86 Improved formatting of generated table sql eelke 2019-12-01 07:09:18 +01:00
  • 2c2253f75e Use (BIG)SERIAL in generated SQL when this was used when column originally defined. eelke 2019-12-01 06:40:11 +01:00
  • 817a371220 Removed rangechecked_cast was not working as I hoped. eelke 2019-11-30 16:11:12 +01:00
  • 404d4c856a range check not working as expected, temporarily disabled eelke 2019-11-25 20:08:19 +01:00
  • ec8cec105f Fix crash when query in query tab returns error eelke 2019-11-20 19:18:51 +01:00
  • 1df8455af5 Add tab with namespaces (schema's) eelke 2019-11-20 19:09:22 +01:00
  • 8dd13d103e Added dependants tab to table page eelke 2019-11-17 10:27:11 +01:00
  • b90df1cd77 Correctly handle stop request during async connect. eelke 2019-11-09 12:56:02 +01:00
  • 2c9cda990d The socket should be retrieved within the loop as it is possible that the socket handle changes. eelke 2019-11-06 20:16:15 +01:00
  • 6bb5525d5e Switched away from boost::asio as it doesn't play well with libpq eelke 2019-11-06 20:03:27 +01:00
  • 6dd079bf87 Fix: parameter list always gave missing type error eelke 2019-11-06 18:29:31 +01:00
  • f875f0f012 Implementation, tests and first use of rangechecked_cast eelke 2019-11-04 18:02:48 +01:00
  • c5f6da48ce Pgsql::Connection::connect functions now all report connection errors by throwing exception. eelke 2019-11-03 07:58:48 +01:00
  • 05bca069e3 Fix escaping of special chars for copyAsCString eelke 2019-11-02 14:54:55 +01:00
  • 5f2857f12a Fix crashes from accessing invalid pointers. eelke 2019-11-02 14:28:48 +01:00
  • ead3ce8a8a Show view definition eelke 2019-10-26 13:13:58 +02:00
  • dc949f3c34 Fix crash when trying to save row data when row is not yet valid eelke 2019-10-25 13:50:11 +02:00
  • e891ec9d54 Merge branch 'refresh-crudtab' into 'master' Eelke Klein 2019-10-13 05:35:47 +00:00
  • 8423d31d4e Merge branch 'refresh-crudtab' into 'master' Eelke Klein 2019-10-13 05:35:44 +00:00
  • 1a208a6a2d Crud page has now reload action. eelke 2019-10-13 07:31:48 +02:00
  • 4278fe6ff4 Merge branch '64-reload-catalog' into 'master' Eelke Klein 2019-10-09 17:48:52 +00:00
  • fa71f5789a Merge branch '64-reload-catalog' into 'master' Eelke Klein 2019-10-09 17:48:25 +00:00
  • 39d1a2a00f Sequence page refreshes after catalog reload. eelke 2019-10-09 19:47:35 +02:00
  • 5c586ea807 List of tables now updates after reload of catalog. eelke 2019-10-09 18:36:54 +02:00
  • f4f514efb0 Trigger page now reacts to catalog refreshed. eelke 2019-10-06 14:31:44 +02:00
  • 211d937c16 Catalog refresh working for functions page. eelke 2019-10-06 14:24:18 +02:00
  • 23899b6bb6 ConstraintPage now reacts to refreshed signal. eelke 2019-10-06 14:17:07 +02:00
  • fa46971930 Index page now correctly responds to reload. eelke 2019-10-06 14:03:46 +02:00
  • 60d8f36328 poc Add support for reloading the catalog eelke 2019-10-06 13:52:45 +02:00
  • 83122e89df fix: comparison that should have been assignment eelke 2019-10-06 09:39:11 +02:00
  • 4ea388cad7 Merge branch 'master' of ssh://git@gitlab.com:/eelke/pgLab.git eelke 2019-10-06 09:34:45 +02:00
  • e896225cd6 Merge branch '61-update-index-sql-when-switching-tables' into 'master' Eelke Klein 2019-10-06 07:31:49 +00:00
  • 66586797f1 Merge branch '61-update-index-sql-when-switching-tables' into 'master' Eelke Klein 2019-10-06 07:31:36 +00:00
  • 45c3a0480b The normal copy now works for SQL definition views. eelke 2019-10-05 16:41:14 +02:00
  • 09bdeedbf4 Merge branch '61-update-index-sql-when-switching-tables' into 'master' Eelke Klein 2019-10-05 07:12:06 +00:00
  • e7bb306792 Merge branch '61-update-index-sql-when-switching-tables' into 'master' Eelke Klein 2019-10-05 07:11:46 +00:00
  • e55b0b7f37 fix: update sql for indexes and constraints eelke 2019-10-05 09:09:22 +02:00
  • 2c615f3b96 Merge branch '62-missing-or-in-trigger-definitions' into 'master' Eelke Klein 2019-10-05 06:56:00 +00:00
  • 6e4f9aec32 Merge branch '62-missing-or-in-trigger-definitions' into 'master' Eelke Klein 2019-10-05 06:55:30 +00:00
  • 09d5461d01 Seperate event types in the trigger definition with OR eelke 2019-10-05 08:55:02 +02:00
  • 06a3e8bdcc Report error instead of aborting the application. eelke 2019-09-26 20:14:57 +02:00
  • 167f5b1386 throw exception instead of causing access violation eelke 2019-09-26 20:14:35 +02:00
  • 082293e58a Switched ConnectionConfig to QString from std::string to fit better into Qt framework eelke 2019-09-16 19:24:39 +02:00
  • bcfd82c27d Fix crash when starting to add connection. eelke 2019-09-02 16:33:13 +02:00
  • 7f88b98cdd End user can now specify how long password manager remembers the master key. eelke 2019-09-01 16:06:08 +02:00
  • d489f11e52 Store encrypted passwords with connections. eelke 2019-09-01 14:07:58 +02:00
  • e5ae9663c4 Fix missing return value ConnectionTreeModel::removeRows eelke 2019-09-01 10:26:42 +02:00
  • 41c1305e3d Merge branch 'improve-connection-manager' into 'master' Eelke Klein 2019-09-01 08:19:22 +00:00
  • 62998fd6d3 Merge branch 'improve-connection-manager' into 'master' Eelke Klein 2019-09-01 08:18:23 +00:00
  • bf8bb087e7 Fix: adding connection eelke 2019-09-01 06:52:26 +02:00
  • d9431b173c Cleanup eelke 2019-09-01 06:48:34 +02:00
  • 91049b235a Send InsertRows signals when adding a group. eelke 2019-09-01 06:48:11 +02:00
  • 0fb1d89aee When editing connection the dialog is now initialized on the correct connection group. eelke 2019-09-01 06:44:48 +02:00
  • 2823297482 Fix crash when closing dialoog with X button eelke 2019-09-01 06:43:28 +02:00
  • 521d3cdaac Add seperate actions for adding and removing connection groups. eelke 2019-09-01 06:42:21 +02:00
  • dbb6e1ab01 Can open window for database by clicking on the config in the connection tree. eelke 2019-08-29 16:10:28 +02:00
  • b3a98f6dc0 Most of functionality for connections in tree works now. Old list largely removed. eelke 2019-08-27 20:12:00 +02:00
  • 8840d3bcbb Basic version of ConnectionTreeModel is working. eelke 2019-08-25 15:33:51 +02:00
  • 3721808df4 Remove unused function eelke 2019-08-25 08:10:37 +02:00
  • b65edaa6ee Improved how connection is removed from the configuration file. eelke 2019-08-25 08:00:54 +02:00
  • b09e8a6d4b ConnectionManager overhaul eelke 2019-08-24 20:47:32 +02:00
  • 78247c7abe Small cleanup of ConnectionManager eelke 2019-08-23 09:44:06 +02:00
  • 1792f42dac Improved working of BackupDialog eelke 2019-08-23 09:43:48 +02:00
  • 221cc33bb4 Remove unused unit eelke 2019-08-23 09:40:02 +02:00
  • b939916b07 Fix incorrect ALTER TABLE statement for columns in the instepctor. eelke 2019-08-19 19:44:07 +02:00
  • 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. eelke 2019-08-19 19:32:40 +02:00
  • e4a43a77bd Disable editing of the description of the connections in the connection ListView. eelke 2019-08-19 19:26:39 +02:00
  • 033d2b3d45 Removed debug statement that gave lot of output and which was not needed anymore. eelke 2019-08-19 16:06:23 +02:00
  • 48ac8c6bab Improved generation of c/cpp string from query eelke 2019-08-19 13:52:23 +02:00
  • fbd630489e Added paste lang option for pasting programming code. eelke 2019-08-19 11:38:04 +02:00
  • 35d1e75d35 Split all connection related controller functionality off into seperate ConnectionController. eelke 2019-08-19 10:05:05 +02:00
  • 8c13bdc2ef Make closing of tabs work again. eelke 2019-08-16 10:49:59 +02:00
  • 6fdf631fac Make double clicking on table in CatalogInspector open crud for selected table/view. eelke 2019-08-16 10:49:38 +02:00
  • 1a2ec6a224 DatabaseWindow now provides some functionality to its child components through the IDatabaseWindow interface. eelke 2019-08-16 08:29:27 +02:00
  • 6d4df99100 Add Cancel back to query menu eelke 2019-08-16 08:27:05 +02:00
  • 460d6f5809 Added back query menu with execute and explain option. eelke 2019-08-16 07:23:18 +02:00
  • 7450e5bd4c Merge branch 'remove-plugin-system' eelke 2019-08-15 20:15:37 +02:00
  • d45707b542 Items for inspecting database schema and catalogs moved to window menu. eelke 2019-08-15 20:15:13 +02:00
  • e2fa613a49 Most of menu is back in its original state before the plugin experiment. eelke 2019-08-15 19:32:33 +02:00
  • b0fa02455c Remove all of plugin_support eelke 2019-08-15 18:00:19 +02:00
  • 09ef4cdf6b CatalogInspector is normal QWidget now eelke 2019-08-15 16:38:01 +02:00
  • edb789ca4a Removing plugin system is holding back development to much. eelke 2019-08-15 16:18:47 +02:00
  • 048843a1d4 Bezig met plugin menu systeem eelke 2019-08-15 12:40:29 +02:00
  • 601d071d0f Proof of concept for having the context actions statically defined in the module. eelke 2019-08-14 09:06:48 +02:00
  • 7f09d5fe07 Made a start with the notification system. However need to figure out how i want to handle multithreading and screen updates. eelke 2019-08-14 06:53:28 +02:00
  • 5494e5076b Don't read relhasoids on version 12. Also don't try to select data we are not allowed to read. eelke 2019-08-10 18:12:26 +02:00
  • 1c48b1945c Make database window come up maximized. eelke 2019-08-10 18:11:00 +02:00
  • 86cdcbe06a Don't read protransform, we are not using it and version 12 doesn't have it. eelke 2019-08-10 18:10:19 +02:00
  • 2ceea4b577 Don't read consrc we are not using it and version 12 doesn't have it. eelke 2019-08-10 18:09:14 +02:00
  • 70b842597c Read from pg_roles as only superusers can read pg_authid eelke 2019-08-10 14:18:01 +02:00
  • 68922fdae8 Merge branch 'master' of gitlab.com:eelke/pgLab Eelke Klein 2019-07-13 08:46:57 +02:00
  • b6796174a2 Ignore .user files Eelke Klein 2019-07-13 08:46:44 +02:00
  • b5cb8a271f Improved backup dialog Eelke Klein 2019-07-13 08:45:32 +02:00
  • f6f275001e Type column of column table is coloured by type again. Close #49 eelke 2019-07-07 14:37:42 +02:00
  • 894e740401 Close #48, Fix that table lists come up with columns to small. eelke 2019-07-07 14:05:30 +02:00
  • d7763e83bf More projects fixes. eelke 2019-03-27 18:50:58 +01:00
  • 4694b09ba1 Merge branch 'master' of ssh://gitlab.com:/eelke/pgLab eelke 2019-03-27 18:24:27 +01:00
  • 089c793df7 MIsc changes eelke 2019-03-27 18:23:00 +01:00