1
0
Fork 0
Commit Graph

2176 Commits

Author SHA1 Message Date
Amjith Ramanujam e5501cb83c Check if dsn and password values are passed in. 2019-05-06 06:34:24 -07:00
Amjith Ramanujam 30c788917b
Merge pull request #1026 from dbcli/j-bennet/python37
[WIP] Build pgcli with 3.7.
2019-05-04 11:30:15 -07:00
Irina Truong f1fc864281 changelog. 2019-05-04 07:33:28 -04:00
Irina Truong 3366be52fb Build pgcli with 3.7. 2019-05-03 21:36:21 -04:00
VVelox 1421da3c33
Update changelog.rst 2019-05-03 04:24:27 -05:00
VVelox 8817017491
Update AUTHORS 2019-05-03 04:22:02 -05:00
VVelox dc1c335632
Update setup.py 2019-05-03 04:21:25 -05:00
zzl 6d1b653e24 lazy load keyring. (#1046)
fix issue: https://github.com/dbcli/pgcli/issues/1041
2019-05-01 08:53:55 -07:00
Irina Truong 3fd91012f2
More intelligent dsn format (#1045)
* Psycopg2 already has a method to format a dsn. We should use it. Fix for #1043.

* Changelog.

* pep8.
2019-04-28 15:06:01 -07:00
Irina Truong 9a53fe859a Possibly fix #1040. (#1042)
Fix #1040
2019-04-28 08:00:40 +02:00
raylu eef0e0d65c Allow application_name to be overridden (#1044)
* Allow application_name to be overridden

* Fixed broken link.

* Default password value is empty str?

* Make pep8 happier.
2019-04-27 21:25:19 -06:00
Nathan Vērzemnieks 4af4e33e31 Allow escape to switch to vi navigation mode (#1039) 2019-04-13 13:22:03 -07:00
Xavier Francisco e0eac14c96 Revert main changes; Filter unwanted params when dsn present 2019-04-09 21:46:20 +01:00
Xavier Francisco 49582ccb7c Fix usage of pgservice 2019-04-08 19:46:29 +01:00
Irina Truong 098a2cf976 Releasing version 2.1.0 2019-04-05 17:26:27 -07:00
Irina Truong ab18b08903
Changelog update before release. Bump cli_helpers. (#1030) 2019-04-05 17:24:10 -07:00
Amjith Ramanujam a7632361c4
Merge pull request #1028 from dbcli/j-bennet/update-keyring-password
Ask for password in case of incorrect password.
2019-03-23 10:12:12 -07:00
Irina Truong b0529bcc4f Changelog. 2019-03-22 16:55:16 +00:00
Irina Truong 3f0e47d7b3 Ask for password in case of incorrect password. 2019-03-22 16:49:54 +00:00
Amjith Ramanujam d8df2cc03b
Merge pull request #1017 from dbcli/j-bennet/bugfix-should-exit-even-with-connection-closed
Fix for https://github.com/dbcli/pgcli/issues/1014.
2019-03-18 09:47:12 -07:00
Irina Truong a8739c8c15 pep8. 2019-03-18 03:10:52 +00:00
Irina Truong 9d559cc41b Unit test. 2019-03-18 03:10:52 +00:00
Irina Truong 21e7c7cbc1 Changelog. 2019-03-18 03:10:52 +00:00
Irina Truong d25d27846a Fix for https://github.com/dbcli/pgcli/issues/1014. 2019-03-18 03:09:26 +00:00
Dick Marinus 72f6b6a561
Merge pull request #1022 from dbcli/system-error
Catch and ignore the system interrupt.
2019-03-17 07:04:29 +01:00
Amjith Ramanujam 3652134bc5
Merge branch 'master' into system-error 2019-03-16 21:18:21 -07:00
Amjith Ramanujam 80f440e91c
Merge pull request #1023 from dbcli/remove_expand_tab_option
Remove the expand_tab option from pgclirc.
2019-03-16 17:50:11 -07:00
Amjith Ramanujam 83e17e825f Remove the expand_tab option from pgclirc. 2019-03-16 14:09:39 -07:00
Amjith Ramanujam b8f6974f14
Merge pull request #928 from arturbalabanov/tab-on-line-start
Tab press on an empty line increases the indentation instead of triggering the auto-complete pop-up
2019-03-16 14:07:39 -07:00
Amjith Ramanujam cbd944ffab
Merge branch 'master' into tab-on-line-start 2019-03-16 14:06:24 -07:00
Amjith Ramanujam 7d6523e18b
Merge pull request #1016 from dbcli/j-bennet/bugfix-server-version-single-connection
Fix crash in get_server_version when using --single-connection.
2019-03-16 13:44:40 -07:00
Amjith Ramanujam 9df9c222d0 Remove the unnecessary try/except. 2019-03-16 13:36:32 -07:00
Amjith Ramanujam f4ebcd2383 Access only the required element from the tuple. 2019-03-16 13:34:36 -07:00
Amjith Ramanujam 5d55e6822b Changelog update. 2019-03-15 20:32:23 -07:00
Amjith Ramanujam 951cfb28a7 Catch and ignore the system interrupt. 2019-03-15 20:28:40 -07:00
Irina Truong c447ffc887 Changelog. 2019-03-04 16:16:47 -08:00
Irina Truong 33dbb602de Fix crash when using --single-connection. 2019-03-04 16:09:12 -08:00
Scott Brenstuhl 1c66dece59 Add reconnect automatically enhancement (#1009)
* Adding reconnect automatically enhancement

* files for pr checklist

* changelog fixes

* setting auto-reconnect to be the default

* fix issue of getting logged queries instead of most recent

* travisci pep8 check issue
2019-02-23 16:37:26 -08:00
ಠ_ಠ bd0aaefdd2 keybinding for dismissing autocompletelist (#1007)
* +added esc key to dismiss the autocomple list

* +added esc key to dismiss the autocomple list
2019-02-12 16:18:32 -08:00
Dick Marinus 484abb6530
Merge pull request #1006 from dbcli/internal/fix_unhashable_formatted_text
fix unhashable formatted text
2019-02-08 21:25:03 +01:00
Dick Marinus 351135b61e fix unhashable formatted text 2019-02-08 21:24:36 +01:00
Dick Marinus 862706ff03 Remove build dir before running sdist (#1002) 2019-01-25 12:37:17 -08:00
Amjith Ramanujam 3eff3bbebd
Merge pull request #1001 from dbcli/internal/add_behave_logging
Missed logfile for earlier clean up and add behave logging changes
2019-01-22 10:46:31 -08:00
Dick Marinus 806532b496
Merge pull request #996 from saper/pexpect_exceptions
Use pexpect.TIMEOUT instead of pexpect.exceptions.TIMEOUT
2019-01-22 19:23:37 +01:00
Dick Marinus a88c693c49 fixup! Clean up and add behave logging (#956) 2019-01-22 19:18:39 +01:00
Dick Marinus 9306d94bf0
Merge pull request #999 from saper/editor_environment
VISUAL overrides the value of EDITOR for the \e command
2019-01-22 16:24:59 +01:00
Marcin Cieślak 69118eddeb VISUAL overrides the value of EDITOR for the \e command
This is an ancient UNIX tradition universally respected.
2019-01-22 15:18:17 +00:00
Marcin Cieślak 4542637eff Use pexpect.TIMEOUT instead of pexpect.exceptions.TIMEOUT
All pexpect submodules have been moved into the pexpect package as of version 3.0.
2019-01-22 00:05:20 +00:00
Marcin Cieślak ef8aac61c4 Determine hstore OID from the system view (#992)
Avoid error message on the server side if hstore
extension is not installed in the current database.

Issue: https://github.com/dbcli/pgcli/issues/991
2019-01-21 16:00:25 -08:00
Mikhail Elovskikh f614cef7ed Support multihost connection string (#978)
* Switch to psycopg2 parse_dsn instead of urlparse

* Added wronglink to contributors and updated changelog

* Fix test codestyle

* Support for PGPORT customization in tests

* Support for PGPORT customization in tests

* Refactored PGExecute init and moved short_host generation to object property

* Fix test util codestyle

* Fix local tests run

* Store PGExecute initial params in  _conn_params and added PGExecute.copy method

* Fix codestyle

* Added docstring to PGExecute.copy() method
2019-01-03 14:27:47 -08:00