Commit Graph

364 Commits

Author SHA1 Message Date
Fabrice Reix
31d4783366
Add module curl to parse curl command-line 2023-04-21 11:31:00 +02:00
hurl-bot
d88f79c468
Update crates 2023-04-21 03:02:21 +00:00
hurl-bot
c473d698a3
Update crates 2023-04-19 17:08:56 +00:00
hurl-bot
606aae8235
Update crates 2023-04-19 03:02:12 +00:00
Fabrice Reix
dfcbad29a3
Add options --in and --out in hurlfmt
--out replaces the previous --format option

Currently --in can only take 'hurl' format,
but it will include other formats such as curl or har in the future.
2023-04-18 08:34:44 +02:00
jcamiel
bd2a7f4e9a
Documents Reader and use idiomatic naming for methods. 2023-04-16 14:32:46 +02:00
hurl-bot
2e2eb08e82
Update crates 2023-04-13 16:40:34 +00:00
hurl-bot
bba9a5949b
Update crates 2023-03-30 08:26:20 +00:00
hurl-bot
e236765724
Update crates 2023-03-29 08:07:07 +00:00
hurl-bot
198716f6be
Update crates 2023-03-28 12:46:49 +00:00
hurl-bot
1b4d4fe5a5
Update crates 2023-03-25 08:06:24 +00:00
hurl-bot
a2655d9196
Update crates 2023-03-24 07:24:20 +00:00
hurl-bot
2a628524ca
Update crates 2023-03-23 21:19:24 +00:00
hurl-bot
bba79ef930
Update crates 2023-03-22 08:06:37 +00:00
Fabrice Reix
b85bdc29e1
add daysAfterNow/DaysBeforeNow filters 2023-03-19 12:37:45 +01:00
hurl-bot
88f4173d06
Update crates 2023-03-19 08:06:32 +00:00
hurl-bot
bd66740b3f
Update crates 2023-03-18 08:06:10 +00:00
hurl-bot
2bc4aec26e
Update crates 2023-03-17 08:06:24 +00:00
Rached Mejri
48447ce744
Implement isEmpty predicate
Signed-off-by: Rached Mejri <rached.mejri@orange.com>
2023-03-13 10:11:47 +01:00
Fabrice Reix
f3bfe66863
Remove option --no-format in hurlfmt 2023-03-12 14:23:19 +01:00
Fabrice Reix
6d40373c71
Refacto options im hurlfmt 2023-03-11 08:39:21 +01:00
Fabrice Reix
591eb7087c
Add certificate query 2023-03-04 10:23:58 +01:00
jcamiel
3361aaaf24
Reorganize import. 2023-03-03 17:54:57 +01:00
hurl-bot
d23f12604d
Update crates 2023-02-28 15:13:07 +00:00
hurl-bot
16df06b1d6
Update crates 2023-02-28 08:07:05 +00:00
jcamiel
55cd58b50a
Increment major version to 3.0.0 (compatibility break) 2023-02-25 11:39:18 +01:00
jcamiel
704aebc6b4
Work on run api. 2023-02-25 11:31:40 +01:00
jcamiel
e5d9c1d993
Remove Lintable traits (replaced by dedicated functions). 2023-02-24 13:12:38 +01:00
hurl-bot
33c9f7d7a2
Update crates 2023-02-16 08:06:17 +00:00
hurl-bot
3f0f5f5f1f
Update crates 2023-02-07 08:21:23 +00:00
Fabrice Reix
550c517149
Add Date value/filters 2023-02-02 13:00:40 +01:00
hurl-bot
8d470a51b6
Update hurl version to 2.1.0-SNAPSHOT 2023-02-02 09:37:39 +00:00
hurl-bot
0c737817e5
Create 2.0.1 release 2023-02-01 16:15:48 +00:00
hurl-bot
849b154e76
Update hurl version to 2.0.1-SNAPSHOT 2023-02-01 16:09:25 +00:00
jcamiel
3575aef1fa
Fix clippy 1.67 2023-01-26 18:14:41 +01:00
hurl-bot
7b080d3cc6
Update hurl version to 2.1.0-SNAPSHOT 2023-01-25 13:52:42 +00:00
hurl-bot
e7e00c632b
Create 2.0.0 release 2023-01-25 13:03:19 +00:00
hurl-bot
a9e7b85262
Update crates 2023-01-25 08:05:38 +00:00
hurl-bot
e49785788c
Update crates 2023-01-24 08:05:49 +00:00
Fabrice Reix
c4226aa08b
Do not add newline at eof with --no-format option 2023-01-22 18:27:48 +01:00
hurl-bot
a6d343e1c8
Update crates 2023-01-16 08:06:10 +00:00
hurl-bot
79c624fa2e
Update crates 2023-01-10 13:40:04 +00:00
jcamiel
3917c4ac55
Update base64 0.20.0 => 0.21.0 2023-01-09 13:21:37 +01:00
Fabrice Reix
b46c82ce0f
Add nth/replace/split filters 2023-01-07 18:12:39 +01:00
jcamiel
e9a92fa9f5
Update copyrights for 2023. 2023-01-02 13:56:34 +01:00
hurl-bot
e3260c5068
Update crates 2022-12-23 08:05:12 +00:00
hurl-bot
ea4ad6a620
Update crates 2022-12-21 08:06:52 +00:00
Fabrice Reix
0fc18e90ea
Fix Clippy warnings 1.66.0 2022-12-16 10:44:17 +01:00
jcamiel
93ad62d40c
Remove unnessary empty struct. 2022-12-12 13:20:19 +01:00
Fabrice Reix
48188205c4
Update crate base64 2022-12-10 23:01:41 +01:00
jcamiel
00006eab74
Support new one line string format. 2022-12-08 13:15:32 +01:00
Luke Mondy
e6028f390a
Add support for htmlEscape and htmlUnescape in hurlfmt 2022-12-07 08:17:28 +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
Fabrice Reix
ffd31a271c
Add toInt filter 2022-12-03 12:16:24 +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
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
2242c8ba0d
Rename TextOneLine to OneLineText. 2022-11-24 15:10:13 +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
jcamiel
80fb0fd5b3
Delete raw string wording everywhere. 2022-11-18 15:30:56 +01:00
jcamiel
3b3483a997
Add lang identifier to multiline. 2022-11-18 00:20:53 +01: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
hurl-bot
b4c4d0ff77 Update crates 2022-11-15 08:27:12 +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
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
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
8666229edf
Move filters outside query 2022-10-28 08:04:16 +02:00
Fabrice Reix
89f4c123cd
Replace Subquery by Filter 2022-10-25 08:50:22 +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
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
7000c17224 Update crates 2022-10-19 08:39:30 +00:00
GitHub Action
bfffb04ec5 Update crates 2022-10-18 09:27:17 +00:00
Fabrice Reix
b912a6f06c
Add url query 2022-10-16 09:59:08 +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
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
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
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
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
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
29babc8ebb
Hunts clones. 2022-09-08 22:34:59 +02:00
Fabrice Reix
59d32dc46d
Add option variable in Hurl file 2022-09-06 13:53:15 +02:00
GitHub Action
c923c76e83 Update crates 2022-09-02 08:13:31 +00: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
96ef0c7228
Add --compressed entry option. 2022-08-18 20:28:08 +02:00
jcamiel
6fc568a6f0
Rename init to new to be more conventionnal. 2022-08-17 09:24:30 +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
aae808b0b0
Add support for cacert entry option. 2022-08-12 17:42:24 +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
jcamiel
2d0a6bc755
Update clippy for rust 1.63.0. 2022-08-11 19:55:24 +02:00
jcamiel
bb2faf8e4a
Change add_tokens(&mut tokens for tokens.append( 2022-08-10 17:01:12 +02:00
GitHub Action
ac75d2de15 Update crates 2022-07-30 08:23:08 +00:00
GitHub Action
b0d004d266 Update crates 2022-07-26 15:51:41 +00:00
GitHub Action
f7e910da02 Update crates on 22/07/21 08:21 2022-07-21 08:21:09 +00:00
GitHub Action
da7ad86f60 ˉᵇᵒᵗˉUpdate crates on 22/07/19 20:17 2022-07-19 20:17:27 +00:00
GitHub Action
0bdd778553 ˉᵇᵒᵗˉUpdate crates on 22/07/15 13:19 2022-07-15 13:19:41 +00:00
jcamiel
567ab70e0e
Update regex 1.6.0. 2022-07-06 17:43:02 +02:00
jcamiel
1705f30f72
Update clap 3.2.8. 2022-06-30 15:54:20 +02:00
Fabrice Reix
daa95ce619
Remove additional spaces in verbose mode 2022-06-30 15:34:18 +02:00
jcamiel
e2805521a8
Update clap 3.2.7. 2022-06-28 17:29:00 +02:00
Fabrice Reix
de79388be5 Support regex literal in query/subquery 2022-06-24 11:42:06 +02:00
jcamiel
380c525d3a Update clap 3.2.6. 2022-06-21 20:17:38 +02:00
jcamiel
bd92282b58 Update dependencies. 2022-06-17 11:49:40 +02:00
jcamiel
aa78be771a Update clap 3.2.4. 2022-06-17 10:53:54 +02:00
Fabrice Reix
e239891ffc Use Template type for cookie value 2022-06-12 21:35:12 +02:00
jcamiel
0e0b6697e7 Update dependencies. 2022-05-28 12:01:27 +02:00
jcamiel
5c318c2656 Update clap 3.1.18. 2022-05-11 14:49:08 +02:00
jcamiel
16f501d2c3 Update to Rust edition 2021. 2022-05-09 15:37:04 +02:00
jcamiel
59b753e07b Update Cargo.toml (lock is already up-to-date). 2022-05-08 13:42:34 +02:00
jcamiel
bc8b4d350c Update all depedencies with cargo update. 2022-05-06 15:55:24 +02:00
Fabrice Reix
5f1943bb99 Update crate regex to 1.5.5 2022-03-10 12:50:18 +01:00
Fabrice Reix
9bcc6f68af Increment version to 1.7.0-snapshot 2022-02-10 14:22:16 +01:00
Fabrice Reix
b52bc56ea5 Create release 1.6.0 2022-02-10 14:22:16 +01:00
Fabrice Reix
b83bbf67ed Add Regex predicate value 2022-01-29 15:59:55 +01:00
Fabrice Reix
45b15e8b7f Remove warnings for Windows 2022-01-29 10:36:15 +01:00
jcamiel
d90c891e47 Fix new clippy warnings on 1.58.
Mainly unnecessary calls to to_string on types that implements Display traits <https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args>.
2022-01-14 14:22:36 +01:00
jcamiel
a3a500baae Update copyright for 2022 2022-01-12 17:14:40 +01:00
Fabrice Reix
e12d0f1dd3 Update crate clap to 3.0.4 2022-01-07 21:08:06 +01:00
Fabrice Reix
82894a8a1a Add BasicAuth section 2021-12-17 08:14:40 +01:00
Fabrice Reix
9252ca5c83 Increment version to 1.6.0-snapshot 2021-12-09 16:17:54 +01:00
Fabrice Reix
2ecb4cc5af Create release 1.5.0 2021-12-09 16:17:54 +01:00
jcamiel
ff817a45da Delete extern crate import. 2021-12-07 15:36:04 +01:00
lepapareil
bdda072dda Update dependency crate clap 2021-11-30 16:58:08 +01:00
Fabrice Reix
21a2de42f0 Escape space in filename 2021-10-29 18:40:18 +02:00
Fabrice Reix
d90c92517d Increment version 1.5.0-snapshot 2021-10-18 09:17:59 +02:00
Fabrice Reix
629e2c5d4e Create release 1.4.0 2021-10-18 09:17:59 +02:00
Fabrice Reix
2de25a4932 Use snapshot version for non-official release 2021-10-07 16:46:35 +02:00
Fabrice Reix
4c71f7fd96
Merge branch 'master' into release/1.3.1 2021-09-11 08:35:08 +02:00
Fabrice Reix
40ddfe520e add README in each crate 2021-09-10 08:17:59 +02:00
Fabrice Reix
3853156b0d Update version to 1.3.1 2021-09-10 07:56:45 +02:00
Fabrice Reix
232bcbd535 Update version 2021-09-03 11:23:43 +02:00
Fabrice Reix
69aec13eb4 Fix clippy for Rust 1.54.0 2021-09-02 18:41:50 +02:00
Fabrice Reix
bde283f6c3 Fix parsing json body 2021-07-25 11:01:04 +02:00
Fabrice Reix
47ae21f6df add endsWith predicate 2021-07-16 08:18:58 +02:00
Fabrice Reix
3a25d516ab Add md5 query 2021-07-14 21:38:15 +02:00
Fabrice Reix
6d4308df73 Add hex body 2021-07-04 18:49:20 +02:00
Fabrice Reix
205284591c Update dependencies 2021-07-04 08:54:59 +02:00
Fabrice Reix
4fe77e284d Add predicate value base64 2021-07-02 18:51:58 +02:00
Fabrice Reix
d9630ed685 Add raw string in predicate value 2021-07-01 20:02:47 +02:00
Fabrice Reix
0dd0942435 Add PredicateValue public type 2021-06-29 18:31:05 +02:00
Fabrice Reix
31809edb9f Add notEquals query (!=) 2021-06-27 14:00:19 +02:00
Fabrice Reix
609868c858 Add subquery count
predicate countEquals becomes deprecated and is replaced by count ==
2021-06-27 09:20:03 +02:00
Fabrice Reix
424f8a59a0 Fix json export for less predicate 2021-06-24 20:29:19 +02:00
Fabrice Reix
8844c1e60a Add operators for arithmetic predicates 2021-06-19 08:52:45 +02:00
Fabrice Reix
ead46740ab Add sha256 query 2021-06-17 20:28:13 +02:00
Fabrice Reix
93c2fede66 Add bytes query and equals predicate for bytearray 2021-06-16 21:13:17 +02:00
Fabrice Reix
ae83a4cb52 Improve HTML report 2021-06-10 19:54:07 +02:00
Fabrice Reix
19857abf6b Update to Rust 1.52
fix new clippy warnings:
- inconsistent_struct_constructor
- manual_map
- copied
2021-05-14 14:26:54 +02:00
Fabrice Reix
ee47df6213 Fix new clippy warnings (Rust 1.51)
- upper_case_acronyms
- redundant_slicing
- vec_init_then_push
2021-03-28 09:51:21 +02:00
Fabrice Reix
902ce4f897 Update version to 1.3.0 2021-03-03 13:39:02 +01:00
Fabrice Reix
6827671944 use crate colored in order to support Windows 2021-02-15 11:45:19 +01:00
Fabrice Reix
4f6e2a72ab Add documentation, homepage or repository in manifest 2021-02-10 20:17:10 +01:00
Fabrice Reix
d886a10a94 Update Licence identifier
unknown license from cargo publish
2021-02-10 20:12:17 +01:00
Fabrice Reix
2d7cd55a2e Support Hurl File encoded with UTF8 BOM 2021-02-10 19:53:09 +01:00
Fabrice Reix
54ac4babdf Update version to 1.2.0 2021-02-08 10:33:10 +01:00
Fabrice Reix
af75640fdd Add explicit error for invalid utf8 encoding 2021-02-03 20:10:32 +01:00
Fabrice Reix
8b12a574a6 Support template in json for null, boolean and numbers 2021-01-09 18:32:31 +01:00
Fabrice Reix
2589d46647 Specify explicit version for all your dependencies 2021-01-09 09:51:00 +01:00
Fabrice Reix
1c53be8119 Add metadata to Cargo.toml 2021-01-09 09:19:24 +01:00
Fabrice Reix
9518d158e8 Fix clippy warning 2021-01-05 08:18:08 +01:00
Fabrice Reix
35f0516b65 Update version to 1.1.0 2021-01-05 07:55:20 +01:00
Fabrice Reix
833e2bf157 Fix html export 2020-12-05 12:04:35 +01:00
Fabrice Reix
f3fd06945f Fix json export 2020-12-05 12:04:35 +01:00
Fabrice Reix
3be178ed24 Fix clippy warning 2020-12-05 11:38:36 +01:00
Fabrice Reix
367a26bf11 Add predicates for types 2020-11-28 18:36:51 +01:00
Fabrice Reix
c3b6f85fde Add duration query 2020-11-22 08:55:07 +01:00