Commit Graph

276 Commits (c5cbb33a0668fe16e2acb740928db839c0dff90e)

Author SHA1 Message Date
Khushboo Vashi c5cbb33a06
Fix raise notice from func/proc or code blocks are no longer displayed live. #6420 2023-06-19 17:04:22 +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
Khushboo Vashi a5b5ede8fd Fix the UNICODE encoding issue while connecting through Pgbouncer after upgrading from 6.21 to 7.1 #6340. 2023-06-09 16:24:05 +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
Khushboo Vashi 10077f13c4
Fixed an issue where pgadmin is unable to take the defined role. #6342 2023-06-05 12:37:33 +05:30
Pravesh Sharma bfa859e9ce
Fixed an issue where PSQL tool prompts for password if using password exec command. #6247 2023-05-23 11:07:04 +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
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
Khushboo Vashi af1c70f192
Fix an issue in the register server when setting the role, an arbitrary SQL query can be fired. #6253 2023-05-08 11:40:53 +05:30
Khushboo Vashi 6ab102fcbc Fixed CSV export from Query Tool results does not include all columns for multiple CTEs. #6122 2023-04-11 19:09:26 +05:30
Khushboo Vashi 660a75a582
Fixed asyncio random task error messages in Query tool. #6109 2023-04-10 16:45:05 +05:30
Aditya Toshniwal 415e9c0ac5
Ensure that when execute_scalar is run for multiple queries in single SQL then the last query result is returned. 2023-04-03 16:07:34 +05:30
Aditya Toshniwal 94051a0991
Fix failing RE-SQL test cases for pgAgent. 2023-03-31 15:34:57 +05:30
Khushboo Vashi 659316d3cb
Fix View data issue for the table without column. 2023-03-31 11:23:20 +05:30
Khushboo Vashi 7ce03f3bea
Fix UUID datatype typecast issue. 2023-03-27 11:38:57 +05:30
Khushboo Vashi 64aa739224
Fix SQLEditor Notifier and InetLoader issue. 2023-03-20 18:20:25 +05:30
Khushboo Vashi 366dd3a973
Remove psycopg2 completely. 2023-03-20 16:57:30 +05:30
Khushboo Vashi c35d449d7e
Fix query mogrify issue. 2023-03-06 16:57:31 +05:30
Yogesh Mahajan 740164fbd0
Handle errors occurring during decoding UTF-8 encoded query result data which contains ascii characters. #4784 2023-03-02 11:03:17 +05:30
Akshay Joshi a008f9ba79 Fixed an issue where the database server is not connected using a service file. #5889 2023-02-28 13:29:58 +05:30
Khushboo Vashi b640df5bdd
Fix Query Tool error messages for psycopg3 driver. 2023-02-22 14:07:05 +05:30
Khushboo Vashi b9cbf08b51
Another try to fix JSON issues. 2023-02-20 11:21:32 +05:30
Khushboo Vashi 5f52bb59dd
Fix json issues (#5865) 2023-02-16 10:46:39 +00:00
Akshay Joshi a0b8676f61 Fixed an issue where an object of type bytes is not JSON serializable when saving the data from the query tool. 2023-02-15 15:20:18 +05:30
Khushboo Vashi 5e0daccf76 Added support for psycopg3 along with psycopg2. #5011 2023-02-15 11:31:29 +05:30
Akshay Joshi 0fd1e0963e Fixed an issue where pgAdmin failed to connect when the Postgres password included special characters. #5847 2023-02-13 16:49:18 +05:30
Akshay Joshi fd1c26408b Modify the logic to show the connection string for the shared servers. #4728 2023-01-24 17:22:54 +05:30
Akshay Joshi a7cf698d09
1) Added support for setting PostgreSQL connection parameters. #4728
2) Fixed an issue where Kerberos authentication to the server is not imported/exported. #5732
3) Increase the length of the value column of the setting table. #5746
4) Upgrade Flask-Migrate to 4.0.0. #5525
2023-01-23 17:19:59 +05:30
Khushboo Vashi 6ae91592d1
Fix orphan database connections resulting in an inability to connect to databases. #5567 2023-01-19 15:57:02 +05:30
Akshay Joshi 98184e5835 Update copyright notices for 2023 2023-01-02 11:53:55 +05:30
Mark Mayo 41508f7f67
python 3 updates
- Fix super() calls for python 3
- No need to inherit objects.
- No need for u at the start of strings
- Tidied up some brackets and f-strings too
2022-11-19 10:13:41 +05:30
Yogesh Mahajan 5e98bf96bc
Ensure that the appropriate permissions are set on the key file before trying an SSL connection with the server in server mode. #5424 2022-10-31 17:59:31 +05:30
aelgn a62fc2fbff
Added support for IAM token based authentication for AWS RDS or Azure DB. #3491 2022-10-15 14:49:04 +05:30
Yogesh Mahajan 869b90121c
Ensure that the correct value should be returned if an exception occurs while decoding the password. #5367 2022-09-30 15:08:03 +05:30
Akshay Joshi 0b6b2e733a 1) Remove Python's 'Six' package completely. #5357
2) Replace deprecated @abstractproperty with @property, @abstractmethod.
2022-09-26 12:47:31 +05:30
Nikhil Mohite d967d5046d Fixed 'Remove the unused function parameter' code smell. 2022-09-09 18:36:51 +05:30
Akshay Joshi 084203debc Fixed Securtiy Hotspot reported by SonarQube. 2022-08-12 17:10:26 +05:30
Aditya Toshniwal cb635f6706 Removing dynamic module loading and replacing it with static loading. Fixes #7492
Gets rid of all occurrences and usage of get_own_javascripts since it is no longer used.
2022-06-30 11:06:50 +05:30
Akshay Joshi 93bc1f3c57 Added support for visualise the graph using a Line chart in the query tool. Fixes #7485 2022-06-22 17:18:51 +05:30
Akshay Joshi b36004b702 The following are the initial fixes for PG15:
1) From PG 15 onward, the datlastsysoid has been removed from the table pg_database.
    We have added the constant _DATABASE_LAST_SYSTEM_OID = 16383, all the objects below
    this value are considered to be system objects. Modified the pgAdmin logic accordingly.

 2) Concatenation operator '||' needs a specific typecast to be applied to query variables. Modified SQL's accordingly.

Fixes #7283
2022-05-17 20:32:17 +05:30
Khushboo Vashi a7ee4e5909 Acquire a lock regardless of the authentication sources while getting the database server connection. 2022-02-07 11:25:08 +05:30
Akshay Joshi 1013d7ccdd Fixed code smell reported by SonarQube. 2022-01-20 16:58:21 +05:30
Akshay Joshi 4e414f57e6 Fixed code smell 'Default parameters should be last' reported by SonarQube. 2022-01-12 18:40:18 +05:30
Akshay Joshi c98fb887cc Fixed code smell 'Unexpected empty arrow function' reported by SonarQube. 2022-01-12 17:32:20 +05:30
Akshay Joshi 2786f7ac5a Update copyright notices for 2022 2022-01-04 13:54:25 +05:30
Nikhil Mohite bef692d431 Fixed an issue where On-demand rows throw an error when any row cell is edited
and saved it then scroll to get more rows.

Fixes #7005
2021-11-28 13:26:40 +05:30
Akshay Joshi d644b4f94e 1) Replace Flask-BabelEx with Flask-Babel. Fixes #6088
2) Upgrade Flask to version 2. Fixes #7010
2021-11-24 17:22:57 +05:30
Yogesh Mahajan c7fd1ae535 Enables pgAdmin to retrieve user permissions in case of nested roles which helps to terminate the session for AWS RDS. Fixes #6641 2021-08-24 17:01:06 +05:30
Akshay Joshi accc941818 Fixed no attribute '_asdict' error when connecting the database server. Fixes #6663 2021-08-20 13:47:31 +05:30
Khushboo Vashi 48ca83f31d Added support for OAuth 2 authentication. Fixes #5940
Initial patch sent by: Florian Sabonchi
2021-07-06 13:22:58 +05:30