Allow connections to servers with port numbers < 1024 which may be seen in container environments. Fixes #3307

This commit is contained in:
Aditya Toshniwal 2018-05-18 11:12:38 +01:00 committed by Dave Page
parent 28126a0a0d
commit a4ed9d6976
2 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,8 @@ Bug fixes
| `Bug #3308 <https://redmine.postgresql.org/issues/3308>`_ - Fixed issue where icon for Partitioned tables was the same as Non Partitioned tables for Greenplum database | `Bug #3308 <https://redmine.postgresql.org/issues/3308>`_ - Fixed issue where icon for Partitioned tables was the same as Non Partitioned tables for Greenplum database
| `Bug #3310 <https://redmine.postgresql.org/issues/3310>`_ - Fixed layout of the alertify error message in the query tool | `Bug #3310 <https://redmine.postgresql.org/issues/3310>`_ - Fixed layout of the alertify error message in the query tool
| `Bug #3238 <https://redmine.postgresql.org/issues/3238>`_ - Standardise the error handling for parsing of JSON response messages from the server | `Bug #3238 <https://redmine.postgresql.org/issues/3238>`_ - Standardise the error handling for parsing of JSON response messages from the server
| `Bug #3277 <https://redmine.postgresql.org/issues/3277>`_ - Ensure server cleanup on exit only happens if the server actually started up. | `Bug #3277 <https://redmine.postgresql.org/issues/3277>`_ - Ensure server cleanup on exit only happens if the server actually started up
| `Bug #3307 <https://redmine.postgresql.org/issues/3307>`_ - Allow connections to servers with port numbers < 1024 which may be seen in container environments
| `Bug #3324 <https://redmine.postgresql.org/issues/3324>`_ - Fix the template loader to work reliably under Windows (fixing external tables under Greenplum) | `Bug #3324 <https://redmine.postgresql.org/issues/3324>`_ - Fix the template loader to work reliably under Windows (fixing external tables under Greenplum)
| `Bug #3333 <https://redmine.postgresql.org/issues/3333>`_ - Ensure the runtime core application is setup before trying to access any settings | `Bug #3333 <https://redmine.postgresql.org/issues/3333>`_ - Ensure the runtime core application is setup before trying to access any settings
| `Bug #3342 <https://redmine.postgresql.org/issues/3342>`_ - Set SESSION_COOKIE_SAMESITE='Lax' per Flask recommendation to prevents sending cookies with CSRF-prone requests from external sites, such as submitting a form | `Bug #3342 <https://redmine.postgresql.org/issues/3342>`_ - Set SESSION_COOKIE_SAMESITE='Lax' per Flask recommendation to prevents sending cookies with CSRF-prone requests from external sites, such as submitting a form

View File

@ -676,7 +676,7 @@ define('pgadmin.node.server', [
mode: ['properties', 'edit', 'create'], disabled: 'isConnected', mode: ['properties', 'edit', 'create'], disabled: 'isConnected',
},{ },{
id: 'port', label: gettext('Port'), type: 'int', group: gettext('Connection'), id: 'port', label: gettext('Port'), type: 'int', group: gettext('Connection'),
mode: ['properties', 'edit', 'create'], disabled: 'isConnected', min: 1024, max: 65535, mode: ['properties', 'edit', 'create'], disabled: 'isConnected', min: 1, max: 65535,
},{ },{
id: 'db', label: gettext('Maintenance database'), type: 'text', group: gettext('Connection'), id: 'db', label: gettext('Maintenance database'), type: 'text', group: gettext('Connection'),
mode: ['properties', 'edit', 'create'], disabled: 'isConnected', mode: ['properties', 'edit', 'create'], disabled: 'isConnected',