Commit Graph

84 Commits (46994a8c6cae02196595cdc6a4bbb1d715a65150)
 

Author SHA1 Message Date
Adam Tauber 46994a8c6c Merge pull request #51 from Benaiah/config-file
Add configuration system
8 years ago
Benaiah Mischenko 3f312fbb4c Add sample config file 8 years ago
Benaiah Mischenko 4ce9984b04 Add configuration system
The new configuration system, using TOML, loads into `app.config`
using a TOML config file. This can be specified on the command-line
with the `-c` option, or it can be at one of the following default
locations:

- Linux: $XDG_CONFIG_HOME/wuzz/config.toml (by default this is ~/.config/wuzz/config.toml)
- Other OSs: ~/.wuzz/config.toml

Currently the following keys can be set, along with their default
values:

```toml
[general]

timeout = "1m" # string parsed into time.Duration
formatJSON = true # toggles JSON formatting
preserveScrollPosition = true # currently unused
defaultURLScheme = "https" # when a URL is not provided, this is the scheme used by default
```

In addition, a [keys] section can also be set and will be successfully
parsed, but it is currently non-functional.
8 years ago
Adam Tauber 51613246b5 Merge pull request #52 from mattn/ascii
use gocui.Ascii for CJK
8 years ago
Yasuhiro Matsumoto bb21f2c221 use Ascii for CJK 8 years ago
Adam Tauber ce4d129702 [enh] add versioning (semver) 8 years ago
Adam Tauber e73584b0d8 [fix] add default content-type to POST/PUT method 8 years ago
Adam Tauber e2dfd77ccc [fix] do not duplicate content-type 8 years ago
Adam Tauber f1ff09bde0 [fix] add content-type if post data argument is specified - closes #48 8 years ago
Adam Tauber 155336a547 Merge pull request #39 from cyberj/master
Disable multiline on url and method views
8 years ago
Johan Charpentier a850b5c221 Create singlelineEditor for `url` `method` & `search` views 8 years ago
Adam Tauber ef78501721 [mod] travis test matrix mods 8 years ago
Adam Tauber 672d90209d Merge pull request #45 from georgijd/reset-cursors-on-new-req
Reset cursors before each request
8 years ago
Georgi Dimitrov 347b666d17 Preserve the cursor position when applicable 8 years ago
Adam Tauber 45b5eeed4e [enh] add osx to travis tests ++ remove buggy automatic build 8 years ago
Georgi Dimitrov 81c13c1a28 Reset cursors before each request
Fixes #41
8 years ago
Adam Tauber dfd6b36801 [enh] add travis config 8 years ago
Adam Tauber 26f8b9e669 Merge pull request #34 from georgijd/fix-view-scrolling
Prevent from scrolling past the end of the content
8 years ago
Georgi Dimitrov 9879c689a3 Use go one line if statement 8 years ago
Adam Tauber a843da2e58 [fix] update help text 8 years ago
Adam Tauber 44c6be25d0 Merge pull request #44 from dolmen-go/more-curl-args
More curl options
8 years ago
Adam Tauber 1074c14a43 Merge pull request #35 from georgijd/dont-wrap-headers
Disable wrapping for the headers view
8 years ago
Olivier Mengué 6642d2a860 Add support for curl option -X / --request 8 years ago
Olivier Mengué d4d8f8bff5 Accept -d instead of -D
-D is an alias for --dump-header, not --data
-d is the alias for --data
8 years ago
Johan Charpentier 9da99df879 Add method choice by arrow & Dedup code 8 years ago
Adam Tauber dd696dc6e0 [doc] readme updates 8 years ago
Adam Tauber a0c10a5c05 Merge pull request #33 from pvmsikrsna/master
Show the function key bindings in the view title
8 years ago
Adam Tauber 2e88303bbb Merge pull request #36 from Eraden/patch-2
Create .gitignore
8 years ago
Adrian Woźniak 775824b41b Create .gitignore 8 years ago
pvmsikrsna 4ac044f954 Display the binding when printing request body
Displays the binding, F2, for the view response-body when the request body is printed.
8 years ago
pvmsikrsna fab3ab57ab Move the bindings for views close to the title 8 years ago
Adam Tauber 1c3110d2d4 [fix] adjust save-result-popup size on small screen 8 years ago
Georgi Dimitrov c43a066874 Disable wrapping for the headers view
Fixes #26
8 years ago
Georgi Dimitrov c3669ec546 Add a missing assignment operator 8 years ago
Adam Tauber 0d7f23dcf6 Merge pull request #25 from Benaiah/save-response
[mod] add dialog to save response
8 years ago
Georgi Dimitrov 05bb54a51b Prevent from scrolling past the end of the content
Fixes issue #31
8 years ago
Benaiah Mischenko 8285961cac [mod] add save result dialog 8 years ago
Benaiah Mischenko 9c167d007b [mod] change saved response permissions to 0644 8 years ago
Vamshi 05bee3e67b Show the function key binding in the view title 8 years ago
Adam Tauber 83c67f9729 Merge pull request #32 from georgijd/print-invalid-headers
Print errors when parsing invalid headers
8 years ago
Georgi Dimitrov 93f2941a93 Print errors when parsing invalid headers 8 years ago
Adam Tauber 982d64b964 Merge pull request #28 from Eraden/patch-1
[README] Add UI shortcuts
8 years ago
Adrian Woźniak 3aa3b692d3 Update README.md 8 years ago
Adrian Woźniak c15801e373 Update README.md 8 years ago
Adrian Woźniak e57013e04f Add UI shortcuts 8 years ago
Benaiah Mischenko 9ff39949f7 [mod] add dialog to save response
You can now hit `<ctrl+s>` to save the response to a file.
8 years ago
Adam Tauber 392aee7191 [fix] visible cursor after error window destroy 8 years ago
Adam Tauber b2c642c5c7 [enh] show hexdump of binary responses 8 years ago
Adam Tauber 4344c6060f [fix] display error on too small terminals - closes #3 8 years ago
Adam Tauber 08e35ae9de [enh] add --compressed command line flag - closes #19 8 years ago