Commit graph

1445 commits

Author SHA1 Message Date
dependabot[bot]
403dd6efba
Bump clap from 4.3.22 to 4.3.23 (#1236)
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.22 to 4.3.23.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.22...v4.3.23)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 18:42:51 +02:00
dependabot[bot]
c965e51cb9
Bump serde_with from 3.2.0 to 3.3.0 (#1237)
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases)
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: serde_with
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 18:42:36 +02:00
dependabot[bot]
d4ecd0f99a
Merge pull request #1235 from lycheeverse/dependabot/cargo/serde-1.0.185 2023-08-21 12:48:53 +00:00
dependabot[bot]
c36a58cd76
Bump serde from 1.0.183 to 1.0.185
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.183 to 1.0.185.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.183...v1.0.185)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 12:41:01 +00:00
Viktor Szépe
31a71162de
Add sensible excluded URL-s to lychee.example.toml (#1234) 2023-08-21 00:06:53 +02:00
Viktor Szépe
07466c0bfd
Fix typos (#1231) 2023-08-19 14:49:36 +02:00
dependabot[bot]
ee88868181
Merge pull request #1230 from lycheeverse/dependabot/cargo/clap-4.3.22 2023-08-18 12:33:09 +00:00
dependabot[bot]
ad9c9a3673
Bump clap from 4.3.21 to 4.3.22
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.21 to 4.3.22.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.21...v4.3.22)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 12:25:08 +00:00
Matthias Endler
006ee6d3be
Make suggestion test more robust (#1229) 2023-08-17 16:54:59 +02:00
dependabot[bot]
5c95086f44
Bump tokio from 1.31.0 to 1.32.0 (#1227)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.31.0 to 1.32.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.31.0...tokio-1.32.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-17 16:25:45 +02:00
Keming
4dbbb5e674
ignore the error when deleting nightly tags (#1228)
Signed-off-by: Keming <kemingy94@gmail.com>
2023-08-17 16:23:25 +02:00
dependabot[bot]
5680befe09
Merge pull request #1226 from lycheeverse/dependabot/cargo/thiserror-1.0.47 2023-08-17 12:58:38 +00:00
dependabot[bot]
00cd3caee6
Merge pull request #1225 from lycheeverse/dependabot/cargo/anyhow-1.0.75 2023-08-17 12:57:17 +00:00
dependabot[bot]
7505814971
Bump thiserror from 1.0.46 to 1.0.47
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.46 to 1.0.47.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.46...1.0.47)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-17 12:50:40 +00:00
dependabot[bot]
6fb560f468
Bump anyhow from 1.0.74 to 1.0.75
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.74 to 1.0.75.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.74...1.0.75)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-17 12:50:21 +00:00
Keming
840bd90365
fix nightly release bash script (#1224)
Signed-off-by: Keming <kemingy94@gmail.com>
2023-08-17 14:19:06 +02:00
dependabot[bot]
7a4c601b07
Merge pull request #1222 from lycheeverse/dependabot/cargo/thiserror-1.0.46 2023-08-16 12:59:12 +00:00
dependabot[bot]
9f91028b90
Merge pull request #1221 from lycheeverse/dependabot/cargo/serde_json-1.0.105 2023-08-16 12:58:23 +00:00
dependabot[bot]
3c9e9c4289
Merge pull request #1220 from lycheeverse/dependabot/cargo/anyhow-1.0.74 2023-08-16 12:56:25 +00:00
dependabot[bot]
a4751a46ae
Bump thiserror from 1.0.45 to 1.0.46
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.45 to 1.0.46.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.45...1.0.46)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 12:50:31 +00:00
dependabot[bot]
80ef3f724c
Bump serde_json from 1.0.104 to 1.0.105
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.104 to 1.0.105.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.104...v1.0.105)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 12:50:20 +00:00
dependabot[bot]
7a54af14ef
Bump anyhow from 1.0.73 to 1.0.74
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.73 to 1.0.74.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.73...1.0.74)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 12:50:07 +00:00
Matthias Endler
1bf2944c1e
Update dependencies; fix flaky tests (#1219) 2023-08-15 16:41:58 +02:00
dependabot[bot]
8c4490fe11
Bump tabled from 0.13.0 to 0.14.0 (#1202)
Bumps [tabled](https://github.com/zhiburt/tabled) from 0.13.0 to 0.14.0.
- [Changelog](https://github.com/zhiburt/tabled/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zhiburt/tabled/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: tabled
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-12 21:53:19 +02:00
dependabot[bot]
8e3fed0086
Bump serde_with from 3.1.0 to 3.2.0 (#1205)
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases)
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: serde_with
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-12 21:53:11 +02:00
Keming
a3a058831d
Add nightly release (#1212) 2023-08-12 20:29:47 +02:00
dependabot[bot]
f6f7cfb5e5
Merge pull request #1204 from lycheeverse/dependabot/cargo/openssl-sys-0.9.91 2023-08-07 12:36:43 +00:00
dependabot[bot]
13f5a3a926
Merge pull request #1201 from lycheeverse/dependabot/cargo/serde-1.0.183 2023-08-07 12:31:38 +00:00
dependabot[bot]
8e6f758c5a
Bump openssl-sys from 0.9.90 to 0.9.91
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.90 to 0.9.91.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.90...openssl-sys-v0.9.91)

---
updated-dependencies:
- dependency-name: openssl-sys
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 12:31:30 +00:00
dependabot[bot]
1e0877e7da
Merge pull request #1203 from lycheeverse/dependabot/cargo/regex-1.9.3 2023-08-07 12:30:03 +00:00
dependabot[bot]
ca75571054
Bump regex from 1.9.1 to 1.9.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.1 to 1.9.3.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.9.1...1.9.3)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 12:24:32 +00:00
dependabot[bot]
5e4526c1fe
Bump serde from 1.0.181 to 1.0.183
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.181 to 1.0.183.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.181...v1.0.183)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 12:23:49 +00:00
dependabot[bot]
8f83081b03
Bump octocrab from 0.28.0 to 0.29.1 (#1193)
* Bump octocrab from 0.28.0 to 0.29.1

Bumps [octocrab](https://github.com/XAMPPRocky/octocrab) from 0.28.0 to 0.29.1.
- [Release notes](https://github.com/XAMPPRocky/octocrab/releases)
- [Changelog](https://github.com/XAMPPRocky/octocrab/blob/main/CHANGELOG.md)
- [Commits](https://github.com/XAMPPRocky/octocrab/compare/v0.28.0...v0.29.1)

---
updated-dependencies:
- dependency-name: octocrab
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Make wayback suggestion test more robust

- Retry mechanism
- Better checks

---------

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@gmx.net>
2023-08-07 12:58:54 +02:00
Stefan Kreutz
d6ea7bbbc4
Improve 'cargo tree' check (#1200)
The '! cargo tree -i openssl-sys' command ignores when 'cargo tree'
fails for other reasons than not depending on the openssl-sys crate.
This commit changes the command to propagate such a failure.
2023-08-05 18:11:01 +02:00
Stefan Kreutz
b1b32e7717
Fix rustls-tls feature (#1194)
* Fix rustls-tls feature

Commit 14e74879 (cookie support #1146) re-introduced an unconditional
dependency on the openssl-sys crate. That is, building Lychee with the
Rustls TLS backend now requires OpenSSL. I suppose this change was
unintended, maybe due to automatic conflict resolution. If not, please
let me know.

You can review the re-introduced dependency like so:

```
cargo tree --no-default-features --features rustls-tls -i openssl-sys
```

This commit puts the OpenSSL dependency behind the native-tls feature
flag again.

You can check the TLS features like so:

```
cargo check --workspace --all-targets --features vendored-openssl

cargo check --workspace --all-targets --all-features

cargo check --workspace --all-targets --no-default-features --features rustls-tls
```

Maybe this should be added to CI. But I don't want to waste anybody's
time.

* Check feature flags during CI

Adds a new CI job 'check-feature-flags' to verify the following:

- Lychee with rustls-tls feature only doesn't depend on OpenSSL
- Cargo check passes with default features
- Cargo check passes with all features
- Cargo check passes with rustls-tls feature only
2023-08-04 15:11:29 +02:00
dependabot[bot]
fef06e72f2
Merge pull request #1199 from lycheeverse/dependabot/cargo/serde-1.0.181 2023-08-04 12:48:10 +00:00
dependabot[bot]
b3f4bd89f9
Bump serde from 1.0.180 to 1.0.181
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.180 to 1.0.181.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.180...v1.0.181)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-04 12:40:00 +00:00
dependabot[bot]
23e5dae523
Merge pull request #1192 from lycheeverse/dependabot/cargo/serde-1.0.180 2023-08-03 13:17:27 +00:00
dependabot[bot]
92d252e9b9
Bump serde from 1.0.179 to 1.0.180
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.179 to 1.0.180.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.179...v1.0.180)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 13:06:53 +00:00
dependabot[bot]
0a5ed58c17
Merge pull request #1195 from lycheeverse/dependabot/cargo/typed-builder-0.15.2 2023-08-03 13:06:06 +00:00
dependabot[bot]
969cc84fe1
Merge pull request #1196 from lycheeverse/dependabot/cargo/indicatif-0.17.6 2023-08-03 13:05:37 +00:00
dependabot[bot]
d1541771e6
Bump indicatif from 0.17.5 to 0.17.6
Bumps [indicatif](https://github.com/console-rs/indicatif) from 0.17.5 to 0.17.6.
- [Release notes](https://github.com/console-rs/indicatif/releases)
- [Commits](https://github.com/console-rs/indicatif/compare/0.17.5...0.17.6)

---
updated-dependencies:
- dependency-name: indicatif
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 12:59:03 +00:00
dependabot[bot]
47cea02278
Bump typed-builder from 0.15.1 to 0.15.2
Bumps [typed-builder](https://github.com/idanarye/rust-typed-builder) from 0.15.1 to 0.15.2.
- [Changelog](https://github.com/idanarye/rust-typed-builder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/idanarye/rust-typed-builder/commits)

---
updated-dependencies:
- dependency-name: typed-builder
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 12:58:43 +00:00
Hugo McNally
8e6369377c
Introduce fragment checking for links to markdown files. (#1126)
- Implemented enhancements to include fragments in file links
- Checked links to markdown files with fragments, generating unique kebab case and heading attributes.
- Made code more idiomatic and added an integration test.
- Updated documentation.
- Fixed issues with heading attributes fragments and ensured proper handling of file errors.
2023-07-31 16:04:00 +02:00
dependabot[bot]
518fb27db9
Merge pull request #1188 from lycheeverse/dependabot/cargo/serde-1.0.179 2023-07-31 13:03:52 +00:00
dependabot[bot]
1d93750c86
Bump serde from 1.0.177 to 1.0.179
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.177 to 1.0.179.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.177...v1.0.179)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 12:54:42 +00:00
Matthias Endler
cead4ce826
Improve srcset parsing (#1160)
Our current `srcset` parsing is pretty basic.

We split on comma and then on whitespace and take the first part, which is the image source URL.
However, we don't handle URLs containing unencoded commas like
</cdn-cgi/image/format=webp,width=640/https://img.youtube.com/vi/hVBl8_pgQf0/maxresdefault.jpg>, which leads to false-positives.

According to the spec, commas in strings should be encoded, but in practice, there are some websites which don't do that. To handle these cases, too, I propose to extend the `srcset` parsing to make use of a small "state machine", which detects if a comma is within the image source or outside of it while parsing.

This is part of an effort to reduce false-positives during link checking.

---------
Co-authored-by: Hugo McNally <45573837+HU90m@users.noreply.github.com>
2023-07-29 17:06:44 +02:00
dependabot[bot]
62c6a056d5
Merge pull request #1186 from lycheeverse/dependabot/cargo/serde-1.0.177 2023-07-28 12:55:21 +00:00
dependabot[bot]
04e742b86d
Bump serde from 1.0.176 to 1.0.177
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.176 to 1.0.177.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.176...v1.0.177)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-28 12:47:18 +00:00
dependabot[bot]
0dffdabfce
Merge pull request #1185 from lycheeverse/dependabot/cargo/serde-1.0.176 2023-07-27 12:41:48 +00:00