Aditya Toshniwal
9d804d2857
Update the dropzone version to 5.9.3 and Flask-SQLAlchemy to 2.5.*. Fixes #7044
2021-12-01 17:23:46 +05:30
Aditya Toshniwal
600690a789
Fixed JS audit issues.
2021-11-12 14:19:09 +05:30
Aditya Toshniwal
1ed4d0f95e
Fixed an issue where textarea should be allowed to resize and have more than 255 chars. Fixes #6976
2021-11-07 10:51:54 +05:30
Aditya Toshniwal
31849ea95f
Ensure that changing themes should work on Windows when system high contrast
...
mode is enabled. Fixes #6954
2021-11-07 10:46:49 +05:30
Aditya Toshniwal
fc233ed993
Pin mozjpeg to 7.1.0 as the latest version will require zlib to be re-compiled.
2021-10-21 16:18:06 +05:30
Aditya Toshniwal
1d8810775c
Fixed JS audit issues wherever possible and ignores devDependencies from packages.json
2021-10-21 15:08:24 +05:30
Aditya Toshniwal
d28e249673
Ignore flask-security-too irrelevant vulnerability.
2021-10-21 11:14:27 +05:30
Aditya Toshniwal
a2f5e6ad8f
Fixed an issue where the wrong SQL is generated when deleting and renaming table columns together. Fixes #6935
2021-10-19 17:13:12 +05:30
Aditya Toshniwal
9de1489322
Ensure that only the table node should be allowed to drop on the ERD tool. Fixes #6929
2021-10-19 12:01:43 +05:30
Aditya Toshniwal
c13b1b60e3
Fixed the issue where all FKs are removed if one of the multiple FKs on the same column is removed.
...
refs #6891
2021-10-16 12:57:30 +05:30
Aditya Toshniwal
7f3c3fa6f9
Added support to allow tables to be dragged to ERD Tool. Fixes #6241
2021-10-16 12:43:39 +05:30
Aditya Toshniwal
8b7b63868f
Added support for composite foreign keys in the ERD tool. Fixes #6891
2021-10-13 14:28:55 +05:30
Aditya Toshniwal
9ace229152
Fixed an issue where exclusion constraint cannot be created from table dialog
...
if the access method name is changed once. Fixes #6900
2021-10-13 11:35:19 +05:30
Aditya Toshniwal
d81960a6eb
Fixed API Test Case for ERD
2021-10-12 14:26:01 +05:30
Aditya Toshniwal
a92c1b43a2
1) Added support for advanced table fields like the foreign key, primary key in the ERD tool. Fixes #6081
...
2) Added index creation when generating SQL in the ERD tool. Fixes #6529
2021-10-11 17:42:14 +05:30
Aditya Toshniwal
a92bad7909
Fixed indexes not loading in Primary constraint and Unique constraint dialog for partition.
...
refs #6868
2021-10-06 17:49:50 +05:30
Aditya Toshniwal
7787def660
The nodes index, RLS policy, rules, triggers are failing to save for partitions.
...
refs #6868
2021-10-06 16:51:46 +05:30
Aditya Toshniwal
dce5038ffd
1. Unable to create trigger for partition table. Fixes #6867 .
...
2. Unable to create index, RLS policy, rules, triggers for partition. Fixes #6868 .
2021-10-06 14:54:01 +05:30
Aditya Toshniwal
400896c563
1. Operators dropdown disabled. Fixes #6771 .
...
2. Vacuum options value is not considered for M-SQL when creating. Fixes #6781 .
2021-10-05 14:13:15 +05:30
Aditya Toshniwal
7eaa3179ad
Fixed an issue where the index is not loaded in the Unique Constraint dialog. Fixes #6857
2021-10-04 19:28:27 +05:30
Aditya Toshniwal
e77f933fe7
Foreign key issues in edit mode:
...
1. Couple of foreign key issues in edit mode. Fixes #6837
2. Table "Of type" related issues. Fixes #6825
2021-10-04 14:14:27 +05:30
Aditya Toshniwal
038fd6ce21
Fixed Dark theme UI related issues. Fixes #6846
2021-10-04 12:41:48 +05:30
Aditya Toshniwal
357a020828
Table node related fixes:
...
1. File select control sets the value for all other to last selected file. Fixes #6814
2. Vacuum parameters-related issues. Fixes #6777
3. Exclusion removes all columns if one row is removed. Fixes #6771
2021-10-01 12:57:04 +05:30
Aditya Toshniwal
381f5edbd5
Few more stability improvements to date time picker.
...
refs #6816
2021-09-30 15:00:32 +05:30
Aditya Toshniwal
c57fc74e18
Fixed Jasmine test cases.
2021-09-29 16:36:49 +05:30
Aditya Toshniwal
28892bb07f
Remove redundant empty option for Exclusion constraint access method name, Of type, and Like relations. Fixes #6825
2021-09-29 15:23:48 +05:30
Aditya Toshniwal
332351efaf
1. Date time control not working on firefox.
...
2. Replace moment with date-fns in date time control as date-fns is more maintained.
Fixes #6816
2021-09-29 13:43:05 +05:30
Aditya Toshniwal
08706ba6b2
1. Make Unlogged switch in table as read only.
...
2. Fix a console warning when saving node data.
Fixes #6778
2021-09-28 17:48:09 +05:30
Aditya Toshniwal
be69470d55
Server and Database node fixes:
...
1. Unable to change shared server switch.
2. DB restriction and schema restriction have an empty option.
3. File select input control does not allow manual text input.
4. In the Parameters tab if the value is a switch control, then an empty value error should not come.
5. Values for parameters should be reset on changing parameters.
6. Added a new key - helpMessageMode which can have a value similar to mode. It will show the help message if the mode is supported.
Fixes #6814
2021-09-28 15:05:32 +05:30
Aditya Toshniwal
dc8ab7cd2a
1. Switch control and CodeMirror control UI improvements for read-only and disabled states.
...
2. If a form input value changes to null, pass it as an empty string in URL params.
3. Use server_type instead of type from the server info.
2021-09-28 10:24:25 +05:30
Aditya Toshniwal
0228d16990
Partition related fixes:
...
1. When attaching a partition, tables were not loading in the dropdown.
2. When adding a sub partition in a partition, collations were not loading in dropdown.
3. Fix some grid column widths in table node.
Fixes #6783
2021-09-24 16:28:55 +05:30
Aditya Toshniwal
d28f8bc7ee
Fixed exclusion constraint issues:
...
1. Incorrect error message.
2. Properties panel Column Section data missing
3. Operator class value is missing
Fixes #6771
2021-09-23 19:28:35 +05:30
Aditya Toshniwal
0e6794f2f5
Fixed issue where modified SQL not loading Unique Constraint dialog. Fixes #6772
2021-09-23 14:47:31 +05:30
Aditya Toshniwal
9179b7464b
Fixed following issues after React Porting:
...
1. Unique constraint should not allow changing values for deferrable, deferred, included columns.
2. Primary keys should not allow changing values for deferrable, deferred, included columns.
3. Foreign keys should not allow changing match type. The referenced table name is empty.
4. Exclude - Column/Expression has incorrect values.
5. Save should not be enabled when Custom auto-vacuum is enabled but none of the parameters are edited.
Fixes #6777
2021-09-23 14:46:10 +05:30
Aditya Toshniwal
19f0181756
Pin @material-ui/lab to 4.0.0-alpha.58, to fix build on Windows x64
2021-09-23 13:15:53 +05:30
Aditya Toshniwal
8d681d68d7
Pin material-ui to 4.11 as later versions have some problems. Test cases are also failing on the latest material-ui version.
2021-09-23 12:12:14 +05:30
Aditya Toshniwal
78c8fbbe00
Fixed an issue where the Properties panel was not loaded for catalog tables. Fixes #6778
2021-09-23 10:42:50 +05:30
Aditya Toshniwal
a1aa080956
Fixed an issue where unable to change the column properties from edit dialog. Fixes #6766
2021-09-22 18:23:40 +05:30
Aditya Toshniwal
a8c8ea69e3
Foreign Key fixes:
...
1. Auto FK related fixes.
2. Properties tab not showing columns.
3. Toggle button is editable even if set to read-only.
4. Dropdown placeholder should be blank for read-only/disabled.
5. Input control help text color on a dark theme.
Fixes #6770
2021-09-22 18:18:09 +05:30
Aditya Toshniwal
fc86faf51e
Changed the layout for tables from block layout to flex layout to fix the width of the columns as per the dialog size.
2021-09-22 18:11:50 +05:30
Aditya Toshniwal
08009f8edc
1) Make default values column read-only for inherited columns when creating table.
...
2) Default values not populated for inherited columns. The existing issue, API changed.
3) Options are not populated for Name in Column > Variable tab.
4) The empty check error message is changed from Label cannot be empty to Label in Collection cannot be empty for collections.
Fixes #6763
2021-09-21 16:56:29 +05:30
Aditya Toshniwal
af230c812b
Synchronises the column's primary key flag and primary key constraint. Fixes #6762
2021-09-21 15:27:48 +05:30
Aditya Toshniwal
5f104b0e0e
Fixed an issue where ERD table dialog is failing to open after React Porting
2021-09-21 15:11:17 +05:30
Aditya Toshniwal
32e97b6422
Fixed the CSS issue causing extra space at the bottom of maintenance backup dialog.
2021-09-17 20:47:03 +05:30
Aditya Toshniwal
f874276d0f
Added some missing propTypes.
2021-09-09 15:57:17 +05:30
Aditya Toshniwal
b20558cb99
Some changes to the core code that will be helpful for other nodes.
2021-09-09 12:20:59 +05:30
Aditya Toshniwal
764677431f
Added React framework for the properties dialog and port Server Group, Server, and Database dialogs.
...
Following changes done for the framework:
- Framework for creating React based dynamic form view out of a pre-defined UI schema. Previously, it was based on Backform/Backbone.
- The new framework and components will use MaterialUI as the base. Previously, Bootstrap/Backform/jQuery components were used.
- The new code uses JSS instead of CSS since material UI and most modern React libraries also use JSS. In the future, this will allow us to change the theme in real-time without refresh.
- 90% code covered by 80-85 new jasmine test cases.
- Server group node UI Schema migration to new, with schema test cases.
- Server node UI Schema migration to new, with schema test cases.
- Database node UI Schema migration to new, with schema test cases.
- Few other UI changes.
Fixes #6130
2021-09-09 12:20:59 +05:30
Aditya Toshniwal
c5ad2c03a2
Set the minimum window size of the NWjs desktop app to be 1024x768.
2021-09-06 19:07:28 +05:30
Aditya Toshniwal
173517985e
Avoid a potential conflict with jquery.drag and use addEventListener to bind events.
2021-09-01 15:02:20 +05:30
Aditya Toshniwal
d38f520805
Added support for the truncate table with restart identity. Fixes #2538
2021-08-27 12:41:29 +05:30
Aditya Toshniwal
56e2af9efc
Fixed test case failures.
2021-08-26 15:01:26 +05:30
Aditya Toshniwal
092f830c3c
Fixed blank screen issue on windows and also made changes to use NWjs manifest for remembering window size. Fixes #6419
2021-08-26 11:19:15 +05:30
Aditya Toshniwal
c543930ac4
Fixed RESQL test cases.
2021-08-25 16:56:12 +05:30
Aditya Toshniwal
c6f9d447f7
Fixed failed test cases.
2021-08-25 11:10:45 +05:30
Aditya Toshniwal
e39838455e
Ensure that trigger function SQL should have 'create or replace function' instead of 'create function' only. Fixes #5849
2021-08-24 18:23:32 +05:30
Aditya Toshniwal
94b40775a1
Allow the referenced table to be the same as the local table in one to many relationship for ERD Tool. Fixes #6495
2021-08-24 18:19:03 +05:30
Aditya Toshniwal
7efef73ff7
Added database and server information on the Maintenance process watcher dialog. Fixes #4629
2021-08-24 17:10:16 +05:30
Aditya Toshniwal
8bf1c96065
Fixed the export image issue where relation lines are over the nodes. Fixes #6531
2021-08-24 17:05:23 +05:30
Aditya Toshniwal
fbc6c30b62
Set PSQLRC and PSQL_HISTORY env vars to apt. user storage path in the server mode. Fixes #6691
2021-08-23 16:19:01 +05:30
Aditya Toshniwal
c64eb3507c
Make code folding case insensitive in the code mirror. Fixes #4264
2021-08-23 16:16:20 +05:30
Aditya Toshniwal
9d985d3d8f
Fixed potential bug in the table node.
2021-07-30 13:28:07 +05:30
Aditya Toshniwal
2452d90300
Fixed incorrect tablespace options in the drop-down for move objects dialog. Fixes #6586
2021-07-27 17:28:38 +05:30
Aditya Toshniwal
b81ff45d34
Fixed replace keyboard shortcut issue in the query tool on the normal keyboard layout. Fixes #6388
2021-06-23 12:34:01 +05:30
Aditya Toshniwal
81b78dd2b2
Do not block the query editor window when running a query. Fixes #3920
2021-06-23 12:22:24 +05:30
Aditya Toshniwal
6e42d9113b
Fixed user password-related issues.
...
refs #6225
2021-06-10 22:56:38 +05:30
Aditya Toshniwal
065a3aa2f5
Updated Flask-Security-Too to the latest v4. Fixes #6225
2021-06-06 13:58:06 +05:30
Aditya Toshniwal
f34adaca41
Fixed column sizing issue when there are no rows in a table.
...
refs #5954
2021-05-17 17:55:13 +05:30
Aditya Toshniwal
b7c0914f33
Fixed 'No password supplied' error occurring on auto-detected servers.
2021-05-14 15:14:18 +05:30
Aditya Toshniwal
c8a2057410
Fixed JS audit warnings
2021-05-14 13:24:45 +05:30
Aditya Toshniwal
058afad9eb
Added support for cache bust webpack chunk files. Fixes #5477
2021-05-11 13:48:53 +05:30
Aditya Toshniwal
2b1910c1c1
Better fix for the black screen issues, reverted the old fix.
...
refs #6334
2021-04-16 18:23:29 +05:30
Aditya Toshniwal
d046a2800d
Fixed build errors which are occurring after updating sass-resources-loader package.
2021-04-15 16:42:25 +05:30
Aditya Toshniwal
c88a63edf8
Included JSX files in the linter check.
2021-04-08 17:56:18 +05:30
Aditya Toshniwal
3d7ecd16aa
Upgrade the React version from 16 to 17 and also update other dependent libraries.
2021-03-15 15:47:21 +05:30
Aditya Toshniwal
e0639602e6
Fixed ERD API test case failing for PG13
2021-02-22 15:01:01 +05:30
Aditya Toshniwal
32197a8405
Fix explain plan and geometry viewer issue. It's a regression of SonarQube fixes. Fixes #6239
2021-02-19 14:29:43 +05:30
Aditya Toshniwal
c1e80ac38a
Fixed an issue where the ERD image is not properly downloaded. Fixes #6197
2021-02-15 15:24:57 +05:30
Aditya Toshniwal
a5a83da045
Fixed an issue where preview images for the themes are not visible.
...
refs #6207
2021-02-10 17:40:54 +05:30
Aditya Toshniwal
701f21186b
Remove 'imagemin-gifsicle' package which is used to compress gif images. The latest version of imagemin-gifsicle requires the binaries to be built from the source.
2021-02-10 13:46:42 +05:30
Aditya Toshniwal
1317e4254b
Updated the JS dependencies to the latest
...
1) Migrate from webpack 4 to webpack 5. This had a lot of breaking changes,
so updated multiple webpack plugins and changed the config accordingly.
2) Replaced iconfont-webpack-plugin with a more maintained webfonts-loader.
3) Replaced deprecated babel-eslint with @babel/eslint-parser.
4) Replaced optimize-css-assets-webpack-plugin with a more maintained css-minimizer-webpack-plugin.
5) Updated all other JS packages and made the required code changes.
Fixes #6207
2021-02-10 12:47:52 +05:30
Aditya Toshniwal
617440e1db
Ensure that ajax request for Dashboard, Statistics, Dependencies, and Dependents
...
should not be raised until the panel will be in focus.
refs #5091
2021-02-09 15:31:26 +05:30
Aditya Toshniwal
181bec62ce
Fixed API test cases by making the connection id unique for ERD.
2021-02-04 16:14:55 +05:30
Aditya Toshniwal
ee679e39e5
Use unique database name in ERD API test cases.
2021-02-03 16:49:17 +05:30
Aditya Toshniwal
73b6b95fbc
Make Statistics, Dependencies, Dependants tabs closable and the user can add them back using the 'Add panel' option. Fixes #5091
2021-02-03 12:46:32 +05:30
Aditya Toshniwal
18f055fa5e
1) Ensure that all the python packages will take the latest until a major version.
...
2) Removed few packages which were dependencies of some other package.
2021-02-03 12:29:57 +05:30
Aditya Toshniwal
75f887f5dc
Ensure that ERD throws a warning before closing unsaved changes if open in a new tab. Fixes #6193
2021-02-02 11:47:10 +05:30
Aditya Toshniwal
a0271c7656
Fixed an issue while downloading ERD images in Safari and Firefox. Fixes #6177
2021-01-29 12:19:24 +05:30
Aditya Toshniwal
48e257e5af
1) Fixed an issue where Zoom to fit button only works if the diagram is larger than the canvas. Fixes #6163
...
2) Ensure that the diagram should not vanish entirely if zooming out too far in ERD. Fixes #6164
3) Fixed an issue where Generate SQL displayed twice in the ERD tool. Fixes #6179
4) Updated missing documentation for the 'Download Image' option in ERD. Fixes #6180
2021-01-29 11:54:50 +05:30
Aditya Toshniwal
3f563d8cbf
1) Fixed an issue where the Save button is disabled due to the existing table check in ERD.
...
2) Fix warnings given by webpack.
2021-01-25 19:44:24 +05:30
Aditya Toshniwal
13db981445
Fixed following issues in ERD:
...
1) After opening an existing project, the first table is already selected but the edit, clone, delete buttons are disabled.
2) ERD project title gets changed when 2 ERD projects are open & anyone of it edited.
3) Closing the ERD tab does not ask for a confirmation pop-up.
4) Shortcut for 'Show more/Fewer details' is missing.
5) Deleting the primary key does not delete associated links.
6) The long table & schema name are getting out of the box.
7) The long table name in the notes pop-up needs re-alignment.
8) The same table name present in ERD/canvas is allowed in Add Table dialogue. Added validation in the dialog.
9) Download image option is added, but it is not perfect yet. Image icons (table, schema, etc.) are not showing up.
10) Rename panel option should be disabled by default. It should be enabled for the tools which implement rename functionality.
11) The Toolbar is not visible in Safari for the ERD tool.
refs #1802
2021-01-25 17:32:56 +05:30
Aditya Toshniwal
57a2559f11
1) Fixes the broken explain GUI test case.
...
2) Displays a tooltip "Click for details..." on hover over explain plan nodes.
refs #5488
2021-01-20 17:49:23 +05:30
Aditya Toshniwal
9229156cf6
One more attempt to fix jasmine test cases of ERD Tool.
2021-01-18 17:14:19 +05:30
Aditya Toshniwal
02f9b72d3e
Fixed jasmine test cases of ERD Tool.
2021-01-18 16:39:58 +05:30
Aditya Toshniwal
5afa4f1995
Remove few dependencies which are not required for ERD Tool.
2021-01-18 12:53:58 +05:30
Aditya Toshniwal
0c8226ff39
Added ERD Diagram support with basic table fields, primary key, foreign key, and DDL SQL generation. Fixes #1802
2021-01-16 17:06:50 +05:30
Aditya Toshniwal
6589f82e77
Improve the explain plan details by showing popup instead of tooltip on clicking of the specified node. Fixes #5488
2021-01-12 16:43:30 +05:30
Aditya Toshniwal
5198a881b7
Added 'Count Rows' option to the partition sub tables. Fixes #5282
2021-01-04 15:25:05 +05:30
Aditya Toshniwal
233736897d
Added 'CREATE TABLE' SQL missed in the last patch for #5571
...
refs #5571
2021-01-04 15:06:28 +05:30
Aditya Toshniwal
f9087475d4
Fixed RESQL test cases for exclusion constraints.
...
refs #5571
2020-12-24 14:03:07 +05:30
Aditya Toshniwal
5448de2d3f
Added support for expression in exclusion constraints. Fixes #5571
2020-12-24 12:50:57 +05:30