Thomas Zahner
34ec9b3d48
Replace unreliable API URL
2025-06-25 11:10:39 +02:00
Thomas Zahner
1935e52279
docs: improve lychee.example.toml (lycheeverse#1699) ( #1741 )
...
Signed-off-by: Sebastian Davids <sdavids@gmx.de>
Co-authored-by: Sebastian Davids <sdavids@gmx.de>
2025-06-21 20:59:34 +02:00
Allen Hernandez
bbfb8b0b96
display unsupported URLs ( #1727 )
...
* display status for unsupported URLs
* updates screengrab
---------
Co-authored-by: Allen Hernandez <2349718+AllenSH12@users.noreply.github.com>
2025-06-20 17:52:15 +02:00
MichaIng
b970256248
fix: skip fragment check if website URL doesn't contain fragment ( #1733 )
...
* fix: skip fragment check if website URL doesn't contain fragment
Signed-off-by: MichaIng <micha@dietpi.com>
* test: add tests for fragment checks with binary data
Signed-off-by: MichaIng <micha@dietpi.com>
* fix: skip fragment checking as well if fragment is empty
`is_some()` is true as well if the fragment is given but empty, i.e. `#`. While it is an edge case, skip the fragment checker as well in case of an empty fragment.
Signed-off-by: MichaIng <micha@dietpi.com>
* test: switch to lycheeverse/master remote URLs
Signed-off-by: MichaIng <micha@dietpi.com>
* fix: apply rustfmt annotation
Signed-off-by: MichaIng <micha@dietpi.com>
---------
Signed-off-by: MichaIng <micha@dietpi.com>
2025-06-20 17:47:35 +02:00
tooomm
83fe1248c4
Add xml schema found in xsd files to list of exclusions ( #1735 )
...
* Add xml schema found in xsd files
See e.g. https://www.w3schools.com/xml/schema_intro.asp
* escape dots in urls
2025-06-20 15:38:49 +02:00
Trask Stalnaker
d1c651a469
Fix docker tagging for release versions ( #1738 )
2025-06-20 15:35:04 +02:00
Matthias Endler
3592972d64
chore: release v0.19.1 ( #1726 )
2025-06-16 14:56:32 +03:00
Keming
d512262ffa
fix: skip the fragment check if the uri doesn't contain fragment ( #1730 )
...
Signed-off-by: Keming <kemingy94@gmail.com>
2025-06-16 14:46:01 +03:00
Thomas Zahner
b46cb5c02e
Don't echo potentially sensitive header data ( #1728 )
...
* Don't echo potentially sensitive header data
* Still show header name, for more user-friendliness
2025-06-12 17:08:15 +02:00
Thomas Zahner
469ccd0089
Update changelog
2025-06-11 16:44:23 +02:00
Matthias Endler
639c74e392
chore: release v0.19.0
2025-06-11 16:04:34 +02:00
Thomas Zahner
99ec1e7c07
Keep supporting 'latest' in CI Dockerfiles
2025-06-11 14:04:21 +02:00
Thomas Zahner
a11efce06d
Follow renaming: latest -> nightly
2025-06-11 12:28:47 +02:00
Thomas Zahner
4797339b6a
Follow renaming: latest -> nightly
2025-06-11 12:21:00 +02:00
Thomas Zahner
e59456b96e
Add cli test
2025-06-11 11:19:51 +02:00
Thomas Zahner
f0a4b3a5a8
Add explanation
2025-06-11 11:19:51 +02:00
Thomas Zahner
4a8587665f
Fix grammar
...
Co-authored-by: Matthias Endler <matthias@endler.dev>
2025-06-11 11:19:51 +02:00
Thomas Zahner
622bc6956f
Update docs
2025-06-11 11:19:51 +02:00
Thomas Zahner
326f119e38
Extract DEFAULT_ACCEPTED_STATUS_CODES & apply clippy's suggestions
2025-06-11 11:19:51 +02:00
Thomas Zahner
74961d2470
Use StatusCodeSelector default as default accepted StatusCodes
2025-06-11 11:19:51 +02:00
Thomas Zahner
c2a0908747
Tiny improvements
2025-06-11 11:19:51 +02:00
Thomas Zahner
286ff50612
Remove dbg macro
2025-06-11 11:19:51 +02:00
Thomas Zahner
a0d078b4d8
Pass accepted values by reference
2025-06-11 11:19:51 +02:00
Thomas Zahner
3100fb2ee7
Make accepted codes non-optional
2025-06-11 11:19:51 +02:00
Thomas Zahner
d22d1888f1
Handle rejected TOO_MANY_REQUESTS
2025-06-11 11:19:51 +02:00
Thomas Zahner
a516461df6
Update Status::code
2025-06-11 11:19:51 +02:00
Thomas Zahner
25b835f12d
Update tests
2025-06-11 11:19:51 +02:00
Thomas Zahner
54bbc080a9
Remove duplicated information from output
2025-06-11 11:19:51 +02:00
Thomas Zahner
a783ecc103
Update test
2025-06-11 11:19:51 +02:00
Thomas Zahner
f067b92a58
Change usage of ErrorKind::NetworkRequest, as it no longer represents rejected status codes
2025-06-11 11:19:51 +02:00
Thomas Zahner
2dfaef74ff
Update test
2025-06-11 11:19:51 +02:00
Thomas Zahner
341f75e11b
Update doc comment
2025-06-11 11:19:51 +02:00
Thomas Zahner
2ca69f4407
Make error message more user-friendly
2025-06-11 11:19:51 +02:00
Thomas Zahner
4e5043a3c3
Remove hardcoded rule for handling erroneous status codes differently
2025-06-11 11:19:51 +02:00
Thomas Zahner
31b2525a8d
Move archive functionality to library ( #1720 )
...
* Bump flake 1.83.0 -> 1.87.0
* Move archive functionality into lychee-lib
* Create example, update name and docs
* Split function & update tests
* Remove trailing slashes in API calls & update tests
* Apply lint suggestions
* Rename function
* Move module
* Add cargo-nextest to devShell to support 'make test'
2025-06-06 22:24:10 +02:00
dependabot[bot]
1305bccac3
Bump the dependencies group across 1 directory with 3 updates ( #1714 )
...
* Bump the dependencies group across 1 directory with 3 updates
Bumps the dependencies group with 3 updates in the / directory: [tokio](https://github.com/tokio-rs/tokio ), [uuid](https://github.com/uuid-rs/uuid ) and [criterion](https://github.com/bheisler/criterion.rs ).
Updates `tokio` from 1.45.0 to 1.45.1
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.45.0...tokio-1.45.1 )
Updates `uuid` from 1.16.0 to 1.17.0
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/v1.16.0...v1.17.0 )
Updates `criterion` from 0.5.1 to 0.6.0
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.5.1...0.6.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.45.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: uuid
dependency-version: 1.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: criterion
dependency-version: 0.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* Use `std::hint::black_box`
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias <matthias@endler.dev>
2025-05-26 23:34:44 +02:00
Keming
1c97f26aa2
feat: respect the disabled property for stylesheet links ( #1716 )
...
Signed-off-by: Keming <kemingy94@gmail.com>
2025-05-25 13:13:22 +02:00
Keming
b128b86a48
feat: raise error when the default config file is invalid ( #1715 )
...
Signed-off-by: Keming <kemingy94@gmail.com>
2025-05-25 13:10:58 +02:00
Jakob
63cdb70e6d
Upgrade to 2024 edition ( #1711 )
...
* Upgrade to 2024 edition
* Revert expr_2021 -> expr
* resolve merge conflicts
* make lint happy
2025-05-24 18:23:23 +02:00
Keming
208fa80aa6
fix: only check the fragment when it's a file ( #1713 )
...
* fix: only check the fragment when it's a file
* add dir fragment test
* Clean up unused fragment_check in Client
---------
Signed-off-by: Keming <kemingy94@gmail.com>
Co-authored-by: Matthias <matthias@endler.dev>
2025-05-23 21:50:26 +02:00
Jakob
7d9d79791a
fix: ignore gitlab table of content in wikilinks ( #1710 )
...
* fix: ignore gitlab table of content in wikilinks
* Simplify test
---------
Co-authored-by: Matthias Endler <matthias@endler.dev>
2025-05-23 15:04:24 +02:00
Thomas Zahner
da166ce3c6
Fix test_exclude_example_domains ( #1712 )
...
* Configure test with the right feature flag
* Remove test exclusion, because test is now properly configured
2025-05-23 14:54:46 +02:00
Matthias Endler
35610764a1
Add support for custom headers in input processing ( #1561 )
2025-05-23 13:37:32 +02:00
Matthias Endler
973b2aa5e0
chore: update CI to install and verify cargo-msrv ( #1706 )
2025-05-18 02:02:35 +02:00
Matthias Endler
00118965bd
Fix lints ( #1705 )
2025-05-17 21:12:38 +02:00
Keming
874b0f0ca2
chore: verify the MSRV in CI lint ( #1696 )
...
Signed-off-by: Keming <kemingy94@gmail.com>
2025-05-14 01:54:05 +02:00
Keming
1ed357fe73
feat: detect website fragments ( #1675 )
...
Signed-off-by: Keming <kemingy94@gmail.com>
2025-05-14 01:52:08 +02:00
Thomas Zahner
a8c0f45795
Update documentation
2025-05-13 10:31:49 +02:00
Thomas Zahner
cc40894c38
Make Makefile more portable (make: /bin/bash: No such file or directory)
2025-05-13 10:31:49 +02:00
Thomas Zahner
4e16d2fc29
Remove flag
2025-05-13 10:31:49 +02:00