Commit graph

120 commits

Author SHA1 Message Date
Matthias Endler
d0b7a64d0a Refactor and add documentation 2020-11-10 00:03:50 +01:00
Matthias
1474ae802b
Update README.md 2020-11-09 12:12:57 +01:00
Matthias
a7673562d7
Fix formatting 2020-11-09 11:49:32 +01:00
Matthias
22c70cd85c
Use different icons for feature comparison (#32)
Taken from https://github.com/getzola/zola
2020-11-09 11:46:45 +01:00
Matthias Endler
11b2d3ff2c Update banner image 2020-11-06 00:30:15 +01:00
Matthias
f7a1fcdf70
Update README.md 2020-11-06 00:22:14 +01:00
Paweł Romanowski
326683f4eb
Make GITHUB_TOKEN optional (#22)
* Make GITHUB_TOKEN optional

This also makes the token possible to pass in from CLI args.

* Add missing test fixture file

* Normalize exit codes and GitHub checking behavior

The exit code is now defined as 1 for unexpected or config errors,
and 2 for link check failures.

GitHub checking behavior has been tweaked to generate errors if
a GitHub-specific check cannot be performed because of a missing
token.

* Remove short flag for github token
2020-10-26 23:31:31 +01:00
Matthias
ac79314c03
Mention support for basic auth by @FabianBG 2020-10-26 09:25:00 +01:00
Milton Fabian Bastidas Guerra
2bf62e7709
Add support for basic auth #18 (#20)
[Issue #18](https://github.com/hello-rust/lychee/issues/18)
* Add headers crate to type headers and create auth header
* Add cmd param basic-auth to set property to the main
* Add simple test to test if with auth headres is no broken

Signed-off-by: FabianBG <f4b4g3@gmail.com>
2020-10-26 09:23:45 +01:00
Matthias
f0e4c3adc1
Add support for include patterns (#23)
In one or more `include` arguments are specified, only check the URLs that match the patterns.
In case `exclude` arguments are also
specified, make an exception from the
excluded URLs if they also match the
`include` patterns.
2020-10-25 13:41:06 +01:00
Matthias
6463372799
Mention support for relative urls 2020-10-21 13:03:55 +02:00
Matthias
45bc8d1a96
Format unknown fields 2020-10-21 12:46:24 +02:00
Matthias Endler
39f1ab5083 ordering 2020-10-21 12:44:12 +02:00
Matthias
351067e7a3
Update config file support 2020-10-21 12:41:53 +02:00
Alexander Krantz
3a12b3e220
Configuration file (lychee.toml) (#16) 2020-10-21 02:10:25 +02:00
WhizSid
6bd7bbf51f
feat: Support relative URLs (#15) 2020-10-21 01:31:06 +02:00
Matthias Endler
6663f23707 Add little joke 2020-10-21 00:29:47 +02:00
Matthias
38ff97a2e5
Extend comparison table 2020-10-21 00:21:11 +02:00
Matthias
bbb7971e83
Update README.md 2020-10-20 23:13:45 +02:00
Matthias
93a2e93999
Formatting 2020-10-20 12:19:33 +02:00
Matthias
114a36866f
Formatting 2020-10-20 12:18:28 +02:00
Matthias
6c8c7c57e1
Add comparison table and recording of demo run (#17) 2020-10-20 10:40:45 +02:00
Matthias
ee895551c4
Update README.md 2020-10-19 00:09:53 +02:00
Matthias
49677ddc82
Merge pull request #11 from pawroman/dont-ignore-test-timeout
Un-ignore test_timeout, upgrade wiremock to 0.3
2020-10-19 00:05:40 +02:00
Paweł Romanowski
0790afdbf2 Un-ignore test_timeout, upgrade wiremock to 0.3 2020-10-18 11:44:00 +02:00
Matthias
f9fe11b078
Merge pull request #2 from u5surf/issue-1
Support exponential backoff in check_real #1
2020-10-18 00:46:50 +02:00
Matthias
9ac2176b32
Merge pull request #10 from pawroman/fix_clippy_warnings
Actions improvements: add rustfmt and clippy checks, run tests
2020-10-18 00:31:28 +02:00
Matthias
dd73d6e145
Merge pull request #7 from pawroman/exclude-private-urls
Add exclude private URLs feature
2020-10-18 00:28:30 +02:00
Matthias Endler
ebaabe5abf Merge master 2020-10-18 00:16:42 +02:00
Matthias Endler
ccbe7cbcb1 Update docs 2020-10-18 00:15:11 +02:00
Paweł Romanowski
eaec308a14 Add comment 2020-10-17 10:04:24 +02:00
Paweł Romanowski
e175558376 Add --exclude-all-private flag and cli integration test 2020-10-17 10:01:06 +02:00
Paweł Romanowski
96a92deffd Use more descriptive name for cargo test action 2020-10-16 14:47:54 +02:00
Paweł Romanowski
7bcf2de400 Actually run tests in GitHub actions 2020-10-16 14:38:05 +02:00
Paweł Romanowski
b2ada4746c Introduce cargo fmt and clippy checks, fix all clippy warnings 2020-10-16 14:35:38 +02:00
Paweł Romanowski
c043776b77 Use website_url function in checker tests
This makes the test code shorter and more readable.
2020-10-16 13:59:44 +02:00
Paweł Romanowski
69e18785f9 Implement exclude private URLs feature
The exclusion is currently based on IP addresses, as specified by inputs.
We support IPv4 and IPv6, where possible using the current stable stdlib
(as of Rust 1.47.0).

Note that we could go one step further and resolve all URIs using DNS
and then exclude-filter the private IPs.
2020-10-16 13:59:42 +02:00
Paweł Romanowski
cd6cf4add4 Add Uri::host_ip method and tests
This lets extract the host IP address, if defined for a website.
Mail addresses are not supported.
2020-10-16 13:55:43 +02:00
Paweł Romanowski
ba278743ed Simplify println invocation 2020-10-16 13:55:43 +02:00
Matthias
812c5972a3
Mention progress bar support by @xiaochuanyu 2020-10-15 02:13:39 +02:00
Matthias
57dbe2738c
Merge pull request #8 from xiaochuanyu/add-progress-bar
Show the progress interactively with progress bar and in-flight requests (--progress)
2020-10-15 02:08:54 +02:00
Matthias
92b9ed11ca
Remove workaround for type recursion 2020-10-15 01:58:35 +02:00
Matthias
e2bbcd8b20
Merge pull request #9 from xiaochuanyu/type-length-limit
Use action-rs Actions instead
2020-10-15 01:55:48 +02:00
Xiaochuan Yu
65e8a40973
remove names 2020-10-14 19:19:14 -04:00
Xiaochuan Yu
292064ce90
Update rust.yml 2020-10-14 19:13:40 -04:00
Xiaochuan Yu
096b8756cb use action-rs Actions instead 2020-10-12 23:51:04 -04:00
Xiaochuan Yu
e80cb70a98 default true flags don't work? 2020-10-10 11:24:56 -04:00
Xiaochuan Yu
df54ce1eef Add progress bar 2020-10-10 00:39:06 -04:00
u5surf
fb860c52d2 Support exponential backoff in check_real #1 2020-10-03 06:34:30 +09:00
Matthias
4499e1363a
Update README.md 2020-08-26 15:31:29 +02:00