Commit Graph

226 Commits

Author SHA1 Message Date
Akshay Joshi
e3b1ef0b80 Update version for release. 2020-08-17 17:29:19 +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
Dave Page
5820b9521e Make sure the version check is compatible with older versions of Qt 2020-07-29 09:36:27 +01:00
Dave Page
46ba0310fa Make the runtime configuration dialog non-modal. Fixes #5490
Major refactoring of the runtime code, Specifically:
  - Move the bulk of the core code from main() into a new Runtime class.
  - Break up the mass of code that was main() into a number of relatively simple functions.
  - Make the Configuration dialog synchronous so the Log dialog can be properly viewed.
  - Enable/disable menu options at the right time.
  - Remove support for Qt < 5.0.
  - Remove the application name constant and hardcode the name to simplify the code.
  - Improve log messages.
  - Replace the sdbm hashing with Qt's MD5 hashing.
2020-07-28 16:13:05 +05:30
Akshay Joshi
c0e30c93e5 Update version for release. 2020-07-20 16:18:36 +05:30
Dave Page
13d2f9131d Replace the runtime themes with ones that don't have sizing issues. Fixes #5554 2020-07-17 15:31:04 +05:30
Dave Page
e6edf40048 Refactor server request code by removing some duplicated code in the runtime and improves some of the debug logs. 2020-07-11 16:59:26 +05:30
Dave Page
dd38fed6e0 Use ISO8601 date format in the runtime startup log. 2020-07-11 16:47:36 +05:30
Dave Page
5ac656c638 Refactor config loading/saving for the runtime config dialog to avoid code duplication. 2020-07-11 16:41:31 +05:30
Dave Page
6855ac1d5e Use QStandardPaths::AppLocalDataLocation in the runtime to determine where to store runtime logs. Fixes #5414 2020-07-11 16:32:08 +05:30
Dave Page
e0fa4a6cb2 Fix typo. Fixes #5517 2020-07-02 09:32:31 +01:00
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
cf64e2c97c Fixed runtime issues reported by SonarQube. 2020-06-16 14:53:40 +05:30
Akshay Joshi
a23fad0ba8 Tidy up some code to keep SonarQube happy. 2020-06-15 12:12:19 +01:00
Dave Page
9468c16233 Update hint test to use a modern Python version. 2020-05-27 11:36:03 +01:00
Akshay Joshi
1347c89d61 Update version for release. 2020-05-25 17:11:12 +05:30
Akshay Joshi
8a06a836f4 Ensure that pgAdmin4 should be compiled with older OSX SDK's. 2020-05-12 17:22:22 +05:30
Dave Page
46d186a49f Show the startup log as well as the server log in the runtime's log viewer. Fixes #5489 2020-05-07 11:01:02 +01:00
Dave Page
7164c677de UI layout tweaks. 2020-05-07 10:39:28 +01:00
Dave Page
94bd1f1680 Cleanup Python detection in the runtime project file. Fixes #5444 2020-05-04 10:20:51 +01:00
Dave Page
109051e1d5 Remove Python 2 support from the desktop runtime
refs #5443
2020-04-30 13:04:09 +05:30
Dave Page
e8a4b46ba1 Another attempt at fixing the 'do we need the --embed flag for Python' problem.
This change looks at the output from python-config --help (which may go
to stderr or stdout), and if it includes --embed, adds it to the later
call to get the libs string.
2020-04-29 16:19:54 +01:00
Dave Page
97be3d8179 Don't rely on python-config sending the help message to stderr, as older versions seem to use stdout. 2020-04-29 15:49:16 +01:00
Dave Page
505956d1fa OK, another attempt at this as it fails on non-Linux non-Python 3.8. 2020-04-29 14:29:47 +01:00
Dave Page
f7ef86dced Sigh. Remove extraneous closing bracket. It's always a bracket. 2020-04-29 14:04:32 +01:00
Dave Page
3138f36e05 Fix the runtime build with Python 3.8 on Linux 2020-04-29 13:55:53 +01:00
Akshay Joshi
50a423b142 Update version for release. 2020-04-27 21:23:51 +05:30
Dave Page
d5bfc726c0 Ignore the pre-compiled resources. 2020-04-24 14:56:46 +01:00
Neel Patel
ee29e64039 Fixed Mac OSX build by adding the prefix in qrc file. 2020-04-14 20:23:32 +05:30
Dave Page
41be5479af Added dark mode support for the configuration dialog on Windows/macOS runtime. Fixes #4292
Detects dark mode at server start and styles the runtime accordingly.

Patch modified by: Neel Patel
2020-04-13 13:22:00 +05:30
Neel Patel
9c93e93cb4 Make the configuration window in runtime to auto-resize. Fixes #4864 2020-04-13 13:09:26 +05:30
Dave Page
4da327088c Added an option to prevent a browser tab being opened at startup. Fixes #5353 2020-04-03 19:43:00 +05:30
Dave Page
e26a9a25d5 Fixed compilation warnings while building pgAdmin. Fixes #5351 2020-04-03 19:23:32 +05:30
Akshay Joshi
002fdb33fc Update version for release. 2020-03-30 17:39:33 +05:30
Akshay Joshi
43451fd3f0 Update version for release. 2020-03-02 17:28:20 +05:30
Akshay Joshi
1f0728b7d1 Update version for release. 2020-02-03 17:13:05 +05:30
Akshay Joshi
195e9663da Update version for release. 2020-01-06 17:55:41 +05:30
Dave Page
01c7636c75 Update copyright notices for 2020. 2020-01-02 14:43:50 +00:00
Dave Page
8cb239abcb Rename some internal environment variables that could conflict with Kubernetes. Fixes #4999. 2019-12-13 10:42:43 +05:30
Akshay Joshi
4a87b1387a Update version for release. 2019-12-09 18:05:09 +05:30
Akshay Joshi
8a03c42bd4 Update version for release. 2019-11-12 08:20:43 +05:30
Akshay Joshi
d7b1e2cd9c Update version for release. 2019-10-15 14:27:56 +05:30
Akshay Joshi
e64d6edc73 Update version for release. 2019-09-17 11:06:58 +05:30
Akshay Joshi
5c8aefc01e Update version for release 2019-08-20 10:26:49 +05:30
Akshay Joshi
b4d9fea83d Update version for release 2019-07-23 10:40:51 +05:30
Akshay Joshi
252429df50 Update version for release 2019-06-28 09:40:31 -04:00
Akshay Joshi
173acd46a5 Update version for release 2019-06-25 01:44:21 +05:30
Akshay Joshi
969a2961fe Update version for release. 2019-06-01 14:19:28 +05:30