Yogesh Mahajan
9a317f3ba6
Fixed an issue where backup does not work due to parameter 'preexec_fn' no longer being supported. Fixes #7580
2022-09-02 13:12:58 +05:30
Dave Page
37082a955b
Sonarqube fixes.
2022-08-26 10:07:59 +01:00
Aditya Toshniwal
b12c1f8740
1. Stop process of Process details dialog not working.
...
2. When a server of an in progress cloud deployment is expanded, it is throwing a failed error.
3. Close the process notification on clicking View Processes.
Fixes #3709
2022-08-16 17:58:02 +05:30
Akshay Joshi
084203debc
Fixed Securtiy Hotspot reported by SonarQube.
2022-08-12 17:10:26 +05:30
Aditya Toshniwal
c2b23465cc
1) Added support to show all background processes in separate panel. Fixes #3709
...
2) Port process watcher to React. Fixes #7404
2022-08-11 10:49:45 +05:30
Yogesh Mahajan
59f5c0d955
Added support for Azure PostgreSQL deployment in server mode. Fixes #7522
2022-07-06 11:43:49 +05:30
Khushboo Vashi
448ede53c6
Fixed following issues related to cloud deployment:
...
1) No options are shown in the instance type.
2) No options for the last 2 types.
3) Unable to change Storage config - size and iops
4) Unable to create an instance when pgAdmin is installed using the installer in Desktop mode
5) Can not create cloud instance with the temporary credentials.
6) Mapped region display name (hardcoded) with region code.
2022-02-18 14:37:05 +05:30
Khushboo Vashi
0fa4609220
1) Fixed API test cases for Utilities.
...
2) Try to fix Jenkins build for __pycache__.
2022-02-14 17:26:27 +05:30
Khushboo Vashi
e61a1045f5
Added capability to deploy PostgreSQL servers on Amazon RDS. Fixes #7177
2022-02-14 12:13:48 +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
2786f7ac5a
Update copyright notices for 2022
2022-01-04 13:54:25 +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
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
Khushboo Vashi
72f3730c34
Added support to connect PostgreSQL servers via Kerberos authentication. Fixes #6158
2021-05-03 16:10:45 +05:30
Akshay Joshi
db95414cf1
Fixed an issue where 'sys.executable' returns the path of 'httpd.exe' instead of the python interpreter on Windows with WSGI.
2021-02-19 15:45:00 +05:30
Akshay Joshi
5372467569
Use 'sys.executable' to get the absolute path of the executable binary for the Python interpreter instead of existing complex logic.
2021-02-09 15:27:12 +05:30
Akshay Joshi
9c7691c891
Fixed an issue where utility(Backup, Maintenance, ...) jobs are failing when the log level is set to DEBUG. Fixes #6208
2021-02-04 14:50:26 +05:30
Nikhil Mohite
da9f9017a9
Fixed cognitive complexity reported by SonarQube.
2021-01-19 13:34:14 +05:30
Akshay Joshi
90004119af
Ensure that verbose logs should be visible for Utility(Backup, Maintenance) jobs. Fixes #6140
2021-01-11 16:35:44 +05:30
Akshay Joshi
b372f08a59
Update copyright notices for 2021
2021-01-04 15:34:45 +05:30
Rahul Shirsat
be386e77f2
1) Fixed an issue where the process watcher dialog throws an error for
...
the database server which is already removed. Fixes #5985
2) Fixed cognitive complexity reported by SonarQube.
2020-11-12 17:47:21 +05:30
Rahul Shirsat
c2ad97d0ab
Added support to download utility files at the client-side. Fixes #3318
2020-10-23 16:14:55 +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
Cyril Jouve
5a253f9053
Change the following to replace Python 2 code with Python 3:
...
1) Replace the deprecated unit test method.
2) Wraps filter usage in a list call.
3) Converts the old metaclass syntax to new.
4) Use range instead of xrange method.
5) Change Unicode to str.
6) Several other transformations.
7) Fixed change password test cases.
8) Use simplejson instead of plain JSON.
2020-08-31 16:45:31 +05:30
Nikhil Mohite
19491d79a5
Fixed cognitive complexity issues reported by SonarQube.
2020-08-21 13:52:05 +05:30
Aditya Toshniwal
d6400bbcae
Replace the generic exception class with a more specific one.
2020-08-07 12:37:00 +05:30
Aditya Toshniwal
536593bf8a
Fixed following SonarQube issues:
...
- Remove this assignment to the local variable, the value is never used.
- Rename local variables to match the regular expression
- Add logic to this except clause or eliminate it and rethrow the exception automatically.
- Rename fields to match the regular expression
- Extract this nested conditional expression into an independent statement.
- Change this default value to "None" and initialize this parameter inside the function/method.
- Update this function so that its implementation is not identical to __repr__
- Refactor this method to not always return the same value
- Reraise this exception to stop the application as the user expects
- Add missing parameters _w _PY3. This method overrides simplejson.decoder.JSONDecoder.decode.
- Remove this redundant continue.
- Remove this unused function declaration
- Remove this identity check; it will always be False.
2020-08-03 12:59:51 +05:30
Aditya Toshniwal
a0893fe43b
Fixed code smell 'variable shadows a builtin' reported by SonarQube.
2020-07-28 16:20:26 +05:30
Cyril Jouve
f93cfe8c4c
Remove old Python 2 compatibility code. Fixes #5700
2020-07-27 11:03:13 +01:00
Aditya Toshniwal
357a9179b1
Fixed convention related issues reported by SonarQube.
2020-07-09 18:55:33 +05:30
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
Nagesh Dhope
f61448eea2
Fixed an issue where the background job creation fails if there is only a version-specific python binary available in PATH. Fixes #5480
2020-05-06 12:38:06 +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
Aditya Toshniwal
019932c323
Enhance logging by tracking stdout and stderr of subprocess when log level set to DEBUG.
...
If the process terminates abnormally then the error is not logged which makes it very
difficult to find the reason for failure.
Fixes #5176
2020-02-11 14:28:57 +05:30
Dave Page
01c7636c75
Update copyright notices for 2020.
2020-01-02 14:43:50 +00:00
Aditya Toshniwal
7ac4e2a9d9
Fixed following issues:
...
- Process watcher made fixed width with header changes, time details rounded to 2 decimals
- Query history will show "No query history" if no query fired. Query editor default size increased.
- Fixed a bug where New folder create button not working when in List mode and No files/folder present.
- Other minor improvements.
2019-01-16 11:55:08 +05:30
Murtuza Zabuawala
e23d307c56
Update copyright notices for 2019
2019-01-02 15:54:12 +05:30
Akshay Joshi
6ddab02769
1) Fixed process watcher status message when user has stopped the process.
...
2) Saved the process state in sqlite database.
2018-10-25 17:03:34 +05:30
Akshay Joshi
6bc6bc7f60
Ensure that Utilities(Backup/Restore/Maintenence/Import-Export) should not be started
...
if binary path is wrong and also added 'Stop Process' button to cancel the process.
2018-10-22 12:35:53 +05:30
Khushboo Vashi
ba8829b64f
Further Python 2.6 fixes.
2018-06-15 15:03:53 +01:00
Khushboo Vashi
ab54a6d39a
Fix external utilities to run with Python 2.6.
2018-06-15 12:38:31 +01:00
Murtuza Zabuawala
be055ce57d
Update Python and JS modules. Fixes #3154
2018-04-04 10:47:01 +01:00
Murtuza Zabuawala
c312b03f6f
Pass the service name to external processes. Fixes #3195
2018-03-19 11:01:04 +00:00
Khushboo Vashi
63ba3402e8
Ensure SSL options are pushed down to external tools like pg_dump. Fixes #3122
2018-03-15 07:35:47 -04:00
Dave Page
3c686d3fbe
PEP-8 fixes
2018-03-13 17:30:07 -04:00
Khushboo Vashi
802269910c
Fix unicode handling in the external process tools and show the complete command in the process viewer. Fixes #2963 . Fixes #3157 .
2018-03-13 16:45:20 -04:00
Khushboo Vashi
a4124c2496
PEP8 fixes.
2018-03-02 09:37:11 +00:00
Murtuza Zabuawala
6f25f4d175
Fix PEP-8 issues in feature_tests, dashboard, about and misc module's python code. Fixes #3082
2018-02-09 12:57:37 +00:00
Dave Page
89821c0d19
Update copyright notices for 2018.
2018-01-05 10:42:50 +00:00
Harshal Dhumal
7db7da5b0e
Display process output as it happens. Fixes #2811
2017-11-27 13:00:47 +00:00