Fabrice Reix
0fc18e90ea
Fix Clippy warnings 1.66.0
2022-12-16 10:44:17 +01:00
hurl-bot
b53e934296
Update crates
2022-12-15 08:06:52 +00:00
jcamiel
c2f0fe46ba
Implement html_escape and html_unescape.
...
This PR removes import of html-escape crate.
2022-12-14 13:10:43 +01:00
jcamiel
93ad62d40c
Remove unnessary empty struct.
2022-12-12 13:20:19 +01:00
hurl-bot
0160a6fcdf
Update crates
2022-12-12 08:07:17 +00:00
jcamiel
aa2f1d5b4d
Add connect-to option
2022-12-10 23:55:14 +01:00
Fabrice Reix
48188205c4
Update crate base64
2022-12-10 23:01:41 +01:00
Fabrice Reix
bb7cf25a57
Fix key-string parser
2022-12-10 22:52:54 +01:00
jcamiel
6b7753e174
Check HTTP version and status first, then other asserts.
...
If HTTP version or status are not correct, we fail the test without running others asserts.
2022-12-10 14:44:23 +01:00
jcamiel
aefbd79027
Update README with installation instruction for .deb
2022-12-09 23:41:25 +01:00
jcamiel
1dbdd99f34
Add name attribute to JUnit report
2022-12-09 16:49:58 +01:00
jcamiel
ec30da5b05
Normalize curl command line debug with the url at the end.
2022-12-09 15:10:35 +01:00
jcamiel
38c47501ab
Add --resolve options
2022-12-09 10:17:07 +01:00
jcamiel
00006eab74
Support new one line string format.
2022-12-08 13:15:32 +01:00
jcamiel
5532d1155a
Display warning when legacy syntax for one line string is used.
2022-12-08 13:13:16 +01:00
Luke Mondy
e6028f390a
Add support for htmlEscape and htmlUnescape in hurlfmt
2022-12-07 08:17:28 +11:00
Luke Mondy
db486f9695
Add htmlEscape and htmlUnescape filters
...
These filters use the html_escape crate (inspired by the use of the percent_encoding crate) to escape and unescape html.
2022-12-07 08:17:21 +11:00
jcamiel
2841a9459b
Change struct Bytes with tupple instead of anonymous struct.
2022-12-06 14:56:01 +01:00
jcamiel
0ab9fedafa
Change Template struct using delimiter: Option<char> field instead of quotes: bool.
2022-12-05 13:12:28 +01:00
hurl-bot
ae0c0ee6ab
Update crates
2022-12-05 08:23:32 +00:00
jcamiel
bc32e4e84d
Fix error message case.
2022-12-04 18:27:42 +01:00
jcamiel
d924d88b42
Update all installation docs.
2022-12-03 23:28:05 +01:00
Fabrice Reix
ffd31a271c
Add toInt filter
2022-12-03 12:16:24 +01:00
jcamiel
51b196ea88
Update variables hash while iterating and evaluating the capture section (instead of updating it once with all the variables).
2022-12-01 15:32:11 +01:00
Fabrice Reix
3eaa74ce11
Fix Parsing / compliant with grammar
2022-12-01 14:50:55 +01:00
jcamiel
44f43bcf73
Add support for LINK, UNLINK, PURGE, LOCK, UNLOCK, PROPFIND and VIEW HTTP method
2022-11-30 18:28:11 +01:00
jcamiel
589c4c20c3
Update 1.9.0-SNAPSHOT to 2.0.0 due to major breaking change.
2022-11-29 15:51:29 +01:00
hurl-bot
3f2397e6eb
Update crates
2022-11-29 13:07:15 +00:00
hurl-bot
4582c5a4fc
Update crates
2022-11-29 08:24:13 +00:00
Tim Bart
04ebc958c6
This PR adds support for configuring the client cert and private key for establishing a mutual TLS connection to a server.
...
Example:
```
GET https://localhost:8443/
[Options]
cacert: out/HurlCA.crt
cert: out/client.crt
key: out/client.key
HTTP 200
```
outputs:
```
Request can be run with the following curl command:
* curl 'https://localhost:8443/ ' --cacert out/HurlCA.crt --cert out/client.crt --key out/client.key
```
2022-11-28 20:33:05 -08:00
hurl-bot
de89ed043e
Update crates
2022-11-28 08:24:38 +00:00
jcamiel
ed3217c41f
Add support for GraphQL variables.
2022-11-25 11:34:03 +01:00
jcamiel
c15eecec88
Change "type": "multiline-string" for "type": "text" in JSON export.
2022-11-25 10:15:31 +01:00
hurl-bot
841f29a550
Update crates
2022-11-24 22:11:38 +00:00
jcamiel
0aa0568c91
Add application/json Content-Type header for GraphQL queries.
2022-11-24 16:14:44 +01:00
jcamiel
2242c8ba0d
Rename TextOneLine to OneLineText.
2022-11-24 15:10:13 +01:00
jcamiel
a0f7d3e278
Use real type Value instead of public alias JsonValue in implementation.
2022-11-24 13:37:05 +01:00
jcamiel
65350a71bb
Add GraphQL simple query support.
...
We add GraphQL query support. For the moment, variables are not supported.
2022-11-23 14:52:34 +01:00
hurl-bot
351fe21a93
Update crates
2022-11-22 07:10:46 +00:00
hurl-bot
e323006d1f
Update crates
2022-11-21 08:26:05 +00:00
jcamiel
5c7d2ea3ec
Remove HTML ast for HTML report generation.
2022-11-19 01:07:19 +01:00
jcamiel
80fb0fd5b3
Delete raw string wording everywhere.
2022-11-18 15:30:56 +01:00
hurl-bot
23e66e0158
Update crates
2022-11-18 08:24:51 +00:00
jcamiel
3b3483a997
Add lang identifier to multiline.
2022-11-18 00:20:53 +01:00
hurl-bot
f3bf0b7618
Update crates
2022-11-17 22:55:05 +00:00
hurl-bot
c599f4765f
Update crates
2022-11-17 08:26:47 +00:00
hurl-bot
af8d29131a
Update crates
2022-11-16 09:14:56 +00:00
jcamiel
a34480120e
Change choice parser function signature to take a slice as argument.
...
With a slice as argument, we can use a vec or an array. In Hurl code, we use choice with array only.
We also change the implementation to remove the recursive call (and unncessary clone)
2022-11-15 14:03:13 +01:00
hurl-bot
b4c4d0ff77
Update crates
2022-11-15 08:27:12 +00:00
GitHub Action
ef454b59ff
Update crates
2022-11-12 08:25:30 +00:00
GitHub Action
d3759a1c18
Update crates
2022-11-11 23:20:29 +00:00
jcamiel
4e41799623
Use HTTP instead of HTTP/* for any HTTP version match
2022-11-10 22:29:21 +01:00
GitHub Action
3c1c3a9b4d
Update crates
2022-11-09 08:28:18 +00:00
GitHub Action
aa318c3e55
Update crates
2022-11-07 18:31:01 +00:00
GitHub Action
e455ebd685
Update hurl version to 1.9.0-SNAPSHOT
2022-11-07 13:11:48 +00:00
GitHub Action
1930fcf62b
Create 1.8.0 release
2022-11-07 12:39:14 +00:00
jcamiel
403db2e131
Change raw string body for multiline string body.
2022-11-05 19:21:45 +01:00
GitHub Action
802391d7ee
Update crates
2022-11-05 18:04:45 +00:00
jcamiel
b38d108eb2
Fix hurlfmt --color crash.
2022-11-05 01:17:23 +01:00
GitHub Action
3d475c7c88
Update crates
2022-11-04 17:52:42 +00:00
Fabrice Reix
d1713c8865
Fix clippy warnings (Rust 1.65.0)
2022-11-03 16:58:42 +01:00
Fabrice Reix
67d48bde22
Add filters urlEncode/urlDecode
2022-11-02 17:07:00 +01:00
Fabrice Reix
2653401819
Fix missing line in HTML output
2022-11-01 19:02:00 +01:00
jcamiel
f25c6b9129
Delete subquery dead code.
2022-10-31 11:04:49 +01:00
GitHub Action
f9d06655ff
Update crates
2022-10-29 17:10:01 +00:00
Fabrice Reix
8666229edf
Move filters outside query
2022-10-28 08:04:16 +02:00
jcamiel
22c17ee998
Update README.
2022-10-26 22:47:04 +02:00
Fabrice Reix
75f1d111d4
Add/Check copyright in source files
2022-10-25 15:55:53 +02:00
Fabrice Reix
89f4c123cd
Replace Subquery by Filter
2022-10-25 08:50:22 +02:00
jcamiel
a32535d9be
Update docs for 1.8.0
2022-10-24 22:33:26 +02:00
Fabrice Reix
bf79a512e0
Newline added at the end of the files
...
hurlfmt now also outputs a trailing newline.
2022-10-24 15:04:50 +02:00
GitHub Action
1419e706fd
Update crates
2022-10-22 08:30:57 +00:00
GitHub Action
42bb1dfd14
Update crates
2022-10-21 08:33:27 +00:00
jcamiel
8dded501ce
Move code from core.rs to runner_options.rs.
2022-10-20 20:57:35 +02:00
jcamiel
36452f705c
Fix max-time help.
2022-10-20 17:58:43 +02:00
jcamiel
8f96cd990c
Improve header ouputs with --include.
2022-10-20 15:07:08 +02:00
jcamiel
debbeb250e
Add retry-max-count request option.
2022-10-20 13:06:27 +02:00
jcamiel
9e6f5088c6
Add retry-interval request option.
2022-10-20 13:06:27 +02:00
jcamiel
cec84ca811
Add retry request option.
2022-10-20 13:06:27 +02:00
GitHub Action
1fb7a3ba1b
Update crates
2022-10-20 08:31:17 +00:00
jcamiel
06c706210f
Output curl logs in very-verbose.
2022-10-19 21:19:37 +02:00
jcamiel
8fbe84c701
Update test self-signed certificate.
2022-10-19 17:32:34 +02:00
GitHub Action
7000c17224
Update crates
2022-10-19 08:39:30 +00:00
Fabrice Reix
6472866c22
Fix HTTP HEAD
2022-10-18 14:27:47 +02:00
jcamiel
e85354f0eb
Add retry-max-count option.
2022-10-18 11:51:49 +02:00
jcamiel
d34647ca7e
Clean hurl --help
.
2022-10-18 11:50:32 +02:00
GitHub Action
bfffb04ec5
Update crates
2022-10-18 09:27:17 +00:00
jcamiel
43e6f703da
Add comment.
2022-10-17 08:50:27 +02:00
jcamiel
a58d4f27e0
Add --retry and --retry-interval options.
2022-10-16 10:42:41 +02:00
Fabrice Reix
b912a6f06c
Add url query
2022-10-16 09:59:08 +02:00
Fabrice Reix
5712eacf48
Add field url to HTTP response
2022-10-16 09:35:10 +02:00
GitHub Action
f96998b278
Update crates
2022-10-14 07:16:12 +00:00
GitHub Action
a446932b12
Update crates
2022-10-13 08:30:44 +00:00
GitHub Action
2ed7daa7a8
Update crates
2022-10-11 16:57:46 +00:00
GitHub Action
e27ef041f8
Update crates
2022-10-11 06:54:51 +00:00
jcamiel
397d91528a
Add Demo placeholder.
2022-10-10 17:50:58 +02:00
jcamiel
f7990069d7
Change EntryResult structure to have a list of calls property.
2022-10-10 15:51:33 +02:00
Fabrice Reix
1ae68efd82
Fix relative redirect
2022-10-10 15:13:03 +02:00
GitHub Action
8e868f41d0
Update crates
2022-10-10 08:35:17 +00:00
GitHub Action
38c68a4538
Update crates
2022-10-09 08:28:02 +00:00
GitHub Action
b424b1b0bd
Update crates
2022-10-06 08:30:20 +00:00
GitHub Action
0d302c8534
Update crates
2022-10-04 08:31:26 +00:00
jcamiel
ef0230d65a
Simplify option parsing using clap apis.
2022-10-02 18:42:10 +02:00
GitHub Action
c182a062ce
Update crates
2022-10-02 08:28:01 +00:00
jcamiel
d0f12d9d34
Make compact help.
2022-10-01 16:59:10 +02:00
Kian-Meng Ang
3a5ff7dcb2
Fix typos
...
Found via `codespell -S contrib,target -L crate,asser,te,pleas`
2022-10-01 18:48:18 +08:00
GitHub Action
28ec49f8c4
Update crates
2022-09-30 19:38:18 +00:00
jcamiel
52575789ef
Delete --progress and --summary from docs.
2022-09-30 18:01:20 +02:00
jcamiel
fb279b5a1e
Remove --progress and --summary option.
2022-09-30 18:01:19 +02:00
GitHub Action
02c50711d1
Update crates
2022-09-30 15:27:45 +00:00
jcamiel
a75d2b722a
Update to clap 4.0
2022-09-30 11:10:29 +02:00
lepapareil
195af0e3fc
Add new ssl error to ci test_error_ssl
2022-09-28 16:38:16 +02:00
Zoltan Klinger
a35476bb16
change "api" to "API" in docs
2022-09-28 18:35:02 +10:00
Zoltan Klinger
a375af91d4
fix grammar in docs
2022-09-28 18:35:02 +10:00
Zoltan Klinger
5bc24bd0cf
fix typos in docs
2022-09-28 18:35:02 +10:00
GitHub Action
21945be676
Update crates
2022-09-23 08:06:48 +00:00
jcamiel
8cd29a8a9e
List all libcurl features with --version.
2022-09-22 16:53:36 +02:00
Fabrice Reix
0e3d1a3dc8
Update version to SNAPSHOT
2022-09-22 16:35:48 +02:00
Fabrice Reix
a4cf8de4a8
Fix clippy warnings
2022-09-22 15:58:45 +02:00
Fabrice Reix
ad83b87399
Remove snapshot when releasing
2022-09-17 17:23:56 +02:00
GitHub Action
3487010a4b
Update crates
2022-09-17 08:26:35 +00:00
jcamiel
fb3d07c372
Rename 'osx' => 'macos'.
2022-09-15 12:56:37 +02:00
Fabrice Reix
fce9e9daf7
Update version to 1.7.0
2022-09-15 12:56:36 +02:00
GitHub Action
1cd6ff3260
Update crates
2022-09-13 08:27:07 +00:00
jcamiel
9293db226b
Indicates deprecated options in hurl help.
2022-09-12 21:13:49 +02:00
jcamiel
5d4d41a559
Be more restrictive on first char for url parsing.
2022-09-12 16:42:40 +02:00
jcamiel
61ab7674b1
Don't print error when hurl display help because of no inputs.
2022-09-12 09:09:28 +02:00
jcamiel
c1684f60b3
Add support for strings comparison.
2022-09-09 16:54:28 +02:00
jcamiel
29babc8ebb
Hunts clones.
2022-09-08 22:34:59 +02:00
GitHub Action
e49ff139f2
Update crates
2022-09-08 08:25:47 +00:00
GitHub Action
2783410f7d
Update crates
2022-09-07 17:38:30 +00:00
Fabrice Reix
cc820c6190
Accept expression in comparison predicate
2022-09-07 08:39:28 +02:00
Fabrice Reix
59d32dc46d
Add option variable in Hurl file
2022-09-06 13:53:15 +02:00
Fabrice Reix
caac3d9b3d
Remove variables field from RunnerOptions
2022-09-05 16:41:54 +02:00
Fabrice Reix
e2689699c3
Create ClientOptions from RunnerOptions
2022-09-05 16:41:54 +02:00
Fabrice Reix
58b89bced3
Constructing the HTTP client with cookie file only
2022-09-05 16:41:53 +02:00
Fabrice Reix
fefab14152
Use only the RunnerOptions struct when running a Hurl File/Entry
2022-09-05 16:41:50 +02:00
jcamiel
91f7396a6d
Fix minot typos.
2022-09-03 00:50:31 +02:00
GitHub Action
4c8c03714d
Update crates
2022-09-02 22:37:35 +00:00
jcamiel
1892c35cfa
Rename manual-page.md to manual.md
2022-09-02 15:48:41 +02:00
jcamiel
948f1e2065
Rename manual-page.md to manual.md
2022-09-02 15:39:24 +02:00
Christine Seeman
2e3eaca3d4
Changing naming from Manual Page to just Manual
...
Where it made sense in the titles, and references in the documentation,
I have updated to just `Manual` over `Manual Page` for clarity on the
purpose of the section or documentation. I have left the file naming
alone, since that was mostly used in the links and felt like the titles
might be where more confusion could be at.
2022-09-02 12:47:08 +02:00
Christine Seeman
57a298d9f1
Adding pluralization to scenerio and documentation
...
Grammer changes. These were added to the hurl docs and then generated
with python scripts.
2022-09-02 12:47:08 +02:00
Christine Seeman
fe8d506f98
Changing to manual vs man in documenation
...
In intro documentation, it can be confusing to see just `man` for
the reference to reference manual pages and documentation. I believe this is a reference
to Unix man pages (manual pages), but markdown is much more than what those ASCII text displays could do.
To help understandability, I am submitting a PR to update some documentation references to manual over man.
2022-09-02 12:47:08 +02:00
GitHub Action
c923c76e83
Update crates
2022-09-02 08:13:31 +00:00
Fabrice Reix
1f9d7866f3
Do not re-canonicalize Hurl file in an existing HTML report
2022-09-01 08:36:57 +02:00
GitHub Action
88fa3f3898
Update crates
2022-08-31 08:24:42 +00:00
GitHub Action
b16702dadd
Update crates
2022-08-30 08:26:06 +00:00
jcamiel
d986521885
Fix minor typo on docs.
2022-08-28 23:26:11 +02:00
jcamiel
07f0c75151
Add color on capture in verbose mode.
2022-08-25 17:37:14 +02:00
jcamiel
651f3bd694
Improve text summary.
2022-08-23 17:54:19 +02:00
GitHub Action
4991df01ab
Update crates
2022-08-22 08:25:16 +00:00
GitHub Action
c0ffbef9ea
Update crates
2022-08-21 08:23:19 +00:00
jcamiel
807348e46a
Update READMEs.
2022-08-19 11:04:16 +02:00
jcamiel
96ef0c7228
Add --compressed entry option.
2022-08-18 20:28:08 +02:00
jcamiel
cd64b3310a
Log number bytes received and duration.
2022-08-18 18:39:23 +02:00
jcamiel
e4c21bc90c
Minor docs change.
2022-08-17 19:13:50 +02:00
jcamiel
2d9e860ff6
Add Netscape cookie format comment.
2022-08-17 19:08:13 +02:00
jcamiel
6fc568a6f0
Rename init to new to be more conventionnal.
2022-08-17 09:24:30 +02:00
jcamiel
97835c3a17
Fix colored error string (ansi escape code where interleaved).
2022-08-17 09:00:21 +02:00
jcamiel
c0a8bbb544
Update man and document documentation generation.
2022-08-16 14:27:20 +02:00
jcamiel
08fc128a9b
Update man and README.
2022-08-16 13:39:13 +02:00
jcamiel
2a002f81a6
Add max-redirs entry option.
2022-08-16 12:09:33 +02:00
jcamiel
a2d3f87640
Add follow location entry option.
2022-08-16 10:20:25 +02:00
jcamiel
b08de3a19b
Add very-verbose entry option.
2022-08-15 18:01:35 +02:00
jcamiel
633500ebbd
Add verbose entry option.
2022-08-14 18:37:10 +02:00
jcamiel
02a1e49ddb
Add --to-entry integration test.
2022-08-14 14:02:53 +02:00
jcamiel
21af3a236d
Fix code attribution.
2022-08-14 13:46:00 +02:00
jcamiel
ae7ee80e7b
Fix function doc comment.
2022-08-14 13:41:14 +02:00
GitHub Action
0bfbd5c87e
Update crates
2022-08-14 08:21:59 +00:00
jcamiel
6ef82b6b58
Make pre_entry and post_entry optional to remove clone on each entry when not interactive.
2022-08-12 20:39:15 +02:00
jcamiel
aae808b0b0
Add support for cacert entry option.
2022-08-12 17:42:24 +02:00
jcamiel
81c1233623
Remove context_dir field from ClientOptions.
2022-08-12 16:19:16 +02:00
jcamiel
b5c3c820a7
Override client option at the entry level.
2022-08-12 16:18:55 +02:00
jcamiel
eaa5e72940
Fix comments.
2022-08-12 16:18:55 +02:00
jcamiel
b14e5bc31e
Parse option section.
2022-08-12 16:18:55 +02:00
GitHub Action
316624ea64
Update crates
2022-08-12 14:05:11 +00:00
lepapareil
4a6959adcd
Add coverage report and badge to ci
2022-08-11 22:59:54 +02:00
jcamiel
2d0a6bc755
Update clippy for rust 1.63.0.
2022-08-11 19:55:24 +02:00
jcamiel
2698987cf5
Hunt clones and uses references as possible.
2022-08-10 21:13:16 +02:00
jcamiel
bb2faf8e4a
Change add_tokens(&mut tokens
for tokens.append(
2022-08-10 17:01:12 +02:00
jcamiel
33ed1f4690
Pass client_options in execute and executes_with_redirect HTTP client methods.
2022-08-10 11:59:40 +02:00
jcamiel
f6e5b0a8df
Fix regression in chrono 0.4.20 https://github.com/chronotope/chrono/issues/755 .
2022-08-09 17:44:36 +02:00
GitHub Action
8f8e3b89d2
Update crates
2022-08-09 14:48:23 +00:00
jcamiel
f8863cbac6
Display deprecated warning when using --progress and --summary option.
2022-08-08 18:58:14 +02:00
jcamiel
7f561566dc
Normalize acronym case in errors.
2022-08-08 18:42:57 +02:00
jcamiel
2cbb73a9c1
Support NO_COLOR env variable ( https://no-color.org )
2022-08-08 14:54:08 +02:00
jcamiel
e02436d8cb
Make --test colored.
2022-08-05 20:28:09 +02:00
jcamiel
3fc7b7744b
Make verbose and very-verbose logs more colored.
2022-08-05 17:27:38 +02:00
jcamiel
eb9c46a9d4
Patches chrono 0.4.20 regression on ArchLinux / Alpine docker image.
2022-08-05 14:48:51 +02:00
jcamiel
3e33ef208f
Make error more colorfull.
2022-08-04 14:18:22 +02:00
GitHub Action
566c15d6b6
Update crates
2022-08-04 12:15:49 +00:00
jcamiel
74efc91da3
Create bas logger for basic error and logger for a run file.
2022-08-03 17:58:02 +02:00
jcamiel
919fdb6261
Uses references when possible.
2022-08-03 14:26:48 +02:00
jcamiel
d5824a2bb0
Remove unnecessary prefix.
2022-08-01 17:15:08 +02:00
jcamiel
c256e6bcd2
Use raw content instead of lines for high level api (run Hurl file etc...)
2022-08-01 17:15:08 +02:00
jcamiel
59a3e24c40
Rationalize log functions usages.
2022-08-01 15:19:09 +02:00
Fabrice Reix
34075bc8a9
Refacto workflow scripts
2022-07-31 09:59:10 +02:00
GitHub Action
ac75d2de15
Update crates
2022-07-30 08:23:08 +00:00
jcamiel
e15b431fed
Log body request if very_verbose.
2022-07-29 14:10:16 +02:00