Iryna Cherniavska
21a555ea6d
Added codecov to travis config.
2015-07-27 09:53:14 -07:00
Amjith Ramanujam
7db156629b
Merge pull request #297 from nathanjhaveri/fix-slash-d-error
...
Fix for None dereference on "\d schemaname." with sequence
2015-07-25 13:40:25 -07:00
Nathan Jhaveri
567eef86dc
Fix for None dereference on "\d schemaname." with sequence
...
The result of doing the command "\d schemaname." on my db was
'NoneType' object has no attribute '__getitem__'
This fix makes the output look a lot more like what you would see with
the same command on psql.
2015-07-25 10:31:58 -07:00
Iryna Cherniavska
bb6e8f6fa6
Merge pull request #275 from dbcli/amjith/force-utf8-encoding
...
Always use utf8 as the default encoding.
2015-07-25 10:16:21 -07:00
Amjith Ramanujam
52fb7c9315
Add link to website.
2015-07-24 08:51:22 -07:00
Amjith Ramanujam
877c0919d9
Remove one of the images.
2015-07-23 16:20:02 -07:00
Amjith Ramanujam
2cb6cf4b34
Add an animated gif to the readme.
2015-07-23 16:19:29 -07:00
Amjith Ramanujam
ae94c1640c
Merge pull request #279 from dbcli/j-bennet/itegration-tests
...
Moved integration tests into "tests", plus some fixes.
2015-07-14 23:16:52 -07:00
Iryna Cherniavska
4980b4ef09
Moved behavioral tests into tests. Updated expected help output. Drop test db if exists.
2015-07-12 14:41:36 -07:00
Amjith Ramanujam
7c0f1a1284
Releasing version 0.18.0
2015-07-05 16:04:30 -07:00
Amjith Ramanujam
198599dacc
Merge pull request #276 from dbcli/amjith/changelog-0.18.0
...
Update Changelog for version 0.18.0.
2015-07-05 16:02:29 -07:00
Amjith Ramanujam
5568ada162
Update Changelog for version 0.18.0.
2015-07-04 23:13:42 -07:00
Amjith Ramanujam
a37713ff07
Merge pull request #269 from dbcli/j-bennet/itegration-tests
...
Started working on integration tests.
2015-07-04 10:23:29 -07:00
Iryna Cherniavska
09cae83eb8
Updated readme about test user.
2015-07-04 10:02:36 -07:00
Iryna Cherniavska
de116beec9
Changed the test to only expect text content of help output, without table formatting.
2015-07-03 12:27:55 -07:00
Iryna Cherniavska
daeff7798a
Added readme instructions and changed test user to postgres.
2015-07-02 16:12:19 -07:00
Iryna Cherniavska
cb9905a44e
Merge pull request #262 from dbcli/amjith/expanded_output_separator_fix
...
Make the horizontal separator in expanded mode a constant length.
2015-07-01 21:52:04 -07:00
Amjith Ramanujam
b245e8e0d3
Merge pull request #273 from dbcli/darikg/specials-refactor-more
...
More specials refactoring
2015-07-01 17:14:09 -07:00
Amjith Ramanujam
d5e39446f3
Always use utf8 as the default encoding.
2015-06-30 23:51:09 -07:00
Darik Gamble
0f9f034970
Store default commands stored in class variable
2015-06-30 18:24:17 -04:00
Darik Gamble
e3f85bad44
Only a single entry-point for pgspecial.execute()
2015-06-30 18:22:53 -04:00
Darik Gamble
8a539349b0
Move \timing and \x code back to pgspecial
2015-06-30 17:59:02 -04:00
Darik Gamble
581061440b
pg_execute.run accepts a PGSpecial object, instead of calling special.execute directly
2015-06-30 12:40:53 -04:00
Darik Gamble
878f6e0bde
Refactor most of pgspecial module into a PGSpecial class
2015-06-30 12:40:53 -04:00
Darik Gamble
1355665270
format_output takes an extra arg instead of referencing pgspecial directly
...
This also allows us to simplify some of the tests in test_pgexecute,
which tested with and without expanded output by first running '\x',
which is a pretty roundabout way of mutating a global variable
2015-06-30 11:28:06 -04:00
darikg
adf9a455f6
Merge pull request #272 from jonathanslenders/prompt_toolkit_0.42
...
Upgrade to prompt_toolkit==0.42.
2015-06-28 18:59:12 -04:00
Amjith Ramanujam
34e00ad35b
Fix a typo in the usage string.
2015-06-25 13:12:57 -07:00
Jonathan Slenders
31f08ace2e
Upgrade to prompt_toolkit==0.42.
2015-06-25 21:21:13 +02:00
Amjith Ramanujam
c5e960c128
Merge pull request #257 from dbcli/amjith/prompt_toolkit_0.40
...
Upgrade prompt_toolkit to 0.40.
2015-06-24 22:52:55 -07:00
Karl-Aksel Puulmann
77a7991db1
Merge pull request #261 from dbcli/amjith/config_obj_bug_fix
...
Assign a filename to the config obj.
2015-06-23 08:42:12 +03:00
Amjith Ramanujam
63c45121ab
Merge pull request #271 from dbcli/add-env-pgpassword
...
Added support for PGPASSWORD environment variable. Connect #220 .
2015-06-22 20:48:02 -07:00
Iryna Cherniavska
f12f2937ed
Added support for PGPASSWORD environment variable. Connect #220 .
2015-06-22 19:23:35 -07:00
Iryna Cherniavska
f7cfbaab16
Merge pull request #268 from dbcli/amjith/named-query-docs
...
Amjith/named query docs
2015-06-22 15:39:09 -07:00
darikg
71301c6955
Merge pull request #267 from dbcli/amjith/special-command-not-found
...
Create a new error type for special command not found.
2015-06-22 17:26:45 -04:00
Iryna Cherniavska
52c98d4d2d
Added test for '\?'.
2015-06-22 12:38:33 -07:00
darikg
e187105f62
Merge pull request #258 from dbcli/amjith/no-escape-db-names
...
Do not escape the database names, since they clash with \c commands.
2015-06-22 14:55:53 -04:00
Iryna Cherniavska
c31269cc78
Changes to make linter happy.
2015-06-22 10:13:58 -07:00
Iryna Cherniavska
5b8afaafd6
Started working on integration tests.
2015-06-22 09:05:40 -07:00
Amjith Ramanujam
7f75f49899
Show named query usage when invoked.
2015-06-21 20:48:16 -07:00
Amjith Ramanujam
506db18669
Create a new error type for special command not found.
2015-06-21 20:42:34 -07:00
Iryna Cherniavska
b292a52180
Merge pull request #263 from dbcli/amjith/named_query_fuzzy
...
Make named query names to the fuzzy matched.
2015-06-21 10:04:03 -07:00
Amjith Ramanujam
cee0577a18
Make named query names to the fuzzy matched.
2015-06-21 01:30:59 -07:00
Amjith Ramanujam
e6236aca2b
Remove the get_separator() routine in expanded_output.
2015-06-21 01:17:33 -07:00
Amjith Ramanujam
7c6c56de6b
Fix the failing tests for expanded output.
2015-06-21 00:03:43 -07:00
Amjith Ramanujam
6b4ec9829a
Make the horizontal separator in expanded mode a constant length.
2015-06-20 23:57:43 -07:00
Amjith Ramanujam
72d4353382
Merge pull request #260 from brettatoms/autocomplete-namedqueries
...
add autocompletion for named queries
2015-06-20 23:41:55 -07:00
Brett
f07eae1018
add completion for \nd and \ns
2015-06-20 14:35:44 -04:00
Amjith Ramanujam
5dc20b248f
Assign a filename to the config obj.
2015-06-20 08:44:12 -07:00
Brett
c1221af544
add autocompletion for named queries
2015-06-20 07:46:03 -04:00
Iryna Cherniavska
44528026d2
Merge pull request #259 from dbcli/amjith/manual-refresh
...
Add \# to manually refresh the completions.
2015-06-17 22:18:37 -07:00