Commit Graph

122 Commits (7648bd964639de3eb773a156b3ccbed10add828b)

Author SHA1 Message Date
Nikhil Mohite 18cad32bd4 Added tab title placeholder for Query Tool, View/Edit Data, and Debugger. Fixes 2020-10-20 15:41:54 +05:30
Nidhi Bhammar b11a0d50e6 Fixed documentation review comments for Macro support.
refs 
2020-10-12 16:13:34 +05:30
Nidhi Bhammar 609904cfb3 Added documentation for Macro support. Fixes 2020-10-06 17:35:04 +05:30
Nikhil Mohite be7bb81a19 Allow user to change the database connection from an open query tool tab. Fixes 2020-10-01 13:29:46 +05:30
Pradip Parkale b097cec45e Fixed an issue where some properties are not being updated correctly for the shared server. Fixes 2020-09-30 12:29:59 +05:30
Akshay Joshi 952197f130 Added support to ignore the owner while comparing objects in the Schema Diff tool. Fixes . 2020-09-28 15:22:46 +05:30
Nidhi Bhammar 6ded547a0d Added documentation for shared server support. Fixes 2020-09-11 19:12:08 +05:30
Dave Page 79e6480513 Added SQL Formatter support in Query Tool. Fixes 2020-08-20 13:05:00 +05:30
Akshay Joshi 4f74609ecf Modified schema diff tool to compare two databases instead of two schemas. Fixes 2020-08-10 15:13:34 +05:30
Pradip Parkale 36a2c073bd Added support for permissive/restricted policy type while creating RLS Policy. Fixes 2020-07-07 17:55:05 +05:30
Nikhil Mohite c873218c32 Added support for schema level restriction. Fixes
Allow user to edit the connection properties when the database server
is already connected.
2020-06-30 19:15:23 +05:30
Yogesh Mahajan d2f4a62bf3 Documentation of Row Level Security Policies. Fixes 2020-06-22 17:09:10 +05:30
Akshay Joshi cb268075c2 1) Added option to ignore the whitespaces while comparing objects in schema diff. Fixes
2) Added server group name while selecting servers in schema diff. Fixes 
3) Fixed an issue where two identical tables showing different by schema diff tool. Fixes 
2020-06-17 16:27:51 +05:30
Aditya Toshniwal d58c33dec0 Search object UI improvements. Fixes 2020-05-18 11:29:12 +05:30
Aditya Toshniwal b64896f558 Fixed generated SQL issue for auto vacuum options. Fixes
Fixed some more issues:

 1) pgAdmin allows only true or false values for autovacuum_enabled,
    and there is no way to reset it individually without disabling a custom auto vacuum.
    To fix this, the control is changed from the switch to three state buttons.
 2) Setting any vacuum options to zero made the option disappear from the SQL.
 3) Right-click on a table with vacuum options set and create a new table.
 4) The parameters tab will have the options prefilled.
 5) Changed the UI a bit to remove unnecessary space around. Added "Autovacuum" before enabled.
    The SQL generated was appending a ".0" to decimal vacuum options. Changed to remove the leading ".0".
2020-05-08 14:30:30 +05:30
Abhilasha Narendra fbee63085c Documentation of LDAP authentication support. Fixes 2020-04-27 20:28:39 +05:30
navnath gadakh c76732e3e7 Ensure that default sort order should be using the primary key in View/Edit data. Fixes 2020-04-22 18:47:13 +05:30
Nagesh Dhope 8bdfa18efb Ensure that if the delimiter is set other than comma then download the file as '.txt' file. Fixes 2020-04-17 17:37:02 +05:30
Murtuza Zabuawala eec2cfd5dd Fixed an issue where the Mode cell of argument grid does not appear completely in the Functions dialog. Fixes 2020-04-16 13:16:07 +05:30
Aditya Toshniwal e1f990190e Added search object functionality. Fixes 2020-04-06 17:33:07 +05:30
Aditya Toshniwal 358c5d0a0f Added support for parameter toast_tuple_target and parallel_workers of the table. Fixes
Fixed an issue where the autovacuum_enabled parameter is added automatically in the RE-SQL
when the table has been created using the WITH clause. Fixes 
2020-04-01 18:19:55 +05:30
Aditya Toshniwal 4db0a6524d Fix an issue where debugger not showing all arguments anymore after hitting SQL error while debugging. Fixes
Added a "Clear All" button to the argument dialog which will clear all the saved arguments values from SQLite DB.
2020-02-28 15:27:01 +05:30
Aditya Toshniwal 9bad590e9e Improvements in the UI for both default and dark themes. Fixes
Improve the style of the highlighted code after query execution for Dark mode. Fixes .
Changed background pattern for geometry viewer to use #fff for all themes. Fixes 
Changed the color of selected and hovered item for Select2 dropdown, also tweak the appearance of the tags in multi-select boxes. Fixes 
Fixed Firefox monospaced issue by updating the font to the latest version. Fixes 
2020-02-24 14:11:00 +05:30
Nidhi Bhammar 59757dbf55 Documentation of the Schema Diff feature. Fixes 2020-02-03 17:08:28 +05:30
Akshay Joshi 198063f046 Added support for a multi-level partitioned table. Fixes . 2020-01-23 18:49:15 +05:30
Aditya Toshniwal 6e2cf8ced2 Changed the open query tool and data filter icons. Fixes . 2019-12-06 19:27:55 +05:30
Akshay Joshi 4fa1bdba5a 1) Refactored code of columns node. Fixes .
2) Fix an issue where length and precision are not removed from table/column dialog. Fixes .
3) Fix an issue where the Interval data type is not displayed in the properties dialog of table/column. Fixes .
4) Fix an issue where the wrong type is displayed when changing the datatype from timestamp with time zone to timestamp without time zone. Fixes .
5) Change the label from 'Length and Precision' to 'Length/Precision and Scale' for columns.
6) The maximum length for datatype like interval, timestamp with time zone, time with time zone, etc.. is 6. Set the max length to 6 instead of 10.
2019-11-28 18:48:53 +05:30
Aditya Toshniwal 4ed2d74d9c 1) Fix network disconnect issue while establishing the connection via SSH Tunnel and it impossible to expand the Servers node. Fixes .
2) Fix server connection drops out issue in query tool. Fixes 
3) Fix VPN network disconnect issue where pgAdmin4 hangs on expanding the Servers node. Fixes .
4) Ensure that the Servers collection node should expand independently of server connections. Fixes .

Set the default connection timeout to 10 seconds instead of 0.
2019-11-26 09:04:41 +05:30
Aditya Toshniwal 8180403f97 1) Added support for custom theme creation and selection. Fixes .
2) Added Dark(Beta) UI Theme option. Fixes .
3) Fix an issue where a black arrow-kind image is displaying at the background of browser tree images. Fixes 

Changes include:
  1) New theme option in preferences - Miscellaneous -> Themes. You can select the theme from the dropdown.
     It also has a preview of the theme just below the dropdown. Note that, a page refresh is needed to apply changes.
     On saving, a dialog appears to ask for refresh.
  2) You can create your own theme and submit to hackers. README is updated to help you create a theme. Theme will be available only after the bundle.
  3) Correction of SASS variables at few places and few other CSS corrections.
  4) Added iconfont-webpack-plugin, which will convert all the SVG files(monochrome) used as icons for buttons to font icons.
     This will allow us to change the color of the icon by using CSS color property.
  5) All the .css files will bundle into a separate file now- pgadmin.style.css. This will help reduce the size of
     theme CSS files as CSS in .css files will not change with the change of SASS variables.
2019-11-07 18:51:03 +05:30
Rahul Shirsat 62d55cabd9 1) Fixed issue where Drop and Disconnect connection menu points are too close to each other. Fixes
2) Rename the context menu from 'Drop Server' to 'Remove Server'. Fixes 
2019-11-07 13:11:24 +05:30
Aditya Toshniwal 570ee58f53 Add an option to request confirmation before cancelling/resetting changes on a Properties dialog. Fixes 2019-11-05 14:28:03 +05:30
Aditya Toshniwal 131a944e24 Support Enable Always and Enable Replica on triggers. Fixes 2019-11-01 11:49:17 +00:00
Aditya Toshniwal c25034a86d Add an option to request confirmation before cancelling changes on a Properties dialog. Fixes 2019-10-29 14:31:43 +00:00
Ashesh Vashi 6e4923d762 Fixes # 4778 - Implement the query plan analyzer
Look 'n' Feel and implementation logic are inspired from
'http://explain.depsez.com'.

It now creates three tabs under the 'Explain' panel when executing a
query using the Explain Analyze/Explain button from the toolbar of the
Query tool.

Graphical
---------
-> Graphical Explain Plan

Analysis
--------
-> Table to show details of the explain plan analyse.
-> Each row represents the statistics per Explain Plan Node
-> It may contains columns like node information, exclusive timing
   (time spent for this explain node excluding the child nodes),
   inclusive timing, actual rows, plan rows,
   rowsx (misestimation between planned vs actual rows), loop.
-> Background color of exclusive, inclusive, rows changes based on
   their values.
i.e.
If Percentage of exclusive, and inclusive timings of total query time
is:
> 90 - Red Color
> 50 - Orange (Between Red & Yellow Color)
> 10 - Yellow color

If planner misestimation for the rows is
> 1000 times - Red Color
> 100 times - Orange (Between Red & Yellow Color)
> 10 times - Yellow Color
Also - if actual rows <= planned rows then it shows up arrow, else it
shows down arrow.

Statistics
----------
-> It contains a HTML table for the statistics per Node Type, and
   a HTML table for the statistics per table.

Reviewed by: Akshay Joshi
2019-10-08 16:44:24 +05:30
Akshay Joshi 1bef98fdfa Ensure that 'ENTER' key in the data filter should not run the query. Fixes 2019-09-20 18:13:44 +05:30
Aditya Toshniwal 1c2ba72f02 Add editor options for plain text mode and to disable block folding to
workaround rendering speed issues in CodeMirror with very large scripts.
Fixes .

Re-arrange editor options in the Preferences dialogue to tidy things up.
2019-09-04 15:46:08 +01:00
Yosry Muhammad f8f7d5ac6f Ensure editable and read-only columns in Query Tool should be identified by icons and tooltips in the column header. Fixes 2019-08-26 14:17:40 +05:30
Akshay Joshi 0d6f07a035 1) Ensure compound triggers should be displayed under Views. Fixes .
2) Ensure Truncate option should be available for Compound Triggers. Fixes .
2019-08-20 09:39:31 +05:30
Yosry Muhammad 687204771c Add support in query history to show internal queries generated by pgAdmin during save data operations. Fixes 2019-08-16 17:17:12 +05:30
Akshay Joshi 35bbee3023 Fix generation of reverse engineered SQL for Rules. Fixes 2019-08-12 14:27:02 +05:30
Akshay Joshi 350ffcce7c 1) Add support of Compound Triggers for EPAS 12+. Fixes .
2) Ensure enable trigger menu should be visible when trigger is disabled. Fixes .
2019-08-08 16:59:11 +05:30
Akshay Joshi 537c27a58e Use the full tab space for CodeMirror instances on dialogues where appropriate. Fixes 2019-08-02 10:25:21 +01:00
Akshay Joshi 2ef3080d0e Add support for generated columns in Postgres 12+. Fixes
Ensure columns can be created when they are IDENTITY fields with the CYCLE option enabled. Fixes 
Ensure purely numeric comments can be saved on new columns. Fixed 
2019-07-25 16:38:26 +01:00
Khushboo Vashi adb5cd34bf Add support for planner support functions in PostgreSQL 12+ functions. Fixes 2019-07-25 16:09:37 +01:00
Yosry Muhammad 710d520631 Add support for editing of resultsets in the Query Tool, if the data can be identified as updatable. Fixes
When a query is run in the Query Tool, check if the source of the columns
can be identified as being from a single table, and that we have all
columns that make up the primary key. If so, consider the resultset to
be editable and allow the user to edit data and add/remove rows in the
grid. Changes to data are saved using SAVEPOINTs as part of any
transaction that's in progress, and rolled back if there are integrity
violations, without otherwise affecting the ongoing transaction.

Implemented by Yosry Muhammad as a Google Summer of Code project.
2019-07-17 11:45:20 +01:00
Aditya Toshniwal 0340b8fb28 Add EXPLAIN options for SETTINGS and SUMMARY. Fixes
Prevent flickering of large tooltips on the Graphical EXPLAIN canvas. Fixes 
EXPLAIN options should be Query Tool instance-specific. Fixes 
2019-07-03 13:57:56 +01:00
Dave Page 2dd075161d Allow the UI layout to be fully locked or to prevent docking changes. Fixes 2019-05-31 11:51:30 -04:00
Aditya Toshniwal 15252b0a26 Added Help button on all master password dialogs. 2019-05-29 13:07:50 +05:30
Aditya Toshniwal dfa892d2a2 1. Added Master Password to increase the security of saved passwords. Fixes
2. In server(web) mode, update all the saved server credentials when user password is changed. Fixes 
2019-05-28 12:00:18 +05:30
Aditya Toshniwal 361f7077fd Update the UI logo. Artwork by Chethana Kumar. Fixes 2019-05-23 16:39:10 +01:00