Akshay Joshi
556278dbc5
Added support to view trigger function under the respective trigger node. Fixes #2519
2020-10-12 13:49:54 +05:30
Akshay Joshi
4587cf73c2
Update Dependencies.
2020-10-09 18:03:47 +05:30
Akshay Joshi
65aba21c14
Update message catalogs.
2020-10-09 18:00:25 +05:30
Akshay Joshi
0bf6e81faa
Fixed linter error.
2020-10-09 12:09:23 +05:30
Akshay Joshi
f27527a614
Fixed API test cases failed for PG 9.5 due to change in the order of ACL.
2020-10-07 08:41:21 +05:30
Akshay Joshi
6c4049f29a
Added RESQL/MSQL test cases for Functions. Fixes #5395
...
Initial patch sent by Nikhil Mohite.
2020-10-06 17:13:41 +05:30
Akshay Joshi
9466278be2
Fixed invalid literal issue when fetching dependencies for Materialized View. Fixed #5882
2020-10-05 17:53:47 +05:30
Akshay Joshi
bcb2f833cd
Fixed PEP8
2020-10-05 15:09:39 +05:30
Akshay Joshi
a0a15fa643
Fixed feature tests for autocomplete.
2020-10-05 15:08:09 +05:30
Akshay Joshi
542be2b2d4
Fixed issues where the 'pg_pltemplate' system catalog is removed from PG 13 and it gives error while creating the language.
2020-10-05 14:35:48 +05:30
Akshay Joshi
558d25fabc
Updated 'sqlparse' and 'pytz' module to the latest version.
2020-10-01 16:02:30 +05:30
Akshay Joshi
300de05a20
Merged the latest code of 'pgcli' used for the autocomplete feature. Fixes #5497
2020-10-01 13:29:46 +05:30
Akshay Joshi
a707d818f5
Removed (Beta) keyword from Schema Diff and High Contrast theme.
2020-09-29 18:27:28 +05:30
Akshay Joshi
1c70a43b91
Fixed code smells 'Define a constant instead of duplicating this literal' reported by SonarQube.
2020-09-29 15:08:14 +05:30
Akshay Joshi
952197f130
Added support to ignore the owner while comparing objects in the Schema Diff tool. Fixes #5200 .
2020-09-28 15:22:46 +05:30
Akshay Joshi
68588fbb44
Fixed an issue where schema diff is showing identical table as different due to default vacuum settings. Fixes #5826
2020-09-24 13:24:25 +05:30
Akshay Joshi
3489f94ca7
Ensure that multiple extensions can be dropped from the properties tab. Fixes #5839 .
2020-09-21 10:09:41 +05:30
Akshay Joshi
55b5080c77
Fixed and improve API test cases for the schema diff tool. Fixes #5417
2020-09-17 20:10:01 +05:30
Akshay Joshi
324e3e74be
Fixed an issue where custom sequences are not visible when show system objects are set to false. Fixes #5833
2020-09-15 12:58:43 +05:30
Akshay Joshi
7dca844cbe
Update version for release.
2020-09-14 17:53:54 +05:30
Akshay Joshi
5eb1c57320
1) Correct the reverse engineering SQL of the collation node for database server version < 10.
...
2) Added 'rngcollation' and 'attnum' in the ignore list of Types node and fixed an issue occurs due to SonarQube fix.
2020-09-14 16:12:20 +05:30
Akshay Joshi
5462aeab11
Update Dependencies.
2020-09-13 19:14:56 +05:30
Akshay Joshi
913e92a96e
Update message catalogs.
2020-09-11 20:00:07 +05:30
Akshay Joshi
a7d40e238e
Ensure that the 'CREATE SCHEMA' statement should be present in the generated script if the schema is not present in the target database. Fixes #5816
2020-09-11 19:06:56 +05:30
Akshay Joshi
ed1bd74301
Ensure that a valid error message should be displayed for an incorrect user or password.
2020-09-11 11:26:47 +05:30
Akshay Joshi
1bd0a0edf5
Remove illegal argument from trigger function in trigger DDL statement. Fixes #5779
2020-09-10 17:27:01 +05:30
Akshay Joshi
1bc1ef7f17
Fixed an issue where vacuum options not consider in Schema Diff. It's a regression.
2020-09-09 15:34:50 +05:30
Akshay Joshi
ffb829e80c
Fixed an issue while refreshing Resource Group. Fixes #5820
2020-09-09 14:34:14 +05:30
Akshay Joshi
76b0e3e9f7
Moved logic to check fixed port is in use to ConfigWindow class.
...
refs #5751
2020-09-08 12:00:24 +05:30
Akshay Joshi
9ae9ccff16
Modified the logic to check Port is in use for runtime. Fixes #5751 .
2020-09-03 19:21:54 +05:30
Akshay Joshi
eaa90ee8eb
Fixed primary key/unique constraint icon issue.
2020-09-03 18:53:40 +05:30
Akshay Joshi
a67f6e4f9c
Fixed API test cases failed due to commit for #4979 .
2020-09-03 14:20:45 +05:30
Akshay Joshi
ed0c4037ad
Fixed linter error by removing 'debugger;' keyword.
2020-09-03 13:16:08 +05:30
Akshay Joshi
ddf5b33219
Added exclamation icon to alertify warning messages.
2020-09-02 17:27:26 +05:30
Akshay Joshi
1c9badec9c
Rename the menu option 'Search objects' to 'Search Objects...'
2020-09-02 16:44:30 +05:30
Akshay Joshi
3b9e8e47ec
Modified 'cryptography' version to less than or equal to 3.0 to fix the
...
pgAdmin4 launch issue on Windows.
Cryptography's new version may be creating a problem. This is a temporary
fix and will have to investigate the proper fix.
2020-09-01 16:05:41 +05:30
Akshay Joshi
59649ca42c
1) Enable the 'Configure' and 'View log' menu option when the server taking longer than usual time to start.
...
2) When an error occurs from the backend, the configure window opens and if the user has changed the setting
of the port, it won't take any effect as we have retrieved the value of the port at the start of the runtime.
3) Added logic to identify the specified fixed port is already in use. Throw the error before starting the pgAdmin server.
Fixes #5751
2020-08-25 18:01:27 +05:30
Akshay Joshi
e2ac6187dc
Fixed Jenkins build failure due to API test case failed.
2020-08-25 14:14:48 +05:30
Akshay Joshi
df9aaf19c2
Fixed string indices must be integers issue for PostgreSQL < 9.3. Fixes #5766
2020-08-25 13:38:24 +05:30
Akshay Joshi
52d0241a17
Fixed an issue where schema diff is not working when providing the options to Foreign Data Wrapper, Foreign Server, and User Mapping. Fixes #5754
2020-08-24 12:11:09 +05:30
Akshay Joshi
dd6ae193ff
Replace 'fa-clock-o' with 'fa-clock' which is appropriate for font awesome v5
2020-08-21 13:44:29 +05:30
Akshay Joshi
fbbbc36221
Fixed code smell 'Define a constant instead of duplicating this literal' reported by SonarQube.
2020-08-20 20:26:51 +05:30
Akshay Joshi
103b08c9c5
Define constants for preferences label to fix SonarQube issues.
2020-08-20 17:58:37 +05:30
Akshay Joshi
89e2f09b84
Ensure that 'bcrypt' version should be less than or equal to 3.1.7 as the new version supports Python 3.6 and above.
2020-08-18 17:59:06 +05:30
Akshay Joshi
e3b1ef0b80
Update version for release.
2020-08-17 17:29:19 +05:30
Akshay Joshi
b0af385ea0
Fixed an issue where the entire logs is in red text when the user runs backup and restore. Fixes #5604
2020-08-17 17:23:30 +05:30
Akshay Joshi
085a4f4abf
Update Dependencies.
2020-08-17 11:56:23 +05:30
Akshay Joshi
1466e414ec
Update message catalogs.
2020-08-14 17:26:42 +05:30
Akshay Joshi
8f61944386
1) Added special handling for the extension to resolve the dependency.
...
2) Added 'is_sys_obj' to the ignore list of Schema Diff.
3) Font awesome v5 fixes.
2020-08-13 17:48:04 +05:30
Akshay Joshi
63df19ee1c
Fixed following schema diff issues:
...
1) Avoid template databases from the Database drop-down list.
2) Exclude system schemas while comparing two databases.
3) Escape group name for XSS.
2020-08-13 14:12:37 +05:30
Akshay Joshi
26506a9727
Fix PEP8
2020-08-12 17:48:08 +05:30
Akshay Joshi
082b968bbc
Fixed following schema diff issues:
...
1) Wrong SQL generated for the columns having different data type.
2) Added 'castfunc' in the ignore list.
2020-08-11 14:42:32 +05:30
Akshay Joshi
46af290b85
Fixed API test cases for packages.
2020-08-10 18:13:00 +05:30
Akshay Joshi
4f74609ecf
Modified schema diff tool to compare two databases instead of two schemas. Fixes #5126
2020-08-10 15:13:34 +05:30
Akshay Joshi
518b13c779
Added the 'ORDER BY' clause for the privileges type to fix schema diff issue. Fixes #5689
2020-08-07 16:30:03 +05:30
Akshay Joshi
48ec4085d2
Update the sshtunnel version to v0.1.5.
...
refs #4361
2020-08-06 17:17:27 +05:30
Akshay Joshi
aac0da4cbc
Fixed ssh tunnel hang issue when the user tries to disconnect the server. Fixes #4361
2020-08-06 16:16:37 +05:30
Akshay Joshi
5ce2773658
Ensure that the Dictionaries drop-down shows all the dictionaries in the FTS configuration dialog. Fixes #5429
2020-08-04 15:48:20 +05:30
Akshay Joshi
87d08de3a0
Corrected the syntax as per jinja standards. refs #5632
2020-08-03 13:08:29 +05:30
Akshay Joshi
dd7eb54e90
Fixed an issue when comparing the table with a trigger throwing error in schema diff. Fixes #5710
2020-07-30 13:57:00 +05:30
Akshay Joshi
099fea15ae
Fixed code smells in runtime code reported by SonarQube.
2020-07-29 18:26:41 +05:30
Akshay Joshi
510dd5c047
1) Fixed pgAdmin hang issue when the user clicks on 'View Log' menu option.
...
2) Fixed some code smell in runtime code.
2020-07-29 15:31:38 +05:30
Akshay Joshi
ed0dc62b69
Fixed incorrect import statement for urlopen.
...
refs #5700
2020-07-27 17:33:44 +05:30
Akshay Joshi
fb0bc65ced
Fixed following SonarQube issues:
...
1) Define a constant instead of duplicating this literal.
2) Reduce cognitive complexity (Patch by Aditya)
2020-07-27 16:31:03 +05:30
Akshay Joshi
7a22cff28c
Fixed 'cannot unpack non-iterable Response object' issue.
2020-07-24 14:59:50 +05:30
Akshay Joshi
f177d54f21
Fixed AttributeError while creating the server group. Fixes #5688
2020-07-21 18:02:51 +05:30
Akshay Joshi
c0e30c93e5
Update version for release.
2020-07-20 16:18:36 +05:30
Akshay Joshi
2bfb7c20c8
Update message catalogs.
2020-07-17 18:02:50 +05:30
Akshay Joshi
703faf3b15
Fixed following SoanrQube issues
...
1) Rename field "node_type" to prevent any misunderstanding/clash with field "NODE_TYPE" defined.
2) Define a constant instead of duplicating this literal.
Solution:
1) Rename the field "NODE_TYPE" and "COLLECTION_LABEL" to "_NODE_TYPE" and "_COLLECTION_LABEL"
2) Declare the constant in PGChildNodeView for SQL files.
2020-07-16 19:39:55 +05:30
Akshay Joshi
5d8c79da38
Added docstrings for some newly created functions.
2020-07-15 18:07:54 +05:30
Akshay Joshi
11c4877859
Fixed an issue where difference DDL is showing the wrong SQL when changing the policy owner. Fixes #5647
2020-07-15 14:52:14 +05:30
Akshay Joshi
2469032f15
Fixed an issue where fetching the schema throws an error if the database
...
is not connected in Schema Diff. Fixes #5673
Maintenance Database is selected by default in Schema Diff.
2020-07-15 13:07:28 +05:30
Akshay Joshi
4f34bc0f0e
Added missing dependencies/dependent and corrected some wrongly identified. Fixes #5666
2020-07-14 18:34:50 +05:30
Akshay Joshi
d3eaac8609
Reverted fix for #5569 due to a couple of issues.
2020-07-11 20:32:57 +05:30
Akshay Joshi
b4c25bdc0a
Fixed code smell 'Functions, methods, and lambdas should not have too many parameters' reported by SonarQube.
2020-07-07 19:39:06 +05:30
Akshay Joshi
0d92059155
Fixed code smells having rule 'Functions, methods and lambdas should not have too many parameters'.
2020-07-03 18:37:37 +05:30
Akshay Joshi
ec30e6ace7
Comment out the 'yarn audit' command to fix the vulnerability found in the 'lodash' package. No fix is currently available.
2020-07-02 16:21:56 +05:30
Akshay Joshi
0850db2a9b
Fixed database connection issue, regression of SonarQube fixes.
2020-07-01 17:32:22 +05:30
Akshay Joshi
a881e4e3f8
Fix PEP8
2020-07-01 15:33:51 +05:30
Akshay Joshi
46d26cd029
Remove extra brackets from reverse engineering SQL of RLS Policy. Fixes #5621
2020-06-30 16:11:02 +05:30
Akshay Joshi
102d6e7a9a
Fixed an issue where panels get disappeared. Regression of SonarQube fix.
2020-06-29 14:05:07 +05:30
Akshay Joshi
b91f6f0f5c
Fixed an issue where the semicolon is misplaced in RLS Policy SQL.
...
Fixed one regression issue introduced by renaming the method 'gc' to 'gc_timeout'.
2020-06-26 19:24:54 +05:30
Akshay Joshi
15c621b1d8
Fixed following SonarQube issues:
...
1) TypeError can be thrown as <variable_name> might be null or undefined here.
2) Unexpected duplicate "white-space".
3) Unexpected missing generic font family.
4) Unexpected shorthand "padding" after "padding-left".
2020-06-24 15:57:01 +05:30
Akshay Joshi
d265ed9729
Fixed an issue while creating RLS Policy with the name having space. Fixes #5620
2020-06-23 14:28:21 +05:30
Akshay Joshi
18b3cc2683
Initialize pointer variables with Q_NULLPTR.
2020-06-23 14:23:28 +05:30
Akshay Joshi
c2268c82ee
Update version for release.
2020-06-22 17:42:46 +05:30
Akshay Joshi
7ce7808093
Update message catalogs.
2020-06-19 18:01:32 +05:30
Akshay Joshi
2395075b7c
Update library inventory.
2020-06-19 18:00:00 +05:30
Akshay Joshi
bc24e3643f
More code cleanup for SonarQube.
2020-06-18 16:20:34 +01:00
Akshay Joshi
5ed1e1e5b6
Fixed some sonarqube issues.
2020-06-17 19:30:56 +05:30
Akshay Joshi
cb268075c2
1) Added option to ignore the whitespaces while comparing objects in schema diff. Fixes #5468
...
2) Added server group name while selecting servers in schema diff. Fixes #5500
3) Fixed an issue where two identical tables showing different by schema diff tool. Fixes #5584
2020-06-17 16:27:51 +05:30
Akshay Joshi
cf64e2c97c
Fixed runtime issues reported by SonarQube.
2020-06-16 14:53:40 +05:30
Akshay Joshi
a21e6448ce
Fixed RESQL test cases, regression of RLS policy.
2020-06-15 17:10:25 +05:30
Akshay Joshi
a23fad0ba8
Tidy up some code to keep SonarQube happy.
2020-06-15 12:12:19 +01:00
Akshay Joshi
ac4b5ab7fa
1) Correct the typo 'pythonw.exe' should be 'python.exe' for Windows if 'pythonw.exe' not found.
...
2) Added logging to identify the interpreter command for Windows.
2020-06-09 19:05:20 +05:30
Akshay Joshi
a1a232a1f1
The 'pwd' module is not available on Windows, so replacing it with the 'getpass' module.
...
refs #5576
2020-06-02 14:09:44 +05:30
Akshay Joshi
1347c89d61
Update version for release.
2020-05-25 17:11:12 +05:30
Akshay Joshi
b1cbcc7ef6
Fixed data truncation issue when updating the data of type character with length. Fixes #5481
2020-05-25 17:05:47 +05:30
Akshay Joshi
d42b712ee4
Update message catalogs
2020-05-22 19:13:13 +05:30
Akshay Joshi
9b8902dfb8
Fixed the SQL help issue for EDB Postgres Advanced Server. Fixes #4099
2020-05-22 14:11:58 +05:30