Commit Graph

174 Commits

Author SHA1 Message Date
Adam Tauber
ef78501721 [mod] travis test matrix mods 2017-02-10 14:38:06 +01:00
Niels Widger
92f2b2071b Use jsoncolor package to colorize JSON bodies
This PR uses the jsoncolor package to colorize JSON bodies.  It
changes the imports to use my forked version of
github.com/jroimartin/gocui which includes a small patch to support
zero-parameter CSI escape sequences.  I have submitted a PR upstream:

https://github.com/jroimartin/gocui/pull/98

Once that PR is merged the import can be switched back to
github.com/jroimartin/gocui if desired.
2017-02-10 08:21:46 -05:00
Adam Tauber
672d90209d Merge pull request #45 from georgijd/reset-cursors-on-new-req
Reset cursors before each request
2017-02-10 02:25:39 +01:00
Georgi Dimitrov
347b666d17 Preserve the cursor position when applicable 2017-02-10 01:01:20 +00:00
Adam Tauber
45b5eeed4e [enh] add osx to travis tests ++ remove buggy automatic build 2017-02-10 01:36:38 +01:00
Georgi Dimitrov
81c13c1a28 Reset cursors before each request
Fixes #41
2017-02-09 23:59:14 +00:00
Adam Tauber
dfd6b36801 [enh] add travis config 2017-02-10 00:49:31 +01:00
Adam Tauber
26f8b9e669 Merge pull request #34 from georgijd/fix-view-scrolling
Prevent from scrolling past the end of the content
2017-02-09 23:23:08 +01:00
Georgi Dimitrov
9879c689a3 Use go one line if statement 2017-02-09 22:18:50 +00:00
Adam Tauber
a843da2e58 [fix] update help text 2017-02-09 23:11:37 +01:00
Adam Tauber
44c6be25d0 Merge pull request #44 from dolmen-go/more-curl-args
More curl options
2017-02-09 22:37:23 +01:00
Adam Tauber
1074c14a43 Merge pull request #35 from georgijd/dont-wrap-headers
Disable wrapping for the headers view
2017-02-09 22:35:54 +01:00
Olivier Mengué
6642d2a860 Add support for curl option -X / --request 2017-02-09 06:40:20 +01:00
Olivier Mengué
d4d8f8bff5 Accept -d instead of -D
-D is an alias for --dump-header, not --data
-d is the alias for --data
2017-02-09 06:34:49 +01:00
Johan Charpentier
9da99df879 Add method choice by arrow & Dedup code 2017-02-08 08:32:44 +01:00
Adam Tauber
dd696dc6e0 [doc] readme updates 2017-02-08 00:46:29 +01:00
Adam Tauber
a0c10a5c05 Merge pull request #33 from pvmsikrsna/master
Show the function key bindings in the view title
2017-02-08 00:30:48 +01:00
Adam Tauber
2e88303bbb Merge pull request #36 from Eraden/patch-2
Create .gitignore
2017-02-07 23:43:29 +01:00
Adrian Woźniak
775824b41b Create .gitignore 2017-02-07 22:56:31 +01:00
pvmsikrsna
4ac044f954 Display the binding when printing request body
Displays the binding, F2, for the view response-body when the request body is printed.
2017-02-08 02:49:04 +05:30
pvmsikrsna
fab3ab57ab Move the bindings for views close to the title 2017-02-08 02:40:36 +05:30
Adam Tauber
1c3110d2d4 [fix] adjust save-result-popup size on small screen 2017-02-07 21:33:56 +01:00
Georgi Dimitrov
c43a066874 Disable wrapping for the headers view
Fixes #26
2017-02-07 20:31:27 +00:00
Georgi Dimitrov
c3669ec546 Add a missing assignment operator 2017-02-07 20:18:48 +00:00
Adam Tauber
0d7f23dcf6 Merge pull request #25 from Benaiah/save-response
[mod] add dialog to save response
2017-02-07 21:10:29 +01:00
Georgi Dimitrov
05bb54a51b Prevent from scrolling past the end of the content
Fixes issue #31
2017-02-07 20:09:26 +00:00
Benaiah Mischenko
8285961cac [mod] add save result dialog 2017-02-07 11:53:36 -08:00
Benaiah Mischenko
9c167d007b [mod] change saved response permissions to 0644 2017-02-07 11:42:33 -08:00
Vamshi
05bee3e67b Show the function key binding in the view title 2017-02-07 21:01:07 +05:30
Adam Tauber
83c67f9729 Merge pull request #32 from georgijd/print-invalid-headers
Print errors when parsing invalid headers
2017-02-07 16:13:44 +01:00
Georgi Dimitrov
93f2941a93 Print errors when parsing invalid headers 2017-02-07 14:19:45 +00:00
Adam Tauber
982d64b964 Merge pull request #28 from Eraden/patch-1
[README] Add UI shortcuts
2017-02-07 11:58:35 +01:00
Adrian Woźniak
3aa3b692d3 Update README.md 2017-02-07 11:52:02 +01:00
Adrian Woźniak
c15801e373 Update README.md 2017-02-07 11:27:01 +01:00
Adrian Woźniak
e57013e04f Add UI shortcuts 2017-02-07 11:25:34 +01:00
Benaiah Mischenko
9ff39949f7 [mod] add dialog to save response
You can now hit `<ctrl+s>` to save the response to a file.
2017-02-06 16:35:53 -08:00
Adam Tauber
392aee7191 [fix] visible cursor after error window destroy 2017-02-06 23:09:48 +01:00
Adam Tauber
b2c642c5c7 [enh] show hexdump of binary responses 2017-02-06 22:23:02 +01:00
Adam Tauber
4344c6060f [fix] display error on too small terminals - closes #3 2017-02-06 21:24:10 +01:00
Adam Tauber
08e35ae9de [enh] add --compressed command line flag - closes #19 2017-02-06 20:46:59 +01:00
Adam Tauber
5ca152e3d2 Merge pull request #18 from cyberj/master
Add Keybinding/view to choose Method
2017-02-06 20:21:48 +01:00
Johan Charpentier
18c7d220b7 Add F2..F9 Shortcuts 2017-02-06 16:29:03 +01:00
Johan Charpentier
12d00162b4 Deduplicate code 2017-02-06 15:26:33 +01:00
Adam Tauber
884a634f0d [doc] todo updates 2017-02-06 13:59:06 +01:00
Johan Charpentier
217687dd79 Add Keybinding/view to choose Method 2017-02-06 12:45:58 +01:00
Adam Tauber
72b8391cef Merge pull request #14 from mattn/proxy
proxy friendly
2017-02-06 10:55:45 +01:00
Adam Tauber
50968dbe6d Merge pull request #15 from mattn/ctrl-h
disable CtrlH on Windows since it break backspace key
2017-02-06 10:54:28 +01:00
Yasuhiro Matsumoto
7e44654733 disable CtrlH on Windows since it break backspace key 2017-02-06 10:54:03 +09:00
Yasuhiro Matsumoto
e03a22fb71 proxy friendly 2017-02-06 09:33:44 +09:00
Adam Tauber
45b6a64e66 [doc] new keybinding 2017-02-05 17:40:47 +01:00