Commit Graph

32 Commits

Author SHA1 Message Date
Lea Laux
6e61a74250 Catch error in file remove process
Catch an error in the file removing process after a database dump for
windows users (issue #40)
2021-03-15 12:27:42 +01:00
Lea Laux
f09602d5d3 More restrictive duplicate and index check
A duplicate is defined by identical connection parameters (host, user,
database, port) and these parameters are used for finding an index in
the connection store.
2021-03-15 12:27:42 +01:00
Lea Laux
abe9f6f66a Double click on table -> Edit single values dialog 2021-03-15 12:27:42 +01:00
Lea Laux
b8867782cd Documentation for check for unsaved changes before closing 2021-03-15 12:27:42 +01:00
Lea Laux
6fbfb10d64 Check for unsaved content in editor before closing
Check for unsaved content in the editor widget/query input editor before
closing the editor and the main window, still todo: Documentation in
main window/mdi area
2021-03-15 12:27:42 +01:00
Lea Laux
5bb167a375 More intuitive close button in connection dialog 2021-03-15 12:27:42 +01:00
Lea Laux
49c49be68a Short cut for new editor tab
Create a short cut in the main window for activating a new editor tab
(like the editor symbol in the tool bar)
2021-03-15 12:27:42 +01:00
Lea Laux
83ad5d9cef Add a splitter between input editor and table view
Add a splitter in the editor widget between the query input editor and
the table view. Readjust the csv export button in the process.
2021-03-15 12:27:42 +01:00
Lea Laux
8728ef3dbe Error case in full table csv export, documentation 2021-03-15 12:27:42 +01:00
Lea Laux
883adeaaff CSV export improvement: Full table
Export the full table to a CSV file in the context menu for a table node
in the tree model. Use the csv exporter as refactored tool. The exporter
can work with database parameters including the name of the table or the
resulting data list. TODO: Documentation
2021-03-15 12:27:42 +01:00
Lea Laux
e1e13376a9 EXPLAIN (ANALYZE) for queries in editor
Get the query plan/time result of a query with a button in the editor
2021-03-15 12:27:42 +01:00
Lea Laux
66e904a208 Button for explaining the query plan
Build a button for explaining the query plan (still todo)
2021-03-15 12:27:42 +01:00
Lea Laux
5daa99193a Update missing keywords
Update the keyword list in the lexer, because PostgreSQL uses a lof of
keywords, which were not part of the keyword list.
2021-03-15 12:27:42 +01:00
Lea Laux
2d626792b7 Add check for DELETE/UPDATE without WHERE in editor
Check the current query in the editor widget before executing for
DELETE/UPDATE without WHERE and warn the user. Make the warning
configurable.
2021-03-15 12:27:42 +01:00
Lea Laux
e53ccdd62c Connect tree change with csv import
After the csv import dialog, the changes in the tree structure (like new
tables or deleting old tables) are visible to the user.
2021-03-15 12:27:42 +01:00
Lea Laux
7747dba026 Add csv import dialog to main window
Add the csv import dialog to the main window: Import CSV now available
in the edit menu and in the tool bar. Change the required database
connection in the csv import dialog to database connection parameters
and establish the connection there with help of the global connection
factory.
2021-03-15 12:27:42 +01:00
Lea Laux
5b4ff89abb Insert and Create/Insert in csv importer
Inserting the data in the csv import dialog is now possible. In
addition, create/insert in one action is possible. The building process
for the activation in the main window has started.
2021-03-15 12:27:42 +01:00
Lea Laux
ef9d6e6a20 Add the create and drop feature
The table, specified by the user, can now be dropped and created in the
csv import dialog.
2021-03-15 12:27:42 +01:00
Lea Laux
7906123f47 CSV import layout
Create a layout in the csv import dialog for creating the table
and create the possibilty of user input
2021-03-15 12:27:42 +01:00
Lea Laux
9f9fd245c0 Improve data type hierarchy, add documentation 2021-03-15 12:27:42 +01:00
Lea Laux
f506bcbafe Insert function for inserting the data 2021-03-15 12:27:42 +01:00
Lea Laux
ec53065798 Refactoring and documentation of the csv importer
State of the art: CREATE TABLE with check of the given columns for
mallicious content
2021-03-15 12:27:42 +01:00
Lea Laux
7e37ac06b7 Refactoring and a little bit of documentation 2021-03-15 12:27:42 +01:00
Lea Laux
71f64dc70e Start the feature CSV Importer 2021-03-15 12:27:42 +01:00
Lea Laux
b13a1e3eb7 Open previous tabs/files after restart 2021-03-15 12:27:42 +01:00
Lea Laux
0bc39ada3d Open previous files/tabs after restart
Remember the open files in the editor tabs and reload them after
restarting the application. This feature is configurable and described
in issue #38
2021-03-15 12:27:42 +01:00
Lea Laux
4369650972 Add support for materializied views
Show materializied views of a database in an own dialog, available
through the context menu for database nodes.
2021-03-15 12:27:42 +01:00
Lea Laux
171b60f197 Add csv export
Add the possibility of the csv export of the result like described in
issue #37
2021-03-15 12:27:42 +01:00
Lea Laux
ee5ba1eafe Load one or all database nodes for a server
With a given connection, it is now possible to specify the number of
database nodes for a server: Only one node with the explicit given
database can be loaded or all databases on the server. This is realized
by an extra parameter for the database connection in the tree model and
connection dialog.
2021-03-15 12:27:42 +01:00
Lea Laux
3ad999f90d Update permission dialog: Correct condition and docu
Add the correct condition for updating the super users and owners in the
permission dialog. Add more documentation.
2021-03-15 12:27:42 +01:00
Lea Laux
a80e6f650a Add owner label to permission dialog
Add an owner label and an owner query to the permission dialog like
described in issue #36
2021-03-15 12:27:42 +01:00
Lea Laux
49de912c15 Initial github release 2020-11-18 11:13:49 +01:00