Commit Graph

2422 Commits

Author SHA1 Message Date
Pravesh Sharma
b4991a49a2
fixed issue where deduplicate_items was selected for PG version 12 and below. #6374 2023-07-17 11:19:55 +05:30
Nikhil Mohite
d3753ee132
Fix an issue where the edit server fails in desktop mode if the server password is not stored. #6489 2023-07-17 11:19:20 +05:30
Akshay Joshi
d98ce3864f Fixed API test case for PSQL 2023-07-14 11:18:58 +05:30
Akshay Joshi
75d14565e4 Fixed escape/unescape issues in Query Tool and PSQL. 2023-07-13 17:02:51 +05:30
Akshay Joshi
45b1794941 1) Added extra check in qtLiteral method.
2) Fixed some escaping issues.
2023-07-12 15:26:19 +05:30
Pravesh Sharma
ab0b1dd40c
Added all supported index storage parameters while creating an index. #6374 2023-07-11 18:12:53 +05:30
Aditya Toshniwal
ac5be70c60
Fix issues found while testing login pages. #6295 2023-07-11 18:12:06 +05:30
Akshay Joshi
def1f31ba8 Ensure that Backup, Restore, and Maintenance should work properly when pgpass file is used. #6499 2023-07-11 15:34:27 +05:30
Pravesh Sharma
62056cab14
Fixed sonaqube security smells and bugs
1. Delete unreachable code or refactor the code to make it reachable.
2. Unexpected var, use let or const instead.
3. Remove useless assignment to variable.
4. Define a constant instead of duplicating the literal
5. Remove commented out code
2023-07-10 10:36:15 +05:30
Akshay Joshi
70d356d0f4 Fixed API test cases failing for v13 and below 2023-07-06 14:44:48 +05:30
Akshay Joshi
bccdb131ee Fixed an issue where Partitions are not visible in EPAS Servers. 2023-07-06 12:58:06 +05:30
Akshay Joshi
c12f229c64 Added check to enable/disable Concurrently and Finalize menu of Detach Partition. #6369 2023-07-05 18:36:59 +05:30
Aditya Toshniwal
d6cddd8c29
Remove Bootstrap and jQuery from authentication pages and rewrite them in ReactJS. #6295 2023-06-30 16:08:33 +05:30
Akshay Joshi
0687c52fdc
Added support to detach partitions using concurrently and finalize. #6369 2023-06-29 10:33:39 +05:30
Akshay Joshi
ca01116700 Typecast some parameters before sending to GUI in server module. 2023-06-23 19:15:21 +05:30
Anil Sahoo
78db1e3c36
Added security_invoker option while creating a view. #6371 2023-06-22 11:14:03 +05:30
Pravesh Sharma
595a0dfc55
Added 'OR REPLACE' clause while creating trigger. #6370 2023-06-21 11:13:53 +05:30
Aditya Toshniwal
466e969776
Fix an issue where object explorer tree crashes occasionally. #5306 2023-06-21 11:05:58 +05:30
Nikhil Mohite
4746fbd346
Fixed an issue where View/Edit data is throwing an error if the user deleted and re-create the same table for which View/Edit data was opened. #6431 2023-06-19 19:37:10 +05:30
Pravesh Sharma
36949aef99
Added option to create unique index with nulls not distinct. #6368 2023-06-19 15:09:48 +05:30
Akshay Joshi
557f33c4f9
Added support to drop databases using the 'WITH (FORCE)' option. #6367 2023-06-19 15:04:40 +05:30
Anil Sahoo
789f169135
Add Password exec command and Expiration time to server export JSON and also allow them to import. #6258 2023-06-15 11:49:06 +05:30
Akshay Joshi
251bf05692 Fixed the following SonarQube code smells:
1) Do not use Array index in keys.
2) Unnecessary escape character.
3) Rename this local variable to match the regular expression ^[_a-z][a-z0-9_]*$
4) Remove the unused local variable.
2023-06-12 18:44:31 +05:30
Akshay Joshi
c69315bb43 Fixed SSH Tunnel save password issue. 2023-06-05 15:13:15 +05:30
Nikhil Mohite
f6275688e7
Fixed following issues: (#6361)
1) Ensure that SSH Tunnel should work properly after upgrading to 7.2 from 7.1. #6341
2) Ensure that the master password dialog should not visible if the parameter MASTER_PASSWORD_REQUIRED is set to False. #6353
2023-06-05 12:45:34 +05:30
Akshay Joshi
149e093c88 Fixed an issue where Foreign Key with 3 or more columns are shown in the wrong order in SQL and Properties. #6345 2023-06-02 15:01:54 +05:30
Anil Sahoo
b5af4ead0d
Fix an issue where editing a database object de-selects it on the browser tree. #6136 2023-06-02 10:59:47 +05:30
Anil Sahoo
7dfcc73e95
Update the publication dialog tabs and the docs. #5868 2023-05-30 16:45:13 +05:30
Nikhil Mohite
cbb89b09b1
Ensure migrate stored password dialogue is shown only if any server passwords are saved. #5123 2023-05-30 16:44:25 +05:30
Anil Sahoo
05b595d32d
Fixed the failure of python test cases of EPAS and JS tests for publication node. #5868 2023-05-29 17:41:45 +05:30
Aditya Toshniwal
396a22b6be Fix count SQL for EPAS schemas to show/hide nodes. #5048 2023-05-29 17:09:27 +05:30
Aditya Toshniwal
dc8832192d When opening pgAdmin the layout should be auto reset if it is corrupted. Reset layout menu should work if layout is corrupted while using pgAdmin. #6266 2023-05-26 18:30:28 +05:30
Aditya Toshniwal
72794f9524
Fix issues related to show/hide empty nodes feature. #5048 2023-05-26 18:07:51 +05:30
Nikhil Mohite
67ef438730
Ensure migrate master password dialog is not shown with a fresh installation. #5123 2023-05-26 16:05:52 +05:30
Yogesh Mahajan
cb070fc365
Fix error handling to show error when a user enters incorrect Master Password. #4769 2023-05-25 18:51:40 +05:30
Anil Sahoo
8b7eeca545
Implement new PostgreSQL 15 features in publication dialog and SQL. #5868 2023-05-25 16:25:12 +05:30
Yogesh Mahajan
702bc8c8ce
Allow pgAdmin to retrieve master password from external script/program. #4769 2023-05-25 13:49:08 +05:30
Akshay Joshi
cba3dc9457 Fixed an issue where Operators collection node throwing an error. #6325 2023-05-25 11:56:45 +05:30
Nikhil Mohite
fec63c6cf3
Text improvement for the OS secret store feature. #5123 2023-05-24 18:06:21 +05:30
Aditya Toshniwal
75cbf9165e Text changes for Show/Hide nodes feature. #5048 2023-05-24 11:26:02 +05:30
Yogesh Mahajan
b6924a84d6
Fixed error occurring while opening query tool after togging Resume/Pause wal replay. #6026 2023-05-23 15:30:44 +05:30
Akshay Joshi
dd4639d602 Fixed an issue where Foreign Key columns are shown in the wrong order in SQL and Properties. #5789 2023-05-23 11:52:19 +05:30
Aditya Toshniwal
b1eba4fc4c
Fix incorrect number of foreign tables displayed. Show column comments in RE-SQL. #6279 2023-05-22 17:33:33 +05:30
Pravesh Sharma
4b183f7988
Fixed resql test case. #5926 2023-05-22 16:35:06 +05:30
Aditya Toshniwal
fb3b2a4635 Fix an issue where View RE-SQL is not quoting the column comments. #6280 2023-05-22 16:24:55 +05:30
Aditya Toshniwal
cedfd12f6a
Add an option to hide/show empty object collection nodes. #5048 2023-05-22 14:55:01 +05:30
Pravesh Sharma
e04f5a0938
Fixed an issue where REVOKE ALL DDL in table SQL was added only for one role. #5926 2023-05-22 14:09:47 +05:30
Nikhil Mohite
48dd32f0e4
Ensure that master password is validated before migrating the passwords to OS secret storage and stopped. #5123 2023-05-22 14:06:50 +05:30
Nikhil Mohite
736879567f
Added support to use standard OS secret store to save server/ssh tunnel passwords instead of master password in pgAdmin desktop mode. #5123 2023-05-22 11:08:29 +05:30
Akshay Joshi
e2b27da2ef Fixed an issue where properties not visible for FTS Parsers, FTS Templates, MViews and Rules in Catalog objects. #6127 2023-05-18 16:21:15 +05:30
Akshay Joshi
4baae7512b Ensure that name can't be empty in edit mode for Primary Key and Index. #6204 2023-05-18 15:46:56 +05:30
Yogesh Mahajan
6c7f5d1a6b
Ensure that connection heartbeat signals are stopped on server disconnect. #6147 2023-05-17 12:07:49 +05:30
Yogesh Mahajan
30107e38f3
Ensure that "pause replay of wal"/"resume replay of wal" are enabled/disabled appropriately. #6026 2023-05-16 11:28:48 +05:30
Khushboo Vashi
2a22cf077c
Fix circular reference error for the multirange data types in the query tool. #6221
Add support for the multirange data types.
2023-05-10 10:32:47 +05:30
Yogesh Mahajan
d6f01b552a
Ensure user/roles with special characters are quoted to avoid syntax error.#6234 2023-05-03 15:19:08 +05:30
Aditya Toshniwal
4fbfcdfee9
Fix multiple object breadcrumbs bugs. #2078 2023-05-03 15:18:17 +05:30
Aditya Toshniwal
a73f58160f Fix an issue where running any query in query tool gives 'list index out of range' error. #5922 2023-05-03 11:05:00 +05:30
Aditya Toshniwal
52829d6f31
Fix an issue in View SQL when column level privileges are set with multiple roles. #6189 2023-05-03 10:34:39 +05:30
Akshay Joshi
0e0d0c7c2e Fixed API test cases for Triggers in EPAS. 2023-04-27 17:46:58 +05:30
Aditya Toshniwal
e20e75aeba Fixed an issue where Reset Password is not working after upgrading to latest flask-security-too. #6191 2023-04-27 13:19:09 +05:30
Nikhil Mohite
35cbe968f4
Fixed an issue where table node is not getting added on UI if the same name table is present in another schema. 2023-04-27 11:57:55 +05:30
Pravesh Sharma
861c66d180
Ensure that when pasting a row in query tool grid, default value is used for autogenerated/serial columns. #5922 2023-04-26 15:41:10 +05:30
Aditya Toshniwal
1e7517dc98
Show object breadcrumbs path along with its comment on object hover. #2078 2023-04-26 11:18:16 +05:30
Nikhil Mohite
625508e32a
Fixed an issue with the properties tab not getting updated if the user updates the selected node. #6158 2023-04-24 14:54:52 +05:30
Akshay Joshi
0ccfa7900c The search object, query tool, and psql tool menu should not be displayed for pgAgent. #6077 2023-04-20 18:01:20 +05:30
Aditya Toshniwal
20132f8daa Fix a typo in database delete test case. 2023-04-20 14:39:41 +05:30
Akshay Joshi
d6ecc531e0 Added support to create an unnamed index. #3318 2023-04-20 12:35:10 +05:30
Aditya Toshniwal
ed941b5b95
Fix a SQL error occurring on roles dependents SQL. #6128 2023-04-20 10:18:00 +05:30
Khushboo Vashi
41e4f3eed9
Log the exception to better understand the GSSAPI module load failure. 2023-04-19 17:20:34 +05:30
Khushboo Vashi
bd3eeb7111 Skip Kerberos login mock test if GSSAPI module failed to load. 2023-04-19 16:20:07 +05:30
Akshay Joshi
947630e0f0 Added support to show statistics for materialized views. #3316 2023-04-14 16:27:43 +05:30
Pravesh Sharma
288ba1d1f9
Fixed an issue where collation was set to none if we remove it while creating partitioned table. #5820 2023-04-13 13:27:16 +05:30
Aditya Toshniwal
15914fe5e3
Fix the dependents SQL of Roles which is throwing a type casting error on PostgreSQL 15. #6093 2023-04-10 12:25:12 +05:30
Aditya Toshniwal
a93c0c8d94
Redirect pgAdmin main window console logs to NW.js server logs. 2023-04-06 15:16:14 +05:30
Aditya Toshniwal
ca088e83f7 Fix server test cases for servers with blank password and trust 2023-04-03 17:51:35 +05:30
Aditya Toshniwal
e334b87b4c Add an extra None check for password before encryption to avoid possible failure 2023-04-03 17:21:16 +05:30
Akshay Joshi
3eac4ba59e Fixed an issue where MSQL is not loading while creating a new login role. 2023-04-03 14:50:45 +05:30
Aditya Toshniwal
6710969143
Rename 'Edit Object..' context menu back to 'Properties...'. #4734 2023-04-03 13:10:24 +05:30
Yogesh Mahajan
33953e9119
Fixed intermittent error "Connection Lost" shown while connecting to database. 2023-03-31 16:17:04 +05:30
Aditya Toshniwal
94051a0991
Fix failing RE-SQL test cases for pgAgent. 2023-03-31 15:34:57 +05:30
Aditya Toshniwal
21cbc6e9e5
Fix SQLs generated for pgAgent related nodes which were causing issues after psycopg3 changes. #5011 2023-03-31 10:48:16 +05:30
Aditya Toshniwal
5330121b36
On pressing Ctrl+C on a tree object, copy the fully qualified name to clipboard. #5854 2023-03-29 21:45:09 +05:30
Akshay Joshi
140494454a Fixed linter errors after eslint upgrade. 2023-03-29 17:22:50 +05:30
Aditya Toshniwal
9924fae378
Nomenclature changes:
1. Rename "Properties..." context menu option of object to "Edit Object...".
2. Rename "Browser" tree to "Object Explorer". #4734
2023-03-28 22:20:14 +05:30
Akshay Joshi
12f82820c9 Fix an issue where Backup, Restore, and Maintenance not working if connection timeout is set in the server dialog. #5959 2023-03-27 17:41:19 +05:30
Aditya Toshniwal
66cb4e3bcf
Auto expand row edit form when a new row is added for Primary Key, Foreign Key, Unique Constraint and Exclusion Constraint. #3298 2023-03-27 17:14:37 +05:30
Nikhil Mohite
b429a38176
Fixed shared storage file accessibility issues in import/export servers and cloud deployment. #5014 2023-03-24 16:27:02 +05:30
Aditya Toshniwal
1d01b5a8a2
Add a note on top of keyboard shortcuts preferences to show the Accesskey of the browser. #5022 2023-03-24 15:44:43 +05:30
Akshay Joshi
207812582d 1) Fixed RESQL test case for EPAS.
2) Update Dependencies.
2023-03-24 14:37:35 +05:30
Akshay Joshi
70b2ead852 Ensure that the schema diff tool should not allow comparison between Postgres Server and EDB Postgres Advanced Server. #5952 2023-03-24 13:03:35 +05:30
Nikhil Mohite
e4eeba2aa7
Fixed the UI related issues reported during testing for Shared Storage in Server Mode. #5014 2023-03-24 11:08:27 +05:30
Aditya Toshniwal
64ddfc0eb7
Fix an issue where server foreground/background color was not getting applied after jQuery changes. #5701 2023-03-21 17:39:37 +05:30
Aditya Toshniwal
eba306618c
Fix issues related to packages update. #5901 2023-03-20 18:21:33 +05:30
Khushboo Vashi
366dd3a973
Remove psycopg2 completely. 2023-03-20 16:57:30 +05:30
Pravesh Sharma
89c8a7f907
Added option to create unique constraint with nulls not distinct. #5855 2023-03-15 18:55:42 +05:30
Aditya Toshniwal
292d76b39e
Update SQLAlchemy, Flask, Flask-SQLAlchemy, and other packages to current versions. #5901
- Update Flask, Flask-SQLAlchemy, Flask-Babel, Flask-Security-Too, Flask-SocketIO, pytz, psutil, SQLAlchemy, bcrypt, cryptography, eventlet, Authlib, requests python packages
- Remove pinned dnspython, Werkzeug packages from requirements.txt
2023-03-15 11:57:16 +05:30
Aditya Toshniwal
f72f4aa359
Dashboard graph Y-axis width should increase with label. #5929 2023-03-14 11:04:08 +05:30
Aditya Toshniwal
ec32099d2f
Show appropriate error message when master password is not set instead of 'Crypt key missing'. #5735 2023-03-13 11:51:35 +05:30
Akshay Joshi
3c56c0e4b7 Revert "Update SQLAlchemy, Flask, Flask-SQLAlchemy, and other packages to current versions. #5901"
This reverts commit 31818bb67a.
2023-03-09 16:53:43 +05:30
Aditya Toshniwal
31818bb67a
Update SQLAlchemy, Flask, Flask-SQLAlchemy, and other packages to current versions. #5901
Remove the python version check from the requirements.txt.
2023-03-08 18:26:51 +05:30