Matthias Endler
3a5e4ada2c
formatting
2021-02-28 19:12:03 +01:00
Matthias Endler
5baaba3948
Add integration test
2021-02-28 19:09:11 +01:00
Matthias Endler
6105ef02c9
formatting
2021-02-28 16:41:14 +01:00
Matthias Endler
ba1eeed734
Directly work on requests for quirks
...
Add tests
2021-02-28 15:23:31 +01:00
dependabot-preview[bot]
367c8fe48f
Bump serde_json from 1.0.62 to 1.0.63 ( #162 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.62 to 1.0.63.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.62...v1.0.63 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-26 11:25:43 +01:00
dependabot-preview[bot]
82cf6c63df
Bump wiremock from 0.5.0 to 0.5.1 ( #159 )
...
Bumps [wiremock](https://github.com/LukeMathWalker/wiremock-rs ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/LukeMathWalker/wiremock-rs/releases )
- [Changelog](https://github.com/LukeMathWalker/wiremock-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/LukeMathWalker/wiremock-rs/compare/v0.5.0...v0.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-26 01:14:58 +01:00
Matthias Endler
93161a8c9a
wip
2021-02-25 21:22:25 +01:00
Matthias Endler
959d2d51b3
Merge branch 'master' of github.com:lycheeverse/lychee into quirks
2021-02-25 21:00:55 +01:00
Matthias
e46710ee68
Use less-intrusive formatting inspired by eslint ( #160 )
2021-02-25 21:00:06 +01:00
Matthias
a7168951c1
Enabled progress bar is the default now
2021-02-24 12:19:12 +01:00
Matthias Endler
a2e27617a7
Update deps
2021-02-24 11:51:44 +01:00
Matthias Endler
1140809923
Clean up quirks handling
2021-02-24 00:45:36 +01:00
Matthias Endler
0f7ca7ec87
Move macro into separate file
2021-02-24 00:45:08 +01:00
dependabot-preview[bot]
89beb19702
Bump futures from 0.3.12 to 0.3.13 ( #157 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.12 to 0.3.13.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.12...0.3.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-23 16:03:41 +01:00
dependabot-preview[bot]
f0e97afeb5
Bump wiremock from 0.4.9 to 0.5.0 ( #158 )
...
Bumps [wiremock](https://github.com/LukeMathWalker/wiremock-rs ) from 0.4.9 to 0.5.0.
- [Release notes](https://github.com/LukeMathWalker/wiremock-rs/releases )
- [Changelog](https://github.com/LukeMathWalker/wiremock-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/LukeMathWalker/wiremock-rs/compare/v0.4.9...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-23 16:03:27 +01:00
Matthias Endler
749e700757
Add support for multiple matching quirks
2021-02-22 15:56:13 +01:00
Matthias Endler
1e7c1709ff
working prototype
2021-02-22 14:21:04 +01:00
dependabot-preview[bot]
bd9370939a
Bump check-if-email-exists from 346a85a to aac0586 ( #155 )
...
Bumps [check-if-email-exists](https://github.com/reacherhq/check-if-email-exists ) from `346a85a` to `aac0586`.
- [Release notes](https://github.com/reacherhq/check-if-email-exists/releases )
- [Commits](346a85ad18...aac0586fb0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-22 10:41:32 +01:00
Joesan
cefe38ee25
Add support for reletive links in Markdown files ( #150 )
2021-02-22 01:11:15 +01:00
Matthias Endler
4f68f54237
Refactor check method
2021-02-21 19:59:29 +01:00
Matthias Endler
e9ed3f55b9
Rename valid_mail to check_mail to be consisten with other check fns
2021-02-21 19:54:21 +01:00
Matthias
a6ebba6b69
Clean up exclude in link checking
2021-02-21 19:13:15 +01:00
Matthias
27709d25e3
Merge pull request #153 from lycheeverse/filetype
...
Add "Filter" module that combines includes and excludes
2021-02-21 17:42:22 +01:00
Matthias
551c988708
Update links.yml
2021-02-21 17:27:32 +01:00
Matthias Endler
2272ad1a48
Show progress bar by default (can be disabled with --no-progress)
2021-02-21 17:19:32 +01:00
Matthias Endler
09ceda5931
Rearrange and extend tests
2021-02-21 17:00:44 +01:00
Matthias Endler
14d47d9108
Initialize exclude using Default and field overwriting
2021-02-21 16:55:26 +01:00
Matthias Endler
fa1952dd98
cleanup
2021-02-21 16:42:09 +01:00
Matthias Endler
1f6cbd1aa4
Add excludes to filter module
2021-02-21 16:35:13 +01:00
Matthias Endler
9fe1244f8c
Add expect for website function in test_utils
2021-02-21 16:34:46 +01:00
Matthias Endler
ca71a5df2d
Add filter module that encapsulates includes/excludes
2021-02-21 16:34:22 +01:00
Matthias Endler
e00cdbf1ae
example.com -> example.org
2021-02-21 16:33:33 +01:00
Matthias
41b82cb459
Add support and tests for .markdown files ( #152 )
2021-02-21 09:48:44 +01:00
Matthias Endler
8d165a3cda
Add support and tests for .markdown files
2021-02-21 09:37:49 +01:00
Matthias
b8f24bfa3b
Merge pull request #145 from lycheeverse/simple-client
...
Improve lychee ergonomics
2021-02-19 17:56:55 +01:00
dependabot-preview[bot]
5cfff40e0a
Bump check-if-email-exists from 2bbcd75 to 346a85a ( #144 )
2021-02-19 13:25:17 +01:00
Matthias
252ac4761a
Merge pull request #148 from lycheeverse/dependabot/cargo/reqwest-0.11.1
...
Bump reqwest from 0.11.0 to 0.11.1
2021-02-19 12:31:18 +01:00
Matthias
4a106a2e47
Merge pull request #147 from lycheeverse/dependabot/cargo/url-2.2.1
...
Bump url from 2.2.0 to 2.2.1
2021-02-19 12:31:00 +01:00
dependabot-preview[bot]
6c1bc8fe39
Bump reqwest from 0.11.0 to 0.11.1
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.0...v0.11.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-19 06:56:01 +00:00
dependabot-preview[bot]
fbab3c9b71
Bump url from 2.2.0 to 2.2.1
...
Bumps [url](https://github.com/servo/rust-url ) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.2.0...v2.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-19 06:55:28 +00:00
Matthias Endler
678dc4f18e
Add support for colored output
2021-02-19 00:41:49 +01:00
Matthias Endler
a4b1609424
Improve progress visualization
2021-02-19 00:23:35 +01:00
Matthias Endler
1a95aa4a44
Format
2021-02-19 00:05:14 +01:00
Matthias Endler
69e3b2cffc
Formatting
2021-02-18 23:33:26 +01:00
Matthias Endler
59c6093c8a
Formatting
2021-02-18 23:33:14 +01:00
Matthias Endler
5226cd10aa
Change exclude behavior to make includes more intuitive
...
Previously an include alone would not mean that only the included
patterns were checked. Only if an exclude was given as well,
the includes would make a difference. Now, the includes on their
own will work as expected.
Moved the exlude methods into the Exclude mod.
Also changed the order of exclude tests to do the fast lookup
ones before the regex ones.
Added tests to guarantee behavior in the future.
2021-02-18 21:42:00 +01:00
Matthias Endler
fe5cea1de3
Add doc-comment tests
2021-02-18 11:14:00 +01:00
Matthias Endler
16cd67331a
Add simple, standalone client
...
Adds a new function `lychee::check()`, which removes
a lot of boilerplate for simple cases. Adjusted the code,
tests, and documentation.
The downside is that `check` now returns a Result, so
we have to use `?` to get to the response. That's because
we have to account for the case where the given string is
not a valid URI.
2021-02-18 01:32:48 +01:00
Matthias
ae2d02b8a0
Merge pull request #143 from lycheeverse/input-source
...
Show input source in status output
2021-02-17 15:03:49 +01:00
Matthias Endler
737f6d3c3b
Update help message
2021-02-17 13:54:41 +01:00