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
Akshay Joshi
c0451cd454
Added connected pgAdmin user and connection name in the log file. Fixes #5452
...
Patch By: Nico T
2020-05-13 17:43:21 +05:30
Akshay Joshi
0620fafb6c
Fixed PEP8 issues discovered after pycodestyle gets upgraded.
2020-05-13 17:14:32 +05:30
Akshay Joshi
8a06a836f4
Ensure that pgAdmin4 should be compiled with older OSX SDK's.
2020-05-12 17:22:22 +05:30
Akshay Joshi
46e9924ebb
Fixed Unicode decode error 'utf-8' codec can't decode byte. Fixes #5510
...
It's a regression of commit id: 04d6d4e2ccc129baa698471ce0680ccabe2282be
2020-05-12 17:22:22 +05:30
Akshay Joshi
9d08776824
Ensure that maintenance job should be worked properly for indexes under a materialized view. Fixes #4223 .
2020-05-11 16:47:36 +05:30
Akshay Joshi
073d90c4a6
Fixed internal server error when clicking on Triggers -> 'Enable All' for partitions. Fixes #5052
2020-05-11 15:18:39 +05:30
Akshay Joshi
6ad46e1860
Fixed invalid literal issue when removing the connection limit for the existing role. Fixes #5001
2020-05-07 13:14:45 +05:30
Akshay Joshi
a662d866af
Ensure that 'With OID' option should be disabled while taking backup of database server version 12 and above. Fixes #4840
2020-05-07 11:56:43 +05:30
Akshay Joshi
a0940fd145
Typecast the object to 'text' before using it in length() function, so that correct length function gets called.
2020-05-06 17:34:18 +05:30
Akshay Joshi
943495de31
Fixed list sorting issue in the schema diff tool. Fixes #5440
...
Fixed an issue while comparing the two identical schemas using the schema diff tool. Fixes #5449
2020-05-06 11:25:43 +05:30
Akshay Joshi
f1963401d6
Raise an exception under Python < 3.4 for WSGI mode.
...
refs #5443
2020-05-04 15:06:45 +05:30
Akshay Joshi
ad80217593
Remove Python2 references from the source code.
...
refs #5443
Initial patch: Neel Patel
2020-04-30 17:22:48 +05:30
Akshay Joshi
6d1f67f3be
Reverting patch to remove Python 2.7 support from wheel package to avoid any issue before 4.21 release.
2020-04-27 21:43:35 +05:30
Akshay Joshi
50a423b142
Update version for release.
2020-04-27 21:23:51 +05:30
Akshay Joshi
0dcb448f2e
Update library inventory.
2020-04-24 18:28:29 +05:30
Akshay Joshi
ccafde604e
Update message catalogs.
2020-04-24 18:24:00 +05:30
Akshay Joshi
6642860d51
Remove the 'Beta' word from the Dark Theme.
2020-04-24 16:52:39 +05:30
Akshay Joshi
6de1d3f7de
Fixed feature test.
...
Pass the row height to the function instead of making the
decision onthe basis of whether it is a new row or not.
2020-04-24 13:16:18 +05:30
Akshay Joshi
2b5c90e379
A warning message will be displayed only when the package header is changed for EPAS packages. Fixes #5410
2020-04-23 17:14:01 +05:30
Akshay Joshi
4c616f32eb
1) Fixed feature test and API test cases.
...
2) Added logic to exclude RESQL test cases.
2020-04-22 13:57:32 +05:30
Akshay Joshi
f289dfb762
Fixed following issues for packages:
...
1) Removing the package header removes the body as well.
2) Schema is not visible on the properties dialog.
3) Reverse engineering SQL and Create script not showing schema-qualified packages.
Fixes #5410
2020-04-21 16:49:23 +05:30
Akshay Joshi
4692b21bcf
Fixed an issue where schema diff marks an identical table as different. Fixes #5350
...
Fixed an issue where schema diff showing changes in the identical domain constraints. Fixes #5315
Ignore the keys from the source and target list and also sort both the lists.
2020-04-20 18:04:16 +05:30
Akshay Joshi
d8ad0b8faf
Fixed validation issue in Synonyms node. Fixes #5409
2020-04-17 14:50:38 +05:30
Akshay Joshi
c6deb9393c
Fixed an issue while removing the package body showing wrong modified SQL. Fixes #5410
2020-04-17 13:06:07 +05:30
Akshay Joshi
0dd1cb3fc1
Fixed documentation error.
2020-04-16 13:48:26 +05:30
Akshay Joshi
781b766ac4
Fixed an issue where difference SQL is not seen in the schema diff tool for Types. Fixes #5302
2020-04-13 20:24:12 +05:30
Akshay Joshi
df11f28593
Fixed an issue where the identical packages and sequences visible as different in the schema diff tool. Fixes #5362
2020-04-13 18:06:20 +05:30
Akshay Joshi
c8646f99c0
Fixed typo
2020-04-09 21:46:47 +05:30
Akshay Joshi
31f255b541
Added support of Foreign Tables to the Schema Diff. Fixes #5263
2020-04-09 21:03:28 +05:30
Akshay Joshi
fecf3915c5
Fixed API/RESQL test cases for View/MView failed due to #5053 commit.
2020-04-09 21:03:28 +05:30
Akshay Joshi
99e4c3350f
Fixed RESQL test cases for Packages.
2020-04-03 19:15:40 +05:30
Akshay Joshi
ce89ae3c1d
Added support of Packages, Sequences and Synonyms to the Schema Diff. Fixes #5264
2020-04-03 16:52:45 +05:30
Akshay Joshi
a09ada18ee
Updated psutil to the latest version 5.7.0 to fix vulnerability issue.
2020-04-01 18:12:38 +05:30
Akshay Joshi
002fdb33fc
Update version for release.
2020-03-30 17:39:33 +05:30
Akshay Joshi
9f0ea70945
Update message catalogs.
2020-03-27 19:02:29 +05:30
Akshay Joshi
86e4a88201
Added 'oid-2' to the ignore list of schema diff for all supported nodes. Fixes #5297
2020-03-27 15:27:48 +05:30
Akshay Joshi
c002881f66
Added conkey and indkey to the ignore list for schema diff.
2020-03-27 14:41:18 +05:30
Akshay Joshi
94a76cc9e0
Added support of Domain, Domain Constraints and Types to the Schema Diff. Fixes #5262
2020-03-26 14:30:09 +05:30
Akshay Joshi
98492e7718
Modified RESQL test cases for Foreign Tables to fix the build failures.
2020-03-22 16:26:23 +05:30
Akshay Joshi
26d0a3e5cb
Fixed following audit vulnerabilities:
...
https://www.npmjs.com/advisories/1179
2020-03-20 11:30:27 +05:30
Akshay Joshi
4fe69e825e
Added support of Collation, FTS Configuration, FTS Dictionary, FTS Parser, and FTS Template to the Schema Diff. Fixes #5261
2020-03-19 13:54:25 +05:30
Akshay Joshi
3031c5055a
Fixed following audit vulnerabilities:
...
https://www.npmjs.com/advisories/1488
https://www.npmjs.com/advisories/1490
2020-03-16 15:47:12 +05:30
Akshay Joshi
44c0d76541
Improve logic to get the DDL statements as a part of the comparison. Fixes #5221
...
Fixed 23 issues related to schema diff.
2020-03-15 14:52:19 +05:30
Akshay Joshi
43451fd3f0
Update version for release.
2020-03-02 17:28:20 +05:30
Akshay Joshi
6340c70d7a
Update libraries.txt
2020-03-02 10:01:10 +05:30
Akshay Joshi
aa127fe0bd
Update message catalogs.
2020-02-28 17:55:14 +05:30
Akshay Joshi
16f1e87bb7
Temporary Changed 'yarn audit' command to 'yarn audit --groups dependencies' to
...
fix the vulnerability found in decompress js package.
2020-02-28 17:29:32 +05:30
Akshay Joshi
6d766176c1
Fixed linter error.
2020-02-25 18:41:19 +05:30
Akshay Joshi
29c236c33d
Ensure that AlertifyJS should not be visible as a title for alert dialog. Fixes #5058
2020-02-24 12:33:23 +05:30
Akshay Joshi
2ae279a382
Remove the deprecated 'is_xhr' parameter of flask.request object.
2020-02-10 12:31:52 +05:30
Akshay Joshi
3db961cb0f
Fixed ImportError: cannot import name ImmutableDict from werkzeug.
...
Updated the Flask-WTF version to the latest to fix the above error.
2020-02-10 11:45:11 +05:30
Akshay Joshi
26cdda090e
1) Source/Target database and schema should be selected by default when the user selects any server in the schema diff tool.
...
2) Added line break for the generated script if select multiple objects.
3) Remove reactivated RM from the release notes.
2020-02-05 14:36:05 +05:30
Akshay Joshi
1f0728b7d1
Update version for release.
2020-02-03 17:13:05 +05:30
Akshay Joshi
641701ca16
Added missing imports and remove unused imports from schema diff.
2020-02-03 15:30:57 +05:30
Akshay Joshi
4f5c3987f1
Update libraries.txt
2020-02-03 15:11:50 +05:30
Akshay Joshi
d24a43b1cc
Fix feature test, failed due to change the label tag to span tag for the accessibility.
2020-02-03 13:14:28 +05:30
Akshay Joshi
0d77bc305e
1) Improve wording for script header while generating the script using the schema diff tool.
...
2) Fixed an issue where closing the query tool panel throws an error.
3) Fixed schema diff close panel issue.
2020-02-03 12:38:02 +05:30
Akshay Joshi
96b0d85189
Update message catalogs.
2020-01-31 21:33:43 +05:30
Akshay Joshi
02f9de5bdb
Improve wordings.
2020-01-28 18:36:42 +05:30
Akshay Joshi
6594481992
1) Disable Fill Factor and Has OIDs control for the partitioned table.
...
2) Added reloptions for the partitions and partitioned table.
2020-01-24 16:13:30 +05:30
Akshay Joshi
4faf14b45f
Default tablespace should not be visible for the multi-level partitioned table on PG 12
2020-01-24 11:36:00 +05:30
Akshay Joshi
198063f046
Added support for a multi-level partitioned table. Fixes #2554 .
2020-01-23 18:49:15 +05:30
Akshay Joshi
b4b54d6b94
Fixed API test cases for missing language pack and jasmin test case.
2020-01-20 16:14:12 +05:30
Akshay Joshi
430e9ae994
Updated the incorrect icon used for the cast node on refresh. Fixes #5065 .
2020-01-17 12:10:26 +05:30
Akshay Joshi
af56b92af4
Fix an issue where refreshing a package results in the change in the object completely. Fixes #5066 .
2020-01-17 12:01:37 +05:30
Akshay Joshi
be4b8284c5
Fix an issue where select, insert and update scripts on tables throwing an error. Fixes #5074 .
2020-01-09 18:23:23 +05:30
Akshay Joshi
76d04205ef
Fix an issue where the table is not created with autovacuum_enabled and toast.autovacuum_enabled for PG/EPAS 12. Fixes #5068 .
2020-01-07 17:55:12 +05:30